[2026-07-11 00:00:00] local.INFO: TCP Data received {"connection_id":130105,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d49f3c0012d54c6c00644fe18000a014733..."} 
[2026-07-11 00:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d49f3c0012d54c6c00644fe18000a014733..."} 
[2026-07-11 00:00:00] local.INFO: Processing buffer {"connection_id":130105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d49f3c0012d54c6c00644fe18000a014733..."} 
[2026-07-11 00:00:00] local.INFO: Packet analysis {"connection_id":130105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:00:00] local.INFO: Extracted packet for processing {"connection_id":130105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:00:00] local.INFO: GPS Element Parsed {"raw_longitude":760530624,"raw_latitude":105184792,"longitude_deg":76.0530624,"latitude_deg":10.5184792,"altitude":10,"angle":327,"satellites":51,"speed":58,"hex_longitude":"2d54c6c0","hex_latitude":"0644fe18","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629276928001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134371105577107456,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6114903158475765760,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783708120000,"timestamp_ms":1783708120000,"timestamp_seconds":1783708120,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d49f3c0"} 
[2026-07-11 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-07-11 00:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 00:00:00] 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-07-11 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-07-11 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-07-11 00:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629276928001,"66":27908,"176":206,"19":38144,"24":58,"16":134371105577107456,"45":6114903158475765760},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-07-11 00:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629276928001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:00:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 00:00:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134371105577107456,"km_value":134371105577107.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6114903158475765760,"description":"Unknown IO ID 45"} 
[2026-07-11 00:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629276928001,"power":27908,"unknown_176":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":6114903158475765760}} 
[2026-07-11 00:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":130105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:00:00] local.INFO: GPS data processed {"connection_id":130105,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:00:00] local.INFO: Acknowledgment sent {"connection_id":130105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:00:03] local.INFO: TCP Data received {"connection_id":128853,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:00:03] local.INFO: Processing buffer {"connection_id":128853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:00:03] local.INFO: Packet analysis {"connection_id":128853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:00:03] local.INFO: Extracted packet for processing {"connection_id":128853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629190144001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00: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-07-11 00:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783708075000,"timestamp_ms":1783708075000,"timestamp_seconds":1783708075,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4943f8"} 
[2026-07-11 00:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:00:03] 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-07-11 00:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:00:03] 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-07-11 00:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":128853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":128853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":128853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:00:03] 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-07-11 00:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629190144001,"66":2166,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629190144001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:00:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629190144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":128853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:00:03] local.INFO: GPS data processed {"connection_id":128853,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:00:03] local.INFO: Acknowledgment sent {"connection_id":128853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:00:06] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:00:06] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:00:06] local.INFO: IMEI packet received {"connection_id":128854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":128854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:00:11] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:00:11] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:00:11] local.INFO: IMEI packet received {"connection_id":128854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":128854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:00:12] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:00:12] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:00:12] local.INFO: Packet analysis {"connection_id":128854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:00:12] local.INFO: Extracted packet for processing {"connection_id":128854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:00:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":49,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629184256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783708052000,"timestamp_ms":1783708052000,"timestamp_seconds":1783708052,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d48ea20"} 
[2026-07-11 00:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629184256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629184256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:00:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629184256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":128854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:00:12] local.INFO: GPS data processed {"connection_id":128854,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:00:12] local.INFO: Acknowledgment sent {"connection_id":128854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:00:38] local.INFO: TCP Data received {"connection_id":130105,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4a0b30012d54b40006451c500008014932..."} 
[2026-07-11 00:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4a0b30012d54b40006451c500008014932..."} 
[2026-07-11 00:00:38] local.INFO: Processing buffer {"connection_id":130105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4a0b30012d54b40006451c500008014932..."} 
[2026-07-11 00:00:38] local.INFO: Packet analysis {"connection_id":130105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4a"} 
[2026-07-11 00:00:38] local.INFO: Extracted packet for processing {"connection_id":130105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4a"} 
[2026-07-11 00:00:38] local.INFO: GPS Element Parsed {"raw_longitude":760525824,"raw_latitude":105192528,"longitude_deg":76.0525824,"latitude_deg":10.5192528,"altitude":8,"angle":329,"satellites":50,"speed":60,"hex_longitude":"2d54b400","hex_latitude":"06451c50","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629278720001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134371543663771648,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6108781077734496256,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783708126000,"timestamp_ms":1783708126000,"timestamp_seconds":1783708126,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4a0b30"} 
[2026-07-11 00:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 00:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00: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-07-11 00:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629278720001,"66":27919,"176":206,"19":38144,"24":60,"16":134371543663771648,"45":6108781077734496256},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-07-11 00:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629278720001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:00:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 00:00:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134371543663771648,"km_value":134371543663771.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6108781077734496256,"description":"Unknown IO ID 45"} 
[2026-07-11 00:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629278720001,"power":27919,"unknown_176":206,"unknown_19":38144,"ignition":60,"odometer":null,"unknown_45":6108781077734496256}} 
[2026-07-11 00:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":130105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:00:38] local.INFO: GPS data processed {"connection_id":130105,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:00:38] local.INFO: Acknowledgment sent {"connection_id":130105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:00:42] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:00:42] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:00:42] local.INFO: Packet analysis {"connection_id":128854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:00:42] local.INFO: Extracted packet for processing {"connection_id":128854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":49,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629184256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783708052000,"timestamp_ms":1783708052000,"timestamp_seconds":1783708052,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d48ea20"} 
[2026-07-11 00:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629184256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629184256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:00:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629184256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":128854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:00:42] local.INFO: GPS data processed {"connection_id":128854,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:00:42] local.INFO: Acknowledgment sent {"connection_id":128854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:00:47] local.INFO: TCP Data received {"connection_id":128149,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:00:47] local.INFO: Processing buffer {"connection_id":128149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:00:47] local.INFO: IMEI packet received {"connection_id":128149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":128149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:00:52] local.INFO: TCP Data received {"connection_id":128149,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:00:52] local.INFO: Processing buffer {"connection_id":128149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:00:52] local.INFO: IMEI packet received {"connection_id":128149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":128149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:00:53] local.INFO: TCP Data received {"connection_id":128149,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:00:53] local.INFO: Processing buffer {"connection_id":128149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:00:53] local.INFO: Packet analysis {"connection_id":128149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:00:53] local.INFO: Extracted packet for processing {"connection_id":128149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629190144001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708075000,"timestamp_ms":1783708075000,"timestamp_seconds":1783708075,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4943f8"} 
[2026-07-11 00:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:00:53] 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-07-11 00:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:00:53] 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-07-11 00:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:00:53] 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-07-11 00:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629190144001,"66":2166,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629190144001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:00:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629190144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":128149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:00:53] local.INFO: GPS data processed {"connection_id":128149,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:00:53] local.INFO: Acknowledgment sent {"connection_id":128149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:01:06] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:01:06] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:01:06] local.INFO: IMEI packet received {"connection_id":128856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":128856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:01:11] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:01:11] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:01:11] local.INFO: IMEI packet received {"connection_id":128856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":128856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:01:11] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:01:11] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:01:11] local.INFO: Packet analysis {"connection_id":128856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:01:11] local.INFO: Extracted packet for processing {"connection_id":128856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":49,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629184256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783708052000,"timestamp_ms":1783708052000,"timestamp_seconds":1783708052,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d48ea20"} 
[2026-07-11 00:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629184256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629184256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629184256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":128856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:01:11] local.INFO: GPS data processed {"connection_id":128856,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:01:11] local.INFO: Acknowledgment sent {"connection_id":128856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:01:16] local.INFO: TCP Data received {"connection_id":128855,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:01:16] local.INFO: Processing buffer {"connection_id":128855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:01:16] local.INFO: IMEI packet received {"connection_id":128855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":128855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:01:18] local.INFO: TCP Data received {"connection_id":128855,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:01:18] local.INFO: Processing buffer {"connection_id":128855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:01:18] local.INFO: IMEI packet received {"connection_id":128855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":128855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:01:19] local.INFO: TCP Data received {"connection_id":128855,"ip":"117.225.165.28","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-11 00:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128855,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-11 00:01:19] local.INFO: Processing buffer {"connection_id":128855,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-11 00:01:19] local.INFO: IMEI packet received {"connection_id":128855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":128855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:01:24] local.INFO: TCP Data received {"connection_id":128149,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:01:24] local.INFO: Processing buffer {"connection_id":128149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:01:24] local.INFO: Packet analysis {"connection_id":128149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:01:24] local.INFO: Extracted packet for processing {"connection_id":128149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629190144001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708075000,"timestamp_ms":1783708075000,"timestamp_seconds":1783708075,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4943f8"} 
[2026-07-11 00:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:01:24] 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-07-11 00:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:01:24] 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-07-11 00:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629190144001,"66":2166,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629190144001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:01:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629190144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":128149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:01:24] local.INFO: GPS data processed {"connection_id":128149,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:01:24] local.INFO: Acknowledgment sent {"connection_id":128149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:01:43] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:01:43] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:01:43] local.INFO: Packet analysis {"connection_id":128856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:01:43] local.INFO: Extracted packet for processing {"connection_id":128856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:01:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":49,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629184256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783708052000,"timestamp_ms":1783708052000,"timestamp_seconds":1783708052,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d48ea20"} 
[2026-07-11 00:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629184256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629184256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:01:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:01:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629184256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":128856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:01:43] local.INFO: GPS data processed {"connection_id":128856,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:01:43] local.INFO: Acknowledgment sent {"connection_id":128856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:01:47] local.INFO: TCP Data received {"connection_id":127933,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:01:47] local.INFO: Processing buffer {"connection_id":127933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:01:47] local.INFO: IMEI packet received {"connection_id":127933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":127933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:01:52] local.INFO: TCP Data received {"connection_id":127933,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:01:52] local.INFO: Processing buffer {"connection_id":127933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:01:52] local.INFO: IMEI packet received {"connection_id":127933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":127933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:01:53] local.INFO: TCP Data received {"connection_id":127933,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:01:53] local.INFO: Processing buffer {"connection_id":127933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:01:53] local.INFO: Packet analysis {"connection_id":127933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:01:53] local.INFO: Extracted packet for processing {"connection_id":127933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629190144001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708075000,"timestamp_ms":1783708075000,"timestamp_seconds":1783708075,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4943f8"} 
[2026-07-11 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-07-11 00:01:53] 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-07-11 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:01:53] 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-07-11 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-07-11 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-07-11 00:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:01:53] 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-07-11 00:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629190144001,"66":2166,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629190144001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:01:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629190144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":127933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:01:53] local.INFO: GPS data processed {"connection_id":127933,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:01:53] local.INFO: Acknowledgment sent {"connection_id":127933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:02:06] local.INFO: TCP Data received {"connection_id":127934,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:02:06] local.INFO: Processing buffer {"connection_id":127934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:02:06] local.INFO: IMEI packet received {"connection_id":127934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":127934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:02:11] local.INFO: TCP Data received {"connection_id":127934,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:02:11] local.INFO: Processing buffer {"connection_id":127934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:02:11] local.INFO: IMEI packet received {"connection_id":127934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":127934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:02:11] local.INFO: TCP Data received {"connection_id":127934,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:02:11] local.INFO: Processing buffer {"connection_id":127934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:02:11] local.INFO: Packet analysis {"connection_id":127934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:02:11] local.INFO: Extracted packet for processing {"connection_id":127934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":49,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629184256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783708052000,"timestamp_ms":1783708052000,"timestamp_seconds":1783708052,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d48ea20"} 
[2026-07-11 00:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00: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-07-11 00:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629184256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629184256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629184256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":127934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:02:11] local.INFO: GPS data processed {"connection_id":127934,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:02:11] local.INFO: Acknowledgment sent {"connection_id":127934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:02:24] local.INFO: TCP Data received {"connection_id":127933,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:02:24] local.INFO: Processing buffer {"connection_id":127933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:02:24] local.INFO: Packet analysis {"connection_id":127933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:02:24] local.INFO: Extracted packet for processing {"connection_id":127933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629190144001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708075000,"timestamp_ms":1783708075000,"timestamp_seconds":1783708075,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4943f8"} 
[2026-07-11 00:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:02:24] 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-07-11 00:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:02:24] 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-07-11 00:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629190144001,"66":2166,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629190144001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:02:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629190144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":127933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:02:24] local.INFO: GPS data processed {"connection_id":127933,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:02:24] local.INFO: Acknowledgment sent {"connection_id":127933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:02:42] local.INFO: TCP Data received {"connection_id":127934,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:02:42] local.INFO: Processing buffer {"connection_id":127934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d48ea20012cb29ac007823b28004700db31..."} 
[2026-07-11 00:02:42] local.INFO: Packet analysis {"connection_id":127934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:02:42] local.INFO: Extracted packet for processing {"connection_id":127934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d48"} 
[2026-07-11 00:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":49,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629184256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783708052000,"timestamp_ms":1783708052000,"timestamp_seconds":1783708052,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d48ea20"} 
[2026-07-11 00:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629184256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629184256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:02:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629184256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":127934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:02:42] local.INFO: GPS data processed {"connection_id":127934,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:02:42] local.INFO: Acknowledgment sent {"connection_id":127934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:02:47] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:02:47] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:02:47] local.INFO: IMEI packet received {"connection_id":130106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":130106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:02:52] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:02:52] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:02:52] local.INFO: IMEI packet received {"connection_id":130106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":130106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:02:53] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:02:53] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:02:53] local.INFO: Packet analysis {"connection_id":130106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:02:53] local.INFO: Extracted packet for processing {"connection_id":130106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629190144001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708075000,"timestamp_ms":1783708075000,"timestamp_seconds":1783708075,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4943f8"} 
[2026-07-11 00:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:02:53] 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-07-11 00:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:02:53] 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-07-11 00:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:02:53] 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-07-11 00:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629190144001,"66":2166,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629190144001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:02:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629190144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":130106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:02:53] local.INFO: GPS data processed {"connection_id":130106,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:02:53] local.INFO: Acknowledgment sent {"connection_id":130106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:03:11] local.INFO: TCP Data received {"connection_id":130108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:03:11] local.INFO: Processing buffer {"connection_id":130108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:03:11] local.INFO: IMEI packet received {"connection_id":130108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":130108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:03:11] local.INFO: TCP Data received {"connection_id":130108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:03:11] local.INFO: Processing buffer {"connection_id":130108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:03:11] local.INFO: IMEI packet received {"connection_id":130108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":130108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:03:16] local.INFO: TCP Data received {"connection_id":130108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:03:16] local.INFO: Processing buffer {"connection_id":130108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:03:16] local.INFO: IMEI packet received {"connection_id":130108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":130108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:03:19] local.INFO: TCP Data received {"connection_id":130108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:03:19] local.INFO: Processing buffer {"connection_id":130108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:03:19] local.INFO: Packet analysis {"connection_id":130108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:03:19] local.INFO: Extracted packet for processing {"connection_id":130108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:03:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:03:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":130108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:03:19] local.INFO: GPS data processed {"connection_id":130108,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:03:19] local.INFO: Acknowledgment sent {"connection_id":130108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:03:21] local.INFO: TCP Data received {"connection_id":130108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:03:21] local.INFO: Processing buffer {"connection_id":130108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:03:21] local.INFO: Packet analysis {"connection_id":130108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:03:21] local.INFO: Extracted packet for processing {"connection_id":130108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:03:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:03:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":130108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:03:21] local.INFO: GPS data processed {"connection_id":130108,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:03:21] local.INFO: Acknowledgment sent {"connection_id":130108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:03:24] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:03:24] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4943f8012d196500071ff058003e013e2c..."} 
[2026-07-11 00:03:24] local.INFO: Packet analysis {"connection_id":130106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:03:24] local.INFO: Extracted packet for processing {"connection_id":130106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d49"} 
[2026-07-11 00:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629190144001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708075000,"timestamp_ms":1783708075000,"timestamp_seconds":1783708075,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4943f8"} 
[2026-07-11 00:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:03:24] 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-07-11 00:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:03:24] 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-07-11 00:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629190144001,"66":2166,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629190144001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:03:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629190144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":130106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:03:24] local.INFO: GPS data processed {"connection_id":130106,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:03:24] local.INFO: Acknowledgment sent {"connection_id":130106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:03:48] local.INFO: TCP Data received {"connection_id":128151,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:03:48] local.INFO: Processing buffer {"connection_id":128151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:03:48] local.INFO: IMEI packet received {"connection_id":128151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":128151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:03:52] local.INFO: TCP Data received {"connection_id":128151,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:03:52] local.INFO: Processing buffer {"connection_id":128151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:03:52] local.INFO: IMEI packet received {"connection_id":128151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":128151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:03:53] local.INFO: TCP Data received {"connection_id":128151,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:03:53] local.INFO: Processing buffer {"connection_id":128151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:03:53] local.INFO: Packet analysis {"connection_id":128151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:03:53] local.INFO: Extracted packet for processing {"connection_id":128151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 00:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:03:53] 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-07-11 00:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:03:53] 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-07-11 00:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:03:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:03:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":128151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:03:53] local.INFO: GPS data processed {"connection_id":128151,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:03:53] local.INFO: Acknowledgment sent {"connection_id":128151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:04:06] local.INFO: TCP Data received {"connection_id":130109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:04:06] local.INFO: Processing buffer {"connection_id":130109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:04:06] local.INFO: IMEI packet received {"connection_id":130109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":130109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:04:11] local.INFO: TCP Data received {"connection_id":130109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:04:11] local.INFO: Processing buffer {"connection_id":130109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:04:11] local.INFO: IMEI packet received {"connection_id":130109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":130109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:04:11] local.INFO: TCP Data received {"connection_id":130109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:04:11] local.INFO: Processing buffer {"connection_id":130109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:04:11] local.INFO: Packet analysis {"connection_id":130109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:04:11] local.INFO: Extracted packet for processing {"connection_id":130109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:04:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":130109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:04:11] local.INFO: GPS data processed {"connection_id":130109,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:04:11] local.INFO: Acknowledgment sent {"connection_id":130109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:04:24] local.INFO: TCP Data received {"connection_id":128151,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:04:24] local.INFO: Processing buffer {"connection_id":128151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:04:24] local.INFO: Packet analysis {"connection_id":128151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:04:24] local.INFO: Extracted packet for processing {"connection_id":128151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 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-07-11 00:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 00:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:04:24] 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-07-11 00:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:04:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":128151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:04:24] local.INFO: GPS data processed {"connection_id":128151,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:04:24] local.INFO: Acknowledgment sent {"connection_id":128151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:04:43] local.INFO: TCP Data received {"connection_id":130109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:04:43] local.INFO: Processing buffer {"connection_id":130109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:04:43] local.INFO: Packet analysis {"connection_id":130109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:04:43] local.INFO: Extracted packet for processing {"connection_id":130109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:04:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:04:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":130109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:04:43] local.INFO: GPS data processed {"connection_id":130109,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:04:43] local.INFO: Acknowledgment sent {"connection_id":130109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:04:52] local.INFO: TCP Data received {"connection_id":130110,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:04:52] local.INFO: Processing buffer {"connection_id":130110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:04:52] local.INFO: IMEI packet received {"connection_id":130110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":130110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:04:57] local.INFO: TCP Data received {"connection_id":130110,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:04:57] local.INFO: Processing buffer {"connection_id":130110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:04:57] local.INFO: IMEI packet received {"connection_id":130110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":130110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:04:58] local.INFO: TCP Data received {"connection_id":130110,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:04:58] local.INFO: Processing buffer {"connection_id":130110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:04:58] local.INFO: Packet analysis {"connection_id":130110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:04:58] local.INFO: Extracted packet for processing {"connection_id":130110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 00:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:04:58] 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-07-11 00:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:04:58] 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-07-11 00:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:04:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":130110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:04:58] local.INFO: GPS data processed {"connection_id":130110,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:04:58] local.INFO: Acknowledgment sent {"connection_id":130110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:05:03] local.INFO: TCP Data received {"connection_id":130110,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:05:03] local.INFO: Processing buffer {"connection_id":130110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:05:03] local.INFO: Packet analysis {"connection_id":130110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:05:03] local.INFO: Extracted packet for processing {"connection_id":130110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05: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-07-11 00:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 00:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:05:03] 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-07-11 00:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:05:03] 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-07-11 00:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:05:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":130110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:05:03] local.INFO: GPS data processed {"connection_id":130110,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:05:03] local.INFO: Acknowledgment sent {"connection_id":130110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:05:06] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:05:06] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:05:06] local.INFO: IMEI packet received {"connection_id":127935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":127935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:05:11] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:05:11] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:05:11] local.INFO: IMEI packet received {"connection_id":127935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":127935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:05:12] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:05:12] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:05:12] local.INFO: Packet analysis {"connection_id":127935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:05:12] local.INFO: Extracted packet for processing {"connection_id":127935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:05:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:05:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":127935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:05:12] local.INFO: GPS data processed {"connection_id":127935,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:05:12] local.INFO: Acknowledgment sent {"connection_id":127935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:05:43] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:05:43] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:05:43] local.INFO: Packet analysis {"connection_id":127935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:05:43] local.INFO: Extracted packet for processing {"connection_id":127935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:05:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:05:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":127935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:05:43] local.INFO: GPS data processed {"connection_id":127935,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:05:43] local.INFO: Acknowledgment sent {"connection_id":127935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:05:47] local.INFO: TCP Data received {"connection_id":128152,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:05:47] local.INFO: Processing buffer {"connection_id":128152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:05:47] local.INFO: IMEI packet received {"connection_id":128152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":128152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:05:52] local.INFO: TCP Data received {"connection_id":128152,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:05:52] local.INFO: Processing buffer {"connection_id":128152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:05:52] local.INFO: IMEI packet received {"connection_id":128152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":128152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:05:53] local.INFO: TCP Data received {"connection_id":128152,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:05:53] local.INFO: Processing buffer {"connection_id":128152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:05:53] local.INFO: Packet analysis {"connection_id":128152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:05:53] local.INFO: Extracted packet for processing {"connection_id":128152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 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-07-11 00:05:53] 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-07-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 00:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:05:53] 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-07-11 00:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:05:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:05:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":128152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:05:53] local.INFO: GPS data processed {"connection_id":128152,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:05:53] local.INFO: Acknowledgment sent {"connection_id":128152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:06:11] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:06:11] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:06:11] local.INFO: IMEI packet received {"connection_id":127936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":127936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:06:16] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:06:16] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:06:16] local.INFO: IMEI packet received {"connection_id":127936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":127936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:06:16] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:06:16] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:06:16] local.INFO: Packet analysis {"connection_id":127936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:16] local.INFO: Extracted packet for processing {"connection_id":127936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:06:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:06:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":127936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:06:16] local.INFO: GPS data processed {"connection_id":127936,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:06:16] local.INFO: Acknowledgment sent {"connection_id":127936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:06:21] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:06:21] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:06:21] local.INFO: Packet analysis {"connection_id":127936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:21] local.INFO: Extracted packet for processing {"connection_id":127936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":127936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":127936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":127936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:06:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":127936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:06:21] local.INFO: GPS data processed {"connection_id":127936,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:06:21] local.INFO: Acknowledgment sent {"connection_id":127936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:06:23] local.INFO: TCP Data received {"connection_id":128153,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:06:23] local.INFO: Processing buffer {"connection_id":128153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:06:23] local.INFO: IMEI packet received {"connection_id":128153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":128153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:06:24] local.INFO: TCP Data received {"connection_id":128152,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:06:24] local.INFO: Processing buffer {"connection_id":128152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:06:24] local.INFO: Packet analysis {"connection_id":128152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:24] local.INFO: Extracted packet for processing {"connection_id":128152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 00:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:06:24] 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-07-11 00:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:06:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":128152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:06:25] local.INFO: GPS data processed {"connection_id":128152,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:06:25] local.INFO: Acknowledgment sent {"connection_id":128152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:06:26] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:06:26] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:06:26] local.INFO: Packet analysis {"connection_id":127936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:26] local.INFO: Extracted packet for processing {"connection_id":127936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00: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-07-11 00:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:06:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":127936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:06:26] local.INFO: GPS data processed {"connection_id":127936,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:06:26] local.INFO: Acknowledgment sent {"connection_id":127936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:06:30] local.INFO: TCP Data received {"connection_id":128153,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4fc020012d519400064bd588000301512e..."} 
[2026-07-11 00:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4fc020012d519400064bd588000301512e..."} 
[2026-07-11 00:06:30] local.INFO: Processing buffer {"connection_id":128153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4fc020012d519400064bd588000301512e..."} 
[2026-07-11 00:06:30] local.INFO: Packet analysis {"connection_id":128153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4f"} 
[2026-07-11 00:06:30] local.INFO: Extracted packet for processing {"connection_id":128153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4f"} 
[2026-07-11 00:06:30] local.INFO: GPS Element Parsed {"raw_longitude":760321024,"raw_latitude":105633160,"longitude_deg":76.0321024,"latitude_deg":10.563316,"altitude":3,"angle":337,"satellites":46,"speed":50,"hex_longitude":"2d519400","hex_latitude":"064bd588","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629373952001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134395604070563840,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5882967777780838400,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783708500000,"timestamp_ms":1783708500000,"timestamp_seconds":1783708500,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4fc020"} 
[2026-07-11 00:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:06:30] 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-07-11 00:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 00:06: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-07-11 00: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-07-11 00:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":128153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":128153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":128153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629373952001,"66":27908,"89":206,"19":38144,"24":50,"16":134395604070563840,"45":5882967777780838400},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-07-11 00:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629373952001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:06:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 00:06:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134395604070563840,"km_value":134395604070563.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5882967777780838400,"description":"Unknown IO ID 45"} 
[2026-07-11 00:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629373952001,"power":27908,"unknown_89":206,"unknown_19":38144,"ignition":50,"odometer":null,"unknown_45":5882967777780838400}} 
[2026-07-11 00:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":128153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:06:30] local.INFO: GPS data processed {"connection_id":128153,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:06:30] local.INFO: Acknowledgment sent {"connection_id":128153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:06:47] local.INFO: TCP Data received {"connection_id":127937,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:06:47] local.INFO: Processing buffer {"connection_id":127937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:06:47] local.INFO: IMEI packet received {"connection_id":127937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":127937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:06:48] local.INFO: TCP Data received {"connection_id":130111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:06:48] local.INFO: Processing buffer {"connection_id":130111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:06:48] local.INFO: IMEI packet received {"connection_id":130111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":130111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:06:52] local.INFO: TCP Data received {"connection_id":130111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:06:52] local.INFO: Processing buffer {"connection_id":130111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:06:52] local.INFO: IMEI packet received {"connection_id":130111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":130111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:06:53] local.INFO: TCP Data received {"connection_id":127937,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:06:53] local.INFO: Processing buffer {"connection_id":127937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:06:53] local.INFO: IMEI packet received {"connection_id":127937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":127937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:06:53] local.INFO: TCP Data received {"connection_id":130111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:06:53] local.INFO: Processing buffer {"connection_id":130111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:06:53] local.INFO: Packet analysis {"connection_id":130111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:53] local.INFO: Extracted packet for processing {"connection_id":130111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 00:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:06:53] 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-07-11 00:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:06:53] 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-07-11 00:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:06:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":130111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:06:53] local.INFO: GPS data processed {"connection_id":130111,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:06:53] local.INFO: Acknowledgment sent {"connection_id":130111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:06:54] local.INFO: TCP Data received {"connection_id":127937,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d505878012d517040064c46480002015a2c..."} 
[2026-07-11 00:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d505878012d517040064c46480002015a2c..."} 
[2026-07-11 00:06:54] local.INFO: Processing buffer {"connection_id":127937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d505878012d517040064c46480002015a2c..."} 
[2026-07-11 00:06:54] local.INFO: Packet analysis {"connection_id":127937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:06:54] local.INFO: Extracted packet for processing {"connection_id":127937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:06:54] local.INFO: GPS Element Parsed {"raw_longitude":760311872,"raw_latitude":105662024,"longitude_deg":76.0311872,"latitude_deg":10.5662024,"altitude":2,"angle":346,"satellites":44,"speed":19,"hex_longitude":"2d517040","hex_latitude":"064c4648","is_valid_coordinates":true} 
[2026-07-11 00:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629385472001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134397137373888512,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868260710257176576,"note":"Value kept but may cause issues"} 
[2026-07-11 00:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783708539000,"timestamp_ms":1783708539000,"timestamp_seconds":1783708539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d505878"} 
[2026-07-11 00:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 00:06:54] 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-07-11 00:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629385472001,"66":27843,"89":206,"19":38144,"24":19,"16":134397137373888512,"45":5868260710257176576},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-07-11 00:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629385472001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:06:54] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 00:06:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134397137373888512,"km_value":134397137373888.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868260710257176576,"description":"Unknown IO ID 45"} 
[2026-07-11 00:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629385472001,"power":27843,"unknown_89":206,"unknown_19":38144,"ignition":19,"odometer":null,"unknown_45":5868260710257176576}} 
[2026-07-11 00:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":127937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:06:54] local.INFO: GPS data processed {"connection_id":127937,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:06:54] local.INFO: Acknowledgment sent {"connection_id":127937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:07:06] local.INFO: TCP Data received {"connection_id":128859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:07:06] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:07:06] local.INFO: IMEI packet received {"connection_id":128859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":128859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:07:11] local.INFO: TCP Data received {"connection_id":128859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:07:11] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:07:11] local.INFO: IMEI packet received {"connection_id":128859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":128859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:07:12] local.INFO: TCP Data received {"connection_id":128859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:07:12] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:07:12] local.INFO: Packet analysis {"connection_id":128859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:12] local.INFO: Extracted packet for processing {"connection_id":128859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:07:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":128859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:07:12] local.INFO: GPS data processed {"connection_id":128859,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:07:12] local.INFO: Acknowledgment sent {"connection_id":128859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:07:16] local.INFO: TCP Data received {"connection_id":128859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:07:16] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:07:16] local.INFO: Packet analysis {"connection_id":128859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:16] local.INFO: Extracted packet for processing {"connection_id":128859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:07:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:07:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":128859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:07:16] local.INFO: GPS data processed {"connection_id":128859,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:07:16] local.INFO: Acknowledgment sent {"connection_id":128859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:07:24] local.INFO: TCP Data received {"connection_id":130111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:07:24] local.INFO: Processing buffer {"connection_id":130111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:07:24] local.INFO: Packet analysis {"connection_id":130111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:24] local.INFO: Extracted packet for processing {"connection_id":130111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 00:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:07:24] 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-07-11 00:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:07:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":130111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:07:24] local.INFO: GPS data processed {"connection_id":130111,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:07:24] local.INFO: Acknowledgment sent {"connection_id":130111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:07:26] local.INFO: TCP Data received {"connection_id":127937,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5073d0012d516a40064c55800006014e2b..."} 
[2026-07-11 00:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5073d0012d516a40064c55800006014e2b..."} 
[2026-07-11 00:07:26] local.INFO: Processing buffer {"connection_id":127937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5073d0012d516a40064c55800006014e2b..."} 
[2026-07-11 00:07:26] local.INFO: Packet analysis {"connection_id":127937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:07:26] local.INFO: Extracted packet for processing {"connection_id":127937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:07:26] local.INFO: GPS Element Parsed {"raw_longitude":760310336,"raw_latitude":105665920,"longitude_deg":76.0310336,"latitude_deg":10.566592,"altitude":6,"angle":334,"satellites":43,"speed":26,"hex_longitude":"2d516a40","hex_latitude":"064c5580","is_valid_coordinates":true} 
[2026-07-11 00:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629385984001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134397339237351424,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868260710257412096,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783708546000,"timestamp_ms":1783708546000,"timestamp_seconds":1783708546,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5073d0"} 
[2026-07-11 00:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 00:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629385984001,"66":27930,"89":206,"19":38144,"24":26,"16":134397339237351424,"45":5868260710257412096},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-07-11 00:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629385984001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:07:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 00:07:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134397339237351424,"km_value":134397339237351.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868260710257412096,"description":"Unknown IO ID 45"} 
[2026-07-11 00:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629385984001,"power":27930,"unknown_89":206,"unknown_19":38144,"ignition":26,"odometer":null,"unknown_45":5868260710257412096}} 
[2026-07-11 00:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":127937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:07:26] local.INFO: GPS data processed {"connection_id":127937,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:07:26] local.INFO: Acknowledgment sent {"connection_id":127937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:07:47] local.INFO: TCP Data received {"connection_id":128859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:07:47] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:07:47] local.INFO: Packet analysis {"connection_id":128859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:47] local.INFO: Extracted packet for processing {"connection_id":128859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:07:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:07:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":128859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:07:47] local.INFO: GPS data processed {"connection_id":128859,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:07:47] local.INFO: Acknowledgment sent {"connection_id":128859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:07:47] local.INFO: TCP Data received {"connection_id":127939,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:07:47] local.INFO: Processing buffer {"connection_id":127939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:07:47] local.INFO: IMEI packet received {"connection_id":127939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":127939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:07:47] local.INFO: TCP Data received {"connection_id":127938,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:07:47] local.INFO: Processing buffer {"connection_id":127938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:07:47] local.INFO: IMEI packet received {"connection_id":127938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":127938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:07:52] local.INFO: TCP Data received {"connection_id":127938,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:07:52] local.INFO: Processing buffer {"connection_id":127938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:07:52] local.INFO: IMEI packet received {"connection_id":127938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":127938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:07:53] local.INFO: TCP Data received {"connection_id":127939,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:07:53] local.INFO: Processing buffer {"connection_id":127939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:07:53] local.INFO: IMEI packet received {"connection_id":127939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":127939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:07:53] local.INFO: TCP Data received {"connection_id":127938,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:07:53] local.INFO: Processing buffer {"connection_id":127938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:07:53] local.INFO: Packet analysis {"connection_id":127938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:53] local.INFO: Extracted packet for processing {"connection_id":127938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 00:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:07:53] 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-07-11 00:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:07:53] 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-07-11 00:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:07:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":127938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:07:53] local.INFO: GPS data processed {"connection_id":127938,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:07:53] local.INFO: Acknowledgment sent {"connection_id":127938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:07:55] local.INFO: TCP Data received {"connection_id":127939,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d50a2b0012d515880064c76700005014a32..."} 
[2026-07-11 00:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d50a2b0012d515880064c76700005014a32..."} 
[2026-07-11 00:07:55] local.INFO: Processing buffer {"connection_id":127939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d50a2b0012d515880064c76700005014a32..."} 
[2026-07-11 00:07:55] local.INFO: Packet analysis {"connection_id":127939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:07:55] local.INFO: Extracted packet for processing {"connection_id":127939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:07:55] local.INFO: GPS Element Parsed {"raw_longitude":760305792,"raw_latitude":105674352,"longitude_deg":76.0305792,"latitude_deg":10.5674352,"altitude":5,"angle":330,"satellites":50,"speed":32,"hex_longitude":"2d515880","hex_latitude":"064c7670","is_valid_coordinates":true} 
[2026-07-11 00:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629387776001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134397803093819392,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866571860398145536,"note":"Value kept but may cause issues"} 
[2026-07-11 00:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783708558000,"timestamp_ms":1783708558000,"timestamp_seconds":1783708558,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d50a2b0"} 
[2026-07-11 00:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:07:55] 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-07-11 00:07: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-07-11 00:07: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-07-11 00:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629387776001,"66":27876,"89":206,"19":38144,"24":32,"16":134397803093819392,"45":5866571860398145536},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-07-11 00:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629387776001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:07:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 00:07:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134397803093819392,"km_value":134397803093819.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866571860398145536,"description":"Unknown IO ID 45"} 
[2026-07-11 00:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629387776001,"power":27876,"unknown_89":206,"unknown_19":38144,"ignition":32,"odometer":null,"unknown_45":5866571860398145536}} 
[2026-07-11 00:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":127939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:07:56] local.INFO: GPS data processed {"connection_id":127939,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:07:56] local.INFO: Acknowledgment sent {"connection_id":127939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:08:05] local.INFO: TCP Data received {"connection_id":127940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:08:05] local.INFO: Processing buffer {"connection_id":127940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:08:05] local.INFO: IMEI packet received {"connection_id":127940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":127940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:08:11] local.INFO: TCP Data received {"connection_id":127940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:08:11] local.INFO: Processing buffer {"connection_id":127940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:08:11] local.INFO: IMEI packet received {"connection_id":127940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":127940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:08:12] local.INFO: TCP Data received {"connection_id":127940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:08:12] local.INFO: Processing buffer {"connection_id":127940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4d81e8012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:08:12] local.INFO: Packet analysis {"connection_id":127940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:08:12] local.INFO: Extracted packet for processing {"connection_id":127940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:08:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629261312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783708353000,"timestamp_ms":1783708353000,"timestamp_seconds":1783708353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4d81e8"} 
[2026-07-11 00:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629261312001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629261312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:08:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629261312001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":127940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:08:12] local.INFO: GPS data processed {"connection_id":127940,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:08:12] local.INFO: Acknowledgment sent {"connection_id":127940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:08:24] local.INFO: TCP Data received {"connection_id":127938,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:08:24] local.INFO: Processing buffer {"connection_id":127938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d4ddbc0012d196500071ff058003e013e2c..."} 
[2026-07-11 00:08:24] local.INFO: Packet analysis {"connection_id":127938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:08:24] local.INFO: Extracted packet for processing {"connection_id":127938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d4d"} 
[2026-07-11 00:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708376000,"timestamp_ms":1783708376000,"timestamp_seconds":1783708376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d4ddbc0"} 
[2026-07-11 00:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 00:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:08:24] 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-07-11 00:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629267200001,"66":2144,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:08:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629267200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":127938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:08:24] local.INFO: GPS data processed {"connection_id":127938,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:08:24] local.INFO: Acknowledgment sent {"connection_id":127938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:08:29] local.INFO: TCP Data received {"connection_id":127939,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d50c9c0012d514480064c9448000501402f..."} 
[2026-07-11 00:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d50c9c0012d514480064c9448000501402f..."} 
[2026-07-11 00:08:29] local.INFO: Processing buffer {"connection_id":127939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d50c9c0012d514480064c9448000501402f..."} 
[2026-07-11 00:08:29] local.INFO: Packet analysis {"connection_id":127939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:08:29] local.INFO: Extracted packet for processing {"connection_id":127939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:08:29] local.INFO: GPS Element Parsed {"raw_longitude":760300672,"raw_latitude":105681992,"longitude_deg":76.0300672,"latitude_deg":10.5681992,"altitude":5,"angle":320,"satellites":47,"speed":38,"hex_longitude":"2d514480","hex_latitude":"064c9448","is_valid_coordinates":true} 
[2026-07-11 00:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629390848001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134398245475450880,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5861575679563689984,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783708568000,"timestamp_ms":1783708568000,"timestamp_seconds":1783708568,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d50c9c0"} 
[2026-07-11 00:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 00:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":127939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":127939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":127939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629390848001,"66":27930,"34":206,"19":38144,"24":38,"16":134398245475450880,"45":5861575679563689984},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-11 00:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629390848001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:08:29] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 00:08:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134398245475450880,"km_value":134398245475450.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5861575679563689984,"description":"Unknown IO ID 45"} 
[2026-07-11 00:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629390848001,"power":27930,"unknown_34":206,"unknown_19":38144,"ignition":38,"odometer":null,"unknown_45":5861575679563689984}} 
[2026-07-11 00:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":127939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:08:29] local.INFO: GPS data processed {"connection_id":127939,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:08:29] local.INFO: Acknowledgment sent {"connection_id":127939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:08:42] local.INFO: TCP Data received {"connection_id":127940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:08:42] local.INFO: Processing buffer {"connection_id":127940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:08:42] local.INFO: Packet analysis {"connection_id":127940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:08:42] local.INFO: Extracted packet for processing {"connection_id":127940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:08:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629338368001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783708654000,"timestamp_ms":1783708654000,"timestamp_seconds":1783708654,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5219b0"} 
[2026-07-11 00:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 00:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629338368001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629338368001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:08:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629338368001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":127940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:08:42] local.INFO: GPS data processed {"connection_id":127940,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:08:42] local.INFO: Acknowledgment sent {"connection_id":127940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:08:47] local.INFO: TCP Data received {"connection_id":128860,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:08:47] local.INFO: Processing buffer {"connection_id":128860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:08:47] local.INFO: IMEI packet received {"connection_id":128860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":128860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:08:52] local.INFO: TCP Data received {"connection_id":128860,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:08:52] local.INFO: Processing buffer {"connection_id":128860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:08:52] local.INFO: IMEI packet received {"connection_id":128860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":128860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:08:52] local.INFO: TCP Data received {"connection_id":128154,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:08:52] local.INFO: Processing buffer {"connection_id":128154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:08:52] local.INFO: IMEI packet received {"connection_id":128154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":128154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:08:53] local.INFO: TCP Data received {"connection_id":128860,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:08:53] local.INFO: Processing buffer {"connection_id":128860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:08:53] local.INFO: Packet analysis {"connection_id":128860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:08:53] local.INFO: Extracted packet for processing {"connection_id":128860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629344256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708677000,"timestamp_ms":1783708677000,"timestamp_seconds":1783708677,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d527388"} 
[2026-07-11 00:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:08:53] 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-07-11 00:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629344256001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 00:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629344256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:08:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629344256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":128860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:08:53] local.INFO: GPS data processed {"connection_id":128860,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:08:53] local.INFO: Acknowledgment sent {"connection_id":128860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:08:58] local.INFO: TCP Data received {"connection_id":128154,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:08:58] local.INFO: Processing buffer {"connection_id":128154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:08:58] local.INFO: IMEI packet received {"connection_id":128154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":128154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:08:59] local.INFO: TCP Data received {"connection_id":128154,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d50ece8012d513040064cb1b80005014a2c..."} 
[2026-07-11 00:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d50ece8012d513040064cb1b80005014a2c..."} 
[2026-07-11 00:08:59] local.INFO: Processing buffer {"connection_id":128154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d50ece8012d513040064cb1b80005014a2c..."} 
[2026-07-11 00:08:59] local.INFO: Packet analysis {"connection_id":128154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:08:59] local.INFO: Extracted packet for processing {"connection_id":128154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d50"} 
[2026-07-11 00:08:59] local.INFO: GPS Element Parsed {"raw_longitude":760295488,"raw_latitude":105689528,"longitude_deg":76.0295488,"latitude_deg":10.5689528,"altitude":5,"angle":330,"satellites":44,"speed":39,"hex_longitude":"2d513040","hex_latitude":"064cb1b8","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629393408001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134398687857082368,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5855946180031432704,"note":"Value kept but may cause issues"} 
[2026-07-11 00:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783708577000,"timestamp_ms":1783708577000,"timestamp_seconds":1783708577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d50ece8"} 
[2026-07-11 00:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 00:08:59] 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-07-11 00: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-07-11 00:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":128154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":128154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":128154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629393408001,"66":27941,"34":206,"19":38144,"24":39,"16":134398687857082368,"45":5855946180031432704},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-11 00:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629393408001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:08:59] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 00:08:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134398687857082368,"km_value":134398687857082.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5855946180031432704,"description":"Unknown IO ID 45"} 
[2026-07-11 00:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629393408001,"power":27941,"unknown_34":206,"unknown_19":38144,"ignition":39,"odometer":null,"unknown_45":5855946180031432704}} 
[2026-07-11 00:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":128154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:08:59] local.INFO: GPS data processed {"connection_id":128154,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:08:59] local.INFO: Acknowledgment sent {"connection_id":128154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:09:02] local.INFO: TCP Data received {"connection_id":128154,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d511010012d512140064cd1200004014f2a..."} 
[2026-07-11 00:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d511010012d512140064cd1200004014f2a..."} 
[2026-07-11 00:09:02] local.INFO: Processing buffer {"connection_id":128154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d511010012d512140064cd1200004014f2a..."} 
[2026-07-11 00:09:02] local.INFO: Packet analysis {"connection_id":128154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d51"} 
[2026-07-11 00:09:02] local.INFO: Extracted packet for processing {"connection_id":128154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d51"} 
[2026-07-11 00:09:02] local.INFO: GPS Element Parsed {"raw_longitude":760291648,"raw_latitude":105697568,"longitude_deg":76.0291648,"latitude_deg":10.5697568,"altitude":4,"angle":335,"satellites":42,"speed":39,"hex_longitude":"2d512140","hex_latitude":"064cd120","is_valid_coordinates":true} 
[2026-07-11 00:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629395712001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134399117353811968,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5850246311754971136,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783708586000,"timestamp_ms":1783708586000,"timestamp_seconds":1783708586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d511010"} 
[2026-07-11 00:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-11 00:09:02] 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-07-11 00:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629395712001,"66":28050,"34":206,"19":38144,"24":39,"16":134399117353811968,"45":5850246311754971136},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-11 00:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629395712001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:09:02] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 00:09:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134399117353811968,"km_value":134399117353811.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5850246311754971136,"description":"Unknown IO ID 45"} 
[2026-07-11 00:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629395712001,"power":28050,"unknown_34":206,"unknown_19":38144,"ignition":39,"odometer":null,"unknown_45":5850246311754971136}} 
[2026-07-11 00:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":128154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:09:02] local.INFO: GPS data processed {"connection_id":128154,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:09:02] local.INFO: Acknowledgment sent {"connection_id":128154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:09:06] local.INFO: TCP Data received {"connection_id":130112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:09:06] local.INFO: Processing buffer {"connection_id":130112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:09:06] local.INFO: IMEI packet received {"connection_id":130112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":130112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:09:11] local.INFO: TCP Data received {"connection_id":130112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:09:11] local.INFO: Processing buffer {"connection_id":130112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:09:11] local.INFO: IMEI packet received {"connection_id":130112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":130112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:09:12] local.INFO: TCP Data received {"connection_id":130112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:09:12] local.INFO: Processing buffer {"connection_id":130112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:09:12] local.INFO: Packet analysis {"connection_id":130112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:09:12] local.INFO: Extracted packet for processing {"connection_id":130112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:09:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629338368001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783708654000,"timestamp_ms":1783708654000,"timestamp_seconds":1783708654,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5219b0"} 
[2026-07-11 00:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 00:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629338368001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629338368001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:09:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629338368001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":130112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:09:12] local.INFO: GPS data processed {"connection_id":130112,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:09:12] local.INFO: Acknowledgment sent {"connection_id":130112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:09:24] local.INFO: TCP Data received {"connection_id":128860,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:09:24] local.INFO: Processing buffer {"connection_id":128860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:09:24] local.INFO: Packet analysis {"connection_id":128860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:09:24] local.INFO: Extracted packet for processing {"connection_id":128860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629344256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708677000,"timestamp_ms":1783708677000,"timestamp_seconds":1783708677,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d527388"} 
[2026-07-11 00:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629344256001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 00:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629344256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629344256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":128860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:09:24] local.INFO: GPS data processed {"connection_id":128860,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:09:24] local.INFO: Acknowledgment sent {"connection_id":128860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:09:43] local.INFO: TCP Data received {"connection_id":130112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:09:43] local.INFO: Processing buffer {"connection_id":130112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:09:43] local.INFO: Packet analysis {"connection_id":130112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:09:43] local.INFO: Extracted packet for processing {"connection_id":130112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:09:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629338368001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783708654000,"timestamp_ms":1783708654000,"timestamp_seconds":1783708654,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5219b0"} 
[2026-07-11 00:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 00:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629338368001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629338368001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629338368001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":130112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:09:43] local.INFO: GPS data processed {"connection_id":130112,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:09:43] local.INFO: Acknowledgment sent {"connection_id":130112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:09:47] local.INFO: TCP Data received {"connection_id":128861,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:09:47] local.INFO: Processing buffer {"connection_id":128861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:09:47] local.INFO: IMEI packet received {"connection_id":128861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":128861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:09:47] local.INFO: TCP Data received {"connection_id":127941,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:09:48] local.INFO: Processing buffer {"connection_id":127941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:09:48] local.INFO: IMEI packet received {"connection_id":127941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":127941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:09:52] local.INFO: TCP Data received {"connection_id":128861,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:09:52] local.INFO: Processing buffer {"connection_id":128861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:09:52] local.INFO: IMEI packet received {"connection_id":128861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":128861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:09:53] local.INFO: TCP Data received {"connection_id":128861,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:09:53] local.INFO: Processing buffer {"connection_id":128861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:09:53] local.INFO: Packet analysis {"connection_id":128861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:09:53] local.INFO: Extracted packet for processing {"connection_id":128861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:09:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629344256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708677000,"timestamp_ms":1783708677000,"timestamp_seconds":1783708677,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d527388"} 
[2026-07-11 00:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:09:53] 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-07-11 00:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629344256001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 00:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629344256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:09:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:09:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629344256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":128861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:09:53] local.INFO: GPS data processed {"connection_id":128861,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:09:53] local.INFO: Acknowledgment sent {"connection_id":128861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:09:57] local.INFO: TCP Data received {"connection_id":127941,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:09:57] local.INFO: Processing buffer {"connection_id":127941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:09:57] local.INFO: IMEI packet received {"connection_id":127941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":127941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:09:59] local.INFO: TCP Data received {"connection_id":127941,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d513ef0012d511140064cf1800005014d2c..."} 
[2026-07-11 00:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d513ef0012d511140064cf1800005014d2c..."} 
[2026-07-11 00:09:59] local.INFO: Processing buffer {"connection_id":127941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d513ef0012d511140064cf1800005014d2c..."} 
[2026-07-11 00:09:59] local.INFO: Packet analysis {"connection_id":127941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d51"} 
[2026-07-11 00:09:59] local.INFO: Extracted packet for processing {"connection_id":127941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d51"} 
[2026-07-11 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":760287552,"raw_latitude":105705856,"longitude_deg":76.0287552,"latitude_deg":10.5705856,"altitude":5,"angle":333,"satellites":44,"speed":25,"hex_longitude":"2d511140","hex_latitude":"064cf180","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629398016001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134399568325378048,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5846024187106369536,"note":"Value kept but may cause issues"} 
[2026-07-11 00:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783708598000,"timestamp_ms":1783708598000,"timestamp_seconds":1783708598,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d513ef0"} 
[2026-07-11 00:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-11 00:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00: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-07-11 00:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":127941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":127941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":127941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629398016001,"66":27843,"34":206,"19":38144,"24":25,"16":134399568325378048,"45":5846024187106369536},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-11 00:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629398016001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:09:59] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 00:09:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134399568325378048,"km_value":134399568325378.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5846024187106369536,"description":"Unknown IO ID 45"} 
[2026-07-11 00:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629398016001,"power":27843,"unknown_34":206,"unknown_19":38144,"ignition":25,"odometer":null,"unknown_45":5846024187106369536}} 
[2026-07-11 00:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":127941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:09:59] local.INFO: GPS data processed {"connection_id":127941,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:09:59] local.INFO: Acknowledgment sent {"connection_id":127941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:10:00] local.INFO: TCP Data received {"connection_id":127941,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d535de8012d508a40064e1220000401482f..."} 
[2026-07-11 00:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d535de8012d508a40064e1220000401482f..."} 
[2026-07-11 00:10:00] local.INFO: Processing buffer {"connection_id":127941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d535de8012d508a40064e1220000401482f..."} 
[2026-07-11 00:10:00] local.INFO: Packet analysis {"connection_id":127941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d53"} 
[2026-07-11 00:10:00] local.INFO: Extracted packet for processing {"connection_id":127941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d53"} 
[2026-07-11 00:10:00] local.INFO: GPS Element Parsed {"raw_longitude":760252992,"raw_latitude":105779744,"longitude_deg":76.0252992,"latitude_deg":10.5779744,"altitude":4,"angle":328,"satellites":47,"speed":23,"hex_longitude":"2d508a40","hex_latitude":"064e1220","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629432576001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134403549760061440,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5808165802757754880,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783708737000,"timestamp_ms":1783708737000,"timestamp_seconds":1783708737,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d535de8"} 
[2026-07-11 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-07-11 00:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 00:10:00] 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-07-11 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-07-11 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-07-11 00:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629432576001,"66":28006,"34":206,"19":38144,"24":23,"16":134403549760061440,"45":5808165802757754880},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-11 00:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629432576001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:10:00] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 00:10:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134403549760061440,"km_value":134403549760061.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5808165802757754880,"description":"Unknown IO ID 45"} 
[2026-07-11 00:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629432576001,"power":28006,"unknown_34":206,"unknown_19":38144,"ignition":23,"odometer":null,"unknown_45":5808165802757754880}} 
[2026-07-11 00:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":127941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:10:00] local.INFO: GPS data processed {"connection_id":127941,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:10:00] local.INFO: Acknowledgment sent {"connection_id":127941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:10:05] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:10:05] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:10:05] local.INFO: IMEI packet received {"connection_id":128862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":128862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:10:11] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:10:11] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:10:11] local.INFO: IMEI packet received {"connection_id":128862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":128862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:10:12] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:10:12] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:10:12] local.INFO: Packet analysis {"connection_id":128862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:10:12] local.INFO: Extracted packet for processing {"connection_id":128862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:10:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629338368001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783708654000,"timestamp_ms":1783708654000,"timestamp_seconds":1783708654,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5219b0"} 
[2026-07-11 00:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 00:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629338368001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629338368001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:10:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629338368001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":128862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:10:12] local.INFO: GPS data processed {"connection_id":128862,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:10:12] local.INFO: Acknowledgment sent {"connection_id":128862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:10:24] local.INFO: TCP Data received {"connection_id":128861,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:10:24] local.INFO: Processing buffer {"connection_id":128861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:10:24] local.INFO: Packet analysis {"connection_id":128861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:10:24] local.INFO: Extracted packet for processing {"connection_id":128861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629344256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708677000,"timestamp_ms":1783708677000,"timestamp_seconds":1783708677,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d527388"} 
[2026-07-11 00:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629344256001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 00:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629344256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:10:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629344256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":128861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:10:24] local.INFO: GPS data processed {"connection_id":128861,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:10:24] local.INFO: Acknowledgment sent {"connection_id":128861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:10:32] local.INFO: TCP Data received {"connection_id":127941,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d53a050012d507780064e2f900003014230..."} 
[2026-07-11 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d53a050012d507780064e2f900003014230..."} 
[2026-07-11 00:10:32] local.INFO: Processing buffer {"connection_id":127941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d53a050012d507780064e2f900003014230..."} 
[2026-07-11 00:10:32] local.INFO: Packet analysis {"connection_id":127941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d53"} 
[2026-07-11 00:10:32] local.INFO: Extracted packet for processing {"connection_id":127941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d53"} 
[2026-07-11 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":760248192,"raw_latitude":105787280,"longitude_deg":76.0248192,"latitude_deg":10.578728,"altitude":3,"angle":322,"satellites":48,"speed":23,"hex_longitude":"2d507780","hex_latitude":"064e2f90","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629436672001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134403983551758336,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5803521465644097536,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783708754000,"timestamp_ms":1783708754000,"timestamp_seconds":1783708754,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d53a050"} 
[2026-07-11 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-07-11 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 00:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 00:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629436672001,"66":27952,"35":206,"19":38144,"24":23,"16":134403983551758336,"45":5803521465644097536},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-11 00:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629436672001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:10:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 00:10:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134403983551758336,"km_value":134403983551758.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5803521465644097536,"description":"Unknown IO ID 45"} 
[2026-07-11 00:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629436672001,"power":27952,"unknown_35":206,"unknown_19":38144,"ignition":23,"odometer":null,"unknown_45":5803521465644097536}} 
[2026-07-11 00:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":127941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:10:32] local.INFO: GPS data processed {"connection_id":127941,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:10:32] local.INFO: Acknowledgment sent {"connection_id":127941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:10:46] local.INFO: TCP Data received {"connection_id":128155,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:10:46] local.INFO: Processing buffer {"connection_id":128155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:10:46] local.INFO: IMEI packet received {"connection_id":128155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":128155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:10:47] local.INFO: TCP Data received {"connection_id":128155,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:10:47] local.INFO: Processing buffer {"connection_id":128155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:10:47] local.INFO: IMEI packet received {"connection_id":128155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":128155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:10:47] local.INFO: TCP Data received {"connection_id":128156,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:10:47] local.INFO: Processing buffer {"connection_id":128156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:10:47] local.INFO: IMEI packet received {"connection_id":128156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":128156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:10:50] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:10:50] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5219b0012cb29ac007823b28004700db2f..."} 
[2026-07-11 00:10:50] local.INFO: Packet analysis {"connection_id":128862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:10:50] local.INFO: Extracted packet for processing {"connection_id":128862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:10:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629338368001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783708654000,"timestamp_ms":1783708654000,"timestamp_seconds":1783708654,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5219b0"} 
[2026-07-11 00:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 00:10: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-07-11 00:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":128862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629338368001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629338368001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:10:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629338368001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":128862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:10:50] local.INFO: GPS data processed {"connection_id":128862,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:10:50] local.INFO: Acknowledgment sent {"connection_id":128862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:10:52] local.INFO: TCP Data received {"connection_id":128156,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:10:52] local.INFO: Processing buffer {"connection_id":128156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:10:52] local.INFO: IMEI packet received {"connection_id":128156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":128156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:10:53] local.INFO: TCP Data received {"connection_id":128155,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:10:53] local.INFO: Processing buffer {"connection_id":128155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:10:53] local.INFO: IMEI packet received {"connection_id":128155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":128155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:10:53] local.INFO: TCP Data received {"connection_id":128156,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:10:53] local.INFO: Processing buffer {"connection_id":128156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:10:53] local.INFO: Packet analysis {"connection_id":128156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:10:53] local.INFO: Extracted packet for processing {"connection_id":128156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629344256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708677000,"timestamp_ms":1783708677000,"timestamp_seconds":1783708677,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d527388"} 
[2026-07-11 00:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:10:53] 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-07-11 00:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:10:53] 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-07-11 00:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629344256001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629344256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:10:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629344256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":128156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:10:53] local.INFO: GPS data processed {"connection_id":128156,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:10:53] local.INFO: Acknowledgment sent {"connection_id":128156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:10:54] local.INFO: TCP Data received {"connection_id":128155,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d53aff0012d507100064e3770000301372f..."} 
[2026-07-11 00:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d53aff0012d507100064e3770000301372f..."} 
[2026-07-11 00:10:54] local.INFO: Processing buffer {"connection_id":128155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d53aff0012d507100064e3770000301372f..."} 
[2026-07-11 00:10:54] local.INFO: Packet analysis {"connection_id":128155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d53"} 
[2026-07-11 00:10:54] local.INFO: Extracted packet for processing {"connection_id":128155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d53"} 
[2026-07-11 00:10:54] local.INFO: GPS Element Parsed {"raw_longitude":760246528,"raw_latitude":105789296,"longitude_deg":76.0246528,"latitude_deg":10.5789296,"altitude":3,"angle":311,"satellites":47,"speed":28,"hex_longitude":"2d507100","hex_latitude":"064e3770","is_valid_coordinates":true} 
[2026-07-11 00:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629441024001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134404112400777216,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5798243809832701952,"note":"Value kept but may cause issues"} 
[2026-07-11 00:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783708758000,"timestamp_ms":1783708758000,"timestamp_seconds":1783708758,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d53aff0"} 
[2026-07-11 00:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-11 00:10:54] 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-07-11 00:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629441024001,"66":27974,"35":206,"19":38144,"24":28,"16":134404112400777216,"45":5798243809832701952},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-11 00:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629441024001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:10:54] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 00:10:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134404112400777216,"km_value":134404112400777.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5798243809832701952,"description":"Unknown IO ID 45"} 
[2026-07-11 00:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629441024001,"power":27974,"unknown_35":206,"unknown_19":38144,"ignition":28,"odometer":null,"unknown_45":5798243809832701952}} 
[2026-07-11 00:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":128155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:10:54] local.INFO: GPS data processed {"connection_id":128155,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:10:54] local.INFO: Acknowledgment sent {"connection_id":128155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:11:11] local.INFO: TCP Data received {"connection_id":127942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:11] local.INFO: Processing buffer {"connection_id":127942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:11] local.INFO: IMEI packet received {"connection_id":127942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":127942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:11:24] local.INFO: TCP Data received {"connection_id":128156,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:11:24] local.INFO: Processing buffer {"connection_id":128156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:11:24] local.INFO: Packet analysis {"connection_id":128156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:11:24] local.INFO: Extracted packet for processing {"connection_id":128156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629344256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708677000,"timestamp_ms":1783708677000,"timestamp_seconds":1783708677,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d527388"} 
[2026-07-11 00:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:11:24] 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-07-11 00:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629344256001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629344256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:11:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629344256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":128156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:11:24] local.INFO: GPS data processed {"connection_id":128156,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:11:24] local.INFO: Acknowledgment sent {"connection_id":128156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:11:26] local.INFO: TCP Data received {"connection_id":128155,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d53e2b8012d505500064e4cc00002013230..."} 
[2026-07-11 00:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d53e2b8012d505500064e4cc00002013230..."} 
[2026-07-11 00:11:26] local.INFO: Processing buffer {"connection_id":128155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d53e2b8012d505500064e4cc00002013230..."} 
[2026-07-11 00:11:26] local.INFO: Packet analysis {"connection_id":128155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d53"} 
[2026-07-11 00:11:26] local.INFO: Extracted packet for processing {"connection_id":128155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d53"} 
[2026-07-11 00:11:26] local.INFO: GPS Element Parsed {"raw_longitude":760239360,"raw_latitude":105794752,"longitude_deg":76.023936,"latitude_deg":10.5794752,"altitude":2,"angle":306,"satellites":48,"speed":23,"hex_longitude":"2d505500","hex_latitude":"064e4cc0","is_valid_coordinates":true} 
[2026-07-11 00:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134404541897506816,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5796414222484598784,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783708771000,"timestamp_ms":1783708771000,"timestamp_seconds":1783708771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d53e2b8"} 
[2026-07-11 00:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 00:11: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-07-11 00:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":128155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":128155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":128155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629442048001,"66":27995,"35":206,"19":38144,"24":23,"16":134404541897506816,"45":5796414222484598784},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-11 00:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:11:26] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 00:11:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134404541897506816,"km_value":134404541897506.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5796414222484598784,"description":"Unknown IO ID 45"} 
[2026-07-11 00:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629442048001,"power":27995,"unknown_35":206,"unknown_19":38144,"ignition":23,"odometer":null,"unknown_45":5796414222484598784}} 
[2026-07-11 00:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":128155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:11:26] local.INFO: GPS data processed {"connection_id":128155,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:11:26] local.INFO: Acknowledgment sent {"connection_id":128155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:11:40] local.INFO: TCP Data received {"connection_id":127942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:40] local.INFO: Processing buffer {"connection_id":127942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:40] local.INFO: IMEI packet received {"connection_id":127942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":127942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:11:47] local.INFO: TCP Data received {"connection_id":127943,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:11:47] local.INFO: Processing buffer {"connection_id":127943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:11:47] local.INFO: IMEI packet received {"connection_id":127943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":127943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:11:47] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:11:47] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:11:47] local.INFO: IMEI packet received {"connection_id":130113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":130113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:11:48] local.INFO: TCP Data received {"connection_id":127942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:48] local.INFO: Processing buffer {"connection_id":127942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:48] local.INFO: IMEI packet received {"connection_id":127942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":127942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:11:49] local.INFO: TCP Data received {"connection_id":127942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:49] local.INFO: Processing buffer {"connection_id":127942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:11:49] local.INFO: IMEI packet received {"connection_id":127942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":127942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:11:52] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:11:52] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:11:52] local.INFO: IMEI packet received {"connection_id":130113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":130113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:11:53] local.INFO: TCP Data received {"connection_id":127943,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:11:53] local.INFO: Processing buffer {"connection_id":127943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:11:53] local.INFO: IMEI packet received {"connection_id":127943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":127943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:11:53] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:11:53] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:11:53] local.INFO: Packet analysis {"connection_id":130113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:11:53] local.INFO: Extracted packet for processing {"connection_id":130113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629344256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708677000,"timestamp_ms":1783708677000,"timestamp_seconds":1783708677,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d527388"} 
[2026-07-11 00:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:11:53] 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-07-11 00:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629344256001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629344256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629344256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":130113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:11:53] local.INFO: GPS data processed {"connection_id":130113,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:11:53] local.INFO: Acknowledgment sent {"connection_id":130113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:11:53] local.INFO: TCP Data received {"connection_id":127943,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d541580012d504340064e5c000001013d30..."} 
[2026-07-11 00:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d541580012d504340064e5c000001013d30..."} 
[2026-07-11 00:11:53] local.INFO: Processing buffer {"connection_id":127943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d541580012d504340064e5c000001013d30..."} 
[2026-07-11 00:11:53] local.INFO: Packet analysis {"connection_id":127943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d54"} 
[2026-07-11 00:11:53] local.INFO: Extracted packet for processing {"connection_id":127943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d54"} 
[2026-07-11 00:11:53] local.INFO: GPS Element Parsed {"raw_longitude":760234816,"raw_latitude":105798656,"longitude_deg":76.0234816,"latitude_deg":10.5798656,"altitude":1,"angle":317,"satellites":48,"speed":16,"hex_longitude":"2d504340","hex_latitude":"064e5c00","is_valid_coordinates":true} 
[2026-07-11 00:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629445376001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134404829660315648,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5788532923138097152,"note":"Value kept but may cause issues"} 
[2026-07-11 00:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708784000,"timestamp_ms":1783708784000,"timestamp_seconds":1783708784,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d541580"} 
[2026-07-11 00:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:11: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-07-11 00:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 00:11: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-07-11 00:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629445376001,"66":27843,"35":206,"19":38144,"24":16,"16":134404829660315648,"45":5788532923138097152},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-11 00:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629445376001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:11:53] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 00:11:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134404829660315648,"km_value":134404829660315.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5788532923138097152,"description":"Unknown IO ID 45"} 
[2026-07-11 00:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629445376001,"power":27843,"unknown_35":206,"unknown_19":38144,"ignition":16,"odometer":null,"unknown_45":5788532923138097152}} 
[2026-07-11 00:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":127943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:11:54] local.INFO: GPS data processed {"connection_id":127943,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:11:54] local.INFO: Acknowledgment sent {"connection_id":127943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:12:24] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:12:24] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:12:24] local.INFO: Packet analysis {"connection_id":130113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:12:24] local.INFO: Extracted packet for processing {"connection_id":130113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629344256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708677000,"timestamp_ms":1783708677000,"timestamp_seconds":1783708677,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d527388"} 
[2026-07-11 00:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629344256001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629344256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:12:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629344256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":130113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:12:24] local.INFO: GPS data processed {"connection_id":130113,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:12:24] local.INFO: Acknowledgment sent {"connection_id":130113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:12:25] local.INFO: TCP Data received {"connection_id":127943,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5438a8012d503d00064e64700002014f32..."} 
[2026-07-11 00:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5438a8012d503d00064e64700002014f32..."} 
[2026-07-11 00:12:25] local.INFO: Processing buffer {"connection_id":127943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5438a8012d503d00064e64700002014f32..."} 
[2026-07-11 00:12:25] local.INFO: Packet analysis {"connection_id":127943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d54"} 
[2026-07-11 00:12:25] local.INFO: Extracted packet for processing {"connection_id":127943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d54"} 
[2026-07-11 00:12:25] local.INFO: GPS Element Parsed {"raw_longitude":760233216,"raw_latitude":105800816,"longitude_deg":76.0233216,"latitude_deg":10.5800816,"altitude":2,"angle":335,"satellites":50,"speed":6,"hex_longitude":"2d503d00","hex_latitude":"064e6470","is_valid_coordinates":true} 
[2026-07-11 00:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629448704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134404958509334528,"note":"Value kept but may cause issues"} 
[2026-07-11 00:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5783536742302482432,"note":"Value kept but may cause issues"} 
[2026-07-11 00:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783708793000,"timestamp_ms":1783708793000,"timestamp_seconds":1783708793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5438a8"} 
[2026-07-11 00:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:12: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-07-11 00:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 00:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629448704001,"66":27887,"35":206,"19":38144,"24":6,"16":134404958509334528,"45":5783536742302482432},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-11 00:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629448704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:12:25] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 00:12:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134404958509334528,"km_value":134404958509334.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5783536742302482432,"description":"Unknown IO ID 45"} 
[2026-07-11 00:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629448704001,"power":27887,"unknown_35":206,"unknown_19":38144,"ignition":6,"odometer":null,"unknown_45":5783536742302482432}} 
[2026-07-11 00:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":127943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:12:25] local.INFO: GPS data processed {"connection_id":127943,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:12:25] local.INFO: Acknowledgment sent {"connection_id":127943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:12:52] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:12:52] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:12:52] local.INFO: IMEI packet received {"connection_id":128865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":128865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:12:52] local.INFO: TCP Data received {"connection_id":128864,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:12:52] local.INFO: Processing buffer {"connection_id":128864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:12:52] local.INFO: IMEI packet received {"connection_id":128864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":128864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:12:57] local.INFO: TCP Data received {"connection_id":128864,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:12:57] local.INFO: Processing buffer {"connection_id":128864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:12:57] local.INFO: IMEI packet received {"connection_id":128864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":128864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:12:57] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:12:57] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:12:57] local.INFO: IMEI packet received {"connection_id":128865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":128865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:12:58] local.INFO: TCP Data received {"connection_id":128864,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d544078012d503c40064e66000003014430..."} 
[2026-07-11 00:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d544078012d503c40064e66000003014430..."} 
[2026-07-11 00:12:58] local.INFO: Processing buffer {"connection_id":128864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d544078012d503c40064e66000003014430..."} 
[2026-07-11 00:12:58] local.INFO: Packet analysis {"connection_id":128864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d54"} 
[2026-07-11 00:12:58] local.INFO: Extracted packet for processing {"connection_id":128864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d54"} 
[2026-07-11 00:12:58] local.INFO: GPS Element Parsed {"raw_longitude":760233024,"raw_latitude":105801216,"longitude_deg":76.0233024,"latitude_deg":10.5801216,"altitude":3,"angle":324,"satellites":48,"speed":8,"hex_longitude":"2d503c40","hex_latitude":"064e6600","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629451008001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134404984279138304,"note":"Value kept but may cause issues"} 
[2026-07-11 00:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5781777523698593792,"note":"Value kept but may cause issues"} 
[2026-07-11 00:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783708795000,"timestamp_ms":1783708795000,"timestamp_seconds":1783708795,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d544078"} 
[2026-07-11 00:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 00:12:58] 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-07-11 00: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-07-11 00:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":128864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":128864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":128864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629451008001,"66":27974,"35":206,"19":38144,"24":8,"16":134404984279138304,"45":5781777523698593792},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-11 00:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629451008001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:12:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 00:12:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134404984279138304,"km_value":134404984279138.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5781777523698593792,"description":"Unknown IO ID 45"} 
[2026-07-11 00:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629451008001,"power":27974,"unknown_35":206,"unknown_19":38144,"ignition":8,"odometer":null,"unknown_45":5781777523698593792}} 
[2026-07-11 00:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":128864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:12:58] local.INFO: GPS data processed {"connection_id":128864,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:12:58] local.INFO: Acknowledgment sent {"connection_id":128864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:13:00] local.INFO: TCP Data received {"connection_id":128864,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d546b70012d503600064e70880006013830..."} 
[2026-07-11 00:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d546b70012d503600064e70880006013830..."} 
[2026-07-11 00:13:00] local.INFO: Processing buffer {"connection_id":128864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d546b70012d503600064e70880006013830..."} 
[2026-07-11 00:13:00] local.INFO: Packet analysis {"connection_id":128864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d54"} 
[2026-07-11 00:13:00] local.INFO: Extracted packet for processing {"connection_id":128864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d54"} 
[2026-07-11 00:13:00] local.INFO: GPS Element Parsed {"raw_longitude":760231424,"raw_latitude":105803912,"longitude_deg":76.0231424,"latitude_deg":10.5803912,"altitude":6,"angle":312,"satellites":48,"speed":11,"hex_longitude":"2d503600","hex_latitude":"064e7088","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629451520001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134405134602993664,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5781566417466163200,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783708806000,"timestamp_ms":1783708806000,"timestamp_seconds":1783708806,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d546b70"} 
[2026-07-11 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-07-11 00:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 00: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-07-11 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-07-11 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-07-11 00:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629451520001,"66":28006,"35":206,"19":38144,"24":11,"16":134405134602993664,"45":5781566417466163200},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-11 00:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629451520001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:13:00] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 00:13:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134405134602993664,"km_value":134405134602993.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5781566417466163200,"description":"Unknown IO ID 45"} 
[2026-07-11 00:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629451520001,"power":28006,"unknown_35":206,"unknown_19":38144,"ignition":11,"odometer":null,"unknown_45":5781566417466163200}} 
[2026-07-11 00:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":128864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:13:00] local.INFO: GPS data processed {"connection_id":128864,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:13:00] local.INFO: Acknowledgment sent {"connection_id":128864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:13:02] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:13:02] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:13:02] local.INFO: IMEI packet received {"connection_id":128865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":128865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:13:03] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:13:03] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d527388012d196500071ff058003e013e2b..."} 
[2026-07-11 00:13:03] local.INFO: Packet analysis {"connection_id":128865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:13:03] local.INFO: Extracted packet for processing {"connection_id":128865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d52"} 
[2026-07-11 00:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629344256001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13: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-07-11 00:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783708677000,"timestamp_ms":1783708677000,"timestamp_seconds":1783708677,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d527388"} 
[2026-07-11 00:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 00:13:03] 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-07-11 00: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-07-11 00:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":128865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":128865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":128865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629344256001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 00:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629344256001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:13:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629344256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":128865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:13:03] local.INFO: GPS data processed {"connection_id":128865,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:13:03] local.INFO: Acknowledgment sent {"connection_id":128865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:13:32] local.INFO: TCP Data received {"connection_id":128864,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d569238012d4f61c0064e7d680005014330..."} 
[2026-07-11 00:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d569238012d4f61c0064e7d680005014330..."} 
[2026-07-11 00:13:32] local.INFO: Processing buffer {"connection_id":128864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d569238012d4f61c0064e7d680005014330..."} 
[2026-07-11 00:13:32] local.INFO: Packet analysis {"connection_id":128864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:13:32] local.INFO: Extracted packet for processing {"connection_id":128864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:13:32] local.INFO: GPS Element Parsed {"raw_longitude":760177088,"raw_latitude":105807208,"longitude_deg":76.0177088,"latitude_deg":10.5807208,"altitude":5,"angle":323,"satellites":48,"speed":31,"hex_longitude":"2d4f61c0","hex_latitude":"064e7d68","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134405164667764736,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 00:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783708947000,"timestamp_ms":1783708947000,"timestamp_seconds":1783708947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d569238"} 
[2026-07-11 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-07-11 00:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 00:13: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-07-11 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-07-11 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-07-11 00:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"35":206,"19":38144,"24":31,"16":134405164667764736},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16]} 
[2026-07-11 00:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-11 00:13:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 00:13:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134405164667764736,"km_value":134405164667764.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:13:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_35":206,"unknown_19":38144,"ignition":31,"odometer":null}} 
[2026-07-11 00:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":128864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:13:32] local.INFO: GPS data processed {"connection_id":128864,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:13:32] local.INFO: Acknowledgment sent {"connection_id":128864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:13:47] local.INFO: TCP Data received {"connection_id":127945,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:13:47] local.INFO: Processing buffer {"connection_id":127945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:13:47] local.INFO: IMEI packet received {"connection_id":127945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":127945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:13:47] local.INFO: TCP Data received {"connection_id":127944,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:13:47] local.INFO: Processing buffer {"connection_id":127944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:13:47] local.INFO: IMEI packet received {"connection_id":127944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":127944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:13:49] local.INFO: TCP Data received {"connection_id":127944,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:13:49] local.INFO: Processing buffer {"connection_id":127944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:13:49] local.INFO: IMEI packet received {"connection_id":127944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":127944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:13:51] local.INFO: TCP Data received {"connection_id":127944,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5778b00100000000000000000000000000..."} 
[2026-07-11 00:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5778b00100000000000000000000000000..."} 
[2026-07-11 00:13:51] local.INFO: Processing buffer {"connection_id":127944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5778b00100000000000000000000000000..."} 
[2026-07-11 00:13:51] local.INFO: Packet analysis {"connection_id":127944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:13:51] local.INFO: Extracted packet for processing {"connection_id":127944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:13:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 00:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629490432001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134405164667764736,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5720064135056418816,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783709006000,"timestamp_ms":1783709006000,"timestamp_seconds":1783709006,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5778b0"} 
[2026-07-11 00:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:13: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-07-11 00:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 00:13:51] 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-07-11 00:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":127944,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 00:13:51] local.INFO: GPS data processed {"connection_id":127944,"processed":0,"errors":0,"total":1} 
[2026-07-11 00:13:51] local.INFO: Acknowledgment sent {"connection_id":127944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:13:52] local.INFO: TCP Data received {"connection_id":127945,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:13:52] local.INFO: Processing buffer {"connection_id":127945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:13:52] local.INFO: IMEI packet received {"connection_id":127945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":127945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:13:53] local.INFO: TCP Data received {"connection_id":127945,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:13:53] local.INFO: Processing buffer {"connection_id":127945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:13:53] local.INFO: Packet analysis {"connection_id":127945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:13:53] local.INFO: Extracted packet for processing {"connection_id":127945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629421312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708978000,"timestamp_ms":1783708978000,"timestamp_seconds":1783708978,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d570b50"} 
[2026-07-11 00:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 00:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00: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-07-11 00:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:13:53] 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-07-11 00:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629421312001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629421312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:13:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629421312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":127945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:13:53] local.INFO: GPS data processed {"connection_id":127945,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:13:53] local.INFO: Acknowledgment sent {"connection_id":127945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:14:22] local.INFO: TCP Data received {"connection_id":127944,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d56ec10012d4f4740064eaa50000601472f..."} 
[2026-07-11 00:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d56ec10012d4f4740064eaa50000601472f..."} 
[2026-07-11 00:14:22] local.INFO: Processing buffer {"connection_id":127944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d56ec10012d4f4740064eaa50000601472f..."} 
[2026-07-11 00:14:22] local.INFO: Packet analysis {"connection_id":127944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:14:22] local.INFO: Extracted packet for processing {"connection_id":127944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:14:22] local.INFO: GPS Element Parsed {"raw_longitude":760170304,"raw_latitude":105818704,"longitude_deg":76.0170304,"latitude_deg":10.5818704,"altitude":6,"angle":327,"satellites":47,"speed":17,"hex_longitude":"2d4f4740","hex_latitude":"064eaa50","is_valid_coordinates":true} 
[2026-07-11 00:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134405164667764736,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 00:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783708970000,"timestamp_ms":1783708970000,"timestamp_seconds":1783708970,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d56ec10"} 
[2026-07-11 00:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:14: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-11 00:14: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-07-11 00:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27658,"35":206,"19":38144,"24":17,"16":134405164667764736},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16]} 
[2026-07-11 00:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-11 00:14:22] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 00:14:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134405164667764736,"km_value":134405164667764.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:14:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27658,"unknown_35":206,"unknown_19":38144,"ignition":17,"odometer":null}} 
[2026-07-11 00:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":127944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:14:22] local.INFO: GPS data processed {"connection_id":127944,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:14:22] local.INFO: Acknowledgment sent {"connection_id":127944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:14:24] local.INFO: TCP Data received {"connection_id":127945,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:14:24] local.INFO: Processing buffer {"connection_id":127945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:14:24] local.INFO: Packet analysis {"connection_id":127945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:14:24] local.INFO: Extracted packet for processing {"connection_id":127945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629421312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708978000,"timestamp_ms":1783708978000,"timestamp_seconds":1783708978,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d570b50"} 
[2026-07-11 00:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 00:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:14:24] 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-07-11 00:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629421312001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629421312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:14:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629421312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":127945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:14:24] local.INFO: GPS data processed {"connection_id":127945,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:14:24] local.INFO: Acknowledgment sent {"connection_id":127945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:14:47] local.INFO: TCP Data received {"connection_id":128158,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:14:47] local.INFO: Processing buffer {"connection_id":128158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:14:47] local.INFO: IMEI packet received {"connection_id":128158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":128158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:14:52] local.INFO: TCP Data received {"connection_id":128158,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:14:52] local.INFO: Processing buffer {"connection_id":128158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:14:52] local.INFO: IMEI packet received {"connection_id":128158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":128158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:14:52] local.INFO: TCP Data received {"connection_id":128866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:14:52] local.INFO: Processing buffer {"connection_id":128866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:14:52] local.INFO: IMEI packet received {"connection_id":128866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":128866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:14:54] local.INFO: TCP Data received {"connection_id":128158,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d57d2880100000000000000000000000000..."} 
[2026-07-11 00:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d57d2880100000000000000000000000000..."} 
[2026-07-11 00:14:54] local.INFO: Processing buffer {"connection_id":128158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d57d2880100000000000000000000000000..."} 
[2026-07-11 00:14:54] local.INFO: Packet analysis {"connection_id":128158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:14:54] local.INFO: Extracted packet for processing {"connection_id":128158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:14:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 00:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629496320001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134405164667764736,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5712605048176529408,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783709029000,"timestamp_ms":1783709029000,"timestamp_seconds":1783709029,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d57d288"} 
[2026-07-11 00:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 00:14:54] 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-07-11 00:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":128158,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 00:14:54] local.INFO: GPS data processed {"connection_id":128158,"processed":0,"errors":0,"total":1} 
[2026-07-11 00:14:54] local.INFO: Acknowledgment sent {"connection_id":128158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:14:57] local.INFO: TCP Data received {"connection_id":128866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:14:57] local.INFO: Processing buffer {"connection_id":128866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:14:57] local.INFO: IMEI packet received {"connection_id":128866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":128866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:14:58] local.INFO: TCP Data received {"connection_id":128866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:14:58] local.INFO: Processing buffer {"connection_id":128866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:14:58] local.INFO: Packet analysis {"connection_id":128866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:14:58] local.INFO: Extracted packet for processing {"connection_id":128866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629421312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783708978000,"timestamp_ms":1783708978000,"timestamp_seconds":1783708978,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d570b50"} 
[2026-07-11 00:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 00:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00: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-07-11 00:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":128866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":128866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":128866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:14:58] 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-07-11 00:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629421312001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629421312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:14:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629421312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":128866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:14:58] local.INFO: GPS data processed {"connection_id":128866,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:14:58] local.INFO: Acknowledgment sent {"connection_id":128866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:15:02] local.INFO: TCP Data received {"connection_id":128866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:15:02] local.INFO: Processing buffer {"connection_id":128866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:15:02] local.INFO: Packet analysis {"connection_id":128866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:15:02] local.INFO: Extracted packet for processing {"connection_id":128866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:15:02] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629421312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15: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-07-11 00:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783708978000,"timestamp_ms":1783708978000,"timestamp_seconds":1783708978,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d570b50"} 
[2026-07-11 00:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 00:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:15:02] 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-07-11 00:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629421312001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629421312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:15:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:15:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629421312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":128866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:15:02] local.INFO: GPS data processed {"connection_id":128866,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:15:02] local.INFO: Acknowledgment sent {"connection_id":128866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:15:25] local.INFO: TCP Data received {"connection_id":128158,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d587a80012d4e7cc0065025c80005014d31..."} 
[2026-07-11 00:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d587a80012d4e7cc0065025c80005014d31..."} 
[2026-07-11 00:15:25] local.INFO: Processing buffer {"connection_id":128158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d587a80012d4e7cc0065025c80005014d31..."} 
[2026-07-11 00:15:25] local.INFO: Packet analysis {"connection_id":128158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d58"} 
[2026-07-11 00:15:25] local.INFO: Extracted packet for processing {"connection_id":128158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d58"} 
[2026-07-11 00:15:25] local.INFO: GPS Element Parsed {"raw_longitude":760118464,"raw_latitude":105915848,"longitude_deg":76.0118464,"latitude_deg":10.5915848,"altitude":5,"angle":333,"satellites":49,"speed":59,"hex_longitude":"2d4e7cc0","hex_latitude":"065025c8","is_valid_coordinates":true} 
[2026-07-11 00:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629520896001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134409803232444416,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5659969227554445312,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783709072000,"timestamp_ms":1783709072000,"timestamp_seconds":1783709072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d587a80"} 
[2026-07-11 00:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:15: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-07-11 00:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 00:15:25] 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-07-11 00:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":128158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":128158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":128158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629520896001,"66":27843,"235":206,"19":38144,"24":59,"16":134409803232444416,"45":5659969227554445312},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-11 00:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629520896001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:15:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-11 00:15:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134409803232444416,"km_value":134409803232444.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5659969227554445312,"description":"Unknown IO ID 45"} 
[2026-07-11 00:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629520896001,"power":27843,"unknown_235":206,"unknown_19":38144,"ignition":59,"odometer":null,"unknown_45":5659969227554445312}} 
[2026-07-11 00:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":128158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:15:25] local.INFO: GPS data processed {"connection_id":128158,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:15:25] local.INFO: Acknowledgment sent {"connection_id":128158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:15:47] local.INFO: TCP Data received {"connection_id":128160,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:15:47] local.INFO: Processing buffer {"connection_id":128160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:15:47] local.INFO: IMEI packet received {"connection_id":128160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":128160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:15:47] local.INFO: TCP Data received {"connection_id":130115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:15:47] local.INFO: Processing buffer {"connection_id":130115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:15:47] local.INFO: IMEI packet received {"connection_id":130115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":130115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:15:52] local.INFO: TCP Data received {"connection_id":128160,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:15:52] local.INFO: Processing buffer {"connection_id":128160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:15:52] local.INFO: IMEI packet received {"connection_id":128160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":128160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:15:52] local.INFO: TCP Data received {"connection_id":130115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:15:52] local.INFO: Processing buffer {"connection_id":130115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:15:52] local.INFO: IMEI packet received {"connection_id":130115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":130115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:15:53] local.INFO: TCP Data received {"connection_id":128160,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:15:53] local.INFO: TCP Data received {"connection_id":130115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:15:53] local.INFO: Processing buffer {"connection_id":128160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:15:53] local.INFO: IMEI packet received {"connection_id":128160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":128160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:15:53] local.INFO: Processing buffer {"connection_id":130115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:15:53] local.INFO: Packet analysis {"connection_id":130115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:15:53] local.INFO: Extracted packet for processing {"connection_id":130115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629421312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783708978000,"timestamp_ms":1783708978000,"timestamp_seconds":1783708978,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d570b50"} 
[2026-07-11 00:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 00:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:15:53] 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-07-11 00:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629421312001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629421312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:15:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629421312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":130115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:15:53] local.INFO: GPS data processed {"connection_id":130115,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:15:53] local.INFO: Acknowledgment sent {"connection_id":130115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:15:54] local.INFO: TCP Data received {"connection_id":128160,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5891f0012d4e6d40065045100004014e31..."} 
[2026-07-11 00:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5891f0012d4e6d40065045100004014e31..."} 
[2026-07-11 00:15:54] local.INFO: Processing buffer {"connection_id":128160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5891f0012d4e6d40065045100004014e31..."} 
[2026-07-11 00:15:54] local.INFO: Packet analysis {"connection_id":128160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d58"} 
[2026-07-11 00:15:54] local.INFO: Extracted packet for processing {"connection_id":128160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d58"} 
[2026-07-11 00:15:54] local.INFO: GPS Element Parsed {"raw_longitude":760114496,"raw_latitude":105923856,"longitude_deg":76.0114496,"latitude_deg":10.5923856,"altitude":4,"angle":334,"satellites":49,"speed":58,"hex_longitude":"2d4e6d40","hex_latitude":"06504510","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629522432001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134410237024141312,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5655606365417490432,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783709078000,"timestamp_ms":1783709078000,"timestamp_seconds":1783709078,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5891f0"} 
[2026-07-11 00:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00: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":195,"data_length":795,"current_offset":136} 
[2026-07-11 00:15:54] 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-07-11 00: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-07-11 00:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629522432001,"66":27832,"235":206,"19":38144,"24":58,"16":134410237024141312,"45":5655606365417490432},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-11 00:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629522432001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:15:54] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-11 00:15:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134410237024141312,"km_value":134410237024141.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5655606365417490432,"description":"Unknown IO ID 45"} 
[2026-07-11 00:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629522432001,"power":27832,"unknown_235":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":5655606365417490432}} 
[2026-07-11 00:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":128160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:15:54] local.INFO: GPS data processed {"connection_id":128160,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:15:54] local.INFO: Acknowledgment sent {"connection_id":128160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:15:58] local.INFO: TCP Data received {"connection_id":128160,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d58ad48012d4e5d4006506a000004015132..."} 
[2026-07-11 00:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d58ad48012d4e5d4006506a000004015132..."} 
[2026-07-11 00:15:58] local.INFO: Processing buffer {"connection_id":128160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d58ad48012d4e5d4006506a000004015132..."} 
[2026-07-11 00:15:58] local.INFO: Packet analysis {"connection_id":128160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d58"} 
[2026-07-11 00:15:58] local.INFO: Extracted packet for processing {"connection_id":128160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d58"} 
[2026-07-11 00:15:58] local.INFO: GPS Element Parsed {"raw_longitude":760110400,"raw_latitude":105933312,"longitude_deg":76.01104,"latitude_deg":10.5933312,"altitude":4,"angle":337,"satellites":50,"speed":58,"hex_longitude":"2d4e5d40","hex_latitude":"06506a00","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629523968001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134410735240347648,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5651243503280525312,"note":"Value kept but may cause issues"} 
[2026-07-11 00:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783709085000,"timestamp_ms":1783709085000,"timestamp_seconds":1783709085,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d58ad48"} 
[2026-07-11 00:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-11 00:15:58] 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-07-11 00: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-07-11 00:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":128160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":128160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":128160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629523968001,"66":27908,"235":206,"19":38144,"24":58,"16":134410735240347648,"45":5651243503280525312},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-11 00:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629523968001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:15:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-11 00:15:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134410735240347648,"km_value":134410735240347.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5651243503280525312,"description":"Unknown IO ID 45"} 
[2026-07-11 00:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629523968001,"power":27908,"unknown_235":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":5651243503280525312}} 
[2026-07-11 00:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":128160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:15:58] local.INFO: GPS data processed {"connection_id":128160,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:15:58] local.INFO: Acknowledgment sent {"connection_id":128160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:16:24] local.INFO: TCP Data received {"connection_id":130115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:16:24] local.INFO: Processing buffer {"connection_id":130115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:16:24] local.INFO: Packet analysis {"connection_id":130115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:16:24] local.INFO: Extracted packet for processing {"connection_id":130115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629421312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783708978000,"timestamp_ms":1783708978000,"timestamp_seconds":1783708978,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d570b50"} 
[2026-07-11 00:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 00:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:16:24] 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-07-11 00:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629421312001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629421312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:16:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629421312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":130115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:16:24] local.INFO: GPS data processed {"connection_id":130115,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:16:24] local.INFO: Acknowledgment sent {"connection_id":130115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:16:47] local.INFO: TCP Data received {"connection_id":128867,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:16:47] local.INFO: Processing buffer {"connection_id":128867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:16:47] local.INFO: IMEI packet received {"connection_id":128867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 00:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":128867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:16:52] local.INFO: TCP Data received {"connection_id":128867,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:16:52] local.INFO: Processing buffer {"connection_id":128867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 00:16:52] local.INFO: IMEI packet received {"connection_id":128867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 00:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":128867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:16:54] local.INFO: TCP Data received {"connection_id":128867,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:16:54] local.INFO: Processing buffer {"connection_id":128867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:16:54] local.INFO: Packet analysis {"connection_id":128867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:16:54] local.INFO: Extracted packet for processing {"connection_id":128867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629421312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783708978000,"timestamp_ms":1783708978000,"timestamp_seconds":1783708978,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d570b50"} 
[2026-07-11 00:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 00:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:16:54] 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-07-11 00:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629421312001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629421312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:16:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629421312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":128867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:16:55] local.INFO: GPS data processed {"connection_id":128867,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:16:55] local.INFO: Acknowledgment sent {"connection_id":128867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:17:04] local.INFO: TCP Data received {"connection_id":128160,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d58c8a0012d4e4dc006508f28000301512f..."} 
[2026-07-11 00:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d58c8a0012d4e4dc006508f28000301512f..."} 
[2026-07-11 00:17:04] local.INFO: Processing buffer {"connection_id":128160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d58c8a0012d4e4dc006508f28000301512f..."} 
[2026-07-11 00:17:04] local.INFO: Packet analysis {"connection_id":128160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d58"} 
[2026-07-11 00:17:04] local.INFO: Extracted packet for processing {"connection_id":128160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d58"} 
[2026-07-11 00:17:04] local.INFO: GPS Element Parsed {"raw_longitude":760106432,"raw_latitude":105942824,"longitude_deg":76.0106432,"latitude_deg":10.5942824,"altitude":3,"angle":337,"satellites":47,"speed":58,"hex_longitude":"2d4e4dc0","hex_latitude":"06508f28","is_valid_coordinates":true} 
[2026-07-11 00:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629525760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134411233456553984,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5646739903655575552,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783709092000,"timestamp_ms":1783709092000,"timestamp_seconds":1783709092,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d58c8a0"} 
[2026-07-11 00:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 00:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":128160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":128160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":128160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629525760001,"66":27995,"235":206,"19":38144,"24":58,"16":134411233456553984,"45":5646739903655575552},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-11 00:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629525760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:17:04] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-11 00:17:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134411233456553984,"km_value":134411233456553.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5646739903655575552,"description":"Unknown IO ID 45"} 
[2026-07-11 00:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629525760001,"power":27995,"unknown_235":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":5646739903655575552}} 
[2026-07-11 00:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":128160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:17:04] local.INFO: GPS data processed {"connection_id":128160,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:17:04] local.INFO: Acknowledgment sent {"connection_id":128160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:17:06] local.INFO: TCP Data received {"connection_id":127947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:17:06] local.INFO: Processing buffer {"connection_id":127947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:17:06] local.INFO: IMEI packet received {"connection_id":127947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":127947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:17:11] local.INFO: TCP Data received {"connection_id":127947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:17:11] local.INFO: Processing buffer {"connection_id":127947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:17:11] local.INFO: IMEI packet received {"connection_id":127947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":127947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:17:11] local.INFO: TCP Data received {"connection_id":127947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d56b178012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d56b178012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:17:11] local.INFO: Processing buffer {"connection_id":127947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d56b178012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:17:11] local.INFO: Packet analysis {"connection_id":127947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:17:11] local.INFO: Extracted packet for processing {"connection_id":127947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629415424001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783708955000,"timestamp_ms":1783708955000,"timestamp_seconds":1783708955,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d56b178"} 
[2026-07-11 00:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 00:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629415424001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629415424001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629415424001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":127947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:17:11] local.INFO: GPS data processed {"connection_id":127947,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:17:11] local.INFO: Acknowledgment sent {"connection_id":127947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:17:21] local.INFO: TCP Data received {"connection_id":127948,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:21] local.INFO: Processing buffer {"connection_id":127948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:21] local.INFO: IMEI packet received {"connection_id":127948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":127948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:17:25] local.INFO: TCP Data received {"connection_id":127948,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:25] local.INFO: Processing buffer {"connection_id":127948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:25] local.INFO: IMEI packet received {"connection_id":127948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":127948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:17:26] local.INFO: TCP Data received {"connection_id":128867,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:17:26] local.INFO: Processing buffer {"connection_id":128867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d570b50012d196500071ff058003e013e2c..."} 
[2026-07-11 00:17:26] local.INFO: Packet analysis {"connection_id":128867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:17:26] local.INFO: Extracted packet for processing {"connection_id":128867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d57"} 
[2026-07-11 00:17:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":318,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-07-11 00:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629421312001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783708978000,"timestamp_ms":1783708978000,"timestamp_seconds":1783708978,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d570b50"} 
[2026-07-11 00:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 00:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":128867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":128867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":128867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 00:17:26] 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-07-11 00:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 00:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 00:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629421312001,"66":2155,"102":206,"83":41984,"24":0,"16":5528911400140800,"45":1829868854196590592},"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-07-11 00:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 00:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 00:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629421312001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:17:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 00:17:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 00:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5528911400140800,"km_value":5528911400140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-07-11 00:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629421312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-07-11 00:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":128867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:17:26] local.INFO: GPS data processed {"connection_id":128867,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:17:26] local.INFO: Acknowledgment sent {"connection_id":128867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:17:27] local.INFO: TCP Data received {"connection_id":127948,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:27] local.INFO: Processing buffer {"connection_id":127948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:27] local.INFO: IMEI packet received {"connection_id":127948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":127948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:17:29] local.INFO: TCP Data received {"connection_id":127948,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d59e9b0012d4da540065216700008014b2f..."} 
[2026-07-11 00:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d59e9b0012d4da540065216700008014b2f..."} 
[2026-07-11 00:17:29] local.INFO: Processing buffer {"connection_id":127948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d59e9b0012d4da540065216700008014b2f..."} 
[2026-07-11 00:17:29] local.INFO: Packet analysis {"connection_id":127948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d59"} 
[2026-07-11 00:17:29] local.INFO: Extracted packet for processing {"connection_id":127948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d59"} 
[2026-07-11 00:17:29] local.INFO: GPS Element Parsed {"raw_longitude":760063296,"raw_latitude":106042992,"longitude_deg":76.0063296,"latitude_deg":10.6042992,"altitude":8,"angle":331,"satellites":47,"speed":59,"hex_longitude":"2d4da540","hex_latitude":"06521670","is_valid_coordinates":true} 
[2026-07-11 00:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629544960001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134416507676393472,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5599592845082558464,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783709166000,"timestamp_ms":1783709166000,"timestamp_seconds":1783709166,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d59e9b0"} 
[2026-07-11 00:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 00:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":127948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":127948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":127948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629544960001,"66":27984,"235":206,"19":38144,"24":59,"16":134416507676393472,"45":5599592845082558464},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-11 00:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629544960001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:17:29] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-11 00:17:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134416507676393472,"km_value":134416507676393.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5599592845082558464,"description":"Unknown IO ID 45"} 
[2026-07-11 00:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629544960001,"power":27984,"unknown_235":206,"unknown_19":38144,"ignition":59,"odometer":null,"unknown_45":5599592845082558464}} 
[2026-07-11 00:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":127948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:17:29] local.INFO: GPS data processed {"connection_id":127948,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:17:29] local.INFO: Acknowledgment sent {"connection_id":127948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:17:43] local.INFO: TCP Data received {"connection_id":127947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d56b178012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d56b178012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:17:43] local.INFO: Processing buffer {"connection_id":127947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d56b178012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:17:43] local.INFO: Packet analysis {"connection_id":127947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:17:43] local.INFO: Extracted packet for processing {"connection_id":127947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:17:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629415424001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783708955000,"timestamp_ms":1783708955000,"timestamp_seconds":1783708955,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d56b178"} 
[2026-07-11 00:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 00:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629415424001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629415424001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:17:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629415424001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":127947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:17:43] local.INFO: GPS data processed {"connection_id":127947,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:17:43] local.INFO: Acknowledgment sent {"connection_id":127947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:17:53] local.INFO: TCP Data received {"connection_id":128868,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:53] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:53] local.INFO: IMEI packet received {"connection_id":128868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":128868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:17:57] local.INFO: TCP Data received {"connection_id":128868,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:57] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:17:57] local.INFO: IMEI packet received {"connection_id":128868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":128868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:18:00] local.INFO: TCP Data received {"connection_id":128868,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:00] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:00] local.INFO: IMEI packet received {"connection_id":128868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":128868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:18:01] local.INFO: TCP Data received {"connection_id":128868,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5a0120012d4d94c0065235600007014b31..."} 
[2026-07-11 00:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5a0120012d4d94c0065235600007014b31..."} 
[2026-07-11 00:18:01] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5a0120012d4d94c0065235600007014b31..."} 
[2026-07-11 00:18:01] local.INFO: Packet analysis {"connection_id":128868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5a"} 
[2026-07-11 00:18:01] local.INFO: Extracted packet for processing {"connection_id":128868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5a"} 
[2026-07-11 00:18:01] local.INFO: GPS Element Parsed {"raw_longitude":760059072,"raw_latitude":106050912,"longitude_deg":76.0059072,"latitude_deg":10.6050912,"altitude":7,"angle":331,"satellites":49,"speed":59,"hex_longitude":"2d4d94c0","hex_latitude":"06523560","is_valid_coordinates":true} 
[2026-07-11 00:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629546496001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134416941468090368,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5594948507968892928,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783709172000,"timestamp_ms":1783709172000,"timestamp_seconds":1783709172,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5a0120"} 
[2026-07-11 00:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-11 00:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629546496001,"66":27887,"235":206,"19":38144,"24":59,"16":134416941468090368,"45":5594948507968892928},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-11 00:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629546496001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:18:01] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-11 00:18:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134416941468090368,"km_value":134416941468090.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5594948507968892928,"description":"Unknown IO ID 45"} 
[2026-07-11 00:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629546496001,"power":27887,"unknown_235":206,"unknown_19":38144,"ignition":59,"odometer":null,"unknown_45":5594948507968892928}} 
[2026-07-11 00:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":128868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:18:01] local.INFO: GPS data processed {"connection_id":128868,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:18:01] local.INFO: Acknowledgment sent {"connection_id":128868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:18:02] local.INFO: TCP Data received {"connection_id":128868,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5a1890012d4d8400065254680007014b31..."} 
[2026-07-11 00:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5a1890012d4d8400065254680007014b31..."} 
[2026-07-11 00:18:02] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5a1890012d4d8400065254680007014b31..."} 
[2026-07-11 00:18:02] local.INFO: Packet analysis {"connection_id":128868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5a"} 
[2026-07-11 00:18:02] local.INFO: Extracted packet for processing {"connection_id":128868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5a"} 
[2026-07-11 00:18:02] local.INFO: GPS Element Parsed {"raw_longitude":760054784,"raw_latitude":106058856,"longitude_deg":76.0054784,"latitude_deg":10.6058856,"altitude":7,"angle":331,"satellites":49,"speed":59,"hex_longitude":"2d4d8400","hex_latitude":"06525468","is_valid_coordinates":true} 
[2026-07-11 00:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629548032001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134417379554754560,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5590304170855194624,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783709178000,"timestamp_ms":1783709178000,"timestamp_seconds":1783709178,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5a1890"} 
[2026-07-11 00:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 00:18:02] 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-07-11 00:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629548032001,"66":27887,"235":206,"19":38144,"24":59,"16":134417379554754560,"45":5590304170855194624},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-11 00:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629548032001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:18:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-11 00:18:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134417379554754560,"km_value":134417379554754.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5590304170855194624,"description":"Unknown IO ID 45"} 
[2026-07-11 00:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629548032001,"power":27887,"unknown_235":206,"unknown_19":38144,"ignition":59,"odometer":null,"unknown_45":5590304170855194624}} 
[2026-07-11 00:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":128868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:18:02] local.INFO: GPS data processed {"connection_id":128868,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:18:02] local.INFO: Acknowledgment sent {"connection_id":128868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:18:06] local.INFO: TCP Data received {"connection_id":128869,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:18:06] local.INFO: Processing buffer {"connection_id":128869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:18:06] local.INFO: IMEI packet received {"connection_id":128869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":128869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:18:08] local.INFO: TCP Data received {"connection_id":128868,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5a3000012d4d7340065273600005014c31..."} 
[2026-07-11 00:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5a3000012d4d7340065273600005014c31..."} 
[2026-07-11 00:18:08] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5a3000012d4d7340065273600005014c31..."} 
[2026-07-11 00:18:08] local.INFO: Packet analysis {"connection_id":128868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5a"} 
[2026-07-11 00:18:08] local.INFO: Extracted packet for processing {"connection_id":128868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5a"} 
[2026-07-11 00:18:08] local.INFO: GPS Element Parsed {"raw_longitude":760050496,"raw_latitude":106066784,"longitude_deg":76.0050496,"latitude_deg":10.6066784,"altitude":5,"angle":332,"satellites":49,"speed":60,"hex_longitude":"2d4d7340","hex_latitude":"06527360","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629549568001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134417813346451456,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5585589464997324800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783709184000,"timestamp_ms":1783709184000,"timestamp_seconds":1783709184,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5a3000"} 
[2026-07-11 00:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 00:18:08] 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-07-11 00: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-07-11 00:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629549568001,"66":27995,"235":206,"19":38144,"24":60,"16":134417813346451456,"45":5585589464997324800},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-11 00:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629549568001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:18:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-11 00:18:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-11 00:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134417813346451456,"km_value":134417813346451.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5585589464997324800,"description":"Unknown IO ID 45"} 
[2026-07-11 00:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629549568001,"power":27995,"unknown_235":206,"unknown_19":38144,"ignition":60,"odometer":null,"unknown_45":5585589464997324800}} 
[2026-07-11 00:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":128868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:18:08] local.INFO: GPS data processed {"connection_id":128868,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:18:08] local.INFO: Acknowledgment sent {"connection_id":128868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:18:11] local.INFO: TCP Data received {"connection_id":128869,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:18:11] local.INFO: Processing buffer {"connection_id":128869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:18:11] local.INFO: IMEI packet received {"connection_id":128869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":128869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:18:11] local.INFO: TCP Data received {"connection_id":128869,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d56b178012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d56b178012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:18:11] local.INFO: Processing buffer {"connection_id":128869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d56b178012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:18:11] local.INFO: Packet analysis {"connection_id":128869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:18:11] local.INFO: Extracted packet for processing {"connection_id":128869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d56"} 
[2026-07-11 00:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629415424001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783708955000,"timestamp_ms":1783708955000,"timestamp_seconds":1783708955,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d56b178"} 
[2026-07-11 00:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 00:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629415424001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629415424001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629415424001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":128869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:18:11] local.INFO: GPS data processed {"connection_id":128869,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:18:11] local.INFO: Acknowledgment sent {"connection_id":128869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:18:42] local.INFO: TCP Data received {"connection_id":128869,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:18:42] local.INFO: Processing buffer {"connection_id":128869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:18:42] local.INFO: Packet analysis {"connection_id":128869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:18:42] local.INFO: Extracted packet for processing {"connection_id":128869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:18:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":128869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:18:43] local.INFO: GPS data processed {"connection_id":128869,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:18:43] local.INFO: Acknowledgment sent {"connection_id":128869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:18:45] local.INFO: TCP Data received {"connection_id":127949,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:45] local.INFO: Processing buffer {"connection_id":127949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:45] local.INFO: IMEI packet received {"connection_id":127949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":127949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:18:47] local.INFO: TCP Data received {"connection_id":127949,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:47] local.INFO: Processing buffer {"connection_id":127949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:47] local.INFO: IMEI packet received {"connection_id":127949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":127949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:18:51] local.INFO: TCP Data received {"connection_id":127949,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:51] local.INFO: Processing buffer {"connection_id":127949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:18:51] local.INFO: IMEI packet received {"connection_id":127949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":127949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:18:53] local.INFO: TCP Data received {"connection_id":127949,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012d4c96800653cc10000b014e2f..."} 
[2026-07-11 00:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012d4c96800653cc10000b014e2f..."} 
[2026-07-11 00:18:53] local.INFO: Processing buffer {"connection_id":127949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012d4c96800653cc10000b014e2f..."} 
[2026-07-11 00:18:53] local.INFO: Packet analysis {"connection_id":127949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:18:53] local.INFO: Extracted packet for processing {"connection_id":127949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:18:53] local.INFO: GPS Element Parsed {"raw_longitude":759993984,"raw_latitude":106155024,"longitude_deg":75.9993984,"latitude_deg":10.6155024,"altitude":11,"angle":334,"satellites":47,"speed":54,"hex_longitude":"2d4c9680","hex_latitude":"0653cc10","is_valid_coordinates":true} 
[2026-07-11 00:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629567744001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134422881407860736,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5524087182608560128,"note":"Value kept but may cause issues"} 
[2026-07-11 00:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:18: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-07-11 00:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-11 00:18:53] 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-07-11 00:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629567744001,"66":27952,"135":206,"28":31488,"24":54,"16":134422881407860736,"45":5524087182608560128},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-07-11 00:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629567744001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:18:53] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-11 00:18:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134422881407860736,"km_value":134422881407860.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5524087182608560128,"description":"Unknown IO ID 45"} 
[2026-07-11 00:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629567744001,"power":27952,"unknown_135":206,"unknown_28":31488,"ignition":54,"odometer":null,"unknown_45":5524087182608560128}} 
[2026-07-11 00:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":127949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:18:53] local.INFO: GPS data processed {"connection_id":127949,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:18:53] local.INFO: Acknowledgment sent {"connection_id":127949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:19:11] local.INFO: TCP Data received {"connection_id":128161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:19:11] local.INFO: Processing buffer {"connection_id":128161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:19:11] local.INFO: IMEI packet received {"connection_id":128161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":128161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:19:16] local.INFO: TCP Data received {"connection_id":128161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:19:16] local.INFO: Processing buffer {"connection_id":128161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:19:16] local.INFO: IMEI packet received {"connection_id":128161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":128161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:19:17] local.INFO: TCP Data received {"connection_id":128161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:19:17] local.INFO: Processing buffer {"connection_id":128161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:19:17] local.INFO: Packet analysis {"connection_id":128161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:19:17] local.INFO: Extracted packet for processing {"connection_id":128161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:19:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:19:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":128161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:19:17] local.INFO: GPS data processed {"connection_id":128161,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:19:17] local.INFO: Acknowledgment sent {"connection_id":128161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:19:21] local.INFO: TCP Data received {"connection_id":128161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:19:21] local.INFO: Processing buffer {"connection_id":128161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:19:21] local.INFO: Packet analysis {"connection_id":128161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:19:21] local.INFO: Extracted packet for processing {"connection_id":128161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:19:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":128161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:19:21] local.INFO: GPS data processed {"connection_id":128161,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:19:21] local.INFO: Acknowledgment sent {"connection_id":128161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:19:24] local.INFO: TCP Data received {"connection_id":127949,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b6498012d4c87000653ef58000b015130..."} 
[2026-07-11 00:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b6498012d4c87000653ef58000b015130..."} 
[2026-07-11 00:19:24] local.INFO: Processing buffer {"connection_id":127949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b6498012d4c87000653ef58000b015130..."} 
[2026-07-11 00:19:24] local.INFO: Packet analysis {"connection_id":127949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:19:24] local.INFO: Extracted packet for processing {"connection_id":127949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:19:24] local.INFO: GPS Element Parsed {"raw_longitude":759990016,"raw_latitude":106164056,"longitude_deg":75.9990016,"latitude_deg":10.6164056,"altitude":11,"angle":337,"satellites":48,"speed":58,"hex_longitude":"2d4c8700","hex_latitude":"0653ef58","is_valid_coordinates":true} 
[2026-07-11 00:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134423358149230592,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5518739158053163008,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783709263000,"timestamp_ms":1783709263000,"timestamp_seconds":1783709263,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b6498"} 
[2026-07-11 00:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:19: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-07-11 00:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-11 00:19: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-07-11 00:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":27941,"135":206,"28":31488,"24":58,"16":134423358149230592,"45":5518739158053163008},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-07-11 00:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:19:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-11 00:19:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134423358149230592,"km_value":134423358149230.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5518739158053163008,"description":"Unknown IO ID 45"} 
[2026-07-11 00:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":27941,"unknown_135":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5518739158053163008}} 
[2026-07-11 00:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":127949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:19:24] local.INFO: GPS data processed {"connection_id":127949,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:19:24] local.INFO: Acknowledgment sent {"connection_id":127949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:19:45] local.INFO: TCP Data received {"connection_id":128162,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:19:45] local.INFO: Processing buffer {"connection_id":128162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:19:45] local.INFO: IMEI packet received {"connection_id":128162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":128162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:19:47] local.INFO: TCP Data received {"connection_id":128162,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:19:47] local.INFO: Processing buffer {"connection_id":128162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:19:47] local.INFO: IMEI packet received {"connection_id":128162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":128162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:19:52] local.INFO: TCP Data received {"connection_id":128162,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:19:52] local.INFO: Processing buffer {"connection_id":128162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:19:52] local.INFO: IMEI packet received {"connection_id":128162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":128162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:19:54] local.INFO: TCP Data received {"connection_id":128162,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5c7608012d4bb78006554b400005014b2f..."} 
[2026-07-11 00:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5c7608012d4bb78006554b400005014b2f..."} 
[2026-07-11 00:19:54] local.INFO: Processing buffer {"connection_id":128162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5c7608012d4bb78006554b400005014b2f..."} 
[2026-07-11 00:19:54] local.INFO: Packet analysis {"connection_id":128162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5c"} 
[2026-07-11 00:19:54] local.INFO: Extracted packet for processing {"connection_id":128162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5c"} 
[2026-07-11 00:19:54] local.INFO: GPS Element Parsed {"raw_longitude":759936896,"raw_latitude":106253120,"longitude_deg":75.9936896,"latitude_deg":10.625312,"altitude":5,"angle":331,"satellites":47,"speed":58,"hex_longitude":"2d4bb780","hex_latitude":"06554b40","is_valid_coordinates":true} 
[2026-07-11 00:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629587456001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134428387555934208,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5461459000315316224,"note":"Value kept but may cause issues"} 
[2026-07-11 00:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783709333000,"timestamp_ms":1783709333000,"timestamp_seconds":1783709333,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5c7608"} 
[2026-07-11 00:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-11 00:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629587456001,"66":27974,"77":206,"28":31488,"24":58,"16":134428387555934208,"45":5461459000315316224},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-07-11 00:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629587456001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:19:54] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-11 00:19:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134428387555934208,"km_value":134428387555934.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5461459000315316224,"description":"Unknown IO ID 45"} 
[2026-07-11 00:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629587456001,"power":27974,"unknown_77":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5461459000315316224}} 
[2026-07-11 00:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":128162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468357,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:19:54] local.INFO: GPS data processed {"connection_id":128162,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:19:54] local.INFO: Acknowledgment sent {"connection_id":128162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:20:06] local.INFO: TCP Data received {"connection_id":128163,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:20:06] local.INFO: Processing buffer {"connection_id":128163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:20:06] local.INFO: IMEI packet received {"connection_id":128163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":128163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:20:10] local.INFO: TCP Data received {"connection_id":128163,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:20:10] local.INFO: Processing buffer {"connection_id":128163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:20:10] local.INFO: IMEI packet received {"connection_id":128163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":128163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:20:11] local.INFO: TCP Data received {"connection_id":128163,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:20:11] local.INFO: Processing buffer {"connection_id":128163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:20:11] local.INFO: Packet analysis {"connection_id":128163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:20:11] local.INFO: Extracted packet for processing {"connection_id":128163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:20:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:20:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":128163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:20:11] local.INFO: GPS data processed {"connection_id":128163,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:20:11] local.INFO: Acknowledgment sent {"connection_id":128163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:20:26] local.INFO: TCP Data received {"connection_id":128162,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5c9160012d4ba48006556ed00005014b30..."} 
[2026-07-11 00:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5c9160012d4ba48006556ed00005014b30..."} 
[2026-07-11 00:20:26] local.INFO: Processing buffer {"connection_id":128162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5c9160012d4ba48006556ed00005014b30..."} 
[2026-07-11 00:20:26] local.INFO: Packet analysis {"connection_id":128162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5c"} 
[2026-07-11 00:20:26] local.INFO: Extracted packet for processing {"connection_id":128162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5c"} 
[2026-07-11 00:20:26] local.INFO: GPS Element Parsed {"raw_longitude":759932032,"raw_latitude":106262224,"longitude_deg":75.9932032,"latitude_deg":10.6262224,"altitude":5,"angle":331,"satellites":48,"speed":58,"hex_longitude":"2d4ba480","hex_latitude":"06556ed0","is_valid_coordinates":true} 
[2026-07-11 00:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629589248001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134428890067107840,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5455970238271799296,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783709340000,"timestamp_ms":1783709340000,"timestamp_seconds":1783709340,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5c9160"} 
[2026-07-11 00:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:20: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-07-11 00:20: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-07-11 00:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":128162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":128162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":128162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629589248001,"66":27800,"77":206,"28":31488,"24":58,"16":134428890067107840,"45":5455970238271799296},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-07-11 00:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629589248001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:20:26] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-11 00:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134428890067107840,"km_value":134428890067107.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5455970238271799296,"description":"Unknown IO ID 45"} 
[2026-07-11 00:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629589248001,"power":27800,"unknown_77":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5455970238271799296}} 
[2026-07-11 00:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":128162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468359,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:20:26] local.INFO: GPS data processed {"connection_id":128162,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:20:26] local.INFO: Acknowledgment sent {"connection_id":128162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:20:45] local.INFO: TCP Data received {"connection_id":128163,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:20:45] local.INFO: Processing buffer {"connection_id":128163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:20:45] local.INFO: Packet analysis {"connection_id":128163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:20:45] local.INFO: Extracted packet for processing {"connection_id":128163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:20:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:20:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:20:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":128163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:20:45] local.INFO: GPS data processed {"connection_id":128163,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:20:45] local.INFO: Acknowledgment sent {"connection_id":128163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:20:47] local.INFO: TCP Data received {"connection_id":127950,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:20:47] local.INFO: Processing buffer {"connection_id":127950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:20:47] local.INFO: IMEI packet received {"connection_id":127950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":127950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:20:48] local.INFO: TCP Data received {"connection_id":127950,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:20:48] local.INFO: Processing buffer {"connection_id":127950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:20:48] local.INFO: IMEI packet received {"connection_id":127950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":127950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:20:52] local.INFO: TCP Data received {"connection_id":127950,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:20:52] local.INFO: Processing buffer {"connection_id":127950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:20:52] local.INFO: IMEI packet received {"connection_id":127950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":127950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:20:54] local.INFO: TCP Data received {"connection_id":127950,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5cacb8012d4b90c0065592500005014b30..."} 
[2026-07-11 00:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5cacb8012d4b90c0065592500005014b30..."} 
[2026-07-11 00:20:54] local.INFO: Processing buffer {"connection_id":127950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5cacb8012d4b90c0065592500005014b30..."} 
[2026-07-11 00:20:54] local.INFO: Packet analysis {"connection_id":127950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5c"} 
[2026-07-11 00:20:54] local.INFO: Extracted packet for processing {"connection_id":127950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5c"} 
[2026-07-11 00:20:54] local.INFO: GPS Element Parsed {"raw_longitude":759926976,"raw_latitude":106271312,"longitude_deg":75.9926976,"latitude_deg":10.6271312,"altitude":5,"angle":331,"satellites":48,"speed":58,"hex_longitude":"2d4b90c0","hex_latitude":"06559250","is_valid_coordinates":true} 
[2026-07-11 00:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629591040001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134429388283314176,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5450622213716627456,"note":"Value kept but may cause issues"} 
[2026-07-11 00:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783709347000,"timestamp_ms":1783709347000,"timestamp_seconds":1783709347,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5cacb8"} 
[2026-07-11 00:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 00:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629591040001,"66":27767,"77":206,"28":31488,"24":58,"16":134429388283314176,"45":5450622213716627456},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-07-11 00:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629591040001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:20:54] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-11 00:20:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134429388283314176,"km_value":134429388283314.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5450622213716627456,"description":"Unknown IO ID 45"} 
[2026-07-11 00:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629591040001,"power":27767,"unknown_77":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5450622213716627456}} 
[2026-07-11 00:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":127950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:20:54] local.INFO: GPS data processed {"connection_id":127950,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:20:54] local.INFO: Acknowledgment sent {"connection_id":127950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:21:06] local.INFO: TCP Data received {"connection_id":128870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:21:06] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:21:06] local.INFO: IMEI packet received {"connection_id":128870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":128870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:21:11] local.INFO: TCP Data received {"connection_id":128870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:21:11] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:21:11] local.INFO: IMEI packet received {"connection_id":128870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":128870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:21:12] local.INFO: TCP Data received {"connection_id":128870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:21:12] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:21:12] local.INFO: Packet analysis {"connection_id":128870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:21:12] local.INFO: Extracted packet for processing {"connection_id":128870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:21:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":128870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:21:12] local.INFO: GPS data processed {"connection_id":128870,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:21:12] local.INFO: Acknowledgment sent {"connection_id":128870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:21:25] local.INFO: TCP Data received {"connection_id":127950,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5ded08012d4ad440065743880009014d2f..."} 
[2026-07-11 00:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5ded08012d4ad440065743880009014d2f..."} 
[2026-07-11 00:21:25] local.INFO: Processing buffer {"connection_id":127950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5ded08012d4ad440065743880009014d2f..."} 
[2026-07-11 00:21:25] local.INFO: Packet analysis {"connection_id":127950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5d"} 
[2026-07-11 00:21:25] local.INFO: Extracted packet for processing {"connection_id":127950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5d"} 
[2026-07-11 00:21:25] local.INFO: GPS Element Parsed {"raw_longitude":759878720,"raw_latitude":106382216,"longitude_deg":75.987872,"latitude_deg":10.6382216,"altitude":9,"angle":333,"satellites":47,"speed":59,"hex_longitude":"2d4ad440","hex_latitude":"06574388","is_valid_coordinates":true} 
[2026-07-11 00:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629612288001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134435263798575104,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5396438280728457216,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783709429000,"timestamp_ms":1783709429000,"timestamp_seconds":1783709429,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5ded08"} 
[2026-07-11 00:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 00:21:25] 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-07-11 00:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629612288001,"66":27876,"76":206,"28":31488,"24":59,"16":134435263798575104,"45":5396438280728457216},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-11 00:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629612288001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:21:25] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-11 00:21:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134435263798575104,"km_value":134435263798575.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5396438280728457216,"description":"Unknown IO ID 45"} 
[2026-07-11 00:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629612288001,"power":27876,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5396438280728457216}} 
[2026-07-11 00:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":127950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:21:25] local.INFO: GPS data processed {"connection_id":127950,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:21:25] local.INFO: Acknowledgment sent {"connection_id":127950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:21:45] local.INFO: TCP Data received {"connection_id":128870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:21:45] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:21:45] local.INFO: Packet analysis {"connection_id":128870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:21:45] local.INFO: Extracted packet for processing {"connection_id":128870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:21:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00: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-07-11 00:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:21:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:21:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":128870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:21:45] local.INFO: GPS data processed {"connection_id":128870,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:21:45] local.INFO: Acknowledgment sent {"connection_id":128870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:21:47] local.INFO: TCP Data received {"connection_id":127951,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:21:47] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:21:47] local.INFO: IMEI packet received {"connection_id":127951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":127951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:21:51] local.INFO: TCP Data received {"connection_id":127951,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:21:51] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:21:51] local.INFO: IMEI packet received {"connection_id":127951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":127951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:21:52] local.INFO: TCP Data received {"connection_id":127951,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:21:52] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:21:52] local.INFO: IMEI packet received {"connection_id":127951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":127951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:21:55] local.INFO: TCP Data received {"connection_id":127951,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5e0478012d4ac440065762e00009014d30..."} 
[2026-07-11 00:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5e0478012d4ac440065762e00009014d30..."} 
[2026-07-11 00:21:55] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5e0478012d4ac440065762e00009014d30..."} 
[2026-07-11 00:21:55] local.INFO: Packet analysis {"connection_id":127951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5e"} 
[2026-07-11 00:21:55] local.INFO: Extracted packet for processing {"connection_id":127951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5e"} 
[2026-07-11 00:21:55] local.INFO: GPS Element Parsed {"raw_longitude":759874624,"raw_latitude":106390240,"longitude_deg":75.9874624,"latitude_deg":10.639024,"altitude":9,"angle":333,"satellites":48,"speed":59,"hex_longitude":"2d4ac440","hex_latitude":"065762e0","is_valid_coordinates":true} 
[2026-07-11 00:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629613824001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134435697590272000,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5392005049847351296,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783709435000,"timestamp_ms":1783709435000,"timestamp_seconds":1783709435,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5e0478"} 
[2026-07-11 00:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 00:21:55] 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-07-11 00:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629613824001,"66":27832,"76":206,"28":31488,"24":59,"16":134435697590272000,"45":5392005049847351296},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-11 00:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629613824001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:21:55] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-11 00:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134435697590272000,"km_value":134435697590272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5392005049847351296,"description":"Unknown IO ID 45"} 
[2026-07-11 00:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629613824001,"power":27832,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5392005049847351296}} 
[2026-07-11 00:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":127951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:21:55] local.INFO: GPS data processed {"connection_id":127951,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:21:55] local.INFO: Acknowledgment sent {"connection_id":127951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:21:58] local.INFO: TCP Data received {"connection_id":127951,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5e1be8012d4ab480065782480007014d31..."} 
[2026-07-11 00:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5e1be8012d4ab480065782480007014d31..."} 
[2026-07-11 00:21:58] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5e1be8012d4ab480065782480007014d31..."} 
[2026-07-11 00:21:58] local.INFO: Packet analysis {"connection_id":127951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5e"} 
[2026-07-11 00:21:58] local.INFO: Extracted packet for processing {"connection_id":127951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5e"} 
[2026-07-11 00:21:58] local.INFO: GPS Element Parsed {"raw_longitude":759870592,"raw_latitude":106398280,"longitude_deg":75.9870592,"latitude_deg":10.639828,"altitude":7,"angle":333,"satellites":49,"speed":59,"hex_longitude":"2d4ab480","hex_latitude":"06578248","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629615360001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134436135676936192,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5387501450222034944,"note":"Value kept but may cause issues"} 
[2026-07-11 00:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783709441000,"timestamp_ms":1783709441000,"timestamp_seconds":1783709441,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5e1be8"} 
[2026-07-11 00:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-11 00:21:58] 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-07-11 00: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-07-11 00:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629615360001,"66":27941,"76":206,"28":31488,"24":59,"16":134436135676936192,"45":5387501450222034944},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-11 00:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629615360001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:21:58] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-11 00:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134436135676936192,"km_value":134436135676936.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5387501450222034944,"description":"Unknown IO ID 45"} 
[2026-07-11 00:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629615360001,"power":27941,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5387501450222034944}} 
[2026-07-11 00:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":127951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:21:58] local.INFO: GPS data processed {"connection_id":127951,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:21:58] local.INFO: Acknowledgment sent {"connection_id":127951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:22:05] local.INFO: TCP Data received {"connection_id":128164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:22:05] local.INFO: Processing buffer {"connection_id":128164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:22:05] local.INFO: IMEI packet received {"connection_id":128164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":128164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:22:10] local.INFO: TCP Data received {"connection_id":128164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:22:10] local.INFO: Processing buffer {"connection_id":128164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:22:10] local.INFO: IMEI packet received {"connection_id":128164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":128164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:22:11] local.INFO: TCP Data received {"connection_id":128164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:22:11] local.INFO: Processing buffer {"connection_id":128164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:22:11] local.INFO: Packet analysis {"connection_id":128164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:22:11] local.INFO: Extracted packet for processing {"connection_id":128164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":128164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:22:11] local.INFO: GPS data processed {"connection_id":128164,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:22:11] local.INFO: Acknowledgment sent {"connection_id":128164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:22:39] local.INFO: TCP Data received {"connection_id":127951,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5e3740012d4aa2400657a5e80005014e2f..."} 
[2026-07-11 00:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5e3740012d4aa2400657a5e80005014e2f..."} 
[2026-07-11 00:22:39] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5e3740012d4aa2400657a5e80005014e2f..."} 
[2026-07-11 00:22:39] local.INFO: Packet analysis {"connection_id":127951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5e"} 
[2026-07-11 00:22:39] local.INFO: Extracted packet for processing {"connection_id":127951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5e"} 
[2026-07-11 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":759865920,"raw_latitude":106407400,"longitude_deg":75.986592,"latitude_deg":10.64074,"altitude":5,"angle":334,"satellites":47,"speed":57,"hex_longitude":"2d4aa240","hex_latitude":"0657a5e8","is_valid_coordinates":true} 
[2026-07-11 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629616896001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134436629598175232,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5383068219340900352,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783709448000,"timestamp_ms":1783709448000,"timestamp_seconds":1783709448,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5e3740"} 
[2026-07-11 00:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-11 00:22:39] 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-07-11 00:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629616896001,"66":27887,"76":206,"28":31488,"24":57,"16":134436629598175232,"45":5383068219340900352},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-11 00:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629616896001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:22:39] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-11 00:22:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134436629598175232,"km_value":134436629598175.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5383068219340900352,"description":"Unknown IO ID 45"} 
[2026-07-11 00:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629616896001,"power":27887,"unknown_76":206,"unknown_28":31488,"ignition":57,"odometer":null,"unknown_45":5383068219340900352}} 
[2026-07-11 00:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":127951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:22:39] local.INFO: GPS data processed {"connection_id":127951,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:22:39] local.INFO: Acknowledgment sent {"connection_id":127951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:22:42] local.INFO: TCP Data received {"connection_id":128164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:22:42] local.INFO: Processing buffer {"connection_id":128164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:22:42] local.INFO: Packet analysis {"connection_id":128164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:22:42] local.INFO: Extracted packet for processing {"connection_id":128164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:22:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":128164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:22:42] local.INFO: GPS data processed {"connection_id":128164,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:22:42] local.INFO: Acknowledgment sent {"connection_id":128164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:22:48] local.INFO: TCP Data received {"connection_id":130116,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:22:48] local.INFO: Processing buffer {"connection_id":130116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:22:48] local.INFO: IMEI packet received {"connection_id":130116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":130116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:22:52] local.INFO: TCP Data received {"connection_id":130116,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:22:52] local.INFO: Processing buffer {"connection_id":130116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:22:52] local.INFO: IMEI packet received {"connection_id":130116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":130116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:22:55] local.INFO: TCP Data received {"connection_id":130116,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:22:55] local.INFO: Processing buffer {"connection_id":130116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:22:55] local.INFO: IMEI packet received {"connection_id":130116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":130116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:22:56] local.INFO: TCP Data received {"connection_id":130116,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5f44c8012d49f24006590c980008014c2f..."} 
[2026-07-11 00:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5f44c8012d49f24006590c980008014c2f..."} 
[2026-07-11 00:22:56] local.INFO: Processing buffer {"connection_id":130116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5f44c8012d49f24006590c980008014c2f..."} 
[2026-07-11 00:22:56] local.INFO: Packet analysis {"connection_id":130116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:22:56] local.INFO: Extracted packet for processing {"connection_id":130116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:22:56] local.INFO: GPS Element Parsed {"raw_longitude":759820864,"raw_latitude":106499224,"longitude_deg":75.9820864,"latitude_deg":10.6499224,"altitude":8,"angle":332,"satellites":47,"speed":58,"hex_longitude":"2d49f240","hex_latitude":"06590c98","is_valid_coordinates":true} 
[2026-07-11 00:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629634816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134441573105532928,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5333036042254413824,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783709517000,"timestamp_ms":1783709517000,"timestamp_seconds":1783709517,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5f44c8"} 
[2026-07-11 00:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:22: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-07-11 00:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 00:22:56] 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-07-11 00:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629634816001,"66":27952,"76":206,"28":31488,"24":58,"16":134441573105532928,"45":5333036042254413824},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-11 00:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629634816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:22:56] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-11 00:22:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134441573105532928,"km_value":134441573105532.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5333036042254413824,"description":"Unknown IO ID 45"} 
[2026-07-11 00:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629634816001,"power":27952,"unknown_76":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5333036042254413824}} 
[2026-07-11 00:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":130116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:22:57] local.INFO: GPS data processed {"connection_id":130116,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:22:57] local.INFO: Acknowledgment sent {"connection_id":130116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:22:57] local.INFO: TCP Data received {"connection_id":130116,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5f6020012d49de8006592fd80009014b2f..."} 
[2026-07-11 00:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5f6020012d49de8006592fd80009014b2f..."} 
[2026-07-11 00:22:57] local.INFO: Processing buffer {"connection_id":130116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5f6020012d49de8006592fd80009014b2f..."} 
[2026-07-11 00:22:57] local.INFO: Packet analysis {"connection_id":130116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:22:57] local.INFO: Extracted packet for processing {"connection_id":130116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:22:57] local.INFO: GPS Element Parsed {"raw_longitude":759815808,"raw_latitude":106508248,"longitude_deg":75.9815808,"latitude_deg":10.6508248,"altitude":9,"angle":331,"satellites":47,"speed":58,"hex_longitude":"2d49de80","hex_latitude":"06592fd8","is_valid_coordinates":true} 
[2026-07-11 00:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629636352001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134442075616706560,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328391705140697088,"note":"Value kept but may cause issues"} 
[2026-07-11 00:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783709524000,"timestamp_ms":1783709524000,"timestamp_seconds":1783709524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5f6020"} 
[2026-07-11 00:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:22: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-07-11 00:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-11 00:22: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-07-11 00:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629636352001,"66":27887,"76":206,"28":31488,"24":58,"16":134442075616706560,"45":5328391705140697088},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-11 00:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629636352001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:22:57] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-11 00:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134442075616706560,"km_value":134442075616706.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328391705140697088,"description":"Unknown IO ID 45"} 
[2026-07-11 00:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629636352001,"power":27887,"unknown_76":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5328391705140697088}} 
[2026-07-11 00:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":130116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:22:57] local.INFO: GPS data processed {"connection_id":130116,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:22:57] local.INFO: Acknowledgment sent {"connection_id":130116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:23:05] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:23:05] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:23:05] local.INFO: IMEI packet received {"connection_id":128871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":128871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:23:11] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:23:11] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:23:11] local.INFO: IMEI packet received {"connection_id":128871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":128871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:23:12] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:23:12] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5b4940012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:23:12] local.INFO: Packet analysis {"connection_id":128871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:23:12] local.INFO: Extracted packet for processing {"connection_id":128871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5b"} 
[2026-07-11 00:23:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629492480001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783709256000,"timestamp_ms":1783709256000,"timestamp_seconds":1783709256,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5b4940"} 
[2026-07-11 00:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629492480001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629492480001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:23:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629492480001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":128871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:23:12] local.INFO: GPS data processed {"connection_id":128871,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:23:12] local.INFO: Acknowledgment sent {"connection_id":128871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:23:43] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:23:43] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:23:43] local.INFO: Packet analysis {"connection_id":128871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:23:43] local.INFO: Extracted packet for processing {"connection_id":128871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:23:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783709557000,"timestamp_ms":1783709557000,"timestamp_seconds":1783709557,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5fe108"} 
[2026-07-11 00:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 00:23:43] 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-07-11 00:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:23:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":128871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:23:43] local.INFO: GPS data processed {"connection_id":128871,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:23:43] local.INFO: Acknowledgment sent {"connection_id":128871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:23:51] local.INFO: TCP Data received {"connection_id":130116,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5f7790012d49ce0006594e580009014b2f..."} 
[2026-07-11 00:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5f7790012d49ce0006594e580009014b2f..."} 
[2026-07-11 00:23:51] local.INFO: Processing buffer {"connection_id":130116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5f7790012d49ce0006594e580009014b2f..."} 
[2026-07-11 00:23:51] local.INFO: Packet analysis {"connection_id":130116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:23:51] local.INFO: Extracted packet for processing {"connection_id":130116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:23:51] local.INFO: GPS Element Parsed {"raw_longitude":759811584,"raw_latitude":106516056,"longitude_deg":75.9811584,"latitude_deg":10.6516056,"altitude":9,"angle":331,"satellites":47,"speed":58,"hex_longitude":"2d49ce00","hex_latitude":"06594e58","is_valid_coordinates":true} 
[2026-07-11 00:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629638144001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134442505113436160,"note":"Value kept but may cause issues"} 
[2026-07-11 00:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322832574352971776,"note":"Value kept but may cause issues"} 
[2026-07-11 00:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783709530000,"timestamp_ms":1783709530000,"timestamp_seconds":1783709530,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5f7790"} 
[2026-07-11 00:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:23: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-07-11 00:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 00:23:51] 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-07-11 00:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629638144001,"66":27887,"76":206,"28":31488,"24":58,"16":134442505113436160,"45":5322832574352971776},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-11 00:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629638144001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:23:51] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-11 00:23:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134442505113436160,"km_value":134442505113436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322832574352971776,"description":"Unknown IO ID 45"} 
[2026-07-11 00:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629638144001,"power":27887,"unknown_76":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5322832574352971776}} 
[2026-07-11 00:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":130116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:23:51] local.INFO: GPS data processed {"connection_id":130116,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:23:51] local.INFO: Acknowledgment sent {"connection_id":130116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:23:57] local.INFO: TCP Data received {"connection_id":127952,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:23:57] local.INFO: Processing buffer {"connection_id":127952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:23:57] local.INFO: IMEI packet received {"connection_id":127952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":127952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:23:58] local.INFO: TCP Data received {"connection_id":127952,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:23:58] local.INFO: Processing buffer {"connection_id":127952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:23:58] local.INFO: IMEI packet received {"connection_id":127952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":127952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:24:02] local.INFO: TCP Data received {"connection_id":127952,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:02] local.INFO: Processing buffer {"connection_id":127952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:02] local.INFO: IMEI packet received {"connection_id":127952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":127952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:24:03] local.INFO: TCP Data received {"connection_id":127952,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5f92e8012d49bb8006597120000b014c30..."} 
[2026-07-11 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5f92e8012d49bb8006597120000b014c30..."} 
[2026-07-11 00:24:03] local.INFO: Processing buffer {"connection_id":127952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5f92e8012d49bb8006597120000b014c30..."} 
[2026-07-11 00:24:03] local.INFO: Packet analysis {"connection_id":127952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:24:03] local.INFO: Extracted packet for processing {"connection_id":127952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:24:03] local.INFO: GPS Element Parsed {"raw_longitude":759806848,"raw_latitude":106524960,"longitude_deg":75.9806848,"latitude_deg":10.652496,"altitude":11,"angle":332,"satellites":48,"speed":56,"hex_longitude":"2d49bb80","hex_latitude":"06597120","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629639680001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134442990444740608,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5318188237239244800,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783709537000,"timestamp_ms":1783709537000,"timestamp_seconds":1783709537,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5f92e8"} 
[2026-07-11 00:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 00:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00: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-07-11 00:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629639680001,"66":27865,"135":206,"28":31488,"24":56,"16":134442990444740608,"45":5318188237239244800},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-07-11 00:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629639680001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:24:03] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-11 00:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134442990444740608,"km_value":134442990444740.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5318188237239244800,"description":"Unknown IO ID 45"} 
[2026-07-11 00:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629639680001,"power":27865,"unknown_135":206,"unknown_28":31488,"ignition":56,"odometer":null,"unknown_45":5318188237239244800}} 
[2026-07-11 00:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":127952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:24:03] local.INFO: GPS data processed {"connection_id":127952,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:24:03] local.INFO: Acknowledgment sent {"connection_id":127952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:24:06] local.INFO: TCP Data received {"connection_id":128165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:24:06] local.INFO: Processing buffer {"connection_id":128165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:24:06] local.INFO: IMEI packet received {"connection_id":128165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":128165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:24:10] local.INFO: TCP Data received {"connection_id":128165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:24:10] local.INFO: Processing buffer {"connection_id":128165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:24:10] local.INFO: IMEI packet received {"connection_id":128165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":128165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:24:11] local.INFO: TCP Data received {"connection_id":128165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:24:11] local.INFO: Processing buffer {"connection_id":128165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:24:11] local.INFO: Packet analysis {"connection_id":128165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:24:11] local.INFO: Extracted packet for processing {"connection_id":128165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:24:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783709557000,"timestamp_ms":1783709557000,"timestamp_seconds":1783709557,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5fe108"} 
[2026-07-11 00:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 00:24:11] 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-07-11 00:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:24:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":128165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:24:11] local.INFO: GPS data processed {"connection_id":128165,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:24:11] local.INFO: Acknowledgment sent {"connection_id":128165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:24:43] local.INFO: TCP Data received {"connection_id":128165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:24:43] local.INFO: Processing buffer {"connection_id":128165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:24:43] local.INFO: Packet analysis {"connection_id":128165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:24:43] local.INFO: Extracted packet for processing {"connection_id":128165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783709557000,"timestamp_ms":1783709557000,"timestamp_seconds":1783709557,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5fe108"} 
[2026-07-11 00:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 00:24:43] 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-07-11 00:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:24:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":128165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:24:43] local.INFO: GPS data processed {"connection_id":128165,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:24:43] local.INFO: Acknowledgment sent {"connection_id":128165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:24:47] local.INFO: TCP Data received {"connection_id":127953,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:47] local.INFO: Processing buffer {"connection_id":127953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:47] local.INFO: IMEI packet received {"connection_id":127953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":127953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:24:49] local.INFO: TCP Data received {"connection_id":127953,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:49] local.INFO: Processing buffer {"connection_id":127953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:49] local.INFO: IMEI packet received {"connection_id":127953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":127953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:24:52] local.INFO: TCP Data received {"connection_id":127953,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:52] local.INFO: Processing buffer {"connection_id":127953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:24:52] local.INFO: IMEI packet received {"connection_id":127953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":127953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:24:53] local.INFO: TCP Data received {"connection_id":127953,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d60cf50012d491dc0065b1e900005014d31..."} 
[2026-07-11 00:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d60cf50012d491dc0065b1e900005014d31..."} 
[2026-07-11 00:24:53] local.INFO: Processing buffer {"connection_id":127953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d60cf50012d491dc0065b1e900005014d31..."} 
[2026-07-11 00:24:53] local.INFO: Packet analysis {"connection_id":127953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d60"} 
[2026-07-11 00:24:53] local.INFO: Extracted packet for processing {"connection_id":127953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d60"} 
[2026-07-11 00:24:53] local.INFO: GPS Element Parsed {"raw_longitude":759766464,"raw_latitude":106634896,"longitude_deg":75.9766464,"latitude_deg":10.6634896,"altitude":5,"angle":333,"satellites":49,"speed":59,"hex_longitude":"2d491dc0","hex_latitude":"065b1e90","is_valid_coordinates":true} 
[2026-07-11 00:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629660672001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134448754290851840,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5272448553552093184,"note":"Value kept but may cause issues"} 
[2026-07-11 00:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783709618000,"timestamp_ms":1783709618000,"timestamp_seconds":1783709618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d60cf50"} 
[2026-07-11 00:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 00:24:53] 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-07-11 00:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629660672001,"66":27767,"51":206,"28":31488,"24":59,"16":134448754290851840,"45":5272448553552093184},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-07-11 00:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629660672001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:24:53] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-11 00:24:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134448754290851840,"km_value":134448754290851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5272448553552093184,"description":"Unknown IO ID 45"} 
[2026-07-11 00:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629660672001,"power":27767,"unknown_51":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5272448553552093184}} 
[2026-07-11 00:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":127953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:24:53] local.INFO: GPS data processed {"connection_id":127953,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:24:53] local.INFO: Acknowledgment sent {"connection_id":127953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:25:06] local.INFO: TCP Data received {"connection_id":127954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:25:06] local.INFO: Processing buffer {"connection_id":127954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:25:06] local.INFO: IMEI packet received {"connection_id":127954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":127954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:25:10] local.INFO: TCP Data received {"connection_id":127954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:25:10] local.INFO: Processing buffer {"connection_id":127954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:25:10] local.INFO: IMEI packet received {"connection_id":127954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":127954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:25:11] local.INFO: TCP Data received {"connection_id":127954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:25:11] local.INFO: Processing buffer {"connection_id":127954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:25:11] local.INFO: Packet analysis {"connection_id":127954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:25:11] local.INFO: Extracted packet for processing {"connection_id":127954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:25:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783709557000,"timestamp_ms":1783709557000,"timestamp_seconds":1783709557,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5fe108"} 
[2026-07-11 00:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 00:25:11] 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-07-11 00:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:25:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":127954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:25:11] local.INFO: GPS data processed {"connection_id":127954,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:25:11] local.INFO: Acknowledgment sent {"connection_id":127954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:25:25] local.INFO: TCP Data received {"connection_id":127953,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d60eaa8012d490980065b41980005014733..."} 
[2026-07-11 00:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d60eaa8012d490980065b41980005014733..."} 
[2026-07-11 00:25:25] local.INFO: Processing buffer {"connection_id":127953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d60eaa8012d490980065b41980005014733..."} 
[2026-07-11 00:25:25] local.INFO: Packet analysis {"connection_id":127953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d60"} 
[2026-07-11 00:25:25] local.INFO: Extracted packet for processing {"connection_id":127953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d60"} 
[2026-07-11 00:25:25] local.INFO: GPS Element Parsed {"raw_longitude":759761280,"raw_latitude":106643864,"longitude_deg":75.976128,"latitude_deg":10.6643864,"altitude":5,"angle":327,"satellites":51,"speed":58,"hex_longitude":"2d490980","hex_latitude":"065b4198","is_valid_coordinates":true} 
[2026-07-11 00:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629662208001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134449256802025472,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5268578272624414720,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783709625000,"timestamp_ms":1783709625000,"timestamp_seconds":1783709625,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d60eaa8"} 
[2026-07-11 00:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 00:25: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-07-11 00:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629662208001,"66":27876,"51":206,"28":31488,"24":58,"16":134449256802025472,"45":5268578272624414720},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-07-11 00:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629662208001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:25:25] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-11 00:25:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134449256802025472,"km_value":134449256802025.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5268578272624414720,"description":"Unknown IO ID 45"} 
[2026-07-11 00:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629662208001,"power":27876,"unknown_51":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5268578272624414720}} 
[2026-07-11 00:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":127953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:25:25] local.INFO: GPS data processed {"connection_id":127953,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:25:25] local.INFO: Acknowledgment sent {"connection_id":127953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:25:42] local.INFO: TCP Data received {"connection_id":127954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:25:42] local.INFO: Processing buffer {"connection_id":127954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:25:42] local.INFO: Packet analysis {"connection_id":127954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:25:42] local.INFO: Extracted packet for processing {"connection_id":127954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:25:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783709557000,"timestamp_ms":1783709557000,"timestamp_seconds":1783709557,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5fe108"} 
[2026-07-11 00:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 00:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:25:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":127954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:25:42] local.INFO: GPS data processed {"connection_id":127954,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:25:42] local.INFO: Acknowledgment sent {"connection_id":127954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:25:47] local.INFO: TCP Data received {"connection_id":130117,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:25:47] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:25:47] local.INFO: IMEI packet received {"connection_id":130117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":130117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:25:52] local.INFO: TCP Data received {"connection_id":130117,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:25:52] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:25:52] local.INFO: IMEI packet received {"connection_id":130117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":130117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:25:52] local.INFO: TCP Data received {"connection_id":130117,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:25:52] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:25:52] local.INFO: IMEI packet received {"connection_id":130117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":130117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:25:54] local.INFO: TCP Data received {"connection_id":130117,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d610600012d48f240065b62d80006014434..."} 
[2026-07-11 00:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d610600012d48f240065b62d80006014434..."} 
[2026-07-11 00:25:54] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d610600012d48f240065b62d80006014434..."} 
[2026-07-11 00:25:54] local.INFO: Packet analysis {"connection_id":130117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d61"} 
[2026-07-11 00:25:54] local.INFO: Extracted packet for processing {"connection_id":130117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d61"} 
[2026-07-11 00:25:54] local.INFO: GPS Element Parsed {"raw_longitude":759755328,"raw_latitude":106652376,"longitude_deg":75.9755328,"latitude_deg":10.6652376,"altitude":6,"angle":324,"satellites":52,"speed":59,"hex_longitude":"2d48f240","hex_latitude":"065b62d8","is_valid_coordinates":true} 
[2026-07-11 00:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629664000001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134449755018231808,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5262878404348319744,"note":"Value kept but may cause issues"} 
[2026-07-11 00:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783709632000,"timestamp_ms":1783709632000,"timestamp_seconds":1783709632,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d610600"} 
[2026-07-11 00:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 00:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629664000001,"66":28006,"51":206,"28":31488,"24":59,"16":134449755018231808,"45":5262878404348319744},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-07-11 00:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629664000001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:25:54] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-11 00:25:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134449755018231808,"km_value":134449755018231.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5262878404348319744,"description":"Unknown IO ID 45"} 
[2026-07-11 00:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629664000001,"power":28006,"unknown_51":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5262878404348319744}} 
[2026-07-11 00:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":130117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:25:55] local.INFO: GPS data processed {"connection_id":130117,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:25:55] local.INFO: Acknowledgment sent {"connection_id":130117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:26:05] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:26:05] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:26:05] local.INFO: IMEI packet received {"connection_id":130118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":130118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:26:10] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:26:10] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:26:10] local.INFO: IMEI packet received {"connection_id":130118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":130118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:26:11] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:26:11] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:26:11] local.INFO: Packet analysis {"connection_id":130118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:26:11] local.INFO: Extracted packet for processing {"connection_id":130118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783709557000,"timestamp_ms":1783709557000,"timestamp_seconds":1783709557,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5fe108"} 
[2026-07-11 00:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 00:26:11] 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-07-11 00:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:26:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":130118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:26:11] local.INFO: GPS data processed {"connection_id":130118,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:26:11] local.INFO: Acknowledgment sent {"connection_id":130118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:26:39] local.INFO: TCP Data received {"connection_id":130117,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d611d70012d48dd80065b7f000007014334..."} 
[2026-07-11 00:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d611d70012d48dd80065b7f000007014334..."} 
[2026-07-11 00:26:39] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d611d70012d48dd80065b7f000007014334..."} 
[2026-07-11 00:26:39] local.INFO: Packet analysis {"connection_id":130117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d61"} 
[2026-07-11 00:26:39] local.INFO: Extracted packet for processing {"connection_id":130117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d61"} 
[2026-07-11 00:26:39] local.INFO: GPS Element Parsed {"raw_longitude":759750016,"raw_latitude":106659584,"longitude_deg":75.9750016,"latitude_deg":10.6659584,"altitude":7,"angle":323,"satellites":52,"speed":59,"hex_longitude":"2d48dd80","hex_latitude":"065b7f00","is_valid_coordinates":true} 
[2026-07-11 00:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629665792001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134450188809928704,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5256334111141976064,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783709638000,"timestamp_ms":1783709638000,"timestamp_seconds":1783709638,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d611d70"} 
[2026-07-11 00:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 00:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629665792001,"66":27941,"51":206,"28":31488,"24":59,"16":134450188809928704,"45":5256334111141976064},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-07-11 00:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629665792001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:26:39] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-11 00:26:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134450188809928704,"km_value":134450188809928.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5256334111141976064,"description":"Unknown IO ID 45"} 
[2026-07-11 00:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629665792001,"power":27941,"unknown_51":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5256334111141976064}} 
[2026-07-11 00:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":130117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:26:39] local.INFO: GPS data processed {"connection_id":130117,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:26:39] local.INFO: Acknowledgment sent {"connection_id":130117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:26:42] local.INFO: TCP Data received {"connection_id":130117,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d629470012d47f200065d6940000d014e33..."} 
[2026-07-11 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d629470012d47f200065d6940000d014e33..."} 
[2026-07-11 00:26:42] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d629470012d47f200065d6940000d014e33..."} 
[2026-07-11 00:26:42] local.INFO: Packet analysis {"connection_id":130117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d62"} 
[2026-07-11 00:26:42] local.INFO: Extracted packet for processing {"connection_id":130117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d62"} 
[2026-07-11 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":759689728,"raw_latitude":106785088,"longitude_deg":75.9689728,"latitude_deg":10.6785088,"altitude":13,"angle":334,"satellites":51,"speed":58,"hex_longitude":"2d47f200","hex_latitude":"065d6940","is_valid_coordinates":true} 
[2026-07-11 00:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629690112001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134456210354077696,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5189061591739738112,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783709734000,"timestamp_ms":1783709734000,"timestamp_seconds":1783709734,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d629470"} 
[2026-07-11 00:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 00:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629690112001,"66":27995,"51":206,"28":31488,"24":58,"16":134456210354077696,"45":5189061591739738112},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-07-11 00:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629690112001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:26:42] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-11 00:26:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-11 00:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134456210354077696,"km_value":134456210354077.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5189061591739738112,"description":"Unknown IO ID 45"} 
[2026-07-11 00:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629690112001,"power":27995,"unknown_51":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5189061591739738112}} 
[2026-07-11 00:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":130117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468385,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:26:42] local.INFO: GPS data processed {"connection_id":130117,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:26:42] local.ERROR: TCP Connection error {"connection_id":130117,"code":2,"message":"client closed"} 
[2026-07-11 00:26:42] local.INFO: Acknowledgment sent {"connection_id":130117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:26:42] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:26:42] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:26:42] local.INFO: Packet analysis {"connection_id":130118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:26:42] local.INFO: Extracted packet for processing {"connection_id":130118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783709557000,"timestamp_ms":1783709557000,"timestamp_seconds":1783709557,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5fe108"} 
[2026-07-11 00:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 00:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:26:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":130118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:26:42] local.INFO: GPS data processed {"connection_id":130118,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:26:42] local.INFO: Acknowledgment sent {"connection_id":130118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:26:52] local.INFO: TCP Data received {"connection_id":127955,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:26:52] local.INFO: Processing buffer {"connection_id":127955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:26:52] local.INFO: IMEI packet received {"connection_id":127955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":127955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:26:54] local.INFO: TCP Data received {"connection_id":127955,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:26:54] local.INFO: Processing buffer {"connection_id":127955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:26:54] local.INFO: IMEI packet received {"connection_id":127955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":127955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:27:05] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:27:05] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:27:05] local.INFO: IMEI packet received {"connection_id":128872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":128872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:27:11] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:27:11] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:27:11] local.INFO: IMEI packet received {"connection_id":128872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":128872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:27:12] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:27:12] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:27:12] local.INFO: Packet analysis {"connection_id":128872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:27:12] local.INFO: Extracted packet for processing {"connection_id":128872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:27:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783709557000,"timestamp_ms":1783709557000,"timestamp_seconds":1783709557,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5fe108"} 
[2026-07-11 00:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 00:27: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-07-11 00:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:27:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":128872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:27:12] local.INFO: GPS data processed {"connection_id":128872,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:27:12] local.INFO: Acknowledgment sent {"connection_id":128872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:27:43] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:27:43] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d5fe108012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:27:43] local.INFO: Packet analysis {"connection_id":128872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:27:43] local.INFO: Extracted packet for processing {"connection_id":128872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d5f"} 
[2026-07-11 00:27:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629569536001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783709557000,"timestamp_ms":1783709557000,"timestamp_seconds":1783709557,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d5fe108"} 
[2026-07-11 00:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 00:27:43] 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-07-11 00:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629569536001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629569536001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:27:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629569536001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":128872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:27:43] local.INFO: GPS data processed {"connection_id":128872,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:27:43] local.INFO: Acknowledgment sent {"connection_id":128872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:27:57] local.INFO: TCP Data received {"connection_id":127955,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:27:57] local.INFO: Processing buffer {"connection_id":127955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:27:57] local.INFO: IMEI packet received {"connection_id":127955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":127955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:27:59] local.INFO: TCP Data received {"connection_id":127955,"ip":"117.225.165.28","data_length":1360,"data_hex":"000000000000030f8e0a0000019f4d62afc8012d47e0c0065d8da8000e014e32..."} 
[2026-07-11 00:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127955,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f4d62afc8012d47e0c0065d8da8000e014e32..."} 
[2026-07-11 00:27:59] local.INFO: Processing buffer {"connection_id":127955,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f4d62afc8012d47e0c0065d8da8000e014e32..."} 
[2026-07-11 00:27:59] local.INFO: Packet analysis {"connection_id":127955,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f4d62"} 
[2026-07-11 00:27:59] local.INFO: Extracted packet for processing {"connection_id":127955,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f4d62"} 
[2026-07-11 00:27:59] local.INFO: GPS Element Parsed {"raw_longitude":759685312,"raw_latitude":106794408,"longitude_deg":75.9685312,"latitude_deg":10.6794408,"altitude":14,"angle":334,"satellites":50,"speed":57,"hex_longitude":"2d47e0c0","hex_latitude":"065d8da8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629691904001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134456708570284032,"note":"Value kept but may cause issues"} 
[2026-07-11 00:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5184206148393844736,"note":"Value kept but may cause issues"} 
[2026-07-11 00:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783709741000,"timestamp_ms":1783709741000,"timestamp_seconds":1783709741,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d62afc8"} 
[2026-07-11 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-07-11 00:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 00:27:59] 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-07-11 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-07-11 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-07-11 00:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":127955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":127955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":127955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629691904001,"66":27800,"52":206,"19":47872,"24":57,"16":134456708570284032,"45":5184206148393844736},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-11 00:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629691904001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:27:59] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-11 00:27:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-11 00:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134456708570284032,"km_value":134456708570284.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5184206148393844736,"description":"Unknown IO ID 45"} 
[2026-07-11 00:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629691904001,"power":27800,"unknown_52":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":5184206148393844736}} 
[2026-07-11 00:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":127955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:27:59] local.INFO: GPS data processed {"connection_id":127955,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:27:59] local.INFO: Acknowledgment sent {"connection_id":127955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:27:59] local.INFO: Packet analysis {"connection_id":127955,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f4d62"} 
[2026-07-11 00:27:59] local.INFO: Incomplete packet, waiting for more data {"connection_id":127955,"needed":795,"available":565} 
[2026-07-11 00:28:10] local.INFO: TCP Data received {"connection_id":128166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:28:10] local.INFO: Processing buffer {"connection_id":128166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:28:10] local.INFO: IMEI packet received {"connection_id":128166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":128166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:28:16] local.INFO: TCP Data received {"connection_id":128166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:28:16] local.INFO: Processing buffer {"connection_id":128166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:28:16] local.INFO: IMEI packet received {"connection_id":128166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":128166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:28:17] local.INFO: TCP Data received {"connection_id":128167,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:17] local.INFO: Processing buffer {"connection_id":128167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:17] local.INFO: IMEI packet received {"connection_id":128167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":128167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:28:17] local.INFO: TCP Data received {"connection_id":128166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:28:17] local.INFO: Processing buffer {"connection_id":128166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:28:17] local.INFO: Packet analysis {"connection_id":128166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:28:17] local.INFO: Extracted packet for processing {"connection_id":128166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:28:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:28:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:28:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":128166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:28:17] local.INFO: GPS data processed {"connection_id":128166,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:28:17] local.INFO: Acknowledgment sent {"connection_id":128166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:28:17] local.INFO: TCP Data received {"connection_id":128166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:28:17] local.INFO: Processing buffer {"connection_id":128166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:28:17] local.INFO: Packet analysis {"connection_id":128166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:28:17] local.INFO: Extracted packet for processing {"connection_id":128166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:28:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:28:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:28:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":128166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:28:17] local.INFO: GPS data processed {"connection_id":128166,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:28:17] local.INFO: Acknowledgment sent {"connection_id":128166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:28:19] local.INFO: TCP Data received {"connection_id":128167,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:19] local.INFO: Processing buffer {"connection_id":128167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:19] local.INFO: IMEI packet received {"connection_id":128167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":128167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:28:23] local.INFO: TCP Data received {"connection_id":128167,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:23] local.INFO: Processing buffer {"connection_id":128167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:23] local.INFO: IMEI packet received {"connection_id":128167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":128167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:28:24] local.INFO: TCP Data received {"connection_id":128167,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d63ec30012d471700065f3690000c014933..."} 
[2026-07-11 00:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d63ec30012d471700065f3690000c014933..."} 
[2026-07-11 00:28:24] local.INFO: Processing buffer {"connection_id":128167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d63ec30012d471700065f3690000c014933..."} 
[2026-07-11 00:28:24] local.INFO: Packet analysis {"connection_id":128167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d63"} 
[2026-07-11 00:28:24] local.INFO: Extracted packet for processing {"connection_id":128167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d63"} 
[2026-07-11 00:28:24] local.INFO: GPS Element Parsed {"raw_longitude":759633664,"raw_latitude":106903184,"longitude_deg":75.9633664,"latitude_deg":10.6903184,"altitude":12,"angle":329,"satellites":51,"speed":58,"hex_longitude":"2d471700","hex_latitude":"065f3690","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629712896001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134462532545937408,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5127559309359095808,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783709822000,"timestamp_ms":1783709822000,"timestamp_seconds":1783709822,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d63ec30"} 
[2026-07-11 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-07-11 00:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 00:28: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-07-11 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-07-11 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-07-11 00:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629712896001,"66":27800,"52":206,"19":47872,"24":58,"16":134462532545937408,"45":5127559309359095808},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-11 00:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629712896001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:28:24] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-11 00:28:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-11 00:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134462532545937408,"km_value":134462532545937.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5127559309359095808,"description":"Unknown IO ID 45"} 
[2026-07-11 00:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629712896001,"power":27800,"unknown_52":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5127559309359095808}} 
[2026-07-11 00:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":128167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:28:24] local.INFO: GPS data processed {"connection_id":128167,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:28:24] local.INFO: Acknowledgment sent {"connection_id":128167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:28:48] local.INFO: TCP Data received {"connection_id":128166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:28:48] local.INFO: Processing buffer {"connection_id":128166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:28:48] local.INFO: Packet analysis {"connection_id":128166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:28:48] local.INFO: Extracted packet for processing {"connection_id":128166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:28:48] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:28:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:28:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:28:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":128166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:28:48] local.INFO: GPS data processed {"connection_id":128166,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:28:48] local.INFO: Acknowledgment sent {"connection_id":128166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:28:52] local.INFO: TCP Data received {"connection_id":127956,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:52] local.INFO: Processing buffer {"connection_id":127956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:52] local.INFO: IMEI packet received {"connection_id":127956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":127956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:28:54] local.INFO: TCP Data received {"connection_id":127956,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:54] local.INFO: Processing buffer {"connection_id":127956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:54] local.INFO: IMEI packet received {"connection_id":127956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":127956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:28:57] local.INFO: TCP Data received {"connection_id":127956,"ip":"117.225.165.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:57] local.INFO: Processing buffer {"connection_id":127956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:28:57] local.INFO: IMEI packet received {"connection_id":127956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":127956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:28:58] local.INFO: TCP Data received {"connection_id":127956,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6403a0012d470500065f5470000b014934..."} 
[2026-07-11 00:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6403a0012d470500065f5470000b014934..."} 
[2026-07-11 00:28:58] local.INFO: Processing buffer {"connection_id":127956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6403a0012d470500065f5470000b014934..."} 
[2026-07-11 00:28:58] local.INFO: Packet analysis {"connection_id":127956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:28:58] local.INFO: Extracted packet for processing {"connection_id":127956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:28:58] local.INFO: GPS Element Parsed {"raw_longitude":759629056,"raw_latitude":106910832,"longitude_deg":75.9629056,"latitude_deg":10.6910832,"altitude":11,"angle":329,"satellites":52,"speed":58,"hex_longitude":"2d470500","hex_latitude":"065f5470","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629714432001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134462962042667008,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5122563128524443648,"note":"Value kept but may cause issues"} 
[2026-07-11 00:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783709828000,"timestamp_ms":1783709828000,"timestamp_seconds":1783709828,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6403a0"} 
[2026-07-11 00:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 00:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00: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-07-11 00:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629714432001,"66":27952,"52":206,"19":47872,"24":58,"16":134462962042667008,"45":5122563128524443648},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-11 00:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629714432001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:28:58] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-11 00:28:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-11 00:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134462962042667008,"km_value":134462962042667.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5122563128524443648,"description":"Unknown IO ID 45"} 
[2026-07-11 00:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629714432001,"power":27952,"unknown_52":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5122563128524443648}} 
[2026-07-11 00:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":127956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:28:58] local.INFO: GPS data processed {"connection_id":127956,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:28:58] local.INFO: Acknowledgment sent {"connection_id":127956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:29:01] local.INFO: TCP Data received {"connection_id":127956,"ip":"117.225.165.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d641b10012d46f3c0065f7298000b014b32..."} 
[2026-07-11 00:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d641b10012d46f3c0065f7298000b014b32..."} 
[2026-07-11 00:29:01] local.INFO: Processing buffer {"connection_id":127956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d641b10012d46f3c0065f7298000b014b32..."} 
[2026-07-11 00:29:01] local.INFO: Packet analysis {"connection_id":127956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:29:01] local.INFO: Extracted packet for processing {"connection_id":127956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:29:01] local.INFO: GPS Element Parsed {"raw_longitude":759624640,"raw_latitude":106918552,"longitude_deg":75.962464,"latitude_deg":10.6918552,"altitude":11,"angle":331,"satellites":50,"speed":58,"hex_longitude":"2d46f3c0","hex_latitude":"065f7298","is_valid_coordinates":true} 
[2026-07-11 00:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629715968001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134463391539396608,"note":"Value kept but may cause issues"} 
[2026-07-11 00:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5117496578945609728,"note":"Value kept but may cause issues"} 
[2026-07-11 00:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783709834000,"timestamp_ms":1783709834000,"timestamp_seconds":1783709834,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d641b10"} 
[2026-07-11 00:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 00:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-11 00:29:01] 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-07-11 00:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 00:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.165.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 00:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 00:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629715968001,"66":27952,"52":206,"19":47872,"24":58,"16":134463391539396608,"45":5117496578945609728},"client_ip":"117.225.165.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-11 00:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 00:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 00:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629715968001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:29:01] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-11 00:29:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-11 00:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134463391539396608,"km_value":134463391539396.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5117496578945609728,"description":"Unknown IO ID 45"} 
[2026-07-11 00:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629715968001,"power":27952,"unknown_52":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5117496578945609728}} 
[2026-07-11 00:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":127956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468395,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:29:01] local.INFO: GPS data processed {"connection_id":127956,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:29:01] local.INFO: Acknowledgment sent {"connection_id":127956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:29:06] local.INFO: TCP Data received {"connection_id":128873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:29:06] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:29:06] local.INFO: IMEI packet received {"connection_id":128873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":128873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:29:10] local.INFO: TCP Data received {"connection_id":128873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:29:10] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:29:10] local.INFO: IMEI packet received {"connection_id":128873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":128873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:29:11] local.INFO: TCP Data received {"connection_id":128873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:29:11] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:29:11] local.INFO: Packet analysis {"connection_id":128873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:29:11] local.INFO: Extracted packet for processing {"connection_id":128873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":128873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:29:11] local.INFO: GPS data processed {"connection_id":128873,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:29:11] local.INFO: Acknowledgment sent {"connection_id":128873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:29:43] local.INFO: TCP Data received {"connection_id":128873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:29:43] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:29:43] local.INFO: Packet analysis {"connection_id":128873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:29:43] local.INFO: Extracted packet for processing {"connection_id":128873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:29:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:29:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":128873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:29:43] local.INFO: GPS data processed {"connection_id":128873,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:29:43] local.INFO: Acknowledgment sent {"connection_id":128873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:30:06] local.INFO: TCP Data received {"connection_id":130119,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:30:06] local.INFO: Processing buffer {"connection_id":130119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:30:06] local.INFO: IMEI packet received {"connection_id":130119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":130119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:30:11] local.INFO: TCP Data received {"connection_id":130119,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:30:11] local.INFO: Processing buffer {"connection_id":130119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:30:11] local.INFO: IMEI packet received {"connection_id":130119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":130119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:30:11] local.INFO: TCP Data received {"connection_id":130119,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:30:11] local.INFO: Processing buffer {"connection_id":130119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:30:11] local.INFO: Packet analysis {"connection_id":130119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:30:11] local.INFO: Extracted packet for processing {"connection_id":130119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":130119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:30:11] local.INFO: GPS data processed {"connection_id":130119,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:30:11] local.INFO: Acknowledgment sent {"connection_id":130119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:30:42] local.INFO: TCP Data received {"connection_id":130119,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:30:42] local.INFO: Processing buffer {"connection_id":130119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:30:42] local.INFO: Packet analysis {"connection_id":130119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:30:42] local.INFO: Extracted packet for processing {"connection_id":130119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:30:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":130119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:30:42] local.INFO: GPS data processed {"connection_id":130119,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:30:42] local.INFO: Acknowledgment sent {"connection_id":130119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:31:05] local.INFO: TCP Data received {"connection_id":128168,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:31:05] local.INFO: Processing buffer {"connection_id":128168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:31:05] local.INFO: IMEI packet received {"connection_id":128168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":128168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:31:11] local.INFO: TCP Data received {"connection_id":128168,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:31:11] local.INFO: Processing buffer {"connection_id":128168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:31:11] local.INFO: IMEI packet received {"connection_id":128168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":128168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:31:12] local.INFO: TCP Data received {"connection_id":128168,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:31:12] local.INFO: Processing buffer {"connection_id":128168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:31:12] local.INFO: Packet analysis {"connection_id":128168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:31:12] local.INFO: Extracted packet for processing {"connection_id":128168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:31:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:31:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":128168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:31:12] local.INFO: GPS data processed {"connection_id":128168,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:31:12] local.INFO: Acknowledgment sent {"connection_id":128168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:31:43] local.INFO: TCP Data received {"connection_id":128168,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:31:43] local.INFO: Processing buffer {"connection_id":128168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:31:43] local.INFO: Packet analysis {"connection_id":128168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:31:43] local.INFO: Extracted packet for processing {"connection_id":128168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:31:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 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-07-11 00:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:31:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 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-07-11 00:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 00:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:31:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:31:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":128168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:31:43] local.INFO: GPS data processed {"connection_id":128168,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:31:43] local.INFO: Acknowledgment sent {"connection_id":128168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:32:10] local.INFO: TCP Data received {"connection_id":130120,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:32:10] local.INFO: Processing buffer {"connection_id":130120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:32:10] local.INFO: IMEI packet received {"connection_id":130120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":130120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:32:16] local.INFO: TCP Data received {"connection_id":130120,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:32:16] local.INFO: Processing buffer {"connection_id":130120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:32:16] local.INFO: IMEI packet received {"connection_id":130120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":130120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:32:17] local.INFO: TCP Data received {"connection_id":130120,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:32:17] local.INFO: Processing buffer {"connection_id":130120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:32:17] local.INFO: Packet analysis {"connection_id":130120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:32:17] local.INFO: Extracted packet for processing {"connection_id":130120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:32:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:32:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:32:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:32:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:32:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":130120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:32:17] local.INFO: GPS data processed {"connection_id":130120,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:32:17] local.INFO: Acknowledgment sent {"connection_id":130120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:32:48] local.INFO: TCP Data received {"connection_id":130120,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:32:48] local.INFO: Processing buffer {"connection_id":130120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:32:48] local.INFO: Packet analysis {"connection_id":130120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:32:48] local.INFO: Extracted packet for processing {"connection_id":130120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:32:48] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:32:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:32:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":130120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:32:48] local.INFO: GPS data processed {"connection_id":130120,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:32:48] local.INFO: Acknowledgment sent {"connection_id":130120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:33:06] local.INFO: TCP Data received {"connection_id":128874,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:33:06] local.INFO: Processing buffer {"connection_id":128874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:33:06] local.INFO: IMEI packet received {"connection_id":128874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":128874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:33:11] local.INFO: TCP Data received {"connection_id":128874,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:33:11] local.INFO: Processing buffer {"connection_id":128874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:33:11] local.INFO: IMEI packet received {"connection_id":128874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":128874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:33:12] local.INFO: TCP Data received {"connection_id":128874,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:33:12] local.INFO: Processing buffer {"connection_id":128874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6478d0012cb29ac007823b28004700db30..."} 
[2026-07-11 00:33:12] local.INFO: Packet analysis {"connection_id":128874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:33:12] local.INFO: Extracted packet for processing {"connection_id":128874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d64"} 
[2026-07-11 00:33:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629646592001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783709858000,"timestamp_ms":1783709858000,"timestamp_seconds":1783709858,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6478d0"} 
[2026-07-11 00:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629646592001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629646592001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:33:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629646592001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":128874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:33:12] local.INFO: GPS data processed {"connection_id":128874,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:33:12] local.INFO: Acknowledgment sent {"connection_id":128874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:33:43] local.INFO: TCP Data received {"connection_id":128874,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:33:43] local.INFO: Processing buffer {"connection_id":128874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:33:43] local.INFO: Packet analysis {"connection_id":128874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:33:43] local.INFO: Extracted packet for processing {"connection_id":128874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:33:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:33:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":128874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:33:43] local.INFO: GPS data processed {"connection_id":128874,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:33:43] local.INFO: Acknowledgment sent {"connection_id":128874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:34:05] local.INFO: TCP Data received {"connection_id":130121,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:34:05] local.INFO: Processing buffer {"connection_id":130121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:34:05] local.INFO: IMEI packet received {"connection_id":130121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":130121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:34:10] local.INFO: TCP Data received {"connection_id":130121,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:34:10] local.INFO: Processing buffer {"connection_id":130121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:34:10] local.INFO: IMEI packet received {"connection_id":130121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":130121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:34:11] local.INFO: TCP Data received {"connection_id":130121,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:34:11] local.INFO: Processing buffer {"connection_id":130121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:34:11] local.INFO: Packet analysis {"connection_id":130121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:34:11] local.INFO: Extracted packet for processing {"connection_id":130121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:34:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":130121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:34:11] local.INFO: GPS data processed {"connection_id":130121,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:34:11] local.INFO: Acknowledgment sent {"connection_id":130121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:34:42] local.INFO: TCP Data received {"connection_id":130121,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:34:42] local.INFO: Processing buffer {"connection_id":130121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:34:42] local.INFO: Packet analysis {"connection_id":130121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:34:42] local.INFO: Extracted packet for processing {"connection_id":130121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":130121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:34:42] local.INFO: GPS data processed {"connection_id":130121,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:34:42] local.INFO: Acknowledgment sent {"connection_id":130121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:35:05] local.INFO: TCP Data received {"connection_id":128875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:35:05] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:35:05] local.INFO: IMEI packet received {"connection_id":128875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":128875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:35:11] local.INFO: TCP Data received {"connection_id":128875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:35:11] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:35:11] local.INFO: IMEI packet received {"connection_id":128875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":128875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:35:12] local.INFO: TCP Data received {"connection_id":128875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:35:12] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:35:12] local.INFO: Packet analysis {"connection_id":128875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:35:12] local.INFO: Extracted packet for processing {"connection_id":128875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:35:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:35:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":128875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:35:12] local.INFO: GPS data processed {"connection_id":128875,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:35:12] local.INFO: Acknowledgment sent {"connection_id":128875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:35:43] local.INFO: TCP Data received {"connection_id":128875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:35:43] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:35:43] local.INFO: Packet analysis {"connection_id":128875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:35:43] local.INFO: Extracted packet for processing {"connection_id":128875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:35:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:35:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":128875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:35:43] local.INFO: GPS data processed {"connection_id":128875,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:35:43] local.INFO: Acknowledgment sent {"connection_id":128875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:36:10] local.INFO: TCP Data received {"connection_id":128169,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:36:10] local.INFO: Processing buffer {"connection_id":128169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:36:10] local.INFO: IMEI packet received {"connection_id":128169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":128169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:36:16] local.INFO: TCP Data received {"connection_id":128169,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:36:16] local.INFO: Processing buffer {"connection_id":128169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:36:16] local.INFO: IMEI packet received {"connection_id":128169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":128169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:36:18] local.INFO: TCP Data received {"connection_id":128169,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:36:18] local.INFO: Processing buffer {"connection_id":128169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:36:18] local.INFO: Packet analysis {"connection_id":128169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:36:18] local.INFO: Extracted packet for processing {"connection_id":128169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:36:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:36:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:36:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:36:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:36:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":128169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:36:19] local.INFO: GPS data processed {"connection_id":128169,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:36:19] local.INFO: Acknowledgment sent {"connection_id":128169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:36:21] local.INFO: TCP Data received {"connection_id":128169,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:36:21] local.INFO: Processing buffer {"connection_id":128169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:36:21] local.INFO: Packet analysis {"connection_id":128169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:36:21] local.INFO: Extracted packet for processing {"connection_id":128169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":128169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:36:21] local.INFO: GPS data processed {"connection_id":128169,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:36:21] local.INFO: Acknowledgment sent {"connection_id":128169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:37:06] local.INFO: TCP Data received {"connection_id":128170,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:37:06] local.INFO: Processing buffer {"connection_id":128170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:37:06] local.INFO: IMEI packet received {"connection_id":128170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":128170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:37:11] local.INFO: TCP Data received {"connection_id":128170,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:37:11] local.INFO: Processing buffer {"connection_id":128170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:37:11] local.INFO: IMEI packet received {"connection_id":128170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":128170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:37:12] local.INFO: TCP Data received {"connection_id":128170,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:37:12] local.INFO: Processing buffer {"connection_id":128170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:37:12] local.INFO: Packet analysis {"connection_id":128170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:37:12] local.INFO: Extracted packet for processing {"connection_id":128170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:37:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:37:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":128170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:37:12] local.INFO: GPS data processed {"connection_id":128170,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:37:12] local.INFO: Acknowledgment sent {"connection_id":128170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:37:43] local.INFO: TCP Data received {"connection_id":128170,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:37:43] local.INFO: Processing buffer {"connection_id":128170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:37:43] local.INFO: Packet analysis {"connection_id":128170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:37:43] local.INFO: Extracted packet for processing {"connection_id":128170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":128170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:37:43] local.INFO: GPS data processed {"connection_id":128170,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:37:43] local.INFO: Acknowledgment sent {"connection_id":128170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:38:06] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:38:06] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:38:06] local.INFO: IMEI packet received {"connection_id":130122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":130122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:38:10] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:38:10] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:38:10] local.INFO: IMEI packet received {"connection_id":130122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":130122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:38:11] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:38:11] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d691098012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:38:11] local.INFO: Packet analysis {"connection_id":130122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:38:11] local.INFO: Extracted packet for processing {"connection_id":130122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d69"} 
[2026-07-11 00:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629723648001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783710159000,"timestamp_ms":1783710159000,"timestamp_seconds":1783710159,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d691098"} 
[2026-07-11 00:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00: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":211,"data_length":795,"current_offset":136} 
[2026-07-11 00:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629723648001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629723648001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629723648001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":130122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:38:11] local.INFO: GPS data processed {"connection_id":130122,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:38:11] local.INFO: Acknowledgment sent {"connection_id":130122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:38:14] local.INFO: TCP Data received {"connection_id":128876,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:14] local.INFO: Processing buffer {"connection_id":128876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:14] local.INFO: IMEI packet received {"connection_id":128876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":128876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:38:17] local.INFO: TCP Data received {"connection_id":128876,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:17] local.INFO: Processing buffer {"connection_id":128876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:17] local.INFO: IMEI packet received {"connection_id":128876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":128876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:38:21] local.INFO: TCP Data received {"connection_id":128876,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:21] local.INFO: Processing buffer {"connection_id":128876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:21] local.INFO: IMEI packet received {"connection_id":128876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 00:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":128876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:38:42] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:38:42] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:38:42] local.INFO: Packet analysis {"connection_id":130122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:38:42] local.INFO: Extracted packet for processing {"connection_id":130122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:38:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":130122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:38:42] local.INFO: GPS data processed {"connection_id":130122,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:38:42] local.INFO: Acknowledgment sent {"connection_id":130122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:38:47] local.INFO: TCP Data received {"connection_id":128877,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:47] local.INFO: Processing buffer {"connection_id":128877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:38:47] local.INFO: IMEI packet received {"connection_id":128877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":128877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:39:05] local.INFO: TCP Data received {"connection_id":128878,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:39:05] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:39:05] local.INFO: IMEI packet received {"connection_id":128878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":128878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:39:11] local.INFO: TCP Data received {"connection_id":128878,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:39:11] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:39:11] local.INFO: IMEI packet received {"connection_id":128878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":128878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:39:12] local.INFO: TCP Data received {"connection_id":128878,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:39:12] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:39:12] local.INFO: Packet analysis {"connection_id":128878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:39:12] local.INFO: Extracted packet for processing {"connection_id":128878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:39:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:39:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":128878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:39:12] local.INFO: GPS data processed {"connection_id":128878,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:39:12] local.INFO: Acknowledgment sent {"connection_id":128878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:39:43] local.INFO: TCP Data received {"connection_id":128878,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:39:43] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:39:43] local.INFO: Packet analysis {"connection_id":128878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:39:43] local.INFO: Extracted packet for processing {"connection_id":128878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:39:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:39:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:39:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":128878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:39:43] local.INFO: GPS data processed {"connection_id":128878,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:39:43] local.INFO: Acknowledgment sent {"connection_id":128878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:40:10] local.INFO: TCP Data received {"connection_id":127957,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:40:10] local.INFO: Processing buffer {"connection_id":127957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:40:10] local.INFO: IMEI packet received {"connection_id":127957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":127957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:40:16] local.INFO: TCP Data received {"connection_id":127957,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:40:16] local.INFO: Processing buffer {"connection_id":127957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:40:16] local.INFO: IMEI packet received {"connection_id":127957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":127957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:40:16] local.INFO: TCP Data received {"connection_id":127957,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:40:16] local.INFO: Processing buffer {"connection_id":127957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:40:16] local.INFO: Packet analysis {"connection_id":127957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:40:16] local.INFO: Extracted packet for processing {"connection_id":127957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:40:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:40:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":127957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:40:17] local.INFO: GPS data processed {"connection_id":127957,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:40:17] local.INFO: Acknowledgment sent {"connection_id":127957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:40:50] local.INFO: TCP Data received {"connection_id":127957,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:40:50] local.INFO: Processing buffer {"connection_id":127957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:40:50] local.INFO: Packet analysis {"connection_id":127957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:40:50] local.INFO: Extracted packet for processing {"connection_id":127957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:40:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:40:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":127957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:40:50] local.INFO: GPS data processed {"connection_id":127957,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:40:50] local.INFO: Acknowledgment sent {"connection_id":127957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:41:06] local.INFO: TCP Data received {"connection_id":130123,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:41:06] local.INFO: Processing buffer {"connection_id":130123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:41:06] local.INFO: IMEI packet received {"connection_id":130123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":130123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:41:11] local.INFO: TCP Data received {"connection_id":130123,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:41:11] local.INFO: Processing buffer {"connection_id":130123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:41:11] local.INFO: IMEI packet received {"connection_id":130123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":130123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:41:12] local.INFO: TCP Data received {"connection_id":130123,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:41:12] local.INFO: Processing buffer {"connection_id":130123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:41:12] local.INFO: Packet analysis {"connection_id":130123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:41:12] local.INFO: Extracted packet for processing {"connection_id":130123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:41:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:41:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":130123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:41:12] local.INFO: GPS data processed {"connection_id":130123,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:41:12] local.INFO: Acknowledgment sent {"connection_id":130123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:41:43] local.INFO: TCP Data received {"connection_id":130123,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:41:43] local.INFO: Processing buffer {"connection_id":130123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:41:43] local.INFO: Packet analysis {"connection_id":130123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:41:43] local.INFO: Extracted packet for processing {"connection_id":130123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:41:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:41:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":130123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:41:43] local.INFO: GPS data processed {"connection_id":130123,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:41:43] local.INFO: Acknowledgment sent {"connection_id":130123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:42:06] local.INFO: TCP Data received {"connection_id":128172,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:42:06] local.INFO: Processing buffer {"connection_id":128172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:42:06] local.INFO: IMEI packet received {"connection_id":128172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":128172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:42:11] local.INFO: TCP Data received {"connection_id":128172,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:42:11] local.INFO: Processing buffer {"connection_id":128172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:42:11] local.INFO: IMEI packet received {"connection_id":128172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":128172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:42:16] local.INFO: TCP Data received {"connection_id":128172,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:42:16] local.INFO: Processing buffer {"connection_id":128172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:42:16] local.INFO: IMEI packet received {"connection_id":128172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":128172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:42:17] local.INFO: TCP Data received {"connection_id":128172,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:42:17] local.INFO: Processing buffer {"connection_id":128172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:42:17] local.INFO: Packet analysis {"connection_id":128172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:42:17] local.INFO: Extracted packet for processing {"connection_id":128172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:42:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:42:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:42:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":128172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:42:17] local.INFO: GPS data processed {"connection_id":128172,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:42:17] local.INFO: Acknowledgment sent {"connection_id":128172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:42:50] local.INFO: TCP Data received {"connection_id":128172,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:42:50] local.INFO: Processing buffer {"connection_id":128172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:42:50] local.INFO: Packet analysis {"connection_id":128172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:42:50] local.INFO: Extracted packet for processing {"connection_id":128172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:42:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":128172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":128172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":128172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:42:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":128172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:42:50] local.INFO: GPS data processed {"connection_id":128172,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:42:50] local.INFO: Acknowledgment sent {"connection_id":128172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:43:06] local.INFO: TCP Data received {"connection_id":128174,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:43:06] local.INFO: Processing buffer {"connection_id":128174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:43:06] local.INFO: IMEI packet received {"connection_id":128174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":128174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:43:11] local.INFO: TCP Data received {"connection_id":128174,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:43:11] local.INFO: Processing buffer {"connection_id":128174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:43:11] local.INFO: IMEI packet received {"connection_id":128174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":128174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:43:12] local.INFO: TCP Data received {"connection_id":128174,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:43:12] local.INFO: Processing buffer {"connection_id":128174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d6da860012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:43:12] local.INFO: Packet analysis {"connection_id":128174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:43:12] local.INFO: Extracted packet for processing {"connection_id":128174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d6d"} 
[2026-07-11 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629800704001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783710460000,"timestamp_ms":1783710460000,"timestamp_seconds":1783710460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d6da860"} 
[2026-07-11 00:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629800704001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629800704001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:43:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629800704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":128174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:43:12] local.INFO: GPS data processed {"connection_id":128174,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:43:12] local.INFO: Acknowledgment sent {"connection_id":128174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:43:43] local.INFO: TCP Data received {"connection_id":128174,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:43:43] local.INFO: Processing buffer {"connection_id":128174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:43:43] local.INFO: Packet analysis {"connection_id":128174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:43:43] local.INFO: Extracted packet for processing {"connection_id":128174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:43:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:43:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":128174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:43:43] local.INFO: GPS data processed {"connection_id":128174,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:43:43] local.INFO: Acknowledgment sent {"connection_id":128174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:43:50] local.INFO: TCP Data received {"connection_id":130125,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:43:50] local.INFO: Processing buffer {"connection_id":130125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:43:50] local.INFO: IMEI packet received {"connection_id":130125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":130125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:44:10] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:44:10] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:44:10] local.INFO: IMEI packet received {"connection_id":130126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":130126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:44:16] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:44:16] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:44:16] local.INFO: IMEI packet received {"connection_id":130126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":130126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:44:19] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:44:19] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:44:19] local.INFO: Packet analysis {"connection_id":130126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:44:19] local.INFO: Extracted packet for processing {"connection_id":130126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:44:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:44:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00: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-07-11 00:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:44:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:44:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:44:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":130126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:44:19] local.INFO: GPS data processed {"connection_id":130126,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:44:19] local.INFO: Acknowledgment sent {"connection_id":130126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:44:21] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:44:21] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:44:21] local.INFO: Packet analysis {"connection_id":130126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:44:21] local.INFO: Extracted packet for processing {"connection_id":130126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:44:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:44:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":130126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:44:21] local.INFO: GPS data processed {"connection_id":130126,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:44:21] local.INFO: Acknowledgment sent {"connection_id":130126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:45:06] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:45:06] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:45:06] local.INFO: IMEI packet received {"connection_id":128879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":128879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:45:11] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:45:11] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:45:11] local.INFO: IMEI packet received {"connection_id":128879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":128879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:45:12] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:45:12] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:45:12] local.INFO: Packet analysis {"connection_id":128879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:45:12] local.INFO: Extracted packet for processing {"connection_id":128879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:45:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00: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-07-11 00:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:45:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":128879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:45:12] local.INFO: GPS data processed {"connection_id":128879,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:45:12] local.INFO: Acknowledgment sent {"connection_id":128879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:45:16] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:45:16] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:45:16] local.INFO: Packet analysis {"connection_id":128879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:45:16] local.INFO: Extracted packet for processing {"connection_id":128879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:45:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:45:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:45:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:45:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":128879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:45:16] local.INFO: GPS data processed {"connection_id":128879,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:45:16] local.INFO: Acknowledgment sent {"connection_id":128879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:45:47] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:45:47] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:45:47] local.INFO: Packet analysis {"connection_id":128879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:45:47] local.INFO: Extracted packet for processing {"connection_id":128879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:45:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:45:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:45:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:45:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":128879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:45:47] local.INFO: GPS data processed {"connection_id":128879,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:45:47] local.INFO: Acknowledgment sent {"connection_id":128879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:46:05] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:46:05] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:46:05] local.INFO: IMEI packet received {"connection_id":130127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":130127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:46:10] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:46:10] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:46:10] local.INFO: IMEI packet received {"connection_id":130127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":130127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:46:13] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:46:13] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:46:13] local.INFO: Packet analysis {"connection_id":130127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:46:13] local.INFO: Extracted packet for processing {"connection_id":130127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:46:13] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:46:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:46:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":130127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:46:13] local.INFO: GPS data processed {"connection_id":130127,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:46:13] local.INFO: Acknowledgment sent {"connection_id":130127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:46:44] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:46:44] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:46:44] local.INFO: Packet analysis {"connection_id":130127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:46:44] local.INFO: Extracted packet for processing {"connection_id":130127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:46:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:46:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00: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-07-11 00:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:46:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:46:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":130127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:46:44] local.INFO: GPS data processed {"connection_id":130127,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:46:44] local.INFO: Acknowledgment sent {"connection_id":130127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:47:05] local.INFO: TCP Data received {"connection_id":128177,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:47:05] local.INFO: Processing buffer {"connection_id":128177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:47:05] local.INFO: IMEI packet received {"connection_id":128177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:47:11] local.INFO: TCP Data received {"connection_id":128177,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:47:11] local.INFO: Processing buffer {"connection_id":128177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:47:11] local.INFO: IMEI packet received {"connection_id":128177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":128177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:47:12] local.INFO: TCP Data received {"connection_id":128177,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:47:12] local.INFO: Processing buffer {"connection_id":128177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:47:12] local.INFO: Packet analysis {"connection_id":128177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:47:12] local.INFO: Extracted packet for processing {"connection_id":128177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:47:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:47:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":128177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:47:12] local.INFO: GPS data processed {"connection_id":128177,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:47:12] local.INFO: Acknowledgment sent {"connection_id":128177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:47:43] local.INFO: TCP Data received {"connection_id":128177,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:47:43] local.INFO: Processing buffer {"connection_id":128177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:47:43] local.INFO: Packet analysis {"connection_id":128177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:47:43] local.INFO: Extracted packet for processing {"connection_id":128177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:47:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:47:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":128177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:47:43] local.INFO: GPS data processed {"connection_id":128177,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:47:43] local.INFO: Acknowledgment sent {"connection_id":128177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:48:10] local.INFO: TCP Data received {"connection_id":128178,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:48:10] local.INFO: Processing buffer {"connection_id":128178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:48:10] local.INFO: IMEI packet received {"connection_id":128178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":128178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:48:16] local.INFO: TCP Data received {"connection_id":128178,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:48:16] local.INFO: Processing buffer {"connection_id":128178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:48:16] local.INFO: IMEI packet received {"connection_id":128178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":128178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:48:17] local.INFO: TCP Data received {"connection_id":128178,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:48:17] local.INFO: Processing buffer {"connection_id":128178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d724028012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:48:17] local.INFO: Packet analysis {"connection_id":128178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:48:17] local.INFO: Extracted packet for processing {"connection_id":128178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d72"} 
[2026-07-11 00:48:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629877760001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:48:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783710761000,"timestamp_ms":1783710761000,"timestamp_seconds":1783710761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d724028"} 
[2026-07-11 00:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629877760001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629877760001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:48:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:48:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:48:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629877760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":128178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:48:17] local.INFO: GPS data processed {"connection_id":128178,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:48:17] local.INFO: Acknowledgment sent {"connection_id":128178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:48:48] local.INFO: TCP Data received {"connection_id":128178,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:48:48] local.INFO: Processing buffer {"connection_id":128178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:48:48] local.INFO: Packet analysis {"connection_id":128178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:48:48] local.INFO: Extracted packet for processing {"connection_id":128178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:48:48] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:48:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:48:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:48:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":128178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:48:48] local.INFO: GPS data processed {"connection_id":128178,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:48:48] local.INFO: Acknowledgment sent {"connection_id":128178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:49:02] local.INFO: TCP Data received {"connection_id":127961,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:49:02] local.INFO: Processing buffer {"connection_id":127961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:49:02] local.INFO: IMEI packet received {"connection_id":127961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":127961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:49:06] local.INFO: TCP Data received {"connection_id":128880,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:49:06] local.INFO: Processing buffer {"connection_id":128880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:49:06] local.INFO: IMEI packet received {"connection_id":128880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":128880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:49:11] local.INFO: TCP Data received {"connection_id":128880,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:49:11] local.INFO: Processing buffer {"connection_id":128880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:49:11] local.INFO: IMEI packet received {"connection_id":128880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":128880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:49:12] local.INFO: TCP Data received {"connection_id":128880,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:49:12] local.INFO: Processing buffer {"connection_id":128880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:49:12] local.INFO: Packet analysis {"connection_id":128880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:49:12] local.INFO: Extracted packet for processing {"connection_id":128880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:49:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:49:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":128880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:49:12] local.INFO: GPS data processed {"connection_id":128880,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:49:12] local.INFO: Acknowledgment sent {"connection_id":128880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:49:43] local.INFO: TCP Data received {"connection_id":128880,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:49:43] local.INFO: Processing buffer {"connection_id":128880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:49:43] local.INFO: Packet analysis {"connection_id":128880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:49:43] local.INFO: Extracted packet for processing {"connection_id":128880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:49:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:49:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":128880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:49:43] local.INFO: GPS data processed {"connection_id":128880,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:49:43] local.INFO: Acknowledgment sent {"connection_id":128880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:49:47] local.INFO: TCP Data received {"connection_id":130128,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:49:47] local.INFO: Processing buffer {"connection_id":130128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:49:47] local.INFO: IMEI packet received {"connection_id":130128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":130128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:50:05] local.INFO: TCP Data received {"connection_id":128881,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:50:05] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:50:05] local.INFO: IMEI packet received {"connection_id":128881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":128881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:50:10] local.INFO: TCP Data received {"connection_id":128881,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:50:10] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:50:10] local.INFO: IMEI packet received {"connection_id":128881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":128881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:50:11] local.INFO: TCP Data received {"connection_id":128881,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:50:11] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:50:11] local.INFO: Packet analysis {"connection_id":128881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:50:11] local.INFO: Extracted packet for processing {"connection_id":128881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:50:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":128881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:50:11] local.INFO: GPS data processed {"connection_id":128881,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:50:11] local.INFO: Acknowledgment sent {"connection_id":128881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:50:42] local.INFO: TCP Data received {"connection_id":128881,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:50:42] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:50:42] local.INFO: Packet analysis {"connection_id":128881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:50:42] local.INFO: Extracted packet for processing {"connection_id":128881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":128881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:50:42] local.INFO: GPS data processed {"connection_id":128881,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:50:42] local.INFO: Acknowledgment sent {"connection_id":128881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:51:05] local.INFO: TCP Data received {"connection_id":127963,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:51:05] local.INFO: Processing buffer {"connection_id":127963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:51:05] local.INFO: IMEI packet received {"connection_id":127963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":127963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:51:11] local.INFO: TCP Data received {"connection_id":127963,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:51:11] local.INFO: Processing buffer {"connection_id":127963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:51:11] local.INFO: IMEI packet received {"connection_id":127963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":127963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:51:12] local.INFO: TCP Data received {"connection_id":127963,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:51:12] local.INFO: Processing buffer {"connection_id":127963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:51:12] local.INFO: Packet analysis {"connection_id":127963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:51:12] local.INFO: Extracted packet for processing {"connection_id":127963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:51:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:51:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":127963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:51:12] local.INFO: GPS data processed {"connection_id":127963,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:51:12] local.INFO: Acknowledgment sent {"connection_id":127963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:51:43] local.INFO: TCP Data received {"connection_id":127963,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:51:43] local.INFO: Processing buffer {"connection_id":127963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:51:43] local.INFO: Packet analysis {"connection_id":127963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:51:43] local.INFO: Extracted packet for processing {"connection_id":127963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:51:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:51:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:51:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:51:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":127963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:51:43] local.INFO: GPS data processed {"connection_id":127963,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:51:43] local.INFO: Acknowledgment sent {"connection_id":127963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:52:10] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:52:10] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:52:10] local.INFO: IMEI packet received {"connection_id":130130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":130130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:52:16] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:52:16] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:52:16] local.INFO: IMEI packet received {"connection_id":130130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":130130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:52:17] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:52:17] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:52:17] local.INFO: Packet analysis {"connection_id":130130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:52:17] local.INFO: Extracted packet for processing {"connection_id":130130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:52:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:52:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:52:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:52:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":130130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:52:17] local.INFO: GPS data processed {"connection_id":130130,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:52:17] local.INFO: Acknowledgment sent {"connection_id":130130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:52:48] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:52:48] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:52:48] local.INFO: Packet analysis {"connection_id":130130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:52:48] local.INFO: Extracted packet for processing {"connection_id":130130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:52:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:52:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:52:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:52:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":130130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:52:48] local.INFO: GPS data processed {"connection_id":130130,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:52:48] local.INFO: Acknowledgment sent {"connection_id":130130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:53:06] local.INFO: TCP Data received {"connection_id":128882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:53:06] local.INFO: Processing buffer {"connection_id":128882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:53:06] local.INFO: IMEI packet received {"connection_id":128882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":128882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:53:11] local.INFO: TCP Data received {"connection_id":128882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:53:11] local.INFO: Processing buffer {"connection_id":128882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:53:11] local.INFO: IMEI packet received {"connection_id":128882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":128882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:53:12] local.INFO: TCP Data received {"connection_id":128882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:53:12] local.INFO: Processing buffer {"connection_id":128882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d76d7f0012cb29ac007823b28004700db2e..."} 
[2026-07-11 00:53:12] local.INFO: Packet analysis {"connection_id":128882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:53:12] local.INFO: Extracted packet for processing {"connection_id":128882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d76"} 
[2026-07-11 00:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456629954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783711062000,"timestamp_ms":1783711062000,"timestamp_seconds":1783711062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d76d7f0"} 
[2026-07-11 00:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456629954816001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456629954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:53:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456629954816001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":128882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:53:12] local.INFO: GPS data processed {"connection_id":128882,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:53:12] local.INFO: Acknowledgment sent {"connection_id":128882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:53:43] local.INFO: TCP Data received {"connection_id":128882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:53:43] local.INFO: Processing buffer {"connection_id":128882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:53:43] local.INFO: Packet analysis {"connection_id":128882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:53:43] local.INFO: Extracted packet for processing {"connection_id":128882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":128882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:53:43] local.INFO: GPS data processed {"connection_id":128882,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:53:43] local.INFO: Acknowledgment sent {"connection_id":128882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:54:05] local.INFO: TCP Data received {"connection_id":127965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:54:05] local.INFO: Processing buffer {"connection_id":127965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:54:05] local.INFO: IMEI packet received {"connection_id":127965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":127965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:54:10] local.INFO: TCP Data received {"connection_id":127965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:54:10] local.INFO: Processing buffer {"connection_id":127965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:54:10] local.INFO: IMEI packet received {"connection_id":127965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":127965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:54:11] local.INFO: TCP Data received {"connection_id":127965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:54:11] local.INFO: Processing buffer {"connection_id":127965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:54:11] local.INFO: Packet analysis {"connection_id":127965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:54:11] local.INFO: Extracted packet for processing {"connection_id":127965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:54:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:54:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":127965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:54:11] local.INFO: GPS data processed {"connection_id":127965,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:54:11] local.INFO: Acknowledgment sent {"connection_id":127965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:54:42] local.INFO: TCP Data received {"connection_id":127965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:54:42] local.INFO: Processing buffer {"connection_id":127965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:54:42] local.INFO: Packet analysis {"connection_id":127965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:54:42] local.INFO: Extracted packet for processing {"connection_id":127965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:54:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:54:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":127965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:54:42] local.INFO: GPS data processed {"connection_id":127965,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:54:42] local.INFO: Acknowledgment sent {"connection_id":127965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:55:01] local.INFO: TCP Data received {"connection_id":130131,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:55:01] local.INFO: Processing buffer {"connection_id":130131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:55:01] local.INFO: IMEI packet received {"connection_id":130131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":130131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:55:05] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:55:05] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:55:05] local.INFO: IMEI packet received {"connection_id":130132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":130132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:55:11] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:55:11] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:55:11] local.INFO: IMEI packet received {"connection_id":130132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":130132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:55:12] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:55:12] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:55:12] local.INFO: Packet analysis {"connection_id":130132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:55:12] local.INFO: Extracted packet for processing {"connection_id":130132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:55:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":130132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:55:12] local.INFO: GPS data processed {"connection_id":130132,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:55:12] local.INFO: Acknowledgment sent {"connection_id":130132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:55:43] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:55:43] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:55:43] local.INFO: Packet analysis {"connection_id":130132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:55:43] local.INFO: Extracted packet for processing {"connection_id":130132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:55:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:55:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:55:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:55:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":130132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:55:43] local.INFO: GPS data processed {"connection_id":130132,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:55:43] local.INFO: Acknowledgment sent {"connection_id":130132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:55:48] local.INFO: TCP Data received {"connection_id":128883,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:55:48] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 00:55:48] local.INFO: IMEI packet received {"connection_id":128883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 00:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":128883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:56:10] local.INFO: TCP Data received {"connection_id":127966,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:56:10] local.INFO: Processing buffer {"connection_id":127966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:56:10] local.INFO: IMEI packet received {"connection_id":127966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":127966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:56:16] local.INFO: TCP Data received {"connection_id":127966,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:56:16] local.INFO: Processing buffer {"connection_id":127966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:56:16] local.INFO: IMEI packet received {"connection_id":127966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":127966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:56:17] local.INFO: TCP Data received {"connection_id":127966,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:56:17] local.INFO: Processing buffer {"connection_id":127966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:56:17] local.INFO: Packet analysis {"connection_id":127966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:56:17] local.INFO: Extracted packet for processing {"connection_id":127966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:56:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:56:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":127966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":127966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":127966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:56:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:56:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:56:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":127966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:56:17] local.INFO: GPS data processed {"connection_id":127966,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:56:17] local.INFO: Acknowledgment sent {"connection_id":127966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:56:50] local.INFO: TCP Data received {"connection_id":127966,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:56:50] local.INFO: Processing buffer {"connection_id":127966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:56:50] local.INFO: Packet analysis {"connection_id":127966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:56:50] local.INFO: Extracted packet for processing {"connection_id":127966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:56:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00: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-07-11 00:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00: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-07-11 00:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:56:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":127966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:56:50] local.INFO: GPS data processed {"connection_id":127966,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:56:50] local.INFO: Acknowledgment sent {"connection_id":127966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:57:06] local.INFO: TCP Data received {"connection_id":127967,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:57:06] local.INFO: Processing buffer {"connection_id":127967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:57:06] local.INFO: IMEI packet received {"connection_id":127967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":127967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:57:11] local.INFO: TCP Data received {"connection_id":127967,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:57:11] local.INFO: Processing buffer {"connection_id":127967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:57:11] local.INFO: IMEI packet received {"connection_id":127967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":127967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:57:12] local.INFO: TCP Data received {"connection_id":127967,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:57:12] local.INFO: Processing buffer {"connection_id":127967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:57:12] local.INFO: Packet analysis {"connection_id":127967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:57:12] local.INFO: Extracted packet for processing {"connection_id":127967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:57:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:57:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":127967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:57:12] local.INFO: GPS data processed {"connection_id":127967,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:57:12] local.INFO: Acknowledgment sent {"connection_id":127967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:57:43] local.INFO: TCP Data received {"connection_id":127967,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:57:43] local.INFO: Processing buffer {"connection_id":127967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:57:43] local.INFO: Packet analysis {"connection_id":127967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:57:43] local.INFO: Extracted packet for processing {"connection_id":127967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:57:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:57:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:57:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":127967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:57:43] local.INFO: GPS data processed {"connection_id":127967,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:57:43] local.INFO: Acknowledgment sent {"connection_id":127967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:58:06] local.INFO: TCP Data received {"connection_id":128181,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:58:06] local.INFO: Processing buffer {"connection_id":128181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:58:06] local.INFO: IMEI packet received {"connection_id":128181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":128181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:58:10] local.INFO: TCP Data received {"connection_id":128181,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:58:10] local.INFO: Processing buffer {"connection_id":128181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:58:10] local.INFO: IMEI packet received {"connection_id":128181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:58:11] local.INFO: TCP Data received {"connection_id":128181,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:58:11] local.INFO: Processing buffer {"connection_id":128181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d7b6fb8012cb29ac007823b28004700db2d..."} 
[2026-07-11 00:58:11] local.INFO: Packet analysis {"connection_id":128181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:58:11] local.INFO: Extracted packet for processing {"connection_id":128181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d7b"} 
[2026-07-11 00:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630031872001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783711363000,"timestamp_ms":1783711363000,"timestamp_seconds":1783711363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d7b6fb8"} 
[2026-07-11 00:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 00:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630031872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630031872001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630031872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":128181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:58:11] local.INFO: GPS data processed {"connection_id":128181,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:58:11] local.INFO: Acknowledgment sent {"connection_id":128181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:58:44] local.INFO: TCP Data received {"connection_id":128181,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:58:44] local.INFO: Processing buffer {"connection_id":128181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:58:44] local.INFO: Packet analysis {"connection_id":128181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 00:58:44] local.INFO: Extracted packet for processing {"connection_id":128181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:58:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 00:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:58:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:58:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":128181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:58:44] local.INFO: GPS data processed {"connection_id":128181,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:58:44] local.INFO: Acknowledgment sent {"connection_id":128181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:59:11] local.INFO: TCP Data received {"connection_id":128886,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:59:11] local.INFO: Processing buffer {"connection_id":128886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:59:11] local.INFO: IMEI packet received {"connection_id":128886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 00:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":128886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 00:59:16] local.INFO: TCP Data received {"connection_id":128886,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:59:16] local.INFO: Processing buffer {"connection_id":128886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 00:59:16] local.INFO: IMEI packet received {"connection_id":128886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 00:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":128886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 00:59:16] local.INFO: TCP Data received {"connection_id":128886,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:59:16] local.INFO: Processing buffer {"connection_id":128886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:59:16] local.INFO: Packet analysis {"connection_id":128886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 00:59:16] local.INFO: Extracted packet for processing {"connection_id":128886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 00:59:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 00:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:59:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":128886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:59:16] local.INFO: GPS data processed {"connection_id":128886,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:59:16] local.INFO: Acknowledgment sent {"connection_id":128886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 00:59:21] local.INFO: TCP Data received {"connection_id":128886,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:59:21] local.INFO: Processing buffer {"connection_id":128886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 00:59:21] local.INFO: Packet analysis {"connection_id":128886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 00:59:21] local.INFO: Extracted packet for processing {"connection_id":128886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 00:59:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 00:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 00:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 00:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 00:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 00:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 00:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 00:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 00:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 00:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 00:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 00:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 00:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 00:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 00:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 00:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 00:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 00:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 00:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 00:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 00:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 00:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 00:59:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 00:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 00:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 00:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 00:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 00:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":128886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 00:59:21] local.INFO: GPS data processed {"connection_id":128886,"processed":1,"errors":0,"total":1} 
[2026-07-11 00:59:21] local.INFO: Acknowledgment sent {"connection_id":128886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:00:06] local.INFO: TCP Data received {"connection_id":127968,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:00:06] local.INFO: Processing buffer {"connection_id":127968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:00:06] local.INFO: IMEI packet received {"connection_id":127968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":127968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:00:10] local.INFO: TCP Data received {"connection_id":127968,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:00:10] local.INFO: Processing buffer {"connection_id":127968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:00:10] local.INFO: IMEI packet received {"connection_id":127968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":127968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:00:11] local.INFO: TCP Data received {"connection_id":127968,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:00:11] local.INFO: Processing buffer {"connection_id":127968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:00:11] local.INFO: Packet analysis {"connection_id":127968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:00:11] local.INFO: Extracted packet for processing {"connection_id":127968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:00:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 01:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:00:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":127968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:00:11] local.INFO: GPS data processed {"connection_id":127968,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:00:11] local.INFO: Acknowledgment sent {"connection_id":127968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:00:42] local.INFO: TCP Data received {"connection_id":127968,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:00:42] local.INFO: Processing buffer {"connection_id":127968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:00:42] local.INFO: Packet analysis {"connection_id":127968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:00:42] local.INFO: Extracted packet for processing {"connection_id":127968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 01:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:00:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":127968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:00:42] local.INFO: GPS data processed {"connection_id":127968,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:00:42] local.INFO: Acknowledgment sent {"connection_id":127968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:00:52] local.INFO: TCP Data received {"connection_id":128182,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:00:52] local.INFO: Processing buffer {"connection_id":128182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:00:52] local.INFO: IMEI packet received {"connection_id":128182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":128182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:01:06] local.INFO: TCP Data received {"connection_id":128183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:01:06] local.INFO: Processing buffer {"connection_id":128183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:01:06] local.INFO: IMEI packet received {"connection_id":128183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":128183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:01:11] local.INFO: TCP Data received {"connection_id":128183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:01:11] local.INFO: Processing buffer {"connection_id":128183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:01:11] local.INFO: IMEI packet received {"connection_id":128183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":128183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:01:12] local.INFO: TCP Data received {"connection_id":128183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:01:12] local.INFO: Processing buffer {"connection_id":128183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:01:12] local.INFO: Packet analysis {"connection_id":128183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:01:12] local.INFO: Extracted packet for processing {"connection_id":128183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:01:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 01:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:01:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":128183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:01:12] local.INFO: GPS data processed {"connection_id":128183,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:01:12] local.INFO: Acknowledgment sent {"connection_id":128183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:01:43] local.INFO: TCP Data received {"connection_id":128183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:01:43] local.INFO: Processing buffer {"connection_id":128183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:01:43] local.INFO: Packet analysis {"connection_id":128183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:01:43] local.INFO: Extracted packet for processing {"connection_id":128183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:01:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:01:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 01:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:01:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:01:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":128183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:01:43] local.INFO: GPS data processed {"connection_id":128183,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:01:43] local.INFO: Acknowledgment sent {"connection_id":128183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:02:06] local.INFO: TCP Data received {"connection_id":127969,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:02:06] local.INFO: Processing buffer {"connection_id":127969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:02:06] local.INFO: IMEI packet received {"connection_id":127969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":127969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:02:10] local.INFO: TCP Data received {"connection_id":127969,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:02:10] local.INFO: Processing buffer {"connection_id":127969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:02:10] local.INFO: IMEI packet received {"connection_id":127969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":127969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:02:11] local.INFO: TCP Data received {"connection_id":127969,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:02:11] local.INFO: Processing buffer {"connection_id":127969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:02:11] local.INFO: Packet analysis {"connection_id":127969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:02:11] local.INFO: Extracted packet for processing {"connection_id":127969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 01:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01: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-07-11 01: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-07-11 01:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":127969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:02:11] local.INFO: GPS data processed {"connection_id":127969,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:02:11] local.INFO: Acknowledgment sent {"connection_id":127969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:02:45] local.INFO: TCP Data received {"connection_id":127969,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:02:45] local.INFO: Processing buffer {"connection_id":127969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:02:45] local.INFO: Packet analysis {"connection_id":127969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:02:45] local.INFO: Extracted packet for processing {"connection_id":127969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:02:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 01:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01: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-07-11 01:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":127969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":127969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":127969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:02:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":127969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:02:45] local.INFO: GPS data processed {"connection_id":127969,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:02:45] local.INFO: Acknowledgment sent {"connection_id":127969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:03:05] local.INFO: TCP Data received {"connection_id":128184,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:03:05] local.INFO: Processing buffer {"connection_id":128184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:03:05] local.INFO: IMEI packet received {"connection_id":128184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:03:11] local.INFO: TCP Data received {"connection_id":128184,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:03:11] local.INFO: Processing buffer {"connection_id":128184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:03:11] local.INFO: IMEI packet received {"connection_id":128184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":128184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:03:12] local.INFO: TCP Data received {"connection_id":128184,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:03:12] local.INFO: Processing buffer {"connection_id":128184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d800780012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:03:12] local.INFO: Packet analysis {"connection_id":128184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:03:12] local.INFO: Extracted packet for processing {"connection_id":128184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d80"} 
[2026-07-11 01:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630108928001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783711664000,"timestamp_ms":1783711664000,"timestamp_seconds":1783711664,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d800780"} 
[2026-07-11 01:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630108928001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630108928001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:03:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630108928001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":128184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:03:12] local.INFO: GPS data processed {"connection_id":128184,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:03:12] local.INFO: Acknowledgment sent {"connection_id":128184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:03:42] local.INFO: TCP Data received {"connection_id":128184,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:03:42] local.INFO: Processing buffer {"connection_id":128184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:03:42] local.INFO: Packet analysis {"connection_id":128184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:03:42] local.INFO: Extracted packet for processing {"connection_id":128184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:03:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":128184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:03:42] local.INFO: GPS data processed {"connection_id":128184,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:03:42] local.INFO: Acknowledgment sent {"connection_id":128184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:04:06] local.INFO: TCP Data received {"connection_id":127971,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:04:06] local.INFO: Processing buffer {"connection_id":127971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:04:06] local.INFO: IMEI packet received {"connection_id":127971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":127971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:04:10] local.INFO: TCP Data received {"connection_id":127971,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:04:10] local.INFO: Processing buffer {"connection_id":127971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:04:10] local.INFO: IMEI packet received {"connection_id":127971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":127971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:04:11] local.INFO: TCP Data received {"connection_id":127971,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:04:11] local.INFO: Processing buffer {"connection_id":127971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:04:11] local.INFO: Packet analysis {"connection_id":127971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:04:11] local.INFO: Extracted packet for processing {"connection_id":127971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:04:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":127971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:04:11] local.INFO: GPS data processed {"connection_id":127971,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:04:11] local.INFO: Acknowledgment sent {"connection_id":127971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:04:42] local.INFO: TCP Data received {"connection_id":127971,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:04:42] local.INFO: Processing buffer {"connection_id":127971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:04:42] local.INFO: Packet analysis {"connection_id":127971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:04:42] local.INFO: Extracted packet for processing {"connection_id":127971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:04:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:04:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":127971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:04:42] local.INFO: GPS data processed {"connection_id":127971,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:04:42] local.INFO: Acknowledgment sent {"connection_id":127971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:05:06] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:05:06] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:05:06] local.INFO: IMEI packet received {"connection_id":130136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":130136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:05:11] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:05:11] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:05:11] local.INFO: IMEI packet received {"connection_id":130136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":130136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:05:12] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:05:12] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:05:12] local.INFO: Packet analysis {"connection_id":130136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:05:12] local.INFO: Extracted packet for processing {"connection_id":130136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:05:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:05:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:05:12] local.INFO: GPS data processed {"connection_id":130136,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:05:12] local.INFO: Acknowledgment sent {"connection_id":130136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:05:43] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:05:43] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:05:43] local.INFO: Packet analysis {"connection_id":130136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:05:43] local.INFO: Extracted packet for processing {"connection_id":130136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:05:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:05:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":130136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:05:43] local.INFO: GPS data processed {"connection_id":130136,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:05:43] local.INFO: Acknowledgment sent {"connection_id":130136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:06:05] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:06:05] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:06:05] local.INFO: IMEI packet received {"connection_id":130137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":130137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:06:10] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:06:10] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:06:10] local.INFO: IMEI packet received {"connection_id":130137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":130137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:06:11] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:06:11] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:06:11] local.INFO: Packet analysis {"connection_id":130137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:06:11] local.INFO: Extracted packet for processing {"connection_id":130137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:06:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":130137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:06:11] local.INFO: GPS data processed {"connection_id":130137,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:06:11] local.INFO: Acknowledgment sent {"connection_id":130137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:06:17] local.INFO: TCP Data received {"connection_id":128888,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:06:17] local.INFO: Processing buffer {"connection_id":128888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:06:17] local.INFO: IMEI packet received {"connection_id":128888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":128888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:06:42] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:06:42] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:06:42] local.INFO: Packet analysis {"connection_id":130137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:06:42] local.INFO: Extracted packet for processing {"connection_id":130137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:06:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:06:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":130137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:06:42] local.INFO: GPS data processed {"connection_id":130137,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:06:42] local.INFO: Acknowledgment sent {"connection_id":130137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:06:47] local.INFO: TCP Data received {"connection_id":127973,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:06:47] local.INFO: Processing buffer {"connection_id":127973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:06:47] local.INFO: IMEI packet received {"connection_id":127973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":127973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:07:11] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:07:11] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:07:11] local.INFO: IMEI packet received {"connection_id":130138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":130138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:07:16] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:07:16] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:07:16] local.INFO: IMEI packet received {"connection_id":130138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":130138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:07:17] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:07:17] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:07:17] local.INFO: Packet analysis {"connection_id":130138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:07:17] local.INFO: Extracted packet for processing {"connection_id":130138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:07:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:07:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:07:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":130138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:07:17] local.INFO: GPS data processed {"connection_id":130138,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:07:17] local.INFO: Acknowledgment sent {"connection_id":130138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:07:21] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:07:21] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:07:21] local.INFO: Packet analysis {"connection_id":130138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:07:21] local.INFO: Extracted packet for processing {"connection_id":130138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:07:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:07:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":130138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:07:21] local.INFO: GPS data processed {"connection_id":130138,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:07:21] local.INFO: Acknowledgment sent {"connection_id":130138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:08:06] local.INFO: TCP Data received {"connection_id":128889,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:08:06] local.INFO: Processing buffer {"connection_id":128889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:08:06] local.INFO: IMEI packet received {"connection_id":128889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":128889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:08:10] local.INFO: TCP Data received {"connection_id":128889,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:08:10] local.INFO: Processing buffer {"connection_id":128889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:08:10] local.INFO: IMEI packet received {"connection_id":128889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":128889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:08:11] local.INFO: TCP Data received {"connection_id":128889,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:08:11] local.INFO: Processing buffer {"connection_id":128889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d849f48012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:08:11] local.INFO: Packet analysis {"connection_id":128889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:08:11] local.INFO: Extracted packet for processing {"connection_id":128889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d84"} 
[2026-07-11 01:08:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630185984001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783711965000,"timestamp_ms":1783711965000,"timestamp_seconds":1783711965,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d849f48"} 
[2026-07-11 01:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630185984001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630185984001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:08:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630185984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":128889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:08:11] local.INFO: GPS data processed {"connection_id":128889,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:08:11] local.INFO: Acknowledgment sent {"connection_id":128889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:08:42] local.INFO: TCP Data received {"connection_id":128889,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:08:42] local.INFO: Processing buffer {"connection_id":128889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:08:42] local.INFO: Packet analysis {"connection_id":128889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:08:42] local.INFO: Extracted packet for processing {"connection_id":128889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:08:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:08:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":128889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:08:42] local.INFO: GPS data processed {"connection_id":128889,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:08:42] local.INFO: Acknowledgment sent {"connection_id":128889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:09:06] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:09:06] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:09:06] local.INFO: IMEI packet received {"connection_id":128890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":128890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:09:10] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:09:10] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:09:10] local.INFO: IMEI packet received {"connection_id":128890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":128890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:09:11] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:09:11] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:09:11] local.INFO: Packet analysis {"connection_id":128890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:09:11] local.INFO: Extracted packet for processing {"connection_id":128890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":128890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:09:11] local.INFO: GPS data processed {"connection_id":128890,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:09:11] local.INFO: Acknowledgment sent {"connection_id":128890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:09:42] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:09:42] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:09:42] local.INFO: Packet analysis {"connection_id":128890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:09:42] local.INFO: Extracted packet for processing {"connection_id":128890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:09:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":128890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:09:42] local.INFO: GPS data processed {"connection_id":128890,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:09:42] local.INFO: Acknowledgment sent {"connection_id":128890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:10:05] local.INFO: TCP Data received {"connection_id":128891,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:10:05] local.INFO: Processing buffer {"connection_id":128891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:10:05] local.INFO: IMEI packet received {"connection_id":128891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":128891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:10:10] local.INFO: TCP Data received {"connection_id":128891,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:10:10] local.INFO: Processing buffer {"connection_id":128891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:10:10] local.INFO: IMEI packet received {"connection_id":128891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":128891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:10:11] local.INFO: TCP Data received {"connection_id":128891,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:10:11] local.INFO: Processing buffer {"connection_id":128891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:10:11] local.INFO: Packet analysis {"connection_id":128891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:10:11] local.INFO: Extracted packet for processing {"connection_id":128891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":128891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:10:11] local.INFO: GPS data processed {"connection_id":128891,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:10:11] local.INFO: Acknowledgment sent {"connection_id":128891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:10:42] local.INFO: TCP Data received {"connection_id":128891,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:10:42] local.INFO: Processing buffer {"connection_id":128891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:10:42] local.INFO: Packet analysis {"connection_id":128891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:10:42] local.INFO: Extracted packet for processing {"connection_id":128891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":128891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:10:42] local.INFO: GPS data processed {"connection_id":128891,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:10:42] local.INFO: Acknowledgment sent {"connection_id":128891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:11:11] local.INFO: TCP Data received {"connection_id":127976,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:11:11] local.INFO: Processing buffer {"connection_id":127976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:11:11] local.INFO: IMEI packet received {"connection_id":127976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":127976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:11:16] local.INFO: TCP Data received {"connection_id":127976,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:11:16] local.INFO: Processing buffer {"connection_id":127976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:11:16] local.INFO: IMEI packet received {"connection_id":127976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":127976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:11:16] local.INFO: TCP Data received {"connection_id":127976,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:11:16] local.INFO: Processing buffer {"connection_id":127976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:11:16] local.INFO: Packet analysis {"connection_id":127976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:11:16] local.INFO: Extracted packet for processing {"connection_id":127976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:11:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:11:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:11:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:11:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":127976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:11:16] local.INFO: GPS data processed {"connection_id":127976,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:11:16] local.INFO: Acknowledgment sent {"connection_id":127976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:11:21] local.INFO: TCP Data received {"connection_id":127976,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:11:21] local.INFO: Processing buffer {"connection_id":127976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:11:21] local.INFO: Packet analysis {"connection_id":127976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:11:21] local.INFO: Extracted packet for processing {"connection_id":127976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:11:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":127976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":127976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":127976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:11:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":127976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:11:21] local.INFO: GPS data processed {"connection_id":127976,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:11:21] local.INFO: Acknowledgment sent {"connection_id":127976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:12:06] local.INFO: TCP Data received {"connection_id":128187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:12:06] local.INFO: Processing buffer {"connection_id":128187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:12:06] local.INFO: IMEI packet received {"connection_id":128187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":128187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:12:07] local.INFO: TCP Data received {"connection_id":127977,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:12:07] local.INFO: Processing buffer {"connection_id":127977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:12:07] local.INFO: IMEI packet received {"connection_id":127977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":127977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:12:10] local.INFO: TCP Data received {"connection_id":128187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:12:10] local.INFO: Processing buffer {"connection_id":128187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:12:10] local.INFO: IMEI packet received {"connection_id":128187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":128187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:12:11] local.INFO: TCP Data received {"connection_id":128187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:12:11] local.INFO: Processing buffer {"connection_id":128187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:12:11] local.INFO: Packet analysis {"connection_id":128187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:12:11] local.INFO: Extracted packet for processing {"connection_id":128187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:12:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:12:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":128187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:12:11] local.INFO: GPS data processed {"connection_id":128187,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:12:11] local.INFO: Acknowledgment sent {"connection_id":128187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:12:42] local.INFO: TCP Data received {"connection_id":128187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:12:42] local.INFO: Processing buffer {"connection_id":128187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:12:42] local.INFO: Packet analysis {"connection_id":128187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:12:42] local.INFO: Extracted packet for processing {"connection_id":128187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:12:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:12:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":128187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:12:42] local.INFO: GPS data processed {"connection_id":128187,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:12:42] local.INFO: Acknowledgment sent {"connection_id":128187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:12:47] local.INFO: TCP Data received {"connection_id":127978,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:12:47] local.INFO: Processing buffer {"connection_id":127978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:12:47] local.INFO: IMEI packet received {"connection_id":127978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":127978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:13:06] local.INFO: TCP Data received {"connection_id":130140,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:13:06] local.INFO: Processing buffer {"connection_id":130140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:13:06] local.INFO: IMEI packet received {"connection_id":130140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":130140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:13:11] local.INFO: TCP Data received {"connection_id":130140,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:13:11] local.INFO: Processing buffer {"connection_id":130140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:13:11] local.INFO: IMEI packet received {"connection_id":130140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":130140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:13:11] local.INFO: TCP Data received {"connection_id":130140,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:13:11] local.INFO: Processing buffer {"connection_id":130140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d893710012cb29ac007823b28004700db2d..."} 
[2026-07-11 01:13:11] local.INFO: Packet analysis {"connection_id":130140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:13:11] local.INFO: Extracted packet for processing {"connection_id":130140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d89"} 
[2026-07-11 01:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630263040001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783712266000,"timestamp_ms":1783712266000,"timestamp_seconds":1783712266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d893710"} 
[2026-07-11 01:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630263040001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630263040001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630263040001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":130140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:13:11] local.INFO: GPS data processed {"connection_id":130140,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:13:11] local.INFO: Acknowledgment sent {"connection_id":130140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:13:42] local.INFO: TCP Data received {"connection_id":130140,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:13:42] local.INFO: Processing buffer {"connection_id":130140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:13:42] local.INFO: Packet analysis {"connection_id":130140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:13:42] local.INFO: Extracted packet for processing {"connection_id":130140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":130140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:13:42] local.INFO: GPS data processed {"connection_id":130140,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:13:42] local.INFO: Acknowledgment sent {"connection_id":130140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:14:05] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:14:05] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:14:05] local.INFO: IMEI packet received {"connection_id":128893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":128893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:14:10] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:14:10] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:14:10] local.INFO: IMEI packet received {"connection_id":128893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":128893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:14:11] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:14:11] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:14:11] local.INFO: Packet analysis {"connection_id":128893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:14:11] local.INFO: Extracted packet for processing {"connection_id":128893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:14:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:14:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":128893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:14:11] local.INFO: GPS data processed {"connection_id":128893,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:14:11] local.INFO: Acknowledgment sent {"connection_id":128893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:14:42] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:14:42] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:14:42] local.INFO: Packet analysis {"connection_id":128893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:14:42] local.INFO: Extracted packet for processing {"connection_id":128893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:14:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:14:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":128893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:14:42] local.INFO: GPS data processed {"connection_id":128893,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:14:42] local.INFO: Acknowledgment sent {"connection_id":128893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:15:11] local.INFO: TCP Data received {"connection_id":128188,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:15:11] local.INFO: Processing buffer {"connection_id":128188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:15:11] local.INFO: IMEI packet received {"connection_id":128188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":128188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:15:16] local.INFO: TCP Data received {"connection_id":128188,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:15:16] local.INFO: Processing buffer {"connection_id":128188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:15:16] local.INFO: IMEI packet received {"connection_id":128188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":128188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:15:17] local.INFO: TCP Data received {"connection_id":128188,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:15:17] local.INFO: Processing buffer {"connection_id":128188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:15:17] local.INFO: Packet analysis {"connection_id":128188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:15:17] local.INFO: Extracted packet for processing {"connection_id":128188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:15:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:15:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:15:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:15:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:15:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":128188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:15:17] local.INFO: GPS data processed {"connection_id":128188,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:15:17] local.INFO: Acknowledgment sent {"connection_id":128188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:15:21] local.INFO: TCP Data received {"connection_id":128188,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:15:21] local.INFO: Processing buffer {"connection_id":128188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:15:21] local.INFO: Packet analysis {"connection_id":128188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:15:21] local.INFO: Extracted packet for processing {"connection_id":128188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":128188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:15:21] local.INFO: GPS data processed {"connection_id":128188,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:15:21] local.INFO: Acknowledgment sent {"connection_id":128188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:16:06] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:16:06] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:16:06] local.INFO: IMEI packet received {"connection_id":130141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":130141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:16:10] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:16:10] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:16:10] local.INFO: IMEI packet received {"connection_id":130141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":130141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:16:11] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:16:11] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:16:11] local.INFO: Packet analysis {"connection_id":130141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:16:11] local.INFO: Extracted packet for processing {"connection_id":130141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:16:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":130141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:16:11] local.INFO: GPS data processed {"connection_id":130141,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:16:11] local.INFO: Acknowledgment sent {"connection_id":130141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:16:42] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:16:42] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:16:42] local.INFO: Packet analysis {"connection_id":130141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:16:42] local.INFO: Extracted packet for processing {"connection_id":130141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:16:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":130141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:16:42] local.INFO: GPS data processed {"connection_id":130141,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:16:42] local.INFO: Acknowledgment sent {"connection_id":130141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:17:06] local.INFO: TCP Data received {"connection_id":127980,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:17:06] local.INFO: Processing buffer {"connection_id":127980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:17:06] local.INFO: IMEI packet received {"connection_id":127980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":127980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:17:11] local.INFO: TCP Data received {"connection_id":127980,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:17:11] local.INFO: Processing buffer {"connection_id":127980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:17:11] local.INFO: IMEI packet received {"connection_id":127980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":127980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:17:12] local.INFO: TCP Data received {"connection_id":127980,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:17:12] local.INFO: Processing buffer {"connection_id":127980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:17:12] local.INFO: Packet analysis {"connection_id":127980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:17:12] local.INFO: Extracted packet for processing {"connection_id":127980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:17:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:17:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":127980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:17:12] local.INFO: GPS data processed {"connection_id":127980,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:17:12] local.INFO: Acknowledgment sent {"connection_id":127980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:17:43] local.INFO: TCP Data received {"connection_id":127980,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:17:43] local.INFO: Processing buffer {"connection_id":127980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:17:43] local.INFO: Packet analysis {"connection_id":127980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:17:43] local.INFO: Extracted packet for processing {"connection_id":127980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:17:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:17:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":127980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:17:43] local.INFO: GPS data processed {"connection_id":127980,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:17:43] local.INFO: Acknowledgment sent {"connection_id":127980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:18:06] local.INFO: TCP Data received {"connection_id":130142,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:18:06] local.INFO: Processing buffer {"connection_id":130142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:18:06] local.INFO: IMEI packet received {"connection_id":130142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":130142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:18:10] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:18:10] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:18:10] local.INFO: IMEI packet received {"connection_id":128896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":128896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:18:10] local.INFO: TCP Data received {"connection_id":130142,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:18:10] local.INFO: Processing buffer {"connection_id":130142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:18:10] local.INFO: IMEI packet received {"connection_id":130142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":130142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:18:11] local.INFO: TCP Data received {"connection_id":130142,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:18:11] local.INFO: Processing buffer {"connection_id":130142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d8dced8012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:18:11] local.INFO: Packet analysis {"connection_id":130142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:18:11] local.INFO: Extracted packet for processing {"connection_id":130142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d8d"} 
[2026-07-11 01:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783712567000,"timestamp_ms":1783712567000,"timestamp_seconds":1783712567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d8dced8"} 
[2026-07-11 01:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 01:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630340096001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630340096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":130142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:18:11] local.INFO: GPS data processed {"connection_id":130142,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:18:11] local.INFO: Acknowledgment sent {"connection_id":130142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:18:42] local.INFO: TCP Data received {"connection_id":130142,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:18:42] local.INFO: Processing buffer {"connection_id":130142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:18:42] local.INFO: Packet analysis {"connection_id":130142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:18:42] local.INFO: Extracted packet for processing {"connection_id":130142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:18:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":130142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:18:42] local.INFO: GPS data processed {"connection_id":130142,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:18:42] local.INFO: Acknowledgment sent {"connection_id":130142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:18:52] local.INFO: TCP Data received {"connection_id":128189,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:18:52] local.INFO: Processing buffer {"connection_id":128189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:18:52] local.INFO: IMEI packet received {"connection_id":128189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":128189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:19:05] local.INFO: TCP Data received {"connection_id":127981,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:19:05] local.INFO: Processing buffer {"connection_id":127981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:19:05] local.INFO: IMEI packet received {"connection_id":127981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":127981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:19:11] local.INFO: TCP Data received {"connection_id":127981,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:19:11] local.INFO: Processing buffer {"connection_id":127981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:19:11] local.INFO: IMEI packet received {"connection_id":127981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":127981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:19:12] local.INFO: TCP Data received {"connection_id":127981,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:19:12] local.INFO: Processing buffer {"connection_id":127981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:19:12] local.INFO: Packet analysis {"connection_id":127981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:19:12] local.INFO: Extracted packet for processing {"connection_id":127981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:19:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:19:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":127981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:19:12] local.INFO: GPS data processed {"connection_id":127981,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:19:12] local.INFO: Acknowledgment sent {"connection_id":127981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:19:43] local.INFO: TCP Data received {"connection_id":127981,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:19:43] local.INFO: Processing buffer {"connection_id":127981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:19:43] local.INFO: Packet analysis {"connection_id":127981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:19:43] local.INFO: Extracted packet for processing {"connection_id":127981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:19:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:19:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:19:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:19:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":127981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:19:43] local.INFO: GPS data processed {"connection_id":127981,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:19:43] local.INFO: Acknowledgment sent {"connection_id":127981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:20:10] local.INFO: TCP Data received {"connection_id":127982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:20:10] local.INFO: Processing buffer {"connection_id":127982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:20:10] local.INFO: IMEI packet received {"connection_id":127982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":127982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:20:15] local.INFO: TCP Data received {"connection_id":127982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:20:15] local.INFO: Processing buffer {"connection_id":127982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:20:15] local.INFO: IMEI packet received {"connection_id":127982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":127982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:20:16] local.INFO: TCP Data received {"connection_id":127982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:20:16] local.INFO: Processing buffer {"connection_id":127982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:20:16] local.INFO: Packet analysis {"connection_id":127982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:20:16] local.INFO: Extracted packet for processing {"connection_id":127982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:20:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:20:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:20:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:20:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":127982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:20:16] local.INFO: GPS data processed {"connection_id":127982,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:20:16] local.INFO: Acknowledgment sent {"connection_id":127982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:20:47] local.INFO: TCP Data received {"connection_id":127982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:20:47] local.INFO: Processing buffer {"connection_id":127982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:20:47] local.INFO: Packet analysis {"connection_id":127982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:20:47] local.INFO: Extracted packet for processing {"connection_id":127982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:20:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:20:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":127982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":127982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":127982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:20:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:20:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":127982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:20:47] local.INFO: GPS data processed {"connection_id":127982,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:20:47] local.INFO: Acknowledgment sent {"connection_id":127982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:21:06] local.INFO: TCP Data received {"connection_id":128192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:21:06] local.INFO: Processing buffer {"connection_id":128192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:21:06] local.INFO: IMEI packet received {"connection_id":128192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":128192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:21:10] local.INFO: TCP Data received {"connection_id":128192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:21:10] local.INFO: Processing buffer {"connection_id":128192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:21:10] local.INFO: IMEI packet received {"connection_id":128192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":128192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:21:11] local.INFO: TCP Data received {"connection_id":128192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:21:11] local.INFO: Processing buffer {"connection_id":128192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:21:11] local.INFO: Packet analysis {"connection_id":128192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:21:11] local.INFO: Extracted packet for processing {"connection_id":128192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":128192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:21:11] local.INFO: GPS data processed {"connection_id":128192,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:21:11] local.INFO: Acknowledgment sent {"connection_id":128192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:21:42] local.INFO: TCP Data received {"connection_id":128192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:21:42] local.INFO: Processing buffer {"connection_id":128192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:21:42] local.INFO: Packet analysis {"connection_id":128192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:21:42] local.INFO: Extracted packet for processing {"connection_id":128192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01: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-07-11 01:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":128192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:21:42] local.INFO: GPS data processed {"connection_id":128192,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:21:42] local.INFO: Acknowledgment sent {"connection_id":128192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:22:06] local.INFO: TCP Data received {"connection_id":127984,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:22:06] local.INFO: Processing buffer {"connection_id":127984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:22:06] local.INFO: IMEI packet received {"connection_id":127984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":127984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:22:10] local.INFO: TCP Data received {"connection_id":127984,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:22:10] local.INFO: Processing buffer {"connection_id":127984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:22:10] local.INFO: IMEI packet received {"connection_id":127984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":127984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:22:11] local.INFO: TCP Data received {"connection_id":127984,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:22:11] local.INFO: Processing buffer {"connection_id":127984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:22:11] local.INFO: Packet analysis {"connection_id":127984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:22:11] local.INFO: Extracted packet for processing {"connection_id":127984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":127984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:22:11] local.INFO: GPS data processed {"connection_id":127984,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:22:11] local.INFO: Acknowledgment sent {"connection_id":127984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:22:42] local.INFO: TCP Data received {"connection_id":127984,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:22:42] local.INFO: Processing buffer {"connection_id":127984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:22:42] local.INFO: Packet analysis {"connection_id":127984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:22:42] local.INFO: Extracted packet for processing {"connection_id":127984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:22:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":127984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:22:42] local.INFO: GPS data processed {"connection_id":127984,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:22:42] local.INFO: Acknowledgment sent {"connection_id":127984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:23:06] local.INFO: TCP Data received {"connection_id":127986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:23:06] local.INFO: Processing buffer {"connection_id":127986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:23:06] local.INFO: IMEI packet received {"connection_id":127986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":127986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:23:11] local.INFO: TCP Data received {"connection_id":127986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:23:11] local.INFO: Processing buffer {"connection_id":127986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:23:11] local.INFO: IMEI packet received {"connection_id":127986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":127986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:23:12] local.INFO: TCP Data received {"connection_id":127986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:23:12] local.INFO: Processing buffer {"connection_id":127986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9266a0012cb29ac007823b28004700db2f..."} 
[2026-07-11 01:23:12] local.INFO: Packet analysis {"connection_id":127986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:23:12] local.INFO: Extracted packet for processing {"connection_id":127986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d92"} 
[2026-07-11 01:23:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630417152001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783712868000,"timestamp_ms":1783712868000,"timestamp_seconds":1783712868,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9266a0"} 
[2026-07-11 01:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630417152001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630417152001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:23:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630417152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":127986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:23:12] local.INFO: GPS data processed {"connection_id":127986,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:23:12] local.INFO: Acknowledgment sent {"connection_id":127986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:23:43] local.INFO: TCP Data received {"connection_id":127986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:23:43] local.INFO: Processing buffer {"connection_id":127986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:23:43] local.INFO: Packet analysis {"connection_id":127986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:23:43] local.INFO: Extracted packet for processing {"connection_id":127986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:23:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:23:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":127986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:23:43] local.INFO: GPS data processed {"connection_id":127986,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:23:43] local.INFO: Acknowledgment sent {"connection_id":127986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:24:05] local.INFO: TCP Data received {"connection_id":128898,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:24:05] local.INFO: Processing buffer {"connection_id":128898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:24:05] local.INFO: IMEI packet received {"connection_id":128898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":128898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:24:10] local.INFO: TCP Data received {"connection_id":128898,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:24:10] local.INFO: Processing buffer {"connection_id":128898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:24:10] local.INFO: IMEI packet received {"connection_id":128898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":128898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:24:11] local.INFO: TCP Data received {"connection_id":128898,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:24:11] local.INFO: Processing buffer {"connection_id":128898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:24:11] local.INFO: Packet analysis {"connection_id":128898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:24:11] local.INFO: Extracted packet for processing {"connection_id":128898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:24:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:24:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":128898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:24:11] local.INFO: GPS data processed {"connection_id":128898,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:24:11] local.INFO: Acknowledgment sent {"connection_id":128898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:24:17] local.INFO: TCP Data received {"connection_id":127987,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:24:17] local.INFO: Processing buffer {"connection_id":127987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:24:17] local.INFO: IMEI packet received {"connection_id":127987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":127987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:24:42] local.INFO: TCP Data received {"connection_id":128898,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:24:42] local.INFO: Processing buffer {"connection_id":128898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:24:42] local.INFO: Packet analysis {"connection_id":128898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:24:42] local.INFO: Extracted packet for processing {"connection_id":128898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:24:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":128898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:24:42] local.INFO: GPS data processed {"connection_id":128898,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:24:42] local.INFO: Acknowledgment sent {"connection_id":128898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:24:49] local.INFO: TCP Data received {"connection_id":130143,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:24:49] local.INFO: Processing buffer {"connection_id":130143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:24:49] local.INFO: IMEI packet received {"connection_id":130143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":130143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:25:11] local.INFO: TCP Data received {"connection_id":128193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:25:11] local.INFO: Processing buffer {"connection_id":128193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:25:11] local.INFO: IMEI packet received {"connection_id":128193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":128193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:25:16] local.INFO: TCP Data received {"connection_id":128193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:25:16] local.INFO: Processing buffer {"connection_id":128193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:25:16] local.INFO: IMEI packet received {"connection_id":128193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":128193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:25:17] local.INFO: TCP Data received {"connection_id":128193,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:25:17] local.INFO: Processing buffer {"connection_id":128193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:25:17] local.INFO: Packet analysis {"connection_id":128193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:25:17] local.INFO: Extracted packet for processing {"connection_id":128193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:25:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:25:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:25:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:25:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":128193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:25:17] local.INFO: GPS data processed {"connection_id":128193,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:25:17] local.INFO: Acknowledgment sent {"connection_id":128193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:25:21] local.INFO: TCP Data received {"connection_id":128193,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:25:21] local.INFO: Processing buffer {"connection_id":128193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:25:21] local.INFO: Packet analysis {"connection_id":128193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:25:21] local.INFO: Extracted packet for processing {"connection_id":128193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:25:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:25:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":128193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:25:21] local.INFO: GPS data processed {"connection_id":128193,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:25:21] local.INFO: Acknowledgment sent {"connection_id":128193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:26:06] local.INFO: TCP Data received {"connection_id":130145,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:26:06] local.INFO: Processing buffer {"connection_id":130145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:26:06] local.INFO: IMEI packet received {"connection_id":130145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":130145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:26:10] local.INFO: TCP Data received {"connection_id":130145,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:26:10] local.INFO: Processing buffer {"connection_id":130145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:26:10] local.INFO: IMEI packet received {"connection_id":130145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":130145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:26:11] local.INFO: TCP Data received {"connection_id":130145,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:26:11] local.INFO: Processing buffer {"connection_id":130145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:26:11] local.INFO: Packet analysis {"connection_id":130145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:26:11] local.INFO: Extracted packet for processing {"connection_id":130145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:26:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":130145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:26:11] local.INFO: GPS data processed {"connection_id":130145,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:26:11] local.INFO: Acknowledgment sent {"connection_id":130145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:26:42] local.INFO: TCP Data received {"connection_id":130145,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:26:42] local.INFO: Processing buffer {"connection_id":130145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:26:42] local.INFO: Packet analysis {"connection_id":130145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:26:42] local.INFO: Extracted packet for processing {"connection_id":130145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:26:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:26:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":130145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:26:42] local.INFO: GPS data processed {"connection_id":130145,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:26:42] local.INFO: Acknowledgment sent {"connection_id":130145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:27:06] local.INFO: TCP Data received {"connection_id":128899,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:27:06] local.INFO: Processing buffer {"connection_id":128899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:27:06] local.INFO: IMEI packet received {"connection_id":128899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":128899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:27:11] local.INFO: TCP Data received {"connection_id":128899,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:27:11] local.INFO: Processing buffer {"connection_id":128899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:27:11] local.INFO: IMEI packet received {"connection_id":128899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":128899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:27:12] local.INFO: TCP Data received {"connection_id":128899,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:27:12] local.INFO: Processing buffer {"connection_id":128899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:27:12] local.INFO: Packet analysis {"connection_id":128899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:27:12] local.INFO: Extracted packet for processing {"connection_id":128899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:27:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:27:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":128899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:27:12] local.INFO: GPS data processed {"connection_id":128899,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:27:12] local.INFO: Acknowledgment sent {"connection_id":128899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:27:43] local.INFO: TCP Data received {"connection_id":128899,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:27:43] local.INFO: Processing buffer {"connection_id":128899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:27:43] local.INFO: Packet analysis {"connection_id":128899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:27:43] local.INFO: Extracted packet for processing {"connection_id":128899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:27:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":128899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:27:43] local.INFO: GPS data processed {"connection_id":128899,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:27:43] local.INFO: Acknowledgment sent {"connection_id":128899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:28:06] local.INFO: TCP Data received {"connection_id":128196,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:28:06] local.INFO: Processing buffer {"connection_id":128196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:28:06] local.INFO: IMEI packet received {"connection_id":128196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":128196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:28:10] local.INFO: TCP Data received {"connection_id":128196,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:28:10] local.INFO: Processing buffer {"connection_id":128196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:28:10] local.INFO: IMEI packet received {"connection_id":128196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":128196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:28:11] local.INFO: TCP Data received {"connection_id":128196,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:28:11] local.INFO: Processing buffer {"connection_id":128196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d96fe68012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:28:11] local.INFO: Packet analysis {"connection_id":128196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:28:11] local.INFO: Extracted packet for processing {"connection_id":128196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d96"} 
[2026-07-11 01:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630494208001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783713169000,"timestamp_ms":1783713169000,"timestamp_seconds":1783713169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d96fe68"} 
[2026-07-11 01:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630494208001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630494208001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630494208001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":128196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:28:11] local.INFO: GPS data processed {"connection_id":128196,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:28:11] local.INFO: Acknowledgment sent {"connection_id":128196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:28:42] local.INFO: TCP Data received {"connection_id":128196,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:28:42] local.INFO: Processing buffer {"connection_id":128196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:28:42] local.INFO: Packet analysis {"connection_id":128196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:28:42] local.INFO: Extracted packet for processing {"connection_id":128196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:28:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":128196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:28:42] local.INFO: GPS data processed {"connection_id":128196,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:28:42] local.INFO: Acknowledgment sent {"connection_id":128196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:29:11] local.INFO: TCP Data received {"connection_id":127989,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:29:11] local.INFO: Processing buffer {"connection_id":127989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:29:11] local.INFO: IMEI packet received {"connection_id":127989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":127989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:29:16] local.INFO: TCP Data received {"connection_id":127989,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:29:16] local.INFO: Processing buffer {"connection_id":127989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:29:16] local.INFO: IMEI packet received {"connection_id":127989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":127989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:29:16] local.INFO: TCP Data received {"connection_id":127989,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:29:16] local.INFO: Processing buffer {"connection_id":127989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:29:16] local.INFO: Packet analysis {"connection_id":127989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:29:16] local.INFO: Extracted packet for processing {"connection_id":127989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:29:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:29:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:29:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":127989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:29:17] local.INFO: GPS data processed {"connection_id":127989,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:29:17] local.INFO: Acknowledgment sent {"connection_id":127989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:29:21] local.INFO: TCP Data received {"connection_id":127989,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:29:21] local.INFO: Processing buffer {"connection_id":127989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:29:21] local.INFO: Packet analysis {"connection_id":127989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:29:21] local.INFO: Extracted packet for processing {"connection_id":127989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:29:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":127989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":127989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":127989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:29:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":127989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:29:21] local.INFO: GPS data processed {"connection_id":127989,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:29:21] local.INFO: Acknowledgment sent {"connection_id":127989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:30:06] local.INFO: TCP Data received {"connection_id":127990,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:30:06] local.INFO: Processing buffer {"connection_id":127990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:30:06] local.INFO: IMEI packet received {"connection_id":127990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":127990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:30:10] local.INFO: TCP Data received {"connection_id":127990,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:30:10] local.INFO: Processing buffer {"connection_id":127990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:30:10] local.INFO: IMEI packet received {"connection_id":127990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":127990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:30:11] local.INFO: TCP Data received {"connection_id":127990,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:30:11] local.INFO: Processing buffer {"connection_id":127990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:30:11] local.INFO: Packet analysis {"connection_id":127990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:30:11] local.INFO: Extracted packet for processing {"connection_id":127990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":127990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:30:11] local.INFO: GPS data processed {"connection_id":127990,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:30:11] local.INFO: Acknowledgment sent {"connection_id":127990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:30:17] local.INFO: TCP Data received {"connection_id":128900,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:30:17] local.INFO: Processing buffer {"connection_id":128900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:30:17] local.INFO: IMEI packet received {"connection_id":128900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":128900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:30:42] local.INFO: TCP Data received {"connection_id":127990,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:30:42] local.INFO: Processing buffer {"connection_id":127990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:30:42] local.INFO: Packet analysis {"connection_id":127990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:30:42] local.INFO: Extracted packet for processing {"connection_id":127990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:30:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":127990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:30:42] local.INFO: GPS data processed {"connection_id":127990,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:30:42] local.INFO: Acknowledgment sent {"connection_id":127990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:30:46] local.INFO: TCP Data received {"connection_id":127991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:30:46] local.INFO: Processing buffer {"connection_id":127991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:30:46] local.INFO: IMEI packet received {"connection_id":127991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":127991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:31:06] local.INFO: TCP Data received {"connection_id":128901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:31:06] local.INFO: Processing buffer {"connection_id":128901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:31:06] local.INFO: IMEI packet received {"connection_id":128901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":128901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:31:11] local.INFO: TCP Data received {"connection_id":128901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:31:11] local.INFO: Processing buffer {"connection_id":128901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:31:11] local.INFO: IMEI packet received {"connection_id":128901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":128901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:31:11] local.INFO: TCP Data received {"connection_id":128901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:31:11] local.INFO: Processing buffer {"connection_id":128901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:31:11] local.INFO: Packet analysis {"connection_id":128901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:31:11] local.INFO: Extracted packet for processing {"connection_id":128901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":128901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:31:11] local.INFO: GPS data processed {"connection_id":128901,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:31:11] local.INFO: Acknowledgment sent {"connection_id":128901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:31:43] local.INFO: TCP Data received {"connection_id":128901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:31:43] local.INFO: Processing buffer {"connection_id":128901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:31:43] local.INFO: Packet analysis {"connection_id":128901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:31:43] local.INFO: Extracted packet for processing {"connection_id":128901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:31:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:31:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:31:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:31:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":128901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:31:43] local.INFO: GPS data processed {"connection_id":128901,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:31:43] local.INFO: Acknowledgment sent {"connection_id":128901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:32:06] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:32:06] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:32:06] local.INFO: IMEI packet received {"connection_id":130148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":130148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:32:10] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:32:10] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:32:10] local.INFO: IMEI packet received {"connection_id":130148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":130148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:32:11] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:32:11] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:32:11] local.INFO: Packet analysis {"connection_id":130148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:32:11] local.INFO: Extracted packet for processing {"connection_id":130148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:32:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:32:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":130148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:32:11] local.INFO: GPS data processed {"connection_id":130148,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:32:11] local.INFO: Acknowledgment sent {"connection_id":130148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:32:43] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:32:43] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:32:43] local.INFO: Packet analysis {"connection_id":130148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:32:43] local.INFO: Extracted packet for processing {"connection_id":130148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:32:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:32:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":130148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:32:43] local.INFO: GPS data processed {"connection_id":130148,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:32:43] local.INFO: Acknowledgment sent {"connection_id":130148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:33:05] local.INFO: TCP Data received {"connection_id":127993,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:33:05] local.INFO: Processing buffer {"connection_id":127993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:33:05] local.INFO: IMEI packet received {"connection_id":127993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":127993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:33:11] local.INFO: TCP Data received {"connection_id":127993,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:33:11] local.INFO: Processing buffer {"connection_id":127993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:33:11] local.INFO: IMEI packet received {"connection_id":127993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":127993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:33:12] local.INFO: TCP Data received {"connection_id":127993,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:33:12] local.INFO: Processing buffer {"connection_id":127993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4d9b9630012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:33:12] local.INFO: Packet analysis {"connection_id":127993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:33:12] local.INFO: Extracted packet for processing {"connection_id":127993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4d9b"} 
[2026-07-11 01:33:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630571264001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783713470000,"timestamp_ms":1783713470000,"timestamp_seconds":1783713470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4d9b9630"} 
[2026-07-11 01:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630571264001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630571264001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:33:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630571264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":127993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:33:12] local.INFO: GPS data processed {"connection_id":127993,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:33:12] local.INFO: Acknowledgment sent {"connection_id":127993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:33:43] local.INFO: TCP Data received {"connection_id":127993,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:33:43] local.INFO: Processing buffer {"connection_id":127993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:33:43] local.INFO: Packet analysis {"connection_id":127993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:33:43] local.INFO: Extracted packet for processing {"connection_id":127993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:33:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:33:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":127993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:33:43] local.INFO: GPS data processed {"connection_id":127993,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:33:43] local.INFO: Acknowledgment sent {"connection_id":127993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:34:10] local.INFO: TCP Data received {"connection_id":128198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:34:10] local.INFO: Processing buffer {"connection_id":128198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:34:10] local.INFO: IMEI packet received {"connection_id":128198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":128198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:34:16] local.INFO: TCP Data received {"connection_id":128198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:34:16] local.INFO: Processing buffer {"connection_id":128198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:34:16] local.INFO: IMEI packet received {"connection_id":128198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":128198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:34:17] local.INFO: TCP Data received {"connection_id":128198,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:34:17] local.INFO: Processing buffer {"connection_id":128198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:34:17] local.INFO: Packet analysis {"connection_id":128198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:34:17] local.INFO: Extracted packet for processing {"connection_id":128198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:34:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:34:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:34:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:34:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":128198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:34:17] local.INFO: GPS data processed {"connection_id":128198,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:34:17] local.INFO: Acknowledgment sent {"connection_id":128198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:34:21] local.INFO: TCP Data received {"connection_id":128198,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:34:21] local.INFO: Processing buffer {"connection_id":128198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:34:21] local.INFO: Packet analysis {"connection_id":128198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:34:21] local.INFO: Extracted packet for processing {"connection_id":128198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:34:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":128198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:34:21] local.INFO: GPS data processed {"connection_id":128198,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:34:21] local.INFO: Acknowledgment sent {"connection_id":128198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:35:06] local.INFO: TCP Data received {"connection_id":128903,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:35:06] local.INFO: Processing buffer {"connection_id":128903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:35:06] local.INFO: IMEI packet received {"connection_id":128903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":128903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:35:11] local.INFO: TCP Data received {"connection_id":128903,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:35:11] local.INFO: Processing buffer {"connection_id":128903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:35:11] local.INFO: IMEI packet received {"connection_id":128903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":128903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:35:12] local.INFO: TCP Data received {"connection_id":128903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:35:12] local.INFO: Processing buffer {"connection_id":128903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:35:12] local.INFO: Packet analysis {"connection_id":128903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:35:12] local.INFO: Extracted packet for processing {"connection_id":128903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:35:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:35:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":128903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:35:12] local.INFO: GPS data processed {"connection_id":128903,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:35:12] local.INFO: Acknowledgment sent {"connection_id":128903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:35:43] local.INFO: TCP Data received {"connection_id":128903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:35:43] local.INFO: Processing buffer {"connection_id":128903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:35:43] local.INFO: Packet analysis {"connection_id":128903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:35:43] local.INFO: Extracted packet for processing {"connection_id":128903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:35:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:35:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":128903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:35:43] local.INFO: GPS data processed {"connection_id":128903,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:35:43] local.INFO: Acknowledgment sent {"connection_id":128903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:36:06] local.INFO: TCP Data received {"connection_id":127994,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:36:06] local.INFO: Processing buffer {"connection_id":127994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:36:06] local.INFO: IMEI packet received {"connection_id":127994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":127994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:36:10] local.INFO: TCP Data received {"connection_id":127994,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:36:10] local.INFO: Processing buffer {"connection_id":127994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:36:10] local.INFO: IMEI packet received {"connection_id":127994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":127994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:36:11] local.INFO: TCP Data received {"connection_id":127994,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:36:11] local.INFO: Processing buffer {"connection_id":127994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:36:11] local.INFO: Packet analysis {"connection_id":127994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:36:11] local.INFO: Extracted packet for processing {"connection_id":127994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:36:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01: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":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:36:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":127994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:36:11] local.INFO: GPS data processed {"connection_id":127994,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:36:11] local.INFO: Acknowledgment sent {"connection_id":127994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:36:14] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:36:14] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:36:14] local.INFO: IMEI packet received {"connection_id":130150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":130150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:36:42] local.INFO: TCP Data received {"connection_id":127994,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:36:42] local.INFO: Processing buffer {"connection_id":127994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:36:42] local.INFO: Packet analysis {"connection_id":127994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:36:42] local.INFO: Extracted packet for processing {"connection_id":127994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:36:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:36:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":127994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:36:42] local.INFO: GPS data processed {"connection_id":127994,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:36:42] local.INFO: Acknowledgment sent {"connection_id":127994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:36:51] local.INFO: TCP Data received {"connection_id":128904,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:36:51] local.INFO: Processing buffer {"connection_id":128904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:36:51] local.INFO: IMEI packet received {"connection_id":128904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":128904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:37:05] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:37:05] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:37:05] local.INFO: IMEI packet received {"connection_id":130151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":130151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:37:11] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:37:11] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:37:11] local.INFO: IMEI packet received {"connection_id":130151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":130151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:37:11] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:37:11] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:37:11] local.INFO: Packet analysis {"connection_id":130151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:37:11] local.INFO: Extracted packet for processing {"connection_id":130151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:37:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":130151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:37:11] local.INFO: GPS data processed {"connection_id":130151,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:37:11] local.INFO: Acknowledgment sent {"connection_id":130151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:37:43] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:37:43] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:37:43] local.INFO: Packet analysis {"connection_id":130151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:37:43] local.INFO: Extracted packet for processing {"connection_id":130151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":130151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:37:43] local.INFO: GPS data processed {"connection_id":130151,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:37:43] local.INFO: Acknowledgment sent {"connection_id":130151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:38:05] local.INFO: TCP Data received {"connection_id":128200,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:38:05] local.INFO: Processing buffer {"connection_id":128200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:38:05] local.INFO: IMEI packet received {"connection_id":128200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:38:10] local.INFO: TCP Data received {"connection_id":128200,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:38:10] local.INFO: Processing buffer {"connection_id":128200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:38:10] local.INFO: IMEI packet received {"connection_id":128200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":128200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:38:11] local.INFO: TCP Data received {"connection_id":128200,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:38:11] local.INFO: Processing buffer {"connection_id":128200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da02df8012cb29ac007823b28004700db2b..."} 
[2026-07-11 01:38:11] local.INFO: Packet analysis {"connection_id":128200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:38:11] local.INFO: Extracted packet for processing {"connection_id":128200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da0"} 
[2026-07-11 01:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630648320001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783713771000,"timestamp_ms":1783713771000,"timestamp_seconds":1783713771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da02df8"} 
[2026-07-11 01:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630648320001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630648320001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630648320001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":128200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:38:11] local.INFO: GPS data processed {"connection_id":128200,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:38:11] local.INFO: Acknowledgment sent {"connection_id":128200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:38:42] local.INFO: TCP Data received {"connection_id":128200,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:38:42] local.INFO: Processing buffer {"connection_id":128200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:38:42] local.INFO: Packet analysis {"connection_id":128200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:38:42] local.INFO: Extracted packet for processing {"connection_id":128200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:38:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":128200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:38:42] local.INFO: GPS data processed {"connection_id":128200,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:38:42] local.INFO: Acknowledgment sent {"connection_id":128200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:39:06] local.INFO: TCP Data received {"connection_id":128905,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:39:06] local.INFO: Processing buffer {"connection_id":128905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:39:06] local.INFO: IMEI packet received {"connection_id":128905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":128905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:39:11] local.INFO: TCP Data received {"connection_id":128905,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:39:11] local.INFO: Processing buffer {"connection_id":128905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:39:11] local.INFO: IMEI packet received {"connection_id":128905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":128905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:39:11] local.INFO: TCP Data received {"connection_id":128905,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:39:11] local.INFO: Processing buffer {"connection_id":128905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:39:11] local.INFO: Packet analysis {"connection_id":128905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:39:11] local.INFO: Extracted packet for processing {"connection_id":128905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:39:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:39:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":128905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:39:11] local.INFO: GPS data processed {"connection_id":128905,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:39:11] local.INFO: Acknowledgment sent {"connection_id":128905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:39:42] local.INFO: TCP Data received {"connection_id":128905,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:39:42] local.INFO: Processing buffer {"connection_id":128905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:39:42] local.INFO: Packet analysis {"connection_id":128905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:39:42] local.INFO: Extracted packet for processing {"connection_id":128905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:39:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:39:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":128905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:39:43] local.INFO: GPS data processed {"connection_id":128905,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:39:43] local.INFO: Acknowledgment sent {"connection_id":128905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:40:06] local.INFO: TCP Data received {"connection_id":127997,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:40:06] local.INFO: Processing buffer {"connection_id":127997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:40:06] local.INFO: IMEI packet received {"connection_id":127997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":127997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:40:10] local.INFO: TCP Data received {"connection_id":127997,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:40:10] local.INFO: Processing buffer {"connection_id":127997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:40:10] local.INFO: IMEI packet received {"connection_id":127997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":127997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:40:11] local.INFO: TCP Data received {"connection_id":127997,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:40:11] local.INFO: Processing buffer {"connection_id":127997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:40:11] local.INFO: Packet analysis {"connection_id":127997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:40:11] local.INFO: Extracted packet for processing {"connection_id":127997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:40:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":127997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:40:11] local.INFO: GPS data processed {"connection_id":127997,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:40:11] local.INFO: Acknowledgment sent {"connection_id":127997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:40:42] local.INFO: TCP Data received {"connection_id":127997,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:40:42] local.INFO: Processing buffer {"connection_id":127997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:40:42] local.INFO: Packet analysis {"connection_id":127997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:40:42] local.INFO: Extracted packet for processing {"connection_id":127997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":127997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:40:42] local.INFO: GPS data processed {"connection_id":127997,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:40:42] local.INFO: Acknowledgment sent {"connection_id":127997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:41:05] local.INFO: TCP Data received {"connection_id":128906,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:41:05] local.INFO: Processing buffer {"connection_id":128906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:41:05] local.INFO: IMEI packet received {"connection_id":128906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":128906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:41:11] local.INFO: TCP Data received {"connection_id":128906,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:41:11] local.INFO: Processing buffer {"connection_id":128906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:41:11] local.INFO: IMEI packet received {"connection_id":128906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":128906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:41:11] local.INFO: TCP Data received {"connection_id":128906,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:41:11] local.INFO: Processing buffer {"connection_id":128906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:41:11] local.INFO: Packet analysis {"connection_id":128906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:41:11] local.INFO: Extracted packet for processing {"connection_id":128906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":128906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:41:11] local.INFO: GPS data processed {"connection_id":128906,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:41:11] local.INFO: Acknowledgment sent {"connection_id":128906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:41:42] local.INFO: TCP Data received {"connection_id":128906,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:41:42] local.INFO: Processing buffer {"connection_id":128906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:41:42] local.INFO: Packet analysis {"connection_id":128906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:41:42] local.INFO: Extracted packet for processing {"connection_id":128906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:41:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":128906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:41:42] local.INFO: GPS data processed {"connection_id":128906,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:41:42] local.INFO: Acknowledgment sent {"connection_id":128906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:42:05] local.INFO: TCP Data received {"connection_id":128907,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:42:05] local.INFO: Processing buffer {"connection_id":128907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:42:05] local.INFO: IMEI packet received {"connection_id":128907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":128907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:42:10] local.INFO: TCP Data received {"connection_id":128907,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:42:10] local.INFO: Processing buffer {"connection_id":128907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:42:10] local.INFO: IMEI packet received {"connection_id":128907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":128907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:42:11] local.INFO: TCP Data received {"connection_id":128907,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:42:11] local.INFO: Processing buffer {"connection_id":128907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:42:11] local.INFO: Packet analysis {"connection_id":128907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:42:11] local.INFO: Extracted packet for processing {"connection_id":128907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":128907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:42:11] local.INFO: GPS data processed {"connection_id":128907,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:42:11] local.INFO: Acknowledgment sent {"connection_id":128907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:42:17] local.INFO: TCP Data received {"connection_id":130154,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:17] local.INFO: Processing buffer {"connection_id":130154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:17] local.INFO: IMEI packet received {"connection_id":130154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":130154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:42:44] local.INFO: TCP Data received {"connection_id":128907,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:42:44] local.INFO: Processing buffer {"connection_id":128907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:42:44] local.INFO: Packet analysis {"connection_id":128907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:42:44] local.INFO: Extracted packet for processing {"connection_id":128907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:42:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:42:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:42:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:42:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":128907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:42:44] local.INFO: GPS data processed {"connection_id":128907,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:42:44] local.INFO: Acknowledgment sent {"connection_id":128907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:42:46] local.INFO: TCP Data received {"connection_id":128201,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:46] local.INFO: Processing buffer {"connection_id":128201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:46] local.INFO: IMEI packet received {"connection_id":128201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":128201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:42:51] local.INFO: TCP Data received {"connection_id":128201,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:51] local.INFO: Processing buffer {"connection_id":128201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:51] local.INFO: IMEI packet received {"connection_id":128201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 01:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":128201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:42:51] local.INFO: TCP Data received {"connection_id":128201,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:51] local.INFO: Processing buffer {"connection_id":128201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:42:51] local.INFO: IMEI packet received {"connection_id":128201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 01:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":128201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:43:11] local.INFO: TCP Data received {"connection_id":127998,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:43:11] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:43:11] local.INFO: IMEI packet received {"connection_id":127998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":127998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:43:16] local.INFO: TCP Data received {"connection_id":127998,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:43:16] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:43:16] local.INFO: IMEI packet received {"connection_id":127998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":127998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:43:17] local.INFO: TCP Data received {"connection_id":127998,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:43:17] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:43:17] local.INFO: Packet analysis {"connection_id":127998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:43:17] local.INFO: Extracted packet for processing {"connection_id":127998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:43:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:43:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":127998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:43:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:43:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":127998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:43:17] local.INFO: GPS data processed {"connection_id":127998,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:43:17] local.INFO: Acknowledgment sent {"connection_id":127998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:43:21] local.INFO: TCP Data received {"connection_id":127998,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:43:21] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:43:21] local.INFO: Packet analysis {"connection_id":127998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:43:21] local.INFO: Extracted packet for processing {"connection_id":127998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":127998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":127998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:43:21] local.INFO: GPS data processed {"connection_id":127998,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:43:21] local.INFO: Acknowledgment sent {"connection_id":127998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:43:26] local.INFO: TCP Data received {"connection_id":127998,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:43:26] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da4c5c0012cb29ac007823b28004700db27..."} 
[2026-07-11 01:43:26] local.INFO: Packet analysis {"connection_id":127998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:43:26] local.INFO: Extracted packet for processing {"connection_id":127998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da4"} 
[2026-07-11 01:43:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630725376001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:43:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783714072000,"timestamp_ms":1783714072000,"timestamp_seconds":1783714072,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da4c5c0"} 
[2026-07-11 01:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:43: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-07-11 01:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630725376001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630725376001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:43:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:43:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630725376001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":127998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:43:26] local.INFO: GPS data processed {"connection_id":127998,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:43:26] local.INFO: Acknowledgment sent {"connection_id":127998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:44:06] local.INFO: TCP Data received {"connection_id":128202,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:44:06] local.INFO: Processing buffer {"connection_id":128202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:44:06] local.INFO: IMEI packet received {"connection_id":128202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":128202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:44:10] local.INFO: TCP Data received {"connection_id":128202,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:44:10] local.INFO: Processing buffer {"connection_id":128202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:44:10] local.INFO: IMEI packet received {"connection_id":128202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":128202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:44:11] local.INFO: TCP Data received {"connection_id":128202,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:44:11] local.INFO: Processing buffer {"connection_id":128202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:44:11] local.INFO: Packet analysis {"connection_id":128202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:44:11] local.INFO: Extracted packet for processing {"connection_id":128202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:44:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630802432001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714373000,"timestamp_ms":1783714373000,"timestamp_seconds":1783714373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da95d88"} 
[2026-07-11 01:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630802432001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630802432001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:44:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630802432001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":128202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:44:11] local.INFO: GPS data processed {"connection_id":128202,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:44:11] local.INFO: Acknowledgment sent {"connection_id":128202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:44:42] local.INFO: TCP Data received {"connection_id":128202,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:44:42] local.INFO: Processing buffer {"connection_id":128202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:44:42] local.INFO: Packet analysis {"connection_id":128202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:44:42] local.INFO: Extracted packet for processing {"connection_id":128202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:44:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630802432001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714373000,"timestamp_ms":1783714373000,"timestamp_seconds":1783714373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da95d88"} 
[2026-07-11 01:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01: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-07-11 01:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630802432001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630802432001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:44:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630802432001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":128202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:44:42] local.INFO: GPS data processed {"connection_id":128202,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:44:42] local.INFO: Acknowledgment sent {"connection_id":128202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:45:06] local.INFO: TCP Data received {"connection_id":128909,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:45:06] local.INFO: Processing buffer {"connection_id":128909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:45:06] local.INFO: IMEI packet received {"connection_id":128909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":128909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:45:11] local.INFO: TCP Data received {"connection_id":128909,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:45:11] local.INFO: Processing buffer {"connection_id":128909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:45:11] local.INFO: IMEI packet received {"connection_id":128909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":128909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:45:12] local.INFO: TCP Data received {"connection_id":128909,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:45:12] local.INFO: Processing buffer {"connection_id":128909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:45:12] local.INFO: Packet analysis {"connection_id":128909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:45:12] local.INFO: Extracted packet for processing {"connection_id":128909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:45:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630802432001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783714373000,"timestamp_ms":1783714373000,"timestamp_seconds":1783714373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da95d88"} 
[2026-07-11 01:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01: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-07-11 01:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630802432001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630802432001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:45:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630802432001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":128909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:45:12] local.INFO: GPS data processed {"connection_id":128909,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:45:12] local.INFO: Acknowledgment sent {"connection_id":128909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:45:43] local.INFO: TCP Data received {"connection_id":128909,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:45:43] local.INFO: Processing buffer {"connection_id":128909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:45:43] local.INFO: Packet analysis {"connection_id":128909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:45:43] local.INFO: Extracted packet for processing {"connection_id":128909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:45:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630802432001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783714373000,"timestamp_ms":1783714373000,"timestamp_seconds":1783714373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da95d88"} 
[2026-07-11 01:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630802432001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630802432001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:45:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630802432001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":128909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:45:43] local.INFO: GPS data processed {"connection_id":128909,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:45:43] local.INFO: Acknowledgment sent {"connection_id":128909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:46:05] local.INFO: TCP Data received {"connection_id":130156,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:46:05] local.INFO: Processing buffer {"connection_id":130156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:46:05] local.INFO: IMEI packet received {"connection_id":130156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":130156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:46:10] local.INFO: TCP Data received {"connection_id":130156,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:46:10] local.INFO: Processing buffer {"connection_id":130156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:46:10] local.INFO: IMEI packet received {"connection_id":130156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":130156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:46:11] local.INFO: TCP Data received {"connection_id":130156,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:46:11] local.INFO: Processing buffer {"connection_id":130156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:46:11] local.INFO: Packet analysis {"connection_id":130156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:46:11] local.INFO: Extracted packet for processing {"connection_id":130156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:46:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630802432001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:46:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714373000,"timestamp_ms":1783714373000,"timestamp_seconds":1783714373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da95d88"} 
[2026-07-11 01:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630802432001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630802432001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:46:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:46:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630802432001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":130156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:46:11] local.INFO: GPS data processed {"connection_id":130156,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:46:11] local.INFO: Acknowledgment sent {"connection_id":130156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:46:44] local.INFO: TCP Data received {"connection_id":130156,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:46:44] local.INFO: Processing buffer {"connection_id":130156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:46:44] local.INFO: Packet analysis {"connection_id":130156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:46:44] local.INFO: Extracted packet for processing {"connection_id":130156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:46:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630802432001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:46:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783714373000,"timestamp_ms":1783714373000,"timestamp_seconds":1783714373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da95d88"} 
[2026-07-11 01:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01: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-07-11 01:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630802432001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630802432001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:46:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:46:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630802432001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":130156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:46:45] local.INFO: GPS data processed {"connection_id":130156,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:46:45] local.INFO: Acknowledgment sent {"connection_id":130156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:47:05] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:47:05] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:47:05] local.INFO: IMEI packet received {"connection_id":130158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":130158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:47:11] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:47:11] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:47:11] local.INFO: IMEI packet received {"connection_id":130158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":130158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:47:12] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:47:12] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:47:12] local.INFO: Packet analysis {"connection_id":130158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:47:12] local.INFO: Extracted packet for processing {"connection_id":130158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:47:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630802432001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783714373000,"timestamp_ms":1783714373000,"timestamp_seconds":1783714373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da95d88"} 
[2026-07-11 01:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630802432001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630802432001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:47:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630802432001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":130158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:47:12] local.INFO: GPS data processed {"connection_id":130158,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:47:12] local.INFO: Acknowledgment sent {"connection_id":130158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:47:43] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:47:43] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:47:43] local.INFO: Packet analysis {"connection_id":130158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:47:43] local.INFO: Extracted packet for processing {"connection_id":130158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:47:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630802432001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783714373000,"timestamp_ms":1783714373000,"timestamp_seconds":1783714373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da95d88"} 
[2026-07-11 01:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630802432001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630802432001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:47:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630802432001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":130158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:47:43] local.INFO: GPS data processed {"connection_id":130158,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:47:43] local.INFO: Acknowledgment sent {"connection_id":130158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:48:10] local.INFO: TCP Data received {"connection_id":128001,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:48:10] local.INFO: Processing buffer {"connection_id":128001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:48:10] local.INFO: IMEI packet received {"connection_id":128001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":128001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:48:16] local.INFO: TCP Data received {"connection_id":128001,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:48:16] local.INFO: Processing buffer {"connection_id":128001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:48:16] local.INFO: IMEI packet received {"connection_id":128001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":128001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:48:16] local.INFO: TCP Data received {"connection_id":128001,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:48:16] local.INFO: Processing buffer {"connection_id":128001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4da95d88012cb29ac007823b28004700db2a..."} 
[2026-07-11 01:48:16] local.INFO: Packet analysis {"connection_id":128001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:48:16] local.INFO: Extracted packet for processing {"connection_id":128001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4da9"} 
[2026-07-11 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630802432001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783714373000,"timestamp_ms":1783714373000,"timestamp_seconds":1783714373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4da95d88"} 
[2026-07-11 01:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630802432001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630802432001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:48:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630802432001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":128001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:48:16] local.INFO: GPS data processed {"connection_id":128001,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:48:16] local.INFO: Acknowledgment sent {"connection_id":128001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:48:16] local.INFO: TCP Data received {"connection_id":128000,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:48:16] local.INFO: Processing buffer {"connection_id":128000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:48:16] local.INFO: IMEI packet received {"connection_id":128000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":128000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:48:47] local.INFO: TCP Data received {"connection_id":128001,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:48:47] local.INFO: Processing buffer {"connection_id":128001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:48:47] local.INFO: Packet analysis {"connection_id":128001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:48:47] local.INFO: Extracted packet for processing {"connection_id":128001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:48:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:48:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:48:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:48:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":128001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:48:47] local.INFO: GPS data processed {"connection_id":128001,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:48:47] local.INFO: Acknowledgment sent {"connection_id":128001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:49:05] local.INFO: TCP Data received {"connection_id":128910,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:49:05] local.INFO: Processing buffer {"connection_id":128910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:49:05] local.INFO: IMEI packet received {"connection_id":128910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":128910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:49:11] local.INFO: TCP Data received {"connection_id":128910,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:49:11] local.INFO: Processing buffer {"connection_id":128910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:49:11] local.INFO: IMEI packet received {"connection_id":128910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":128910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:49:12] local.INFO: TCP Data received {"connection_id":128910,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:49:12] local.INFO: Processing buffer {"connection_id":128910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:49:12] local.INFO: Packet analysis {"connection_id":128910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:49:12] local.INFO: Extracted packet for processing {"connection_id":128910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:49:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:49:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":128910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:49:12] local.INFO: GPS data processed {"connection_id":128910,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:49:12] local.INFO: Acknowledgment sent {"connection_id":128910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:49:22] local.INFO: TCP Data received {"connection_id":128204,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:49:22] local.INFO: Processing buffer {"connection_id":128204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:49:22] local.INFO: IMEI packet received {"connection_id":128204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":128204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:49:23] local.INFO: TCP Data received {"connection_id":128204,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-11 01:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128204,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-11 01:49:23] local.INFO: Processing buffer {"connection_id":128204,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-11 01:49:23] local.INFO: IMEI packet received {"connection_id":128204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 01:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":128204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:49:43] local.INFO: TCP Data received {"connection_id":128910,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:49:43] local.INFO: Processing buffer {"connection_id":128910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:49:43] local.INFO: Packet analysis {"connection_id":128910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:49:43] local.INFO: Extracted packet for processing {"connection_id":128910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:49:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:49:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":128910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:49:43] local.INFO: GPS data processed {"connection_id":128910,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:49:43] local.INFO: Acknowledgment sent {"connection_id":128910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:50:05] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:50:05] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:50:05] local.INFO: IMEI packet received {"connection_id":130159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":130159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:50:10] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:50:10] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:50:10] local.INFO: IMEI packet received {"connection_id":130159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":130159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:50:11] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:50:11] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:50:11] local.INFO: Packet analysis {"connection_id":130159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:50:11] local.INFO: Extracted packet for processing {"connection_id":130159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:50:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":130159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:50:11] local.INFO: GPS data processed {"connection_id":130159,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:50:11] local.INFO: Acknowledgment sent {"connection_id":130159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:50:42] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:50:42] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:50:42] local.INFO: Packet analysis {"connection_id":130159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:50:42] local.INFO: Extracted packet for processing {"connection_id":130159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":130159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:50:42] local.INFO: GPS data processed {"connection_id":130159,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:50:42] local.INFO: Acknowledgment sent {"connection_id":130159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:51:11] local.INFO: TCP Data received {"connection_id":128002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:51:11] local.INFO: Processing buffer {"connection_id":128002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:51:11] local.INFO: IMEI packet received {"connection_id":128002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":128002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:51:16] local.INFO: TCP Data received {"connection_id":128002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:51:16] local.INFO: Processing buffer {"connection_id":128002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:51:16] local.INFO: IMEI packet received {"connection_id":128002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":128002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:51:16] local.INFO: TCP Data received {"connection_id":128002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:51:16] local.INFO: Processing buffer {"connection_id":128002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:51:16] local.INFO: Packet analysis {"connection_id":128002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:51:16] local.INFO: Extracted packet for processing {"connection_id":128002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:51:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:51:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":128002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:51:16] local.INFO: GPS data processed {"connection_id":128002,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:51:16] local.INFO: Acknowledgment sent {"connection_id":128002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:51:21] local.INFO: TCP Data received {"connection_id":128002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:51:21] local.INFO: Processing buffer {"connection_id":128002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:51:21] local.INFO: Packet analysis {"connection_id":128002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:51:21] local.INFO: Extracted packet for processing {"connection_id":128002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":128002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:51:21] local.INFO: GPS data processed {"connection_id":128002,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:51:21] local.INFO: Acknowledgment sent {"connection_id":128002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:52:06] local.INFO: TCP Data received {"connection_id":128205,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:52:06] local.INFO: Processing buffer {"connection_id":128205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:52:06] local.INFO: IMEI packet received {"connection_id":128205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":128205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:52:10] local.INFO: TCP Data received {"connection_id":128205,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:52:10] local.INFO: Processing buffer {"connection_id":128205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:52:10] local.INFO: IMEI packet received {"connection_id":128205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":128205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:52:11] local.INFO: TCP Data received {"connection_id":128205,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:52:11] local.INFO: Processing buffer {"connection_id":128205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:52:11] local.INFO: Packet analysis {"connection_id":128205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:52:11] local.INFO: Extracted packet for processing {"connection_id":128205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:52:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:52:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":128205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:52:11] local.INFO: GPS data processed {"connection_id":128205,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:52:11] local.INFO: Acknowledgment sent {"connection_id":128205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:52:42] local.INFO: TCP Data received {"connection_id":128205,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:52:42] local.INFO: Processing buffer {"connection_id":128205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:52:42] local.INFO: Packet analysis {"connection_id":128205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:52:42] local.INFO: Extracted packet for processing {"connection_id":128205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:52:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":128205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:52:42] local.INFO: GPS data processed {"connection_id":128205,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:52:42] local.INFO: Acknowledgment sent {"connection_id":128205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:53:06] local.INFO: TCP Data received {"connection_id":128004,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:53:06] local.INFO: Processing buffer {"connection_id":128004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:53:06] local.INFO: IMEI packet received {"connection_id":128004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":128004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:53:11] local.INFO: TCP Data received {"connection_id":128004,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:53:11] local.INFO: Processing buffer {"connection_id":128004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:53:11] local.INFO: IMEI packet received {"connection_id":128004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":128004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:53:12] local.INFO: TCP Data received {"connection_id":128004,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:53:12] local.INFO: Processing buffer {"connection_id":128004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dadf550012cb29ac007823b28004700db26..."} 
[2026-07-11 01:53:12] local.INFO: Packet analysis {"connection_id":128004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:53:12] local.INFO: Extracted packet for processing {"connection_id":128004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dad"} 
[2026-07-11 01:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630879488001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783714674000,"timestamp_ms":1783714674000,"timestamp_seconds":1783714674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dadf550"} 
[2026-07-11 01:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630879488001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630879488001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:53:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630879488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":128004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:53:12] local.INFO: GPS data processed {"connection_id":128004,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:53:12] local.INFO: Acknowledgment sent {"connection_id":128004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:53:43] local.INFO: TCP Data received {"connection_id":128004,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:53:43] local.INFO: Processing buffer {"connection_id":128004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:53:43] local.INFO: Packet analysis {"connection_id":128004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:53:43] local.INFO: Extracted packet for processing {"connection_id":128004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":128004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:53:43] local.INFO: GPS data processed {"connection_id":128004,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:53:43] local.INFO: Acknowledgment sent {"connection_id":128004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:54:05] local.INFO: TCP Data received {"connection_id":128005,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:54:05] local.INFO: Processing buffer {"connection_id":128005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:54:05] local.INFO: IMEI packet received {"connection_id":128005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":128005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:54:10] local.INFO: TCP Data received {"connection_id":128005,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:54:10] local.INFO: Processing buffer {"connection_id":128005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:54:10] local.INFO: IMEI packet received {"connection_id":128005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":128005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:54:11] local.INFO: TCP Data received {"connection_id":128005,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:54:11] local.INFO: Processing buffer {"connection_id":128005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:54:11] local.INFO: Packet analysis {"connection_id":128005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:54:11] local.INFO: Extracted packet for processing {"connection_id":128005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:54:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:54:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":128005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:54:11] local.INFO: GPS data processed {"connection_id":128005,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:54:11] local.INFO: Acknowledgment sent {"connection_id":128005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:54:25] local.INFO: TCP Data received {"connection_id":128913,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:54:25] local.INFO: Processing buffer {"connection_id":128913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:54:25] local.INFO: IMEI packet received {"connection_id":128913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":128913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:54:42] local.INFO: TCP Data received {"connection_id":128005,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:54:42] local.INFO: Processing buffer {"connection_id":128005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:54:42] local.INFO: Packet analysis {"connection_id":128005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:54:42] local.INFO: Extracted packet for processing {"connection_id":128005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:54:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:54:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":128005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:54:42] local.INFO: GPS data processed {"connection_id":128005,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:54:42] local.INFO: Acknowledgment sent {"connection_id":128005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:54:47] local.INFO: TCP Data received {"connection_id":128206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:54:47] local.INFO: Processing buffer {"connection_id":128206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:54:47] local.INFO: IMEI packet received {"connection_id":128206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 01:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":128206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:54:56] local.INFO: TCP Data received {"connection_id":128206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:54:56] local.INFO: Processing buffer {"connection_id":128206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 01:54:56] local.INFO: IMEI packet received {"connection_id":128206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 01:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":128206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:55:11] local.INFO: TCP Data received {"connection_id":130161,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:55:11] local.INFO: Processing buffer {"connection_id":130161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:55:11] local.INFO: IMEI packet received {"connection_id":130161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":130161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:55:16] local.INFO: TCP Data received {"connection_id":130161,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:55:16] local.INFO: Processing buffer {"connection_id":130161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:55:16] local.INFO: IMEI packet received {"connection_id":130161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":130161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:55:17] local.INFO: TCP Data received {"connection_id":130161,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:55:17] local.INFO: Processing buffer {"connection_id":130161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:55:17] local.INFO: Packet analysis {"connection_id":130161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:55:17] local.INFO: Extracted packet for processing {"connection_id":130161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:55:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:55:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:55:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:55:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:55:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":130161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:55:17] local.INFO: GPS data processed {"connection_id":130161,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:55:17] local.INFO: Acknowledgment sent {"connection_id":130161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:55:21] local.INFO: TCP Data received {"connection_id":130161,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:55:21] local.INFO: Processing buffer {"connection_id":130161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:55:21] local.INFO: Packet analysis {"connection_id":130161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:55:21] local.INFO: Extracted packet for processing {"connection_id":130161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:55:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01: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-07-11 01:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01: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-07-11 01:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:55:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":130161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:55:21] local.INFO: GPS data processed {"connection_id":130161,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:55:21] local.INFO: Acknowledgment sent {"connection_id":130161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:56:06] local.INFO: TCP Data received {"connection_id":128915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:56:06] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:56:06] local.INFO: IMEI packet received {"connection_id":128915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":128915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:56:10] local.INFO: TCP Data received {"connection_id":128915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:56:10] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:56:10] local.INFO: IMEI packet received {"connection_id":128915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":128915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:56:11] local.INFO: TCP Data received {"connection_id":128915,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:56:11] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:56:11] local.INFO: Packet analysis {"connection_id":128915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:56:11] local.INFO: Extracted packet for processing {"connection_id":128915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:56:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:56:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":128915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:56:11] local.INFO: GPS data processed {"connection_id":128915,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:56:11] local.INFO: Acknowledgment sent {"connection_id":128915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:56:42] local.INFO: TCP Data received {"connection_id":128915,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:56:42] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:56:42] local.INFO: Packet analysis {"connection_id":128915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:56:42] local.INFO: Extracted packet for processing {"connection_id":128915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:56:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:56:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":128915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:56:42] local.INFO: GPS data processed {"connection_id":128915,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:56:42] local.INFO: Acknowledgment sent {"connection_id":128915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:57:06] local.INFO: TCP Data received {"connection_id":130163,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:57:06] local.INFO: Processing buffer {"connection_id":130163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:57:06] local.INFO: IMEI packet received {"connection_id":130163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":130163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:57:11] local.INFO: TCP Data received {"connection_id":130163,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:57:11] local.INFO: Processing buffer {"connection_id":130163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:57:11] local.INFO: IMEI packet received {"connection_id":130163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":130163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:57:11] local.INFO: TCP Data received {"connection_id":130163,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:57:11] local.INFO: Processing buffer {"connection_id":130163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:57:11] local.INFO: Packet analysis {"connection_id":130163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:57:11] local.INFO: Extracted packet for processing {"connection_id":130163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":130163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:57:11] local.INFO: GPS data processed {"connection_id":130163,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:57:11] local.INFO: Acknowledgment sent {"connection_id":130163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:57:42] local.INFO: TCP Data received {"connection_id":130163,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:57:42] local.INFO: Processing buffer {"connection_id":130163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:57:42] local.INFO: Packet analysis {"connection_id":130163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:57:42] local.INFO: Extracted packet for processing {"connection_id":130163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":130163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:57:43] local.INFO: GPS data processed {"connection_id":130163,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:57:43] local.INFO: Acknowledgment sent {"connection_id":130163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:58:06] local.INFO: TCP Data received {"connection_id":128208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:58:06] local.INFO: Processing buffer {"connection_id":128208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:58:06] local.INFO: IMEI packet received {"connection_id":128208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":128208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:58:10] local.INFO: TCP Data received {"connection_id":128208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:58:10] local.INFO: Processing buffer {"connection_id":128208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:58:10] local.INFO: IMEI packet received {"connection_id":128208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:58:11] local.INFO: TCP Data received {"connection_id":128208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:58:11] local.INFO: Processing buffer {"connection_id":128208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db28d18012cb29ac007823b28004700db25..."} 
[2026-07-11 01:58:11] local.INFO: Packet analysis {"connection_id":128208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:58:11] local.INFO: Extracted packet for processing {"connection_id":128208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db2"} 
[2026-07-11 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456630956544001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783714975000,"timestamp_ms":1783714975000,"timestamp_seconds":1783714975,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db28d18"} 
[2026-07-11 01:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 01:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456630956544001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456630956544001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456630956544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":128208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:58:11] local.INFO: GPS data processed {"connection_id":128208,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:58:11] local.INFO: Acknowledgment sent {"connection_id":128208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:58:42] local.INFO: TCP Data received {"connection_id":128208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:58:42] local.INFO: Processing buffer {"connection_id":128208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:58:42] local.INFO: Packet analysis {"connection_id":128208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 01:58:42] local.INFO: Extracted packet for processing {"connection_id":128208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 01:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:58:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":128208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:58:42] local.INFO: GPS data processed {"connection_id":128208,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:58:42] local.INFO: Acknowledgment sent {"connection_id":128208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:59:05] local.INFO: TCP Data received {"connection_id":128209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:59:05] local.INFO: Processing buffer {"connection_id":128209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:59:05] local.INFO: IMEI packet received {"connection_id":128209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 01:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":128209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 01:59:10] local.INFO: TCP Data received {"connection_id":128209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:59:10] local.INFO: Processing buffer {"connection_id":128209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 01:59:10] local.INFO: IMEI packet received {"connection_id":128209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 01:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":128209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 01:59:11] local.INFO: TCP Data received {"connection_id":128209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:59:11] local.INFO: Processing buffer {"connection_id":128209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:59:11] local.INFO: Packet analysis {"connection_id":128209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 01:59:11] local.INFO: Extracted packet for processing {"connection_id":128209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 01:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 01:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:59:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":128209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:59:11] local.INFO: GPS data processed {"connection_id":128209,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:59:11] local.INFO: Acknowledgment sent {"connection_id":128209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 01:59:42] local.INFO: TCP Data received {"connection_id":128209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:59:42] local.INFO: Processing buffer {"connection_id":128209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 01:59:42] local.INFO: Packet analysis {"connection_id":128209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 01:59:42] local.INFO: Extracted packet for processing {"connection_id":128209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 01:59:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 01:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 01:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 01:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 01:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 01:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 01:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 01:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 01:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 01:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 01:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 01:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 01:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 01:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 01:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 01:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 01:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 01:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 01:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 01:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 01:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 01:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 01:59:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 01:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 01:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 01:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 01:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 01:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":128209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 01:59:42] local.INFO: GPS data processed {"connection_id":128209,"processed":1,"errors":0,"total":1} 
[2026-07-11 01:59:42] local.INFO: Acknowledgment sent {"connection_id":128209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:00:06] local.INFO: TCP Data received {"connection_id":128916,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:00:06] local.INFO: Processing buffer {"connection_id":128916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:00:06] local.INFO: IMEI packet received {"connection_id":128916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":128916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:00:10] local.INFO: TCP Data received {"connection_id":130165,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:00:10] local.INFO: Processing buffer {"connection_id":130165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:00:10] local.INFO: IMEI packet received {"connection_id":130165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":130165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:00:16] local.INFO: TCP Data received {"connection_id":130165,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:00:16] local.INFO: Processing buffer {"connection_id":130165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:00:16] local.INFO: IMEI packet received {"connection_id":130165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":130165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:00:16] local.INFO: TCP Data received {"connection_id":130165,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:00:16] local.INFO: Processing buffer {"connection_id":130165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:00:16] local.INFO: Packet analysis {"connection_id":130165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:00:16] local.INFO: Extracted packet for processing {"connection_id":130165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:00:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:00:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 02:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:00:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:00:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":130165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:00:16] local.INFO: GPS data processed {"connection_id":130165,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:00:16] local.INFO: Acknowledgment sent {"connection_id":130165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:00:47] local.INFO: TCP Data received {"connection_id":130165,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:00:47] local.INFO: Processing buffer {"connection_id":130165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:00:47] local.INFO: Packet analysis {"connection_id":130165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:00:47] local.INFO: Extracted packet for processing {"connection_id":130165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:00:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:00:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 02:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:00:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:00:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":130165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:00:47] local.INFO: GPS data processed {"connection_id":130165,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:00:47] local.INFO: Acknowledgment sent {"connection_id":130165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:00:49] local.INFO: TCP Data received {"connection_id":128006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:00:49] local.INFO: Processing buffer {"connection_id":128006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:00:49] local.INFO: IMEI packet received {"connection_id":128006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":128006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:01:06] local.INFO: TCP Data received {"connection_id":128210,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:01:06] local.INFO: Processing buffer {"connection_id":128210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:01:06] local.INFO: IMEI packet received {"connection_id":128210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":128210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:01:11] local.INFO: TCP Data received {"connection_id":128210,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:01:11] local.INFO: Processing buffer {"connection_id":128210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:01:11] local.INFO: IMEI packet received {"connection_id":128210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":128210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:01:11] local.INFO: TCP Data received {"connection_id":128210,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:01:11] local.INFO: Processing buffer {"connection_id":128210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:01:11] local.INFO: Packet analysis {"connection_id":128210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:01:11] local.INFO: Extracted packet for processing {"connection_id":128210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 02:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":128210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:01:11] local.INFO: GPS data processed {"connection_id":128210,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:01:11] local.INFO: Acknowledgment sent {"connection_id":128210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:01:42] local.INFO: TCP Data received {"connection_id":128210,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:01:42] local.INFO: Processing buffer {"connection_id":128210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:01:42] local.INFO: Packet analysis {"connection_id":128210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:01:42] local.INFO: Extracted packet for processing {"connection_id":128210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 02:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":128210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:01:42] local.INFO: GPS data processed {"connection_id":128210,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:01:42] local.INFO: Acknowledgment sent {"connection_id":128210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:02:06] local.INFO: TCP Data received {"connection_id":128211,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:02:06] local.INFO: Processing buffer {"connection_id":128211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:02:06] local.INFO: IMEI packet received {"connection_id":128211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":128211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:02:10] local.INFO: TCP Data received {"connection_id":128211,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:02:10] local.INFO: Processing buffer {"connection_id":128211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:02:10] local.INFO: IMEI packet received {"connection_id":128211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":128211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:02:11] local.INFO: TCP Data received {"connection_id":128211,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:02:11] local.INFO: Processing buffer {"connection_id":128211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:02:11] local.INFO: Packet analysis {"connection_id":128211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:02:11] local.INFO: Extracted packet for processing {"connection_id":128211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 02:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":128211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:02:11] local.INFO: GPS data processed {"connection_id":128211,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:02:11] local.INFO: Acknowledgment sent {"connection_id":128211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:02:42] local.INFO: TCP Data received {"connection_id":128211,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:02:42] local.INFO: Processing buffer {"connection_id":128211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:02:42] local.INFO: Packet analysis {"connection_id":128211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:02:42] local.INFO: Extracted packet for processing {"connection_id":128211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 02:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:02:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":128211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:02:42] local.INFO: GPS data processed {"connection_id":128211,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:02:42] local.INFO: Acknowledgment sent {"connection_id":128211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:03:06] local.INFO: TCP Data received {"connection_id":130167,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:03:06] local.INFO: Processing buffer {"connection_id":130167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:03:06] local.INFO: IMEI packet received {"connection_id":130167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":130167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:03:11] local.INFO: TCP Data received {"connection_id":130167,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:03:11] local.INFO: Processing buffer {"connection_id":130167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:03:11] local.INFO: IMEI packet received {"connection_id":130167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":130167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:03:11] local.INFO: TCP Data received {"connection_id":130167,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:03:11] local.INFO: Processing buffer {"connection_id":130167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4db724e0012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:03:11] local.INFO: Packet analysis {"connection_id":130167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:03:11] local.INFO: Extracted packet for processing {"connection_id":130167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4db7"} 
[2026-07-11 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631033600001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715276000,"timestamp_ms":1783715276000,"timestamp_seconds":1783715276,"priority":1,"record_length":96,"hex_timestamp":"0000019f4db724e0"} 
[2026-07-11 02:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631033600001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631033600001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:03:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631033600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":130167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:03:11] local.INFO: GPS data processed {"connection_id":130167,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:03:11] local.INFO: Acknowledgment sent {"connection_id":130167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:03:43] local.INFO: TCP Data received {"connection_id":130167,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:03:43] local.INFO: Processing buffer {"connection_id":130167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:03:43] local.INFO: Packet analysis {"connection_id":130167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:03:43] local.INFO: Extracted packet for processing {"connection_id":130167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:03:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:03:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:03:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:03:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":130167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:03:43] local.INFO: GPS data processed {"connection_id":130167,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:03:43] local.INFO: Acknowledgment sent {"connection_id":130167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:04:05] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:04:05] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:04:05] local.INFO: IMEI packet received {"connection_id":130168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":130168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:04:10] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:04:10] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:04:10] local.INFO: IMEI packet received {"connection_id":130168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":130168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:04:11] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:04:11] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:04:11] local.INFO: Packet analysis {"connection_id":130168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:04:11] local.INFO: Extracted packet for processing {"connection_id":130168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:04:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":130168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:04:11] local.INFO: GPS data processed {"connection_id":130168,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:04:11] local.INFO: Acknowledgment sent {"connection_id":130168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:04:42] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:04:42] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:04:42] local.INFO: Packet analysis {"connection_id":130168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:04:42] local.INFO: Extracted packet for processing {"connection_id":130168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:04:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:04:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":130168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:04:42] local.INFO: GPS data processed {"connection_id":130168,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:04:42] local.INFO: Acknowledgment sent {"connection_id":130168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:05:06] local.INFO: TCP Data received {"connection_id":130169,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:05:06] local.INFO: Processing buffer {"connection_id":130169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:05:06] local.INFO: IMEI packet received {"connection_id":130169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":130169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:05:11] local.INFO: TCP Data received {"connection_id":130169,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:05:11] local.INFO: Processing buffer {"connection_id":130169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:05:11] local.INFO: IMEI packet received {"connection_id":130169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":130169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:05:11] local.INFO: TCP Data received {"connection_id":130169,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:05:11] local.INFO: Processing buffer {"connection_id":130169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:05:11] local.INFO: Packet analysis {"connection_id":130169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:05:11] local.INFO: Extracted packet for processing {"connection_id":130169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":130169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:05:11] local.INFO: GPS data processed {"connection_id":130169,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:05:11] local.INFO: Acknowledgment sent {"connection_id":130169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:05:45] local.INFO: TCP Data received {"connection_id":130169,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:05:45] local.INFO: Processing buffer {"connection_id":130169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:05:45] local.INFO: Packet analysis {"connection_id":130169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:05:45] local.INFO: Extracted packet for processing {"connection_id":130169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:05:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02: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-07-11 02:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:05:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02: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-07-11 02:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:05:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:05:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:05:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":130169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:05:45] local.INFO: GPS data processed {"connection_id":130169,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:05:45] local.INFO: Acknowledgment sent {"connection_id":130169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:05:53] local.INFO: TCP Data received {"connection_id":128918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:05:53] local.INFO: Processing buffer {"connection_id":128918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:05:53] local.INFO: IMEI packet received {"connection_id":128918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":128918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:06:06] local.INFO: TCP Data received {"connection_id":128919,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:06:06] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:06:06] local.INFO: IMEI packet received {"connection_id":128919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":128919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:06:10] local.INFO: TCP Data received {"connection_id":128919,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:06:10] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:06:10] local.INFO: IMEI packet received {"connection_id":128919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":128919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:06:11] local.INFO: TCP Data received {"connection_id":128919,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:06:11] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:06:11] local.INFO: Packet analysis {"connection_id":128919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:06:11] local.INFO: Extracted packet for processing {"connection_id":128919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:06:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":128919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:06:11] local.INFO: GPS data processed {"connection_id":128919,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:06:11] local.INFO: Acknowledgment sent {"connection_id":128919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:06:42] local.INFO: TCP Data received {"connection_id":128919,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:06:42] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:06:42] local.INFO: Packet analysis {"connection_id":128919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:06:42] local.INFO: Extracted packet for processing {"connection_id":128919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:06:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:06:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":128919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:06:42] local.INFO: GPS data processed {"connection_id":128919,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:06:42] local.INFO: Acknowledgment sent {"connection_id":128919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:07:06] local.INFO: TCP Data received {"connection_id":130171,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:07:06] local.INFO: Processing buffer {"connection_id":130171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:07:06] local.INFO: IMEI packet received {"connection_id":130171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":130171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:07:11] local.INFO: TCP Data received {"connection_id":130171,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:07:11] local.INFO: Processing buffer {"connection_id":130171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:07:11] local.INFO: IMEI packet received {"connection_id":130171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":130171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:07:11] local.INFO: TCP Data received {"connection_id":130171,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:07:11] local.INFO: Processing buffer {"connection_id":130171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:07:11] local.INFO: Packet analysis {"connection_id":130171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:07:11] local.INFO: Extracted packet for processing {"connection_id":130171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":130171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:07:11] local.INFO: GPS data processed {"connection_id":130171,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:07:11] local.INFO: Acknowledgment sent {"connection_id":130171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:07:42] local.INFO: TCP Data received {"connection_id":130171,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:07:42] local.INFO: Processing buffer {"connection_id":130171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:07:42] local.INFO: Packet analysis {"connection_id":130171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:07:42] local.INFO: Extracted packet for processing {"connection_id":130171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":130171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:07:43] local.INFO: GPS data processed {"connection_id":130171,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:07:43] local.INFO: Acknowledgment sent {"connection_id":130171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:08:05] local.INFO: TCP Data received {"connection_id":128009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:08:05] local.INFO: Processing buffer {"connection_id":128009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:08:05] local.INFO: IMEI packet received {"connection_id":128009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":128009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:08:10] local.INFO: TCP Data received {"connection_id":128009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:08:10] local.INFO: Processing buffer {"connection_id":128009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:08:10] local.INFO: IMEI packet received {"connection_id":128009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":128009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:08:11] local.INFO: TCP Data received {"connection_id":128009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:08:11] local.INFO: Processing buffer {"connection_id":128009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dbbbca8012cb29ac007823b28004700db28..."} 
[2026-07-11 02:08:11] local.INFO: Packet analysis {"connection_id":128009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:08:11] local.INFO: Extracted packet for processing {"connection_id":128009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dbb"} 
[2026-07-11 02:08:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631110656001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715577000,"timestamp_ms":1783715577000,"timestamp_seconds":1783715577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dbbbca8"} 
[2026-07-11 02:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 02:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631110656001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631110656001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:08:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631110656001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":128009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:08:11] local.INFO: GPS data processed {"connection_id":128009,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:08:11] local.INFO: Acknowledgment sent {"connection_id":128009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:08:42] local.INFO: TCP Data received {"connection_id":128009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:08:42] local.INFO: Processing buffer {"connection_id":128009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:08:42] local.INFO: Packet analysis {"connection_id":128009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:08:42] local.INFO: Extracted packet for processing {"connection_id":128009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:08:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:08:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":128009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:08:42] local.INFO: GPS data processed {"connection_id":128009,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:08:42] local.INFO: Acknowledgment sent {"connection_id":128009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:09:10] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:09:10] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:09:10] local.INFO: IMEI packet received {"connection_id":128922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":128922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:09:15] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:09:15] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:09:15] local.INFO: IMEI packet received {"connection_id":128922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":128922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:09:16] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:09:16] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:09:16] local.INFO: Packet analysis {"connection_id":128922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:09:16] local.INFO: Extracted packet for processing {"connection_id":128922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:09:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:09:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:09:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:09:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:09:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":128922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:09:16] local.INFO: GPS data processed {"connection_id":128922,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:09:16] local.INFO: Acknowledgment sent {"connection_id":128922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:09:21] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:09:21] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:09:21] local.INFO: Packet analysis {"connection_id":128922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:09:21] local.INFO: Extracted packet for processing {"connection_id":128922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:09:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:09:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":128922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:09:21] local.INFO: GPS data processed {"connection_id":128922,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:09:21] local.INFO: Acknowledgment sent {"connection_id":128922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:10:06] local.INFO: TCP Data received {"connection_id":128923,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:10:06] local.INFO: Processing buffer {"connection_id":128923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:10:06] local.INFO: IMEI packet received {"connection_id":128923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":128923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:10:10] local.INFO: TCP Data received {"connection_id":128923,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:10:10] local.INFO: Processing buffer {"connection_id":128923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:10:10] local.INFO: IMEI packet received {"connection_id":128923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":128923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:10:11] local.INFO: TCP Data received {"connection_id":128923,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:10:11] local.INFO: Processing buffer {"connection_id":128923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:10:11] local.INFO: Packet analysis {"connection_id":128923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:10:11] local.INFO: Extracted packet for processing {"connection_id":128923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":128923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:10:11] local.INFO: GPS data processed {"connection_id":128923,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:10:11] local.INFO: Acknowledgment sent {"connection_id":128923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:10:42] local.INFO: TCP Data received {"connection_id":128923,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:10:42] local.INFO: Processing buffer {"connection_id":128923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:10:42] local.INFO: Packet analysis {"connection_id":128923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:10:42] local.INFO: Extracted packet for processing {"connection_id":128923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":128923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:10:42] local.INFO: GPS data processed {"connection_id":128923,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:10:42] local.INFO: Acknowledgment sent {"connection_id":128923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:11:06] local.INFO: TCP Data received {"connection_id":128011,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:11:06] local.INFO: Processing buffer {"connection_id":128011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:11:06] local.INFO: IMEI packet received {"connection_id":128011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":128011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:11:11] local.INFO: TCP Data received {"connection_id":128011,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:11:11] local.INFO: Processing buffer {"connection_id":128011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:11:11] local.INFO: IMEI packet received {"connection_id":128011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":128011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:11:11] local.INFO: TCP Data received {"connection_id":128011,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:11:11] local.INFO: Processing buffer {"connection_id":128011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:11:11] local.INFO: Packet analysis {"connection_id":128011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:11:11] local.INFO: Extracted packet for processing {"connection_id":128011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":128011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:11:11] local.INFO: GPS data processed {"connection_id":128011,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:11:11] local.INFO: Acknowledgment sent {"connection_id":128011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:11:17] local.INFO: TCP Data received {"connection_id":128010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:17] local.INFO: Processing buffer {"connection_id":128010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:17] local.INFO: IMEI packet received {"connection_id":128010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":128010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:11:43] local.INFO: TCP Data received {"connection_id":128011,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:11:43] local.INFO: Processing buffer {"connection_id":128011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:11:43] local.INFO: Packet analysis {"connection_id":128011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:11:43] local.INFO: Extracted packet for processing {"connection_id":128011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:11:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:11:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":128011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:11:43] local.INFO: GPS data processed {"connection_id":128011,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:11:43] local.INFO: Acknowledgment sent {"connection_id":128011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:11:46] local.INFO: TCP Data received {"connection_id":128924,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:46] local.INFO: Processing buffer {"connection_id":128924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:46] local.INFO: IMEI packet received {"connection_id":128924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":128924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:11:51] local.INFO: TCP Data received {"connection_id":128924,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:51] local.INFO: Processing buffer {"connection_id":128924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:51] local.INFO: IMEI packet received {"connection_id":128924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 02:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":128924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:11:57] local.INFO: TCP Data received {"connection_id":128924,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:57] local.INFO: Processing buffer {"connection_id":128924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:11:57] local.INFO: IMEI packet received {"connection_id":128924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 02:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":128924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:12:06] local.INFO: TCP Data received {"connection_id":130173,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:12:06] local.INFO: Processing buffer {"connection_id":130173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:12:06] local.INFO: IMEI packet received {"connection_id":130173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":130173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:12:10] local.INFO: TCP Data received {"connection_id":130173,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:12:10] local.INFO: Processing buffer {"connection_id":130173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:12:10] local.INFO: IMEI packet received {"connection_id":130173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":130173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:12:11] local.INFO: TCP Data received {"connection_id":130173,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:12:11] local.INFO: Processing buffer {"connection_id":130173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:12:11] local.INFO: Packet analysis {"connection_id":130173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:12:11] local.INFO: Extracted packet for processing {"connection_id":130173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:12:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:12:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":130173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:12:11] local.INFO: GPS data processed {"connection_id":130173,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:12:11] local.INFO: Acknowledgment sent {"connection_id":130173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:12:42] local.INFO: TCP Data received {"connection_id":130173,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:12:42] local.INFO: Processing buffer {"connection_id":130173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:12:42] local.INFO: Packet analysis {"connection_id":130173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:12:42] local.INFO: Extracted packet for processing {"connection_id":130173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:12:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:12:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":130173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:12:42] local.INFO: GPS data processed {"connection_id":130173,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:12:42] local.INFO: Acknowledgment sent {"connection_id":130173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:12:47] local.INFO: TCP Data received {"connection_id":130174,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:12:47] local.INFO: Processing buffer {"connection_id":130174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:12:47] local.INFO: IMEI packet received {"connection_id":130174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":130174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:12:48] local.INFO: TCP Data received {"connection_id":130174,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:12:48] local.INFO: Processing buffer {"connection_id":130174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:12:48] local.INFO: IMEI packet received {"connection_id":130174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 02:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":130174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:12:52] local.INFO: TCP Data received {"connection_id":130174,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:12:52] local.INFO: Processing buffer {"connection_id":130174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:12:52] local.INFO: IMEI packet received {"connection_id":130174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 02:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":130174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:13:06] local.INFO: TCP Data received {"connection_id":128213,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:13:06] local.INFO: Processing buffer {"connection_id":128213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:13:06] local.INFO: IMEI packet received {"connection_id":128213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":128213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:13:11] local.INFO: TCP Data received {"connection_id":128213,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:13:11] local.INFO: Processing buffer {"connection_id":128213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:13:11] local.INFO: IMEI packet received {"connection_id":128213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":128213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:13:11] local.INFO: TCP Data received {"connection_id":128213,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:13:11] local.INFO: Processing buffer {"connection_id":128213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc05470012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:13:11] local.INFO: Packet analysis {"connection_id":128213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:13:11] local.INFO: Extracted packet for processing {"connection_id":128213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc0"} 
[2026-07-11 02:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631187712001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783715878000,"timestamp_ms":1783715878000,"timestamp_seconds":1783715878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc05470"} 
[2026-07-11 02:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631187712001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631187712001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631187712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":128213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:13:11] local.INFO: GPS data processed {"connection_id":128213,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:13:11] local.INFO: Acknowledgment sent {"connection_id":128213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:13:42] local.INFO: TCP Data received {"connection_id":128213,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:13:42] local.INFO: Processing buffer {"connection_id":128213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:13:42] local.INFO: Packet analysis {"connection_id":128213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:13:42] local.INFO: Extracted packet for processing {"connection_id":128213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":128213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:13:43] local.INFO: GPS data processed {"connection_id":128213,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:13:43] local.INFO: Acknowledgment sent {"connection_id":128213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:14:10] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:14:10] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:14:10] local.INFO: IMEI packet received {"connection_id":130175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":130175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:14:16] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:14:16] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:14:16] local.INFO: IMEI packet received {"connection_id":130175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":130175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:14:16] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:14:16] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:14:16] local.INFO: Packet analysis {"connection_id":130175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:14:16] local.INFO: Extracted packet for processing {"connection_id":130175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:14:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:14:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:14:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:14:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:14:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":130175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:14:16] local.INFO: GPS data processed {"connection_id":130175,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:14:16] local.INFO: Acknowledgment sent {"connection_id":130175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:14:21] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:14:21] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:14:21] local.INFO: Packet analysis {"connection_id":130175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:14:21] local.INFO: Extracted packet for processing {"connection_id":130175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:14:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:14:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":130175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:14:21] local.INFO: GPS data processed {"connection_id":130175,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:14:21] local.INFO: Acknowledgment sent {"connection_id":130175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:15:06] local.INFO: TCP Data received {"connection_id":128012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:15:06] local.INFO: Processing buffer {"connection_id":128012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:15:06] local.INFO: IMEI packet received {"connection_id":128012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":128012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:15:11] local.INFO: TCP Data received {"connection_id":128012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:15:11] local.INFO: Processing buffer {"connection_id":128012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:15:11] local.INFO: IMEI packet received {"connection_id":128012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":128012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:15:12] local.INFO: TCP Data received {"connection_id":128012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:15:12] local.INFO: Processing buffer {"connection_id":128012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:15:12] local.INFO: Packet analysis {"connection_id":128012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:15:12] local.INFO: Extracted packet for processing {"connection_id":128012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:15:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:15:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":128012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:15:12] local.INFO: GPS data processed {"connection_id":128012,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:15:12] local.INFO: Acknowledgment sent {"connection_id":128012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:15:43] local.INFO: TCP Data received {"connection_id":128012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:15:43] local.INFO: Processing buffer {"connection_id":128012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:15:43] local.INFO: Packet analysis {"connection_id":128012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:15:43] local.INFO: Extracted packet for processing {"connection_id":128012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:15:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:15:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":128012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:15:43] local.INFO: GPS data processed {"connection_id":128012,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:15:43] local.INFO: Acknowledgment sent {"connection_id":128012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:16:06] local.INFO: TCP Data received {"connection_id":128928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:16:06] local.INFO: Processing buffer {"connection_id":128928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:16:06] local.INFO: IMEI packet received {"connection_id":128928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":128928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:16:10] local.INFO: TCP Data received {"connection_id":128928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:16:10] local.INFO: Processing buffer {"connection_id":128928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:16:10] local.INFO: IMEI packet received {"connection_id":128928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":128928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:16:11] local.INFO: TCP Data received {"connection_id":128928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:16:11] local.INFO: Processing buffer {"connection_id":128928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:16:11] local.INFO: Packet analysis {"connection_id":128928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:16:11] local.INFO: Extracted packet for processing {"connection_id":128928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:16:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":128928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:16:11] local.INFO: GPS data processed {"connection_id":128928,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:16:11] local.INFO: Acknowledgment sent {"connection_id":128928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:16:42] local.INFO: TCP Data received {"connection_id":128928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:16:42] local.INFO: Processing buffer {"connection_id":128928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:16:42] local.INFO: Packet analysis {"connection_id":128928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:16:42] local.INFO: Extracted packet for processing {"connection_id":128928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:16:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":128928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:16:42] local.INFO: GPS data processed {"connection_id":128928,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:16:42] local.INFO: Acknowledgment sent {"connection_id":128928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:17:05] local.INFO: TCP Data received {"connection_id":128013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:17:05] local.INFO: Processing buffer {"connection_id":128013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:17:05] local.INFO: IMEI packet received {"connection_id":128013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":128013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:17:10] local.INFO: TCP Data received {"connection_id":128013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:17:10] local.INFO: Processing buffer {"connection_id":128013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:17:10] local.INFO: IMEI packet received {"connection_id":128013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":128013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:17:11] local.INFO: TCP Data received {"connection_id":128013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:17:11] local.INFO: Processing buffer {"connection_id":128013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:17:11] local.INFO: Packet analysis {"connection_id":128013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:17:11] local.INFO: Extracted packet for processing {"connection_id":128013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":128013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:17:11] local.INFO: GPS data processed {"connection_id":128013,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:17:11] local.INFO: Acknowledgment sent {"connection_id":128013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:17:42] local.INFO: TCP Data received {"connection_id":128013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:17:42] local.INFO: Processing buffer {"connection_id":128013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:17:42] local.INFO: Packet analysis {"connection_id":128013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:17:42] local.INFO: Extracted packet for processing {"connection_id":128013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":128013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:17:42] local.INFO: GPS data processed {"connection_id":128013,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:17:42] local.INFO: Acknowledgment sent {"connection_id":128013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:18:06] local.INFO: TCP Data received {"connection_id":128014,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:18:06] local.INFO: Processing buffer {"connection_id":128014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:18:06] local.INFO: IMEI packet received {"connection_id":128014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":128014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:18:10] local.INFO: TCP Data received {"connection_id":128014,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:18:10] local.INFO: Processing buffer {"connection_id":128014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:18:10] local.INFO: IMEI packet received {"connection_id":128014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":128014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:18:11] local.INFO: TCP Data received {"connection_id":128014,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:18:11] local.INFO: Processing buffer {"connection_id":128014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc4ec38012cb29ac007823b28004700db29..."} 
[2026-07-11 02:18:11] local.INFO: Packet analysis {"connection_id":128014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:18:11] local.INFO: Extracted packet for processing {"connection_id":128014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc4"} 
[2026-07-11 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631264768001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716179000,"timestamp_ms":1783716179000,"timestamp_seconds":1783716179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc4ec38"} 
[2026-07-11 02:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631264768001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631264768001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631264768001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":128014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:18:11] local.INFO: GPS data processed {"connection_id":128014,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:18:11] local.INFO: Acknowledgment sent {"connection_id":128014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:18:17] local.INFO: TCP Data received {"connection_id":130176,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:18:17] local.INFO: Processing buffer {"connection_id":130176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:18:17] local.INFO: IMEI packet received {"connection_id":130176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":130176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:18:44] local.INFO: TCP Data received {"connection_id":128014,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:18:44] local.INFO: Processing buffer {"connection_id":128014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:18:44] local.INFO: Packet analysis {"connection_id":128014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:18:44] local.INFO: Extracted packet for processing {"connection_id":128014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:18:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:18:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:18:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:18:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":128014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:18:44] local.INFO: GPS data processed {"connection_id":128014,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:18:44] local.INFO: Acknowledgment sent {"connection_id":128014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:18:46] local.INFO: TCP Data received {"connection_id":128929,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:18:46] local.INFO: Processing buffer {"connection_id":128929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:18:46] local.INFO: IMEI packet received {"connection_id":128929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":128929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:19:11] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:19:11] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:19:11] local.INFO: IMEI packet received {"connection_id":128930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":128930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:19:16] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:19:16] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:19:16] local.INFO: IMEI packet received {"connection_id":128930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":128930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:19:16] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:19:16] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:19:16] local.INFO: Packet analysis {"connection_id":128930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:19:16] local.INFO: Extracted packet for processing {"connection_id":128930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:19:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:19:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:19:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:19:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":128930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:19:16] local.INFO: GPS data processed {"connection_id":128930,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:19:16] local.INFO: Acknowledgment sent {"connection_id":128930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:19:21] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:19:21] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:19:21] local.INFO: Packet analysis {"connection_id":128930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:19:21] local.INFO: Extracted packet for processing {"connection_id":128930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:19:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":128930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:19:21] local.INFO: GPS data processed {"connection_id":128930,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:19:21] local.INFO: Acknowledgment sent {"connection_id":128930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:20:06] local.INFO: TCP Data received {"connection_id":128216,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:20:06] local.INFO: Processing buffer {"connection_id":128216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:20:06] local.INFO: IMEI packet received {"connection_id":128216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":128216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:20:10] local.INFO: TCP Data received {"connection_id":128216,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:20:10] local.INFO: Processing buffer {"connection_id":128216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:20:10] local.INFO: IMEI packet received {"connection_id":128216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":128216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:20:11] local.INFO: TCP Data received {"connection_id":128216,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:20:11] local.INFO: Processing buffer {"connection_id":128216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:20:11] local.INFO: Packet analysis {"connection_id":128216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:20:11] local.INFO: Extracted packet for processing {"connection_id":128216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:20:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:20:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":128216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:20:11] local.INFO: GPS data processed {"connection_id":128216,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:20:11] local.INFO: Acknowledgment sent {"connection_id":128216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:20:44] local.INFO: TCP Data received {"connection_id":128216,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:20:44] local.INFO: Processing buffer {"connection_id":128216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:20:44] local.INFO: Packet analysis {"connection_id":128216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:20:44] local.INFO: Extracted packet for processing {"connection_id":128216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:20:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:20:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02: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-07-11 02:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:20:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":128216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:20:44] local.INFO: GPS data processed {"connection_id":128216,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:20:44] local.INFO: Acknowledgment sent {"connection_id":128216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:21:06] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:21:06] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:21:06] local.INFO: IMEI packet received {"connection_id":128931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":128931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:21:11] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:21:11] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:21:11] local.INFO: IMEI packet received {"connection_id":128931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":128931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:21:11] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:21:11] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:21:11] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:21:11] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:21:11] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:21:11] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:21:43] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:21:43] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:21:43] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:21:43] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:21:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:21:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:21:43] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:21:43] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:22:06] local.INFO: TCP Data received {"connection_id":128218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:22:06] local.INFO: Processing buffer {"connection_id":128218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:22:06] local.INFO: IMEI packet received {"connection_id":128218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":128218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:22:10] local.INFO: TCP Data received {"connection_id":128218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:22:10] local.INFO: Processing buffer {"connection_id":128218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:22:10] local.INFO: IMEI packet received {"connection_id":128218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":128218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:22:11] local.INFO: TCP Data received {"connection_id":128218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:22:11] local.INFO: Processing buffer {"connection_id":128218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:22:11] local.INFO: Packet analysis {"connection_id":128218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:22:11] local.INFO: Extracted packet for processing {"connection_id":128218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":128218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:22:11] local.INFO: GPS data processed {"connection_id":128218,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:22:11] local.INFO: Acknowledgment sent {"connection_id":128218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:22:42] local.INFO: TCP Data received {"connection_id":128218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:22:42] local.INFO: Processing buffer {"connection_id":128218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:22:42] local.INFO: Packet analysis {"connection_id":128218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:22:42] local.INFO: Extracted packet for processing {"connection_id":128218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:22:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":128218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:22:42] local.INFO: GPS data processed {"connection_id":128218,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:22:42] local.INFO: Acknowledgment sent {"connection_id":128218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:23:05] local.INFO: TCP Data received {"connection_id":130178,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:23:05] local.INFO: Processing buffer {"connection_id":130178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:23:05] local.INFO: IMEI packet received {"connection_id":130178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":130178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:23:11] local.INFO: TCP Data received {"connection_id":130178,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:23:11] local.INFO: Processing buffer {"connection_id":130178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:23:11] local.INFO: IMEI packet received {"connection_id":130178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":130178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:23:11] local.INFO: TCP Data received {"connection_id":130178,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:23:11] local.INFO: Processing buffer {"connection_id":130178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dc98400012cb29ac007823b28004700db27..."} 
[2026-07-11 02:23:11] local.INFO: Packet analysis {"connection_id":130178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:23:11] local.INFO: Extracted packet for processing {"connection_id":130178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dc9"} 
[2026-07-11 02:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631341824001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716480000,"timestamp_ms":1783716480000,"timestamp_seconds":1783716480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dc98400"} 
[2026-07-11 02:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631341824001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631341824001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631341824001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":130178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:23:11] local.INFO: GPS data processed {"connection_id":130178,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:23:11] local.INFO: Acknowledgment sent {"connection_id":130178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:23:43] local.INFO: TCP Data received {"connection_id":130178,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:23:43] local.INFO: Processing buffer {"connection_id":130178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:23:43] local.INFO: Packet analysis {"connection_id":130178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:23:43] local.INFO: Extracted packet for processing {"connection_id":130178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:23:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:23:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":130178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:23:43] local.INFO: GPS data processed {"connection_id":130178,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:23:43] local.INFO: Acknowledgment sent {"connection_id":130178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:24:07] local.INFO: TCP Data received {"connection_id":128015,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:24:07] local.INFO: Processing buffer {"connection_id":128015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:24:07] local.INFO: IMEI packet received {"connection_id":128015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":128015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:24:10] local.INFO: TCP Data received {"connection_id":128016,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:24:10] local.INFO: Processing buffer {"connection_id":128016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:24:10] local.INFO: IMEI packet received {"connection_id":128016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":128016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:24:16] local.INFO: TCP Data received {"connection_id":128016,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:24:16] local.INFO: Processing buffer {"connection_id":128016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:24:16] local.INFO: IMEI packet received {"connection_id":128016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":128016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:24:16] local.INFO: TCP Data received {"connection_id":128016,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:24:16] local.INFO: Processing buffer {"connection_id":128016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:24:16] local.INFO: Packet analysis {"connection_id":128016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:24:16] local.INFO: Extracted packet for processing {"connection_id":128016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:24:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:24:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":128016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:24:16] local.INFO: GPS data processed {"connection_id":128016,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:24:16] local.INFO: Acknowledgment sent {"connection_id":128016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:24:46] local.INFO: TCP Data received {"connection_id":128017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:24:46] local.INFO: Processing buffer {"connection_id":128017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:24:46] local.INFO: IMEI packet received {"connection_id":128017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":128017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:24:47] local.INFO: TCP Data received {"connection_id":128016,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:24:47] local.INFO: Processing buffer {"connection_id":128016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:24:47] local.INFO: Packet analysis {"connection_id":128016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:24:47] local.INFO: Extracted packet for processing {"connection_id":128016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:24:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:24:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:24:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:24:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:24:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":128016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:24:47] local.INFO: GPS data processed {"connection_id":128016,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:24:47] local.INFO: Acknowledgment sent {"connection_id":128016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:25:06] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:25:06] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:25:06] local.INFO: IMEI packet received {"connection_id":128933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":128933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:25:11] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:25:11] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:25:11] local.INFO: IMEI packet received {"connection_id":128933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":128933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:25:11] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:25:11] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:25:11] local.INFO: Packet analysis {"connection_id":128933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:25:11] local.INFO: Extracted packet for processing {"connection_id":128933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:25:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:25:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":128933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:25:11] local.INFO: GPS data processed {"connection_id":128933,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:25:11] local.INFO: Acknowledgment sent {"connection_id":128933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:25:43] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:25:43] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:25:43] local.INFO: Packet analysis {"connection_id":128933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:25:43] local.INFO: Extracted packet for processing {"connection_id":128933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":128933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:25:43] local.INFO: GPS data processed {"connection_id":128933,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:25:43] local.INFO: Acknowledgment sent {"connection_id":128933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:26:06] local.INFO: TCP Data received {"connection_id":128219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:26:06] local.INFO: Processing buffer {"connection_id":128219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:26:06] local.INFO: IMEI packet received {"connection_id":128219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":128219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:26:10] local.INFO: TCP Data received {"connection_id":128219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:26:10] local.INFO: Processing buffer {"connection_id":128219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:26:10] local.INFO: IMEI packet received {"connection_id":128219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":128219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:26:11] local.INFO: TCP Data received {"connection_id":128219,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:26:11] local.INFO: Processing buffer {"connection_id":128219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:26:11] local.INFO: Packet analysis {"connection_id":128219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:26:11] local.INFO: Extracted packet for processing {"connection_id":128219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:26:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:26:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":128219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:26:11] local.INFO: GPS data processed {"connection_id":128219,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:26:11] local.INFO: Acknowledgment sent {"connection_id":128219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:26:44] local.INFO: TCP Data received {"connection_id":128219,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:26:44] local.INFO: Processing buffer {"connection_id":128219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:26:44] local.INFO: Packet analysis {"connection_id":128219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:26:44] local.INFO: Extracted packet for processing {"connection_id":128219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:26:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:26:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":128219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:26:44] local.INFO: GPS data processed {"connection_id":128219,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:26:44] local.INFO: Acknowledgment sent {"connection_id":128219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:27:06] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:27:06] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:27:06] local.INFO: IMEI packet received {"connection_id":130180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":130180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:27:11] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:27:11] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:27:11] local.INFO: IMEI packet received {"connection_id":130180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":130180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:27:11] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:27:11] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:27:11] local.INFO: Packet analysis {"connection_id":130180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:27:11] local.INFO: Extracted packet for processing {"connection_id":130180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":130180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:27:11] local.INFO: GPS data processed {"connection_id":130180,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:27:11] local.INFO: Acknowledgment sent {"connection_id":130180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:27:42] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:27:42] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:27:42] local.INFO: Packet analysis {"connection_id":130180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:27:42] local.INFO: Extracted packet for processing {"connection_id":130180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":130180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:27:42] local.INFO: GPS data processed {"connection_id":130180,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:27:42] local.INFO: Acknowledgment sent {"connection_id":130180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:28:05] local.INFO: TCP Data received {"connection_id":128935,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:28:05] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:28:05] local.INFO: IMEI packet received {"connection_id":128935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":128935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:28:10] local.INFO: TCP Data received {"connection_id":128935,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:28:10] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:28:10] local.INFO: IMEI packet received {"connection_id":128935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":128935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:28:11] local.INFO: TCP Data received {"connection_id":128935,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:28:11] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dce1bc8012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:28:11] local.INFO: Packet analysis {"connection_id":128935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:28:11] local.INFO: Extracted packet for processing {"connection_id":128935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dce"} 
[2026-07-11 02:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631418880001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783716781000,"timestamp_ms":1783716781000,"timestamp_seconds":1783716781,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dce1bc8"} 
[2026-07-11 02:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631418880001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631418880001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631418880001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":128935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:28:11] local.INFO: GPS data processed {"connection_id":128935,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:28:11] local.INFO: Acknowledgment sent {"connection_id":128935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:28:42] local.INFO: TCP Data received {"connection_id":128935,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:28:42] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:28:42] local.INFO: Packet analysis {"connection_id":128935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:28:42] local.INFO: Extracted packet for processing {"connection_id":128935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:28:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":128935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:28:42] local.INFO: GPS data processed {"connection_id":128935,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:28:42] local.INFO: Acknowledgment sent {"connection_id":128935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:29:11] local.INFO: TCP Data received {"connection_id":128019,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:29:11] local.INFO: Processing buffer {"connection_id":128019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:29:11] local.INFO: IMEI packet received {"connection_id":128019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":128019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:29:16] local.INFO: TCP Data received {"connection_id":128019,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:29:16] local.INFO: Processing buffer {"connection_id":128019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:29:16] local.INFO: IMEI packet received {"connection_id":128019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":128019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:29:16] local.INFO: TCP Data received {"connection_id":128019,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:29:16] local.INFO: Processing buffer {"connection_id":128019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:29:16] local.INFO: Packet analysis {"connection_id":128019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:29:16] local.INFO: Extracted packet for processing {"connection_id":128019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:29:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:29:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:29:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":128019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:29:16] local.INFO: GPS data processed {"connection_id":128019,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:29:16] local.INFO: Acknowledgment sent {"connection_id":128019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:29:47] local.INFO: TCP Data received {"connection_id":128019,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:29:47] local.INFO: Processing buffer {"connection_id":128019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:29:47] local.INFO: Packet analysis {"connection_id":128019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:29:47] local.INFO: Extracted packet for processing {"connection_id":128019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:29:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:29:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:29:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:29:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":128019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:29:47] local.INFO: GPS data processed {"connection_id":128019,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:29:47] local.INFO: Acknowledgment sent {"connection_id":128019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:30:06] local.INFO: TCP Data received {"connection_id":128221,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:30:06] local.INFO: Processing buffer {"connection_id":128221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:30:06] local.INFO: IMEI packet received {"connection_id":128221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":128221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:30:10] local.INFO: TCP Data received {"connection_id":128221,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:30:10] local.INFO: Processing buffer {"connection_id":128221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:30:10] local.INFO: IMEI packet received {"connection_id":128221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":128221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:30:11] local.INFO: TCP Data received {"connection_id":128221,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:30:11] local.INFO: Processing buffer {"connection_id":128221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:30:11] local.INFO: Packet analysis {"connection_id":128221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:30:11] local.INFO: Extracted packet for processing {"connection_id":128221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":128221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:30:11] local.INFO: GPS data processed {"connection_id":128221,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:30:11] local.INFO: Acknowledgment sent {"connection_id":128221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:30:14] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:14] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:14] local.INFO: IMEI packet received {"connection_id":130181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":130181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:30:42] local.INFO: TCP Data received {"connection_id":128221,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:30:42] local.INFO: Processing buffer {"connection_id":128221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:30:42] local.INFO: Packet analysis {"connection_id":128221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:30:42] local.INFO: Extracted packet for processing {"connection_id":128221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:30:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":128221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:30:42] local.INFO: GPS data processed {"connection_id":128221,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:30:42] local.INFO: Acknowledgment sent {"connection_id":128221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:30:46] local.INFO: TCP Data received {"connection_id":128020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:46] local.INFO: Processing buffer {"connection_id":128020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:46] local.INFO: IMEI packet received {"connection_id":128020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":128020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:30:50] local.INFO: TCP Data received {"connection_id":128020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:50] local.INFO: Processing buffer {"connection_id":128020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:50] local.INFO: IMEI packet received {"connection_id":128020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 02:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":128020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:30:51] local.INFO: TCP Data received {"connection_id":128020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:51] local.INFO: Processing buffer {"connection_id":128020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:30:51] local.INFO: IMEI packet received {"connection_id":128020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 02:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":128020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:31:06] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:31:06] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:31:06] local.INFO: IMEI packet received {"connection_id":128936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":128936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:31:11] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:31:11] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:31:11] local.INFO: IMEI packet received {"connection_id":128936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":128936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:31:11] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:31:11] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:31:11] local.INFO: Packet analysis {"connection_id":128936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:31:11] local.INFO: Extracted packet for processing {"connection_id":128936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":128936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:31:11] local.INFO: GPS data processed {"connection_id":128936,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:31:11] local.INFO: Acknowledgment sent {"connection_id":128936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:31:42] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:31:42] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:31:42] local.INFO: Packet analysis {"connection_id":128936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:31:42] local.INFO: Extracted packet for processing {"connection_id":128936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:31:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":128936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:31:42] local.INFO: GPS data processed {"connection_id":128936,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:31:42] local.INFO: Acknowledgment sent {"connection_id":128936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:32:06] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:32:06] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:32:06] local.INFO: IMEI packet received {"connection_id":128022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":128022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:32:10] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:32:10] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:32:10] local.INFO: IMEI packet received {"connection_id":128022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":128022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:32:11] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:32:11] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:32:11] local.INFO: Packet analysis {"connection_id":128022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:32:11] local.INFO: Extracted packet for processing {"connection_id":128022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:32:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:32:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":128022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:32:11] local.INFO: GPS data processed {"connection_id":128022,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:32:11] local.INFO: Acknowledgment sent {"connection_id":128022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:32:42] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:32:42] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:32:42] local.INFO: Packet analysis {"connection_id":128022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:32:42] local.INFO: Extracted packet for processing {"connection_id":128022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:32:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:32:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":128022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:32:42] local.INFO: GPS data processed {"connection_id":128022,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:32:42] local.INFO: Acknowledgment sent {"connection_id":128022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:33:05] local.INFO: TCP Data received {"connection_id":128024,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:33:05] local.INFO: Processing buffer {"connection_id":128024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:33:05] local.INFO: IMEI packet received {"connection_id":128024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":128024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:33:11] local.INFO: TCP Data received {"connection_id":128024,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:33:11] local.INFO: Processing buffer {"connection_id":128024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:33:11] local.INFO: IMEI packet received {"connection_id":128024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":128024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:33:11] local.INFO: TCP Data received {"connection_id":128024,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:33:11] local.INFO: Processing buffer {"connection_id":128024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd2b390012cb29ac007823b28004700db2c..."} 
[2026-07-11 02:33:11] local.INFO: Packet analysis {"connection_id":128024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:33:11] local.INFO: Extracted packet for processing {"connection_id":128024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd2"} 
[2026-07-11 02:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631495936001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717082000,"timestamp_ms":1783717082000,"timestamp_seconds":1783717082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd2b390"} 
[2026-07-11 02:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 02:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631495936001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631495936001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631495936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":128024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:33:11] local.INFO: GPS data processed {"connection_id":128024,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:33:11] local.INFO: Acknowledgment sent {"connection_id":128024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:33:42] local.INFO: TCP Data received {"connection_id":128024,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:33:42] local.INFO: Processing buffer {"connection_id":128024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:33:42] local.INFO: Packet analysis {"connection_id":128024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:33:42] local.INFO: Extracted packet for processing {"connection_id":128024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":128024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:33:42] local.INFO: GPS data processed {"connection_id":128024,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:33:42] local.INFO: Acknowledgment sent {"connection_id":128024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:34:10] local.INFO: TCP Data received {"connection_id":130184,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:34:10] local.INFO: Processing buffer {"connection_id":130184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:34:10] local.INFO: IMEI packet received {"connection_id":130184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":130184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:34:16] local.INFO: TCP Data received {"connection_id":130184,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:34:16] local.INFO: Processing buffer {"connection_id":130184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:34:16] local.INFO: IMEI packet received {"connection_id":130184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":130184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:34:16] local.INFO: TCP Data received {"connection_id":130184,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:34:16] local.INFO: Processing buffer {"connection_id":130184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:34:16] local.INFO: Packet analysis {"connection_id":130184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:34:16] local.INFO: Extracted packet for processing {"connection_id":130184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:34:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:34:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:34:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:34:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":130184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:34:16] local.INFO: GPS data processed {"connection_id":130184,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:34:16] local.INFO: Acknowledgment sent {"connection_id":130184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:34:47] local.INFO: TCP Data received {"connection_id":130184,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:34:47] local.INFO: Processing buffer {"connection_id":130184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:34:47] local.INFO: Packet analysis {"connection_id":130184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:34:47] local.INFO: Extracted packet for processing {"connection_id":130184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:34:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:34:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:34:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:34:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":130184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:34:47] local.INFO: GPS data processed {"connection_id":130184,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:34:47] local.INFO: Acknowledgment sent {"connection_id":130184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:35:06] local.INFO: TCP Data received {"connection_id":130185,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:35:06] local.INFO: Processing buffer {"connection_id":130185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:35:06] local.INFO: IMEI packet received {"connection_id":130185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":130185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:35:11] local.INFO: TCP Data received {"connection_id":130185,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:35:11] local.INFO: Processing buffer {"connection_id":130185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:35:11] local.INFO: IMEI packet received {"connection_id":130185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":130185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:35:11] local.INFO: TCP Data received {"connection_id":130185,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:35:11] local.INFO: Processing buffer {"connection_id":130185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:35:11] local.INFO: Packet analysis {"connection_id":130185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:35:11] local.INFO: Extracted packet for processing {"connection_id":130185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:35:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:35:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":130185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:35:11] local.INFO: GPS data processed {"connection_id":130185,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:35:11] local.INFO: Acknowledgment sent {"connection_id":130185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:35:43] local.INFO: TCP Data received {"connection_id":130185,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:35:43] local.INFO: Processing buffer {"connection_id":130185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:35:43] local.INFO: Packet analysis {"connection_id":130185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:35:43] local.INFO: Extracted packet for processing {"connection_id":130185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:35:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:35:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":130185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:35:43] local.INFO: GPS data processed {"connection_id":130185,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:35:43] local.INFO: Acknowledgment sent {"connection_id":130185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:36:06] local.INFO: TCP Data received {"connection_id":128026,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:36:06] local.INFO: Processing buffer {"connection_id":128026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:36:06] local.INFO: IMEI packet received {"connection_id":128026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":128026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:36:10] local.INFO: TCP Data received {"connection_id":128026,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:36:10] local.INFO: Processing buffer {"connection_id":128026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:36:10] local.INFO: IMEI packet received {"connection_id":128026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":128026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:36:11] local.INFO: TCP Data received {"connection_id":128026,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:36:11] local.INFO: Processing buffer {"connection_id":128026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:36:11] local.INFO: Packet analysis {"connection_id":128026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:36:11] local.INFO: Extracted packet for processing {"connection_id":128026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:36:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02: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":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:36:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":128026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:36:11] local.INFO: GPS data processed {"connection_id":128026,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:36:11] local.INFO: Acknowledgment sent {"connection_id":128026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:36:17] local.INFO: TCP Data received {"connection_id":128025,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:36:17] local.INFO: Processing buffer {"connection_id":128025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:36:17] local.INFO: IMEI packet received {"connection_id":128025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":128025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:36:48] local.INFO: TCP Data received {"connection_id":128026,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:36:48] local.INFO: Processing buffer {"connection_id":128026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:36:48] local.INFO: Packet analysis {"connection_id":128026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:36:48] local.INFO: Extracted packet for processing {"connection_id":128026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:36:48] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:36:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:36:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":128026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:36:48] local.INFO: GPS data processed {"connection_id":128026,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:36:48] local.INFO: Acknowledgment sent {"connection_id":128026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:36:55] local.INFO: TCP Data received {"connection_id":128937,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:36:55] local.INFO: Processing buffer {"connection_id":128937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:36:55] local.INFO: IMEI packet received {"connection_id":128937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":128937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:37:06] local.INFO: TCP Data received {"connection_id":128027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:37:06] local.INFO: Processing buffer {"connection_id":128027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:37:06] local.INFO: IMEI packet received {"connection_id":128027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":128027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:37:11] local.INFO: TCP Data received {"connection_id":128027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:37:11] local.INFO: Processing buffer {"connection_id":128027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:37:11] local.INFO: IMEI packet received {"connection_id":128027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":128027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:37:12] local.INFO: TCP Data received {"connection_id":128027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:37:12] local.INFO: Processing buffer {"connection_id":128027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:37:12] local.INFO: Packet analysis {"connection_id":128027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:37:12] local.INFO: Extracted packet for processing {"connection_id":128027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:37:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:37:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":128027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:37:12] local.INFO: GPS data processed {"connection_id":128027,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:37:12] local.INFO: Acknowledgment sent {"connection_id":128027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:37:43] local.INFO: TCP Data received {"connection_id":128027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:37:43] local.INFO: Processing buffer {"connection_id":128027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:37:43] local.INFO: Packet analysis {"connection_id":128027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:37:43] local.INFO: Extracted packet for processing {"connection_id":128027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":128027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:37:43] local.INFO: GPS data processed {"connection_id":128027,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:37:43] local.INFO: Acknowledgment sent {"connection_id":128027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:38:05] local.INFO: TCP Data received {"connection_id":128938,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:38:05] local.INFO: Processing buffer {"connection_id":128938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:38:05] local.INFO: IMEI packet received {"connection_id":128938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:38:10] local.INFO: TCP Data received {"connection_id":128938,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:38:10] local.INFO: Processing buffer {"connection_id":128938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:38:10] local.INFO: IMEI packet received {"connection_id":128938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":128938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:38:11] local.INFO: TCP Data received {"connection_id":128938,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:38:11] local.INFO: Processing buffer {"connection_id":128938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dd74b58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:38:11] local.INFO: Packet analysis {"connection_id":128938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:38:11] local.INFO: Extracted packet for processing {"connection_id":128938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dd7"} 
[2026-07-11 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631572992001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717383000,"timestamp_ms":1783717383000,"timestamp_seconds":1783717383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dd74b58"} 
[2026-07-11 02:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631572992001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631572992001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631572992001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":128938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:38:11] local.INFO: GPS data processed {"connection_id":128938,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:38:11] local.INFO: Acknowledgment sent {"connection_id":128938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:38:44] local.INFO: TCP Data received {"connection_id":128938,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:38:44] local.INFO: Processing buffer {"connection_id":128938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:38:44] local.INFO: Packet analysis {"connection_id":128938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:38:44] local.INFO: Extracted packet for processing {"connection_id":128938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:38:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:38:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:38:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:38:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:38:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":128938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:38:44] local.INFO: GPS data processed {"connection_id":128938,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:38:44] local.INFO: Acknowledgment sent {"connection_id":128938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:39:11] local.INFO: TCP Data received {"connection_id":128029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:39:11] local.INFO: Processing buffer {"connection_id":128029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:39:11] local.INFO: IMEI packet received {"connection_id":128029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":128029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:39:16] local.INFO: TCP Data received {"connection_id":128029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:39:16] local.INFO: Processing buffer {"connection_id":128029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:39:16] local.INFO: IMEI packet received {"connection_id":128029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":128029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:39:16] local.INFO: TCP Data received {"connection_id":128029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:39:16] local.INFO: Processing buffer {"connection_id":128029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:39:16] local.INFO: Packet analysis {"connection_id":128029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:39:16] local.INFO: Extracted packet for processing {"connection_id":128029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:39:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:39:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":128029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:39:16] local.INFO: GPS data processed {"connection_id":128029,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:39:16] local.INFO: Acknowledgment sent {"connection_id":128029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:39:47] local.INFO: TCP Data received {"connection_id":128029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:39:47] local.INFO: Processing buffer {"connection_id":128029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:39:47] local.INFO: Packet analysis {"connection_id":128029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:39:47] local.INFO: Extracted packet for processing {"connection_id":128029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:39:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:39:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:39:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:39:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":128029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:39:47] local.INFO: GPS data processed {"connection_id":128029,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:39:47] local.INFO: Acknowledgment sent {"connection_id":128029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:40:06] local.INFO: TCP Data received {"connection_id":130186,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:40:06] local.INFO: Processing buffer {"connection_id":130186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:40:06] local.INFO: IMEI packet received {"connection_id":130186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":130186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:40:10] local.INFO: TCP Data received {"connection_id":130186,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:40:10] local.INFO: Processing buffer {"connection_id":130186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:40:10] local.INFO: IMEI packet received {"connection_id":130186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":130186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:40:11] local.INFO: TCP Data received {"connection_id":130186,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:40:11] local.INFO: Processing buffer {"connection_id":130186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:40:11] local.INFO: Packet analysis {"connection_id":130186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:40:11] local.INFO: Extracted packet for processing {"connection_id":130186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:40:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":130186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:40:11] local.INFO: GPS data processed {"connection_id":130186,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:40:11] local.INFO: Acknowledgment sent {"connection_id":130186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:40:42] local.INFO: TCP Data received {"connection_id":130186,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:40:42] local.INFO: Processing buffer {"connection_id":130186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:40:42] local.INFO: Packet analysis {"connection_id":130186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:40:42] local.INFO: Extracted packet for processing {"connection_id":130186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02: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-07-11 02: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-07-11 02:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":130186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:40:42] local.INFO: GPS data processed {"connection_id":130186,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:40:42] local.INFO: Acknowledgment sent {"connection_id":130186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:41:06] local.INFO: TCP Data received {"connection_id":128940,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:41:06] local.INFO: Processing buffer {"connection_id":128940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:41:06] local.INFO: IMEI packet received {"connection_id":128940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":128940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:41:11] local.INFO: TCP Data received {"connection_id":128940,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:41:11] local.INFO: Processing buffer {"connection_id":128940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:41:11] local.INFO: IMEI packet received {"connection_id":128940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":128940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:41:11] local.INFO: TCP Data received {"connection_id":128940,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:41:11] local.INFO: Processing buffer {"connection_id":128940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:41:11] local.INFO: Packet analysis {"connection_id":128940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:41:11] local.INFO: Extracted packet for processing {"connection_id":128940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":128940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:41:11] local.INFO: GPS data processed {"connection_id":128940,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:41:11] local.INFO: Acknowledgment sent {"connection_id":128940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:41:42] local.INFO: TCP Data received {"connection_id":128940,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:41:42] local.INFO: Processing buffer {"connection_id":128940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:41:42] local.INFO: Packet analysis {"connection_id":128940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:41:42] local.INFO: Extracted packet for processing {"connection_id":128940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:41:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":128940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:41:42] local.INFO: GPS data processed {"connection_id":128940,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:41:42] local.INFO: Acknowledgment sent {"connection_id":128940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:42:06] local.INFO: TCP Data received {"connection_id":130187,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:42:06] local.INFO: Processing buffer {"connection_id":130187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:42:06] local.INFO: IMEI packet received {"connection_id":130187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":130187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:42:10] local.INFO: TCP Data received {"connection_id":130187,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:42:10] local.INFO: Processing buffer {"connection_id":130187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:42:10] local.INFO: IMEI packet received {"connection_id":130187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":130187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:42:11] local.INFO: TCP Data received {"connection_id":130187,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:42:11] local.INFO: Processing buffer {"connection_id":130187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:42:11] local.INFO: Packet analysis {"connection_id":130187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:42:11] local.INFO: Extracted packet for processing {"connection_id":130187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":130187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:42:11] local.INFO: GPS data processed {"connection_id":130187,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:42:11] local.INFO: Acknowledgment sent {"connection_id":130187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:42:42] local.INFO: TCP Data received {"connection_id":130187,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:42:42] local.INFO: Processing buffer {"connection_id":130187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:42:42] local.INFO: Packet analysis {"connection_id":130187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:42:42] local.INFO: Extracted packet for processing {"connection_id":130187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":130187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:42:42] local.INFO: GPS data processed {"connection_id":130187,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:42:42] local.INFO: Acknowledgment sent {"connection_id":130187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:42:47] local.INFO: TCP Data received {"connection_id":128941,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:42:47] local.INFO: Processing buffer {"connection_id":128941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:42:47] local.INFO: IMEI packet received {"connection_id":128941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":128941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:43:05] local.INFO: TCP Data received {"connection_id":128942,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:43:05] local.INFO: Processing buffer {"connection_id":128942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:43:05] local.INFO: IMEI packet received {"connection_id":128942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":128942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:43:11] local.INFO: TCP Data received {"connection_id":128942,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:43:11] local.INFO: Processing buffer {"connection_id":128942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:43:11] local.INFO: IMEI packet received {"connection_id":128942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":128942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:43:11] local.INFO: TCP Data received {"connection_id":128942,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:43:11] local.INFO: Processing buffer {"connection_id":128942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:43:11] local.INFO: Packet analysis {"connection_id":128942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:43:11] local.INFO: Extracted packet for processing {"connection_id":128942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":128942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:43:11] local.INFO: GPS data processed {"connection_id":128942,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:43:11] local.INFO: Acknowledgment sent {"connection_id":128942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:43:42] local.INFO: TCP Data received {"connection_id":128942,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:43:42] local.INFO: Processing buffer {"connection_id":128942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ddbe320012cb29ac007823b28004700db29..."} 
[2026-07-11 02:43:42] local.INFO: Packet analysis {"connection_id":128942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:43:42] local.INFO: Extracted packet for processing {"connection_id":128942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ddb"} 
[2026-07-11 02:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631650048001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717684000,"timestamp_ms":1783717684000,"timestamp_seconds":1783717684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ddbe320"} 
[2026-07-11 02:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 02:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631650048001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631650048001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:43:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631650048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":128942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:43:42] local.INFO: GPS data processed {"connection_id":128942,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:43:42] local.INFO: Acknowledgment sent {"connection_id":128942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:44:10] local.INFO: TCP Data received {"connection_id":130188,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:44:10] local.INFO: Processing buffer {"connection_id":130188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:44:10] local.INFO: IMEI packet received {"connection_id":130188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":130188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:44:16] local.INFO: TCP Data received {"connection_id":130188,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:44:16] local.INFO: Processing buffer {"connection_id":130188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:44:16] local.INFO: IMEI packet received {"connection_id":130188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":130188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:44:16] local.INFO: TCP Data received {"connection_id":130188,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:44:16] local.INFO: Processing buffer {"connection_id":130188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:44:16] local.INFO: Packet analysis {"connection_id":130188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:44:16] local.INFO: Extracted packet for processing {"connection_id":130188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:44:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:44:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:44:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:44:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":130188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:44:16] local.INFO: GPS data processed {"connection_id":130188,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:44:16] local.INFO: Acknowledgment sent {"connection_id":130188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:44:47] local.INFO: TCP Data received {"connection_id":130188,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:44:47] local.INFO: Processing buffer {"connection_id":130188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:44:47] local.INFO: Packet analysis {"connection_id":130188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:44:47] local.INFO: Extracted packet for processing {"connection_id":130188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:44:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:44:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":130188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:44:47] local.INFO: GPS data processed {"connection_id":130188,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:44:47] local.INFO: Acknowledgment sent {"connection_id":130188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:45:06] local.INFO: TCP Data received {"connection_id":128225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:45:06] local.INFO: Processing buffer {"connection_id":128225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:45:06] local.INFO: IMEI packet received {"connection_id":128225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":128225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:45:11] local.INFO: TCP Data received {"connection_id":128225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:45:11] local.INFO: Processing buffer {"connection_id":128225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:45:11] local.INFO: IMEI packet received {"connection_id":128225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":128225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:45:11] local.INFO: TCP Data received {"connection_id":128225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:45:11] local.INFO: Processing buffer {"connection_id":128225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:45:11] local.INFO: Packet analysis {"connection_id":128225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:45:11] local.INFO: Extracted packet for processing {"connection_id":128225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":128225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:45:11] local.INFO: GPS data processed {"connection_id":128225,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:45:11] local.INFO: Acknowledgment sent {"connection_id":128225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:45:42] local.INFO: TCP Data received {"connection_id":128225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:45:42] local.INFO: Processing buffer {"connection_id":128225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:45:42] local.INFO: Packet analysis {"connection_id":128225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:45:42] local.INFO: Extracted packet for processing {"connection_id":128225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":128225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:45:42] local.INFO: GPS data processed {"connection_id":128225,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:45:42] local.INFO: Acknowledgment sent {"connection_id":128225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:46:06] local.INFO: TCP Data received {"connection_id":128944,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:46:06] local.INFO: Processing buffer {"connection_id":128944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:46:06] local.INFO: IMEI packet received {"connection_id":128944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":128944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:46:10] local.INFO: TCP Data received {"connection_id":128944,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:46:10] local.INFO: Processing buffer {"connection_id":128944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:46:10] local.INFO: IMEI packet received {"connection_id":128944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":128944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:46:11] local.INFO: TCP Data received {"connection_id":128944,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:46:11] local.INFO: Processing buffer {"connection_id":128944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:46:11] local.INFO: Packet analysis {"connection_id":128944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:46:11] local.INFO: Extracted packet for processing {"connection_id":128944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:46:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:46:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:46:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:46:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":128944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:46:11] local.INFO: GPS data processed {"connection_id":128944,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:46:11] local.INFO: Acknowledgment sent {"connection_id":128944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:46:42] local.INFO: TCP Data received {"connection_id":128944,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:46:42] local.INFO: Processing buffer {"connection_id":128944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:46:42] local.INFO: Packet analysis {"connection_id":128944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:46:42] local.INFO: Extracted packet for processing {"connection_id":128944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:46:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:46:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":128944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:46:42] local.INFO: GPS data processed {"connection_id":128944,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:46:42] local.INFO: Acknowledgment sent {"connection_id":128944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:47:05] local.INFO: TCP Data received {"connection_id":128033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:47:05] local.INFO: Processing buffer {"connection_id":128033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:47:05] local.INFO: IMEI packet received {"connection_id":128033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:47:11] local.INFO: TCP Data received {"connection_id":128033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:47:11] local.INFO: Processing buffer {"connection_id":128033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:47:11] local.INFO: IMEI packet received {"connection_id":128033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":128033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:47:11] local.INFO: TCP Data received {"connection_id":128033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:47:11] local.INFO: Processing buffer {"connection_id":128033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:47:11] local.INFO: Packet analysis {"connection_id":128033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:47:11] local.INFO: Extracted packet for processing {"connection_id":128033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":128033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:47:11] local.INFO: GPS data processed {"connection_id":128033,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:47:11] local.INFO: Acknowledgment sent {"connection_id":128033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:47:42] local.INFO: TCP Data received {"connection_id":128033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:47:42] local.INFO: Processing buffer {"connection_id":128033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:47:42] local.INFO: Packet analysis {"connection_id":128033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:47:42] local.INFO: Extracted packet for processing {"connection_id":128033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":128033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:47:42] local.INFO: GPS data processed {"connection_id":128033,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:47:42] local.INFO: Acknowledgment sent {"connection_id":128033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:48:05] local.INFO: TCP Data received {"connection_id":130190,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:48:05] local.INFO: Processing buffer {"connection_id":130190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:48:05] local.INFO: IMEI packet received {"connection_id":130190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":130190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:48:07] local.INFO: TCP Data received {"connection_id":128226,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:48:07] local.INFO: Processing buffer {"connection_id":128226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:48:07] local.INFO: IMEI packet received {"connection_id":128226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":128226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:48:10] local.INFO: TCP Data received {"connection_id":130190,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:48:10] local.INFO: Processing buffer {"connection_id":130190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:48:10] local.INFO: IMEI packet received {"connection_id":130190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":130190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:48:11] local.INFO: TCP Data received {"connection_id":130190,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:48:11] local.INFO: Processing buffer {"connection_id":130190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:48:11] local.INFO: Packet analysis {"connection_id":130190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:48:11] local.INFO: Extracted packet for processing {"connection_id":130190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:48:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:48:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":130190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:48:11] local.INFO: GPS data processed {"connection_id":130190,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:48:11] local.INFO: Acknowledgment sent {"connection_id":130190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:48:42] local.INFO: TCP Data received {"connection_id":130190,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:48:42] local.INFO: Processing buffer {"connection_id":130190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de07700012cb29ac007823b28004700db28..."} 
[2026-07-11 02:48:42] local.INFO: Packet analysis {"connection_id":130190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:48:42] local.INFO: Extracted packet for processing {"connection_id":130190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de0"} 
[2026-07-11 02:48:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783717984000,"timestamp_ms":1783717984000,"timestamp_seconds":1783717984,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de07700"} 
[2026-07-11 02:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631727104001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:48:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631727104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":130190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:48:42] local.INFO: GPS data processed {"connection_id":130190,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:48:42] local.INFO: Acknowledgment sent {"connection_id":130190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:48:57] local.INFO: TCP Data received {"connection_id":128227,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:48:57] local.INFO: Processing buffer {"connection_id":128227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:48:57] local.INFO: IMEI packet received {"connection_id":128227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":128227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:49:11] local.INFO: TCP Data received {"connection_id":128034,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:49:11] local.INFO: Processing buffer {"connection_id":128034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:49:11] local.INFO: IMEI packet received {"connection_id":128034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":128034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:49:16] local.INFO: TCP Data received {"connection_id":128034,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:49:16] local.INFO: Processing buffer {"connection_id":128034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:49:16] local.INFO: IMEI packet received {"connection_id":128034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":128034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:49:16] local.INFO: TCP Data received {"connection_id":128034,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:49:16] local.INFO: Processing buffer {"connection_id":128034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:49:16] local.INFO: Packet analysis {"connection_id":128034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:49:16] local.INFO: Extracted packet for processing {"connection_id":128034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:49:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:49:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":128034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:49:16] local.INFO: GPS data processed {"connection_id":128034,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:49:16] local.INFO: Acknowledgment sent {"connection_id":128034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:49:47] local.INFO: TCP Data received {"connection_id":128034,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:49:47] local.INFO: Processing buffer {"connection_id":128034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:49:47] local.INFO: Packet analysis {"connection_id":128034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:49:47] local.INFO: Extracted packet for processing {"connection_id":128034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:49:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:49:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":128034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:49:47] local.INFO: GPS data processed {"connection_id":128034,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:49:47] local.INFO: Acknowledgment sent {"connection_id":128034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:50:06] local.INFO: TCP Data received {"connection_id":128229,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:50:06] local.INFO: Processing buffer {"connection_id":128229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:50:06] local.INFO: IMEI packet received {"connection_id":128229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":128229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:50:10] local.INFO: TCP Data received {"connection_id":128229,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:50:10] local.INFO: Processing buffer {"connection_id":128229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:50:10] local.INFO: IMEI packet received {"connection_id":128229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":128229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:50:11] local.INFO: TCP Data received {"connection_id":128229,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:50:11] local.INFO: Processing buffer {"connection_id":128229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:50:11] local.INFO: Packet analysis {"connection_id":128229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:50:11] local.INFO: Extracted packet for processing {"connection_id":128229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:50:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":128229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:50:11] local.INFO: GPS data processed {"connection_id":128229,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:50:11] local.INFO: Acknowledgment sent {"connection_id":128229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:50:42] local.INFO: TCP Data received {"connection_id":128229,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:50:42] local.INFO: Processing buffer {"connection_id":128229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:50:42] local.INFO: Packet analysis {"connection_id":128229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:50:42] local.INFO: Extracted packet for processing {"connection_id":128229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":128229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:50:42] local.INFO: GPS data processed {"connection_id":128229,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:50:42] local.INFO: Acknowledgment sent {"connection_id":128229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:51:06] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:51:06] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:51:06] local.INFO: IMEI packet received {"connection_id":128945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":128945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:51:11] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:51:11] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:51:11] local.INFO: IMEI packet received {"connection_id":128945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":128945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:51:16] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:51:16] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:51:16] local.INFO: Packet analysis {"connection_id":128945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:51:16] local.INFO: Extracted packet for processing {"connection_id":128945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:51:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:51:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":128945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:51:16] local.INFO: GPS data processed {"connection_id":128945,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:51:16] local.INFO: Acknowledgment sent {"connection_id":128945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:51:47] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:51:47] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:51:47] local.INFO: Packet analysis {"connection_id":128945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:51:47] local.INFO: Extracted packet for processing {"connection_id":128945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:51:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:51:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:51:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:51:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":128945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:51:47] local.INFO: GPS data processed {"connection_id":128945,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:51:47] local.INFO: Acknowledgment sent {"connection_id":128945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:52:05] local.INFO: TCP Data received {"connection_id":128035,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:52:05] local.INFO: Processing buffer {"connection_id":128035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:52:05] local.INFO: IMEI packet received {"connection_id":128035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":128035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:52:10] local.INFO: TCP Data received {"connection_id":128035,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:52:10] local.INFO: Processing buffer {"connection_id":128035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:52:10] local.INFO: IMEI packet received {"connection_id":128035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":128035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:52:11] local.INFO: TCP Data received {"connection_id":128035,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:52:11] local.INFO: Processing buffer {"connection_id":128035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:52:11] local.INFO: Packet analysis {"connection_id":128035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:52:11] local.INFO: Extracted packet for processing {"connection_id":128035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:52:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:52:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":128035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:52:11] local.INFO: GPS data processed {"connection_id":128035,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:52:11] local.INFO: Acknowledgment sent {"connection_id":128035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:52:44] local.INFO: TCP Data received {"connection_id":128035,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:52:44] local.INFO: Processing buffer {"connection_id":128035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:52:44] local.INFO: Packet analysis {"connection_id":128035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:52:44] local.INFO: Extracted packet for processing {"connection_id":128035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:52:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:52:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:52:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:52:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":128035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:52:44] local.INFO: GPS data processed {"connection_id":128035,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:52:44] local.INFO: Acknowledgment sent {"connection_id":128035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:53:05] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:53:05] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:53:05] local.INFO: IMEI packet received {"connection_id":128036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":128036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:53:11] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:53:11] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:53:11] local.INFO: IMEI packet received {"connection_id":128036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":128036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:53:11] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:53:11] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:53:11] local.INFO: Packet analysis {"connection_id":128036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:53:11] local.INFO: Extracted packet for processing {"connection_id":128036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:53:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":128036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:53:11] local.INFO: GPS data processed {"connection_id":128036,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:53:11] local.INFO: Acknowledgment sent {"connection_id":128036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:53:43] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:53:43] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de50ec8012cb29ac007823b28004700db2b..."} 
[2026-07-11 02:53:43] local.INFO: Packet analysis {"connection_id":128036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:53:43] local.INFO: Extracted packet for processing {"connection_id":128036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de5"} 
[2026-07-11 02:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631803904001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783718285000,"timestamp_ms":1783718285000,"timestamp_seconds":1783718285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de50ec8"} 
[2026-07-11 02:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 02:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631803904001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631803904001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631803904001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":128036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:53:43] local.INFO: GPS data processed {"connection_id":128036,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:53:43] local.INFO: Acknowledgment sent {"connection_id":128036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:54:10] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:54:10] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:54:10] local.INFO: IMEI packet received {"connection_id":128037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":128037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:54:16] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:54:16] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:54:16] local.INFO: IMEI packet received {"connection_id":128037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":128037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:54:16] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:54:16] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:54:16] local.INFO: Packet analysis {"connection_id":128037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:54:16] local.INFO: Extracted packet for processing {"connection_id":128037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:54:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:54:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":128037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:54:16] local.INFO: GPS data processed {"connection_id":128037,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:54:16] local.INFO: Acknowledgment sent {"connection_id":128037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:54:22] local.INFO: TCP Data received {"connection_id":128231,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:54:22] local.INFO: Processing buffer {"connection_id":128231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:54:22] local.INFO: IMEI packet received {"connection_id":128231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":128231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:54:43] local.INFO: TCP Data received {"connection_id":128038,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:54:43] local.INFO: Processing buffer {"connection_id":128038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 02:54:43] local.INFO: IMEI packet received {"connection_id":128038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 02:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":128038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:54:47] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:54:47] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:54:47] local.INFO: Packet analysis {"connection_id":128037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:54:47] local.INFO: Extracted packet for processing {"connection_id":128037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:54:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:54:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:54:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:54:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":128037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:54:47] local.INFO: GPS data processed {"connection_id":128037,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:54:47] local.INFO: Acknowledgment sent {"connection_id":128037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:55:06] local.INFO: TCP Data received {"connection_id":128039,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:55:06] local.INFO: Processing buffer {"connection_id":128039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:55:06] local.INFO: IMEI packet received {"connection_id":128039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":128039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:55:11] local.INFO: TCP Data received {"connection_id":128039,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:55:11] local.INFO: Processing buffer {"connection_id":128039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:55:11] local.INFO: IMEI packet received {"connection_id":128039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":128039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:55:12] local.INFO: TCP Data received {"connection_id":128039,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:55:12] local.INFO: Processing buffer {"connection_id":128039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:55:12] local.INFO: Packet analysis {"connection_id":128039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:55:12] local.INFO: Extracted packet for processing {"connection_id":128039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:55:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02: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-07-11 02:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:55:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":128039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:55:12] local.INFO: GPS data processed {"connection_id":128039,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:55:12] local.INFO: Acknowledgment sent {"connection_id":128039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:55:43] local.INFO: TCP Data received {"connection_id":128039,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:55:43] local.INFO: Processing buffer {"connection_id":128039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:55:43] local.INFO: Packet analysis {"connection_id":128039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:55:43] local.INFO: Extracted packet for processing {"connection_id":128039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:55:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:55:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:55:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:55:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":128039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:55:43] local.INFO: GPS data processed {"connection_id":128039,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:55:43] local.INFO: Acknowledgment sent {"connection_id":128039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:56:06] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:56:06] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:56:06] local.INFO: IMEI packet received {"connection_id":128948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":128948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:56:10] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:56:10] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:56:10] local.INFO: IMEI packet received {"connection_id":128948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":128948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:56:11] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:56:11] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:56:11] local.INFO: Packet analysis {"connection_id":128948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:56:11] local.INFO: Extracted packet for processing {"connection_id":128948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:56:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:56:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":128948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:56:11] local.INFO: GPS data processed {"connection_id":128948,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:56:11] local.INFO: Acknowledgment sent {"connection_id":128948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:56:44] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:56:44] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:56:44] local.INFO: Packet analysis {"connection_id":128948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:56:44] local.INFO: Extracted packet for processing {"connection_id":128948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:56:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:56:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:56:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:56:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":128948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:56:44] local.INFO: GPS data processed {"connection_id":128948,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:56:44] local.INFO: Acknowledgment sent {"connection_id":128948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:57:05] local.INFO: TCP Data received {"connection_id":128234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:57:05] local.INFO: Processing buffer {"connection_id":128234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:57:05] local.INFO: IMEI packet received {"connection_id":128234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":128234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:57:11] local.INFO: TCP Data received {"connection_id":128234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:57:11] local.INFO: Processing buffer {"connection_id":128234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:57:11] local.INFO: IMEI packet received {"connection_id":128234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":128234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:57:12] local.INFO: TCP Data received {"connection_id":128234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:57:12] local.INFO: Processing buffer {"connection_id":128234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:57:12] local.INFO: Packet analysis {"connection_id":128234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:57:12] local.INFO: Extracted packet for processing {"connection_id":128234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:57:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:57:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":128234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:57:12] local.INFO: GPS data processed {"connection_id":128234,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:57:12] local.INFO: Acknowledgment sent {"connection_id":128234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:57:43] local.INFO: TCP Data received {"connection_id":128234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:57:43] local.INFO: Processing buffer {"connection_id":128234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:57:43] local.INFO: Packet analysis {"connection_id":128234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:57:43] local.INFO: Extracted packet for processing {"connection_id":128234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:57:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:57:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:57:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":128234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:57:43] local.INFO: GPS data processed {"connection_id":128234,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:57:43] local.INFO: Acknowledgment sent {"connection_id":128234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:58:05] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:58:05] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:58:05] local.INFO: IMEI packet received {"connection_id":128950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:58:10] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:58:10] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:58:10] local.INFO: IMEI packet received {"connection_id":128950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:58:11] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:58:11] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:58:11] local.INFO: Packet analysis {"connection_id":128950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:58:11] local.INFO: Extracted packet for processing {"connection_id":128950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":128950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:58:11] local.INFO: GPS data processed {"connection_id":128950,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:58:11] local.INFO: Acknowledgment sent {"connection_id":128950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:58:42] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:58:42] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4de9a690012cb29ac007823b28004700db2a..."} 
[2026-07-11 02:58:42] local.INFO: Packet analysis {"connection_id":128950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:58:42] local.INFO: Extracted packet for processing {"connection_id":128950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4de9"} 
[2026-07-11 02:58:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631880960001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783718586000,"timestamp_ms":1783718586000,"timestamp_seconds":1783718586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4de9a690"} 
[2026-07-11 02:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 02:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 02:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631880960001,"66":25104,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631880960001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:58:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631880960001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":128950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:58:42] local.INFO: GPS data processed {"connection_id":128950,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:58:42] local.INFO: Acknowledgment sent {"connection_id":128950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:59:11] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:59:11] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:59:11] local.INFO: IMEI packet received {"connection_id":130192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 02:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":130192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 02:59:16] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:59:16] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 02:59:16] local.INFO: IMEI packet received {"connection_id":130192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 02:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":130192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 02:59:16] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:59:16] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:59:16] local.INFO: Packet analysis {"connection_id":130192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 02:59:16] local.INFO: Extracted packet for processing {"connection_id":130192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 02:59:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 02:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 02:59:16] 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-07-11 02:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:59:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":130192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:59:16] local.INFO: GPS data processed {"connection_id":130192,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:59:16] local.INFO: Acknowledgment sent {"connection_id":130192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 02:59:47] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:59:47] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 02:59:47] local.INFO: Packet analysis {"connection_id":130192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 02:59:47] local.INFO: Extracted packet for processing {"connection_id":130192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 02:59:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 02:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 02:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 02:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:59:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 02:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 02:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 02:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 02:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 02:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 02:59:47] 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-07-11 02:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 02:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 02:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 02:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 02:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 02:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 02:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 02:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 02:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 02:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 02:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 02:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 02:59:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 02:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 02:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 02:59:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 02:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 02:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":130192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 02:59:47] local.INFO: GPS data processed {"connection_id":130192,"processed":1,"errors":0,"total":1} 
[2026-07-11 02:59:47] local.INFO: Acknowledgment sent {"connection_id":130192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:00:06] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:00:06] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:00:06] local.INFO: IMEI packet received {"connection_id":128951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":128951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:00:06] local.INFO: TCP Data received {"connection_id":128236,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:00:06] local.INFO: Processing buffer {"connection_id":128236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:00:06] local.INFO: IMEI packet received {"connection_id":128236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":128236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:00:10] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:00:10] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:00:10] local.INFO: IMEI packet received {"connection_id":128951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":128951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:00:11] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:00:11] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:00:11] local.INFO: Packet analysis {"connection_id":128951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:00:11] local.INFO: Extracted packet for processing {"connection_id":128951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:00:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 03:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 03:00:11] 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-07-11 03:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:00:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":128951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:00:11] local.INFO: GPS data processed {"connection_id":128951,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:00:11] local.INFO: Acknowledgment sent {"connection_id":128951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:00:42] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:00:42] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:00:42] local.INFO: Packet analysis {"connection_id":128951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:00:42] local.INFO: Extracted packet for processing {"connection_id":128951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 03:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 03:00:42] 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-07-11 03:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:00:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":128951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:00:42] local.INFO: GPS data processed {"connection_id":128951,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:00:42] local.INFO: Acknowledgment sent {"connection_id":128951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:00:46] local.INFO: TCP Data received {"connection_id":128237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:00:46] local.INFO: Processing buffer {"connection_id":128237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:00:46] local.INFO: IMEI packet received {"connection_id":128237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":128237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:01:06] local.INFO: TCP Data received {"connection_id":128238,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:01:06] local.INFO: Processing buffer {"connection_id":128238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:01:06] local.INFO: IMEI packet received {"connection_id":128238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":128238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:01:11] local.INFO: TCP Data received {"connection_id":128238,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:01:11] local.INFO: Processing buffer {"connection_id":128238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:01:11] local.INFO: IMEI packet received {"connection_id":128238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":128238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:01:11] local.INFO: TCP Data received {"connection_id":128238,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:01:11] local.INFO: Processing buffer {"connection_id":128238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:01:11] local.INFO: Packet analysis {"connection_id":128238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:01:11] local.INFO: Extracted packet for processing {"connection_id":128238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 03:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 03:01:11] 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-07-11 03:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":128238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:01:11] local.INFO: GPS data processed {"connection_id":128238,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:01:11] local.INFO: Acknowledgment sent {"connection_id":128238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:01:42] local.INFO: TCP Data received {"connection_id":128238,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:01:42] local.INFO: Processing buffer {"connection_id":128238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:01:42] local.INFO: Packet analysis {"connection_id":128238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:01:42] local.INFO: Extracted packet for processing {"connection_id":128238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 03:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 03:01:42] 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-07-11 03:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":128238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:01:42] local.INFO: GPS data processed {"connection_id":128238,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:01:42] local.INFO: Acknowledgment sent {"connection_id":128238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:02:05] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:02:05] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:02:05] local.INFO: IMEI packet received {"connection_id":130193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":130193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:02:10] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:02:10] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:02:10] local.INFO: IMEI packet received {"connection_id":130193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":130193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:02:11] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:02:11] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:02:11] local.INFO: Packet analysis {"connection_id":130193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:02:11] local.INFO: Extracted packet for processing {"connection_id":130193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 03:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03: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":16,"data_length":795,"current_offset":136} 
[2026-07-11 03:02:11] 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-07-11 03:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":130193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:02:11] local.INFO: GPS data processed {"connection_id":130193,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:02:11] local.INFO: Acknowledgment sent {"connection_id":130193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:02:44] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:02:44] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:02:44] local.INFO: Packet analysis {"connection_id":130193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:02:44] local.INFO: Extracted packet for processing {"connection_id":130193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:02:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:02:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 03:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 03:02:44] 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-07-11 03:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:02:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:02:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":130193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:02:44] local.INFO: GPS data processed {"connection_id":130193,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:02:44] local.INFO: Acknowledgment sent {"connection_id":130193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:03:05] local.INFO: TCP Data received {"connection_id":128040,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:03:05] local.INFO: Processing buffer {"connection_id":128040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:03:05] local.INFO: IMEI packet received {"connection_id":128040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:03:11] local.INFO: TCP Data received {"connection_id":128040,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:03:11] local.INFO: Processing buffer {"connection_id":128040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:03:11] local.INFO: IMEI packet received {"connection_id":128040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":128040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:03:11] local.INFO: TCP Data received {"connection_id":128040,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:03:11] local.INFO: Processing buffer {"connection_id":128040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:03:11] local.INFO: Packet analysis {"connection_id":128040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:03:11] local.INFO: Extracted packet for processing {"connection_id":128040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 03:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 03:03:11] 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-07-11 03:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:03:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":128040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:03:11] local.INFO: GPS data processed {"connection_id":128040,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:03:11] local.INFO: Acknowledgment sent {"connection_id":128040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:03:42] local.INFO: TCP Data received {"connection_id":128040,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:03:42] local.INFO: Processing buffer {"connection_id":128040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dee3e58012cb29ac007823b28004700db29..."} 
[2026-07-11 03:03:42] local.INFO: Packet analysis {"connection_id":128040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:03:42] local.INFO: Extracted packet for processing {"connection_id":128040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dee"} 
[2026-07-11 03:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456631958016001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783718887000,"timestamp_ms":1783718887000,"timestamp_seconds":1783718887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dee3e58"} 
[2026-07-11 03:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 03:03:42] 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-07-11 03:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456631958016001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456631958016001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:03:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456631958016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":128040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:03:42] local.INFO: GPS data processed {"connection_id":128040,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:03:42] local.INFO: Acknowledgment sent {"connection_id":128040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:04:05] local.INFO: TCP Data received {"connection_id":128041,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:04:05] local.INFO: Processing buffer {"connection_id":128041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:04:05] local.INFO: IMEI packet received {"connection_id":128041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:04:10] local.INFO: TCP Data received {"connection_id":128041,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:04:10] local.INFO: Processing buffer {"connection_id":128041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:04:10] local.INFO: IMEI packet received {"connection_id":128041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":128041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:04:11] local.INFO: TCP Data received {"connection_id":128041,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:04:11] local.INFO: Processing buffer {"connection_id":128041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:04:11] local.INFO: Packet analysis {"connection_id":128041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:04:11] local.INFO: Extracted packet for processing {"connection_id":128041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:04:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":128041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:04:11] local.INFO: GPS data processed {"connection_id":128041,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:04:11] local.INFO: Acknowledgment sent {"connection_id":128041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:04:44] local.INFO: TCP Data received {"connection_id":128041,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:04:44] local.INFO: Processing buffer {"connection_id":128041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:04:44] local.INFO: Packet analysis {"connection_id":128041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:04:44] local.INFO: Extracted packet for processing {"connection_id":128041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:04:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03: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-07-11 03:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:04:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03: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-07-11 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03: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-07-11 03:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:04:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:04:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":128041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:04:44] local.INFO: GPS data processed {"connection_id":128041,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:04:44] local.INFO: Acknowledgment sent {"connection_id":128041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:05:05] local.INFO: TCP Data received {"connection_id":128043,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:05:05] local.INFO: Processing buffer {"connection_id":128043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:05:05] local.INFO: IMEI packet received {"connection_id":128043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":128043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:05:11] local.INFO: TCP Data received {"connection_id":128043,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:05:11] local.INFO: Processing buffer {"connection_id":128043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:05:11] local.INFO: IMEI packet received {"connection_id":128043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":128043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:05:12] local.INFO: TCP Data received {"connection_id":128043,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:05:12] local.INFO: Processing buffer {"connection_id":128043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:05:12] local.INFO: Packet analysis {"connection_id":128043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:05:12] local.INFO: Extracted packet for processing {"connection_id":128043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:05:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:05:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":128043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:05:12] local.INFO: GPS data processed {"connection_id":128043,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:05:12] local.INFO: Acknowledgment sent {"connection_id":128043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:05:43] local.INFO: TCP Data received {"connection_id":128043,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:05:43] local.INFO: Processing buffer {"connection_id":128043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:05:43] local.INFO: Packet analysis {"connection_id":128043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:05:43] local.INFO: Extracted packet for processing {"connection_id":128043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:05:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03: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-07-11 03:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:05:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":128043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:05:43] local.INFO: GPS data processed {"connection_id":128043,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:05:43] local.INFO: Acknowledgment sent {"connection_id":128043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:06:05] local.INFO: TCP Data received {"connection_id":128239,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:06:05] local.INFO: Processing buffer {"connection_id":128239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:06:05] local.INFO: IMEI packet received {"connection_id":128239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":128239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:06:10] local.INFO: TCP Data received {"connection_id":128239,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:06:10] local.INFO: Processing buffer {"connection_id":128239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:06:10] local.INFO: IMEI packet received {"connection_id":128239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":128239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:06:11] local.INFO: TCP Data received {"connection_id":128239,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:06:11] local.INFO: Processing buffer {"connection_id":128239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:06:11] local.INFO: Packet analysis {"connection_id":128239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:06:11] local.INFO: Extracted packet for processing {"connection_id":128239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:06:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":128239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:06:11] local.INFO: GPS data processed {"connection_id":128239,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:06:11] local.INFO: Acknowledgment sent {"connection_id":128239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:06:27] local.INFO: TCP Data received {"connection_id":128954,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:06:27] local.INFO: Processing buffer {"connection_id":128954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:06:27] local.INFO: IMEI packet received {"connection_id":128954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":128954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:06:42] local.INFO: TCP Data received {"connection_id":128239,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:06:42] local.INFO: Processing buffer {"connection_id":128239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:06:42] local.INFO: Packet analysis {"connection_id":128239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:06:42] local.INFO: Extracted packet for processing {"connection_id":128239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:06:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:06:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":128239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:06:42] local.INFO: GPS data processed {"connection_id":128239,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:06:42] local.INFO: Acknowledgment sent {"connection_id":128239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:06:52] local.INFO: TCP Data received {"connection_id":128955,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:06:52] local.INFO: Processing buffer {"connection_id":128955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:06:52] local.INFO: IMEI packet received {"connection_id":128955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":128955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:07:05] local.INFO: TCP Data received {"connection_id":128044,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:07:05] local.INFO: Processing buffer {"connection_id":128044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:07:05] local.INFO: IMEI packet received {"connection_id":128044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":128044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:07:11] local.INFO: TCP Data received {"connection_id":128044,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:07:11] local.INFO: Processing buffer {"connection_id":128044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:07:11] local.INFO: IMEI packet received {"connection_id":128044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":128044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:07:11] local.INFO: TCP Data received {"connection_id":128044,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:07:11] local.INFO: Processing buffer {"connection_id":128044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:07:11] local.INFO: Packet analysis {"connection_id":128044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:07:11] local.INFO: Extracted packet for processing {"connection_id":128044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":128044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:07:11] local.INFO: GPS data processed {"connection_id":128044,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:07:11] local.INFO: Acknowledgment sent {"connection_id":128044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:07:42] local.INFO: TCP Data received {"connection_id":128044,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:07:42] local.INFO: Processing buffer {"connection_id":128044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:07:42] local.INFO: Packet analysis {"connection_id":128044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:07:42] local.INFO: Extracted packet for processing {"connection_id":128044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":128044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:07:42] local.INFO: GPS data processed {"connection_id":128044,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:07:42] local.INFO: Acknowledgment sent {"connection_id":128044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:08:05] local.INFO: TCP Data received {"connection_id":130195,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:08:05] local.INFO: Processing buffer {"connection_id":130195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:08:05] local.INFO: IMEI packet received {"connection_id":130195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":130195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:08:10] local.INFO: TCP Data received {"connection_id":130195,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:08:10] local.INFO: Processing buffer {"connection_id":130195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:08:10] local.INFO: IMEI packet received {"connection_id":130195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":130195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:08:11] local.INFO: TCP Data received {"connection_id":130195,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:08:11] local.INFO: Processing buffer {"connection_id":130195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:08:11] local.INFO: Packet analysis {"connection_id":130195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:08:11] local.INFO: Extracted packet for processing {"connection_id":130195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:08:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:08:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":130195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:08:11] local.INFO: GPS data processed {"connection_id":130195,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:08:11] local.INFO: Acknowledgment sent {"connection_id":130195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:08:42] local.INFO: TCP Data received {"connection_id":130195,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:08:42] local.INFO: Processing buffer {"connection_id":130195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df2d620012cb29ac007823b28004700db28..."} 
[2026-07-11 03:08:42] local.INFO: Packet analysis {"connection_id":130195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:08:42] local.INFO: Extracted packet for processing {"connection_id":130195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df2"} 
[2026-07-11 03:08:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783719188000,"timestamp_ms":1783719188000,"timestamp_seconds":1783719188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df2d620"} 
[2026-07-11 03:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632035072001,"66":24538,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:08:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632035072001,"power":24538,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":130195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:08:42] local.INFO: GPS data processed {"connection_id":130195,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:08:42] local.INFO: Acknowledgment sent {"connection_id":130195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:09:10] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:09:10] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:09:10] local.INFO: IMEI packet received {"connection_id":128045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":128045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:09:15] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:09:15] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:09:15] local.INFO: IMEI packet received {"connection_id":128045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":128045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:09:16] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:09:16] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:09:16] local.INFO: Packet analysis {"connection_id":128045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:09:16] local.INFO: Extracted packet for processing {"connection_id":128045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:09:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:09:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:09:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:09:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:09:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":128045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:09:16] local.INFO: GPS data processed {"connection_id":128045,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:09:16] local.INFO: Acknowledgment sent {"connection_id":128045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:09:21] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:09:21] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:09:21] local.INFO: Packet analysis {"connection_id":128045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:09:21] local.INFO: Extracted packet for processing {"connection_id":128045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:09:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:09:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":128045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:09:21] local.INFO: GPS data processed {"connection_id":128045,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:09:21] local.INFO: Acknowledgment sent {"connection_id":128045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:10:05] local.INFO: TCP Data received {"connection_id":128046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:10:06] local.INFO: Processing buffer {"connection_id":128046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:10:06] local.INFO: IMEI packet received {"connection_id":128046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":128046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:10:10] local.INFO: TCP Data received {"connection_id":128046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:10:10] local.INFO: Processing buffer {"connection_id":128046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:10:10] local.INFO: IMEI packet received {"connection_id":128046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":128046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:10:11] local.INFO: TCP Data received {"connection_id":128046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:10:11] local.INFO: Processing buffer {"connection_id":128046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:10:11] local.INFO: Packet analysis {"connection_id":128046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:10:11] local.INFO: Extracted packet for processing {"connection_id":128046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":128046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:10:11] local.INFO: GPS data processed {"connection_id":128046,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:10:11] local.INFO: Acknowledgment sent {"connection_id":128046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:10:42] local.INFO: TCP Data received {"connection_id":128046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:10:42] local.INFO: Processing buffer {"connection_id":128046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:10:42] local.INFO: Packet analysis {"connection_id":128046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:10:42] local.INFO: Extracted packet for processing {"connection_id":128046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":128046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:10:42] local.INFO: GPS data processed {"connection_id":128046,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:10:42] local.INFO: Acknowledgment sent {"connection_id":128046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:11:06] local.INFO: TCP Data received {"connection_id":128958,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:11:06] local.INFO: Processing buffer {"connection_id":128958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:11:06] local.INFO: IMEI packet received {"connection_id":128958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":128958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:11:11] local.INFO: TCP Data received {"connection_id":128958,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:11:11] local.INFO: Processing buffer {"connection_id":128958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:11:11] local.INFO: IMEI packet received {"connection_id":128958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":128958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:11:12] local.INFO: TCP Data received {"connection_id":128958,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:11:12] local.INFO: Processing buffer {"connection_id":128958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:11:12] local.INFO: Packet analysis {"connection_id":128958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:11:12] local.INFO: Extracted packet for processing {"connection_id":128958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:11:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:11:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":128958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:11:12] local.INFO: GPS data processed {"connection_id":128958,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:11:12] local.INFO: Acknowledgment sent {"connection_id":128958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:11:43] local.INFO: TCP Data received {"connection_id":128958,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:11:43] local.INFO: Processing buffer {"connection_id":128958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:11:43] local.INFO: Packet analysis {"connection_id":128958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:11:43] local.INFO: Extracted packet for processing {"connection_id":128958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:11:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:11:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":128958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:11:43] local.INFO: GPS data processed {"connection_id":128958,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:11:43] local.INFO: Acknowledgment sent {"connection_id":128958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:12:06] local.INFO: TCP Data received {"connection_id":128047,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:12:06] local.INFO: Processing buffer {"connection_id":128047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:12:06] local.INFO: IMEI packet received {"connection_id":128047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":128047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:12:10] local.INFO: TCP Data received {"connection_id":128047,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:12:10] local.INFO: Processing buffer {"connection_id":128047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:12:10] local.INFO: IMEI packet received {"connection_id":128047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":128047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:12:11] local.INFO: TCP Data received {"connection_id":128047,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:12:11] local.INFO: Processing buffer {"connection_id":128047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:12:11] local.INFO: Packet analysis {"connection_id":128047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:12:11] local.INFO: Extracted packet for processing {"connection_id":128047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:12:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:12:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":128047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:12:11] local.INFO: GPS data processed {"connection_id":128047,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:12:11] local.INFO: Acknowledgment sent {"connection_id":128047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:12:17] local.INFO: TCP Data received {"connection_id":128959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:12:17] local.INFO: Processing buffer {"connection_id":128959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:12:17] local.INFO: IMEI packet received {"connection_id":128959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":128959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:12:42] local.INFO: TCP Data received {"connection_id":128047,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:12:42] local.INFO: Processing buffer {"connection_id":128047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:12:42] local.INFO: Packet analysis {"connection_id":128047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:12:42] local.INFO: Extracted packet for processing {"connection_id":128047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:12:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:12:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":128047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:12:42] local.INFO: GPS data processed {"connection_id":128047,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:12:42] local.INFO: Acknowledgment sent {"connection_id":128047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:12:45] local.INFO: TCP Data received {"connection_id":128960,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:12:45] local.INFO: Processing buffer {"connection_id":128960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:12:45] local.INFO: IMEI packet received {"connection_id":128960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":128960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:13:05] local.INFO: TCP Data received {"connection_id":130197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:13:05] local.INFO: Processing buffer {"connection_id":130197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:13:05] local.INFO: IMEI packet received {"connection_id":130197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":130197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:13:10] local.INFO: TCP Data received {"connection_id":130197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:13:10] local.INFO: Processing buffer {"connection_id":130197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:13:10] local.INFO: IMEI packet received {"connection_id":130197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":130197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:13:11] local.INFO: TCP Data received {"connection_id":130197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:13:11] local.INFO: Processing buffer {"connection_id":130197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:13:11] local.INFO: Packet analysis {"connection_id":130197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:13:11] local.INFO: Extracted packet for processing {"connection_id":130197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":130197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:13:11] local.INFO: GPS data processed {"connection_id":130197,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:13:11] local.INFO: Acknowledgment sent {"connection_id":130197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:13:43] local.INFO: TCP Data received {"connection_id":130197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:13:43] local.INFO: Processing buffer {"connection_id":130197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4df76de8012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:13:43] local.INFO: Packet analysis {"connection_id":130197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:13:43] local.INFO: Extracted packet for processing {"connection_id":130197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4df7"} 
[2026-07-11 03:13:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632112128001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783719489000,"timestamp_ms":1783719489000,"timestamp_seconds":1783719489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4df76de8"} 
[2026-07-11 03:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 03:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632112128001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632112128001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:13:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632112128001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":130197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:13:43] local.INFO: GPS data processed {"connection_id":130197,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:13:43] local.INFO: Acknowledgment sent {"connection_id":130197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:14:10] local.INFO: TCP Data received {"connection_id":128049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:14:10] local.INFO: Processing buffer {"connection_id":128049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:14:10] local.INFO: IMEI packet received {"connection_id":128049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":128049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:14:15] local.INFO: TCP Data received {"connection_id":128049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:14:15] local.INFO: Processing buffer {"connection_id":128049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:14:15] local.INFO: IMEI packet received {"connection_id":128049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":128049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:14:16] local.INFO: TCP Data received {"connection_id":128049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:14:16] local.INFO: Processing buffer {"connection_id":128049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:14:16] local.INFO: Packet analysis {"connection_id":128049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:14:16] local.INFO: Extracted packet for processing {"connection_id":128049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:14:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:14:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:14:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:14:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":128049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:14:16] local.INFO: GPS data processed {"connection_id":128049,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:14:16] local.INFO: Acknowledgment sent {"connection_id":128049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:14:47] local.INFO: TCP Data received {"connection_id":128049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:14:47] local.INFO: Processing buffer {"connection_id":128049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:14:47] local.INFO: Packet analysis {"connection_id":128049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:14:47] local.INFO: Extracted packet for processing {"connection_id":128049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:14:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:14:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":128049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:14:47] local.INFO: GPS data processed {"connection_id":128049,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:14:47] local.INFO: Acknowledgment sent {"connection_id":128049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:15:05] local.INFO: TCP Data received {"connection_id":128961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:15:05] local.INFO: Processing buffer {"connection_id":128961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:15:05] local.INFO: IMEI packet received {"connection_id":128961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":128961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:15:11] local.INFO: TCP Data received {"connection_id":128961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:15:11] local.INFO: Processing buffer {"connection_id":128961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:15:11] local.INFO: IMEI packet received {"connection_id":128961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":128961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:15:11] local.INFO: TCP Data received {"connection_id":128961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:15:11] local.INFO: Processing buffer {"connection_id":128961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:15:11] local.INFO: Packet analysis {"connection_id":128961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:15:11] local.INFO: Extracted packet for processing {"connection_id":128961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:15:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":128961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:15:11] local.INFO: GPS data processed {"connection_id":128961,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:15:11] local.INFO: Acknowledgment sent {"connection_id":128961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:15:42] local.INFO: TCP Data received {"connection_id":128961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:15:42] local.INFO: Processing buffer {"connection_id":128961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:15:42] local.INFO: Packet analysis {"connection_id":128961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:15:42] local.INFO: Extracted packet for processing {"connection_id":128961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:15:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":128961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:15:42] local.INFO: GPS data processed {"connection_id":128961,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:15:42] local.INFO: Acknowledgment sent {"connection_id":128961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:16:05] local.INFO: TCP Data received {"connection_id":128051,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:16:05] local.INFO: Processing buffer {"connection_id":128051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:16:05] local.INFO: IMEI packet received {"connection_id":128051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":128051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:16:10] local.INFO: TCP Data received {"connection_id":128051,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:16:10] local.INFO: Processing buffer {"connection_id":128051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:16:10] local.INFO: IMEI packet received {"connection_id":128051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":128051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:16:11] local.INFO: TCP Data received {"connection_id":128051,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:16:11] local.INFO: Processing buffer {"connection_id":128051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:16:11] local.INFO: Packet analysis {"connection_id":128051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:16:11] local.INFO: Extracted packet for processing {"connection_id":128051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:16:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":128051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:16:11] local.INFO: GPS data processed {"connection_id":128051,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:16:11] local.INFO: Acknowledgment sent {"connection_id":128051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:16:42] local.INFO: TCP Data received {"connection_id":128051,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:16:42] local.INFO: Processing buffer {"connection_id":128051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:16:42] local.INFO: Packet analysis {"connection_id":128051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:16:42] local.INFO: Extracted packet for processing {"connection_id":128051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:16:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":128051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:16:42] local.INFO: GPS data processed {"connection_id":128051,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:16:42] local.INFO: Acknowledgment sent {"connection_id":128051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:17:06] local.INFO: TCP Data received {"connection_id":128962,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:17:06] local.INFO: Processing buffer {"connection_id":128962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:17:06] local.INFO: IMEI packet received {"connection_id":128962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":128962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:17:10] local.INFO: TCP Data received {"connection_id":128962,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:17:10] local.INFO: Processing buffer {"connection_id":128962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:17:10] local.INFO: IMEI packet received {"connection_id":128962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":128962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:17:11] local.INFO: TCP Data received {"connection_id":128962,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:17:11] local.INFO: Processing buffer {"connection_id":128962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:17:11] local.INFO: Packet analysis {"connection_id":128962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:17:11] local.INFO: Extracted packet for processing {"connection_id":128962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":128962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:17:11] local.INFO: GPS data processed {"connection_id":128962,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:17:11] local.INFO: Acknowledgment sent {"connection_id":128962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:17:42] local.INFO: TCP Data received {"connection_id":128962,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:17:42] local.INFO: Processing buffer {"connection_id":128962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:17:42] local.INFO: Packet analysis {"connection_id":128962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:17:42] local.INFO: Extracted packet for processing {"connection_id":128962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":128962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:17:42] local.INFO: GPS data processed {"connection_id":128962,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:17:42] local.INFO: Acknowledgment sent {"connection_id":128962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:18:05] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:18:05] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:18:05] local.INFO: IMEI packet received {"connection_id":130198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":130198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:18:10] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:18:10] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:18:10] local.INFO: IMEI packet received {"connection_id":130198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":130198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:18:11] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:18:11] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:18:11] local.INFO: Packet analysis {"connection_id":130198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:18:11] local.INFO: Extracted packet for processing {"connection_id":130198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":130198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:18:11] local.INFO: GPS data processed {"connection_id":130198,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:18:11] local.INFO: Acknowledgment sent {"connection_id":130198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:18:12] local.INFO: TCP Data received {"connection_id":128244,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:18:12] local.INFO: Processing buffer {"connection_id":128244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:18:12] local.INFO: IMEI packet received {"connection_id":128244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":128244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:18:42] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:18:42] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4dfc05b0012cb29ac007823b28004700db29..."} 
[2026-07-11 03:18:42] local.INFO: Packet analysis {"connection_id":130198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:18:42] local.INFO: Extracted packet for processing {"connection_id":130198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4dfc"} 
[2026-07-11 03:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783719790000,"timestamp_ms":1783719790000,"timestamp_seconds":1783719790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4dfc05b0"} 
[2026-07-11 03:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632189184001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:18:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632189184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":130198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:18:42] local.INFO: GPS data processed {"connection_id":130198,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:18:42] local.INFO: Acknowledgment sent {"connection_id":130198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:18:47] local.INFO: TCP Data received {"connection_id":128052,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:18:47] local.INFO: Processing buffer {"connection_id":128052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:18:47] local.INFO: IMEI packet received {"connection_id":128052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":128052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:19:10] local.INFO: TCP Data received {"connection_id":128053,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:19:10] local.INFO: Processing buffer {"connection_id":128053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:19:10] local.INFO: IMEI packet received {"connection_id":128053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":128053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:19:15] local.INFO: TCP Data received {"connection_id":128053,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:19:15] local.INFO: Processing buffer {"connection_id":128053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:19:15] local.INFO: IMEI packet received {"connection_id":128053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":128053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:19:16] local.INFO: TCP Data received {"connection_id":128053,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:19:16] local.INFO: Processing buffer {"connection_id":128053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:19:16] local.INFO: Packet analysis {"connection_id":128053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:19:16] local.INFO: Extracted packet for processing {"connection_id":128053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:19:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:19:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:19:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:19:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":128053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:19:16] local.INFO: GPS data processed {"connection_id":128053,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:19:16] local.INFO: Acknowledgment sent {"connection_id":128053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:19:21] local.INFO: TCP Data received {"connection_id":128053,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:19:21] local.INFO: Processing buffer {"connection_id":128053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:19:21] local.INFO: Packet analysis {"connection_id":128053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:19:21] local.INFO: Extracted packet for processing {"connection_id":128053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:19:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":128053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:19:21] local.INFO: GPS data processed {"connection_id":128053,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:19:21] local.INFO: Acknowledgment sent {"connection_id":128053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:20:05] local.INFO: TCP Data received {"connection_id":128245,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:20:05] local.INFO: Processing buffer {"connection_id":128245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:20:05] local.INFO: IMEI packet received {"connection_id":128245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":128245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:20:10] local.INFO: TCP Data received {"connection_id":128245,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:20:10] local.INFO: Processing buffer {"connection_id":128245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:20:10] local.INFO: IMEI packet received {"connection_id":128245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":128245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:20:11] local.INFO: TCP Data received {"connection_id":128245,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:20:11] local.INFO: Processing buffer {"connection_id":128245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:20:11] local.INFO: Packet analysis {"connection_id":128245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:20:11] local.INFO: Extracted packet for processing {"connection_id":128245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:20:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:20:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":128245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:20:11] local.INFO: GPS data processed {"connection_id":128245,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:20:11] local.INFO: Acknowledgment sent {"connection_id":128245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:20:42] local.INFO: TCP Data received {"connection_id":128245,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:20:42] local.INFO: Processing buffer {"connection_id":128245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:20:42] local.INFO: Packet analysis {"connection_id":128245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:20:42] local.INFO: Extracted packet for processing {"connection_id":128245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:20:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:20:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":128245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:20:42] local.INFO: GPS data processed {"connection_id":128245,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:20:42] local.INFO: Acknowledgment sent {"connection_id":128245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:21:06] local.INFO: TCP Data received {"connection_id":128964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:21:06] local.INFO: Processing buffer {"connection_id":128964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:21:06] local.INFO: IMEI packet received {"connection_id":128964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":128964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:21:10] local.INFO: TCP Data received {"connection_id":128964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:21:10] local.INFO: Processing buffer {"connection_id":128964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:21:10] local.INFO: IMEI packet received {"connection_id":128964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":128964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:21:11] local.INFO: TCP Data received {"connection_id":128964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:21:11] local.INFO: Processing buffer {"connection_id":128964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:21:11] local.INFO: Packet analysis {"connection_id":128964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:21:11] local.INFO: Extracted packet for processing {"connection_id":128964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":128964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:21:11] local.INFO: GPS data processed {"connection_id":128964,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:21:11] local.INFO: Acknowledgment sent {"connection_id":128964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:21:42] local.INFO: TCP Data received {"connection_id":128964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:21:42] local.INFO: Processing buffer {"connection_id":128964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:21:42] local.INFO: Packet analysis {"connection_id":128964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:21:42] local.INFO: Extracted packet for processing {"connection_id":128964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":128964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:21:42] local.INFO: GPS data processed {"connection_id":128964,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:21:42] local.INFO: Acknowledgment sent {"connection_id":128964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:22:06] local.INFO: TCP Data received {"connection_id":128247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:22:06] local.INFO: Processing buffer {"connection_id":128247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:22:06] local.INFO: IMEI packet received {"connection_id":128247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":128247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:22:10] local.INFO: TCP Data received {"connection_id":128247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:22:10] local.INFO: Processing buffer {"connection_id":128247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:22:10] local.INFO: IMEI packet received {"connection_id":128247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":128247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:22:11] local.INFO: TCP Data received {"connection_id":128247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:22:11] local.INFO: Processing buffer {"connection_id":128247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:22:11] local.INFO: Packet analysis {"connection_id":128247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:22:11] local.INFO: Extracted packet for processing {"connection_id":128247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":128247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:22:11] local.INFO: GPS data processed {"connection_id":128247,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:22:11] local.INFO: Acknowledgment sent {"connection_id":128247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:22:42] local.INFO: TCP Data received {"connection_id":128247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:22:42] local.INFO: Processing buffer {"connection_id":128247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:22:42] local.INFO: Packet analysis {"connection_id":128247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:22:42] local.INFO: Extracted packet for processing {"connection_id":128247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:22:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":128247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:22:42] local.INFO: GPS data processed {"connection_id":128247,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:22:42] local.INFO: Acknowledgment sent {"connection_id":128247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:23:05] local.INFO: TCP Data received {"connection_id":128054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:23:05] local.INFO: Processing buffer {"connection_id":128054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:23:05] local.INFO: IMEI packet received {"connection_id":128054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":128054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:23:10] local.INFO: TCP Data received {"connection_id":128054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:23:10] local.INFO: Processing buffer {"connection_id":128054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:23:10] local.INFO: IMEI packet received {"connection_id":128054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":128054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:23:11] local.INFO: TCP Data received {"connection_id":128054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:23:11] local.INFO: Processing buffer {"connection_id":128054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:23:11] local.INFO: Packet analysis {"connection_id":128054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:23:11] local.INFO: Extracted packet for processing {"connection_id":128054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":128054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:23:11] local.INFO: GPS data processed {"connection_id":128054,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:23:11] local.INFO: Acknowledgment sent {"connection_id":128054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:23:42] local.INFO: TCP Data received {"connection_id":128054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:23:42] local.INFO: Processing buffer {"connection_id":128054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e009d78012cb29ac007823b28004700db2b..."} 
[2026-07-11 03:23:42] local.INFO: Packet analysis {"connection_id":128054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:23:42] local.INFO: Extracted packet for processing {"connection_id":128054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e00"} 
[2026-07-11 03:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632266240001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720091000,"timestamp_ms":1783720091000,"timestamp_seconds":1783720091,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e009d78"} 
[2026-07-11 03:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632266240001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632266240001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632266240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":128054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:23:42] local.INFO: GPS data processed {"connection_id":128054,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:23:42] local.INFO: Acknowledgment sent {"connection_id":128054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:24:10] local.INFO: TCP Data received {"connection_id":128248,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:24:10] local.INFO: Processing buffer {"connection_id":128248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:24:10] local.INFO: IMEI packet received {"connection_id":128248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":128248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:24:15] local.INFO: TCP Data received {"connection_id":128248,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:24:15] local.INFO: Processing buffer {"connection_id":128248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:24:15] local.INFO: IMEI packet received {"connection_id":128248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":128248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:24:16] local.INFO: TCP Data received {"connection_id":128248,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:24:16] local.INFO: Processing buffer {"connection_id":128248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:24:16] local.INFO: Packet analysis {"connection_id":128248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:24:16] local.INFO: Extracted packet for processing {"connection_id":128248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:24:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:24:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":128248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:24:16] local.INFO: GPS data processed {"connection_id":128248,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:24:16] local.INFO: Acknowledgment sent {"connection_id":128248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:24:22] local.INFO: TCP Data received {"connection_id":128966,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:24:22] local.INFO: Processing buffer {"connection_id":128966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:24:22] local.INFO: IMEI packet received {"connection_id":128966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":128966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:24:46] local.INFO: TCP Data received {"connection_id":128055,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:24:46] local.INFO: Processing buffer {"connection_id":128055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:24:46] local.INFO: IMEI packet received {"connection_id":128055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":128055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:24:47] local.INFO: TCP Data received {"connection_id":128248,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:24:47] local.INFO: Processing buffer {"connection_id":128248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:24:47] local.INFO: Packet analysis {"connection_id":128248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:24:47] local.INFO: Extracted packet for processing {"connection_id":128248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:24:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:24:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:24:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:24:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:24:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":128248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:24:47] local.INFO: GPS data processed {"connection_id":128248,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:24:47] local.INFO: Acknowledgment sent {"connection_id":128248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:25:05] local.INFO: TCP Data received {"connection_id":128056,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:25:05] local.INFO: Processing buffer {"connection_id":128056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:25:05] local.INFO: IMEI packet received {"connection_id":128056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":128056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:25:10] local.INFO: TCP Data received {"connection_id":128056,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:25:10] local.INFO: Processing buffer {"connection_id":128056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:25:10] local.INFO: IMEI packet received {"connection_id":128056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":128056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:25:12] local.INFO: TCP Data received {"connection_id":128056,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:25:12] local.INFO: Processing buffer {"connection_id":128056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:25:12] local.INFO: Packet analysis {"connection_id":128056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:25:12] local.INFO: Extracted packet for processing {"connection_id":128056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:25:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":128056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:25:12] local.INFO: GPS data processed {"connection_id":128056,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:25:12] local.INFO: Acknowledgment sent {"connection_id":128056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:25:42] local.INFO: TCP Data received {"connection_id":128056,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:25:42] local.INFO: Processing buffer {"connection_id":128056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:25:42] local.INFO: Packet analysis {"connection_id":128056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:25:42] local.INFO: Extracted packet for processing {"connection_id":128056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:25:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":128056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:25:43] local.INFO: GPS data processed {"connection_id":128056,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:25:43] local.INFO: Acknowledgment sent {"connection_id":128056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:26:05] local.INFO: TCP Data received {"connection_id":128967,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:26:05] local.INFO: Processing buffer {"connection_id":128967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:26:05] local.INFO: IMEI packet received {"connection_id":128967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":128967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:26:10] local.INFO: TCP Data received {"connection_id":128967,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:26:10] local.INFO: Processing buffer {"connection_id":128967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:26:10] local.INFO: IMEI packet received {"connection_id":128967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":128967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:26:11] local.INFO: TCP Data received {"connection_id":128967,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:26:11] local.INFO: Processing buffer {"connection_id":128967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:26:11] local.INFO: Packet analysis {"connection_id":128967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:26:11] local.INFO: Extracted packet for processing {"connection_id":128967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:26:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":128967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:26:11] local.INFO: GPS data processed {"connection_id":128967,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:26:11] local.INFO: Acknowledgment sent {"connection_id":128967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:26:44] local.INFO: TCP Data received {"connection_id":128967,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:26:44] local.INFO: Processing buffer {"connection_id":128967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:26:44] local.INFO: Packet analysis {"connection_id":128967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:26:44] local.INFO: Extracted packet for processing {"connection_id":128967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:26:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:26:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":128967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:26:44] local.INFO: GPS data processed {"connection_id":128967,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:26:44] local.INFO: Acknowledgment sent {"connection_id":128967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:27:06] local.INFO: TCP Data received {"connection_id":128968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:27:06] local.INFO: Processing buffer {"connection_id":128968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:27:06] local.INFO: IMEI packet received {"connection_id":128968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":128968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:27:10] local.INFO: TCP Data received {"connection_id":128968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:27:10] local.INFO: Processing buffer {"connection_id":128968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:27:10] local.INFO: IMEI packet received {"connection_id":128968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":128968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:27:11] local.INFO: TCP Data received {"connection_id":128968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:27:11] local.INFO: Processing buffer {"connection_id":128968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:27:11] local.INFO: Packet analysis {"connection_id":128968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:27:11] local.INFO: Extracted packet for processing {"connection_id":128968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":128968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:27:11] local.INFO: GPS data processed {"connection_id":128968,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:27:11] local.INFO: Acknowledgment sent {"connection_id":128968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:27:42] local.INFO: TCP Data received {"connection_id":128968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:27:42] local.INFO: Processing buffer {"connection_id":128968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:27:42] local.INFO: Packet analysis {"connection_id":128968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:27:42] local.INFO: Extracted packet for processing {"connection_id":128968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":128968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:27:42] local.INFO: GPS data processed {"connection_id":128968,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:27:42] local.INFO: Acknowledgment sent {"connection_id":128968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:28:05] local.INFO: TCP Data received {"connection_id":128058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:28:05] local.INFO: Processing buffer {"connection_id":128058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:28:05] local.INFO: IMEI packet received {"connection_id":128058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":128058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:28:10] local.INFO: TCP Data received {"connection_id":128058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:28:10] local.INFO: Processing buffer {"connection_id":128058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:28:10] local.INFO: IMEI packet received {"connection_id":128058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":128058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:28:11] local.INFO: TCP Data received {"connection_id":128058,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:28:11] local.INFO: Processing buffer {"connection_id":128058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:28:11] local.INFO: Packet analysis {"connection_id":128058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:28:11] local.INFO: Extracted packet for processing {"connection_id":128058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":128058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:28:11] local.INFO: GPS data processed {"connection_id":128058,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:28:11] local.INFO: Acknowledgment sent {"connection_id":128058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:28:42] local.INFO: TCP Data received {"connection_id":128058,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:28:42] local.INFO: Processing buffer {"connection_id":128058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e053540012cb29ac007823b28004700db28..."} 
[2026-07-11 03:28:42] local.INFO: Packet analysis {"connection_id":128058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:28:42] local.INFO: Extracted packet for processing {"connection_id":128058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e05"} 
[2026-07-11 03:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632343296001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720392000,"timestamp_ms":1783720392000,"timestamp_seconds":1783720392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e053540"} 
[2026-07-11 03:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632343296001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632343296001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:28:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632343296001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":128058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:28:42] local.INFO: GPS data processed {"connection_id":128058,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:28:42] local.INFO: Acknowledgment sent {"connection_id":128058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:29:05] local.INFO: TCP Data received {"connection_id":128969,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:29:05] local.INFO: Processing buffer {"connection_id":128969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:29:05] local.INFO: IMEI packet received {"connection_id":128969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":128969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:29:10] local.INFO: TCP Data received {"connection_id":128969,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:29:10] local.INFO: Processing buffer {"connection_id":128969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:29:10] local.INFO: IMEI packet received {"connection_id":128969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":128969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:29:11] local.INFO: TCP Data received {"connection_id":128969,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:29:11] local.INFO: Processing buffer {"connection_id":128969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:29:11] local.INFO: Packet analysis {"connection_id":128969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:29:11] local.INFO: Extracted packet for processing {"connection_id":128969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":128969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:29:11] local.INFO: GPS data processed {"connection_id":128969,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:29:11] local.INFO: Acknowledgment sent {"connection_id":128969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:29:42] local.INFO: TCP Data received {"connection_id":128969,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:29:42] local.INFO: Processing buffer {"connection_id":128969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:29:42] local.INFO: Packet analysis {"connection_id":128969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:29:42] local.INFO: Extracted packet for processing {"connection_id":128969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":128969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:29:42] local.INFO: GPS data processed {"connection_id":128969,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:29:42] local.INFO: Acknowledgment sent {"connection_id":128969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:30:05] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:30:05] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:30:05] local.INFO: IMEI packet received {"connection_id":128250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":128250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:30:07] local.INFO: TCP Data received {"connection_id":128249,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:30:07] local.INFO: Processing buffer {"connection_id":128249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:30:07] local.INFO: IMEI packet received {"connection_id":128249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":128249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:30:10] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:30:10] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:30:10] local.INFO: IMEI packet received {"connection_id":128250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":128250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:30:11] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:30:11] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:30:11] local.INFO: Packet analysis {"connection_id":128250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:30:11] local.INFO: Extracted packet for processing {"connection_id":128250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":128250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:30:11] local.INFO: GPS data processed {"connection_id":128250,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:30:11] local.INFO: Acknowledgment sent {"connection_id":128250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:30:42] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:30:42] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:30:42] local.INFO: Packet analysis {"connection_id":128250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:30:42] local.INFO: Extracted packet for processing {"connection_id":128250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:30:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":128250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:30:42] local.INFO: GPS data processed {"connection_id":128250,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:30:42] local.INFO: Acknowledgment sent {"connection_id":128250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:31:06] local.INFO: TCP Data received {"connection_id":130204,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:31:06] local.INFO: Processing buffer {"connection_id":130204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:31:06] local.INFO: IMEI packet received {"connection_id":130204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":130204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:31:10] local.INFO: TCP Data received {"connection_id":130204,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:31:10] local.INFO: Processing buffer {"connection_id":130204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:31:10] local.INFO: IMEI packet received {"connection_id":130204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":130204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:31:11] local.INFO: TCP Data received {"connection_id":130204,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:31:11] local.INFO: Processing buffer {"connection_id":130204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:31:11] local.INFO: Packet analysis {"connection_id":130204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:31:11] local.INFO: Extracted packet for processing {"connection_id":130204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":130204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:31:11] local.INFO: GPS data processed {"connection_id":130204,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:31:11] local.INFO: Acknowledgment sent {"connection_id":130204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:31:42] local.INFO: TCP Data received {"connection_id":130204,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:31:42] local.INFO: Processing buffer {"connection_id":130204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:31:42] local.INFO: Packet analysis {"connection_id":130204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:31:42] local.INFO: Extracted packet for processing {"connection_id":130204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:31:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":130204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:31:42] local.INFO: GPS data processed {"connection_id":130204,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:31:42] local.INFO: Acknowledgment sent {"connection_id":130204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:31:47] local.INFO: TCP Data received {"connection_id":128970,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:31:47] local.INFO: Processing buffer {"connection_id":128970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:31:47] local.INFO: IMEI packet received {"connection_id":128970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":128970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:32:05] local.INFO: TCP Data received {"connection_id":130205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:32:05] local.INFO: Processing buffer {"connection_id":130205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:32:05] local.INFO: IMEI packet received {"connection_id":130205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":130205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:32:10] local.INFO: TCP Data received {"connection_id":130205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:32:10] local.INFO: Processing buffer {"connection_id":130205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:32:10] local.INFO: IMEI packet received {"connection_id":130205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":130205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:32:11] local.INFO: TCP Data received {"connection_id":130205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:32:11] local.INFO: Processing buffer {"connection_id":130205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:32:11] local.INFO: Packet analysis {"connection_id":130205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:32:11] local.INFO: Extracted packet for processing {"connection_id":130205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:32:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:32:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":130205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:32:11] local.INFO: GPS data processed {"connection_id":130205,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:32:11] local.INFO: Acknowledgment sent {"connection_id":130205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:32:42] local.INFO: TCP Data received {"connection_id":130205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:32:42] local.INFO: Processing buffer {"connection_id":130205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:32:42] local.INFO: Packet analysis {"connection_id":130205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:32:42] local.INFO: Extracted packet for processing {"connection_id":130205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:32:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:32:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":130205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:32:42] local.INFO: GPS data processed {"connection_id":130205,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:32:42] local.INFO: Acknowledgment sent {"connection_id":130205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:33:05] local.INFO: TCP Data received {"connection_id":128251,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:33:05] local.INFO: Processing buffer {"connection_id":128251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:33:05] local.INFO: IMEI packet received {"connection_id":128251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":128251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:33:10] local.INFO: TCP Data received {"connection_id":128251,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:33:10] local.INFO: Processing buffer {"connection_id":128251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:33:10] local.INFO: IMEI packet received {"connection_id":128251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":128251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:33:11] local.INFO: TCP Data received {"connection_id":128251,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:33:11] local.INFO: Processing buffer {"connection_id":128251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:33:11] local.INFO: Packet analysis {"connection_id":128251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:33:11] local.INFO: Extracted packet for processing {"connection_id":128251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":128251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:33:11] local.INFO: GPS data processed {"connection_id":128251,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:33:11] local.INFO: Acknowledgment sent {"connection_id":128251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:33:42] local.INFO: TCP Data received {"connection_id":128251,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:33:42] local.INFO: Processing buffer {"connection_id":128251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e09cd08012cb29ac007823b28004700db28..."} 
[2026-07-11 03:33:42] local.INFO: Packet analysis {"connection_id":128251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:33:42] local.INFO: Extracted packet for processing {"connection_id":128251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e09"} 
[2026-07-11 03:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632420352001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720693000,"timestamp_ms":1783720693000,"timestamp_seconds":1783720693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e09cd08"} 
[2026-07-11 03:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 03:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632420352001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632420352001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632420352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":128251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:33:42] local.INFO: GPS data processed {"connection_id":128251,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:33:42] local.INFO: Acknowledgment sent {"connection_id":128251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:34:10] local.INFO: TCP Data received {"connection_id":130207,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:34:10] local.INFO: Processing buffer {"connection_id":130207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:34:10] local.INFO: IMEI packet received {"connection_id":130207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":130207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:34:15] local.INFO: TCP Data received {"connection_id":130207,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:34:15] local.INFO: Processing buffer {"connection_id":130207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:34:15] local.INFO: IMEI packet received {"connection_id":130207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":130207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:34:16] local.INFO: TCP Data received {"connection_id":130207,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:34:16] local.INFO: Processing buffer {"connection_id":130207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:34:16] local.INFO: Packet analysis {"connection_id":130207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:34:16] local.INFO: Extracted packet for processing {"connection_id":130207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:34:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632497408001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:34:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783720994000,"timestamp_ms":1783720994000,"timestamp_seconds":1783720994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e0e64d0"} 
[2026-07-11 03:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632497408001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632497408001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:34:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:34:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632497408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":130207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:34:16] local.INFO: GPS data processed {"connection_id":130207,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:34:16] local.INFO: Acknowledgment sent {"connection_id":130207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:34:47] local.INFO: TCP Data received {"connection_id":130207,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:34:47] local.INFO: Processing buffer {"connection_id":130207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:34:47] local.INFO: Packet analysis {"connection_id":130207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:34:47] local.INFO: Extracted packet for processing {"connection_id":130207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:34:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632497408001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:34:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783720994000,"timestamp_ms":1783720994000,"timestamp_seconds":1783720994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e0e64d0"} 
[2026-07-11 03:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632497408001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632497408001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:34:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:34:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632497408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":130207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:34:47] local.INFO: GPS data processed {"connection_id":130207,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:34:47] local.INFO: Acknowledgment sent {"connection_id":130207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:35:05] local.INFO: TCP Data received {"connection_id":128060,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:35:05] local.INFO: Processing buffer {"connection_id":128060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:35:05] local.INFO: IMEI packet received {"connection_id":128060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":128060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:35:10] local.INFO: TCP Data received {"connection_id":128060,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:35:10] local.INFO: Processing buffer {"connection_id":128060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:35:10] local.INFO: IMEI packet received {"connection_id":128060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":128060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:35:11] local.INFO: TCP Data received {"connection_id":128060,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:35:11] local.INFO: Processing buffer {"connection_id":128060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:35:11] local.INFO: Packet analysis {"connection_id":128060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:35:11] local.INFO: Extracted packet for processing {"connection_id":128060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:35:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632497408001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720994000,"timestamp_ms":1783720994000,"timestamp_seconds":1783720994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e0e64d0"} 
[2026-07-11 03:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632497408001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632497408001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:35:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632497408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":128060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:35:11] local.INFO: GPS data processed {"connection_id":128060,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:35:11] local.INFO: Acknowledgment sent {"connection_id":128060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:36:06] local.INFO: TCP Data received {"connection_id":128971,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:36:06] local.INFO: Processing buffer {"connection_id":128971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:36:06] local.INFO: IMEI packet received {"connection_id":128971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":128971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:36:10] local.INFO: TCP Data received {"connection_id":128971,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:36:10] local.INFO: Processing buffer {"connection_id":128971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:36:10] local.INFO: IMEI packet received {"connection_id":128971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":128971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:36:11] local.INFO: TCP Data received {"connection_id":128971,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:36:11] local.INFO: Processing buffer {"connection_id":128971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:36:11] local.INFO: Packet analysis {"connection_id":128971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:36:11] local.INFO: Extracted packet for processing {"connection_id":128971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:36:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632497408001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720994000,"timestamp_ms":1783720994000,"timestamp_seconds":1783720994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e0e64d0"} 
[2026-07-11 03:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03: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":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632497408001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632497408001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:36:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632497408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":128971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:36:11] local.INFO: GPS data processed {"connection_id":128971,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:36:11] local.INFO: Acknowledgment sent {"connection_id":128971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:36:42] local.INFO: TCP Data received {"connection_id":128971,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:36:42] local.INFO: Processing buffer {"connection_id":128971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:36:42] local.INFO: Packet analysis {"connection_id":128971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:36:42] local.INFO: Extracted packet for processing {"connection_id":128971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:36:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632497408001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720994000,"timestamp_ms":1783720994000,"timestamp_seconds":1783720994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e0e64d0"} 
[2026-07-11 03:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632497408001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632497408001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:36:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632497408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":128971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:36:42] local.INFO: GPS data processed {"connection_id":128971,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:36:42] local.INFO: Acknowledgment sent {"connection_id":128971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:37:05] local.INFO: TCP Data received {"connection_id":128252,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:37:05] local.INFO: Processing buffer {"connection_id":128252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:37:05] local.INFO: IMEI packet received {"connection_id":128252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":128252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:37:10] local.INFO: TCP Data received {"connection_id":128252,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:37:10] local.INFO: Processing buffer {"connection_id":128252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:37:10] local.INFO: IMEI packet received {"connection_id":128252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":128252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:37:12] local.INFO: TCP Data received {"connection_id":128252,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:37:12] local.INFO: Processing buffer {"connection_id":128252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:37:12] local.INFO: Packet analysis {"connection_id":128252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:37:12] local.INFO: Extracted packet for processing {"connection_id":128252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632497408001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783720994000,"timestamp_ms":1783720994000,"timestamp_seconds":1783720994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e0e64d0"} 
[2026-07-11 03:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632497408001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632497408001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:37:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632497408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":128252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:37:12] local.INFO: GPS data processed {"connection_id":128252,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:37:12] local.INFO: Acknowledgment sent {"connection_id":128252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:37:17] local.INFO: TCP Data received {"connection_id":128062,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:37:17] local.INFO: Processing buffer {"connection_id":128062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:37:17] local.INFO: IMEI packet received {"connection_id":128062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":128062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:37:43] local.INFO: TCP Data received {"connection_id":128252,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:37:43] local.INFO: Processing buffer {"connection_id":128252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:37:43] local.INFO: Packet analysis {"connection_id":128252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:37:43] local.INFO: Extracted packet for processing {"connection_id":128252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632497408001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783720994000,"timestamp_ms":1783720994000,"timestamp_seconds":1783720994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e0e64d0"} 
[2026-07-11 03:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632497408001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632497408001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632497408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":128252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:37:43] local.INFO: GPS data processed {"connection_id":128252,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:37:43] local.INFO: Acknowledgment sent {"connection_id":128252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:37:54] local.INFO: TCP Data received {"connection_id":128972,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:37:54] local.INFO: Processing buffer {"connection_id":128972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:37:54] local.INFO: IMEI packet received {"connection_id":128972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":128972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:38:05] local.INFO: TCP Data received {"connection_id":128253,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:38:05] local.INFO: Processing buffer {"connection_id":128253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:38:05] local.INFO: IMEI packet received {"connection_id":128253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:38:10] local.INFO: TCP Data received {"connection_id":128253,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:38:10] local.INFO: Processing buffer {"connection_id":128253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:38:10] local.INFO: IMEI packet received {"connection_id":128253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":128253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:38:11] local.INFO: TCP Data received {"connection_id":128253,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:38:11] local.INFO: Processing buffer {"connection_id":128253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:38:11] local.INFO: Packet analysis {"connection_id":128253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:38:11] local.INFO: Extracted packet for processing {"connection_id":128253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632497408001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783720994000,"timestamp_ms":1783720994000,"timestamp_seconds":1783720994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e0e64d0"} 
[2026-07-11 03:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632497408001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632497408001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632497408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":128253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:38:11] local.INFO: GPS data processed {"connection_id":128253,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:38:11] local.INFO: Acknowledgment sent {"connection_id":128253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:38:42] local.INFO: TCP Data received {"connection_id":128253,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:38:42] local.INFO: Processing buffer {"connection_id":128253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e0e64d0012cb29ac007823b28004700db2a..."} 
[2026-07-11 03:38:42] local.INFO: Packet analysis {"connection_id":128253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:38:42] local.INFO: Extracted packet for processing {"connection_id":128253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e0e"} 
[2026-07-11 03:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632497408001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783720994000,"timestamp_ms":1783720994000,"timestamp_seconds":1783720994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e0e64d0"} 
[2026-07-11 03:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632497408001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632497408001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:38:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632497408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":128253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:38:42] local.INFO: GPS data processed {"connection_id":128253,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:38:42] local.INFO: Acknowledgment sent {"connection_id":128253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:39:10] local.INFO: TCP Data received {"connection_id":128973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:39:10] local.INFO: Processing buffer {"connection_id":128973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:39:10] local.INFO: IMEI packet received {"connection_id":128973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":128973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:39:15] local.INFO: TCP Data received {"connection_id":128973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:39:15] local.INFO: Processing buffer {"connection_id":128973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:39:15] local.INFO: IMEI packet received {"connection_id":128973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":128973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:39:16] local.INFO: TCP Data received {"connection_id":128973,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:39:16] local.INFO: Processing buffer {"connection_id":128973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:39:16] local.INFO: Packet analysis {"connection_id":128973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:39:16] local.INFO: Extracted packet for processing {"connection_id":128973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:39:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:39:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":128973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:39:16] local.INFO: GPS data processed {"connection_id":128973,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:39:16] local.INFO: Acknowledgment sent {"connection_id":128973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:39:47] local.INFO: TCP Data received {"connection_id":128973,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:39:47] local.INFO: Processing buffer {"connection_id":128973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:39:47] local.INFO: Packet analysis {"connection_id":128973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:39:47] local.INFO: Extracted packet for processing {"connection_id":128973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:39:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:39:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:39:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:39:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":128973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:39:47] local.INFO: GPS data processed {"connection_id":128973,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:39:47] local.INFO: Acknowledgment sent {"connection_id":128973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:40:05] local.INFO: TCP Data received {"connection_id":128255,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:40:05] local.INFO: Processing buffer {"connection_id":128255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:40:05] local.INFO: IMEI packet received {"connection_id":128255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":128255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:40:10] local.INFO: TCP Data received {"connection_id":128255,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:40:10] local.INFO: Processing buffer {"connection_id":128255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:40:10] local.INFO: IMEI packet received {"connection_id":128255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":128255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:40:11] local.INFO: TCP Data received {"connection_id":128255,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:40:11] local.INFO: Processing buffer {"connection_id":128255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:40:11] local.INFO: Packet analysis {"connection_id":128255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:40:11] local.INFO: Extracted packet for processing {"connection_id":128255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:40:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":128255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:40:11] local.INFO: GPS data processed {"connection_id":128255,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:40:11] local.INFO: Acknowledgment sent {"connection_id":128255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:40:42] local.INFO: TCP Data received {"connection_id":128255,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:40:42] local.INFO: Processing buffer {"connection_id":128255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:40:42] local.INFO: Packet analysis {"connection_id":128255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:40:42] local.INFO: Extracted packet for processing {"connection_id":128255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":128255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:40:42] local.INFO: GPS data processed {"connection_id":128255,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:40:42] local.INFO: Acknowledgment sent {"connection_id":128255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:41:06] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:41:06] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:41:06] local.INFO: IMEI packet received {"connection_id":130210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":130210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:41:10] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:41:10] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:41:10] local.INFO: IMEI packet received {"connection_id":130210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":130210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:41:11] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:41:11] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:41:11] local.INFO: Packet analysis {"connection_id":130210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:41:11] local.INFO: Extracted packet for processing {"connection_id":130210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":130210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:41:11] local.INFO: GPS data processed {"connection_id":130210,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:41:11] local.INFO: Acknowledgment sent {"connection_id":130210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:41:42] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:41:42] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:41:42] local.INFO: Packet analysis {"connection_id":130210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:41:42] local.INFO: Extracted packet for processing {"connection_id":130210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:41:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":130210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:41:42] local.INFO: GPS data processed {"connection_id":130210,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:41:42] local.INFO: Acknowledgment sent {"connection_id":130210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:42:05] local.INFO: TCP Data received {"connection_id":128064,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:42:05] local.INFO: Processing buffer {"connection_id":128064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:42:05] local.INFO: IMEI packet received {"connection_id":128064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":128064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:42:10] local.INFO: TCP Data received {"connection_id":128064,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:42:10] local.INFO: Processing buffer {"connection_id":128064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:42:10] local.INFO: IMEI packet received {"connection_id":128064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":128064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:42:11] local.INFO: TCP Data received {"connection_id":128064,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:42:11] local.INFO: Processing buffer {"connection_id":128064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:42:11] local.INFO: Packet analysis {"connection_id":128064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:42:11] local.INFO: Extracted packet for processing {"connection_id":128064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":128064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:42:11] local.INFO: GPS data processed {"connection_id":128064,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:42:11] local.INFO: Acknowledgment sent {"connection_id":128064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:42:42] local.INFO: TCP Data received {"connection_id":128064,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:42:42] local.INFO: Processing buffer {"connection_id":128064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:42:42] local.INFO: Packet analysis {"connection_id":128064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:42:42] local.INFO: Extracted packet for processing {"connection_id":128064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":128064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:42:42] local.INFO: GPS data processed {"connection_id":128064,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:42:42] local.INFO: Acknowledgment sent {"connection_id":128064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:43:05] local.INFO: TCP Data received {"connection_id":130211,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:43:05] local.INFO: Processing buffer {"connection_id":130211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:43:05] local.INFO: IMEI packet received {"connection_id":130211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":130211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:43:10] local.INFO: TCP Data received {"connection_id":130211,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:43:10] local.INFO: Processing buffer {"connection_id":130211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:43:10] local.INFO: IMEI packet received {"connection_id":130211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":130211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:43:11] local.INFO: TCP Data received {"connection_id":130211,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:43:11] local.INFO: Processing buffer {"connection_id":130211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:43:11] local.INFO: Packet analysis {"connection_id":130211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:43:11] local.INFO: Extracted packet for processing {"connection_id":130211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":130211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:43:11] local.INFO: GPS data processed {"connection_id":130211,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:43:11] local.INFO: Acknowledgment sent {"connection_id":130211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:43:12] local.INFO: TCP Data received {"connection_id":128065,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:43:12] local.INFO: Processing buffer {"connection_id":128065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:43:12] local.INFO: IMEI packet received {"connection_id":128065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":128065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:43:43] local.INFO: TCP Data received {"connection_id":130211,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:43:43] local.INFO: Processing buffer {"connection_id":130211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e12fc98012cb29ac007823b28004700db27..."} 
[2026-07-11 03:43:43] local.INFO: Packet analysis {"connection_id":130211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:43:43] local.INFO: Extracted packet for processing {"connection_id":130211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e12"} 
[2026-07-11 03:43:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632574464001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783721295000,"timestamp_ms":1783721295000,"timestamp_seconds":1783721295,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e12fc98"} 
[2026-07-11 03:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632574464001,"66":25288,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632574464001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:43:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:43:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632574464001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":130211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:43:43] local.INFO: GPS data processed {"connection_id":130211,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:43:43] local.INFO: Acknowledgment sent {"connection_id":130211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:43:47] local.INFO: TCP Data received {"connection_id":130212,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:43:47] local.INFO: Processing buffer {"connection_id":130212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:43:47] local.INFO: IMEI packet received {"connection_id":130212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":130212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:44:10] local.INFO: TCP Data received {"connection_id":128976,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:44:10] local.INFO: Processing buffer {"connection_id":128976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:44:10] local.INFO: IMEI packet received {"connection_id":128976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":128976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:44:16] local.INFO: TCP Data received {"connection_id":128976,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:44:16] local.INFO: Processing buffer {"connection_id":128976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:44:16] local.INFO: IMEI packet received {"connection_id":128976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":128976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:44:16] local.INFO: TCP Data received {"connection_id":128976,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:44:16] local.INFO: Processing buffer {"connection_id":128976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:44:16] local.INFO: Packet analysis {"connection_id":128976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:44:16] local.INFO: Extracted packet for processing {"connection_id":128976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:44:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:44:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:44:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:44:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":128976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:44:16] local.INFO: GPS data processed {"connection_id":128976,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:44:16] local.INFO: Acknowledgment sent {"connection_id":128976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:44:47] local.INFO: TCP Data received {"connection_id":128976,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:44:47] local.INFO: Processing buffer {"connection_id":128976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:44:47] local.INFO: Packet analysis {"connection_id":128976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:44:47] local.INFO: Extracted packet for processing {"connection_id":128976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:44:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:44:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":128976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:44:47] local.INFO: GPS data processed {"connection_id":128976,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:44:47] local.INFO: Acknowledgment sent {"connection_id":128976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:45:05] local.INFO: TCP Data received {"connection_id":128067,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:45:05] local.INFO: Processing buffer {"connection_id":128067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:45:05] local.INFO: IMEI packet received {"connection_id":128067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":128067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:45:10] local.INFO: TCP Data received {"connection_id":128067,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:45:10] local.INFO: Processing buffer {"connection_id":128067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:45:10] local.INFO: IMEI packet received {"connection_id":128067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":128067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:45:11] local.INFO: TCP Data received {"connection_id":128067,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:45:11] local.INFO: Processing buffer {"connection_id":128067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:45:11] local.INFO: Packet analysis {"connection_id":128067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:45:11] local.INFO: Extracted packet for processing {"connection_id":128067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":128067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:45:11] local.INFO: GPS data processed {"connection_id":128067,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:45:11] local.INFO: Acknowledgment sent {"connection_id":128067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:45:42] local.INFO: TCP Data received {"connection_id":128067,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:45:42] local.INFO: Processing buffer {"connection_id":128067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:45:42] local.INFO: Packet analysis {"connection_id":128067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:45:42] local.INFO: Extracted packet for processing {"connection_id":128067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":128067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:45:42] local.INFO: GPS data processed {"connection_id":128067,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:45:42] local.INFO: Acknowledgment sent {"connection_id":128067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:46:05] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:46:05] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:46:05] local.INFO: IMEI packet received {"connection_id":130214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":130214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:46:10] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:46:10] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:46:10] local.INFO: IMEI packet received {"connection_id":130214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":130214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:46:11] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:46:11] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:46:11] local.INFO: Packet analysis {"connection_id":130214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:46:11] local.INFO: Extracted packet for processing {"connection_id":130214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:46:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:46:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:46:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:46:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":130214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:46:11] local.INFO: GPS data processed {"connection_id":130214,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:46:11] local.INFO: Acknowledgment sent {"connection_id":130214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:46:42] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:46:42] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:46:42] local.INFO: Packet analysis {"connection_id":130214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:46:42] local.INFO: Extracted packet for processing {"connection_id":130214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:46:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:46:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":130214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:46:42] local.INFO: GPS data processed {"connection_id":130214,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:46:42] local.INFO: Acknowledgment sent {"connection_id":130214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:47:05] local.INFO: TCP Data received {"connection_id":128258,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:47:05] local.INFO: Processing buffer {"connection_id":128258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:47:05] local.INFO: IMEI packet received {"connection_id":128258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:47:10] local.INFO: TCP Data received {"connection_id":128258,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:47:10] local.INFO: Processing buffer {"connection_id":128258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:47:10] local.INFO: IMEI packet received {"connection_id":128258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":128258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:47:11] local.INFO: TCP Data received {"connection_id":128258,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:47:11] local.INFO: Processing buffer {"connection_id":128258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:47:11] local.INFO: Packet analysis {"connection_id":128258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:47:11] local.INFO: Extracted packet for processing {"connection_id":128258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":128258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:47:11] local.INFO: GPS data processed {"connection_id":128258,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:47:11] local.INFO: Acknowledgment sent {"connection_id":128258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:47:42] local.INFO: TCP Data received {"connection_id":128258,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:47:42] local.INFO: Processing buffer {"connection_id":128258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:47:42] local.INFO: Packet analysis {"connection_id":128258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:47:42] local.INFO: Extracted packet for processing {"connection_id":128258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":128258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:47:42] local.INFO: GPS data processed {"connection_id":128258,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:47:42] local.INFO: Acknowledgment sent {"connection_id":128258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:48:05] local.INFO: TCP Data received {"connection_id":128068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:48:05] local.INFO: Processing buffer {"connection_id":128068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:48:05] local.INFO: IMEI packet received {"connection_id":128068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":128068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:48:10] local.INFO: TCP Data received {"connection_id":128068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:48:10] local.INFO: Processing buffer {"connection_id":128068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:48:10] local.INFO: IMEI packet received {"connection_id":128068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":128068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:48:11] local.INFO: TCP Data received {"connection_id":128068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:48:11] local.INFO: Processing buffer {"connection_id":128068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:48:11] local.INFO: Packet analysis {"connection_id":128068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:48:11] local.INFO: Extracted packet for processing {"connection_id":128068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:48:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:48:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":128068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:48:11] local.INFO: GPS data processed {"connection_id":128068,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:48:11] local.INFO: Acknowledgment sent {"connection_id":128068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:48:42] local.INFO: TCP Data received {"connection_id":128068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:48:42] local.INFO: Processing buffer {"connection_id":128068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e179460012cb29ac007823b28004700db28..."} 
[2026-07-11 03:48:42] local.INFO: Packet analysis {"connection_id":128068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:48:42] local.INFO: Extracted packet for processing {"connection_id":128068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e17"} 
[2026-07-11 03:48:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632651520001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721596000,"timestamp_ms":1783721596000,"timestamp_seconds":1783721596,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e179460"} 
[2026-07-11 03:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 03:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632651520001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632651520001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:48:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632651520001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":128068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:48:42] local.INFO: GPS data processed {"connection_id":128068,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:48:42] local.INFO: Acknowledgment sent {"connection_id":128068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:49:05] local.INFO: TCP Data received {"connection_id":128069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:49:05] local.INFO: Processing buffer {"connection_id":128069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:49:05] local.INFO: IMEI packet received {"connection_id":128069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":128069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:49:10] local.INFO: TCP Data received {"connection_id":128069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:49:10] local.INFO: Processing buffer {"connection_id":128069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:49:10] local.INFO: IMEI packet received {"connection_id":128069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":128069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:49:11] local.INFO: TCP Data received {"connection_id":128069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:49:11] local.INFO: Processing buffer {"connection_id":128069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:49:11] local.INFO: Packet analysis {"connection_id":128069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:49:11] local.INFO: Extracted packet for processing {"connection_id":128069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:49:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":128069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:49:11] local.INFO: GPS data processed {"connection_id":128069,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:49:11] local.INFO: Acknowledgment sent {"connection_id":128069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:49:26] local.INFO: TCP Data received {"connection_id":130215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:49:26] local.INFO: Processing buffer {"connection_id":130215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:49:26] local.INFO: IMEI packet received {"connection_id":130215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":130215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:49:42] local.INFO: TCP Data received {"connection_id":128069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:49:42] local.INFO: Processing buffer {"connection_id":128069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:49:42] local.INFO: Packet analysis {"connection_id":128069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:49:42] local.INFO: Extracted packet for processing {"connection_id":128069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":128069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:49:42] local.INFO: GPS data processed {"connection_id":128069,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:49:42] local.INFO: Acknowledgment sent {"connection_id":128069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:49:46] local.INFO: TCP Data received {"connection_id":128259,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:49:46] local.INFO: Processing buffer {"connection_id":128259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:49:46] local.INFO: IMEI packet received {"connection_id":128259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":128259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:50:05] local.INFO: TCP Data received {"connection_id":128978,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:50:05] local.INFO: Processing buffer {"connection_id":128978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:50:05] local.INFO: IMEI packet received {"connection_id":128978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":128978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:50:10] local.INFO: TCP Data received {"connection_id":128978,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:50:10] local.INFO: Processing buffer {"connection_id":128978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:50:10] local.INFO: IMEI packet received {"connection_id":128978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":128978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:50:11] local.INFO: TCP Data received {"connection_id":128978,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:50:11] local.INFO: Processing buffer {"connection_id":128978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:50:11] local.INFO: Packet analysis {"connection_id":128978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:50:11] local.INFO: Extracted packet for processing {"connection_id":128978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:50:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":128978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:50:11] local.INFO: GPS data processed {"connection_id":128978,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:50:11] local.INFO: Acknowledgment sent {"connection_id":128978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:50:42] local.INFO: TCP Data received {"connection_id":128978,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:50:42] local.INFO: Processing buffer {"connection_id":128978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:50:42] local.INFO: Packet analysis {"connection_id":128978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:50:42] local.INFO: Extracted packet for processing {"connection_id":128978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":128978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:50:42] local.INFO: GPS data processed {"connection_id":128978,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:50:42] local.INFO: Acknowledgment sent {"connection_id":128978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:51:05] local.INFO: TCP Data received {"connection_id":128260,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:51:05] local.INFO: Processing buffer {"connection_id":128260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:51:05] local.INFO: IMEI packet received {"connection_id":128260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":128260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:51:10] local.INFO: TCP Data received {"connection_id":128260,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:51:10] local.INFO: Processing buffer {"connection_id":128260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:51:10] local.INFO: IMEI packet received {"connection_id":128260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":128260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:51:11] local.INFO: TCP Data received {"connection_id":128260,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:51:11] local.INFO: Processing buffer {"connection_id":128260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:51:11] local.INFO: Packet analysis {"connection_id":128260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:51:11] local.INFO: Extracted packet for processing {"connection_id":128260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:51:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":128260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:51:11] local.INFO: GPS data processed {"connection_id":128260,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:51:11] local.INFO: Acknowledgment sent {"connection_id":128260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:51:43] local.INFO: TCP Data received {"connection_id":128260,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:51:43] local.INFO: Processing buffer {"connection_id":128260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:51:43] local.INFO: Packet analysis {"connection_id":128260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:51:43] local.INFO: Extracted packet for processing {"connection_id":128260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:51:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:51:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:51:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:51:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":128260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:51:43] local.INFO: GPS data processed {"connection_id":128260,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:51:43] local.INFO: Acknowledgment sent {"connection_id":128260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:52:06] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:52:06] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:52:06] local.INFO: IMEI packet received {"connection_id":130216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":130216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:52:10] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:52:10] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:52:10] local.INFO: IMEI packet received {"connection_id":130216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":130216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:52:11] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:52:11] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:52:11] local.INFO: Packet analysis {"connection_id":130216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:52:11] local.INFO: Extracted packet for processing {"connection_id":130216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:52:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:52:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":130216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:52:11] local.INFO: GPS data processed {"connection_id":130216,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:52:11] local.INFO: Acknowledgment sent {"connection_id":130216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:52:42] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:52:42] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:52:42] local.INFO: Packet analysis {"connection_id":130216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:52:42] local.INFO: Extracted packet for processing {"connection_id":130216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:52:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":130216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:52:42] local.INFO: GPS data processed {"connection_id":130216,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:52:42] local.INFO: Acknowledgment sent {"connection_id":130216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:53:05] local.INFO: TCP Data received {"connection_id":128979,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:53:05] local.INFO: Processing buffer {"connection_id":128979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:53:05] local.INFO: IMEI packet received {"connection_id":128979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":128979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:53:10] local.INFO: TCP Data received {"connection_id":128979,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:53:10] local.INFO: Processing buffer {"connection_id":128979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:53:10] local.INFO: IMEI packet received {"connection_id":128979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":128979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:53:11] local.INFO: TCP Data received {"connection_id":128979,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:53:11] local.INFO: Processing buffer {"connection_id":128979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:53:11] local.INFO: Packet analysis {"connection_id":128979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:53:11] local.INFO: Extracted packet for processing {"connection_id":128979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:53:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":128979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:53:11] local.INFO: GPS data processed {"connection_id":128979,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:53:11] local.INFO: Acknowledgment sent {"connection_id":128979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:53:42] local.INFO: TCP Data received {"connection_id":128979,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:53:42] local.INFO: Processing buffer {"connection_id":128979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e1c2c28012cb29ac007823b28004700db29..."} 
[2026-07-11 03:53:42] local.INFO: Packet analysis {"connection_id":128979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:53:42] local.INFO: Extracted packet for processing {"connection_id":128979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e1c"} 
[2026-07-11 03:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632728576001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783721897000,"timestamp_ms":1783721897000,"timestamp_seconds":1783721897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e1c2c28"} 
[2026-07-11 03:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632728576001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632728576001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:53:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632728576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":128979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:53:42] local.INFO: GPS data processed {"connection_id":128979,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:53:42] local.INFO: Acknowledgment sent {"connection_id":128979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:54:05] local.INFO: TCP Data received {"connection_id":128261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:54:05] local.INFO: Processing buffer {"connection_id":128261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:54:05] local.INFO: IMEI packet received {"connection_id":128261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":128261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:54:10] local.INFO: TCP Data received {"connection_id":128261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:54:10] local.INFO: Processing buffer {"connection_id":128261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:54:10] local.INFO: IMEI packet received {"connection_id":128261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":128261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:54:11] local.INFO: TCP Data received {"connection_id":128261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:54:11] local.INFO: Processing buffer {"connection_id":128261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:54:11] local.INFO: Packet analysis {"connection_id":128261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:54:11] local.INFO: Extracted packet for processing {"connection_id":128261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:54:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:54:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":128261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:54:11] local.INFO: GPS data processed {"connection_id":128261,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:54:11] local.INFO: Acknowledgment sent {"connection_id":128261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:54:42] local.INFO: TCP Data received {"connection_id":128261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:54:42] local.INFO: Processing buffer {"connection_id":128261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:54:42] local.INFO: Packet analysis {"connection_id":128261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:54:42] local.INFO: Extracted packet for processing {"connection_id":128261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:54:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:54:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":128261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:54:42] local.INFO: GPS data processed {"connection_id":128261,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:54:42] local.INFO: Acknowledgment sent {"connection_id":128261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:55:05] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:55:05] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:55:05] local.INFO: IMEI packet received {"connection_id":130218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":130218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:55:10] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:55:10] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:55:10] local.INFO: IMEI packet received {"connection_id":130218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":130218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:55:11] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:55:11] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:55:11] local.INFO: Packet analysis {"connection_id":130218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:55:11] local.INFO: Extracted packet for processing {"connection_id":130218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":130218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:55:11] local.INFO: GPS data processed {"connection_id":130218,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:55:11] local.INFO: Acknowledgment sent {"connection_id":130218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:55:26] local.INFO: TCP Data received {"connection_id":128980,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:55:26] local.INFO: Processing buffer {"connection_id":128980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:55:26] local.INFO: IMEI packet received {"connection_id":128980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":128980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:55:42] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:55:42] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:55:42] local.INFO: Packet analysis {"connection_id":130218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:55:42] local.INFO: Extracted packet for processing {"connection_id":130218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":130218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:55:42] local.INFO: GPS data processed {"connection_id":130218,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:55:42] local.INFO: Acknowledgment sent {"connection_id":130218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:55:52] local.INFO: TCP Data received {"connection_id":128073,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:55:52] local.INFO: Processing buffer {"connection_id":128073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 03:55:52] local.INFO: IMEI packet received {"connection_id":128073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 03:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":128073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:56:05] local.INFO: TCP Data received {"connection_id":128262,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:56:05] local.INFO: Processing buffer {"connection_id":128262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:56:05] local.INFO: IMEI packet received {"connection_id":128262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":128262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:56:10] local.INFO: TCP Data received {"connection_id":128262,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:56:10] local.INFO: Processing buffer {"connection_id":128262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:56:10] local.INFO: IMEI packet received {"connection_id":128262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":128262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:56:11] local.INFO: TCP Data received {"connection_id":128262,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:56:11] local.INFO: Processing buffer {"connection_id":128262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:56:11] local.INFO: Packet analysis {"connection_id":128262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:56:11] local.INFO: Extracted packet for processing {"connection_id":128262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:56:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:56:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":128262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:56:11] local.INFO: GPS data processed {"connection_id":128262,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:56:11] local.INFO: Acknowledgment sent {"connection_id":128262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:56:42] local.INFO: TCP Data received {"connection_id":128262,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:56:42] local.INFO: Processing buffer {"connection_id":128262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:56:42] local.INFO: Packet analysis {"connection_id":128262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:56:42] local.INFO: Extracted packet for processing {"connection_id":128262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:56:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":128262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:56:42] local.INFO: GPS data processed {"connection_id":128262,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:56:42] local.INFO: Acknowledgment sent {"connection_id":128262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:57:06] local.INFO: TCP Data received {"connection_id":128075,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:57:06] local.INFO: Processing buffer {"connection_id":128075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:57:06] local.INFO: IMEI packet received {"connection_id":128075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":128075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:57:10] local.INFO: TCP Data received {"connection_id":128075,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:57:10] local.INFO: Processing buffer {"connection_id":128075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:57:10] local.INFO: IMEI packet received {"connection_id":128075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":128075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:57:11] local.INFO: TCP Data received {"connection_id":128075,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:57:11] local.INFO: Processing buffer {"connection_id":128075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:57:11] local.INFO: Packet analysis {"connection_id":128075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:57:11] local.INFO: Extracted packet for processing {"connection_id":128075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":128075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:57:11] local.INFO: GPS data processed {"connection_id":128075,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:57:11] local.INFO: Acknowledgment sent {"connection_id":128075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:57:42] local.INFO: TCP Data received {"connection_id":128075,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:57:42] local.INFO: Processing buffer {"connection_id":128075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:57:42] local.INFO: Packet analysis {"connection_id":128075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:57:42] local.INFO: Extracted packet for processing {"connection_id":128075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":128075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:57:42] local.INFO: GPS data processed {"connection_id":128075,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:57:42] local.INFO: Acknowledgment sent {"connection_id":128075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:58:05] local.INFO: TCP Data received {"connection_id":128981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:58:05] local.INFO: Processing buffer {"connection_id":128981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:58:05] local.INFO: IMEI packet received {"connection_id":128981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:58:10] local.INFO: TCP Data received {"connection_id":128981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:58:10] local.INFO: Processing buffer {"connection_id":128981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:58:10] local.INFO: IMEI packet received {"connection_id":128981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:58:11] local.INFO: TCP Data received {"connection_id":128981,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:58:11] local.INFO: Processing buffer {"connection_id":128981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:58:11] local.INFO: Packet analysis {"connection_id":128981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:58:11] local.INFO: Extracted packet for processing {"connection_id":128981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":128981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:58:11] local.INFO: GPS data processed {"connection_id":128981,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:58:11] local.INFO: Acknowledgment sent {"connection_id":128981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:58:42] local.INFO: TCP Data received {"connection_id":128981,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:58:42] local.INFO: Processing buffer {"connection_id":128981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e20c3f0012cb29ac007823b28004700db28..."} 
[2026-07-11 03:58:42] local.INFO: Packet analysis {"connection_id":128981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:58:42] local.INFO: Extracted packet for processing {"connection_id":128981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e20"} 
[2026-07-11 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632805632001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722198000,"timestamp_ms":1783722198000,"timestamp_seconds":1783722198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e20c3f0"} 
[2026-07-11 03:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632805632001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632805632001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:58:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632805632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":128981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:58:42] local.INFO: GPS data processed {"connection_id":128981,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:58:42] local.INFO: Acknowledgment sent {"connection_id":128981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:59:05] local.INFO: TCP Data received {"connection_id":128264,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:59:05] local.INFO: Processing buffer {"connection_id":128264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:59:05] local.INFO: IMEI packet received {"connection_id":128264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 03:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":128264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 03:59:10] local.INFO: TCP Data received {"connection_id":128264,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:59:10] local.INFO: Processing buffer {"connection_id":128264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 03:59:10] local.INFO: IMEI packet received {"connection_id":128264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 03:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":128264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 03:59:11] local.INFO: TCP Data received {"connection_id":128264,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 03:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 03:59:11] local.INFO: Processing buffer {"connection_id":128264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 03:59:11] local.INFO: Packet analysis {"connection_id":128264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 03:59:11] local.INFO: Extracted packet for processing {"connection_id":128264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 03:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 03:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:59:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":128264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:59:11] local.INFO: GPS data processed {"connection_id":128264,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:59:11] local.INFO: Acknowledgment sent {"connection_id":128264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 03:59:42] local.INFO: TCP Data received {"connection_id":128264,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 03:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 03:59:42] local.INFO: Processing buffer {"connection_id":128264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 03:59:42] local.INFO: Packet analysis {"connection_id":128264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 03:59:42] local.INFO: Extracted packet for processing {"connection_id":128264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 03:59:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 03:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 03:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 03:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 03:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 03:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 03:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 03:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 03:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 03:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 03:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 03:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 03:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 03:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 03:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 03:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 03:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 03:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 03:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 03:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 03:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 03:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 03:59:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 03:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 03:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 03:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 03:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 03:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":128264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 03:59:42] local.INFO: GPS data processed {"connection_id":128264,"processed":1,"errors":0,"total":1} 
[2026-07-11 03:59:42] local.INFO: Acknowledgment sent {"connection_id":128264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:00:05] local.INFO: TCP Data received {"connection_id":130219,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:00:05] local.INFO: Processing buffer {"connection_id":130219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:00:05] local.INFO: IMEI packet received {"connection_id":130219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":130219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:00:10] local.INFO: TCP Data received {"connection_id":130219,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:00:10] local.INFO: Processing buffer {"connection_id":130219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:00:10] local.INFO: IMEI packet received {"connection_id":130219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":130219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:00:11] local.INFO: TCP Data received {"connection_id":130219,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:00:11] local.INFO: Processing buffer {"connection_id":130219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:00:11] local.INFO: Packet analysis {"connection_id":130219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:00:11] local.INFO: Extracted packet for processing {"connection_id":130219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:00:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 04:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:00:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":130219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:00:11] local.INFO: GPS data processed {"connection_id":130219,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:00:11] local.INFO: Acknowledgment sent {"connection_id":130219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:00:42] local.INFO: TCP Data received {"connection_id":130219,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:00:42] local.INFO: Processing buffer {"connection_id":130219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:00:42] local.INFO: Packet analysis {"connection_id":130219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:00:42] local.INFO: Extracted packet for processing {"connection_id":130219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 04:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:00:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":130219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:00:42] local.INFO: GPS data processed {"connection_id":130219,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:00:42] local.INFO: Acknowledgment sent {"connection_id":130219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:01:05] local.INFO: TCP Data received {"connection_id":128982,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:01:05] local.INFO: Processing buffer {"connection_id":128982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:01:05] local.INFO: IMEI packet received {"connection_id":128982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":128982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:01:10] local.INFO: TCP Data received {"connection_id":128982,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:01:10] local.INFO: Processing buffer {"connection_id":128982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:01:10] local.INFO: IMEI packet received {"connection_id":128982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":128982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:01:11] local.INFO: TCP Data received {"connection_id":128982,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:01:11] local.INFO: Processing buffer {"connection_id":128982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:01:11] local.INFO: Packet analysis {"connection_id":128982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:01:11] local.INFO: Extracted packet for processing {"connection_id":128982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 04:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":128982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:01:11] local.INFO: GPS data processed {"connection_id":128982,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:01:11] local.INFO: Acknowledgment sent {"connection_id":128982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:01:17] local.INFO: TCP Data received {"connection_id":128266,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:01:17] local.INFO: Processing buffer {"connection_id":128266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:01:17] local.INFO: IMEI packet received {"connection_id":128266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":128266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:01:42] local.INFO: TCP Data received {"connection_id":128982,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:01:42] local.INFO: Processing buffer {"connection_id":128982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:01:42] local.INFO: Packet analysis {"connection_id":128982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:01:42] local.INFO: Extracted packet for processing {"connection_id":128982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 04:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":128982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:01:43] local.INFO: GPS data processed {"connection_id":128982,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:01:43] local.INFO: Acknowledgment sent {"connection_id":128982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:01:50] local.INFO: TCP Data received {"connection_id":128077,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:01:50] local.INFO: Processing buffer {"connection_id":128077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:01:50] local.INFO: IMEI packet received {"connection_id":128077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":128077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:02:06] local.INFO: TCP Data received {"connection_id":130220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:02:06] local.INFO: Processing buffer {"connection_id":130220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:02:06] local.INFO: IMEI packet received {"connection_id":130220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":130220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:02:10] local.INFO: TCP Data received {"connection_id":130220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:02:10] local.INFO: Processing buffer {"connection_id":130220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:02:10] local.INFO: IMEI packet received {"connection_id":130220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":130220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:02:11] local.INFO: TCP Data received {"connection_id":130220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:02:11] local.INFO: Processing buffer {"connection_id":130220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:02:11] local.INFO: Packet analysis {"connection_id":130220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:02:11] local.INFO: Extracted packet for processing {"connection_id":130220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 04:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04: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-07-11 04: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-07-11 04:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":130220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:02:11] local.INFO: GPS data processed {"connection_id":130220,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:02:11] local.INFO: Acknowledgment sent {"connection_id":130220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:02:42] local.INFO: TCP Data received {"connection_id":130220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:02:42] local.INFO: Processing buffer {"connection_id":130220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:02:42] local.INFO: Packet analysis {"connection_id":130220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:02:42] local.INFO: Extracted packet for processing {"connection_id":130220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 04:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:02:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":130220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:02:42] local.INFO: GPS data processed {"connection_id":130220,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:02:42] local.INFO: Acknowledgment sent {"connection_id":130220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:03:05] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:03:05] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:03:05] local.INFO: IMEI packet received {"connection_id":128079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:03:10] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:03:10] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:03:10] local.INFO: IMEI packet received {"connection_id":128079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":128079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:03:11] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:03:11] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:03:11] local.INFO: Packet analysis {"connection_id":128079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:03:11] local.INFO: Extracted packet for processing {"connection_id":128079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 04:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:03:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":128079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:03:11] local.INFO: GPS data processed {"connection_id":128079,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:03:11] local.INFO: Acknowledgment sent {"connection_id":128079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:03:41] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:03:41] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e255bb8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:03:41] local.INFO: Packet analysis {"connection_id":128079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:03:41] local.INFO: Extracted packet for processing {"connection_id":128079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e25"} 
[2026-07-11 04:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632882688001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783722499000,"timestamp_ms":1783722499000,"timestamp_seconds":1783722499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e255bb8"} 
[2026-07-11 04:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632882688001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632882688001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:03:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632882688001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":128079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:03:42] local.INFO: GPS data processed {"connection_id":128079,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:03:42] local.INFO: Acknowledgment sent {"connection_id":128079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:04:05] local.INFO: TCP Data received {"connection_id":128984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:04:05] local.INFO: Processing buffer {"connection_id":128984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:04:05] local.INFO: IMEI packet received {"connection_id":128984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:04:10] local.INFO: TCP Data received {"connection_id":128984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:04:10] local.INFO: Processing buffer {"connection_id":128984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:04:10] local.INFO: IMEI packet received {"connection_id":128984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":128984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:04:11] local.INFO: TCP Data received {"connection_id":128984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:04:11] local.INFO: Processing buffer {"connection_id":128984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:04:11] local.INFO: Packet analysis {"connection_id":128984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:04:11] local.INFO: Extracted packet for processing {"connection_id":128984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:04:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":128984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:04:11] local.INFO: GPS data processed {"connection_id":128984,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:04:11] local.INFO: Acknowledgment sent {"connection_id":128984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:04:42] local.INFO: TCP Data received {"connection_id":128984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:04:42] local.INFO: Processing buffer {"connection_id":128984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:04:42] local.INFO: Packet analysis {"connection_id":128984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:04:42] local.INFO: Extracted packet for processing {"connection_id":128984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:04:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:04:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":128984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:04:42] local.INFO: GPS data processed {"connection_id":128984,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:04:42] local.INFO: Acknowledgment sent {"connection_id":128984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:05:06] local.INFO: TCP Data received {"connection_id":128985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:05:06] local.INFO: Processing buffer {"connection_id":128985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:05:06] local.INFO: IMEI packet received {"connection_id":128985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":128985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:05:10] local.INFO: TCP Data received {"connection_id":128985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:05:10] local.INFO: Processing buffer {"connection_id":128985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:05:10] local.INFO: IMEI packet received {"connection_id":128985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":128985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:05:11] local.INFO: TCP Data received {"connection_id":128985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:05:11] local.INFO: Processing buffer {"connection_id":128985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:05:11] local.INFO: Packet analysis {"connection_id":128985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:05:11] local.INFO: Extracted packet for processing {"connection_id":128985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":128985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:05:11] local.INFO: GPS data processed {"connection_id":128985,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:05:11] local.INFO: Acknowledgment sent {"connection_id":128985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:05:16] local.INFO: TCP Data received {"connection_id":128985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:05:16] local.INFO: Processing buffer {"connection_id":128985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:05:16] local.INFO: Packet analysis {"connection_id":128985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:05:16] local.INFO: Extracted packet for processing {"connection_id":128985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:05:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:05:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:05:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:05:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":128985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:05:16] local.INFO: GPS data processed {"connection_id":128985,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:05:16] local.INFO: Acknowledgment sent {"connection_id":128985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:05:47] local.INFO: TCP Data received {"connection_id":128985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:05:47] local.INFO: Processing buffer {"connection_id":128985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:05:47] local.INFO: Packet analysis {"connection_id":128985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:05:47] local.INFO: Extracted packet for processing {"connection_id":128985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:05:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:05:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:05:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:05:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":128985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:05:47] local.INFO: GPS data processed {"connection_id":128985,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:05:47] local.INFO: Acknowledgment sent {"connection_id":128985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:06:05] local.INFO: TCP Data received {"connection_id":128986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:06:05] local.INFO: Processing buffer {"connection_id":128986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:06:05] local.INFO: IMEI packet received {"connection_id":128986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":128986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:06:10] local.INFO: TCP Data received {"connection_id":128986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:06:10] local.INFO: Processing buffer {"connection_id":128986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:06:10] local.INFO: IMEI packet received {"connection_id":128986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":128986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:06:11] local.INFO: TCP Data received {"connection_id":128986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:06:11] local.INFO: Processing buffer {"connection_id":128986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:06:11] local.INFO: Packet analysis {"connection_id":128986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:06:11] local.INFO: Extracted packet for processing {"connection_id":128986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:06:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":128986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:06:11] local.INFO: GPS data processed {"connection_id":128986,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:06:11] local.INFO: Acknowledgment sent {"connection_id":128986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:06:41] local.INFO: TCP Data received {"connection_id":128986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:06:41] local.INFO: Processing buffer {"connection_id":128986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:06:41] local.INFO: Packet analysis {"connection_id":128986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:06:41] local.INFO: Extracted packet for processing {"connection_id":128986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04: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-07-11 04:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:06:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":128986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:06:41] local.INFO: GPS data processed {"connection_id":128986,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:06:41] local.INFO: Acknowledgment sent {"connection_id":128986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:07:02] local.INFO: TCP Data received {"connection_id":128987,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-11 04:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128987,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-11 04:07:02] local.INFO: Processing buffer {"connection_id":128987,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-11 04:07:02] local.INFO: Packet analysis {"connection_id":128987,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-11 04:07:02] local.INFO: Extracted packet for processing {"connection_id":128987,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-11 04:07:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 04:07:02] 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-07-11 04:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-11 04:07:02] 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-07-11 04:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-11 04:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-11 04:07:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128987,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-11 04:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128987,"device_imei":null,"avl_records_count":1} 
[2026-07-11 04:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128987,"device_imei":null,"avl_records_count":1} 
[2026-07-11 04:07:02] 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-07-11 04:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":128987,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 04:07:02] local.INFO: GPS data processed {"connection_id":128987,"processed":0,"errors":0,"total":1} 
[2026-07-11 04:07:02] local.INFO: Acknowledgment sent {"connection_id":128987,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:07:02] local.INFO: TCP Data received {"connection_id":128080,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-11 04:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128080,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-11 04:07:02] local.INFO: Processing buffer {"connection_id":128080,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-11 04:07:02] local.INFO: Packet analysis {"connection_id":128080,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-11 04:07:02] local.INFO: Extracted packet for processing {"connection_id":128080,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-11 04:07:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 04:07:02] 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-07-11 04:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-11 04:07:02] 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-07-11 04:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-11 04:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-11 04:07:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128080,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-11 04:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128080,"device_imei":null,"avl_records_count":1} 
[2026-07-11 04:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128080,"device_imei":null,"avl_records_count":1} 
[2026-07-11 04:07:02] 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-07-11 04:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":128080,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 04:07:02] local.INFO: GPS data processed {"connection_id":128080,"processed":0,"errors":0,"total":1} 
[2026-07-11 04:07:02] local.INFO: Acknowledgment sent {"connection_id":128080,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:07:05] local.INFO: TCP Data received {"connection_id":128268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:07:05] local.INFO: Processing buffer {"connection_id":128268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:07:05] local.INFO: IMEI packet received {"connection_id":128268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":128268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:07:10] local.INFO: TCP Data received {"connection_id":128268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:07:10] local.INFO: Processing buffer {"connection_id":128268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:07:10] local.INFO: IMEI packet received {"connection_id":128268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":128268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:07:11] local.INFO: TCP Data received {"connection_id":128268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:07:11] local.INFO: Processing buffer {"connection_id":128268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:07:11] local.INFO: Packet analysis {"connection_id":128268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:07:11] local.INFO: Extracted packet for processing {"connection_id":128268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":128268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:07:11] local.INFO: GPS data processed {"connection_id":128268,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:07:11] local.INFO: Acknowledgment sent {"connection_id":128268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:07:22] local.INFO: TCP Data received {"connection_id":130222,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:07:22] local.INFO: Processing buffer {"connection_id":130222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:07:22] local.INFO: IMEI packet received {"connection_id":130222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":130222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:07:42] local.INFO: TCP Data received {"connection_id":128268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:07:42] local.INFO: Processing buffer {"connection_id":128268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:07:42] local.INFO: Packet analysis {"connection_id":128268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:07:42] local.INFO: Extracted packet for processing {"connection_id":128268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":128268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:07:42] local.INFO: GPS data processed {"connection_id":128268,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:07:42] local.INFO: Acknowledgment sent {"connection_id":128268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:07:46] local.INFO: TCP Data received {"connection_id":128081,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:07:46] local.INFO: Processing buffer {"connection_id":128081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:07:46] local.INFO: IMEI packet received {"connection_id":128081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":128081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:08:05] local.INFO: TCP Data received {"connection_id":128082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:08:05] local.INFO: Processing buffer {"connection_id":128082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:08:05] local.INFO: IMEI packet received {"connection_id":128082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":128082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:08:10] local.INFO: TCP Data received {"connection_id":128082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:08:10] local.INFO: Processing buffer {"connection_id":128082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:08:10] local.INFO: IMEI packet received {"connection_id":128082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":128082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:08:11] local.INFO: TCP Data received {"connection_id":128082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:08:11] local.INFO: Processing buffer {"connection_id":128082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:08:11] local.INFO: Packet analysis {"connection_id":128082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:08:11] local.INFO: Extracted packet for processing {"connection_id":128082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:08:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":128082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:08:11] local.INFO: GPS data processed {"connection_id":128082,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:08:11] local.INFO: Acknowledgment sent {"connection_id":128082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:08:42] local.INFO: TCP Data received {"connection_id":128082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:08:42] local.INFO: Processing buffer {"connection_id":128082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e29f380012cb29ac007823b28004700db24..."} 
[2026-07-11 04:08:42] local.INFO: Packet analysis {"connection_id":128082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:08:42] local.INFO: Extracted packet for processing {"connection_id":128082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e29"} 
[2026-07-11 04:08:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456632959744001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783722800000,"timestamp_ms":1783722800000,"timestamp_seconds":1783722800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e29f380"} 
[2026-07-11 04:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456632959744001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456632959744001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:08:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456632959744001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":128082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:08:42] local.INFO: GPS data processed {"connection_id":128082,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:08:42] local.INFO: Acknowledgment sent {"connection_id":128082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:09:06] local.INFO: TCP Data received {"connection_id":128988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:09:06] local.INFO: Processing buffer {"connection_id":128988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:09:06] local.INFO: IMEI packet received {"connection_id":128988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":128988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:09:10] local.INFO: TCP Data received {"connection_id":128988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:09:10] local.INFO: Processing buffer {"connection_id":128988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:09:10] local.INFO: IMEI packet received {"connection_id":128988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":128988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:09:11] local.INFO: TCP Data received {"connection_id":128988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:09:11] local.INFO: Processing buffer {"connection_id":128988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:09:11] local.INFO: Packet analysis {"connection_id":128988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:09:11] local.INFO: Extracted packet for processing {"connection_id":128988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":128988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:09:11] local.INFO: GPS data processed {"connection_id":128988,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:09:11] local.INFO: Acknowledgment sent {"connection_id":128988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:09:42] local.INFO: TCP Data received {"connection_id":128988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:09:42] local.INFO: Processing buffer {"connection_id":128988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:09:42] local.INFO: Packet analysis {"connection_id":128988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:09:42] local.INFO: Extracted packet for processing {"connection_id":128988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:09:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":128988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:09:42] local.INFO: GPS data processed {"connection_id":128988,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:09:42] local.INFO: Acknowledgment sent {"connection_id":128988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:10:05] local.INFO: TCP Data received {"connection_id":128989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:10:05] local.INFO: Processing buffer {"connection_id":128989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:10:05] local.INFO: IMEI packet received {"connection_id":128989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":128989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:10:10] local.INFO: TCP Data received {"connection_id":128989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:10:10] local.INFO: Processing buffer {"connection_id":128989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:10:10] local.INFO: IMEI packet received {"connection_id":128989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":128989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:10:11] local.INFO: TCP Data received {"connection_id":128989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:10:11] local.INFO: Processing buffer {"connection_id":128989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:10:11] local.INFO: Packet analysis {"connection_id":128989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:10:11] local.INFO: Extracted packet for processing {"connection_id":128989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":128989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:10:11] local.INFO: GPS data processed {"connection_id":128989,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:10:11] local.INFO: Acknowledgment sent {"connection_id":128989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:10:42] local.INFO: TCP Data received {"connection_id":128989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:10:42] local.INFO: Processing buffer {"connection_id":128989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:10:42] local.INFO: Packet analysis {"connection_id":128989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:10:42] local.INFO: Extracted packet for processing {"connection_id":128989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":128989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:10:42] local.INFO: GPS data processed {"connection_id":128989,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:10:42] local.INFO: Acknowledgment sent {"connection_id":128989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:11:10] local.INFO: TCP Data received {"connection_id":128269,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:11:10] local.INFO: Processing buffer {"connection_id":128269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:11:10] local.INFO: IMEI packet received {"connection_id":128269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":128269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:11:15] local.INFO: TCP Data received {"connection_id":128269,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:11:15] local.INFO: Processing buffer {"connection_id":128269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:11:15] local.INFO: IMEI packet received {"connection_id":128269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":128269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:11:16] local.INFO: TCP Data received {"connection_id":128269,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:11:16] local.INFO: Processing buffer {"connection_id":128269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:11:16] local.INFO: Packet analysis {"connection_id":128269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:11:16] local.INFO: Extracted packet for processing {"connection_id":128269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:11:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:11:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:11:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:11:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":128269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:11:16] local.INFO: GPS data processed {"connection_id":128269,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:11:16] local.INFO: Acknowledgment sent {"connection_id":128269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:11:21] local.INFO: TCP Data received {"connection_id":128269,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:11:21] local.INFO: Processing buffer {"connection_id":128269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:11:21] local.INFO: Packet analysis {"connection_id":128269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:11:21] local.INFO: Extracted packet for processing {"connection_id":128269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:11:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:11:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":128269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:11:21] local.INFO: GPS data processed {"connection_id":128269,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:11:21] local.INFO: Acknowledgment sent {"connection_id":128269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:12:05] local.INFO: TCP Data received {"connection_id":130226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:12:05] local.INFO: Processing buffer {"connection_id":130226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:12:05] local.INFO: IMEI packet received {"connection_id":130226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":130226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:12:10] local.INFO: TCP Data received {"connection_id":130226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:12:10] local.INFO: Processing buffer {"connection_id":130226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:12:10] local.INFO: IMEI packet received {"connection_id":130226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":130226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:12:11] local.INFO: TCP Data received {"connection_id":130226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:12:11] local.INFO: Processing buffer {"connection_id":130226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:12:11] local.INFO: Packet analysis {"connection_id":130226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:12:11] local.INFO: Extracted packet for processing {"connection_id":130226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:12:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:12:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":130226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:12:11] local.INFO: GPS data processed {"connection_id":130226,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:12:11] local.INFO: Acknowledgment sent {"connection_id":130226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:12:42] local.INFO: TCP Data received {"connection_id":130226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:12:42] local.INFO: Processing buffer {"connection_id":130226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:12:42] local.INFO: Packet analysis {"connection_id":130226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:12:42] local.INFO: Extracted packet for processing {"connection_id":130226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:12:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:12:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":130226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:12:42] local.INFO: GPS data processed {"connection_id":130226,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:12:42] local.INFO: Acknowledgment sent {"connection_id":130226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:13:05] local.INFO: TCP Data received {"connection_id":128270,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:13:05] local.INFO: Processing buffer {"connection_id":128270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:13:05] local.INFO: IMEI packet received {"connection_id":128270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":128270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:13:10] local.INFO: TCP Data received {"connection_id":128270,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:13:10] local.INFO: Processing buffer {"connection_id":128270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:13:10] local.INFO: IMEI packet received {"connection_id":128270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":128270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:13:11] local.INFO: TCP Data received {"connection_id":128270,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:13:11] local.INFO: Processing buffer {"connection_id":128270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:13:11] local.INFO: Packet analysis {"connection_id":128270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:13:11] local.INFO: Extracted packet for processing {"connection_id":128270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":128270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:13:11] local.INFO: GPS data processed {"connection_id":128270,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:13:11] local.INFO: Acknowledgment sent {"connection_id":128270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:13:12] local.INFO: TCP Data received {"connection_id":128990,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:13:12] local.INFO: Processing buffer {"connection_id":128990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:13:12] local.INFO: IMEI packet received {"connection_id":128990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":128990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:13:42] local.INFO: TCP Data received {"connection_id":128270,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:13:42] local.INFO: Processing buffer {"connection_id":128270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e2e8b48012cb29ac007823b28004700db27..."} 
[2026-07-11 04:13:42] local.INFO: Packet analysis {"connection_id":128270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:13:42] local.INFO: Extracted packet for processing {"connection_id":128270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e2e"} 
[2026-07-11 04:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633036800001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723101000,"timestamp_ms":1783723101000,"timestamp_seconds":1783723101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e2e8b48"} 
[2026-07-11 04:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633036800001,"66":24810,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633036800001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633036800001,"power":24810,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":128270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:13:42] local.INFO: GPS data processed {"connection_id":128270,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:13:42] local.INFO: Acknowledgment sent {"connection_id":128270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:13:52] local.INFO: TCP Data received {"connection_id":128084,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:13:52] local.INFO: Processing buffer {"connection_id":128084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:13:52] local.INFO: IMEI packet received {"connection_id":128084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":128084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:14:05] local.INFO: TCP Data received {"connection_id":130227,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:14:05] local.INFO: Processing buffer {"connection_id":130227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:14:05] local.INFO: IMEI packet received {"connection_id":130227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":130227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:14:10] local.INFO: TCP Data received {"connection_id":130227,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:14:10] local.INFO: Processing buffer {"connection_id":130227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:14:10] local.INFO: IMEI packet received {"connection_id":130227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":130227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:14:11] local.INFO: TCP Data received {"connection_id":130227,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:14:11] local.INFO: Processing buffer {"connection_id":130227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:14:11] local.INFO: Packet analysis {"connection_id":130227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:14:11] local.INFO: Extracted packet for processing {"connection_id":130227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:14:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:14:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":130227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:14:11] local.INFO: GPS data processed {"connection_id":130227,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:14:11] local.INFO: Acknowledgment sent {"connection_id":130227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:14:42] local.INFO: TCP Data received {"connection_id":130227,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:14:42] local.INFO: Processing buffer {"connection_id":130227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:14:42] local.INFO: Packet analysis {"connection_id":130227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:14:42] local.INFO: Extracted packet for processing {"connection_id":130227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:14:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:14:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":130227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:14:42] local.INFO: GPS data processed {"connection_id":130227,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:14:42] local.INFO: Acknowledgment sent {"connection_id":130227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:15:05] local.INFO: TCP Data received {"connection_id":128085,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:15:05] local.INFO: Processing buffer {"connection_id":128085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:15:05] local.INFO: IMEI packet received {"connection_id":128085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":128085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:15:10] local.INFO: TCP Data received {"connection_id":128085,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:15:10] local.INFO: Processing buffer {"connection_id":128085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:15:10] local.INFO: IMEI packet received {"connection_id":128085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":128085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:15:11] local.INFO: TCP Data received {"connection_id":128085,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:15:11] local.INFO: Processing buffer {"connection_id":128085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:15:11] local.INFO: Packet analysis {"connection_id":128085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:15:11] local.INFO: Extracted packet for processing {"connection_id":128085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:15:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":128085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:15:11] local.INFO: GPS data processed {"connection_id":128085,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:15:11] local.INFO: Acknowledgment sent {"connection_id":128085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:15:42] local.INFO: TCP Data received {"connection_id":128085,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:15:42] local.INFO: Processing buffer {"connection_id":128085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:15:42] local.INFO: Packet analysis {"connection_id":128085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:15:42] local.INFO: Extracted packet for processing {"connection_id":128085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:15:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":128085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:15:42] local.INFO: GPS data processed {"connection_id":128085,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:15:42] local.INFO: Acknowledgment sent {"connection_id":128085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:16:10] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:16:10] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:16:10] local.INFO: IMEI packet received {"connection_id":128272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":128272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:16:15] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:16:15] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:16:15] local.INFO: IMEI packet received {"connection_id":128272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":128272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:16:16] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:16:16] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:16:16] local.INFO: Packet analysis {"connection_id":128272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:16:16] local.INFO: Extracted packet for processing {"connection_id":128272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:16:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:16:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:16:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:16:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":128272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:16:16] local.INFO: GPS data processed {"connection_id":128272,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:16:16] local.INFO: Acknowledgment sent {"connection_id":128272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:16:21] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:16:21] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:16:21] local.INFO: Packet analysis {"connection_id":128272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:16:21] local.INFO: Extracted packet for processing {"connection_id":128272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":128272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:16:21] local.INFO: GPS data processed {"connection_id":128272,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:16:21] local.INFO: Acknowledgment sent {"connection_id":128272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:17:05] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:17:05] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:17:05] local.INFO: IMEI packet received {"connection_id":130229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":130229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:17:10] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:17:10] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:17:10] local.INFO: IMEI packet received {"connection_id":130229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":130229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:17:11] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:17:11] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:17:11] local.INFO: Packet analysis {"connection_id":130229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:17:11] local.INFO: Extracted packet for processing {"connection_id":130229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":130229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:17:11] local.INFO: GPS data processed {"connection_id":130229,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:17:11] local.INFO: Acknowledgment sent {"connection_id":130229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:17:42] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:17:42] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:17:42] local.INFO: Packet analysis {"connection_id":130229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:17:42] local.INFO: Extracted packet for processing {"connection_id":130229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":130229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:17:42] local.INFO: GPS data processed {"connection_id":130229,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:17:42] local.INFO: Acknowledgment sent {"connection_id":130229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:18:05] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:18:05] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:18:05] local.INFO: IMEI packet received {"connection_id":128087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":128087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:18:10] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:18:10] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:18:10] local.INFO: IMEI packet received {"connection_id":128087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":128087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:18:11] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:18:11] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:18:11] local.INFO: Packet analysis {"connection_id":128087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:18:11] local.INFO: Extracted packet for processing {"connection_id":128087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":128087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:18:11] local.INFO: GPS data processed {"connection_id":128087,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:18:11] local.INFO: Acknowledgment sent {"connection_id":128087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:18:42] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:18:42] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e332310012cb29ac007823b28004700db28..."} 
[2026-07-11 04:18:42] local.INFO: Packet analysis {"connection_id":128087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:18:42] local.INFO: Extracted packet for processing {"connection_id":128087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e33"} 
[2026-07-11 04:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633113856001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723402000,"timestamp_ms":1783723402000,"timestamp_seconds":1783723402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e332310"} 
[2026-07-11 04:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 04:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633113856001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633113856001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:18:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633113856001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":128087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:18:42] local.INFO: GPS data processed {"connection_id":128087,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:18:42] local.INFO: Acknowledgment sent {"connection_id":128087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:19:05] local.INFO: TCP Data received {"connection_id":128993,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:19:05] local.INFO: Processing buffer {"connection_id":128993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:19:05] local.INFO: IMEI packet received {"connection_id":128993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":128993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:19:10] local.INFO: TCP Data received {"connection_id":128993,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:19:10] local.INFO: Processing buffer {"connection_id":128993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:19:10] local.INFO: IMEI packet received {"connection_id":128993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":128993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:19:11] local.INFO: TCP Data received {"connection_id":128993,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:19:11] local.INFO: Processing buffer {"connection_id":128993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:19:11] local.INFO: Packet analysis {"connection_id":128993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:19:11] local.INFO: Extracted packet for processing {"connection_id":128993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:19:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":128993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:19:11] local.INFO: GPS data processed {"connection_id":128993,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:19:11] local.INFO: Acknowledgment sent {"connection_id":128993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:19:42] local.INFO: TCP Data received {"connection_id":128993,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:19:42] local.INFO: Processing buffer {"connection_id":128993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:19:42] local.INFO: Packet analysis {"connection_id":128993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:19:42] local.INFO: Extracted packet for processing {"connection_id":128993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":128993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:19:42] local.INFO: GPS data processed {"connection_id":128993,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:19:42] local.INFO: Acknowledgment sent {"connection_id":128993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:19:47] local.INFO: TCP Data received {"connection_id":128273,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:19:47] local.INFO: Processing buffer {"connection_id":128273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:19:47] local.INFO: IMEI packet received {"connection_id":128273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":128273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:20:05] local.INFO: TCP Data received {"connection_id":130230,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:20:05] local.INFO: Processing buffer {"connection_id":130230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:20:05] local.INFO: IMEI packet received {"connection_id":130230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":130230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:20:10] local.INFO: TCP Data received {"connection_id":130230,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:20:10] local.INFO: Processing buffer {"connection_id":130230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:20:10] local.INFO: IMEI packet received {"connection_id":130230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":130230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:20:11] local.INFO: TCP Data received {"connection_id":130230,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:20:11] local.INFO: Processing buffer {"connection_id":130230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:20:11] local.INFO: Packet analysis {"connection_id":130230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:20:11] local.INFO: Extracted packet for processing {"connection_id":130230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:20:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:20:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":130230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:20:11] local.INFO: GPS data processed {"connection_id":130230,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:20:11] local.INFO: Acknowledgment sent {"connection_id":130230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:20:42] local.INFO: TCP Data received {"connection_id":130230,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:20:42] local.INFO: Processing buffer {"connection_id":130230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:20:42] local.INFO: Packet analysis {"connection_id":130230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:20:42] local.INFO: Extracted packet for processing {"connection_id":130230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:20:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:20:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":130230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:20:42] local.INFO: GPS data processed {"connection_id":130230,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:20:42] local.INFO: Acknowledgment sent {"connection_id":130230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:21:10] local.INFO: TCP Data received {"connection_id":128275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:21:10] local.INFO: Processing buffer {"connection_id":128275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:21:10] local.INFO: IMEI packet received {"connection_id":128275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":128275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:21:15] local.INFO: TCP Data received {"connection_id":128275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:21:15] local.INFO: Processing buffer {"connection_id":128275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:21:15] local.INFO: IMEI packet received {"connection_id":128275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":128275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:21:16] local.INFO: TCP Data received {"connection_id":128275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:21:16] local.INFO: Processing buffer {"connection_id":128275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:21:16] local.INFO: Packet analysis {"connection_id":128275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:21:16] local.INFO: Extracted packet for processing {"connection_id":128275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:21:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:21:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:21:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:21:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:21:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":128275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:21:16] local.INFO: GPS data processed {"connection_id":128275,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:21:16] local.INFO: Acknowledgment sent {"connection_id":128275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:21:21] local.INFO: TCP Data received {"connection_id":128275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:21:21] local.INFO: Processing buffer {"connection_id":128275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:21:21] local.INFO: Packet analysis {"connection_id":128275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:21:21] local.INFO: Extracted packet for processing {"connection_id":128275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:21:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":128275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:21:21] local.INFO: GPS data processed {"connection_id":128275,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:21:21] local.INFO: Acknowledgment sent {"connection_id":128275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:22:05] local.INFO: TCP Data received {"connection_id":128088,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:22:05] local.INFO: Processing buffer {"connection_id":128088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:22:05] local.INFO: IMEI packet received {"connection_id":128088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":128088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:22:10] local.INFO: TCP Data received {"connection_id":128088,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:22:10] local.INFO: Processing buffer {"connection_id":128088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:22:10] local.INFO: IMEI packet received {"connection_id":128088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":128088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:22:11] local.INFO: TCP Data received {"connection_id":128088,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:22:11] local.INFO: Processing buffer {"connection_id":128088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:22:11] local.INFO: Packet analysis {"connection_id":128088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:22:11] local.INFO: Extracted packet for processing {"connection_id":128088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":128088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:22:11] local.INFO: GPS data processed {"connection_id":128088,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:22:11] local.INFO: Acknowledgment sent {"connection_id":128088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:22:44] local.INFO: TCP Data received {"connection_id":128088,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:22:44] local.INFO: Processing buffer {"connection_id":128088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:22:44] local.INFO: Packet analysis {"connection_id":128088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:22:44] local.INFO: Extracted packet for processing {"connection_id":128088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:22:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:22:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:22:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:22:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":128088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:22:44] local.INFO: GPS data processed {"connection_id":128088,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:22:44] local.INFO: Acknowledgment sent {"connection_id":128088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:23:05] local.INFO: TCP Data received {"connection_id":128277,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:23:05] local.INFO: Processing buffer {"connection_id":128277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:23:05] local.INFO: IMEI packet received {"connection_id":128277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":128277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:23:10] local.INFO: TCP Data received {"connection_id":128277,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:23:10] local.INFO: Processing buffer {"connection_id":128277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:23:10] local.INFO: IMEI packet received {"connection_id":128277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":128277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:23:11] local.INFO: TCP Data received {"connection_id":128277,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:23:11] local.INFO: Processing buffer {"connection_id":128277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:23:11] local.INFO: Packet analysis {"connection_id":128277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:23:11] local.INFO: Extracted packet for processing {"connection_id":128277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":128277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:23:11] local.INFO: GPS data processed {"connection_id":128277,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:23:11] local.INFO: Acknowledgment sent {"connection_id":128277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:23:42] local.INFO: TCP Data received {"connection_id":128277,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:23:42] local.INFO: Processing buffer {"connection_id":128277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e37bad8012cb29ac007823b28004700db2a..."} 
[2026-07-11 04:23:42] local.INFO: Packet analysis {"connection_id":128277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:23:42] local.INFO: Extracted packet for processing {"connection_id":128277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e37"} 
[2026-07-11 04:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783723703000,"timestamp_ms":1783723703000,"timestamp_seconds":1783723703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e37bad8"} 
[2026-07-11 04:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 04:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633190912001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633190912001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":128277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:23:42] local.INFO: GPS data processed {"connection_id":128277,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:23:42] local.INFO: Acknowledgment sent {"connection_id":128277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:24:06] local.INFO: TCP Data received {"connection_id":128090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:24:06] local.INFO: Processing buffer {"connection_id":128090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:24:06] local.INFO: IMEI packet received {"connection_id":128090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":128090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:24:10] local.INFO: TCP Data received {"connection_id":128090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:24:10] local.INFO: Processing buffer {"connection_id":128090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:24:10] local.INFO: IMEI packet received {"connection_id":128090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":128090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:24:11] local.INFO: TCP Data received {"connection_id":128090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:24:11] local.INFO: Processing buffer {"connection_id":128090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:24:11] local.INFO: Packet analysis {"connection_id":128090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:24:11] local.INFO: Extracted packet for processing {"connection_id":128090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:24:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:24:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":128090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:24:11] local.INFO: GPS data processed {"connection_id":128090,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:24:11] local.INFO: Acknowledgment sent {"connection_id":128090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:24:42] local.INFO: TCP Data received {"connection_id":128090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:24:42] local.INFO: Processing buffer {"connection_id":128090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:24:42] local.INFO: Packet analysis {"connection_id":128090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:24:42] local.INFO: Extracted packet for processing {"connection_id":128090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:24:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":128090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:24:42] local.INFO: GPS data processed {"connection_id":128090,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:24:42] local.INFO: Acknowledgment sent {"connection_id":128090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:25:05] local.INFO: TCP Data received {"connection_id":128279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:25:05] local.INFO: Processing buffer {"connection_id":128279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:25:05] local.INFO: IMEI packet received {"connection_id":128279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":128279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:25:11] local.INFO: TCP Data received {"connection_id":128279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:25:11] local.INFO: Processing buffer {"connection_id":128279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:25:11] local.INFO: IMEI packet received {"connection_id":128279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":128279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:25:12] local.INFO: TCP Data received {"connection_id":128279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:25:12] local.INFO: Processing buffer {"connection_id":128279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:25:12] local.INFO: Packet analysis {"connection_id":128279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:25:12] local.INFO: Extracted packet for processing {"connection_id":128279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:25:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":128279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:25:12] local.INFO: GPS data processed {"connection_id":128279,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:25:12] local.INFO: Acknowledgment sent {"connection_id":128279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:25:17] local.INFO: TCP Data received {"connection_id":128278,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:25:17] local.INFO: Processing buffer {"connection_id":128278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:25:17] local.INFO: IMEI packet received {"connection_id":128278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":128278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:25:43] local.INFO: TCP Data received {"connection_id":128279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:25:43] local.INFO: Processing buffer {"connection_id":128279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:25:43] local.INFO: Packet analysis {"connection_id":128279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:25:43] local.INFO: Extracted packet for processing {"connection_id":128279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":128279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:25:43] local.INFO: GPS data processed {"connection_id":128279,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:25:43] local.INFO: Acknowledgment sent {"connection_id":128279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:25:46] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:25:46] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:25:46] local.INFO: IMEI packet received {"connection_id":130231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":130231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:26:10] local.INFO: TCP Data received {"connection_id":128091,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:26:10] local.INFO: Processing buffer {"connection_id":128091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:26:10] local.INFO: IMEI packet received {"connection_id":128091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":128091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:26:15] local.INFO: TCP Data received {"connection_id":128091,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:26:15] local.INFO: Processing buffer {"connection_id":128091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:26:15] local.INFO: IMEI packet received {"connection_id":128091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":128091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:26:16] local.INFO: TCP Data received {"connection_id":128091,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:26:16] local.INFO: Processing buffer {"connection_id":128091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:26:16] local.INFO: Packet analysis {"connection_id":128091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:26:16] local.INFO: Extracted packet for processing {"connection_id":128091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:26:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:26:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:26:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":128091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:26:16] local.INFO: GPS data processed {"connection_id":128091,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:26:16] local.INFO: Acknowledgment sent {"connection_id":128091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:26:21] local.INFO: TCP Data received {"connection_id":128091,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:26:21] local.INFO: Processing buffer {"connection_id":128091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:26:21] local.INFO: Packet analysis {"connection_id":128091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:26:21] local.INFO: Extracted packet for processing {"connection_id":128091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":128091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:26:21] local.INFO: GPS data processed {"connection_id":128091,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:26:21] local.INFO: Acknowledgment sent {"connection_id":128091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:27:05] local.INFO: TCP Data received {"connection_id":128995,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:27:05] local.INFO: Processing buffer {"connection_id":128995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:27:05] local.INFO: IMEI packet received {"connection_id":128995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":128995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:27:10] local.INFO: TCP Data received {"connection_id":128995,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:27:10] local.INFO: Processing buffer {"connection_id":128995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:27:10] local.INFO: IMEI packet received {"connection_id":128995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":128995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:27:11] local.INFO: TCP Data received {"connection_id":128995,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:27:11] local.INFO: Processing buffer {"connection_id":128995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:27:11] local.INFO: Packet analysis {"connection_id":128995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:27:11] local.INFO: Extracted packet for processing {"connection_id":128995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":128995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:27:11] local.INFO: GPS data processed {"connection_id":128995,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:27:11] local.INFO: Acknowledgment sent {"connection_id":128995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:27:42] local.INFO: TCP Data received {"connection_id":128995,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:27:42] local.INFO: Processing buffer {"connection_id":128995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:27:42] local.INFO: Packet analysis {"connection_id":128995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:27:42] local.INFO: Extracted packet for processing {"connection_id":128995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":128995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:27:42] local.INFO: GPS data processed {"connection_id":128995,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:27:42] local.INFO: Acknowledgment sent {"connection_id":128995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:28:05] local.INFO: TCP Data received {"connection_id":128280,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:28:05] local.INFO: Processing buffer {"connection_id":128280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:28:05] local.INFO: IMEI packet received {"connection_id":128280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":128280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:28:10] local.INFO: TCP Data received {"connection_id":128280,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:28:10] local.INFO: Processing buffer {"connection_id":128280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:28:10] local.INFO: IMEI packet received {"connection_id":128280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":128280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:28:11] local.INFO: TCP Data received {"connection_id":128280,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:28:11] local.INFO: Processing buffer {"connection_id":128280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:28:11] local.INFO: Packet analysis {"connection_id":128280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:28:11] local.INFO: Extracted packet for processing {"connection_id":128280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":128280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:28:11] local.INFO: GPS data processed {"connection_id":128280,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:28:11] local.INFO: Acknowledgment sent {"connection_id":128280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:28:42] local.INFO: TCP Data received {"connection_id":128280,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:28:42] local.INFO: Processing buffer {"connection_id":128280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e3c52a0012cb29ac007823b28004700db28..."} 
[2026-07-11 04:28:42] local.INFO: Packet analysis {"connection_id":128280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:28:42] local.INFO: Extracted packet for processing {"connection_id":128280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e3c"} 
[2026-07-11 04:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633267968001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724004000,"timestamp_ms":1783724004000,"timestamp_seconds":1783724004,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e3c52a0"} 
[2026-07-11 04:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633267968001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633267968001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:28:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633267968001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":128280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:28:42] local.INFO: GPS data processed {"connection_id":128280,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:28:42] local.INFO: Acknowledgment sent {"connection_id":128280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:29:03] local.INFO: TCP Data received {"connection_id":128094,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:29:03] local.INFO: Processing buffer {"connection_id":128094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:29:03] local.INFO: IMEI packet received {"connection_id":128094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":128094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:29:05] local.INFO: TCP Data received {"connection_id":128094,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:29:05] local.INFO: Processing buffer {"connection_id":128094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:29:05] local.INFO: IMEI packet received {"connection_id":128094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":128094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:29:10] local.INFO: TCP Data received {"connection_id":128094,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:29:10] local.INFO: Processing buffer {"connection_id":128094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:29:10] local.INFO: IMEI packet received {"connection_id":128094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":128094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:29:11] local.INFO: TCP Data received {"connection_id":128094,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:29:11] local.INFO: Processing buffer {"connection_id":128094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:29:11] local.INFO: Packet analysis {"connection_id":128094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:29:11] local.INFO: Extracted packet for processing {"connection_id":128094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":128094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:29:11] local.INFO: GPS data processed {"connection_id":128094,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:29:11] local.INFO: Acknowledgment sent {"connection_id":128094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:29:42] local.INFO: TCP Data received {"connection_id":128094,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:29:42] local.INFO: Processing buffer {"connection_id":128094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:29:42] local.INFO: Packet analysis {"connection_id":128094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:29:42] local.INFO: Extracted packet for processing {"connection_id":128094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":128094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:29:42] local.INFO: GPS data processed {"connection_id":128094,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:29:42] local.INFO: Acknowledgment sent {"connection_id":128094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:30:05] local.INFO: TCP Data received {"connection_id":130233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:30:05] local.INFO: Processing buffer {"connection_id":130233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:30:05] local.INFO: IMEI packet received {"connection_id":130233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":130233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:30:10] local.INFO: TCP Data received {"connection_id":130233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:30:10] local.INFO: Processing buffer {"connection_id":130233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:30:10] local.INFO: IMEI packet received {"connection_id":130233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":130233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:30:11] local.INFO: TCP Data received {"connection_id":130233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:30:11] local.INFO: Processing buffer {"connection_id":130233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:30:11] local.INFO: Packet analysis {"connection_id":130233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:30:11] local.INFO: Extracted packet for processing {"connection_id":130233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":130233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:30:11] local.INFO: GPS data processed {"connection_id":130233,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:30:11] local.INFO: Acknowledgment sent {"connection_id":130233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:30:41] local.INFO: TCP Data received {"connection_id":130233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:30:41] local.INFO: Processing buffer {"connection_id":130233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:30:41] local.INFO: Packet analysis {"connection_id":130233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:30:41] local.INFO: Extracted packet for processing {"connection_id":130233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:30:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":130233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:30:41] local.INFO: GPS data processed {"connection_id":130233,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:30:41] local.INFO: Acknowledgment sent {"connection_id":130233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:31:10] local.INFO: TCP Data received {"connection_id":128095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:31:10] local.INFO: Processing buffer {"connection_id":128095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:31:10] local.INFO: IMEI packet received {"connection_id":128095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":128095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:31:15] local.INFO: TCP Data received {"connection_id":128095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:31:15] local.INFO: Processing buffer {"connection_id":128095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:31:15] local.INFO: IMEI packet received {"connection_id":128095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":128095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:31:16] local.INFO: TCP Data received {"connection_id":128095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:31:16] local.INFO: Processing buffer {"connection_id":128095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:31:16] local.INFO: Packet analysis {"connection_id":128095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:31:16] local.INFO: Extracted packet for processing {"connection_id":128095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:31:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:31:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":128095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:31:16] local.INFO: GPS data processed {"connection_id":128095,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:31:16] local.INFO: Acknowledgment sent {"connection_id":128095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:31:20] local.INFO: TCP Data received {"connection_id":128095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:31:20] local.INFO: Processing buffer {"connection_id":128095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:31:20] local.INFO: Packet analysis {"connection_id":128095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:31:20] local.INFO: Extracted packet for processing {"connection_id":128095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:31:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":128095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:31:20] local.INFO: GPS data processed {"connection_id":128095,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:31:20] local.INFO: Acknowledgment sent {"connection_id":128095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:31:46] local.INFO: TCP Data received {"connection_id":128997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:31:46] local.INFO: Processing buffer {"connection_id":128997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:31:46] local.INFO: IMEI packet received {"connection_id":128997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":128997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:32:05] local.INFO: TCP Data received {"connection_id":128998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:32:05] local.INFO: Processing buffer {"connection_id":128998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:32:05] local.INFO: IMEI packet received {"connection_id":128998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":128998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:32:10] local.INFO: TCP Data received {"connection_id":128998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:32:10] local.INFO: Processing buffer {"connection_id":128998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:32:10] local.INFO: IMEI packet received {"connection_id":128998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":128998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:32:11] local.INFO: TCP Data received {"connection_id":128998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:32:11] local.INFO: Processing buffer {"connection_id":128998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:32:11] local.INFO: Packet analysis {"connection_id":128998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:32:11] local.INFO: Extracted packet for processing {"connection_id":128998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:32:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:32:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":128998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:32:11] local.INFO: GPS data processed {"connection_id":128998,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:32:11] local.INFO: Acknowledgment sent {"connection_id":128998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:32:41] local.INFO: TCP Data received {"connection_id":128998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:32:41] local.INFO: Processing buffer {"connection_id":128998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:32:41] local.INFO: Packet analysis {"connection_id":128998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:32:41] local.INFO: Extracted packet for processing {"connection_id":128998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:32:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":128998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:32:41] local.INFO: GPS data processed {"connection_id":128998,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:32:41] local.INFO: Acknowledgment sent {"connection_id":128998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:33:05] local.INFO: TCP Data received {"connection_id":128281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:33:05] local.INFO: Processing buffer {"connection_id":128281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:33:05] local.INFO: IMEI packet received {"connection_id":128281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":128281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:33:10] local.INFO: TCP Data received {"connection_id":128281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:33:10] local.INFO: Processing buffer {"connection_id":128281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:33:10] local.INFO: IMEI packet received {"connection_id":128281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":128281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:33:11] local.INFO: TCP Data received {"connection_id":128281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:33:11] local.INFO: Processing buffer {"connection_id":128281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:33:11] local.INFO: Packet analysis {"connection_id":128281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:33:11] local.INFO: Extracted packet for processing {"connection_id":128281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":128281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:33:11] local.INFO: GPS data processed {"connection_id":128281,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:33:11] local.INFO: Acknowledgment sent {"connection_id":128281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:33:42] local.INFO: TCP Data received {"connection_id":128281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:33:42] local.INFO: Processing buffer {"connection_id":128281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e40ea68012cb29ac007823b28004700db28..."} 
[2026-07-11 04:33:42] local.INFO: Packet analysis {"connection_id":128281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:33:42] local.INFO: Extracted packet for processing {"connection_id":128281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e40"} 
[2026-07-11 04:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633345024001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724305000,"timestamp_ms":1783724305000,"timestamp_seconds":1783724305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e40ea68"} 
[2026-07-11 04:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633345024001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633345024001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633345024001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":128281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:33:42] local.INFO: GPS data processed {"connection_id":128281,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:33:42] local.INFO: Acknowledgment sent {"connection_id":128281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:34:04] local.INFO: TCP Data received {"connection_id":128096,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:34:04] local.INFO: Processing buffer {"connection_id":128096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:34:04] local.INFO: IMEI packet received {"connection_id":128096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":128096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:34:05] local.INFO: TCP Data received {"connection_id":128096,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:34:05] local.INFO: Processing buffer {"connection_id":128096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:34:05] local.INFO: IMEI packet received {"connection_id":128096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":128096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:34:10] local.INFO: TCP Data received {"connection_id":128096,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:34:10] local.INFO: Processing buffer {"connection_id":128096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:34:10] local.INFO: IMEI packet received {"connection_id":128096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":128096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:34:11] local.INFO: TCP Data received {"connection_id":128096,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:34:11] local.INFO: Processing buffer {"connection_id":128096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:34:11] local.INFO: Packet analysis {"connection_id":128096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:34:11] local.INFO: Extracted packet for processing {"connection_id":128096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:34:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":128096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:34:11] local.INFO: GPS data processed {"connection_id":128096,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:34:11] local.INFO: Acknowledgment sent {"connection_id":128096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:34:42] local.INFO: TCP Data received {"connection_id":128096,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:34:42] local.INFO: Processing buffer {"connection_id":128096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:34:42] local.INFO: Packet analysis {"connection_id":128096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:34:42] local.INFO: Extracted packet for processing {"connection_id":128096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":128096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:34:42] local.INFO: GPS data processed {"connection_id":128096,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:34:42] local.INFO: Acknowledgment sent {"connection_id":128096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:35:05] local.INFO: TCP Data received {"connection_id":130239,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:35:05] local.INFO: Processing buffer {"connection_id":130239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:35:05] local.INFO: IMEI packet received {"connection_id":130239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":130239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:35:10] local.INFO: TCP Data received {"connection_id":130239,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:35:10] local.INFO: Processing buffer {"connection_id":130239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:35:10] local.INFO: IMEI packet received {"connection_id":130239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":130239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:35:11] local.INFO: TCP Data received {"connection_id":130239,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:35:11] local.INFO: Processing buffer {"connection_id":130239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:35:11] local.INFO: Packet analysis {"connection_id":130239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:35:11] local.INFO: Extracted packet for processing {"connection_id":130239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:35:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:35:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":130239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:35:11] local.INFO: GPS data processed {"connection_id":130239,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:35:11] local.INFO: Acknowledgment sent {"connection_id":130239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:35:42] local.INFO: TCP Data received {"connection_id":130239,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:35:42] local.INFO: Processing buffer {"connection_id":130239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:35:42] local.INFO: Packet analysis {"connection_id":130239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:35:42] local.INFO: Extracted packet for processing {"connection_id":130239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:35:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:35:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":130239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:35:42] local.INFO: GPS data processed {"connection_id":130239,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:35:42] local.INFO: Acknowledgment sent {"connection_id":130239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:36:10] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:36:10] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:36:10] local.INFO: IMEI packet received {"connection_id":130240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":130240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:36:15] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:36:15] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:36:15] local.INFO: IMEI packet received {"connection_id":130240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":130240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:36:16] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:36:16] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:36:16] local.INFO: Packet analysis {"connection_id":130240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:36:16] local.INFO: Extracted packet for processing {"connection_id":130240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:36:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:36:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:36:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:36:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":130240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:36:16] local.INFO: GPS data processed {"connection_id":130240,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:36:16] local.INFO: Acknowledgment sent {"connection_id":130240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:36:21] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:36:21] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:36:21] local.INFO: Packet analysis {"connection_id":130240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:36:21] local.INFO: Extracted packet for processing {"connection_id":130240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":130240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:36:21] local.INFO: GPS data processed {"connection_id":130240,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:36:21] local.INFO: Acknowledgment sent {"connection_id":130240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:37:05] local.INFO: TCP Data received {"connection_id":129001,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:37:05] local.INFO: Processing buffer {"connection_id":129001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:37:05] local.INFO: IMEI packet received {"connection_id":129001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":129001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:37:10] local.INFO: TCP Data received {"connection_id":129001,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:37:10] local.INFO: Processing buffer {"connection_id":129001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:37:10] local.INFO: IMEI packet received {"connection_id":129001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":129001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:37:11] local.INFO: TCP Data received {"connection_id":129001,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:37:11] local.INFO: Processing buffer {"connection_id":129001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:37:11] local.INFO: Packet analysis {"connection_id":129001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:37:11] local.INFO: Extracted packet for processing {"connection_id":129001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:37:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":129001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:37:11] local.INFO: GPS data processed {"connection_id":129001,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:37:11] local.INFO: Acknowledgment sent {"connection_id":129001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:37:26] local.INFO: TCP Data received {"connection_id":128097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:37:26] local.INFO: Processing buffer {"connection_id":128097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:37:26] local.INFO: IMEI packet received {"connection_id":128097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":128097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:37:42] local.INFO: TCP Data received {"connection_id":129001,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:37:42] local.INFO: Processing buffer {"connection_id":129001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:37:42] local.INFO: Packet analysis {"connection_id":129001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:37:42] local.INFO: Extracted packet for processing {"connection_id":129001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":129001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:37:42] local.INFO: GPS data processed {"connection_id":129001,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:37:42] local.INFO: Acknowledgment sent {"connection_id":129001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:37:46] local.INFO: TCP Data received {"connection_id":130241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:37:46] local.INFO: Processing buffer {"connection_id":130241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:37:46] local.INFO: IMEI packet received {"connection_id":130241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":130241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:38:05] local.INFO: TCP Data received {"connection_id":128282,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:38:05] local.INFO: Processing buffer {"connection_id":128282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:38:05] local.INFO: IMEI packet received {"connection_id":128282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:38:10] local.INFO: TCP Data received {"connection_id":128282,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:38:10] local.INFO: Processing buffer {"connection_id":128282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:38:10] local.INFO: IMEI packet received {"connection_id":128282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":128282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:38:11] local.INFO: TCP Data received {"connection_id":128282,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:38:11] local.INFO: Processing buffer {"connection_id":128282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:38:11] local.INFO: Packet analysis {"connection_id":128282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:38:11] local.INFO: Extracted packet for processing {"connection_id":128282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":128282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:38:11] local.INFO: GPS data processed {"connection_id":128282,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:38:11] local.INFO: Acknowledgment sent {"connection_id":128282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:38:42] local.INFO: TCP Data received {"connection_id":128282,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:38:42] local.INFO: Processing buffer {"connection_id":128282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e458230012cb29ac007823b28004700db29..."} 
[2026-07-11 04:38:42] local.INFO: Packet analysis {"connection_id":128282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:38:42] local.INFO: Extracted packet for processing {"connection_id":128282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e45"} 
[2026-07-11 04:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724606000,"timestamp_ms":1783724606000,"timestamp_seconds":1783724606,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e458230"} 
[2026-07-11 04:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633422080001,"66":25299,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:38:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633422080001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":128282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:38:42] local.INFO: GPS data processed {"connection_id":128282,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:38:42] local.INFO: Acknowledgment sent {"connection_id":128282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:39:05] local.INFO: TCP Data received {"connection_id":129003,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:39:05] local.INFO: Processing buffer {"connection_id":129003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:39:05] local.INFO: IMEI packet received {"connection_id":129003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":129003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:39:06] local.INFO: TCP Data received {"connection_id":129003,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:39:06] local.INFO: Processing buffer {"connection_id":129003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:39:06] local.INFO: IMEI packet received {"connection_id":129003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":129003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:39:10] local.INFO: TCP Data received {"connection_id":129003,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:39:10] local.INFO: Processing buffer {"connection_id":129003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:39:10] local.INFO: IMEI packet received {"connection_id":129003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":129003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:39:11] local.INFO: TCP Data received {"connection_id":129003,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:39:11] local.INFO: Processing buffer {"connection_id":129003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:39:11] local.INFO: Packet analysis {"connection_id":129003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:39:11] local.INFO: Extracted packet for processing {"connection_id":129003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:39:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:39:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":129003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:39:11] local.INFO: GPS data processed {"connection_id":129003,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:39:11] local.INFO: Acknowledgment sent {"connection_id":129003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:39:42] local.INFO: TCP Data received {"connection_id":129003,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:39:42] local.INFO: Processing buffer {"connection_id":129003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:39:42] local.INFO: Packet analysis {"connection_id":129003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:39:42] local.INFO: Extracted packet for processing {"connection_id":129003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:39:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:39:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":129003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:39:42] local.INFO: GPS data processed {"connection_id":129003,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:39:42] local.INFO: Acknowledgment sent {"connection_id":129003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:40:05] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:40:05] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:40:05] local.INFO: IMEI packet received {"connection_id":130243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":130243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:40:10] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:40:10] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:40:10] local.INFO: IMEI packet received {"connection_id":130243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":130243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:40:11] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:40:11] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:40:11] local.INFO: Packet analysis {"connection_id":130243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:40:11] local.INFO: Extracted packet for processing {"connection_id":130243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:40:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":130243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:40:11] local.INFO: GPS data processed {"connection_id":130243,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:40:11] local.INFO: Acknowledgment sent {"connection_id":130243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:40:42] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:40:42] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:40:42] local.INFO: Packet analysis {"connection_id":130243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:40:42] local.INFO: Extracted packet for processing {"connection_id":130243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":130243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:40:42] local.INFO: GPS data processed {"connection_id":130243,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:40:42] local.INFO: Acknowledgment sent {"connection_id":130243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:41:10] local.INFO: TCP Data received {"connection_id":130244,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:41:10] local.INFO: Processing buffer {"connection_id":130244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:41:10] local.INFO: IMEI packet received {"connection_id":130244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":130244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:41:15] local.INFO: TCP Data received {"connection_id":130244,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:41:15] local.INFO: Processing buffer {"connection_id":130244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:41:15] local.INFO: IMEI packet received {"connection_id":130244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":130244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:41:16] local.INFO: TCP Data received {"connection_id":130244,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:41:16] local.INFO: Processing buffer {"connection_id":130244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:41:16] local.INFO: Packet analysis {"connection_id":130244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:41:16] local.INFO: Extracted packet for processing {"connection_id":130244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:41:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:41:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:41:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:41:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:41:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":130244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:41:16] local.INFO: GPS data processed {"connection_id":130244,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:41:16] local.INFO: Acknowledgment sent {"connection_id":130244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:41:21] local.INFO: TCP Data received {"connection_id":130244,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:41:21] local.INFO: Processing buffer {"connection_id":130244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:41:21] local.INFO: Packet analysis {"connection_id":130244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:41:21] local.INFO: Extracted packet for processing {"connection_id":130244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04: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-07-11 04:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:41:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":130244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:41:21] local.INFO: GPS data processed {"connection_id":130244,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:41:21] local.INFO: Acknowledgment sent {"connection_id":130244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:42:05] local.INFO: TCP Data received {"connection_id":128284,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:42:05] local.INFO: Processing buffer {"connection_id":128284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:42:05] local.INFO: IMEI packet received {"connection_id":128284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":128284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:42:10] local.INFO: TCP Data received {"connection_id":128284,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:42:10] local.INFO: Processing buffer {"connection_id":128284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:42:10] local.INFO: IMEI packet received {"connection_id":128284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":128284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:42:11] local.INFO: TCP Data received {"connection_id":128284,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:42:11] local.INFO: Processing buffer {"connection_id":128284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:42:11] local.INFO: Packet analysis {"connection_id":128284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:42:11] local.INFO: Extracted packet for processing {"connection_id":128284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":128284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:42:11] local.INFO: GPS data processed {"connection_id":128284,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:42:11] local.INFO: Acknowledgment sent {"connection_id":128284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:42:42] local.INFO: TCP Data received {"connection_id":128284,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:42:42] local.INFO: Processing buffer {"connection_id":128284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:42:42] local.INFO: Packet analysis {"connection_id":128284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:42:42] local.INFO: Extracted packet for processing {"connection_id":128284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":128284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:42:42] local.INFO: GPS data processed {"connection_id":128284,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:42:42] local.INFO: Acknowledgment sent {"connection_id":128284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:43:05] local.INFO: TCP Data received {"connection_id":128099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:43:05] local.INFO: Processing buffer {"connection_id":128099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:43:05] local.INFO: IMEI packet received {"connection_id":128099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":128099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:43:10] local.INFO: TCP Data received {"connection_id":128099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:43:10] local.INFO: Processing buffer {"connection_id":128099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:43:10] local.INFO: IMEI packet received {"connection_id":128099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":128099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:43:11] local.INFO: TCP Data received {"connection_id":128099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:43:11] local.INFO: Processing buffer {"connection_id":128099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:43:11] local.INFO: Packet analysis {"connection_id":128099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:43:11] local.INFO: Extracted packet for processing {"connection_id":128099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":128099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:43:11] local.INFO: GPS data processed {"connection_id":128099,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:43:11] local.INFO: Acknowledgment sent {"connection_id":128099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:43:11] local.INFO: TCP Data received {"connection_id":129004,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:43:11] local.INFO: Processing buffer {"connection_id":129004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:43:11] local.INFO: IMEI packet received {"connection_id":129004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":129004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:43:42] local.INFO: TCP Data received {"connection_id":128099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:43:42] local.INFO: Processing buffer {"connection_id":128099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4a19f8012cb29ac007823b28004700db28..."} 
[2026-07-11 04:43:42] local.INFO: Packet analysis {"connection_id":128099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:43:42] local.INFO: Extracted packet for processing {"connection_id":128099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4a"} 
[2026-07-11 04:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633499136001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783724907000,"timestamp_ms":1783724907000,"timestamp_seconds":1783724907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4a19f8"} 
[2026-07-11 04:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-11 04:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633499136001,"66":25147,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633499136001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:43:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633499136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":128099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:43:42] local.INFO: GPS data processed {"connection_id":128099,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:43:42] local.INFO: Acknowledgment sent {"connection_id":128099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:43:46] local.INFO: TCP Data received {"connection_id":130245,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:43:46] local.INFO: Processing buffer {"connection_id":130245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:43:46] local.INFO: IMEI packet received {"connection_id":130245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":130245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:44:05] local.INFO: TCP Data received {"connection_id":128100,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:44:05] local.INFO: Processing buffer {"connection_id":128100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:44:05] local.INFO: IMEI packet received {"connection_id":128100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":128100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:44:06] local.INFO: TCP Data received {"connection_id":128100,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:44:06] local.INFO: Processing buffer {"connection_id":128100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:44:06] local.INFO: IMEI packet received {"connection_id":128100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":128100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:44:10] local.INFO: TCP Data received {"connection_id":128100,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:44:10] local.INFO: Processing buffer {"connection_id":128100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:44:10] local.INFO: IMEI packet received {"connection_id":128100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":128100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:44:11] local.INFO: TCP Data received {"connection_id":128100,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:44:11] local.INFO: Processing buffer {"connection_id":128100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:44:11] local.INFO: Packet analysis {"connection_id":128100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:44:11] local.INFO: Extracted packet for processing {"connection_id":128100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:44:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04:44:11] 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-07-11 04:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:44:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":128100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:44:11] local.INFO: GPS data processed {"connection_id":128100,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:44:11] local.INFO: Acknowledgment sent {"connection_id":128100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:44:42] local.INFO: TCP Data received {"connection_id":128100,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:44:42] local.INFO: Processing buffer {"connection_id":128100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:44:42] local.INFO: Packet analysis {"connection_id":128100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:44:42] local.INFO: Extracted packet for processing {"connection_id":128100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:44:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04: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-07-11 04:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:44:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":128100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:44:42] local.INFO: GPS data processed {"connection_id":128100,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:44:42] local.INFO: Acknowledgment sent {"connection_id":128100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:45:05] local.INFO: TCP Data received {"connection_id":128285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:45:05] local.INFO: Processing buffer {"connection_id":128285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:45:05] local.INFO: IMEI packet received {"connection_id":128285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":128285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:45:10] local.INFO: TCP Data received {"connection_id":128285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:45:10] local.INFO: Processing buffer {"connection_id":128285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:45:10] local.INFO: IMEI packet received {"connection_id":128285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":128285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:45:11] local.INFO: TCP Data received {"connection_id":128285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:45:11] local.INFO: Processing buffer {"connection_id":128285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:45:11] local.INFO: Packet analysis {"connection_id":128285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:45:11] local.INFO: Extracted packet for processing {"connection_id":128285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04:45:11] 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-07-11 04:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":128285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:45:11] local.INFO: GPS data processed {"connection_id":128285,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:45:11] local.INFO: Acknowledgment sent {"connection_id":128285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:45:42] local.INFO: TCP Data received {"connection_id":128285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:45:42] local.INFO: Processing buffer {"connection_id":128285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:45:42] local.INFO: Packet analysis {"connection_id":128285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:45:42] local.INFO: Extracted packet for processing {"connection_id":128285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":128285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:45:42] local.INFO: GPS data processed {"connection_id":128285,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:45:42] local.INFO: Acknowledgment sent {"connection_id":128285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:46:10] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:46:10] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:46:10] local.INFO: IMEI packet received {"connection_id":128101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":128101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:46:15] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:46:15] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:46:15] local.INFO: IMEI packet received {"connection_id":128101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":128101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:46:16] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:46:16] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:46:16] local.INFO: Packet analysis {"connection_id":128101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:46:16] local.INFO: Extracted packet for processing {"connection_id":128101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:46:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:46:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04:46:16] 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-07-11 04:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:46:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:46:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:46:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":128101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:46:16] local.INFO: GPS data processed {"connection_id":128101,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:46:16] local.INFO: Acknowledgment sent {"connection_id":128101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:46:47] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:46:47] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:46:47] local.INFO: Packet analysis {"connection_id":128101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:46:47] local.INFO: Extracted packet for processing {"connection_id":128101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:46:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:46:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04:46:47] 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-07-11 04:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:46:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:46:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":128101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:46:47] local.INFO: GPS data processed {"connection_id":128101,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:46:47] local.INFO: Acknowledgment sent {"connection_id":128101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:47:05] local.INFO: TCP Data received {"connection_id":128286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:47:05] local.INFO: Processing buffer {"connection_id":128286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:47:05] local.INFO: IMEI packet received {"connection_id":128286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:47:10] local.INFO: TCP Data received {"connection_id":128286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:47:10] local.INFO: Processing buffer {"connection_id":128286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:47:10] local.INFO: IMEI packet received {"connection_id":128286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":128286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:47:11] local.INFO: TCP Data received {"connection_id":128286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:47:11] local.INFO: Processing buffer {"connection_id":128286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:47:11] local.INFO: Packet analysis {"connection_id":128286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:47:11] local.INFO: Extracted packet for processing {"connection_id":128286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04:47:11] 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-07-11 04:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":128286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:47:11] local.INFO: GPS data processed {"connection_id":128286,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:47:11] local.INFO: Acknowledgment sent {"connection_id":128286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:47:42] local.INFO: TCP Data received {"connection_id":128286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:47:42] local.INFO: Processing buffer {"connection_id":128286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:47:42] local.INFO: Packet analysis {"connection_id":128286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:47:42] local.INFO: Extracted packet for processing {"connection_id":128286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":128286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:47:42] local.INFO: GPS data processed {"connection_id":128286,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:47:42] local.INFO: Acknowledgment sent {"connection_id":128286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:48:05] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:48:05] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:48:05] local.INFO: IMEI packet received {"connection_id":130249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":130249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:48:11] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:48:11] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:48:11] local.INFO: IMEI packet received {"connection_id":130249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":130249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:48:12] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:48:12] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:48:12] local.INFO: Packet analysis {"connection_id":130249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:48:12] local.INFO: Extracted packet for processing {"connection_id":130249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04: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-07-11 04:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:48:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":130249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:48:12] local.INFO: GPS data processed {"connection_id":130249,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:48:12] local.INFO: Acknowledgment sent {"connection_id":130249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:48:43] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:48:43] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e4eb1c0012cb29ac007823b28004700db26..."} 
[2026-07-11 04:48:43] local.INFO: Packet analysis {"connection_id":130249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:48:43] local.INFO: Extracted packet for processing {"connection_id":130249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e4e"} 
[2026-07-11 04:48:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633576192001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783725208000,"timestamp_ms":1783725208000,"timestamp_seconds":1783725208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e4eb1c0"} 
[2026-07-11 04:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-11 04:48:43] 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-07-11 04:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633576192001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633576192001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:48:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633576192001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":130249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:48:43] local.INFO: GPS data processed {"connection_id":130249,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:48:43] local.INFO: Acknowledgment sent {"connection_id":130249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:49:05] local.INFO: TCP Data received {"connection_id":128287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:49:05] local.INFO: Processing buffer {"connection_id":128287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:49:05] local.INFO: IMEI packet received {"connection_id":128287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":128287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:49:07] local.INFO: TCP Data received {"connection_id":128287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:49:07] local.INFO: Processing buffer {"connection_id":128287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:49:07] local.INFO: IMEI packet received {"connection_id":128287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":128287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:49:10] local.INFO: TCP Data received {"connection_id":128287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:49:10] local.INFO: Processing buffer {"connection_id":128287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:49:10] local.INFO: IMEI packet received {"connection_id":128287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":128287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:49:11] local.INFO: TCP Data received {"connection_id":128287,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:49:11] local.INFO: Processing buffer {"connection_id":128287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:49:11] local.INFO: Packet analysis {"connection_id":128287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:49:11] local.INFO: Extracted packet for processing {"connection_id":128287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:49:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":128287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:49:11] local.INFO: GPS data processed {"connection_id":128287,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:49:11] local.INFO: Acknowledgment sent {"connection_id":128287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:49:12] local.INFO: TCP Data received {"connection_id":130250,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:49:12] local.INFO: Processing buffer {"connection_id":130250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:49:12] local.INFO: IMEI packet received {"connection_id":130250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":130250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:49:42] local.INFO: TCP Data received {"connection_id":128287,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:49:42] local.INFO: Processing buffer {"connection_id":128287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:49:42] local.INFO: Packet analysis {"connection_id":128287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:49:42] local.INFO: Extracted packet for processing {"connection_id":128287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":128287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:49:42] local.INFO: GPS data processed {"connection_id":128287,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:49:42] local.INFO: Acknowledgment sent {"connection_id":128287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:49:46] local.INFO: TCP Data received {"connection_id":128288,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:49:46] local.INFO: Processing buffer {"connection_id":128288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:49:46] local.INFO: IMEI packet received {"connection_id":128288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":128288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:50:05] local.INFO: TCP Data received {"connection_id":128103,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:50:05] local.INFO: Processing buffer {"connection_id":128103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:50:05] local.INFO: IMEI packet received {"connection_id":128103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":128103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:50:10] local.INFO: TCP Data received {"connection_id":128103,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:50:10] local.INFO: Processing buffer {"connection_id":128103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:50:10] local.INFO: IMEI packet received {"connection_id":128103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":128103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:50:11] local.INFO: TCP Data received {"connection_id":128103,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:50:11] local.INFO: Processing buffer {"connection_id":128103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:50:11] local.INFO: Packet analysis {"connection_id":128103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:50:11] local.INFO: Extracted packet for processing {"connection_id":128103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:50:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":128103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:50:11] local.INFO: GPS data processed {"connection_id":128103,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:50:11] local.INFO: Acknowledgment sent {"connection_id":128103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:50:41] local.INFO: TCP Data received {"connection_id":128103,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:50:41] local.INFO: Processing buffer {"connection_id":128103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:50:41] local.INFO: Packet analysis {"connection_id":128103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:50:41] local.INFO: Extracted packet for processing {"connection_id":128103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:50:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":128103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:50:41] local.INFO: GPS data processed {"connection_id":128103,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:50:41] local.INFO: Acknowledgment sent {"connection_id":128103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:51:10] local.INFO: TCP Data received {"connection_id":129006,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:51:10] local.INFO: Processing buffer {"connection_id":129006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:51:10] local.INFO: IMEI packet received {"connection_id":129006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":129006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:51:15] local.INFO: TCP Data received {"connection_id":129006,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:51:15] local.INFO: Processing buffer {"connection_id":129006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:51:15] local.INFO: IMEI packet received {"connection_id":129006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":129006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:51:16] local.INFO: TCP Data received {"connection_id":129006,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:51:16] local.INFO: Processing buffer {"connection_id":129006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:51:16] local.INFO: Packet analysis {"connection_id":129006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:51:16] local.INFO: Extracted packet for processing {"connection_id":129006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:51:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:51:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":129006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:51:16] local.INFO: GPS data processed {"connection_id":129006,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:51:16] local.INFO: Acknowledgment sent {"connection_id":129006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:51:21] local.INFO: TCP Data received {"connection_id":129006,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:51:21] local.INFO: Processing buffer {"connection_id":129006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:51:21] local.INFO: Packet analysis {"connection_id":129006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:51:21] local.INFO: Extracted packet for processing {"connection_id":129006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":129006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":129006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":129006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":129006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:51:21] local.INFO: GPS data processed {"connection_id":129006,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:51:21] local.INFO: Acknowledgment sent {"connection_id":129006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:52:05] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:52:05] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:52:05] local.INFO: IMEI packet received {"connection_id":130252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":130252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:52:10] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:52:10] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:52:10] local.INFO: IMEI packet received {"connection_id":130252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":130252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:52:11] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:52:11] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:52:11] local.INFO: Packet analysis {"connection_id":130252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:52:11] local.INFO: Extracted packet for processing {"connection_id":130252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:52:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:52:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":130252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:52:11] local.INFO: GPS data processed {"connection_id":130252,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:52:11] local.INFO: Acknowledgment sent {"connection_id":130252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:52:42] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:52:42] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:52:42] local.INFO: Packet analysis {"connection_id":130252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:52:42] local.INFO: Extracted packet for processing {"connection_id":130252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:52:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":130252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:52:42] local.INFO: GPS data processed {"connection_id":130252,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:52:42] local.INFO: Acknowledgment sent {"connection_id":130252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:53:05] local.INFO: TCP Data received {"connection_id":130253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:53:05] local.INFO: Processing buffer {"connection_id":130253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:53:05] local.INFO: IMEI packet received {"connection_id":130253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":130253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:53:10] local.INFO: TCP Data received {"connection_id":130253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:53:10] local.INFO: Processing buffer {"connection_id":130253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:53:10] local.INFO: IMEI packet received {"connection_id":130253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":130253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:53:11] local.INFO: TCP Data received {"connection_id":130253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:53:11] local.INFO: Processing buffer {"connection_id":130253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:53:11] local.INFO: Packet analysis {"connection_id":130253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:53:11] local.INFO: Extracted packet for processing {"connection_id":130253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:53:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":130253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:53:11] local.INFO: GPS data processed {"connection_id":130253,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:53:11] local.INFO: Acknowledgment sent {"connection_id":130253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:53:42] local.INFO: TCP Data received {"connection_id":130253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:53:42] local.INFO: Processing buffer {"connection_id":130253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e534988012cb29ac007823b28004700db27..."} 
[2026-07-11 04:53:42] local.INFO: Packet analysis {"connection_id":130253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:53:42] local.INFO: Extracted packet for processing {"connection_id":130253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e53"} 
[2026-07-11 04:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783725509000,"timestamp_ms":1783725509000,"timestamp_seconds":1783725509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e534988"} 
[2026-07-11 04:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 04:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633653248001,"66":24984,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:53:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633653248001,"power":24984,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":130253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:53:42] local.INFO: GPS data processed {"connection_id":130253,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:53:42] local.INFO: Acknowledgment sent {"connection_id":130253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:54:05] local.INFO: TCP Data received {"connection_id":129007,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:54:05] local.INFO: Processing buffer {"connection_id":129007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:54:05] local.INFO: IMEI packet received {"connection_id":129007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":129007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:54:08] local.INFO: TCP Data received {"connection_id":129007,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:54:08] local.INFO: Processing buffer {"connection_id":129007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:54:08] local.INFO: IMEI packet received {"connection_id":129007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":129007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:54:09] local.INFO: TCP Data received {"connection_id":129007,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:54:09] local.INFO: Processing buffer {"connection_id":129007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:54:09] local.INFO: Packet analysis {"connection_id":129007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:54:09] local.INFO: Extracted packet for processing {"connection_id":129007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:54:09] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04: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-07-11 04:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:54:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:54: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-07-11 04: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04: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-07-11 04:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:54:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:54:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":129007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:54:09] local.INFO: GPS data processed {"connection_id":129007,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:54:09] local.INFO: Acknowledgment sent {"connection_id":129007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:54:40] local.INFO: TCP Data received {"connection_id":129007,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:54:40] local.INFO: Processing buffer {"connection_id":129007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:54:40] local.INFO: Packet analysis {"connection_id":129007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:54:40] local.INFO: Extracted packet for processing {"connection_id":129007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:54:40] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04: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-07-11 04:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04: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-07-11 04: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04: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-07-11 04:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:54:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":129007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:54:40] local.INFO: GPS data processed {"connection_id":129007,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:54:40] local.INFO: Acknowledgment sent {"connection_id":129007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:55:05] local.INFO: TCP Data received {"connection_id":129008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:55:05] local.INFO: Processing buffer {"connection_id":129008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:55:05] local.INFO: IMEI packet received {"connection_id":129008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":129008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:55:10] local.INFO: TCP Data received {"connection_id":129008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:55:10] local.INFO: Processing buffer {"connection_id":129008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:55:10] local.INFO: IMEI packet received {"connection_id":129008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":129008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:55:11] local.INFO: TCP Data received {"connection_id":129008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:55:11] local.INFO: Processing buffer {"connection_id":129008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:55:11] local.INFO: Packet analysis {"connection_id":129008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:55:11] local.INFO: Extracted packet for processing {"connection_id":129008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":129008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:55:11] local.INFO: GPS data processed {"connection_id":129008,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:55:11] local.INFO: Acknowledgment sent {"connection_id":129008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:55:11] local.INFO: TCP Data received {"connection_id":128289,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:55:11] local.INFO: Processing buffer {"connection_id":128289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:55:11] local.INFO: IMEI packet received {"connection_id":128289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":128289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:55:42] local.INFO: TCP Data received {"connection_id":129008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:55:42] local.INFO: Processing buffer {"connection_id":129008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:55:42] local.INFO: Packet analysis {"connection_id":129008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:55:42] local.INFO: Extracted packet for processing {"connection_id":129008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":129008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:55:42] local.INFO: GPS data processed {"connection_id":129008,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:55:42] local.INFO: Acknowledgment sent {"connection_id":129008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:55:51] local.INFO: TCP Data received {"connection_id":128105,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:55:51] local.INFO: Processing buffer {"connection_id":128105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 04:55:51] local.INFO: IMEI packet received {"connection_id":128105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 04:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":128105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:56:10] local.INFO: TCP Data received {"connection_id":128290,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:56:10] local.INFO: Processing buffer {"connection_id":128290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:56:10] local.INFO: IMEI packet received {"connection_id":128290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":128290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:56:15] local.INFO: TCP Data received {"connection_id":128290,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:56:15] local.INFO: Processing buffer {"connection_id":128290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:56:15] local.INFO: IMEI packet received {"connection_id":128290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":128290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:56:16] local.INFO: TCP Data received {"connection_id":128290,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:56:16] local.INFO: Processing buffer {"connection_id":128290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:56:16] local.INFO: Packet analysis {"connection_id":128290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:56:16] local.INFO: Extracted packet for processing {"connection_id":128290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:56:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:56:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":128290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:56:16] local.INFO: GPS data processed {"connection_id":128290,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:56:16] local.INFO: Acknowledgment sent {"connection_id":128290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:56:47] local.INFO: TCP Data received {"connection_id":128290,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:56:47] local.INFO: Processing buffer {"connection_id":128290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:56:47] local.INFO: Packet analysis {"connection_id":128290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:56:47] local.INFO: Extracted packet for processing {"connection_id":128290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:56:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:56:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":128290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:56:47] local.INFO: GPS data processed {"connection_id":128290,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:56:47] local.INFO: Acknowledgment sent {"connection_id":128290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:57:05] local.INFO: TCP Data received {"connection_id":128291,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:57:05] local.INFO: Processing buffer {"connection_id":128291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:57:05] local.INFO: IMEI packet received {"connection_id":128291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":128291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:57:10] local.INFO: TCP Data received {"connection_id":128291,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:57:10] local.INFO: Processing buffer {"connection_id":128291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:57:10] local.INFO: IMEI packet received {"connection_id":128291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":128291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:57:11] local.INFO: TCP Data received {"connection_id":128291,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:57:11] local.INFO: Processing buffer {"connection_id":128291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:57:11] local.INFO: Packet analysis {"connection_id":128291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:57:11] local.INFO: Extracted packet for processing {"connection_id":128291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":128291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:57:11] local.INFO: GPS data processed {"connection_id":128291,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:57:11] local.INFO: Acknowledgment sent {"connection_id":128291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:57:42] local.INFO: TCP Data received {"connection_id":128291,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:57:42] local.INFO: Processing buffer {"connection_id":128291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:57:42] local.INFO: Packet analysis {"connection_id":128291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:57:42] local.INFO: Extracted packet for processing {"connection_id":128291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":128291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:57:42] local.INFO: GPS data processed {"connection_id":128291,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:57:42] local.INFO: Acknowledgment sent {"connection_id":128291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:58:05] local.INFO: TCP Data received {"connection_id":128106,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:58:05] local.INFO: Processing buffer {"connection_id":128106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:58:05] local.INFO: IMEI packet received {"connection_id":128106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:58:10] local.INFO: TCP Data received {"connection_id":128106,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:58:10] local.INFO: Processing buffer {"connection_id":128106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:58:10] local.INFO: IMEI packet received {"connection_id":128106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:58:10] local.INFO: TCP Data received {"connection_id":128106,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:58:10] local.INFO: Processing buffer {"connection_id":128106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:58:10] local.INFO: Packet analysis {"connection_id":128106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:58:10] local.INFO: Extracted packet for processing {"connection_id":128106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":128106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:58:11] local.INFO: GPS data processed {"connection_id":128106,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:58:11] local.INFO: Acknowledgment sent {"connection_id":128106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:58:42] local.INFO: TCP Data received {"connection_id":128106,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:58:42] local.INFO: Processing buffer {"connection_id":128106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e57e150012cb29ac007823b28004700db26..."} 
[2026-07-11 04:58:42] local.INFO: Packet analysis {"connection_id":128106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:58:42] local.INFO: Extracted packet for processing {"connection_id":128106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e57"} 
[2026-07-11 04:58:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783725810000,"timestamp_ms":1783725810000,"timestamp_seconds":1783725810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e57e150"} 
[2026-07-11 04:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 04:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633730304001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:58:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633730304001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":128106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:58:42] local.INFO: GPS data processed {"connection_id":128106,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:58:42] local.INFO: Acknowledgment sent {"connection_id":128106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:59:06] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:59:06] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:59:06] local.INFO: IMEI packet received {"connection_id":130257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 04:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":130257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 04:59:09] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:59:09] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 04:59:09] local.INFO: IMEI packet received {"connection_id":130257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 04:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":130257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 04:59:10] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 04:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 04:59:10] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 04:59:10] local.INFO: Packet analysis {"connection_id":130257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 04:59:10] local.INFO: Extracted packet for processing {"connection_id":130257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 04:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 04:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:59:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":130257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:59:10] local.INFO: GPS data processed {"connection_id":130257,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:59:10] local.INFO: Acknowledgment sent {"connection_id":130257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 04:59:41] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 04:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 04:59:41] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 04:59:41] local.INFO: Packet analysis {"connection_id":130257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 04:59:41] local.INFO: Extracted packet for processing {"connection_id":130257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 04:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 04:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 04:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 04:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 04:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 04:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 04:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 04:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 04:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 04:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 04:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 04:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 04:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 04:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 04:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 04:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 04:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 04:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 04:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 04:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 04:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 04:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 04:59:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 04:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 04:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 04:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 04:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 04:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":130257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 04:59:41] local.INFO: GPS data processed {"connection_id":130257,"processed":1,"errors":0,"total":1} 
[2026-07-11 04:59:41] local.INFO: Acknowledgment sent {"connection_id":130257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:00:10] local.INFO: TCP Data received {"connection_id":128107,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:00:10] local.INFO: Processing buffer {"connection_id":128107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:00:10] local.INFO: IMEI packet received {"connection_id":128107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":128107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:00:15] local.INFO: TCP Data received {"connection_id":128107,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:00:15] local.INFO: Processing buffer {"connection_id":128107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:00:15] local.INFO: IMEI packet received {"connection_id":128107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":128107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:00:16] local.INFO: TCP Data received {"connection_id":128107,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:00:16] local.INFO: Processing buffer {"connection_id":128107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:00:16] local.INFO: Packet analysis {"connection_id":128107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:00:16] local.INFO: Extracted packet for processing {"connection_id":128107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:00:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 05:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:00:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:00:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":128107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:00:16] local.INFO: GPS data processed {"connection_id":128107,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:00:16] local.INFO: Acknowledgment sent {"connection_id":128107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:00:21] local.INFO: TCP Data received {"connection_id":128107,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:00:21] local.INFO: Processing buffer {"connection_id":128107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:00:21] local.INFO: Packet analysis {"connection_id":128107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:00:21] local.INFO: Extracted packet for processing {"connection_id":128107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:00:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 05:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:00:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":128107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:00:21] local.INFO: GPS data processed {"connection_id":128107,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:00:21] local.INFO: Acknowledgment sent {"connection_id":128107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:01:05] local.INFO: TCP Data received {"connection_id":128294,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:01:05] local.INFO: Processing buffer {"connection_id":128294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:01:05] local.INFO: IMEI packet received {"connection_id":128294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":128294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:01:10] local.INFO: TCP Data received {"connection_id":128294,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:01:10] local.INFO: Processing buffer {"connection_id":128294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:01:10] local.INFO: IMEI packet received {"connection_id":128294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":128294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:01:11] local.INFO: TCP Data received {"connection_id":128294,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:01:11] local.INFO: Processing buffer {"connection_id":128294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:01:11] local.INFO: Packet analysis {"connection_id":128294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:01:11] local.INFO: Extracted packet for processing {"connection_id":128294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 05:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":128294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:01:11] local.INFO: GPS data processed {"connection_id":128294,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:01:11] local.INFO: Acknowledgment sent {"connection_id":128294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:01:21] local.INFO: TCP Data received {"connection_id":128108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:01:21] local.INFO: Processing buffer {"connection_id":128108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:01:21] local.INFO: IMEI packet received {"connection_id":128108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":128108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:01:42] local.INFO: TCP Data received {"connection_id":128294,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:01:42] local.INFO: Processing buffer {"connection_id":128294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:01:42] local.INFO: Packet analysis {"connection_id":128294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:01:42] local.INFO: Extracted packet for processing {"connection_id":128294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 05:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":128294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:01:42] local.INFO: GPS data processed {"connection_id":128294,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:01:42] local.INFO: Acknowledgment sent {"connection_id":128294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:01:46] local.INFO: TCP Data received {"connection_id":129009,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:01:46] local.INFO: Processing buffer {"connection_id":129009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:01:46] local.INFO: IMEI packet received {"connection_id":129009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":129009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:02:05] local.INFO: TCP Data received {"connection_id":130258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:02:05] local.INFO: Processing buffer {"connection_id":130258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:02:05] local.INFO: IMEI packet received {"connection_id":130258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":130258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:02:10] local.INFO: TCP Data received {"connection_id":130258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:02:10] local.INFO: Processing buffer {"connection_id":130258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:02:10] local.INFO: IMEI packet received {"connection_id":130258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":130258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:02:10] local.INFO: TCP Data received {"connection_id":130258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:02:10] local.INFO: Processing buffer {"connection_id":130258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:02:10] local.INFO: Packet analysis {"connection_id":130258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:02:10] local.INFO: Extracted packet for processing {"connection_id":130258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 05:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":130258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:02:11] local.INFO: GPS data processed {"connection_id":130258,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:02:11] local.INFO: Acknowledgment sent {"connection_id":130258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:02:41] local.INFO: TCP Data received {"connection_id":130258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:02:41] local.INFO: Processing buffer {"connection_id":130258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:02:41] local.INFO: Packet analysis {"connection_id":130258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:02:41] local.INFO: Extracted packet for processing {"connection_id":130258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 05:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:02:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":130258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:02:41] local.INFO: GPS data processed {"connection_id":130258,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:02:41] local.INFO: Acknowledgment sent {"connection_id":130258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:03:05] local.INFO: TCP Data received {"connection_id":129011,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:03:05] local.INFO: Processing buffer {"connection_id":129011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:03:05] local.INFO: IMEI packet received {"connection_id":129011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":129011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:03:10] local.INFO: TCP Data received {"connection_id":129011,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:03:10] local.INFO: Processing buffer {"connection_id":129011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:03:10] local.INFO: IMEI packet received {"connection_id":129011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":129011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:03:11] local.INFO: TCP Data received {"connection_id":129011,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:03:11] local.INFO: Processing buffer {"connection_id":129011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:03:11] local.INFO: Packet analysis {"connection_id":129011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:03:11] local.INFO: Extracted packet for processing {"connection_id":129011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 05:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:03:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":129011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:03:11] local.INFO: GPS data processed {"connection_id":129011,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:03:11] local.INFO: Acknowledgment sent {"connection_id":129011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:03:42] local.INFO: TCP Data received {"connection_id":129011,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:03:42] local.INFO: Processing buffer {"connection_id":129011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e5c7918012cb29ac007823b28004700db28..."} 
[2026-07-11 05:03:42] local.INFO: Packet analysis {"connection_id":129011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:03:42] local.INFO: Extracted packet for processing {"connection_id":129011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e5c"} 
[2026-07-11 05:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633807360001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783726111000,"timestamp_ms":1783726111000,"timestamp_seconds":1783726111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e5c7918"} 
[2026-07-11 05:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633807360001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633807360001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:03:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633807360001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":129011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:03:42] local.INFO: GPS data processed {"connection_id":129011,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:03:42] local.INFO: Acknowledgment sent {"connection_id":129011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:04:05] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:04:05] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:04:05] local.INFO: IMEI packet received {"connection_id":130259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":130259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:04:10] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:04:10] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:04:10] local.INFO: IMEI packet received {"connection_id":130259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":130259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:04:10] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:04:11] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:04:11] local.INFO: Packet analysis {"connection_id":130259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:04:11] local.INFO: Extracted packet for processing {"connection_id":130259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:04:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":130259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:04:11] local.INFO: GPS data processed {"connection_id":130259,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:04:11] local.INFO: Acknowledgment sent {"connection_id":130259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:04:41] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:04:41] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:04:41] local.INFO: Packet analysis {"connection_id":130259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:04:41] local.INFO: Extracted packet for processing {"connection_id":130259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:04:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":130259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:04:41] local.INFO: GPS data processed {"connection_id":130259,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:04:41] local.INFO: Acknowledgment sent {"connection_id":130259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:05:10] local.INFO: TCP Data received {"connection_id":128109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:05:10] local.INFO: Processing buffer {"connection_id":128109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:05:10] local.INFO: IMEI packet received {"connection_id":128109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":128109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:05:15] local.INFO: TCP Data received {"connection_id":128109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:05:15] local.INFO: Processing buffer {"connection_id":128109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:05:15] local.INFO: IMEI packet received {"connection_id":128109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":128109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:05:16] local.INFO: TCP Data received {"connection_id":128109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:05:16] local.INFO: Processing buffer {"connection_id":128109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:05:16] local.INFO: Packet analysis {"connection_id":128109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:05:16] local.INFO: Extracted packet for processing {"connection_id":128109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:05:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:05:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:05:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:05:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":128109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:05:16] local.INFO: GPS data processed {"connection_id":128109,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:05:16] local.INFO: Acknowledgment sent {"connection_id":128109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:05:20] local.INFO: TCP Data received {"connection_id":128109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:05:20] local.INFO: Processing buffer {"connection_id":128109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:05:20] local.INFO: Packet analysis {"connection_id":128109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:05:20] local.INFO: Extracted packet for processing {"connection_id":128109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:05:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":128109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:05:21] local.INFO: GPS data processed {"connection_id":128109,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:05:21] local.INFO: Acknowledgment sent {"connection_id":128109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:06:05] local.INFO: TCP Data received {"connection_id":128296,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:06:05] local.INFO: Processing buffer {"connection_id":128296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:06:05] local.INFO: IMEI packet received {"connection_id":128296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":128296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:06:10] local.INFO: TCP Data received {"connection_id":128296,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:06:10] local.INFO: Processing buffer {"connection_id":128296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:06:10] local.INFO: IMEI packet received {"connection_id":128296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":128296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:06:10] local.INFO: TCP Data received {"connection_id":128296,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:06:10] local.INFO: Processing buffer {"connection_id":128296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:06:10] local.INFO: Packet analysis {"connection_id":128296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:06:10] local.INFO: Extracted packet for processing {"connection_id":128296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:06:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":128296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:06:10] local.INFO: GPS data processed {"connection_id":128296,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:06:10] local.INFO: Acknowledgment sent {"connection_id":128296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:06:41] local.INFO: TCP Data received {"connection_id":128296,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:06:41] local.INFO: Processing buffer {"connection_id":128296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:06:41] local.INFO: Packet analysis {"connection_id":128296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:06:41] local.INFO: Extracted packet for processing {"connection_id":128296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05: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-07-11 05:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:06:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":128296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:06:41] local.INFO: GPS data processed {"connection_id":128296,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:06:41] local.INFO: Acknowledgment sent {"connection_id":128296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:07:05] local.INFO: TCP Data received {"connection_id":130261,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:07:05] local.INFO: Processing buffer {"connection_id":130261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:07:05] local.INFO: IMEI packet received {"connection_id":130261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":130261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:07:10] local.INFO: TCP Data received {"connection_id":130261,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:07:10] local.INFO: Processing buffer {"connection_id":130261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:07:10] local.INFO: IMEI packet received {"connection_id":130261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":130261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:07:11] local.INFO: TCP Data received {"connection_id":130261,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:07:11] local.INFO: Processing buffer {"connection_id":130261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:07:11] local.INFO: Packet analysis {"connection_id":130261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:07:11] local.INFO: Extracted packet for processing {"connection_id":130261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":130261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:07:11] local.INFO: GPS data processed {"connection_id":130261,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:07:11] local.INFO: Acknowledgment sent {"connection_id":130261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:07:16] local.INFO: TCP Data received {"connection_id":128110,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:07:16] local.INFO: Processing buffer {"connection_id":128110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:07:16] local.INFO: IMEI packet received {"connection_id":128110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":128110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:07:42] local.INFO: TCP Data received {"connection_id":130261,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:07:42] local.INFO: Processing buffer {"connection_id":130261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:07:42] local.INFO: Packet analysis {"connection_id":130261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:07:42] local.INFO: Extracted packet for processing {"connection_id":130261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":130261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:07:42] local.INFO: GPS data processed {"connection_id":130261,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:07:42] local.INFO: Acknowledgment sent {"connection_id":130261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:07:47] local.INFO: TCP Data received {"connection_id":129013,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:07:47] local.INFO: Processing buffer {"connection_id":129013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:07:47] local.INFO: IMEI packet received {"connection_id":129013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":129013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:08:06] local.INFO: TCP Data received {"connection_id":128111,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:08:06] local.INFO: Processing buffer {"connection_id":128111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:08:06] local.INFO: IMEI packet received {"connection_id":128111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":128111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:08:10] local.INFO: TCP Data received {"connection_id":128111,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:08:10] local.INFO: Processing buffer {"connection_id":128111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:08:10] local.INFO: IMEI packet received {"connection_id":128111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":128111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:08:11] local.INFO: TCP Data received {"connection_id":128111,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:08:11] local.INFO: Processing buffer {"connection_id":128111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:08:11] local.INFO: Packet analysis {"connection_id":128111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:08:11] local.INFO: Extracted packet for processing {"connection_id":128111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:08:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:08:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":128111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:08:11] local.INFO: GPS data processed {"connection_id":128111,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:08:11] local.INFO: Acknowledgment sent {"connection_id":128111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:08:42] local.INFO: TCP Data received {"connection_id":128111,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:08:42] local.INFO: Processing buffer {"connection_id":128111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:08:42] local.INFO: Packet analysis {"connection_id":128111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:08:42] local.INFO: Extracted packet for processing {"connection_id":128111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:08:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:08:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":128111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:08:42] local.INFO: GPS data processed {"connection_id":128111,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:08:42] local.INFO: Acknowledgment sent {"connection_id":128111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:09:05] local.INFO: TCP Data received {"connection_id":128298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:09:05] local.INFO: Processing buffer {"connection_id":128298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:09:05] local.INFO: IMEI packet received {"connection_id":128298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":128298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:09:10] local.INFO: TCP Data received {"connection_id":128298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:09:10] local.INFO: Processing buffer {"connection_id":128298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:09:10] local.INFO: IMEI packet received {"connection_id":128298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":128298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:09:11] local.INFO: TCP Data received {"connection_id":128298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:09:11] local.INFO: Processing buffer {"connection_id":128298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6110e0012cb29ac007823b28004700db27..."} 
[2026-07-11 05:09:11] local.INFO: Packet analysis {"connection_id":128298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:09:11] local.INFO: Extracted packet for processing {"connection_id":128298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e61"} 
[2026-07-11 05:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633884416001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783726412000,"timestamp_ms":1783726412000,"timestamp_seconds":1783726412,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6110e0"} 
[2026-07-11 05:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633884416001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633884416001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633884416001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":128298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:09:11] local.INFO: GPS data processed {"connection_id":128298,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:09:11] local.INFO: Acknowledgment sent {"connection_id":128298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:09:42] local.INFO: TCP Data received {"connection_id":128298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:09:42] local.INFO: Processing buffer {"connection_id":128298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:09:42] local.INFO: Packet analysis {"connection_id":128298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:09:42] local.INFO: Extracted packet for processing {"connection_id":128298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:09:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":128298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:09:42] local.INFO: GPS data processed {"connection_id":128298,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:09:42] local.INFO: Acknowledgment sent {"connection_id":128298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:10:05] local.INFO: TCP Data received {"connection_id":128112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:10:05] local.INFO: Processing buffer {"connection_id":128112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:10:05] local.INFO: IMEI packet received {"connection_id":128112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":128112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:10:10] local.INFO: TCP Data received {"connection_id":128112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:10:10] local.INFO: Processing buffer {"connection_id":128112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:10:10] local.INFO: IMEI packet received {"connection_id":128112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":128112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:10:11] local.INFO: TCP Data received {"connection_id":128112,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:10:11] local.INFO: Processing buffer {"connection_id":128112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:10:11] local.INFO: Packet analysis {"connection_id":128112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:10:11] local.INFO: Extracted packet for processing {"connection_id":128112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":128112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:10:11] local.INFO: GPS data processed {"connection_id":128112,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:10:11] local.INFO: Acknowledgment sent {"connection_id":128112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:10:42] local.INFO: TCP Data received {"connection_id":128112,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:10:42] local.INFO: Processing buffer {"connection_id":128112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:10:42] local.INFO: Packet analysis {"connection_id":128112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:10:42] local.INFO: Extracted packet for processing {"connection_id":128112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":128112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:10:42] local.INFO: GPS data processed {"connection_id":128112,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:10:42] local.INFO: Acknowledgment sent {"connection_id":128112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:11:05] local.INFO: TCP Data received {"connection_id":128114,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:11:05] local.INFO: Processing buffer {"connection_id":128114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:11:05] local.INFO: IMEI packet received {"connection_id":128114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":128114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:11:10] local.INFO: TCP Data received {"connection_id":128114,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:11:10] local.INFO: Processing buffer {"connection_id":128114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:11:10] local.INFO: IMEI packet received {"connection_id":128114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":128114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:11:11] local.INFO: TCP Data received {"connection_id":128114,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:11:11] local.INFO: Processing buffer {"connection_id":128114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:11:11] local.INFO: Packet analysis {"connection_id":128114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:11:11] local.INFO: Extracted packet for processing {"connection_id":128114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05: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":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":128114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:11:11] local.INFO: GPS data processed {"connection_id":128114,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:11:11] local.INFO: Acknowledgment sent {"connection_id":128114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:11:42] local.INFO: TCP Data received {"connection_id":128114,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:11:42] local.INFO: Processing buffer {"connection_id":128114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:11:42] local.INFO: Packet analysis {"connection_id":128114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:11:42] local.INFO: Extracted packet for processing {"connection_id":128114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":128114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:11:42] local.INFO: GPS data processed {"connection_id":128114,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:11:42] local.INFO: Acknowledgment sent {"connection_id":128114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:12:05] local.INFO: TCP Data received {"connection_id":128300,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:12:05] local.INFO: Processing buffer {"connection_id":128300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:12:05] local.INFO: IMEI packet received {"connection_id":128300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":128300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:12:10] local.INFO: TCP Data received {"connection_id":128300,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:12:10] local.INFO: Processing buffer {"connection_id":128300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:12:10] local.INFO: IMEI packet received {"connection_id":128300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":128300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:12:10] local.INFO: TCP Data received {"connection_id":128300,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:12:10] local.INFO: Processing buffer {"connection_id":128300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:12:10] local.INFO: Packet analysis {"connection_id":128300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:12:10] local.INFO: Extracted packet for processing {"connection_id":128300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":128300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:12:10] local.INFO: GPS data processed {"connection_id":128300,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:12:10] local.INFO: Acknowledgment sent {"connection_id":128300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:12:41] local.INFO: TCP Data received {"connection_id":128300,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:12:41] local.INFO: Processing buffer {"connection_id":128300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:12:41] local.INFO: Packet analysis {"connection_id":128300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:12:41] local.INFO: Extracted packet for processing {"connection_id":128300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:12:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":128300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:12:41] local.INFO: GPS data processed {"connection_id":128300,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:12:41] local.INFO: Acknowledgment sent {"connection_id":128300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:13:06] local.INFO: TCP Data received {"connection_id":130263,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:13:06] local.INFO: Processing buffer {"connection_id":130263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:13:06] local.INFO: IMEI packet received {"connection_id":130263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":130263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:13:10] local.INFO: TCP Data received {"connection_id":130263,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:13:10] local.INFO: Processing buffer {"connection_id":130263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:13:10] local.INFO: IMEI packet received {"connection_id":130263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":130263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:13:11] local.INFO: TCP Data received {"connection_id":130263,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:13:11] local.INFO: Processing buffer {"connection_id":130263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:13:11] local.INFO: Packet analysis {"connection_id":130263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:13:11] local.INFO: Extracted packet for processing {"connection_id":130263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":130263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:13:11] local.INFO: GPS data processed {"connection_id":130263,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:13:11] local.INFO: Acknowledgment sent {"connection_id":130263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:13:16] local.INFO: TCP Data received {"connection_id":128301,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:13:16] local.INFO: Processing buffer {"connection_id":128301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:13:16] local.INFO: IMEI packet received {"connection_id":128301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":128301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:13:42] local.INFO: TCP Data received {"connection_id":130263,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:13:42] local.INFO: Processing buffer {"connection_id":130263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:13:42] local.INFO: Packet analysis {"connection_id":130263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:13:42] local.INFO: Extracted packet for processing {"connection_id":130263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":130263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:13:42] local.INFO: GPS data processed {"connection_id":130263,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:13:42] local.INFO: Acknowledgment sent {"connection_id":130263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:13:46] local.INFO: TCP Data received {"connection_id":128302,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:13:46] local.INFO: Processing buffer {"connection_id":128302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:13:46] local.INFO: IMEI packet received {"connection_id":128302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":128302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:14:05] local.INFO: TCP Data received {"connection_id":129014,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:14:05] local.INFO: Processing buffer {"connection_id":129014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:14:05] local.INFO: IMEI packet received {"connection_id":129014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":129014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:14:10] local.INFO: TCP Data received {"connection_id":129014,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:14:10] local.INFO: Processing buffer {"connection_id":129014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:14:10] local.INFO: IMEI packet received {"connection_id":129014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":129014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:14:10] local.INFO: TCP Data received {"connection_id":129014,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:14:10] local.INFO: Processing buffer {"connection_id":129014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e65a8a8012cb29ac007823b28004700db25..."} 
[2026-07-11 05:14:10] local.INFO: Packet analysis {"connection_id":129014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:14:10] local.INFO: Extracted packet for processing {"connection_id":129014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e65"} 
[2026-07-11 05:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456633961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783726713000,"timestamp_ms":1783726713000,"timestamp_seconds":1783726713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e65a8a8"} 
[2026-07-11 05:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05: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":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456633961472001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456633961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:14:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456633961472001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":129014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:14:10] local.INFO: GPS data processed {"connection_id":129014,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:14:10] local.INFO: Acknowledgment sent {"connection_id":129014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:14:41] local.INFO: TCP Data received {"connection_id":129014,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:14:41] local.INFO: Processing buffer {"connection_id":129014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:14:41] local.INFO: Packet analysis {"connection_id":129014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:14:41] local.INFO: Extracted packet for processing {"connection_id":129014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:14:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":129014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:14:41] local.INFO: GPS data processed {"connection_id":129014,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:14:41] local.INFO: Acknowledgment sent {"connection_id":129014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:15:05] local.INFO: TCP Data received {"connection_id":128303,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:15:05] local.INFO: Processing buffer {"connection_id":128303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:15:05] local.INFO: IMEI packet received {"connection_id":128303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":128303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:15:10] local.INFO: TCP Data received {"connection_id":128303,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:15:10] local.INFO: Processing buffer {"connection_id":128303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:15:10] local.INFO: IMEI packet received {"connection_id":128303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":128303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:15:11] local.INFO: TCP Data received {"connection_id":128303,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:15:11] local.INFO: Processing buffer {"connection_id":128303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:15:11] local.INFO: Packet analysis {"connection_id":128303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:15:11] local.INFO: Extracted packet for processing {"connection_id":128303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:15:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":128303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:15:11] local.INFO: GPS data processed {"connection_id":128303,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:15:11] local.INFO: Acknowledgment sent {"connection_id":128303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:15:42] local.INFO: TCP Data received {"connection_id":128303,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:15:42] local.INFO: Processing buffer {"connection_id":128303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:15:42] local.INFO: Packet analysis {"connection_id":128303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:15:42] local.INFO: Extracted packet for processing {"connection_id":128303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:15:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":128303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:15:42] local.INFO: GPS data processed {"connection_id":128303,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:15:42] local.INFO: Acknowledgment sent {"connection_id":128303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:16:05] local.INFO: TCP Data received {"connection_id":128115,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:16:05] local.INFO: Processing buffer {"connection_id":128115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:16:05] local.INFO: IMEI packet received {"connection_id":128115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":128115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:16:10] local.INFO: TCP Data received {"connection_id":128115,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:16:10] local.INFO: Processing buffer {"connection_id":128115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:16:10] local.INFO: IMEI packet received {"connection_id":128115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":128115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:16:10] local.INFO: TCP Data received {"connection_id":128115,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:16:10] local.INFO: Processing buffer {"connection_id":128115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:16:10] local.INFO: Packet analysis {"connection_id":128115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:16:10] local.INFO: Extracted packet for processing {"connection_id":128115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:16:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":128115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:16:10] local.INFO: GPS data processed {"connection_id":128115,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:16:10] local.INFO: Acknowledgment sent {"connection_id":128115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:16:42] local.INFO: TCP Data received {"connection_id":128115,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:16:42] local.INFO: Processing buffer {"connection_id":128115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:16:42] local.INFO: Packet analysis {"connection_id":128115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:16:42] local.INFO: Extracted packet for processing {"connection_id":128115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:16:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":128115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:16:42] local.INFO: GPS data processed {"connection_id":128115,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:16:42] local.INFO: Acknowledgment sent {"connection_id":128115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:17:06] local.INFO: TCP Data received {"connection_id":129016,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:17:06] local.INFO: Processing buffer {"connection_id":129016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:17:06] local.INFO: IMEI packet received {"connection_id":129016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":129016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:17:10] local.INFO: TCP Data received {"connection_id":129016,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:17:10] local.INFO: Processing buffer {"connection_id":129016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:17:10] local.INFO: IMEI packet received {"connection_id":129016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":129016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:17:11] local.INFO: TCP Data received {"connection_id":129016,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:17:11] local.INFO: Processing buffer {"connection_id":129016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:17:11] local.INFO: Packet analysis {"connection_id":129016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:17:11] local.INFO: Extracted packet for processing {"connection_id":129016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":129016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:17:11] local.INFO: GPS data processed {"connection_id":129016,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:17:11] local.INFO: Acknowledgment sent {"connection_id":129016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:17:42] local.INFO: TCP Data received {"connection_id":129016,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:17:42] local.INFO: Processing buffer {"connection_id":129016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:17:42] local.INFO: Packet analysis {"connection_id":129016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:17:42] local.INFO: Extracted packet for processing {"connection_id":129016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":129016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:17:42] local.INFO: GPS data processed {"connection_id":129016,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:17:42] local.INFO: Acknowledgment sent {"connection_id":129016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:18:05] local.INFO: TCP Data received {"connection_id":128304,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:18:05] local.INFO: Processing buffer {"connection_id":128304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:18:05] local.INFO: IMEI packet received {"connection_id":128304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":128304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:18:10] local.INFO: TCP Data received {"connection_id":128304,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:18:10] local.INFO: Processing buffer {"connection_id":128304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:18:10] local.INFO: IMEI packet received {"connection_id":128304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":128304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:18:11] local.INFO: TCP Data received {"connection_id":128304,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:18:11] local.INFO: Processing buffer {"connection_id":128304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:18:11] local.INFO: Packet analysis {"connection_id":128304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:18:11] local.INFO: Extracted packet for processing {"connection_id":128304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":128304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:18:11] local.INFO: GPS data processed {"connection_id":128304,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:18:11] local.INFO: Acknowledgment sent {"connection_id":128304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:18:42] local.INFO: TCP Data received {"connection_id":128304,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:18:42] local.INFO: Processing buffer {"connection_id":128304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:18:42] local.INFO: Packet analysis {"connection_id":128304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:18:42] local.INFO: Extracted packet for processing {"connection_id":128304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:18:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":128304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:18:42] local.INFO: GPS data processed {"connection_id":128304,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:18:42] local.INFO: Acknowledgment sent {"connection_id":128304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:19:05] local.INFO: TCP Data received {"connection_id":128305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:19:05] local.INFO: Processing buffer {"connection_id":128305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:19:05] local.INFO: IMEI packet received {"connection_id":128305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":128305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:19:06] local.INFO: TCP Data received {"connection_id":130267,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:19:06] local.INFO: Processing buffer {"connection_id":130267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:19:06] local.INFO: IMEI packet received {"connection_id":130267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":130267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:19:10] local.INFO: TCP Data received {"connection_id":128305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:19:10] local.INFO: Processing buffer {"connection_id":128305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:19:10] local.INFO: IMEI packet received {"connection_id":128305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":128305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:19:11] local.INFO: TCP Data received {"connection_id":128305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:19:11] local.INFO: Processing buffer {"connection_id":128305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6a4070012cb29ac007823b28004700db26..."} 
[2026-07-11 05:19:11] local.INFO: Packet analysis {"connection_id":128305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:19:11] local.INFO: Extracted packet for processing {"connection_id":128305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6a"} 
[2026-07-11 05:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634038528001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727014000,"timestamp_ms":1783727014000,"timestamp_seconds":1783727014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6a4070"} 
[2026-07-11 05:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634038528001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634038528001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:19:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634038528001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":128305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:19:11] local.INFO: GPS data processed {"connection_id":128305,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:19:11] local.INFO: Acknowledgment sent {"connection_id":128305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:19:42] local.INFO: TCP Data received {"connection_id":128305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:19:42] local.INFO: Processing buffer {"connection_id":128305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:19:42] local.INFO: Packet analysis {"connection_id":128305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:19:42] local.INFO: Extracted packet for processing {"connection_id":128305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":128305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:19:42] local.INFO: GPS data processed {"connection_id":128305,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:19:42] local.INFO: Acknowledgment sent {"connection_id":128305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:19:46] local.INFO: TCP Data received {"connection_id":128306,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:19:46] local.INFO: Processing buffer {"connection_id":128306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:19:46] local.INFO: IMEI packet received {"connection_id":128306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":128306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:20:05] local.INFO: TCP Data received {"connection_id":128116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:20:05] local.INFO: Processing buffer {"connection_id":128116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:20:05] local.INFO: IMEI packet received {"connection_id":128116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":128116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:20:10] local.INFO: TCP Data received {"connection_id":128116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:20:10] local.INFO: Processing buffer {"connection_id":128116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:20:10] local.INFO: IMEI packet received {"connection_id":128116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":128116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:20:10] local.INFO: TCP Data received {"connection_id":128116,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:20:10] local.INFO: Processing buffer {"connection_id":128116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:20:10] local.INFO: Packet analysis {"connection_id":128116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:20:10] local.INFO: Extracted packet for processing {"connection_id":128116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:20:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":128116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:20:10] local.INFO: GPS data processed {"connection_id":128116,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:20:10] local.INFO: Acknowledgment sent {"connection_id":128116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:20:42] local.INFO: TCP Data received {"connection_id":128116,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:20:42] local.INFO: Processing buffer {"connection_id":128116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:20:42] local.INFO: Packet analysis {"connection_id":128116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:20:42] local.INFO: Extracted packet for processing {"connection_id":128116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:20:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:20:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":128116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:20:42] local.INFO: GPS data processed {"connection_id":128116,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:20:42] local.INFO: Acknowledgment sent {"connection_id":128116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:21:05] local.INFO: TCP Data received {"connection_id":128117,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:21:05] local.INFO: Processing buffer {"connection_id":128117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:21:05] local.INFO: IMEI packet received {"connection_id":128117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":128117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:21:10] local.INFO: TCP Data received {"connection_id":128117,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:21:10] local.INFO: Processing buffer {"connection_id":128117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:21:10] local.INFO: IMEI packet received {"connection_id":128117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":128117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:21:11] local.INFO: TCP Data received {"connection_id":128117,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:21:11] local.INFO: Processing buffer {"connection_id":128117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:21:11] local.INFO: Packet analysis {"connection_id":128117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:21:11] local.INFO: Extracted packet for processing {"connection_id":128117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":128117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:21:11] local.INFO: GPS data processed {"connection_id":128117,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:21:11] local.INFO: Acknowledgment sent {"connection_id":128117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:21:42] local.INFO: TCP Data received {"connection_id":128117,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:21:42] local.INFO: Processing buffer {"connection_id":128117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:21:42] local.INFO: Packet analysis {"connection_id":128117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:21:42] local.INFO: Extracted packet for processing {"connection_id":128117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05: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":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":128117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:21:42] local.INFO: GPS data processed {"connection_id":128117,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:21:42] local.INFO: Acknowledgment sent {"connection_id":128117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:22:06] local.INFO: TCP Data received {"connection_id":128308,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:22:06] local.INFO: Processing buffer {"connection_id":128308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:22:06] local.INFO: IMEI packet received {"connection_id":128308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":128308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:22:10] local.INFO: TCP Data received {"connection_id":128308,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:22:10] local.INFO: Processing buffer {"connection_id":128308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:22:10] local.INFO: IMEI packet received {"connection_id":128308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":128308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:22:10] local.INFO: TCP Data received {"connection_id":128308,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:22:10] local.INFO: Processing buffer {"connection_id":128308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:22:10] local.INFO: Packet analysis {"connection_id":128308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:22:10] local.INFO: Extracted packet for processing {"connection_id":128308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:22:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:22:10] local.INFO: GPS data processed {"connection_id":128308,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:22:10] local.INFO: Acknowledgment sent {"connection_id":128308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:22:45] local.INFO: TCP Data received {"connection_id":128308,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:22:45] local.INFO: Processing buffer {"connection_id":128308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:22:45] local.INFO: Packet analysis {"connection_id":128308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:22:45] local.INFO: Extracted packet for processing {"connection_id":128308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:22:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:22:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:22:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:22:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":128308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:22:45] local.INFO: GPS data processed {"connection_id":128308,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:22:45] local.INFO: Acknowledgment sent {"connection_id":128308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:23:05] local.INFO: TCP Data received {"connection_id":129018,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:23:05] local.INFO: Processing buffer {"connection_id":129018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:23:05] local.INFO: IMEI packet received {"connection_id":129018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":129018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:23:10] local.INFO: TCP Data received {"connection_id":129018,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:23:10] local.INFO: Processing buffer {"connection_id":129018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:23:10] local.INFO: IMEI packet received {"connection_id":129018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":129018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:23:11] local.INFO: TCP Data received {"connection_id":129018,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:23:11] local.INFO: Processing buffer {"connection_id":129018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:23:11] local.INFO: Packet analysis {"connection_id":129018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:23:11] local.INFO: Extracted packet for processing {"connection_id":129018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":129018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:23:11] local.INFO: GPS data processed {"connection_id":129018,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:23:11] local.INFO: Acknowledgment sent {"connection_id":129018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:23:42] local.INFO: TCP Data received {"connection_id":129018,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:23:42] local.INFO: Processing buffer {"connection_id":129018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:23:42] local.INFO: Packet analysis {"connection_id":129018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:23:42] local.INFO: Extracted packet for processing {"connection_id":129018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":129018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:23:42] local.INFO: GPS data processed {"connection_id":129018,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:23:42] local.INFO: Acknowledgment sent {"connection_id":129018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:24:05] local.INFO: TCP Data received {"connection_id":129019,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:24:05] local.INFO: Processing buffer {"connection_id":129019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:24:05] local.INFO: IMEI packet received {"connection_id":129019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":129019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:24:10] local.INFO: TCP Data received {"connection_id":129019,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:24:10] local.INFO: Processing buffer {"connection_id":129019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:24:10] local.INFO: IMEI packet received {"connection_id":129019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":129019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:24:10] local.INFO: TCP Data received {"connection_id":129019,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:24:10] local.INFO: Processing buffer {"connection_id":129019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e6ed838012cb29ac007823b28004700db27..."} 
[2026-07-11 05:24:10] local.INFO: Packet analysis {"connection_id":129019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:24:10] local.INFO: Extracted packet for processing {"connection_id":129019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e6e"} 
[2026-07-11 05:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634115584001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783727315000,"timestamp_ms":1783727315000,"timestamp_seconds":1783727315,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e6ed838"} 
[2026-07-11 05:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634115584001,"66":25071,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634115584001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:24:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634115584001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":129019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:24:10] local.INFO: GPS data processed {"connection_id":129019,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:24:10] local.INFO: Acknowledgment sent {"connection_id":129019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:24:41] local.INFO: TCP Data received {"connection_id":129019,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:24:41] local.INFO: Processing buffer {"connection_id":129019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:24:41] local.INFO: Packet analysis {"connection_id":129019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:24:41] local.INFO: Extracted packet for processing {"connection_id":129019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634192640001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783727616000,"timestamp_ms":1783727616000,"timestamp_seconds":1783727616,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e737000"} 
[2026-07-11 05:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 05:24: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-07-11 05:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634192640001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634192640001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:24:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634192640001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":129019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:24:41] local.INFO: GPS data processed {"connection_id":129019,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:24:41] local.INFO: Acknowledgment sent {"connection_id":129019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:25:05] local.INFO: TCP Data received {"connection_id":128310,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:25:05] local.INFO: Processing buffer {"connection_id":128310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:25:05] local.INFO: IMEI packet received {"connection_id":128310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":128310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:25:10] local.INFO: TCP Data received {"connection_id":128310,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:25:10] local.INFO: Processing buffer {"connection_id":128310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:25:10] local.INFO: IMEI packet received {"connection_id":128310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":128310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:25:11] local.INFO: TCP Data received {"connection_id":128310,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:25:11] local.INFO: Processing buffer {"connection_id":128310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:25:11] local.INFO: Packet analysis {"connection_id":128310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:25:11] local.INFO: Extracted packet for processing {"connection_id":128310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:25:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634192640001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727616000,"timestamp_ms":1783727616000,"timestamp_seconds":1783727616,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e737000"} 
[2026-07-11 05:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 05:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634192640001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634192640001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:25:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634192640001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":128310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:25:11] local.INFO: GPS data processed {"connection_id":128310,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:25:11] local.INFO: Acknowledgment sent {"connection_id":128310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:25:16] local.INFO: TCP Data received {"connection_id":128309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:25:16] local.INFO: Processing buffer {"connection_id":128309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:25:16] local.INFO: IMEI packet received {"connection_id":128309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":128309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:25:42] local.INFO: TCP Data received {"connection_id":128310,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:25:42] local.INFO: Processing buffer {"connection_id":128310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:25:42] local.INFO: Packet analysis {"connection_id":128310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:25:42] local.INFO: Extracted packet for processing {"connection_id":128310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634192640001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727616000,"timestamp_ms":1783727616000,"timestamp_seconds":1783727616,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e737000"} 
[2026-07-11 05:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 05:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634192640001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634192640001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:25:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634192640001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":128310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:25:42] local.INFO: GPS data processed {"connection_id":128310,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:25:42] local.INFO: Acknowledgment sent {"connection_id":128310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:25:51] local.INFO: TCP Data received {"connection_id":128118,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:25:51] local.INFO: Processing buffer {"connection_id":128118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:25:51] local.INFO: IMEI packet received {"connection_id":128118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":128118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:26:05] local.INFO: TCP Data received {"connection_id":128311,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:26:05] local.INFO: Processing buffer {"connection_id":128311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:26:05] local.INFO: IMEI packet received {"connection_id":128311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":128311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:26:10] local.INFO: TCP Data received {"connection_id":128311,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:26:10] local.INFO: Processing buffer {"connection_id":128311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:26:10] local.INFO: IMEI packet received {"connection_id":128311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":128311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:26:10] local.INFO: TCP Data received {"connection_id":128311,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:26:10] local.INFO: Processing buffer {"connection_id":128311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:26:10] local.INFO: Packet analysis {"connection_id":128311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:26:10] local.INFO: Extracted packet for processing {"connection_id":128311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634192640001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783727616000,"timestamp_ms":1783727616000,"timestamp_seconds":1783727616,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e737000"} 
[2026-07-11 05:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 05:26: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-07-11 05:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634192640001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634192640001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:26:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634192640001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":128311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:26:11] local.INFO: GPS data processed {"connection_id":128311,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:26:11] local.INFO: Acknowledgment sent {"connection_id":128311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:26:44] local.INFO: TCP Data received {"connection_id":128311,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:26:44] local.INFO: Processing buffer {"connection_id":128311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:26:44] local.INFO: Packet analysis {"connection_id":128311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:26:44] local.INFO: Extracted packet for processing {"connection_id":128311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:26:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634192640001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783727616000,"timestamp_ms":1783727616000,"timestamp_seconds":1783727616,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e737000"} 
[2026-07-11 05:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 05:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634192640001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634192640001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:26:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634192640001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":128311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:26:44] local.INFO: GPS data processed {"connection_id":128311,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:26:44] local.INFO: Acknowledgment sent {"connection_id":128311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:27:05] local.INFO: TCP Data received {"connection_id":129020,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:27:05] local.INFO: Processing buffer {"connection_id":129020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:27:05] local.INFO: IMEI packet received {"connection_id":129020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":129020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:27:10] local.INFO: TCP Data received {"connection_id":129020,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:27:10] local.INFO: Processing buffer {"connection_id":129020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:27:10] local.INFO: IMEI packet received {"connection_id":129020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":129020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:27:11] local.INFO: TCP Data received {"connection_id":129020,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:27:11] local.INFO: Processing buffer {"connection_id":129020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:27:11] local.INFO: Packet analysis {"connection_id":129020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:27:11] local.INFO: Extracted packet for processing {"connection_id":129020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634192640001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727616000,"timestamp_ms":1783727616000,"timestamp_seconds":1783727616,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e737000"} 
[2026-07-11 05:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 05:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634192640001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634192640001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634192640001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":129020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:27:11] local.INFO: GPS data processed {"connection_id":129020,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:27:11] local.INFO: Acknowledgment sent {"connection_id":129020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:27:42] local.INFO: TCP Data received {"connection_id":129020,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:27:42] local.INFO: Processing buffer {"connection_id":129020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:27:42] local.INFO: Packet analysis {"connection_id":129020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:27:42] local.INFO: Extracted packet for processing {"connection_id":129020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634192640001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727616000,"timestamp_ms":1783727616000,"timestamp_seconds":1783727616,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e737000"} 
[2026-07-11 05:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 05:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634192640001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634192640001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634192640001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":129020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:27:42] local.INFO: GPS data processed {"connection_id":129020,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:27:42] local.INFO: Acknowledgment sent {"connection_id":129020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:28:05] local.INFO: TCP Data received {"connection_id":128120,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:28:05] local.INFO: Processing buffer {"connection_id":128120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:28:05] local.INFO: IMEI packet received {"connection_id":128120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":128120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:28:10] local.INFO: TCP Data received {"connection_id":128120,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:28:10] local.INFO: Processing buffer {"connection_id":128120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:28:10] local.INFO: IMEI packet received {"connection_id":128120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":128120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:28:10] local.INFO: TCP Data received {"connection_id":128120,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:28:10] local.INFO: Processing buffer {"connection_id":128120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:28:10] local.INFO: Packet analysis {"connection_id":128120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:28:10] local.INFO: Extracted packet for processing {"connection_id":128120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634192640001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783727616000,"timestamp_ms":1783727616000,"timestamp_seconds":1783727616,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e737000"} 
[2026-07-11 05:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 05:28: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-07-11 05:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634192640001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634192640001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:28:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634192640001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":128120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:28:10] local.INFO: GPS data processed {"connection_id":128120,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:28:10] local.INFO: Acknowledgment sent {"connection_id":128120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:28:42] local.INFO: TCP Data received {"connection_id":128120,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:28:42] local.INFO: Processing buffer {"connection_id":128120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e737000012cb29ac007823b28004700db27..."} 
[2026-07-11 05:28:42] local.INFO: Packet analysis {"connection_id":128120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:28:42] local.INFO: Extracted packet for processing {"connection_id":128120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e73"} 
[2026-07-11 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634192640001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727616000,"timestamp_ms":1783727616000,"timestamp_seconds":1783727616,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e737000"} 
[2026-07-11 05:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 05:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634192640001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634192640001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:28:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634192640001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":128120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:28:42] local.INFO: GPS data processed {"connection_id":128120,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:28:42] local.INFO: Acknowledgment sent {"connection_id":128120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:29:10] local.INFO: TCP Data received {"connection_id":130271,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:29:10] local.INFO: Processing buffer {"connection_id":130271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:29:10] local.INFO: IMEI packet received {"connection_id":130271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":130271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:29:15] local.INFO: TCP Data received {"connection_id":130271,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:29:15] local.INFO: Processing buffer {"connection_id":130271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:29:15] local.INFO: IMEI packet received {"connection_id":130271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":130271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:29:16] local.INFO: TCP Data received {"connection_id":130271,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:29:16] local.INFO: Processing buffer {"connection_id":130271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:29:16] local.INFO: Packet analysis {"connection_id":130271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:29:16] local.INFO: Extracted packet for processing {"connection_id":130271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:29:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:29:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:29:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":130271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:29:16] local.INFO: GPS data processed {"connection_id":130271,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:29:16] local.INFO: Acknowledgment sent {"connection_id":130271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:29:47] local.INFO: TCP Data received {"connection_id":130271,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:29:47] local.INFO: Processing buffer {"connection_id":130271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:29:47] local.INFO: Packet analysis {"connection_id":130271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:29:47] local.INFO: Extracted packet for processing {"connection_id":130271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:29:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:29:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:29:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:29:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":130271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:29:47] local.INFO: GPS data processed {"connection_id":130271,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:29:47] local.INFO: Acknowledgment sent {"connection_id":130271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:30:05] local.INFO: TCP Data received {"connection_id":128313,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:30:05] local.INFO: Processing buffer {"connection_id":128313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:30:05] local.INFO: IMEI packet received {"connection_id":128313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":128313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:30:10] local.INFO: TCP Data received {"connection_id":128313,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:30:10] local.INFO: Processing buffer {"connection_id":128313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:30:10] local.INFO: IMEI packet received {"connection_id":128313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":128313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:30:10] local.INFO: TCP Data received {"connection_id":128313,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:30:10] local.INFO: Processing buffer {"connection_id":128313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:30:10] local.INFO: Packet analysis {"connection_id":128313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:30:10] local.INFO: Extracted packet for processing {"connection_id":128313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:30:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":128313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:30:10] local.INFO: GPS data processed {"connection_id":128313,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:30:10] local.INFO: Acknowledgment sent {"connection_id":128313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:30:41] local.INFO: TCP Data received {"connection_id":128313,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:30:41] local.INFO: Processing buffer {"connection_id":128313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:30:41] local.INFO: Packet analysis {"connection_id":128313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:30:41] local.INFO: Extracted packet for processing {"connection_id":128313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:30:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":128313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:30:41] local.INFO: GPS data processed {"connection_id":128313,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:30:41] local.INFO: Acknowledgment sent {"connection_id":128313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:31:05] local.INFO: TCP Data received {"connection_id":130272,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:31:05] local.INFO: Processing buffer {"connection_id":130272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:31:05] local.INFO: IMEI packet received {"connection_id":130272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":130272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:31:10] local.INFO: TCP Data received {"connection_id":130272,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:31:10] local.INFO: Processing buffer {"connection_id":130272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:31:10] local.INFO: IMEI packet received {"connection_id":130272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":130272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:31:11] local.INFO: TCP Data received {"connection_id":130272,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:31:11] local.INFO: Processing buffer {"connection_id":130272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:31:11] local.INFO: Packet analysis {"connection_id":130272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:31:11] local.INFO: Extracted packet for processing {"connection_id":130272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":130272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:31:11] local.INFO: GPS data processed {"connection_id":130272,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:31:11] local.INFO: Acknowledgment sent {"connection_id":130272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:31:16] local.INFO: TCP Data received {"connection_id":128121,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:31:16] local.INFO: Processing buffer {"connection_id":128121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:31:16] local.INFO: IMEI packet received {"connection_id":128121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":128121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:31:42] local.INFO: TCP Data received {"connection_id":130272,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:31:42] local.INFO: Processing buffer {"connection_id":130272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:31:42] local.INFO: Packet analysis {"connection_id":130272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:31:42] local.INFO: Extracted packet for processing {"connection_id":130272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:31:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":130272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:31:42] local.INFO: GPS data processed {"connection_id":130272,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:31:42] local.INFO: Acknowledgment sent {"connection_id":130272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:31:51] local.INFO: TCP Data received {"connection_id":129022,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:31:51] local.INFO: Processing buffer {"connection_id":129022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:31:51] local.INFO: IMEI packet received {"connection_id":129022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":129022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:32:05] local.INFO: TCP Data received {"connection_id":129023,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:32:05] local.INFO: Processing buffer {"connection_id":129023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:32:05] local.INFO: IMEI packet received {"connection_id":129023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":129023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:32:10] local.INFO: TCP Data received {"connection_id":129023,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:32:10] local.INFO: Processing buffer {"connection_id":129023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:32:10] local.INFO: IMEI packet received {"connection_id":129023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":129023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:32:10] local.INFO: TCP Data received {"connection_id":129023,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:32:10] local.INFO: Processing buffer {"connection_id":129023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:32:10] local.INFO: Packet analysis {"connection_id":129023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:32:10] local.INFO: Extracted packet for processing {"connection_id":129023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:32:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":129023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:32:10] local.INFO: GPS data processed {"connection_id":129023,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:32:10] local.INFO: Acknowledgment sent {"connection_id":129023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:32:41] local.INFO: TCP Data received {"connection_id":129023,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:32:41] local.INFO: Processing buffer {"connection_id":129023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:32:41] local.INFO: Packet analysis {"connection_id":129023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:32:41] local.INFO: Extracted packet for processing {"connection_id":129023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:32:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":129023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:32:41] local.INFO: GPS data processed {"connection_id":129023,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:32:41] local.INFO: Acknowledgment sent {"connection_id":129023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:33:05] local.INFO: TCP Data received {"connection_id":128122,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:33:05] local.INFO: Processing buffer {"connection_id":128122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:33:05] local.INFO: IMEI packet received {"connection_id":128122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":128122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:33:10] local.INFO: TCP Data received {"connection_id":128122,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:33:10] local.INFO: Processing buffer {"connection_id":128122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:33:10] local.INFO: IMEI packet received {"connection_id":128122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":128122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:33:11] local.INFO: TCP Data received {"connection_id":128122,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:33:11] local.INFO: Processing buffer {"connection_id":128122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:33:11] local.INFO: Packet analysis {"connection_id":128122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:33:11] local.INFO: Extracted packet for processing {"connection_id":128122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":128122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:33:11] local.INFO: GPS data processed {"connection_id":128122,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:33:11] local.INFO: Acknowledgment sent {"connection_id":128122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:33:42] local.INFO: TCP Data received {"connection_id":128122,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:33:42] local.INFO: Processing buffer {"connection_id":128122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:33:42] local.INFO: Packet analysis {"connection_id":128122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:33:42] local.INFO: Extracted packet for processing {"connection_id":128122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":128122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:33:42] local.INFO: GPS data processed {"connection_id":128122,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:33:42] local.INFO: Acknowledgment sent {"connection_id":128122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:34:10] local.INFO: TCP Data received {"connection_id":130273,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:34:10] local.INFO: Processing buffer {"connection_id":130273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:34:10] local.INFO: IMEI packet received {"connection_id":130273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":130273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:34:15] local.INFO: TCP Data received {"connection_id":130273,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:34:15] local.INFO: Processing buffer {"connection_id":130273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:34:15] local.INFO: IMEI packet received {"connection_id":130273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":130273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:34:16] local.INFO: TCP Data received {"connection_id":130273,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:34:16] local.INFO: Processing buffer {"connection_id":130273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7807c8012cb29ac007823b28004700db29..."} 
[2026-07-11 05:34:16] local.INFO: Packet analysis {"connection_id":130273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:34:16] local.INFO: Extracted packet for processing {"connection_id":130273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e78"} 
[2026-07-11 05:34:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634269696001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:34:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783727917000,"timestamp_ms":1783727917000,"timestamp_seconds":1783727917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7807c8"} 
[2026-07-11 05:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634269696001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634269696001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:34:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:34:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634269696001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":130273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:34:16] local.INFO: GPS data processed {"connection_id":130273,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:34:16] local.INFO: Acknowledgment sent {"connection_id":130273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:34:47] local.INFO: TCP Data received {"connection_id":130273,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:34:47] local.INFO: Processing buffer {"connection_id":130273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:34:47] local.INFO: Packet analysis {"connection_id":130273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:34:47] local.INFO: Extracted packet for processing {"connection_id":130273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:34:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:34:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:34:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:34:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":130273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:34:47] local.INFO: GPS data processed {"connection_id":130273,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:34:47] local.INFO: Acknowledgment sent {"connection_id":130273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:35:05] local.INFO: TCP Data received {"connection_id":128314,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:35:05] local.INFO: Processing buffer {"connection_id":128314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:35:05] local.INFO: IMEI packet received {"connection_id":128314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":128314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:35:10] local.INFO: TCP Data received {"connection_id":128314,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:35:10] local.INFO: Processing buffer {"connection_id":128314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:35:10] local.INFO: IMEI packet received {"connection_id":128314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":128314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:35:11] local.INFO: TCP Data received {"connection_id":128314,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:35:11] local.INFO: Processing buffer {"connection_id":128314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:35:11] local.INFO: Packet analysis {"connection_id":128314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:35:11] local.INFO: Extracted packet for processing {"connection_id":128314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:35:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:35:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":128314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:35:11] local.INFO: GPS data processed {"connection_id":128314,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:35:11] local.INFO: Acknowledgment sent {"connection_id":128314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:35:42] local.INFO: TCP Data received {"connection_id":128314,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:35:42] local.INFO: Processing buffer {"connection_id":128314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:35:42] local.INFO: Packet analysis {"connection_id":128314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:35:42] local.INFO: Extracted packet for processing {"connection_id":128314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:35:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:35:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":128314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:35:42] local.INFO: GPS data processed {"connection_id":128314,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:35:42] local.INFO: Acknowledgment sent {"connection_id":128314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:36:06] local.INFO: TCP Data received {"connection_id":130274,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:36:06] local.INFO: Processing buffer {"connection_id":130274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:36:06] local.INFO: IMEI packet received {"connection_id":130274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":130274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:36:10] local.INFO: TCP Data received {"connection_id":130274,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:36:10] local.INFO: Processing buffer {"connection_id":130274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:36:10] local.INFO: IMEI packet received {"connection_id":130274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":130274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:36:10] local.INFO: TCP Data received {"connection_id":130274,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:36:10] local.INFO: Processing buffer {"connection_id":130274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:36:10] local.INFO: Packet analysis {"connection_id":130274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:36:10] local.INFO: Extracted packet for processing {"connection_id":130274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:36:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":130274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:36:10] local.INFO: GPS data processed {"connection_id":130274,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:36:10] local.INFO: Acknowledgment sent {"connection_id":130274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:36:41] local.INFO: TCP Data received {"connection_id":130274,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:36:41] local.INFO: Processing buffer {"connection_id":130274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:36:41] local.INFO: Packet analysis {"connection_id":130274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:36:41] local.INFO: Extracted packet for processing {"connection_id":130274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:36:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":130274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:36:41] local.INFO: GPS data processed {"connection_id":130274,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:36:41] local.INFO: Acknowledgment sent {"connection_id":130274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:37:05] local.INFO: TCP Data received {"connection_id":128316,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:37:05] local.INFO: Processing buffer {"connection_id":128316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:37:05] local.INFO: IMEI packet received {"connection_id":128316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":128316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:37:10] local.INFO: TCP Data received {"connection_id":128316,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:37:10] local.INFO: Processing buffer {"connection_id":128316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:37:10] local.INFO: IMEI packet received {"connection_id":128316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":128316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:37:11] local.INFO: TCP Data received {"connection_id":128316,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:37:11] local.INFO: Processing buffer {"connection_id":128316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:37:11] local.INFO: Packet analysis {"connection_id":128316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:37:11] local.INFO: Extracted packet for processing {"connection_id":128316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:37:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":128316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:37:11] local.INFO: GPS data processed {"connection_id":128316,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:37:11] local.INFO: Acknowledgment sent {"connection_id":128316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:37:22] local.INFO: TCP Data received {"connection_id":129026,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:37:22] local.INFO: Processing buffer {"connection_id":129026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:37:22] local.INFO: IMEI packet received {"connection_id":129026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":129026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:37:42] local.INFO: TCP Data received {"connection_id":128316,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:37:42] local.INFO: Processing buffer {"connection_id":128316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:37:42] local.INFO: Packet analysis {"connection_id":128316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:37:42] local.INFO: Extracted packet for processing {"connection_id":128316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":128316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:37:42] local.INFO: GPS data processed {"connection_id":128316,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:37:42] local.INFO: Acknowledgment sent {"connection_id":128316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:37:46] local.INFO: TCP Data received {"connection_id":128317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:37:46] local.INFO: Processing buffer {"connection_id":128317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:37:46] local.INFO: IMEI packet received {"connection_id":128317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":128317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:38:05] local.INFO: TCP Data received {"connection_id":128124,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:38:05] local.INFO: Processing buffer {"connection_id":128124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:38:05] local.INFO: IMEI packet received {"connection_id":128124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:38:10] local.INFO: TCP Data received {"connection_id":128124,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:38:10] local.INFO: Processing buffer {"connection_id":128124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:38:10] local.INFO: IMEI packet received {"connection_id":128124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":128124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:38:11] local.INFO: TCP Data received {"connection_id":128124,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:38:11] local.INFO: Processing buffer {"connection_id":128124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:38:11] local.INFO: Packet analysis {"connection_id":128124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:38:11] local.INFO: Extracted packet for processing {"connection_id":128124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":128124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:38:11] local.INFO: GPS data processed {"connection_id":128124,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:38:11] local.INFO: Acknowledgment sent {"connection_id":128124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:38:42] local.INFO: TCP Data received {"connection_id":128124,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:38:42] local.INFO: Processing buffer {"connection_id":128124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:38:42] local.INFO: Packet analysis {"connection_id":128124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:38:42] local.INFO: Extracted packet for processing {"connection_id":128124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:38:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":128124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:38:42] local.INFO: GPS data processed {"connection_id":128124,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:38:42] local.INFO: Acknowledgment sent {"connection_id":128124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:39:10] local.INFO: TCP Data received {"connection_id":129027,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:39:10] local.INFO: Processing buffer {"connection_id":129027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:39:10] local.INFO: IMEI packet received {"connection_id":129027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":129027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:39:15] local.INFO: TCP Data received {"connection_id":129027,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:39:15] local.INFO: Processing buffer {"connection_id":129027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:39:15] local.INFO: IMEI packet received {"connection_id":129027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":129027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:39:16] local.INFO: TCP Data received {"connection_id":129027,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:39:16] local.INFO: Processing buffer {"connection_id":129027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e7c9f90012cb29ac007823b28004700db27..."} 
[2026-07-11 05:39:16] local.INFO: Packet analysis {"connection_id":129027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:39:16] local.INFO: Extracted packet for processing {"connection_id":129027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e7c"} 
[2026-07-11 05:39:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634346752001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783728218000,"timestamp_ms":1783728218000,"timestamp_seconds":1783728218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e7c9f90"} 
[2026-07-11 05:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634346752001,"66":25191,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634346752001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:39:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634346752001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":129027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:39:16] local.INFO: GPS data processed {"connection_id":129027,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:39:16] local.INFO: Acknowledgment sent {"connection_id":129027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:39:17] local.INFO: TCP Data received {"connection_id":129027,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:39:17] local.INFO: Processing buffer {"connection_id":129027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:39:17] local.INFO: Packet analysis {"connection_id":129027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:39:17] local.INFO: Extracted packet for processing {"connection_id":129027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:39:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:39:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:39:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:39:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":129027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:39:17] local.INFO: GPS data processed {"connection_id":129027,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:39:17] local.INFO: Acknowledgment sent {"connection_id":129027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:39:48] local.INFO: TCP Data received {"connection_id":129027,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:39:48] local.INFO: Processing buffer {"connection_id":129027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:39:48] local.INFO: Packet analysis {"connection_id":129027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:39:48] local.INFO: Extracted packet for processing {"connection_id":129027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:39:48] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:39:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":129027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":129027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":129027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:39:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:39:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":129027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:39:48] local.INFO: GPS data processed {"connection_id":129027,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:39:48] local.INFO: Acknowledgment sent {"connection_id":129027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:40:05] local.INFO: TCP Data received {"connection_id":129029,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:40:05] local.INFO: Processing buffer {"connection_id":129029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:40:05] local.INFO: IMEI packet received {"connection_id":129029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":129029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:40:10] local.INFO: TCP Data received {"connection_id":129029,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:40:10] local.INFO: Processing buffer {"connection_id":129029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:40:10] local.INFO: IMEI packet received {"connection_id":129029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":129029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:40:10] local.INFO: TCP Data received {"connection_id":129029,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:40:10] local.INFO: Processing buffer {"connection_id":129029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:40:10] local.INFO: Packet analysis {"connection_id":129029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:40:10] local.INFO: Extracted packet for processing {"connection_id":129029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:40: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-07-11 05:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:40:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":129029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:40:10] local.INFO: GPS data processed {"connection_id":129029,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:40:10] local.INFO: Acknowledgment sent {"connection_id":129029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:40:41] local.INFO: TCP Data received {"connection_id":129029,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:40:41] local.INFO: Processing buffer {"connection_id":129029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:40:41] local.INFO: Packet analysis {"connection_id":129029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:40:41] local.INFO: Extracted packet for processing {"connection_id":129029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05: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":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:40: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-07-11 05:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:40:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":129029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:40:41] local.INFO: GPS data processed {"connection_id":129029,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:40:41] local.INFO: Acknowledgment sent {"connection_id":129029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:41:06] local.INFO: TCP Data received {"connection_id":130276,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:41:06] local.INFO: Processing buffer {"connection_id":130276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:41:06] local.INFO: IMEI packet received {"connection_id":130276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":130276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:41:10] local.INFO: TCP Data received {"connection_id":130276,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:41:10] local.INFO: Processing buffer {"connection_id":130276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:41:10] local.INFO: IMEI packet received {"connection_id":130276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":130276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:41:11] local.INFO: TCP Data received {"connection_id":130276,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:41:11] local.INFO: Processing buffer {"connection_id":130276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:41:11] local.INFO: Packet analysis {"connection_id":130276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:41:11] local.INFO: Extracted packet for processing {"connection_id":130276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":130276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:41:11] local.INFO: GPS data processed {"connection_id":130276,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:41:11] local.INFO: Acknowledgment sent {"connection_id":130276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:41:42] local.INFO: TCP Data received {"connection_id":130276,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:41:42] local.INFO: Processing buffer {"connection_id":130276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:41:42] local.INFO: Packet analysis {"connection_id":130276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:41:42] local.INFO: Extracted packet for processing {"connection_id":130276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:41:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":130276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:41:42] local.INFO: GPS data processed {"connection_id":130276,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:41:42] local.INFO: Acknowledgment sent {"connection_id":130276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:42:05] local.INFO: TCP Data received {"connection_id":128318,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:42:05] local.INFO: Processing buffer {"connection_id":128318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:42:05] local.INFO: IMEI packet received {"connection_id":128318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":128318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:42:10] local.INFO: TCP Data received {"connection_id":128318,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:42:10] local.INFO: Processing buffer {"connection_id":128318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:42:10] local.INFO: IMEI packet received {"connection_id":128318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":128318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:42:10] local.INFO: TCP Data received {"connection_id":128318,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:42:10] local.INFO: Processing buffer {"connection_id":128318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:42:10] local.INFO: Packet analysis {"connection_id":128318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:42:10] local.INFO: Extracted packet for processing {"connection_id":128318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":128318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:42:11] local.INFO: GPS data processed {"connection_id":128318,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:42:11] local.INFO: Acknowledgment sent {"connection_id":128318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:42:42] local.INFO: TCP Data received {"connection_id":128318,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:42:42] local.INFO: Processing buffer {"connection_id":128318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:42:42] local.INFO: Packet analysis {"connection_id":128318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:42:42] local.INFO: Extracted packet for processing {"connection_id":128318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":128318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:42:42] local.INFO: GPS data processed {"connection_id":128318,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:42:42] local.INFO: Acknowledgment sent {"connection_id":128318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:43:05] local.INFO: TCP Data received {"connection_id":129030,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:43:05] local.INFO: Processing buffer {"connection_id":129030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:43:05] local.INFO: IMEI packet received {"connection_id":129030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":129030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:43:10] local.INFO: TCP Data received {"connection_id":129030,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:43:10] local.INFO: Processing buffer {"connection_id":129030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:43:10] local.INFO: IMEI packet received {"connection_id":129030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":129030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:43:11] local.INFO: TCP Data received {"connection_id":129030,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:43:11] local.INFO: Processing buffer {"connection_id":129030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:43:11] local.INFO: Packet analysis {"connection_id":129030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:43:11] local.INFO: Extracted packet for processing {"connection_id":129030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":129030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:43:11] local.INFO: GPS data processed {"connection_id":129030,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:43:11] local.INFO: Acknowledgment sent {"connection_id":129030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:43:16] local.INFO: TCP Data received {"connection_id":130277,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:43:16] local.INFO: Processing buffer {"connection_id":130277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:43:16] local.INFO: IMEI packet received {"connection_id":130277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":130277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:43:42] local.INFO: TCP Data received {"connection_id":129030,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:43:42] local.INFO: Processing buffer {"connection_id":129030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:43:42] local.INFO: Packet analysis {"connection_id":129030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:43:42] local.INFO: Extracted packet for processing {"connection_id":129030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:43:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":129030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:43:42] local.INFO: GPS data processed {"connection_id":129030,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:43:42] local.INFO: Acknowledgment sent {"connection_id":129030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:43:46] local.INFO: TCP Data received {"connection_id":128127,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:43:46] local.INFO: Processing buffer {"connection_id":128127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:43:46] local.INFO: IMEI packet received {"connection_id":128127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":128127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:44:10] local.INFO: TCP Data received {"connection_id":128128,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:44:10] local.INFO: Processing buffer {"connection_id":128128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:44:10] local.INFO: IMEI packet received {"connection_id":128128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":128128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:44:15] local.INFO: TCP Data received {"connection_id":128128,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:44:15] local.INFO: Processing buffer {"connection_id":128128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:44:15] local.INFO: IMEI packet received {"connection_id":128128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":128128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:44:16] local.INFO: TCP Data received {"connection_id":128128,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:44:16] local.INFO: Processing buffer {"connection_id":128128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e813758012cb29ac007823b28004700db27..."} 
[2026-07-11 05:44:16] local.INFO: Packet analysis {"connection_id":128128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:44:16] local.INFO: Extracted packet for processing {"connection_id":128128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e81"} 
[2026-07-11 05:44:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634423808001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:44:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783728519000,"timestamp_ms":1783728519000,"timestamp_seconds":1783728519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e813758"} 
[2026-07-11 05:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 05:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634423808001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634423808001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:44:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:44:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634423808001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":128128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:44:16] local.INFO: GPS data processed {"connection_id":128128,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:44:16] local.INFO: Acknowledgment sent {"connection_id":128128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:44:47] local.INFO: TCP Data received {"connection_id":128128,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:44:47] local.INFO: Processing buffer {"connection_id":128128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:44:47] local.INFO: Packet analysis {"connection_id":128128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:44:47] local.INFO: Extracted packet for processing {"connection_id":128128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:44:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:44:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":128128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:44:47] local.INFO: GPS data processed {"connection_id":128128,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:44:47] local.INFO: Acknowledgment sent {"connection_id":128128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:45:05] local.INFO: TCP Data received {"connection_id":128319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:45:05] local.INFO: Processing buffer {"connection_id":128319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:45:05] local.INFO: IMEI packet received {"connection_id":128319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":128319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:45:10] local.INFO: TCP Data received {"connection_id":128319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:45:10] local.INFO: Processing buffer {"connection_id":128319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:45:10] local.INFO: IMEI packet received {"connection_id":128319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":128319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:45:11] local.INFO: TCP Data received {"connection_id":128319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:45:11] local.INFO: Processing buffer {"connection_id":128319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:45:11] local.INFO: Packet analysis {"connection_id":128319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:45:11] local.INFO: Extracted packet for processing {"connection_id":128319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":128319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:45:11] local.INFO: GPS data processed {"connection_id":128319,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:45:11] local.INFO: Acknowledgment sent {"connection_id":128319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:45:42] local.INFO: TCP Data received {"connection_id":128319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:45:42] local.INFO: Processing buffer {"connection_id":128319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:45:42] local.INFO: Packet analysis {"connection_id":128319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:45:42] local.INFO: Extracted packet for processing {"connection_id":128319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":128319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:45:42] local.INFO: GPS data processed {"connection_id":128319,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:45:42] local.INFO: Acknowledgment sent {"connection_id":128319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:46:05] local.INFO: TCP Data received {"connection_id":129033,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:46:05] local.INFO: Processing buffer {"connection_id":129033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:46:05] local.INFO: IMEI packet received {"connection_id":129033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":129033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:46:10] local.INFO: TCP Data received {"connection_id":129033,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:46:10] local.INFO: Processing buffer {"connection_id":129033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:46:10] local.INFO: IMEI packet received {"connection_id":129033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":129033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:46:10] local.INFO: TCP Data received {"connection_id":129033,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:46:10] local.INFO: Processing buffer {"connection_id":129033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:46:10] local.INFO: Packet analysis {"connection_id":129033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:46:10] local.INFO: Extracted packet for processing {"connection_id":129033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:46:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":129033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:46:10] local.INFO: GPS data processed {"connection_id":129033,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:46:10] local.INFO: Acknowledgment sent {"connection_id":129033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:46:42] local.INFO: TCP Data received {"connection_id":129033,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:46:42] local.INFO: Processing buffer {"connection_id":129033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:46:42] local.INFO: Packet analysis {"connection_id":129033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:46:42] local.INFO: Extracted packet for processing {"connection_id":129033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:46:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:46:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":129033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:46:42] local.INFO: GPS data processed {"connection_id":129033,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:46:42] local.INFO: Acknowledgment sent {"connection_id":129033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:47:05] local.INFO: TCP Data received {"connection_id":128320,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:47:05] local.INFO: Processing buffer {"connection_id":128320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:47:05] local.INFO: IMEI packet received {"connection_id":128320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:47:10] local.INFO: TCP Data received {"connection_id":128320,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:47:10] local.INFO: Processing buffer {"connection_id":128320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:47:10] local.INFO: IMEI packet received {"connection_id":128320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":128320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:47:11] local.INFO: TCP Data received {"connection_id":128320,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:47:11] local.INFO: Processing buffer {"connection_id":128320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:47:11] local.INFO: Packet analysis {"connection_id":128320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:47:11] local.INFO: Extracted packet for processing {"connection_id":128320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":128320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:47:11] local.INFO: GPS data processed {"connection_id":128320,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:47:11] local.INFO: Acknowledgment sent {"connection_id":128320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:47:42] local.INFO: TCP Data received {"connection_id":128320,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:47:42] local.INFO: Processing buffer {"connection_id":128320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:47:42] local.INFO: Packet analysis {"connection_id":128320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:47:42] local.INFO: Extracted packet for processing {"connection_id":128320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":128320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:47:42] local.INFO: GPS data processed {"connection_id":128320,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:47:42] local.INFO: Acknowledgment sent {"connection_id":128320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:48:10] local.INFO: TCP Data received {"connection_id":128130,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:48:10] local.INFO: Processing buffer {"connection_id":128130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:48:10] local.INFO: IMEI packet received {"connection_id":128130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":128130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:48:15] local.INFO: TCP Data received {"connection_id":128130,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:48:15] local.INFO: Processing buffer {"connection_id":128130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:48:15] local.INFO: IMEI packet received {"connection_id":128130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":128130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:48:16] local.INFO: TCP Data received {"connection_id":128130,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:48:16] local.INFO: Processing buffer {"connection_id":128130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:48:16] local.INFO: Packet analysis {"connection_id":128130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:48:16] local.INFO: Extracted packet for processing {"connection_id":128130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:48:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:48:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":128130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:48:16] local.INFO: GPS data processed {"connection_id":128130,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:48:16] local.INFO: Acknowledgment sent {"connection_id":128130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:48:20] local.INFO: TCP Data received {"connection_id":128130,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:48:20] local.INFO: Processing buffer {"connection_id":128130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:48:20] local.INFO: Packet analysis {"connection_id":128130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:48:20] local.INFO: Extracted packet for processing {"connection_id":128130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:48:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":128130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:48:20] local.INFO: GPS data processed {"connection_id":128130,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:48:20] local.INFO: Acknowledgment sent {"connection_id":128130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:48:25] local.INFO: TCP Data received {"connection_id":128130,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:48:25] local.INFO: Processing buffer {"connection_id":128130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:48:25] local.INFO: Packet analysis {"connection_id":128130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:48:25] local.INFO: Extracted packet for processing {"connection_id":128130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:48:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:48:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":128130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":128130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":128130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:48:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:48:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":128130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:48:25] local.INFO: GPS data processed {"connection_id":128130,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:48:25] local.INFO: Acknowledgment sent {"connection_id":128130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:49:05] local.INFO: TCP Data received {"connection_id":128321,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:49:05] local.INFO: Processing buffer {"connection_id":128321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:49:05] local.INFO: IMEI packet received {"connection_id":128321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":128321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:49:10] local.INFO: TCP Data received {"connection_id":128321,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:49:10] local.INFO: Processing buffer {"connection_id":128321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:49:10] local.INFO: IMEI packet received {"connection_id":128321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":128321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:49:11] local.INFO: TCP Data received {"connection_id":128321,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:49:11] local.INFO: Processing buffer {"connection_id":128321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e85cf20012cb29ac007823b28004700db29..."} 
[2026-07-11 05:49:11] local.INFO: Packet analysis {"connection_id":128321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:49:11] local.INFO: Extracted packet for processing {"connection_id":128321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e85"} 
[2026-07-11 05:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634500864001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783728820000,"timestamp_ms":1783728820000,"timestamp_seconds":1783728820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e85cf20"} 
[2026-07-11 05:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634500864001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634500864001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:49:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634500864001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":128321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:49:11] local.INFO: GPS data processed {"connection_id":128321,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:49:11] local.INFO: Acknowledgment sent {"connection_id":128321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:49:16] local.INFO: TCP Data received {"connection_id":128131,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:49:16] local.INFO: Processing buffer {"connection_id":128131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:49:16] local.INFO: IMEI packet received {"connection_id":128131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":128131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:49:41] local.INFO: TCP Data received {"connection_id":128321,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:49:41] local.INFO: Processing buffer {"connection_id":128321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:49:41] local.INFO: Packet analysis {"connection_id":128321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:49:41] local.INFO: Extracted packet for processing {"connection_id":128321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:49:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":128321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:49:41] local.INFO: GPS data processed {"connection_id":128321,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:49:41] local.INFO: Acknowledgment sent {"connection_id":128321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:49:46] local.INFO: TCP Data received {"connection_id":128322,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:49:46] local.INFO: Processing buffer {"connection_id":128322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:49:46] local.INFO: IMEI packet received {"connection_id":128322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":128322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:50:05] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:50:05] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:50:05] local.INFO: IMEI packet received {"connection_id":130278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":130278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:50:10] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:50:10] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:50:10] local.INFO: IMEI packet received {"connection_id":130278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":130278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:50:10] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:50:10] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:50:10] local.INFO: Packet analysis {"connection_id":130278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:50:10] local.INFO: Extracted packet for processing {"connection_id":130278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:50:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":130278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:50:10] local.INFO: GPS data processed {"connection_id":130278,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:50:10] local.INFO: Acknowledgment sent {"connection_id":130278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:50:41] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:50:41] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:50:41] local.INFO: Packet analysis {"connection_id":130278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:50:41] local.INFO: Extracted packet for processing {"connection_id":130278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:50:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":130278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:50:41] local.INFO: GPS data processed {"connection_id":130278,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:50:41] local.INFO: Acknowledgment sent {"connection_id":130278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:51:05] local.INFO: TCP Data received {"connection_id":128132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:51:05] local.INFO: Processing buffer {"connection_id":128132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:51:05] local.INFO: IMEI packet received {"connection_id":128132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":128132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:51:10] local.INFO: TCP Data received {"connection_id":128132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:51:10] local.INFO: Processing buffer {"connection_id":128132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:51:10] local.INFO: IMEI packet received {"connection_id":128132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":128132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:51:11] local.INFO: TCP Data received {"connection_id":128132,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:51:11] local.INFO: Processing buffer {"connection_id":128132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:51:11] local.INFO: Packet analysis {"connection_id":128132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:51:11] local.INFO: Extracted packet for processing {"connection_id":128132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:51:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":128132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:51:11] local.INFO: GPS data processed {"connection_id":128132,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:51:11] local.INFO: Acknowledgment sent {"connection_id":128132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:51:42] local.INFO: TCP Data received {"connection_id":128132,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:51:42] local.INFO: Processing buffer {"connection_id":128132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:51:42] local.INFO: Packet analysis {"connection_id":128132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:51:42] local.INFO: Extracted packet for processing {"connection_id":128132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:51:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":128132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:51:42] local.INFO: GPS data processed {"connection_id":128132,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:51:42] local.INFO: Acknowledgment sent {"connection_id":128132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:52:05] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:52:05] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:52:05] local.INFO: IMEI packet received {"connection_id":130279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":130279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:52:10] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:52:10] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:52:10] local.INFO: IMEI packet received {"connection_id":130279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":130279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:52:10] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:52:10] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:52:10] local.INFO: Packet analysis {"connection_id":130279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:52:10] local.INFO: Extracted packet for processing {"connection_id":130279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:52:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":130279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:52:10] local.INFO: GPS data processed {"connection_id":130279,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:52:10] local.INFO: Acknowledgment sent {"connection_id":130279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:52:42] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:52:42] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:52:42] local.INFO: Packet analysis {"connection_id":130279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:52:42] local.INFO: Extracted packet for processing {"connection_id":130279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:52:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":130279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:52:42] local.INFO: GPS data processed {"connection_id":130279,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:52:42] local.INFO: Acknowledgment sent {"connection_id":130279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:53:10] local.INFO: TCP Data received {"connection_id":128134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:53:10] local.INFO: Processing buffer {"connection_id":128134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:53:10] local.INFO: IMEI packet received {"connection_id":128134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":128134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:53:15] local.INFO: TCP Data received {"connection_id":128134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:53:15] local.INFO: Processing buffer {"connection_id":128134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:53:15] local.INFO: IMEI packet received {"connection_id":128134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":128134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:53:16] local.INFO: TCP Data received {"connection_id":128134,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:53:16] local.INFO: Processing buffer {"connection_id":128134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:53:16] local.INFO: Packet analysis {"connection_id":128134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:53:16] local.INFO: Extracted packet for processing {"connection_id":128134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:53:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:53:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:53:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:53:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":128134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:53:16] local.INFO: GPS data processed {"connection_id":128134,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:53:16] local.INFO: Acknowledgment sent {"connection_id":128134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:53:20] local.INFO: TCP Data received {"connection_id":128134,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:53:20] local.INFO: Processing buffer {"connection_id":128134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:53:20] local.INFO: Packet analysis {"connection_id":128134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:53:20] local.INFO: Extracted packet for processing {"connection_id":128134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:53:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:53:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":128134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:53:20] local.INFO: GPS data processed {"connection_id":128134,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:53:20] local.INFO: Acknowledgment sent {"connection_id":128134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:54:05] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:54:05] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:54:05] local.INFO: IMEI packet received {"connection_id":130281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":130281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:54:10] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:54:10] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:54:10] local.INFO: IMEI packet received {"connection_id":130281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":130281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:54:10] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:54:10] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8a66e8012cb29ac007823b28004700db28..."} 
[2026-07-11 05:54:10] local.INFO: Packet analysis {"connection_id":130281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:54:10] local.INFO: Extracted packet for processing {"connection_id":130281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8a"} 
[2026-07-11 05:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634577920001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783729121000,"timestamp_ms":1783729121000,"timestamp_seconds":1783729121,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8a66e8"} 
[2026-07-11 05:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 05:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634577920001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634577920001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:54:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634577920001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":130281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:54:10] local.INFO: GPS data processed {"connection_id":130281,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:54:10] local.INFO: Acknowledgment sent {"connection_id":130281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:54:41] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:54:41] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:54:41] local.INFO: Packet analysis {"connection_id":130281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:54:41] local.INFO: Extracted packet for processing {"connection_id":130281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:54:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":130281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:54:41] local.INFO: GPS data processed {"connection_id":130281,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:54:41] local.INFO: Acknowledgment sent {"connection_id":130281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:55:05] local.INFO: TCP Data received {"connection_id":130283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:55:05] local.INFO: Processing buffer {"connection_id":130283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:55:05] local.INFO: IMEI packet received {"connection_id":130283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":130283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:55:10] local.INFO: TCP Data received {"connection_id":130283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:55:10] local.INFO: Processing buffer {"connection_id":130283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:55:10] local.INFO: IMEI packet received {"connection_id":130283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":130283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:55:11] local.INFO: TCP Data received {"connection_id":130283,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:55:11] local.INFO: Processing buffer {"connection_id":130283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:55:11] local.INFO: Packet analysis {"connection_id":130283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:55:11] local.INFO: Extracted packet for processing {"connection_id":130283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":130283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:55:11] local.INFO: GPS data processed {"connection_id":130283,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:55:11] local.INFO: Acknowledgment sent {"connection_id":130283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:55:16] local.INFO: TCP Data received {"connection_id":130282,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:55:16] local.INFO: Processing buffer {"connection_id":130282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:55:16] local.INFO: IMEI packet received {"connection_id":130282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":130282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:55:42] local.INFO: TCP Data received {"connection_id":130283,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:55:42] local.INFO: Processing buffer {"connection_id":130283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:55:42] local.INFO: Packet analysis {"connection_id":130283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:55:42] local.INFO: Extracted packet for processing {"connection_id":130283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":130283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:55:42] local.INFO: GPS data processed {"connection_id":130283,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:55:42] local.INFO: Acknowledgment sent {"connection_id":130283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:55:46] local.INFO: TCP Data received {"connection_id":128325,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:55:46] local.INFO: Processing buffer {"connection_id":128325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 05:55:46] local.INFO: IMEI packet received {"connection_id":128325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 05:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":128325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:56:05] local.INFO: TCP Data received {"connection_id":128135,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:56:05] local.INFO: Processing buffer {"connection_id":128135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:56:05] local.INFO: IMEI packet received {"connection_id":128135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":128135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:56:10] local.INFO: TCP Data received {"connection_id":128135,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:56:10] local.INFO: Processing buffer {"connection_id":128135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:56:10] local.INFO: IMEI packet received {"connection_id":128135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":128135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:56:10] local.INFO: TCP Data received {"connection_id":128135,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:56:10] local.INFO: Processing buffer {"connection_id":128135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:56:10] local.INFO: Packet analysis {"connection_id":128135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:56:10] local.INFO: Extracted packet for processing {"connection_id":128135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:56:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":128135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:56:10] local.INFO: GPS data processed {"connection_id":128135,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:56:10] local.INFO: Acknowledgment sent {"connection_id":128135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:56:41] local.INFO: TCP Data received {"connection_id":128135,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:56:41] local.INFO: Processing buffer {"connection_id":128135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:56:41] local.INFO: Packet analysis {"connection_id":128135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:56:41] local.INFO: Extracted packet for processing {"connection_id":128135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:56:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":128135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:56:41] local.INFO: GPS data processed {"connection_id":128135,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:56:41] local.INFO: Acknowledgment sent {"connection_id":128135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:57:05] local.INFO: TCP Data received {"connection_id":128326,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:57:05] local.INFO: Processing buffer {"connection_id":128326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:57:05] local.INFO: IMEI packet received {"connection_id":128326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":128326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:57:10] local.INFO: TCP Data received {"connection_id":128326,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:57:10] local.INFO: Processing buffer {"connection_id":128326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:57:10] local.INFO: IMEI packet received {"connection_id":128326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":128326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:57:11] local.INFO: TCP Data received {"connection_id":128326,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:57:11] local.INFO: Processing buffer {"connection_id":128326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:57:11] local.INFO: Packet analysis {"connection_id":128326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:57:11] local.INFO: Extracted packet for processing {"connection_id":128326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":128326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:57:11] local.INFO: GPS data processed {"connection_id":128326,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:57:11] local.INFO: Acknowledgment sent {"connection_id":128326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:57:42] local.INFO: TCP Data received {"connection_id":128326,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:57:42] local.INFO: Processing buffer {"connection_id":128326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:57:42] local.INFO: Packet analysis {"connection_id":128326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:57:42] local.INFO: Extracted packet for processing {"connection_id":128326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":128326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:57:42] local.INFO: GPS data processed {"connection_id":128326,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:57:42] local.INFO: Acknowledgment sent {"connection_id":128326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:58:10] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:58:10] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:58:10] local.INFO: IMEI packet received {"connection_id":130285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":130285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:58:15] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:58:15] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:58:15] local.INFO: IMEI packet received {"connection_id":130285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":130285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:58:16] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:58:16] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:58:16] local.INFO: Packet analysis {"connection_id":130285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:58:16] local.INFO: Extracted packet for processing {"connection_id":130285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:58:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:58:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:58:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":130285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:58:16] local.INFO: GPS data processed {"connection_id":130285,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:58:16] local.INFO: Acknowledgment sent {"connection_id":130285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:58:47] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:58:47] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:58:47] local.INFO: Packet analysis {"connection_id":130285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:58:47] local.INFO: Extracted packet for processing {"connection_id":130285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:58:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:58:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:58:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":130285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:58:47] local.INFO: GPS data processed {"connection_id":130285,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:58:47] local.INFO: Acknowledgment sent {"connection_id":130285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:59:05] local.INFO: TCP Data received {"connection_id":129036,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:59:05] local.INFO: Processing buffer {"connection_id":129036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:59:05] local.INFO: IMEI packet received {"connection_id":129036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":129036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 05:59:10] local.INFO: TCP Data received {"connection_id":129036,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:59:10] local.INFO: Processing buffer {"connection_id":129036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 05:59:10] local.INFO: IMEI packet received {"connection_id":129036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 05:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":129036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 05:59:11] local.INFO: TCP Data received {"connection_id":129036,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:59:11] local.INFO: Processing buffer {"connection_id":129036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e8efeb0012cb29ac007823b28004700db2a..."} 
[2026-07-11 05:59:11] local.INFO: Packet analysis {"connection_id":129036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:59:11] local.INFO: Extracted packet for processing {"connection_id":129036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e8e"} 
[2026-07-11 05:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634654976001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783729422000,"timestamp_ms":1783729422000,"timestamp_seconds":1783729422,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e8efeb0"} 
[2026-07-11 05:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634654976001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634654976001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:59:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634654976001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":129036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:59:11] local.INFO: GPS data processed {"connection_id":129036,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:59:11] local.INFO: Acknowledgment sent {"connection_id":129036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 05:59:41] local.INFO: TCP Data received {"connection_id":129036,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 05:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 05:59:41] local.INFO: Processing buffer {"connection_id":129036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 05:59:41] local.INFO: Packet analysis {"connection_id":129036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 05:59:41] local.INFO: Extracted packet for processing {"connection_id":129036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 05:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 05:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 05:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 05:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 05:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 05:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 05:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 05:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 05:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 05:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 05:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 05:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 05:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 05:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 05:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 05:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 05:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 05:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 05:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 05:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 05:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 05:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 05:59:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 05:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 05:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 05:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 05:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 05:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":129036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 05:59:41] local.INFO: GPS data processed {"connection_id":129036,"processed":1,"errors":0,"total":1} 
[2026-07-11 05:59:41] local.INFO: Acknowledgment sent {"connection_id":129036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:00:06] local.INFO: TCP Data received {"connection_id":130286,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:00:06] local.INFO: Processing buffer {"connection_id":130286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:00:06] local.INFO: IMEI packet received {"connection_id":130286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":130286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:00:10] local.INFO: TCP Data received {"connection_id":130286,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:00:10] local.INFO: Processing buffer {"connection_id":130286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:00:10] local.INFO: IMEI packet received {"connection_id":130286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":130286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:00:10] local.INFO: TCP Data received {"connection_id":130286,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:00:11] local.INFO: Processing buffer {"connection_id":130286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:00:11] local.INFO: Packet analysis {"connection_id":130286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:00:11] local.INFO: Extracted packet for processing {"connection_id":130286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:00:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 06:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:00:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":130286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:00:11] local.INFO: GPS data processed {"connection_id":130286,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:00:11] local.INFO: Acknowledgment sent {"connection_id":130286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:00:42] local.INFO: TCP Data received {"connection_id":130286,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:00:42] local.INFO: Processing buffer {"connection_id":130286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:00:42] local.INFO: Packet analysis {"connection_id":130286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:00:42] local.INFO: Extracted packet for processing {"connection_id":130286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 06:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:00:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":130286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:00:42] local.INFO: GPS data processed {"connection_id":130286,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:00:42] local.INFO: Acknowledgment sent {"connection_id":130286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:01:05] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:01:05] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:01:05] local.INFO: IMEI packet received {"connection_id":130288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":130288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:01:10] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:01:10] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:01:10] local.INFO: IMEI packet received {"connection_id":130288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":130288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:01:11] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:01:11] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:01:11] local.INFO: Packet analysis {"connection_id":130288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:01:11] local.INFO: Extracted packet for processing {"connection_id":130288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 06:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":130288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:01:11] local.INFO: GPS data processed {"connection_id":130288,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:01:11] local.INFO: Acknowledgment sent {"connection_id":130288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:01:11] local.INFO: TCP Data received {"connection_id":130287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:01:11] local.INFO: Processing buffer {"connection_id":130287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:01:11] local.INFO: IMEI packet received {"connection_id":130287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":130287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:01:42] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:01:42] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:01:42] local.INFO: Packet analysis {"connection_id":130288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:01:42] local.INFO: Extracted packet for processing {"connection_id":130288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 06:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":130288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:01:42] local.INFO: GPS data processed {"connection_id":130288,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:01:42] local.INFO: Acknowledgment sent {"connection_id":130288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:01:46] local.INFO: TCP Data received {"connection_id":129038,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:01:46] local.INFO: Processing buffer {"connection_id":129038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:01:46] local.INFO: IMEI packet received {"connection_id":129038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":129038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:02:10] local.INFO: TCP Data received {"connection_id":128137,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:02:10] local.INFO: Processing buffer {"connection_id":128137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:02:10] local.INFO: IMEI packet received {"connection_id":128137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":128137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:02:15] local.INFO: TCP Data received {"connection_id":128137,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:02:15] local.INFO: Processing buffer {"connection_id":128137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:02:15] local.INFO: IMEI packet received {"connection_id":128137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":128137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:02:16] local.INFO: TCP Data received {"connection_id":128137,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:02:16] local.INFO: Processing buffer {"connection_id":128137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:02:16] local.INFO: Packet analysis {"connection_id":128137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:02:16] local.INFO: Extracted packet for processing {"connection_id":128137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:02:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:02:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 06:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:02:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:02:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":128137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:02:16] local.INFO: GPS data processed {"connection_id":128137,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:02:16] local.INFO: Acknowledgment sent {"connection_id":128137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:02:21] local.INFO: TCP Data received {"connection_id":128137,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:02:21] local.INFO: Processing buffer {"connection_id":128137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:02:21] local.INFO: Packet analysis {"connection_id":128137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:02:21] local.INFO: Extracted packet for processing {"connection_id":128137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:02:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 06:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:02:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":128137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:02:21] local.INFO: GPS data processed {"connection_id":128137,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:02:21] local.INFO: Acknowledgment sent {"connection_id":128137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:03:05] local.INFO: TCP Data received {"connection_id":128138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:03:05] local.INFO: Processing buffer {"connection_id":128138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:03:05] local.INFO: IMEI packet received {"connection_id":128138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:03:10] local.INFO: TCP Data received {"connection_id":128138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:03:10] local.INFO: Processing buffer {"connection_id":128138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:03:10] local.INFO: IMEI packet received {"connection_id":128138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":128138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:03:11] local.INFO: TCP Data received {"connection_id":128138,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:03:11] local.INFO: Processing buffer {"connection_id":128138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:03:11] local.INFO: Packet analysis {"connection_id":128138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:03:11] local.INFO: Extracted packet for processing {"connection_id":128138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 06:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:03:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":128138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:03:11] local.INFO: GPS data processed {"connection_id":128138,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:03:11] local.INFO: Acknowledgment sent {"connection_id":128138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:03:42] local.INFO: TCP Data received {"connection_id":128138,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:03:42] local.INFO: Processing buffer {"connection_id":128138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:03:42] local.INFO: Packet analysis {"connection_id":128138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:03:42] local.INFO: Extracted packet for processing {"connection_id":128138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 06:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:03:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":128138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:03:42] local.INFO: GPS data processed {"connection_id":128138,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:03:42] local.INFO: Acknowledgment sent {"connection_id":128138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:04:05] local.INFO: TCP Data received {"connection_id":130291,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:04:05] local.INFO: Processing buffer {"connection_id":130291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:04:05] local.INFO: IMEI packet received {"connection_id":130291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":130291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:04:10] local.INFO: TCP Data received {"connection_id":130291,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:04:10] local.INFO: Processing buffer {"connection_id":130291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:04:10] local.INFO: IMEI packet received {"connection_id":130291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":130291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:04:10] local.INFO: TCP Data received {"connection_id":130291,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:04:10] local.INFO: Processing buffer {"connection_id":130291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e939678012cb29ac007823b28004700db27..."} 
[2026-07-11 06:04:10] local.INFO: Packet analysis {"connection_id":130291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:04:10] local.INFO: Extracted packet for processing {"connection_id":130291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e93"} 
[2026-07-11 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634732032001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783729723000,"timestamp_ms":1783729723000,"timestamp_seconds":1783729723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e939678"} 
[2026-07-11 06:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634732032001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634732032001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:04:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634732032001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":130291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:04:10] local.INFO: GPS data processed {"connection_id":130291,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:04:10] local.INFO: Acknowledgment sent {"connection_id":130291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:04:41] local.INFO: TCP Data received {"connection_id":130291,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:04:41] local.INFO: Processing buffer {"connection_id":130291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:04:41] local.INFO: Packet analysis {"connection_id":130291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:04:41] local.INFO: Extracted packet for processing {"connection_id":130291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:04:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":130291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:04:41] local.INFO: GPS data processed {"connection_id":130291,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:04:41] local.INFO: Acknowledgment sent {"connection_id":130291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:05:05] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:05:05] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:05:05] local.INFO: IMEI packet received {"connection_id":130292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":130292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:05:10] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:05:10] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:05:10] local.INFO: IMEI packet received {"connection_id":130292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":130292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:05:11] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:05:11] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:05:11] local.INFO: Packet analysis {"connection_id":130292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:05:11] local.INFO: Extracted packet for processing {"connection_id":130292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":130292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:05:11] local.INFO: GPS data processed {"connection_id":130292,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:05:11] local.INFO: Acknowledgment sent {"connection_id":130292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:05:42] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:05:42] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:05:42] local.INFO: Packet analysis {"connection_id":130292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:05:42] local.INFO: Extracted packet for processing {"connection_id":130292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:05:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":130292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:05:42] local.INFO: GPS data processed {"connection_id":130292,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:05:42] local.INFO: Acknowledgment sent {"connection_id":130292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:06:10] local.INFO: TCP Data received {"connection_id":129039,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:06:10] local.INFO: Processing buffer {"connection_id":129039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:06:10] local.INFO: IMEI packet received {"connection_id":129039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":129039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:06:15] local.INFO: TCP Data received {"connection_id":129039,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:06:15] local.INFO: Processing buffer {"connection_id":129039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:06:15] local.INFO: IMEI packet received {"connection_id":129039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":129039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:06:16] local.INFO: TCP Data received {"connection_id":129039,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:06:16] local.INFO: Processing buffer {"connection_id":129039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:06:16] local.INFO: Packet analysis {"connection_id":129039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:06:16] local.INFO: Extracted packet for processing {"connection_id":129039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:06:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:06:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:06:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":129039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:06:16] local.INFO: GPS data processed {"connection_id":129039,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:06:16] local.INFO: Acknowledgment sent {"connection_id":129039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:06:47] local.INFO: TCP Data received {"connection_id":129039,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:06:47] local.INFO: Processing buffer {"connection_id":129039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:06:47] local.INFO: Packet analysis {"connection_id":129039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:06:47] local.INFO: Extracted packet for processing {"connection_id":129039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:06:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:06:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:06:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:06:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":129039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:06:47] local.INFO: GPS data processed {"connection_id":129039,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:06:47] local.INFO: Acknowledgment sent {"connection_id":129039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:07:05] local.INFO: TCP Data received {"connection_id":129040,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:07:05] local.INFO: Processing buffer {"connection_id":129040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:07:05] local.INFO: IMEI packet received {"connection_id":129040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":129040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:07:06] local.INFO: TCP Data received {"connection_id":128327,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:07:06] local.INFO: Processing buffer {"connection_id":128327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:07:06] local.INFO: IMEI packet received {"connection_id":128327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":128327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:07:10] local.INFO: TCP Data received {"connection_id":129040,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:07:10] local.INFO: Processing buffer {"connection_id":129040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:07:10] local.INFO: IMEI packet received {"connection_id":129040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":129040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:07:11] local.INFO: TCP Data received {"connection_id":129040,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:07:11] local.INFO: Processing buffer {"connection_id":129040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:07:11] local.INFO: Packet analysis {"connection_id":129040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:07:11] local.INFO: Extracted packet for processing {"connection_id":129040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":129040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:07:11] local.INFO: GPS data processed {"connection_id":129040,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:07:11] local.INFO: Acknowledgment sent {"connection_id":129040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:07:42] local.INFO: TCP Data received {"connection_id":129040,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:07:42] local.INFO: Processing buffer {"connection_id":129040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:07:42] local.INFO: Packet analysis {"connection_id":129040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:07:42] local.INFO: Extracted packet for processing {"connection_id":129040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":129040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:07:42] local.INFO: GPS data processed {"connection_id":129040,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:07:42] local.INFO: Acknowledgment sent {"connection_id":129040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:07:46] local.INFO: TCP Data received {"connection_id":130293,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:07:46] local.INFO: Processing buffer {"connection_id":130293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:07:46] local.INFO: IMEI packet received {"connection_id":130293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":130293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:08:05] local.INFO: TCP Data received {"connection_id":128328,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:08:05] local.INFO: Processing buffer {"connection_id":128328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:08:05] local.INFO: IMEI packet received {"connection_id":128328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":128328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:08:10] local.INFO: TCP Data received {"connection_id":128328,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:08:10] local.INFO: Processing buffer {"connection_id":128328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:08:10] local.INFO: IMEI packet received {"connection_id":128328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":128328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:08:10] local.INFO: TCP Data received {"connection_id":128328,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:08:10] local.INFO: Processing buffer {"connection_id":128328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:08:10] local.INFO: Packet analysis {"connection_id":128328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:08:10] local.INFO: Extracted packet for processing {"connection_id":128328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:08:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":128328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:08:10] local.INFO: GPS data processed {"connection_id":128328,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:08:10] local.INFO: Acknowledgment sent {"connection_id":128328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:08:41] local.INFO: TCP Data received {"connection_id":128328,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:08:41] local.INFO: Processing buffer {"connection_id":128328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:08:41] local.INFO: Packet analysis {"connection_id":128328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:08:41] local.INFO: Extracted packet for processing {"connection_id":128328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:08:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":128328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:08:41] local.INFO: GPS data processed {"connection_id":128328,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:08:41] local.INFO: Acknowledgment sent {"connection_id":128328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:09:05] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:09:05] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:09:05] local.INFO: IMEI packet received {"connection_id":130295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":130295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:09:10] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:09:10] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:09:10] local.INFO: IMEI packet received {"connection_id":130295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":130295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:09:11] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:09:11] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e982e40012cb29ac007823b28004700db27..."} 
[2026-07-11 06:09:11] local.INFO: Packet analysis {"connection_id":130295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:09:11] local.INFO: Extracted packet for processing {"connection_id":130295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e98"} 
[2026-07-11 06:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634809088001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783730024000,"timestamp_ms":1783730024000,"timestamp_seconds":1783730024,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e982e40"} 
[2026-07-11 06:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634809088001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634809088001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634809088001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":130295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:09:11] local.INFO: GPS data processed {"connection_id":130295,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:09:11] local.INFO: Acknowledgment sent {"connection_id":130295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:09:41] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:09:41] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:09:41] local.INFO: Packet analysis {"connection_id":130295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:09:41] local.INFO: Extracted packet for processing {"connection_id":130295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:09:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":130295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:09:41] local.INFO: GPS data processed {"connection_id":130295,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:09:41] local.INFO: Acknowledgment sent {"connection_id":130295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:10:10] local.INFO: TCP Data received {"connection_id":129041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:10:10] local.INFO: Processing buffer {"connection_id":129041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:10:10] local.INFO: IMEI packet received {"connection_id":129041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":129041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:10:15] local.INFO: TCP Data received {"connection_id":129041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:10:15] local.INFO: Processing buffer {"connection_id":129041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:10:15] local.INFO: IMEI packet received {"connection_id":129041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":129041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:10:15] local.INFO: TCP Data received {"connection_id":129041,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:10:15] local.INFO: Processing buffer {"connection_id":129041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:10:15] local.INFO: Packet analysis {"connection_id":129041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:10:15] local.INFO: Extracted packet for processing {"connection_id":129041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:10:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:10:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":129041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:10:15] local.INFO: GPS data processed {"connection_id":129041,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:10:15] local.INFO: Acknowledgment sent {"connection_id":129041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:10:20] local.INFO: TCP Data received {"connection_id":129041,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:10:20] local.INFO: Processing buffer {"connection_id":129041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:10:20] local.INFO: Packet analysis {"connection_id":129041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:10:20] local.INFO: Extracted packet for processing {"connection_id":129041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:10:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":129041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:10:20] local.INFO: GPS data processed {"connection_id":129041,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:10:20] local.INFO: Acknowledgment sent {"connection_id":129041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:11:05] local.INFO: TCP Data received {"connection_id":130296,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:11:05] local.INFO: Processing buffer {"connection_id":130296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:11:05] local.INFO: IMEI packet received {"connection_id":130296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":130296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:11:10] local.INFO: TCP Data received {"connection_id":130296,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:11:10] local.INFO: Processing buffer {"connection_id":130296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:11:10] local.INFO: IMEI packet received {"connection_id":130296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":130296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:11:11] local.INFO: TCP Data received {"connection_id":130296,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:11:11] local.INFO: Processing buffer {"connection_id":130296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:11:11] local.INFO: Packet analysis {"connection_id":130296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:11:11] local.INFO: Extracted packet for processing {"connection_id":130296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":130296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:11:11] local.INFO: GPS data processed {"connection_id":130296,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:11:11] local.INFO: Acknowledgment sent {"connection_id":130296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:11:42] local.INFO: TCP Data received {"connection_id":130296,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:11:42] local.INFO: Processing buffer {"connection_id":130296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:11:42] local.INFO: Packet analysis {"connection_id":130296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:11:42] local.INFO: Extracted packet for processing {"connection_id":130296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":130296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:11:42] local.INFO: GPS data processed {"connection_id":130296,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:11:42] local.INFO: Acknowledgment sent {"connection_id":130296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:12:05] local.INFO: TCP Data received {"connection_id":128143,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:12:05] local.INFO: Processing buffer {"connection_id":128143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:12:05] local.INFO: IMEI packet received {"connection_id":128143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":128143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:12:10] local.INFO: TCP Data received {"connection_id":128143,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:12:10] local.INFO: Processing buffer {"connection_id":128143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:12:10] local.INFO: IMEI packet received {"connection_id":128143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":128143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:12:10] local.INFO: TCP Data received {"connection_id":128143,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:12:10] local.INFO: Processing buffer {"connection_id":128143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:12:10] local.INFO: Packet analysis {"connection_id":128143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:12:10] local.INFO: Extracted packet for processing {"connection_id":128143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":128143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:12:10] local.INFO: GPS data processed {"connection_id":128143,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:12:10] local.INFO: Acknowledgment sent {"connection_id":128143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:12:41] local.INFO: TCP Data received {"connection_id":128143,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:12:41] local.INFO: Processing buffer {"connection_id":128143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:12:41] local.INFO: Packet analysis {"connection_id":128143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:12:41] local.INFO: Extracted packet for processing {"connection_id":128143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:12:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":128143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:12:41] local.INFO: GPS data processed {"connection_id":128143,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:12:41] local.INFO: Acknowledgment sent {"connection_id":128143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:13:05] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:13:05] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:13:05] local.INFO: IMEI packet received {"connection_id":130298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":130298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:13:10] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:13:10] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:13:10] local.INFO: IMEI packet received {"connection_id":130298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":130298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:13:11] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:13:11] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:13:11] local.INFO: Packet analysis {"connection_id":130298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:13:11] local.INFO: Extracted packet for processing {"connection_id":130298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":130298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:13:11] local.INFO: GPS data processed {"connection_id":130298,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:13:11] local.INFO: Acknowledgment sent {"connection_id":130298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:13:11] local.INFO: TCP Data received {"connection_id":130297,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:13:11] local.INFO: Processing buffer {"connection_id":130297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:13:11] local.INFO: IMEI packet received {"connection_id":130297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":130297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:13:42] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:13:42] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:13:42] local.INFO: Packet analysis {"connection_id":130298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:13:42] local.INFO: Extracted packet for processing {"connection_id":130298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":130298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:13:42] local.INFO: GPS data processed {"connection_id":130298,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:13:42] local.INFO: Acknowledgment sent {"connection_id":130298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:13:46] local.INFO: TCP Data received {"connection_id":128330,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:13:46] local.INFO: Processing buffer {"connection_id":128330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:13:46] local.INFO: IMEI packet received {"connection_id":128330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":128330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:14:05] local.INFO: TCP Data received {"connection_id":128144,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:14:05] local.INFO: Processing buffer {"connection_id":128144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:14:05] local.INFO: IMEI packet received {"connection_id":128144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":128144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:14:10] local.INFO: TCP Data received {"connection_id":128144,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:14:10] local.INFO: Processing buffer {"connection_id":128144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:14:10] local.INFO: IMEI packet received {"connection_id":128144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":128144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:14:10] local.INFO: TCP Data received {"connection_id":128144,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:14:10] local.INFO: Processing buffer {"connection_id":128144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4e9cc608012cb29ac007823b28004700db26..."} 
[2026-07-11 06:14:10] local.INFO: Packet analysis {"connection_id":128144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:14:10] local.INFO: Extracted packet for processing {"connection_id":128144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4e9c"} 
[2026-07-11 06:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634886144001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783730325000,"timestamp_ms":1783730325000,"timestamp_seconds":1783730325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4e9cc608"} 
[2026-07-11 06:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634886144001,"66":25223,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634886144001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:14:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634886144001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":128144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:14:10] local.INFO: GPS data processed {"connection_id":128144,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:14:10] local.INFO: Acknowledgment sent {"connection_id":128144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:14:41] local.INFO: TCP Data received {"connection_id":128144,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:14:41] local.INFO: Processing buffer {"connection_id":128144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:14:41] local.INFO: Packet analysis {"connection_id":128144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:14:41] local.INFO: Extracted packet for processing {"connection_id":128144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:14:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":128144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:14:41] local.INFO: GPS data processed {"connection_id":128144,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:14:41] local.INFO: Acknowledgment sent {"connection_id":128144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:15:10] local.INFO: TCP Data received {"connection_id":129043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:15:10] local.INFO: Processing buffer {"connection_id":129043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:15:10] local.INFO: IMEI packet received {"connection_id":129043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":129043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:15:15] local.INFO: TCP Data received {"connection_id":129043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:15:15] local.INFO: Processing buffer {"connection_id":129043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:15:15] local.INFO: IMEI packet received {"connection_id":129043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":129043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:15:16] local.INFO: TCP Data received {"connection_id":129043,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:15:16] local.INFO: Processing buffer {"connection_id":129043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:15:16] local.INFO: Packet analysis {"connection_id":129043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:15:16] local.INFO: Extracted packet for processing {"connection_id":129043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:15:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:15:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:15:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:15:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":129043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:15:16] local.INFO: GPS data processed {"connection_id":129043,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:15:16] local.INFO: Acknowledgment sent {"connection_id":129043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:15:21] local.INFO: TCP Data received {"connection_id":129043,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:15:21] local.INFO: Processing buffer {"connection_id":129043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:15:21] local.INFO: Packet analysis {"connection_id":129043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:15:21] local.INFO: Extracted packet for processing {"connection_id":129043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":129043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":129043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":129043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":129043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:15:21] local.INFO: GPS data processed {"connection_id":129043,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:15:21] local.INFO: Acknowledgment sent {"connection_id":129043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:16:05] local.INFO: TCP Data received {"connection_id":128145,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:16:05] local.INFO: Processing buffer {"connection_id":128145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:16:05] local.INFO: IMEI packet received {"connection_id":128145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":128145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:16:10] local.INFO: TCP Data received {"connection_id":128145,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:16:10] local.INFO: Processing buffer {"connection_id":128145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:16:10] local.INFO: IMEI packet received {"connection_id":128145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":128145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:16:10] local.INFO: TCP Data received {"connection_id":128145,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:16:10] local.INFO: Processing buffer {"connection_id":128145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:16:10] local.INFO: Packet analysis {"connection_id":128145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:16:10] local.INFO: Extracted packet for processing {"connection_id":128145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:16:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":128145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:16:10] local.INFO: GPS data processed {"connection_id":128145,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:16:10] local.INFO: Acknowledgment sent {"connection_id":128145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:16:41] local.INFO: TCP Data received {"connection_id":128145,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:16:41] local.INFO: Processing buffer {"connection_id":128145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:16:41] local.INFO: Packet analysis {"connection_id":128145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:16:41] local.INFO: Extracted packet for processing {"connection_id":128145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:16:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":128145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:16:41] local.INFO: GPS data processed {"connection_id":128145,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:16:41] local.INFO: Acknowledgment sent {"connection_id":128145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:17:05] local.INFO: TCP Data received {"connection_id":128333,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:17:05] local.INFO: Processing buffer {"connection_id":128333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:17:05] local.INFO: IMEI packet received {"connection_id":128333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":128333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:17:10] local.INFO: TCP Data received {"connection_id":128333,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:17:10] local.INFO: Processing buffer {"connection_id":128333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:17:10] local.INFO: IMEI packet received {"connection_id":128333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":128333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:17:11] local.INFO: TCP Data received {"connection_id":128333,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:17:11] local.INFO: Processing buffer {"connection_id":128333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:17:11] local.INFO: Packet analysis {"connection_id":128333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:17:11] local.INFO: Extracted packet for processing {"connection_id":128333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":128333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:17:11] local.INFO: GPS data processed {"connection_id":128333,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:17:11] local.INFO: Acknowledgment sent {"connection_id":128333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:17:42] local.INFO: TCP Data received {"connection_id":128333,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:17:42] local.INFO: Processing buffer {"connection_id":128333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:17:42] local.INFO: Packet analysis {"connection_id":128333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:17:42] local.INFO: Extracted packet for processing {"connection_id":128333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":128333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:17:42] local.INFO: GPS data processed {"connection_id":128333,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:17:42] local.INFO: Acknowledgment sent {"connection_id":128333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:18:05] local.INFO: TCP Data received {"connection_id":129044,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:18:05] local.INFO: Processing buffer {"connection_id":129044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:18:05] local.INFO: IMEI packet received {"connection_id":129044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":129044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:18:10] local.INFO: TCP Data received {"connection_id":129044,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:18:10] local.INFO: Processing buffer {"connection_id":129044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:18:10] local.INFO: IMEI packet received {"connection_id":129044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":129044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:18:10] local.INFO: TCP Data received {"connection_id":129044,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:18:10] local.INFO: Processing buffer {"connection_id":129044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:18:10] local.INFO: Packet analysis {"connection_id":129044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:18:10] local.INFO: Extracted packet for processing {"connection_id":129044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":129044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:18:10] local.INFO: GPS data processed {"connection_id":129044,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:18:10] local.INFO: Acknowledgment sent {"connection_id":129044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:18:41] local.INFO: TCP Data received {"connection_id":129044,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:18:41] local.INFO: Processing buffer {"connection_id":129044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:18:41] local.INFO: Packet analysis {"connection_id":129044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:18:41] local.INFO: Extracted packet for processing {"connection_id":129044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:18:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":129044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:18:41] local.INFO: GPS data processed {"connection_id":129044,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:18:41] local.INFO: Acknowledgment sent {"connection_id":129044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:19:05] local.INFO: TCP Data received {"connection_id":128146,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:19:05] local.INFO: Processing buffer {"connection_id":128146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:19:05] local.INFO: IMEI packet received {"connection_id":128146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":128146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:19:10] local.INFO: TCP Data received {"connection_id":128146,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:19:10] local.INFO: Processing buffer {"connection_id":128146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:19:10] local.INFO: IMEI packet received {"connection_id":128146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":128146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:19:11] local.INFO: TCP Data received {"connection_id":128146,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:19:11] local.INFO: Processing buffer {"connection_id":128146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea15dd0012cb29ac007823b28004700db29..."} 
[2026-07-11 06:19:11] local.INFO: Packet analysis {"connection_id":128146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:19:11] local.INFO: Extracted packet for processing {"connection_id":128146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea1"} 
[2026-07-11 06:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456634963200001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783730626000,"timestamp_ms":1783730626000,"timestamp_seconds":1783730626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea15dd0"} 
[2026-07-11 06:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-11 06:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456634963200001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456634963200001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:19:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456634963200001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":128146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:19:11] local.INFO: GPS data processed {"connection_id":128146,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:19:11] local.INFO: Acknowledgment sent {"connection_id":128146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:19:11] local.INFO: TCP Data received {"connection_id":130300,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:19:11] local.INFO: Processing buffer {"connection_id":130300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:19:11] local.INFO: IMEI packet received {"connection_id":130300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":130300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:19:42] local.INFO: TCP Data received {"connection_id":128146,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:19:42] local.INFO: Processing buffer {"connection_id":128146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:19:42] local.INFO: Packet analysis {"connection_id":128146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:19:42] local.INFO: Extracted packet for processing {"connection_id":128146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":128146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:19:42] local.INFO: GPS data processed {"connection_id":128146,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:19:42] local.INFO: Acknowledgment sent {"connection_id":128146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:19:46] local.INFO: TCP Data received {"connection_id":130301,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:19:46] local.INFO: Processing buffer {"connection_id":130301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:19:46] local.INFO: IMEI packet received {"connection_id":130301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":130301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:20:05] local.INFO: TCP Data received {"connection_id":128334,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:20:05] local.INFO: Processing buffer {"connection_id":128334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:20:05] local.INFO: IMEI packet received {"connection_id":128334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":128334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:20:10] local.INFO: TCP Data received {"connection_id":128334,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:20:10] local.INFO: Processing buffer {"connection_id":128334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:20:10] local.INFO: IMEI packet received {"connection_id":128334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":128334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:20:10] local.INFO: TCP Data received {"connection_id":128334,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:20:10] local.INFO: Processing buffer {"connection_id":128334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:20:10] local.INFO: Packet analysis {"connection_id":128334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:20:10] local.INFO: Extracted packet for processing {"connection_id":128334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:20:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":128334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:20:10] local.INFO: GPS data processed {"connection_id":128334,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:20:10] local.INFO: Acknowledgment sent {"connection_id":128334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:20:41] local.INFO: TCP Data received {"connection_id":128334,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:20:41] local.INFO: Processing buffer {"connection_id":128334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:20:41] local.INFO: Packet analysis {"connection_id":128334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:20:41] local.INFO: Extracted packet for processing {"connection_id":128334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:20:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:20:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":128334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:20:41] local.INFO: GPS data processed {"connection_id":128334,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:20:41] local.INFO: Acknowledgment sent {"connection_id":128334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:21:05] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:21:05] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:21:05] local.INFO: IMEI packet received {"connection_id":130302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":130302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:21:10] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:21:10] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:21:10] local.INFO: IMEI packet received {"connection_id":130302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":130302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:21:11] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:21:11] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:21:11] local.INFO: Packet analysis {"connection_id":130302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:21:11] local.INFO: Extracted packet for processing {"connection_id":130302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":130302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:21:11] local.INFO: GPS data processed {"connection_id":130302,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:21:11] local.INFO: Acknowledgment sent {"connection_id":130302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:21:42] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:21:42] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:21:42] local.INFO: Packet analysis {"connection_id":130302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:21:42] local.INFO: Extracted packet for processing {"connection_id":130302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":130302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:21:42] local.INFO: GPS data processed {"connection_id":130302,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:21:42] local.INFO: Acknowledgment sent {"connection_id":130302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:22:05] local.INFO: TCP Data received {"connection_id":128336,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:22:05] local.INFO: Processing buffer {"connection_id":128336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:22:05] local.INFO: IMEI packet received {"connection_id":128336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":128336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:22:10] local.INFO: TCP Data received {"connection_id":128336,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:22:10] local.INFO: Processing buffer {"connection_id":128336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:22:10] local.INFO: IMEI packet received {"connection_id":128336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":128336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:22:10] local.INFO: TCP Data received {"connection_id":128336,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:22:10] local.INFO: Processing buffer {"connection_id":128336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:22:10] local.INFO: Packet analysis {"connection_id":128336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:22:10] local.INFO: Extracted packet for processing {"connection_id":128336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:22:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:22:10] local.INFO: GPS data processed {"connection_id":128336,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:22:10] local.INFO: Acknowledgment sent {"connection_id":128336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:22:42] local.INFO: TCP Data received {"connection_id":128336,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:22:42] local.INFO: Processing buffer {"connection_id":128336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:22:42] local.INFO: Packet analysis {"connection_id":128336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:22:42] local.INFO: Extracted packet for processing {"connection_id":128336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:22:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":128336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:22:42] local.INFO: GPS data processed {"connection_id":128336,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:22:42] local.INFO: Acknowledgment sent {"connection_id":128336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:23:05] local.INFO: TCP Data received {"connection_id":129047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:23:05] local.INFO: Processing buffer {"connection_id":129047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:23:05] local.INFO: IMEI packet received {"connection_id":129047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":129047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:23:10] local.INFO: TCP Data received {"connection_id":129047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:23:10] local.INFO: Processing buffer {"connection_id":129047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:23:10] local.INFO: IMEI packet received {"connection_id":129047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":129047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:23:11] local.INFO: TCP Data received {"connection_id":129047,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:23:11] local.INFO: Processing buffer {"connection_id":129047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:23:11] local.INFO: Packet analysis {"connection_id":129047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:23:11] local.INFO: Extracted packet for processing {"connection_id":129047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":129047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:23:11] local.INFO: GPS data processed {"connection_id":129047,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:23:11] local.INFO: Acknowledgment sent {"connection_id":129047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:23:42] local.INFO: TCP Data received {"connection_id":129047,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:23:42] local.INFO: Processing buffer {"connection_id":129047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:23:42] local.INFO: Packet analysis {"connection_id":129047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:23:42] local.INFO: Extracted packet for processing {"connection_id":129047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":129047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:23:42] local.INFO: GPS data processed {"connection_id":129047,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:23:42] local.INFO: Acknowledgment sent {"connection_id":129047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:24:05] local.INFO: TCP Data received {"connection_id":129049,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:24:05] local.INFO: Processing buffer {"connection_id":129049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:24:05] local.INFO: IMEI packet received {"connection_id":129049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":129049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:24:10] local.INFO: TCP Data received {"connection_id":129049,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:24:10] local.INFO: Processing buffer {"connection_id":129049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:24:10] local.INFO: IMEI packet received {"connection_id":129049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":129049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:24:10] local.INFO: TCP Data received {"connection_id":129049,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:24:10] local.INFO: Processing buffer {"connection_id":129049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ea5f598012cb29ac007823b28004700db27..."} 
[2026-07-11 06:24:10] local.INFO: Packet analysis {"connection_id":129049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:24:10] local.INFO: Extracted packet for processing {"connection_id":129049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ea5"} 
[2026-07-11 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635040256001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783730927000,"timestamp_ms":1783730927000,"timestamp_seconds":1783730927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ea5f598"} 
[2026-07-11 06:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635040256001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635040256001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:24:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635040256001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":129049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:24:10] local.INFO: GPS data processed {"connection_id":129049,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:24:10] local.INFO: Acknowledgment sent {"connection_id":129049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:24:41] local.INFO: TCP Data received {"connection_id":129049,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:24:41] local.INFO: Processing buffer {"connection_id":129049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:24:41] local.INFO: Packet analysis {"connection_id":129049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:24:41] local.INFO: Extracted packet for processing {"connection_id":129049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:24:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":129049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:24:41] local.INFO: GPS data processed {"connection_id":129049,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:24:41] local.INFO: Acknowledgment sent {"connection_id":129049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:25:01] local.INFO: TCP Data received {"connection_id":128337,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:25:01] local.INFO: Processing buffer {"connection_id":128337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:25:01] local.INFO: IMEI packet received {"connection_id":128337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":128337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:25:05] local.INFO: TCP Data received {"connection_id":128338,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:25:05] local.INFO: Processing buffer {"connection_id":128338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:25:05] local.INFO: IMEI packet received {"connection_id":128338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":128338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:25:10] local.INFO: TCP Data received {"connection_id":128338,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:25:10] local.INFO: Processing buffer {"connection_id":128338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:25:10] local.INFO: IMEI packet received {"connection_id":128338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":128338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:25:11] local.INFO: TCP Data received {"connection_id":128338,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:25:11] local.INFO: Processing buffer {"connection_id":128338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:25:11] local.INFO: Packet analysis {"connection_id":128338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:25:11] local.INFO: Extracted packet for processing {"connection_id":128338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:25:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:25:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":128338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:25:11] local.INFO: GPS data processed {"connection_id":128338,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:25:11] local.INFO: Acknowledgment sent {"connection_id":128338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:25:42] local.INFO: TCP Data received {"connection_id":128338,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:25:42] local.INFO: Processing buffer {"connection_id":128338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:25:42] local.INFO: Packet analysis {"connection_id":128338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:25:42] local.INFO: Extracted packet for processing {"connection_id":128338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:25:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:25:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":128338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:25:42] local.INFO: GPS data processed {"connection_id":128338,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:25:42] local.INFO: Acknowledgment sent {"connection_id":128338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:25:51] local.INFO: TCP Data received {"connection_id":129050,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:25:51] local.INFO: Processing buffer {"connection_id":129050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:25:51] local.INFO: IMEI packet received {"connection_id":129050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":129050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:26:05] local.INFO: TCP Data received {"connection_id":128147,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:26:05] local.INFO: Processing buffer {"connection_id":128147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:26:05] local.INFO: IMEI packet received {"connection_id":128147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":128147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:26:10] local.INFO: TCP Data received {"connection_id":128147,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:26:10] local.INFO: Processing buffer {"connection_id":128147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:26:10] local.INFO: IMEI packet received {"connection_id":128147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":128147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:26:10] local.INFO: TCP Data received {"connection_id":128147,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:26:10] local.INFO: Processing buffer {"connection_id":128147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:26:10] local.INFO: Packet analysis {"connection_id":128147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:26:10] local.INFO: Extracted packet for processing {"connection_id":128147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:26:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":128147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:26:10] local.INFO: GPS data processed {"connection_id":128147,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:26:10] local.INFO: Acknowledgment sent {"connection_id":128147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:26:42] local.INFO: TCP Data received {"connection_id":128147,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:26:42] local.INFO: Processing buffer {"connection_id":128147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:26:42] local.INFO: Packet analysis {"connection_id":128147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:26:42] local.INFO: Extracted packet for processing {"connection_id":128147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:26:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:26:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":128147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:26:42] local.INFO: GPS data processed {"connection_id":128147,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:26:42] local.INFO: Acknowledgment sent {"connection_id":128147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:27:05] local.INFO: TCP Data received {"connection_id":128340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:27:05] local.INFO: Processing buffer {"connection_id":128340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:27:05] local.INFO: IMEI packet received {"connection_id":128340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":128340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:27:10] local.INFO: TCP Data received {"connection_id":128340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:27:10] local.INFO: Processing buffer {"connection_id":128340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:27:10] local.INFO: IMEI packet received {"connection_id":128340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":128340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:27:11] local.INFO: TCP Data received {"connection_id":128340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:27:11] local.INFO: Processing buffer {"connection_id":128340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:27:11] local.INFO: Packet analysis {"connection_id":128340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:27:11] local.INFO: Extracted packet for processing {"connection_id":128340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":128340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:27:11] local.INFO: GPS data processed {"connection_id":128340,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:27:11] local.INFO: Acknowledgment sent {"connection_id":128340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:27:42] local.INFO: TCP Data received {"connection_id":128340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:27:42] local.INFO: Processing buffer {"connection_id":128340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:27:42] local.INFO: Packet analysis {"connection_id":128340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:27:42] local.INFO: Extracted packet for processing {"connection_id":128340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":128340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:27:42] local.INFO: GPS data processed {"connection_id":128340,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:27:42] local.INFO: Acknowledgment sent {"connection_id":128340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:28:05] local.INFO: TCP Data received {"connection_id":128341,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:28:05] local.INFO: Processing buffer {"connection_id":128341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:28:05] local.INFO: IMEI packet received {"connection_id":128341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":128341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:28:10] local.INFO: TCP Data received {"connection_id":128341,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:28:10] local.INFO: Processing buffer {"connection_id":128341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:28:10] local.INFO: IMEI packet received {"connection_id":128341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":128341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:28:10] local.INFO: TCP Data received {"connection_id":128341,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:28:10] local.INFO: Processing buffer {"connection_id":128341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:28:10] local.INFO: Packet analysis {"connection_id":128341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:28:10] local.INFO: Extracted packet for processing {"connection_id":128341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:28:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":128341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:28:10] local.INFO: GPS data processed {"connection_id":128341,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:28:10] local.INFO: Acknowledgment sent {"connection_id":128341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:28:41] local.INFO: TCP Data received {"connection_id":128341,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:28:41] local.INFO: Processing buffer {"connection_id":128341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:28:41] local.INFO: Packet analysis {"connection_id":128341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:28:41] local.INFO: Extracted packet for processing {"connection_id":128341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:28:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":128341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:28:41] local.INFO: GPS data processed {"connection_id":128341,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:28:41] local.INFO: Acknowledgment sent {"connection_id":128341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:29:05] local.INFO: TCP Data received {"connection_id":130303,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:29:05] local.INFO: Processing buffer {"connection_id":130303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:29:05] local.INFO: IMEI packet received {"connection_id":130303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":130303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:29:10] local.INFO: TCP Data received {"connection_id":130303,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:29:10] local.INFO: Processing buffer {"connection_id":130303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:29:10] local.INFO: IMEI packet received {"connection_id":130303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":130303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:29:11] local.INFO: TCP Data received {"connection_id":130303,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:29:11] local.INFO: Processing buffer {"connection_id":130303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaa8d60012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:29:11] local.INFO: Packet analysis {"connection_id":130303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:29:11] local.INFO: Extracted packet for processing {"connection_id":130303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaa"} 
[2026-07-11 06:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635117312001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783731228000,"timestamp_ms":1783731228000,"timestamp_seconds":1783731228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaa8d60"} 
[2026-07-11 06:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635117312001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635117312001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635117312001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":130303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:29:11] local.INFO: GPS data processed {"connection_id":130303,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:29:11] local.INFO: Acknowledgment sent {"connection_id":130303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:29:42] local.INFO: TCP Data received {"connection_id":130303,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:29:42] local.INFO: Processing buffer {"connection_id":130303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:29:42] local.INFO: Packet analysis {"connection_id":130303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:29:42] local.INFO: Extracted packet for processing {"connection_id":130303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":130303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:29:42] local.INFO: GPS data processed {"connection_id":130303,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:29:42] local.INFO: Acknowledgment sent {"connection_id":130303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:30:05] local.INFO: TCP Data received {"connection_id":130304,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:30:05] local.INFO: Processing buffer {"connection_id":130304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:30:05] local.INFO: IMEI packet received {"connection_id":130304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":130304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:30:10] local.INFO: TCP Data received {"connection_id":130304,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:30:10] local.INFO: Processing buffer {"connection_id":130304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:30:10] local.INFO: IMEI packet received {"connection_id":130304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":130304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:30:10] local.INFO: TCP Data received {"connection_id":130304,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:30:10] local.INFO: Processing buffer {"connection_id":130304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:30:10] local.INFO: Packet analysis {"connection_id":130304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:30:10] local.INFO: Extracted packet for processing {"connection_id":130304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:30:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":130304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:30:10] local.INFO: GPS data processed {"connection_id":130304,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:30:10] local.INFO: Acknowledgment sent {"connection_id":130304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:30:41] local.INFO: TCP Data received {"connection_id":130304,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:30:41] local.INFO: Processing buffer {"connection_id":130304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:30:41] local.INFO: Packet analysis {"connection_id":130304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:30:41] local.INFO: Extracted packet for processing {"connection_id":130304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:30:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":130304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:30:41] local.INFO: GPS data processed {"connection_id":130304,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:30:41] local.INFO: Acknowledgment sent {"connection_id":130304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:31:05] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:31:05] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:31:05] local.INFO: IMEI packet received {"connection_id":130306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":130306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:31:10] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:31:10] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:31:10] local.INFO: IMEI packet received {"connection_id":130306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":130306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:31:11] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:31:11] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:31:11] local.INFO: Packet analysis {"connection_id":130306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:31:11] local.INFO: Extracted packet for processing {"connection_id":130306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":130306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:31:11] local.INFO: GPS data processed {"connection_id":130306,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:31:11] local.INFO: Acknowledgment sent {"connection_id":130306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:31:11] local.INFO: TCP Data received {"connection_id":130305,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:31:11] local.INFO: Processing buffer {"connection_id":130305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:31:11] local.INFO: IMEI packet received {"connection_id":130305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":130305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:31:42] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:31:42] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:31:42] local.INFO: Packet analysis {"connection_id":130306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:31:42] local.INFO: Extracted packet for processing {"connection_id":130306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:31:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":130306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:31:42] local.INFO: GPS data processed {"connection_id":130306,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:31:42] local.INFO: Acknowledgment sent {"connection_id":130306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:31:46] local.INFO: TCP Data received {"connection_id":129054,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:31:46] local.INFO: Processing buffer {"connection_id":129054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:31:46] local.INFO: IMEI packet received {"connection_id":129054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":129054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:32:05] local.INFO: TCP Data received {"connection_id":128342,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:32:05] local.INFO: Processing buffer {"connection_id":128342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:32:05] local.INFO: IMEI packet received {"connection_id":128342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":128342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:32:10] local.INFO: TCP Data received {"connection_id":128342,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:32:10] local.INFO: Processing buffer {"connection_id":128342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:32:10] local.INFO: IMEI packet received {"connection_id":128342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":128342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:32:10] local.INFO: TCP Data received {"connection_id":128342,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:32:10] local.INFO: Processing buffer {"connection_id":128342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:32:10] local.INFO: Packet analysis {"connection_id":128342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:32:10] local.INFO: Extracted packet for processing {"connection_id":128342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:32:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:32:10] local.INFO: GPS data processed {"connection_id":128342,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:32:10] local.INFO: Acknowledgment sent {"connection_id":128342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:32:41] local.INFO: TCP Data received {"connection_id":128342,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:32:41] local.INFO: Processing buffer {"connection_id":128342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:32:41] local.INFO: Packet analysis {"connection_id":128342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:32:41] local.INFO: Extracted packet for processing {"connection_id":128342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:32:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":128342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:32:41] local.INFO: GPS data processed {"connection_id":128342,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:32:41] local.INFO: Acknowledgment sent {"connection_id":128342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:33:05] local.INFO: TCP Data received {"connection_id":129055,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:33:05] local.INFO: Processing buffer {"connection_id":129055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:33:05] local.INFO: IMEI packet received {"connection_id":129055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":129055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:33:10] local.INFO: TCP Data received {"connection_id":129055,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:33:10] local.INFO: Processing buffer {"connection_id":129055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:33:10] local.INFO: IMEI packet received {"connection_id":129055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":129055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:33:11] local.INFO: TCP Data received {"connection_id":129055,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:33:11] local.INFO: Processing buffer {"connection_id":129055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:33:11] local.INFO: Packet analysis {"connection_id":129055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:33:11] local.INFO: Extracted packet for processing {"connection_id":129055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":129055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:33:11] local.INFO: GPS data processed {"connection_id":129055,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:33:11] local.INFO: Acknowledgment sent {"connection_id":129055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:33:42] local.INFO: TCP Data received {"connection_id":129055,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:33:42] local.INFO: Processing buffer {"connection_id":129055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:33:42] local.INFO: Packet analysis {"connection_id":129055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:33:42] local.INFO: Extracted packet for processing {"connection_id":129055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":129055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:33:42] local.INFO: GPS data processed {"connection_id":129055,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:33:42] local.INFO: Acknowledgment sent {"connection_id":129055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:34:05] local.INFO: TCP Data received {"connection_id":128150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:34:05] local.INFO: Processing buffer {"connection_id":128150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:34:05] local.INFO: IMEI packet received {"connection_id":128150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":128150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:34:10] local.INFO: TCP Data received {"connection_id":128150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:34:10] local.INFO: Processing buffer {"connection_id":128150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:34:10] local.INFO: IMEI packet received {"connection_id":128150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":128150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:34:10] local.INFO: TCP Data received {"connection_id":128150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:34:10] local.INFO: Processing buffer {"connection_id":128150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eaf2528012cb29ac007823b28004700db29..."} 
[2026-07-11 06:34:10] local.INFO: Packet analysis {"connection_id":128150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:34:10] local.INFO: Extracted packet for processing {"connection_id":128150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eaf"} 
[2026-07-11 06:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635194368001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783731529000,"timestamp_ms":1783731529000,"timestamp_seconds":1783731529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eaf2528"} 
[2026-07-11 06:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635194368001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635194368001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:34:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635194368001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":128150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:34:10] local.INFO: GPS data processed {"connection_id":128150,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:34:10] local.INFO: Acknowledgment sent {"connection_id":128150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:34:41] local.INFO: TCP Data received {"connection_id":128150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:34:41] local.INFO: Processing buffer {"connection_id":128150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:34:41] local.INFO: Packet analysis {"connection_id":128150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:34:41] local.INFO: Extracted packet for processing {"connection_id":128150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:34:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":128150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:34:41] local.INFO: GPS data processed {"connection_id":128150,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:34:41] local.INFO: Acknowledgment sent {"connection_id":128150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:35:05] local.INFO: TCP Data received {"connection_id":128152,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:35:05] local.INFO: Processing buffer {"connection_id":128152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:35:05] local.INFO: IMEI packet received {"connection_id":128152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":128152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:35:10] local.INFO: TCP Data received {"connection_id":128152,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:35:10] local.INFO: Processing buffer {"connection_id":128152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:35:10] local.INFO: IMEI packet received {"connection_id":128152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":128152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:35:11] local.INFO: TCP Data received {"connection_id":128152,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:35:11] local.INFO: Processing buffer {"connection_id":128152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:35:11] local.INFO: Packet analysis {"connection_id":128152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:35:11] local.INFO: Extracted packet for processing {"connection_id":128152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:35:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":128152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:35:11] local.INFO: GPS data processed {"connection_id":128152,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:35:11] local.INFO: Acknowledgment sent {"connection_id":128152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:35:42] local.INFO: TCP Data received {"connection_id":128152,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:35:42] local.INFO: Processing buffer {"connection_id":128152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:35:42] local.INFO: Packet analysis {"connection_id":128152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:35:42] local.INFO: Extracted packet for processing {"connection_id":128152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:35:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:35:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":128152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:35:42] local.INFO: GPS data processed {"connection_id":128152,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:35:42] local.INFO: Acknowledgment sent {"connection_id":128152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:36:05] local.INFO: TCP Data received {"connection_id":128343,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:36:05] local.INFO: Processing buffer {"connection_id":128343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:36:05] local.INFO: IMEI packet received {"connection_id":128343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":128343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:36:10] local.INFO: TCP Data received {"connection_id":128343,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:36:10] local.INFO: Processing buffer {"connection_id":128343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:36:10] local.INFO: IMEI packet received {"connection_id":128343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":128343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:36:10] local.INFO: TCP Data received {"connection_id":128343,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:36:10] local.INFO: Processing buffer {"connection_id":128343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:36:10] local.INFO: Packet analysis {"connection_id":128343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:36:10] local.INFO: Extracted packet for processing {"connection_id":128343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:36:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":128343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:36:10] local.INFO: GPS data processed {"connection_id":128343,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:36:10] local.INFO: Acknowledgment sent {"connection_id":128343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:36:41] local.INFO: TCP Data received {"connection_id":128343,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:36:41] local.INFO: Processing buffer {"connection_id":128343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:36:41] local.INFO: Packet analysis {"connection_id":128343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:36:41] local.INFO: Extracted packet for processing {"connection_id":128343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:36:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":128343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:36:41] local.INFO: GPS data processed {"connection_id":128343,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:36:41] local.INFO: Acknowledgment sent {"connection_id":128343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:37:05] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:37:05] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:37:05] local.INFO: IMEI packet received {"connection_id":129056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":129056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:37:10] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:37:10] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:37:10] local.INFO: IMEI packet received {"connection_id":129056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":129056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:37:11] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:37:11] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:37:11] local.INFO: Packet analysis {"connection_id":129056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:37:11] local.INFO: Extracted packet for processing {"connection_id":129056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:37:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":129056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:37:11] local.INFO: GPS data processed {"connection_id":129056,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:37:11] local.INFO: Acknowledgment sent {"connection_id":129056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:37:11] local.INFO: TCP Data received {"connection_id":128344,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:37:11] local.INFO: Processing buffer {"connection_id":128344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:37:11] local.INFO: IMEI packet received {"connection_id":128344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":128344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:37:42] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:37:42] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:37:42] local.INFO: Packet analysis {"connection_id":129056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:37:42] local.INFO: Extracted packet for processing {"connection_id":129056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":129056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:37:42] local.INFO: GPS data processed {"connection_id":129056,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:37:42] local.INFO: Acknowledgment sent {"connection_id":129056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:37:46] local.INFO: TCP Data received {"connection_id":129057,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:37:46] local.INFO: Processing buffer {"connection_id":129057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:37:46] local.INFO: IMEI packet received {"connection_id":129057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":129057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:38:05] local.INFO: TCP Data received {"connection_id":130308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:38:05] local.INFO: Processing buffer {"connection_id":130308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:38:05] local.INFO: IMEI packet received {"connection_id":130308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":130308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:38:10] local.INFO: TCP Data received {"connection_id":130308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:38:10] local.INFO: Processing buffer {"connection_id":130308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:38:10] local.INFO: IMEI packet received {"connection_id":130308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":130308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:38:10] local.INFO: TCP Data received {"connection_id":130308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:38:10] local.INFO: Processing buffer {"connection_id":130308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:38:10] local.INFO: Packet analysis {"connection_id":130308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:38:10] local.INFO: Extracted packet for processing {"connection_id":130308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:38:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":130308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:38:10] local.INFO: GPS data processed {"connection_id":130308,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:38:10] local.INFO: Acknowledgment sent {"connection_id":130308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:38:41] local.INFO: TCP Data received {"connection_id":130308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:38:41] local.INFO: Processing buffer {"connection_id":130308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:38:41] local.INFO: Packet analysis {"connection_id":130308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:38:41] local.INFO: Extracted packet for processing {"connection_id":130308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:38:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":130308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:38:41] local.INFO: GPS data processed {"connection_id":130308,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:38:41] local.INFO: Acknowledgment sent {"connection_id":130308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:39:10] local.INFO: TCP Data received {"connection_id":129058,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:39:10] local.INFO: Processing buffer {"connection_id":129058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:39:10] local.INFO: IMEI packet received {"connection_id":129058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":129058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:39:15] local.INFO: TCP Data received {"connection_id":129058,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:39:15] local.INFO: Processing buffer {"connection_id":129058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:39:15] local.INFO: IMEI packet received {"connection_id":129058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":129058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:39:16] local.INFO: TCP Data received {"connection_id":129058,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:39:16] local.INFO: Processing buffer {"connection_id":129058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:39:16] local.INFO: Packet analysis {"connection_id":129058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:39:16] local.INFO: Extracted packet for processing {"connection_id":129058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:39:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:39:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":129058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:39:16] local.INFO: GPS data processed {"connection_id":129058,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:39:16] local.INFO: Acknowledgment sent {"connection_id":129058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:39:20] local.INFO: TCP Data received {"connection_id":129058,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:39:20] local.INFO: Processing buffer {"connection_id":129058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb3bcf0012cb29ac007823b28004700db2a..."} 
[2026-07-11 06:39:20] local.INFO: Packet analysis {"connection_id":129058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:39:20] local.INFO: Extracted packet for processing {"connection_id":129058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb3"} 
[2026-07-11 06:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635271424001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783731830000,"timestamp_ms":1783731830000,"timestamp_seconds":1783731830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb3bcf0"} 
[2026-07-11 06:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635271424001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635271424001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:39:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635271424001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":129058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:39:20] local.INFO: GPS data processed {"connection_id":129058,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:39:20] local.INFO: Acknowledgment sent {"connection_id":129058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:40:05] local.INFO: TCP Data received {"connection_id":130310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:40:05] local.INFO: Processing buffer {"connection_id":130310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:40:05] local.INFO: IMEI packet received {"connection_id":130310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":130310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:40:10] local.INFO: TCP Data received {"connection_id":130310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:40:10] local.INFO: Processing buffer {"connection_id":130310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:40:10] local.INFO: IMEI packet received {"connection_id":130310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":130310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:40:10] local.INFO: TCP Data received {"connection_id":130310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:40:10] local.INFO: Processing buffer {"connection_id":130310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:40:10] local.INFO: Packet analysis {"connection_id":130310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:40:10] local.INFO: Extracted packet for processing {"connection_id":130310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:40:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":130310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:40:11] local.INFO: GPS data processed {"connection_id":130310,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:40:11] local.INFO: Acknowledgment sent {"connection_id":130310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:40:42] local.INFO: TCP Data received {"connection_id":130310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:40:42] local.INFO: Processing buffer {"connection_id":130310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:40:42] local.INFO: Packet analysis {"connection_id":130310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:40:42] local.INFO: Extracted packet for processing {"connection_id":130310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":130310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:40:42] local.INFO: GPS data processed {"connection_id":130310,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:40:42] local.INFO: Acknowledgment sent {"connection_id":130310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:41:05] local.INFO: TCP Data received {"connection_id":128346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:41:05] local.INFO: Processing buffer {"connection_id":128346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:41:05] local.INFO: IMEI packet received {"connection_id":128346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":128346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:41:10] local.INFO: TCP Data received {"connection_id":128346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:41:10] local.INFO: Processing buffer {"connection_id":128346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:41:10] local.INFO: IMEI packet received {"connection_id":128346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":128346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:41:11] local.INFO: TCP Data received {"connection_id":128346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:41:11] local.INFO: Processing buffer {"connection_id":128346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:41:11] local.INFO: Packet analysis {"connection_id":128346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:41:11] local.INFO: Extracted packet for processing {"connection_id":128346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":128346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:41:11] local.INFO: GPS data processed {"connection_id":128346,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:41:11] local.INFO: Acknowledgment sent {"connection_id":128346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:41:42] local.INFO: TCP Data received {"connection_id":128346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:41:42] local.INFO: Processing buffer {"connection_id":128346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:41:42] local.INFO: Packet analysis {"connection_id":128346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:41:42] local.INFO: Extracted packet for processing {"connection_id":128346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:41:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":128346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:41:42] local.INFO: GPS data processed {"connection_id":128346,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:41:42] local.INFO: Acknowledgment sent {"connection_id":128346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:42:05] local.INFO: TCP Data received {"connection_id":128347,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:42:05] local.INFO: Processing buffer {"connection_id":128347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:42:05] local.INFO: IMEI packet received {"connection_id":128347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":128347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:42:10] local.INFO: TCP Data received {"connection_id":128347,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:42:10] local.INFO: Processing buffer {"connection_id":128347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:42:10] local.INFO: IMEI packet received {"connection_id":128347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":128347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:42:10] local.INFO: TCP Data received {"connection_id":128347,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:42:10] local.INFO: Processing buffer {"connection_id":128347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:42:10] local.INFO: Packet analysis {"connection_id":128347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:42:10] local.INFO: Extracted packet for processing {"connection_id":128347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:42:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":128347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:42:10] local.INFO: GPS data processed {"connection_id":128347,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:42:10] local.INFO: Acknowledgment sent {"connection_id":128347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:42:41] local.INFO: TCP Data received {"connection_id":128347,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:42:41] local.INFO: Processing buffer {"connection_id":128347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:42:41] local.INFO: Packet analysis {"connection_id":128347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:42:41] local.INFO: Extracted packet for processing {"connection_id":128347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:42:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":128347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:42:41] local.INFO: GPS data processed {"connection_id":128347,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:42:41] local.INFO: Acknowledgment sent {"connection_id":128347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:43:05] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:43:05] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:43:05] local.INFO: IMEI packet received {"connection_id":128349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":128349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:43:10] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:43:10] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:43:10] local.INFO: IMEI packet received {"connection_id":128349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":128349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:43:11] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:43:11] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:43:11] local.INFO: Packet analysis {"connection_id":128349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:43:11] local.INFO: Extracted packet for processing {"connection_id":128349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":128349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:43:11] local.INFO: GPS data processed {"connection_id":128349,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:43:11] local.INFO: Acknowledgment sent {"connection_id":128349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:43:11] local.INFO: TCP Data received {"connection_id":128348,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:43:11] local.INFO: Processing buffer {"connection_id":128348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:43:11] local.INFO: IMEI packet received {"connection_id":128348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":128348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:43:42] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:43:42] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:43:42] local.INFO: Packet analysis {"connection_id":128349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:43:42] local.INFO: Extracted packet for processing {"connection_id":128349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:43:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":128349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:43:42] local.INFO: GPS data processed {"connection_id":128349,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:43:42] local.INFO: Acknowledgment sent {"connection_id":128349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:43:46] local.INFO: TCP Data received {"connection_id":128155,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:43:46] local.INFO: Processing buffer {"connection_id":128155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:43:46] local.INFO: IMEI packet received {"connection_id":128155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":128155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:44:10] local.INFO: TCP Data received {"connection_id":128350,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:44:10] local.INFO: Processing buffer {"connection_id":128350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:44:10] local.INFO: IMEI packet received {"connection_id":128350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":128350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:44:15] local.INFO: TCP Data received {"connection_id":128350,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:44:15] local.INFO: Processing buffer {"connection_id":128350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:44:15] local.INFO: IMEI packet received {"connection_id":128350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":128350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:44:16] local.INFO: TCP Data received {"connection_id":128350,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:44:16] local.INFO: Processing buffer {"connection_id":128350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:44:16] local.INFO: Packet analysis {"connection_id":128350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:44:16] local.INFO: Extracted packet for processing {"connection_id":128350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:44:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:44:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:44:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:44:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":128350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:44:16] local.INFO: GPS data processed {"connection_id":128350,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:44:16] local.INFO: Acknowledgment sent {"connection_id":128350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:44:20] local.INFO: TCP Data received {"connection_id":128350,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:44:20] local.INFO: Processing buffer {"connection_id":128350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eb854b8012cb29ac007823b28004700db29..."} 
[2026-07-11 06:44:20] local.INFO: Packet analysis {"connection_id":128350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:44:20] local.INFO: Extracted packet for processing {"connection_id":128350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eb8"} 
[2026-07-11 06:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635348480001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783732131000,"timestamp_ms":1783732131000,"timestamp_seconds":1783732131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eb854b8"} 
[2026-07-11 06:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635348480001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635348480001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:44:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635348480001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":128350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:44:20] local.INFO: GPS data processed {"connection_id":128350,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:44:20] local.INFO: Acknowledgment sent {"connection_id":128350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:45:05] local.INFO: TCP Data received {"connection_id":129061,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:45:05] local.INFO: Processing buffer {"connection_id":129061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:45:05] local.INFO: IMEI packet received {"connection_id":129061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":129061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:45:10] local.INFO: TCP Data received {"connection_id":129061,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:45:10] local.INFO: Processing buffer {"connection_id":129061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:45:10] local.INFO: IMEI packet received {"connection_id":129061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":129061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:45:11] local.INFO: TCP Data received {"connection_id":129061,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:45:11] local.INFO: Processing buffer {"connection_id":129061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:45:11] local.INFO: Packet analysis {"connection_id":129061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:45:11] local.INFO: Extracted packet for processing {"connection_id":129061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":129061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:45:11] local.INFO: GPS data processed {"connection_id":129061,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:45:11] local.INFO: Acknowledgment sent {"connection_id":129061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:45:42] local.INFO: TCP Data received {"connection_id":129061,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:45:42] local.INFO: Processing buffer {"connection_id":129061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:45:42] local.INFO: Packet analysis {"connection_id":129061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:45:42] local.INFO: Extracted packet for processing {"connection_id":129061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":129061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:45:42] local.INFO: GPS data processed {"connection_id":129061,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:45:42] local.INFO: Acknowledgment sent {"connection_id":129061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:46:05] local.INFO: TCP Data received {"connection_id":130311,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:46:05] local.INFO: Processing buffer {"connection_id":130311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:46:05] local.INFO: IMEI packet received {"connection_id":130311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":130311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:46:10] local.INFO: TCP Data received {"connection_id":130311,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:46:10] local.INFO: Processing buffer {"connection_id":130311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:46:10] local.INFO: IMEI packet received {"connection_id":130311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":130311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:46:10] local.INFO: TCP Data received {"connection_id":130311,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:46:10] local.INFO: Processing buffer {"connection_id":130311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:46:10] local.INFO: Packet analysis {"connection_id":130311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:46:10] local.INFO: Extracted packet for processing {"connection_id":130311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:46:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":130311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:46:10] local.INFO: GPS data processed {"connection_id":130311,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:46:10] local.INFO: Acknowledgment sent {"connection_id":130311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:46:41] local.INFO: TCP Data received {"connection_id":130311,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:46:41] local.INFO: Processing buffer {"connection_id":130311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:46:41] local.INFO: Packet analysis {"connection_id":130311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:46:41] local.INFO: Extracted packet for processing {"connection_id":130311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:46:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":130311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:46:41] local.INFO: GPS data processed {"connection_id":130311,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:46:41] local.INFO: Acknowledgment sent {"connection_id":130311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:47:05] local.INFO: TCP Data received {"connection_id":128158,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:47:05] local.INFO: Processing buffer {"connection_id":128158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:47:05] local.INFO: IMEI packet received {"connection_id":128158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:47:10] local.INFO: TCP Data received {"connection_id":128158,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:47:10] local.INFO: Processing buffer {"connection_id":128158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:47:10] local.INFO: IMEI packet received {"connection_id":128158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":128158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:47:11] local.INFO: TCP Data received {"connection_id":128158,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:47:11] local.INFO: Processing buffer {"connection_id":128158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:47:11] local.INFO: Packet analysis {"connection_id":128158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:47:11] local.INFO: Extracted packet for processing {"connection_id":128158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":128158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:47:11] local.INFO: GPS data processed {"connection_id":128158,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:47:11] local.INFO: Acknowledgment sent {"connection_id":128158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:47:42] local.INFO: TCP Data received {"connection_id":128158,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:47:42] local.INFO: Processing buffer {"connection_id":128158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:47:42] local.INFO: Packet analysis {"connection_id":128158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:47:42] local.INFO: Extracted packet for processing {"connection_id":128158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":128158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:47:42] local.INFO: GPS data processed {"connection_id":128158,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:47:42] local.INFO: Acknowledgment sent {"connection_id":128158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:48:05] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:48:05] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:48:05] local.INFO: IMEI packet received {"connection_id":130312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":130312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:48:10] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:48:10] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:48:10] local.INFO: IMEI packet received {"connection_id":130312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":130312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:48:10] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:48:10] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:48:10] local.INFO: Packet analysis {"connection_id":130312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:48:10] local.INFO: Extracted packet for processing {"connection_id":130312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:48:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":130312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:48:10] local.INFO: GPS data processed {"connection_id":130312,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:48:10] local.INFO: Acknowledgment sent {"connection_id":130312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:48:41] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:48:41] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:48:41] local.INFO: Packet analysis {"connection_id":130312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:48:41] local.INFO: Extracted packet for processing {"connection_id":130312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:48:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":130312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:48:41] local.INFO: GPS data processed {"connection_id":130312,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:48:41] local.INFO: Acknowledgment sent {"connection_id":130312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:49:06] local.INFO: TCP Data received {"connection_id":128352,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:49:06] local.INFO: Processing buffer {"connection_id":128352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:49:06] local.INFO: IMEI packet received {"connection_id":128352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":128352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:49:10] local.INFO: TCP Data received {"connection_id":129062,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:49:10] local.INFO: Processing buffer {"connection_id":129062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:49:10] local.INFO: IMEI packet received {"connection_id":129062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":129062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:49:15] local.INFO: TCP Data received {"connection_id":129062,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:49:15] local.INFO: Processing buffer {"connection_id":129062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:49:15] local.INFO: IMEI packet received {"connection_id":129062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":129062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:49:16] local.INFO: TCP Data received {"connection_id":129062,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:49:16] local.INFO: Processing buffer {"connection_id":129062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:49:16] local.INFO: Packet analysis {"connection_id":129062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:49:16] local.INFO: Extracted packet for processing {"connection_id":129062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:49:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:49:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":129062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:49:16] local.INFO: GPS data processed {"connection_id":129062,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:49:16] local.INFO: Acknowledgment sent {"connection_id":129062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:49:20] local.INFO: TCP Data received {"connection_id":129062,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:49:20] local.INFO: Processing buffer {"connection_id":129062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ebcec80012cb29ac007823b28004700db27..."} 
[2026-07-11 06:49:20] local.INFO: Packet analysis {"connection_id":129062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:49:20] local.INFO: Extracted packet for processing {"connection_id":129062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ebc"} 
[2026-07-11 06:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635425536001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783732432000,"timestamp_ms":1783732432000,"timestamp_seconds":1783732432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ebcec80"} 
[2026-07-11 06:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635425536001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635425536001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:49:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635425536001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":129062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:49:20] local.INFO: GPS data processed {"connection_id":129062,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:49:20] local.INFO: Acknowledgment sent {"connection_id":129062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:49:46] local.INFO: TCP Data received {"connection_id":129063,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:49:46] local.INFO: Processing buffer {"connection_id":129063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:49:46] local.INFO: IMEI packet received {"connection_id":129063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":129063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:50:05] local.INFO: TCP Data received {"connection_id":128159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:50:05] local.INFO: Processing buffer {"connection_id":128159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:50:05] local.INFO: IMEI packet received {"connection_id":128159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":128159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:50:10] local.INFO: TCP Data received {"connection_id":128159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:50:10] local.INFO: Processing buffer {"connection_id":128159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:50:10] local.INFO: IMEI packet received {"connection_id":128159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":128159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:50:11] local.INFO: TCP Data received {"connection_id":128159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:50:11] local.INFO: Processing buffer {"connection_id":128159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:50:11] local.INFO: Packet analysis {"connection_id":128159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:50:11] local.INFO: Extracted packet for processing {"connection_id":128159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635502592001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783732733000,"timestamp_ms":1783732733000,"timestamp_seconds":1783732733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec18448"} 
[2026-07-11 06:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635502592001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635502592001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:50:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635502592001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":128159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:50:11] local.INFO: GPS data processed {"connection_id":128159,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:50:11] local.INFO: Acknowledgment sent {"connection_id":128159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:50:42] local.INFO: TCP Data received {"connection_id":128159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:50:42] local.INFO: Processing buffer {"connection_id":128159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:50:42] local.INFO: Packet analysis {"connection_id":128159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:50:42] local.INFO: Extracted packet for processing {"connection_id":128159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635502592001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783732733000,"timestamp_ms":1783732733000,"timestamp_seconds":1783732733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec18448"} 
[2026-07-11 06:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635502592001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635502592001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635502592001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":128159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:50:42] local.INFO: GPS data processed {"connection_id":128159,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:50:42] local.INFO: Acknowledgment sent {"connection_id":128159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:51:05] local.INFO: TCP Data received {"connection_id":128353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:51:05] local.INFO: Processing buffer {"connection_id":128353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:51:05] local.INFO: IMEI packet received {"connection_id":128353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":128353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:51:10] local.INFO: TCP Data received {"connection_id":128353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:51:10] local.INFO: Processing buffer {"connection_id":128353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:51:10] local.INFO: IMEI packet received {"connection_id":128353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":128353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:51:11] local.INFO: TCP Data received {"connection_id":128353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:51:11] local.INFO: Processing buffer {"connection_id":128353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:51:11] local.INFO: Packet analysis {"connection_id":128353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:51:11] local.INFO: Extracted packet for processing {"connection_id":128353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635502592001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783732733000,"timestamp_ms":1783732733000,"timestamp_seconds":1783732733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec18448"} 
[2026-07-11 06:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635502592001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635502592001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:51:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635502592001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":128353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:51:11] local.INFO: GPS data processed {"connection_id":128353,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:51:11] local.INFO: Acknowledgment sent {"connection_id":128353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:51:42] local.INFO: TCP Data received {"connection_id":128353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:51:42] local.INFO: Processing buffer {"connection_id":128353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:51:42] local.INFO: Packet analysis {"connection_id":128353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:51:42] local.INFO: Extracted packet for processing {"connection_id":128353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635502592001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783732733000,"timestamp_ms":1783732733000,"timestamp_seconds":1783732733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec18448"} 
[2026-07-11 06:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635502592001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635502592001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:51:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635502592001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":128353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:51:42] local.INFO: GPS data processed {"connection_id":128353,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:51:42] local.INFO: Acknowledgment sent {"connection_id":128353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:52:05] local.INFO: TCP Data received {"connection_id":129065,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:52:05] local.INFO: Processing buffer {"connection_id":129065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:52:05] local.INFO: IMEI packet received {"connection_id":129065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":129065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:52:10] local.INFO: TCP Data received {"connection_id":129065,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:52:10] local.INFO: Processing buffer {"connection_id":129065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:52:10] local.INFO: IMEI packet received {"connection_id":129065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":129065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:52:10] local.INFO: TCP Data received {"connection_id":129065,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:52:10] local.INFO: Processing buffer {"connection_id":129065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:52:10] local.INFO: Packet analysis {"connection_id":129065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:52:10] local.INFO: Extracted packet for processing {"connection_id":129065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635502592001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783732733000,"timestamp_ms":1783732733000,"timestamp_seconds":1783732733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec18448"} 
[2026-07-11 06:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635502592001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635502592001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:52:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635502592001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":129065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:52:10] local.INFO: GPS data processed {"connection_id":129065,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:52:10] local.INFO: Acknowledgment sent {"connection_id":129065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:52:41] local.INFO: TCP Data received {"connection_id":129065,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:52:41] local.INFO: Processing buffer {"connection_id":129065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:52:41] local.INFO: Packet analysis {"connection_id":129065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:52:41] local.INFO: Extracted packet for processing {"connection_id":129065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635502592001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783732733000,"timestamp_ms":1783732733000,"timestamp_seconds":1783732733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec18448"} 
[2026-07-11 06:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635502592001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635502592001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:52:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635502592001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":129065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:52:41] local.INFO: GPS data processed {"connection_id":129065,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:52:41] local.INFO: Acknowledgment sent {"connection_id":129065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:53:05] local.INFO: TCP Data received {"connection_id":130313,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:53:05] local.INFO: Processing buffer {"connection_id":130313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:53:05] local.INFO: IMEI packet received {"connection_id":130313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":130313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:53:10] local.INFO: TCP Data received {"connection_id":130313,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:53:10] local.INFO: Processing buffer {"connection_id":130313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:53:10] local.INFO: IMEI packet received {"connection_id":130313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":130313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:53:11] local.INFO: TCP Data received {"connection_id":130313,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:53:11] local.INFO: Processing buffer {"connection_id":130313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:53:11] local.INFO: Packet analysis {"connection_id":130313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:53:11] local.INFO: Extracted packet for processing {"connection_id":130313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635502592001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783732733000,"timestamp_ms":1783732733000,"timestamp_seconds":1783732733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec18448"} 
[2026-07-11 06:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635502592001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635502592001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:53:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635502592001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":130313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:53:11] local.INFO: GPS data processed {"connection_id":130313,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:53:11] local.INFO: Acknowledgment sent {"connection_id":130313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:53:42] local.INFO: TCP Data received {"connection_id":130313,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:53:42] local.INFO: Processing buffer {"connection_id":130313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:53:42] local.INFO: Packet analysis {"connection_id":130313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:53:42] local.INFO: Extracted packet for processing {"connection_id":130313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635502592001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783732733000,"timestamp_ms":1783732733000,"timestamp_seconds":1783732733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec18448"} 
[2026-07-11 06:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635502592001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635502592001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:53:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635502592001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":130313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:53:42] local.INFO: GPS data processed {"connection_id":130313,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:53:42] local.INFO: Acknowledgment sent {"connection_id":130313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:54:10] local.INFO: TCP Data received {"connection_id":128355,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:54:10] local.INFO: Processing buffer {"connection_id":128355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:54:10] local.INFO: IMEI packet received {"connection_id":128355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":128355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:54:15] local.INFO: TCP Data received {"connection_id":128355,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:54:15] local.INFO: Processing buffer {"connection_id":128355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:54:15] local.INFO: IMEI packet received {"connection_id":128355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":128355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:54:16] local.INFO: TCP Data received {"connection_id":128355,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:54:16] local.INFO: Processing buffer {"connection_id":128355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec18448012cb29ac007823b28004700db27..."} 
[2026-07-11 06:54:16] local.INFO: Packet analysis {"connection_id":128355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:54:16] local.INFO: Extracted packet for processing {"connection_id":128355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec1"} 
[2026-07-11 06:54:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635502592001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783732733000,"timestamp_ms":1783732733000,"timestamp_seconds":1783732733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec18448"} 
[2026-07-11 06:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635502592001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635502592001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:54:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635502592001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":128355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:54:16] local.INFO: GPS data processed {"connection_id":128355,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:54:16] local.INFO: Acknowledgment sent {"connection_id":128355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:54:46] local.INFO: TCP Data received {"connection_id":128355,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:54:46] local.INFO: Processing buffer {"connection_id":128355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:54:46] local.INFO: Packet analysis {"connection_id":128355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:54:46] local.INFO: Extracted packet for processing {"connection_id":128355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:54:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:54:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:54:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":128355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:54:46] local.INFO: GPS data processed {"connection_id":128355,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:54:46] local.INFO: Acknowledgment sent {"connection_id":128355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:55:06] local.INFO: TCP Data received {"connection_id":130315,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:55:06] local.INFO: Processing buffer {"connection_id":130315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:55:06] local.INFO: IMEI packet received {"connection_id":130315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":130315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:55:10] local.INFO: TCP Data received {"connection_id":130315,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:55:10] local.INFO: Processing buffer {"connection_id":130315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:55:10] local.INFO: IMEI packet received {"connection_id":130315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":130315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:55:11] local.INFO: TCP Data received {"connection_id":130315,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:55:11] local.INFO: Processing buffer {"connection_id":130315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:55:11] local.INFO: Packet analysis {"connection_id":130315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:55:11] local.INFO: Extracted packet for processing {"connection_id":130315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":130315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:55:11] local.INFO: GPS data processed {"connection_id":130315,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:55:11] local.INFO: Acknowledgment sent {"connection_id":130315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:55:16] local.INFO: TCP Data received {"connection_id":130314,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:55:16] local.INFO: Processing buffer {"connection_id":130314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:55:16] local.INFO: IMEI packet received {"connection_id":130314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":130314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:55:42] local.INFO: TCP Data received {"connection_id":130315,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:55:42] local.INFO: Processing buffer {"connection_id":130315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:55:42] local.INFO: Packet analysis {"connection_id":130315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:55:42] local.INFO: Extracted packet for processing {"connection_id":130315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":130315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:55:42] local.INFO: GPS data processed {"connection_id":130315,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:55:42] local.INFO: Acknowledgment sent {"connection_id":130315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:55:46] local.INFO: TCP Data received {"connection_id":129067,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:55:46] local.INFO: Processing buffer {"connection_id":129067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 06:55:46] local.INFO: IMEI packet received {"connection_id":129067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 06:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":129067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:56:05] local.INFO: TCP Data received {"connection_id":128161,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:56:05] local.INFO: Processing buffer {"connection_id":128161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:56:05] local.INFO: IMEI packet received {"connection_id":128161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":128161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:56:10] local.INFO: TCP Data received {"connection_id":128161,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:56:10] local.INFO: Processing buffer {"connection_id":128161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:56:10] local.INFO: IMEI packet received {"connection_id":128161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":128161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:56:10] local.INFO: TCP Data received {"connection_id":128161,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:56:10] local.INFO: Processing buffer {"connection_id":128161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:56:10] local.INFO: Packet analysis {"connection_id":128161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:56:10] local.INFO: Extracted packet for processing {"connection_id":128161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:56:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":128161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:56:10] local.INFO: GPS data processed {"connection_id":128161,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:56:10] local.INFO: Acknowledgment sent {"connection_id":128161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:56:41] local.INFO: TCP Data received {"connection_id":128161,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:56:41] local.INFO: Processing buffer {"connection_id":128161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:56:41] local.INFO: Packet analysis {"connection_id":128161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:56:41] local.INFO: Extracted packet for processing {"connection_id":128161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:56:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":128161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:56:41] local.INFO: GPS data processed {"connection_id":128161,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:56:41] local.INFO: Acknowledgment sent {"connection_id":128161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:57:05] local.INFO: TCP Data received {"connection_id":128164,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:57:05] local.INFO: Processing buffer {"connection_id":128164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:57:05] local.INFO: IMEI packet received {"connection_id":128164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":128164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:57:10] local.INFO: TCP Data received {"connection_id":128164,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:57:10] local.INFO: Processing buffer {"connection_id":128164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:57:10] local.INFO: IMEI packet received {"connection_id":128164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":128164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:57:11] local.INFO: TCP Data received {"connection_id":128164,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:57:11] local.INFO: Processing buffer {"connection_id":128164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:57:11] local.INFO: Packet analysis {"connection_id":128164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:57:11] local.INFO: Extracted packet for processing {"connection_id":128164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":128164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:57:11] local.INFO: GPS data processed {"connection_id":128164,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:57:11] local.INFO: Acknowledgment sent {"connection_id":128164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:57:42] local.INFO: TCP Data received {"connection_id":128164,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:57:42] local.INFO: Processing buffer {"connection_id":128164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:57:42] local.INFO: Packet analysis {"connection_id":128164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:57:42] local.INFO: Extracted packet for processing {"connection_id":128164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":128164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:57:42] local.INFO: GPS data processed {"connection_id":128164,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:57:42] local.INFO: Acknowledgment sent {"connection_id":128164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:58:10] local.INFO: TCP Data received {"connection_id":128357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:58:10] local.INFO: Processing buffer {"connection_id":128357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:58:10] local.INFO: IMEI packet received {"connection_id":128357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:58:15] local.INFO: TCP Data received {"connection_id":128357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:58:15] local.INFO: Processing buffer {"connection_id":128357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:58:15] local.INFO: IMEI packet received {"connection_id":128357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":128357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:58:16] local.INFO: TCP Data received {"connection_id":128357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:58:16] local.INFO: Processing buffer {"connection_id":128357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:58:16] local.INFO: Packet analysis {"connection_id":128357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:58:16] local.INFO: Extracted packet for processing {"connection_id":128357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:58:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:58:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:58:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":128357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:58:16] local.INFO: GPS data processed {"connection_id":128357,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:58:16] local.INFO: Acknowledgment sent {"connection_id":128357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:58:47] local.INFO: TCP Data received {"connection_id":128357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:58:47] local.INFO: Processing buffer {"connection_id":128357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:58:47] local.INFO: Packet analysis {"connection_id":128357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:58:47] local.INFO: Extracted packet for processing {"connection_id":128357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:58:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:58:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:58:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":128357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:58:47] local.INFO: GPS data processed {"connection_id":128357,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:58:47] local.INFO: Acknowledgment sent {"connection_id":128357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:59:05] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:59:05] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:59:05] local.INFO: IMEI packet received {"connection_id":130316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 06:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":130316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 06:59:10] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:59:10] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 06:59:10] local.INFO: IMEI packet received {"connection_id":130316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 06:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":130316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 06:59:11] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:59:11] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec61c10012cb29ac007823b28004700db26..."} 
[2026-07-11 06:59:11] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:59:11] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec6"} 
[2026-07-11 06:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635579648001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783733034000,"timestamp_ms":1783733034000,"timestamp_seconds":1783733034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec61c10"} 
[2026-07-11 06:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635579648001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635579648001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:59:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635579648001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:59:11] local.INFO: GPS data processed {"connection_id":130316,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:59:11] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 06:59:42] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 06:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 06:59:42] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 06:59:42] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 06:59:42] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 06:59:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 06:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 06:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 06:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 06:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 06:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 06:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 06:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 06:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 06:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 06:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 06:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 06:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 06:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 06:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 06:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 06:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 06:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 06:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 06:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 06:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 06:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 06:59:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 06:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 06:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 06:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 06:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 06:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 06:59:42] local.INFO: GPS data processed {"connection_id":130316,"processed":1,"errors":0,"total":1} 
[2026-07-11 06:59:42] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:00:05] local.INFO: TCP Data received {"connection_id":128165,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:00:05] local.INFO: Processing buffer {"connection_id":128165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:00:05] local.INFO: IMEI packet received {"connection_id":128165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":128165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:00:10] local.INFO: TCP Data received {"connection_id":128165,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:00:10] local.INFO: Processing buffer {"connection_id":128165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:00:10] local.INFO: IMEI packet received {"connection_id":128165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":128165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:00:10] local.INFO: TCP Data received {"connection_id":128165,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:00:10] local.INFO: Processing buffer {"connection_id":128165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:00:10] local.INFO: Packet analysis {"connection_id":128165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:00:10] local.INFO: Extracted packet for processing {"connection_id":128165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 07:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:00:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":128165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:00:10] local.INFO: GPS data processed {"connection_id":128165,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:00:10] local.INFO: Acknowledgment sent {"connection_id":128165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:00:41] local.INFO: TCP Data received {"connection_id":128165,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:00:41] local.INFO: Processing buffer {"connection_id":128165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:00:41] local.INFO: Packet analysis {"connection_id":128165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:00:41] local.INFO: Extracted packet for processing {"connection_id":128165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 07:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:00:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":128165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:00:41] local.INFO: GPS data processed {"connection_id":128165,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:00:41] local.INFO: Acknowledgment sent {"connection_id":128165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:01:05] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:01:05] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:01:05] local.INFO: IMEI packet received {"connection_id":130318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":130318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:01:06] local.INFO: TCP Data received {"connection_id":128359,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:01:06] local.INFO: Processing buffer {"connection_id":128359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:01:06] local.INFO: IMEI packet received {"connection_id":128359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":128359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:01:10] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:01:10] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:01:10] local.INFO: IMEI packet received {"connection_id":130318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":130318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:01:11] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:01:11] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:01:11] local.INFO: Packet analysis {"connection_id":130318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:01:11] local.INFO: Extracted packet for processing {"connection_id":130318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 07:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":130318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:01:11] local.INFO: GPS data processed {"connection_id":130318,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:01:11] local.INFO: Acknowledgment sent {"connection_id":130318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:01:42] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:01:42] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:01:42] local.INFO: Packet analysis {"connection_id":130318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:01:42] local.INFO: Extracted packet for processing {"connection_id":130318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 07:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":130318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:01:42] local.INFO: GPS data processed {"connection_id":130318,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:01:42] local.INFO: Acknowledgment sent {"connection_id":130318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:01:46] local.INFO: TCP Data received {"connection_id":129068,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:01:46] local.INFO: Processing buffer {"connection_id":129068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:01:46] local.INFO: IMEI packet received {"connection_id":129068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":129068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:02:05] local.INFO: TCP Data received {"connection_id":129069,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:02:05] local.INFO: Processing buffer {"connection_id":129069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:02:05] local.INFO: IMEI packet received {"connection_id":129069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":129069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:02:10] local.INFO: TCP Data received {"connection_id":129069,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:02:10] local.INFO: Processing buffer {"connection_id":129069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:02:10] local.INFO: IMEI packet received {"connection_id":129069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":129069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:02:10] local.INFO: TCP Data received {"connection_id":129069,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:02:10] local.INFO: Processing buffer {"connection_id":129069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:02:10] local.INFO: Packet analysis {"connection_id":129069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:02:10] local.INFO: Extracted packet for processing {"connection_id":129069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 07:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:02:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":129069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:02:10] local.INFO: GPS data processed {"connection_id":129069,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:02:10] local.INFO: Acknowledgment sent {"connection_id":129069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:02:41] local.INFO: TCP Data received {"connection_id":129069,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:02:41] local.INFO: Processing buffer {"connection_id":129069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:02:41] local.INFO: Packet analysis {"connection_id":129069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:02:41] local.INFO: Extracted packet for processing {"connection_id":129069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 07:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:02:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":129069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:02:41] local.INFO: GPS data processed {"connection_id":129069,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:02:41] local.INFO: Acknowledgment sent {"connection_id":129069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:03:10] local.INFO: TCP Data received {"connection_id":128167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:03:10] local.INFO: Processing buffer {"connection_id":128167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:03:10] local.INFO: IMEI packet received {"connection_id":128167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":128167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:03:15] local.INFO: TCP Data received {"connection_id":128167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:03:15] local.INFO: Processing buffer {"connection_id":128167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:03:15] local.INFO: IMEI packet received {"connection_id":128167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":128167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:03:16] local.INFO: TCP Data received {"connection_id":128167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:03:16] local.INFO: Processing buffer {"connection_id":128167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:03:16] local.INFO: Packet analysis {"connection_id":128167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:03:16] local.INFO: Extracted packet for processing {"connection_id":128167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:03:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 07:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:03:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":128167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:03:16] local.INFO: GPS data processed {"connection_id":128167,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:03:16] local.INFO: Acknowledgment sent {"connection_id":128167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:03:20] local.INFO: TCP Data received {"connection_id":128167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:03:20] local.INFO: Processing buffer {"connection_id":128167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:03:20] local.INFO: Packet analysis {"connection_id":128167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:03:20] local.INFO: Extracted packet for processing {"connection_id":128167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 07:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":128167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:03:20] local.INFO: GPS data processed {"connection_id":128167,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:03:20] local.INFO: Acknowledgment sent {"connection_id":128167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:04:05] local.INFO: TCP Data received {"connection_id":128360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:04:05] local.INFO: Processing buffer {"connection_id":128360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:04:05] local.INFO: IMEI packet received {"connection_id":128360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:04:10] local.INFO: TCP Data received {"connection_id":128360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:04:10] local.INFO: Processing buffer {"connection_id":128360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:04:10] local.INFO: IMEI packet received {"connection_id":128360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":128360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:04:10] local.INFO: TCP Data received {"connection_id":128360,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:04:10] local.INFO: Processing buffer {"connection_id":128360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecab3d8012cb29ac007823b28004700db27..."} 
[2026-07-11 07:04:10] local.INFO: Packet analysis {"connection_id":128360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:04:10] local.INFO: Extracted packet for processing {"connection_id":128360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eca"} 
[2026-07-11 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635656704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783733335000,"timestamp_ms":1783733335000,"timestamp_seconds":1783733335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecab3d8"} 
[2026-07-11 07:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635656704001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635656704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:04:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635656704001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":128360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:04:10] local.INFO: GPS data processed {"connection_id":128360,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:04:10] local.INFO: Acknowledgment sent {"connection_id":128360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:04:38] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:04:38] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:04:38] local.INFO: IMEI packet received {"connection_id":129070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":129070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:04:41] local.INFO: TCP Data received {"connection_id":128360,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:04:41] local.INFO: Processing buffer {"connection_id":128360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:04:41] local.INFO: Packet analysis {"connection_id":128360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:04:41] local.INFO: Extracted packet for processing {"connection_id":128360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:04:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":128360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:04:41] local.INFO: GPS data processed {"connection_id":128360,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:04:41] local.INFO: Acknowledgment sent {"connection_id":128360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:05:00] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 07:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 07:05:00] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 07:05:00] local.INFO: IMEI packet received {"connection_id":129070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":129070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:05:05] local.INFO: TCP Data received {"connection_id":128168,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:05:05] local.INFO: Processing buffer {"connection_id":128168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:05:05] local.INFO: IMEI packet received {"connection_id":128168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":128168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:05:10] local.INFO: TCP Data received {"connection_id":128168,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:05:10] local.INFO: Processing buffer {"connection_id":128168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:05:10] local.INFO: IMEI packet received {"connection_id":128168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":128168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:05:11] local.INFO: TCP Data received {"connection_id":128168,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:05:11] local.INFO: Processing buffer {"connection_id":128168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:05:11] local.INFO: Packet analysis {"connection_id":128168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:05:11] local.INFO: Extracted packet for processing {"connection_id":128168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":128168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:05:11] local.INFO: GPS data processed {"connection_id":128168,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:05:11] local.INFO: Acknowledgment sent {"connection_id":128168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:05:12] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:05:12] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 07:05:12] local.INFO: IMEI packet received {"connection_id":129070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":129070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:05:15] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-11 07:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-11 07:05:15] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000000000..."} 
[2026-07-11 07:05:15] local.INFO: IMEI packet received {"connection_id":129070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":129070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:05:16] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-11 07:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-11 07:05:16] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-11 07:05:16] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-11 07:05:16] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-11 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 07:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104842556877045760,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,209,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 07:05:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 07:05:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 07:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 07:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 07:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 07:05:16] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 07:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 07:05:16] local.ERROR: GPS data processing failed {"connection_id":129070,"error":"No valid data to process"} 
[2026-07-11 07:05:16] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 07:05:16] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 07:05:16] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 07:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104842556877045760,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,209,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 07:05:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 07:05:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 07:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 07:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 07:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 07:05:16] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 07:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 07:05:16] local.ERROR: GPS data processing failed {"connection_id":129070,"error":"No valid data to process"} 
[2026-07-11 07:05:16] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 07:05:17] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed04988012d80034005d39848001900580a..."} 
[2026-07-11 07:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed04988012d80034005d39848001900580a..."} 
[2026-07-11 07:05:17] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed04988012d80034005d39848001900580a..."} 
[2026-07-11 07:05:17] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed0"} 
[2026-07-11 07:05:17] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed0"} 
[2026-07-11 07:05:17] local.INFO: GPS Element Parsed {"raw_longitude":763364160,"raw_latitude":97753160,"longitude_deg":76.336416,"latitude_deg":9.775316,"altitude":25,"angle":88,"satellites":10,"speed":24,"hex_longitude":"2d800340","hex_latitude":"05d39848","is_valid_coordinates":true} 
[2026-07-11 07:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104842556877045760,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,167,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 07:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783733701000,"timestamp_ms":1783733701000,"timestamp_seconds":1783733701,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed04988"} 
[2026-07-11 07:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 07:05:17] 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-07-11 07:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13472,"167":206,"85":15104,"24":24,"16":104842556877045760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16]} 
[2026-07-11 07:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-11 07:05:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 07:05:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104842556877045760,"km_value":104842556877045.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:05:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13472,"unknown_167":206,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-07-11 07:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:05:17] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:05:17] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:05:42] local.INFO: TCP Data received {"connection_id":128168,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:05:42] local.INFO: Processing buffer {"connection_id":128168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:05:42] local.INFO: Packet analysis {"connection_id":128168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:05:42] local.INFO: Extracted packet for processing {"connection_id":128168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:05:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":128168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:05:42] local.INFO: GPS data processed {"connection_id":128168,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:05:42] local.INFO: Acknowledgment sent {"connection_id":128168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:05:47] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed07868012d80278005d39788000e005b0a..."} 
[2026-07-11 07:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed07868012d80278005d39788000e005b0a..."} 
[2026-07-11 07:05:47] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed07868012d80278005d39788000e005b0a..."} 
[2026-07-11 07:05:47] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed0"} 
[2026-07-11 07:05:47] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed0"} 
[2026-07-11 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763373440,"raw_latitude":97752968,"longitude_deg":76.337344,"latitude_deg":9.7752968,"altitude":14,"angle":91,"satellites":10,"speed":25,"hex_longitude":"2d802780","hex_latitude":"05d39788","is_valid_coordinates":true} 
[2026-07-11 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635827456001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104842994963709952,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222457218155657216,"note":"Value kept but may cause issues"} 
[2026-07-11 07:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783733713000,"timestamp_ms":1783733713000,"timestamp_seconds":1783733713,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed07868"} 
[2026-07-11 07:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-11 07:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635827456001,"66":13319,"167":206,"85":15104,"24":25,"16":104842994963709952,"45":-9222457218155657216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-11 07:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635827456001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:05:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 07:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104842994963709952,"km_value":104842994963709.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222457218155657216,"description":"Unknown IO ID 45"} 
[2026-07-11 07:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635827456001,"power":13319,"unknown_167":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9222457218155657216}} 
[2026-07-11 07:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:05:47] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:05:47] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:06:10] local.INFO: TCP Data received {"connection_id":128169,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:06:10] local.INFO: Processing buffer {"connection_id":128169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:06:10] local.INFO: IMEI packet received {"connection_id":128169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":128169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:06:15] local.INFO: TCP Data received {"connection_id":128169,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:06:15] local.INFO: Processing buffer {"connection_id":128169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:06:15] local.INFO: IMEI packet received {"connection_id":128169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":128169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:06:16] local.INFO: TCP Data received {"connection_id":128169,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:06:16] local.INFO: Processing buffer {"connection_id":128169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:06:16] local.INFO: Packet analysis {"connection_id":128169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:06:16] local.INFO: Extracted packet for processing {"connection_id":128169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:06:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:06:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:06:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":128169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:06:16] local.INFO: GPS data processed {"connection_id":128169,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:06:16] local.INFO: Acknowledgment sent {"connection_id":128169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:06:18] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed09f78012d803c8005d39628000f00690a..."} 
[2026-07-11 07:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed09f78012d803c8005d39628000f00690a..."} 
[2026-07-11 07:06:18] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed09f78012d803c8005d39628000f00690a..."} 
[2026-07-11 07:06:18] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed0"} 
[2026-07-11 07:06:18] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed0"} 
[2026-07-11 07:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763378816,"raw_latitude":97752616,"longitude_deg":76.3378816,"latitude_deg":9.7752616,"altitude":15,"angle":105,"satellites":10,"speed":18,"hex_longitude":"2d803c80","hex_latitude":"05d39628","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635830528001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104843265546649600,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212253750249945088,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783733723000,"timestamp_ms":1783733723000,"timestamp_seconds":1783733723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed09f78"} 
[2026-07-11 07:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:06:18] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 07:06:18] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3221225472,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416617,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:18] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3053505792,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:18] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:18] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,167,85,24,241,157,16,122,159,73,45,64,152,25,10,66,121,9,209,183,1,240,227,4,113,205,27,239,2,41,116,182],"length":527,"final_offset":657,"validated_count":32,"validation_warnings":[]} 
[2026-07-11 07:06:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008906415040430080,"timestamp_seconds":1008906415040430.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 07:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635830528001,"66":13243,"167":206,"85":15104,"24":18,"16":104843265546649600,"45":-9212253750249945088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-11 07:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635830528001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:06:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 07:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104843265546649600,"km_value":104843265546649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212253750249945088,"description":"Unknown IO ID 45"} 
[2026-07-11 07:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635830528001,"power":13243,"unknown_167":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9212253750249945088}} 
[2026-07-11 07:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:06:18] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:06:18] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:06:47] local.INFO: TCP Data received {"connection_id":128169,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:06:47] local.INFO: Processing buffer {"connection_id":128169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:06:47] local.INFO: Packet analysis {"connection_id":128169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:06:47] local.INFO: Extracted packet for processing {"connection_id":128169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:06:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:06:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:06:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":128169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:06:47] local.INFO: GPS data processed {"connection_id":128169,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:06:47] local.INFO: Acknowledgment sent {"connection_id":128169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:06:49] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed0a748012d803f0005d393580010007a0a..."} 
[2026-07-11 07:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed0a748012d803f0005d393580010007a0a..."} 
[2026-07-11 07:06:49] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed0a748012d803f0005d393580010007a0a..."} 
[2026-07-11 07:06:49] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed0"} 
[2026-07-11 07:06:49] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed0"} 
[2026-07-11 07:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763379456,"raw_latitude":97751896,"longitude_deg":76.3379456,"latitude_deg":9.7751896,"altitude":16,"angle":122,"satellites":10,"speed":18,"hex_longitude":"2d803f00","hex_latitude":"05d39358","is_valid_coordinates":true} 
[2026-07-11 07:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635833088001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104843308496322560,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206342775739111424,"note":"Value kept but may cause issues"} 
[2026-07-11 07:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783733725000,"timestamp_ms":1783733725000,"timestamp_seconds":1783733725,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed0a748"} 
[2026-07-11 07:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 07:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635833088001,"66":13319,"167":206,"85":15104,"24":18,"16":104843308496322560,"45":-9206342775739111424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-11 07:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635833088001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:06:49] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 07:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104843308496322560,"km_value":104843308496322.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206342775739111424,"description":"Unknown IO ID 45"} 
[2026-07-11 07:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635833088001,"power":13319,"unknown_167":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9206342775739111424}} 
[2026-07-11 07:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:06:49] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:06:49] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:07:05] local.INFO: TCP Data received {"connection_id":130322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:07:05] local.INFO: Processing buffer {"connection_id":130322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:07:05] local.INFO: IMEI packet received {"connection_id":130322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":130322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:07:10] local.INFO: TCP Data received {"connection_id":130322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:07:10] local.INFO: Processing buffer {"connection_id":130322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:07:10] local.INFO: IMEI packet received {"connection_id":130322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":130322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:07:11] local.INFO: TCP Data received {"connection_id":130322,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:07:11] local.INFO: Processing buffer {"connection_id":130322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:07:11] local.INFO: Packet analysis {"connection_id":130322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:07:11] local.INFO: Extracted packet for processing {"connection_id":130322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":130322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:07:11] local.INFO: GPS data processed {"connection_id":130322,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:07:11] local.INFO: Acknowledgment sent {"connection_id":130322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:07:12] local.INFO: TCP Data received {"connection_id":129071,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:07:12] local.INFO: Processing buffer {"connection_id":129071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:07:12] local.INFO: IMEI packet received {"connection_id":129071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":129071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:07:20] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed21290012d8122c005d33bb0000800640c..."} 
[2026-07-11 07:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed21290012d8122c005d33bb0000800640c..."} 
[2026-07-11 07:07:20] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed21290012d8122c005d33bb0000800640c..."} 
[2026-07-11 07:07:20] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed2"} 
[2026-07-11 07:07:20] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed2"} 
[2026-07-11 07:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763437760,"raw_latitude":97729456,"longitude_deg":76.343776,"latitude_deg":9.7729456,"altitude":8,"angle":100,"satellites":12,"speed":40,"hex_longitude":"2d8122c0","hex_latitude":"05d33bb0","is_valid_coordinates":true} 
[2026-07-11 07:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635856384001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104846387987873792,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145825655751995392,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783733818000,"timestamp_ms":1783733818000,"timestamp_seconds":1783733818,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed21290"} 
[2026-07-11 07:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:07:20] 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-07-11 07:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 07:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635856384001,"66":13341,"167":206,"85":15104,"24":40,"16":104846387987873792,"45":-9145825655751995392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-11 07:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635856384001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:07:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 07:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104846387987873792,"km_value":104846387987873.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145825655751995392,"description":"Unknown IO ID 45"} 
[2026-07-11 07:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635856384001,"power":13341,"unknown_167":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9145825655751995392}} 
[2026-07-11 07:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:07:20] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:07:20] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:07:42] local.INFO: TCP Data received {"connection_id":130322,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:07:42] local.INFO: Processing buffer {"connection_id":130322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:07:42] local.INFO: Packet analysis {"connection_id":130322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:07:42] local.INFO: Extracted packet for processing {"connection_id":130322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":130322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:07:42] local.INFO: GPS data processed {"connection_id":130322,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:07:42] local.INFO: Acknowledgment sent {"connection_id":130322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:07:46] local.INFO: TCP Data received {"connection_id":128361,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:07:46] local.INFO: Processing buffer {"connection_id":128361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:07:46] local.INFO: IMEI packet received {"connection_id":128361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":128361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:07:51] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed22a00012d813b0005d33a68000800590c..."} 
[2026-07-11 07:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed22a00012d813b0005d33a68000800590c..."} 
[2026-07-11 07:07:51] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed22a00012d813b0005d33a68000800590c..."} 
[2026-07-11 07:07:51] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed2"} 
[2026-07-11 07:07:51] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed2"} 
[2026-07-11 07:07:51] local.INFO: GPS Element Parsed {"raw_longitude":763443968,"raw_latitude":97729128,"longitude_deg":76.3443968,"latitude_deg":9.7729128,"altitude":8,"angle":89,"satellites":12,"speed":40,"hex_longitude":"2d813b00","hex_latitude":"05d33a68","is_valid_coordinates":true} 
[2026-07-11 07:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635857408001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104846684340617216,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141533162357411840,"note":"Value kept but may cause issues"} 
[2026-07-11 07:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783733824000,"timestamp_ms":1783733824000,"timestamp_seconds":1783733824,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed22a00"} 
[2026-07-11 07:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 07:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635857408001,"66":13396,"207":206,"85":15104,"24":40,"16":104846684340617216,"45":-9141533162357411840},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 07:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635857408001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:07:51] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 07:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104846684340617216,"km_value":104846684340617.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141533162357411840,"description":"Unknown IO ID 45"} 
[2026-07-11 07:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635857408001,"power":13396,"unknown_207":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9141533162357411840}} 
[2026-07-11 07:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:07:51] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:07:51] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:08:05] local.INFO: TCP Data received {"connection_id":129072,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:08:05] local.INFO: Processing buffer {"connection_id":129072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:08:05] local.INFO: IMEI packet received {"connection_id":129072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":129072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:08:10] local.INFO: TCP Data received {"connection_id":129072,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:08:10] local.INFO: Processing buffer {"connection_id":129072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:08:10] local.INFO: IMEI packet received {"connection_id":129072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":129072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:08:10] local.INFO: TCP Data received {"connection_id":129072,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:08:10] local.INFO: Processing buffer {"connection_id":129072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:08:10] local.INFO: Packet analysis {"connection_id":129072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:08:10] local.INFO: Extracted packet for processing {"connection_id":129072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:08:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":129072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:08:10] local.INFO: GPS data processed {"connection_id":129072,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:08:10] local.INFO: Acknowledgment sent {"connection_id":129072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:08:22] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed254f8012d815fc005d33e50000600520c..."} 
[2026-07-11 07:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed254f8012d815fc005d33e50000600520c..."} 
[2026-07-11 07:08:22] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed254f8012d815fc005d33e50000600520c..."} 
[2026-07-11 07:08:22] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed2"} 
[2026-07-11 07:08:22] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed2"} 
[2026-07-11 07:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763453376,"raw_latitude":97730128,"longitude_deg":76.3453376,"latitude_deg":9.7730128,"altitude":6,"angle":82,"satellites":12,"speed":30,"hex_longitude":"2d815fc0","hex_latitude":"05d33e50","is_valid_coordinates":true} 
[2026-07-11 07:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635858944001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104847135312183296,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134707394172262400,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783733835000,"timestamp_ms":1783733835000,"timestamp_seconds":1783733835,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed254f8"} 
[2026-07-11 07:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-11 07:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635858944001,"66":13374,"207":206,"85":15104,"24":30,"16":104847135312183296,"45":-9134707394172262400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 07:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635858944001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:08:22] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 07:08:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104847135312183296,"km_value":104847135312183.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134707394172262400,"description":"Unknown IO ID 45"} 
[2026-07-11 07:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635858944001,"power":13374,"unknown_207":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9134707394172262400}} 
[2026-07-11 07:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:08:22] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:08:22] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:08:41] local.INFO: TCP Data received {"connection_id":129072,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:08:41] local.INFO: Processing buffer {"connection_id":129072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:08:41] local.INFO: Packet analysis {"connection_id":129072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:08:41] local.INFO: Extracted packet for processing {"connection_id":129072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:08:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":129072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:08:41] local.INFO: GPS data processed {"connection_id":129072,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:08:41] local.INFO: Acknowledgment sent {"connection_id":129072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:08:53] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed38990012d81b08005d387880005014f0f..."} 
[2026-07-11 07:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed38990012d81b08005d387880005014f0f..."} 
[2026-07-11 07:08:53] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed38990012d81b08005d387880005014f0f..."} 
[2026-07-11 07:08:53] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:08:53] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:08:53] local.INFO: GPS Element Parsed {"raw_longitude":763474048,"raw_latitude":97748872,"longitude_deg":76.3474048,"latitude_deg":9.7748872,"altitude":5,"angle":335,"satellites":15,"speed":28,"hex_longitude":"2d81b080","hex_latitude":"05d38788","is_valid_coordinates":true} 
[2026-07-11 07:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635881472001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104849304270667776,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100860028218068992,"note":"Value kept but may cause issues"} 
[2026-07-11 07:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783733914000,"timestamp_ms":1783733914000,"timestamp_seconds":1783733914,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed38990"} 
[2026-07-11 07:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 07:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635881472001,"66":13222,"207":206,"85":15104,"24":28,"16":104849304270667776,"45":-9100860028218068992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 07:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635881472001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:08:53] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 07:08:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104849304270667776,"km_value":104849304270667.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100860028218068992,"description":"Unknown IO ID 45"} 
[2026-07-11 07:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635881472001,"power":13222,"unknown_207":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9100860028218068992}} 
[2026-07-11 07:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:08:53] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:08:53] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:09:05] local.INFO: TCP Data received {"connection_id":129073,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:09:05] local.INFO: Processing buffer {"connection_id":129073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:09:05] local.INFO: IMEI packet received {"connection_id":129073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":129073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:09:10] local.INFO: TCP Data received {"connection_id":129073,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:09:10] local.INFO: Processing buffer {"connection_id":129073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:09:10] local.INFO: IMEI packet received {"connection_id":129073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":129073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:09:11] local.INFO: TCP Data received {"connection_id":129073,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:09:11] local.INFO: Processing buffer {"connection_id":129073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ecf4ba0012cb29ac007823b28004700db26..."} 
[2026-07-11 07:09:11] local.INFO: Packet analysis {"connection_id":129073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:09:11] local.INFO: Extracted packet for processing {"connection_id":129073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ecf"} 
[2026-07-11 07:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635733760001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783733636000,"timestamp_ms":1783733636000,"timestamp_seconds":1783733636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ecf4ba0"} 
[2026-07-11 07:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635733760001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635733760001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635733760001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":129073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:09:11] local.INFO: GPS data processed {"connection_id":129073,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:09:11] local.INFO: Acknowledgment sent {"connection_id":129073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:09:16] local.INFO: TCP Data received {"connection_id":128170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:09:16] local.INFO: Processing buffer {"connection_id":128170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:09:16] local.INFO: IMEI packet received {"connection_id":128170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":128170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:09:22] local.INFO: TCP Data received {"connection_id":128170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:09:22] local.INFO: Processing buffer {"connection_id":128170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:09:22] local.INFO: IMEI packet received {"connection_id":128170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":128170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:09:23] local.INFO: TCP Data received {"connection_id":128170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed39548012d81adc005d391200006015b0f..."} 
[2026-07-11 07:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed39548012d81adc005d391200006015b0f..."} 
[2026-07-11 07:09:23] local.INFO: Processing buffer {"connection_id":128170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed39548012d81adc005d391200006015b0f..."} 
[2026-07-11 07:09:23] local.INFO: Packet analysis {"connection_id":128170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:09:23] local.INFO: Extracted packet for processing {"connection_id":128170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763473344,"raw_latitude":97751328,"longitude_deg":76.3473344,"latitude_deg":9.7751328,"altitude":6,"angle":347,"satellites":15,"speed":33,"hex_longitude":"2d81adc0","hex_latitude":"05d39120","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635881984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104849424529752064,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101634084403705856,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783733917000,"timestamp_ms":1783733917000,"timestamp_seconds":1783733917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed39548"} 
[2026-07-11 07:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 07:09:23] 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-07-11 07: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-07-11 07:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635881984001,"66":13352,"207":206,"85":15104,"24":33,"16":104849424529752064,"45":-9101634084403705856},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 07:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635881984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:09:23] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 07:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104849424529752064,"km_value":104849424529752.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101634084403705856,"description":"Unknown IO ID 45"} 
[2026-07-11 07:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635881984001,"power":13352,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9101634084403705856}} 
[2026-07-11 07:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":128170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:09:23] local.INFO: GPS data processed {"connection_id":128170,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:09:23] local.INFO: Acknowledgment sent {"connection_id":128170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:09:42] local.INFO: TCP Data received {"connection_id":129073,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:09:42] local.INFO: Processing buffer {"connection_id":129073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:09:42] local.INFO: Packet analysis {"connection_id":129073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:09:42] local.INFO: Extracted packet for processing {"connection_id":129073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:09:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":129073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:09:42] local.INFO: GPS data processed {"connection_id":129073,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:09:42] local.INFO: Acknowledgment sent {"connection_id":129073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:09:54] local.INFO: TCP Data received {"connection_id":128170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed46068012d819c0005d43f90000501580f..."} 
[2026-07-11 07:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed46068012d819c0005d43f90000501580f..."} 
[2026-07-11 07:09:54] local.INFO: Processing buffer {"connection_id":128170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed46068012d819c0005d43f90000501580f..."} 
[2026-07-11 07:09:54] local.INFO: Packet analysis {"connection_id":128170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed4"} 
[2026-07-11 07:09:54] local.INFO: Extracted packet for processing {"connection_id":128170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed4"} 
[2026-07-11 07:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763468800,"raw_latitude":97795984,"longitude_deg":76.34688,"latitude_deg":9.7795984,"altitude":5,"angle":344,"satellites":15,"speed":37,"hex_longitude":"2d819c00","hex_latitude":"05d43f90","is_valid_coordinates":true} 
[2026-07-11 07:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635895040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104851653617778688,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105856209043152896,"note":"Value kept but may cause issues"} 
[2026-07-11 07:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783733969000,"timestamp_ms":1783733969000,"timestamp_seconds":1783733969,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed46068"} 
[2026-07-11 07:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-11 07:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635895040001,"66":13493,"166":206,"85":15104,"24":37,"16":104851653617778688,"45":-9105856209043152896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-11 07:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635895040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:09:54] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-11 07:09:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104851653617778688,"km_value":104851653617778.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105856209043152896,"description":"Unknown IO ID 45"} 
[2026-07-11 07:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635895040001,"power":13493,"unknown_166":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9105856209043152896}} 
[2026-07-11 07:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":128170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:09:54] local.INFO: GPS data processed {"connection_id":128170,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:09:54] local.INFO: Acknowledgment sent {"connection_id":128170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:10:10] local.INFO: TCP Data received {"connection_id":128171,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:10:10] local.INFO: Processing buffer {"connection_id":128171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:10:10] local.INFO: IMEI packet received {"connection_id":128171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":128171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:10:15] local.INFO: TCP Data received {"connection_id":128171,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:10:15] local.INFO: Processing buffer {"connection_id":128171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:10:15] local.INFO: IMEI packet received {"connection_id":128171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":128171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:10:16] local.INFO: TCP Data received {"connection_id":128171,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:10:16] local.INFO: Processing buffer {"connection_id":128171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:10:16] local.INFO: Packet analysis {"connection_id":128171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:10:16] local.INFO: Extracted packet for processing {"connection_id":128171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:10:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":128171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:10:16] local.INFO: GPS data processed {"connection_id":128171,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:10:16] local.INFO: Acknowledgment sent {"connection_id":128171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:10:17] local.INFO: TCP Data received {"connection_id":130323,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:10:17] local.INFO: Processing buffer {"connection_id":130323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:10:17] local.INFO: IMEI packet received {"connection_id":130323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":130323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:10:20] local.INFO: TCP Data received {"connection_id":128171,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:10:20] local.INFO: Processing buffer {"connection_id":128171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:10:20] local.INFO: Packet analysis {"connection_id":128171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:10:20] local.INFO: Extracted packet for processing {"connection_id":128171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:10:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":128171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:10:20] local.INFO: GPS data processed {"connection_id":128171,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:10:20] local.INFO: Acknowledgment sent {"connection_id":128171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:10:22] local.INFO: TCP Data received {"connection_id":130323,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:10:22] local.INFO: Processing buffer {"connection_id":130323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:10:22] local.INFO: IMEI packet received {"connection_id":130323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":130323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:10:27] local.INFO: TCP Data received {"connection_id":130323,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:10:27] local.INFO: Processing buffer {"connection_id":130323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:10:27] local.INFO: IMEI packet received {"connection_id":130323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":130323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:10:28] local.INFO: TCP Data received {"connection_id":130323,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed51418012d81c30005d4c5c8000d000610..."} 
[2026-07-11 07:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed51418012d81c30005d4c5c8000d000610..."} 
[2026-07-11 07:10:28] local.INFO: Processing buffer {"connection_id":130323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed51418012d81c30005d4c5c8000d000610..."} 
[2026-07-11 07:10:28] local.INFO: Packet analysis {"connection_id":130323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:10:28] local.INFO: Extracted packet for processing {"connection_id":130323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763478784,"raw_latitude":97830344,"longitude_deg":76.3478784,"latitude_deg":9.7830344,"altitude":13,"angle":6,"satellites":16,"speed":32,"hex_longitude":"2d81c300","hex_latitude":"05d4c5c8","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635907584001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104853689432276992,"note":"Value kept but may cause issues"} 
[2026-07-11 07:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096497166058108928,"note":"Value kept but may cause issues"} 
[2026-07-11 07:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783734015000,"timestamp_ms":1783734015000,"timestamp_seconds":1783734015,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed51418"} 
[2026-07-11 07:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 07:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635907584001,"66":13765,"166":206,"85":15104,"24":32,"16":104853689432276992,"45":-9096497166058108928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-11 07:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635907584001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:10:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-11 07:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104853689432276992,"km_value":104853689432276.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096497166058108928,"description":"Unknown IO ID 45"} 
[2026-07-11 07:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635907584001,"power":13765,"unknown_166":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9096497166058108928}} 
[2026-07-11 07:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":130323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:10:28] local.INFO: GPS data processed {"connection_id":130323,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:10:28] local.INFO: Acknowledgment sent {"connection_id":130323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:11:01] local.INFO: TCP Data received {"connection_id":130323,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed51800012d81c24005d4c968000e016110..."} 
[2026-07-11 07:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed51800012d81c24005d4c968000e016110..."} 
[2026-07-11 07:11:01] local.INFO: Processing buffer {"connection_id":130323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed51800012d81c24005d4c968000e016110..."} 
[2026-07-11 07:11:01] local.INFO: Packet analysis {"connection_id":130323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:11:01] local.INFO: Extracted packet for processing {"connection_id":130323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763478592,"raw_latitude":97831272,"longitude_deg":76.3478592,"latitude_deg":9.7831272,"altitude":14,"angle":353,"satellites":16,"speed":35,"hex_longitude":"2d81c240","hex_latitude":"05d4c968","is_valid_coordinates":true} 
[2026-07-11 07:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635907840001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104853736676917248,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096426797313701888,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783734016000,"timestamp_ms":1783734016000,"timestamp_seconds":1783734016,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed51800"} 
[2026-07-11 07:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-11 07:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635907840001,"66":13765,"166":206,"85":15104,"24":35,"16":104853736676917248,"45":-9096426797313701888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-11 07:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635907840001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:11:01] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-11 07:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104853736676917248,"km_value":104853736676917.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096426797313701888,"description":"Unknown IO ID 45"} 
[2026-07-11 07:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635907840001,"power":13765,"unknown_166":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9096426797313701888}} 
[2026-07-11 07:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":130323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:11:01] local.INFO: GPS data processed {"connection_id":130323,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:11:01] local.INFO: Acknowledgment sent {"connection_id":130323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:11:05] local.INFO: TCP Data received {"connection_id":129075,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:11:05] local.INFO: Processing buffer {"connection_id":129075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:11:05] local.INFO: IMEI packet received {"connection_id":129075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":129075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:11:10] local.INFO: TCP Data received {"connection_id":129075,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:11:10] local.INFO: Processing buffer {"connection_id":129075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:11:10] local.INFO: IMEI packet received {"connection_id":129075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":129075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:11:11] local.INFO: TCP Data received {"connection_id":129075,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:11:11] local.INFO: Processing buffer {"connection_id":129075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:11:11] local.INFO: Packet analysis {"connection_id":129075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:11:11] local.INFO: Extracted packet for processing {"connection_id":129075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":129075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:11:11] local.INFO: GPS data processed {"connection_id":129075,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:11:11] local.INFO: Acknowledgment sent {"connection_id":129075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:11:16] local.INFO: TCP Data received {"connection_id":128173,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:11:16] local.INFO: Processing buffer {"connection_id":128173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:11:16] local.INFO: IMEI packet received {"connection_id":128173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":128173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:11:18] local.INFO: TCP Data received {"connection_id":128173,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:11:18] local.INFO: Processing buffer {"connection_id":128173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:11:18] local.INFO: IMEI packet received {"connection_id":128173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":128173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:11:21] local.INFO: TCP Data received {"connection_id":128173,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:11:21] local.INFO: Processing buffer {"connection_id":128173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:11:21] local.INFO: IMEI packet received {"connection_id":128173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":128173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:11:22] local.INFO: TCP Data received {"connection_id":128173,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed53b28012d81bbc005d4ebc00010015c10..."} 
[2026-07-11 07:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed53b28012d81bbc005d4ebc00010015c10..."} 
[2026-07-11 07:11:22] local.INFO: Processing buffer {"connection_id":128173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed53b28012d81bbc005d4ebc00010015c10..."} 
[2026-07-11 07:11:22] local.INFO: Packet analysis {"connection_id":128173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:11:22] local.INFO: Extracted packet for processing {"connection_id":128173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763476928,"raw_latitude":97840064,"longitude_deg":76.3476928,"latitude_deg":9.7840064,"altitude":16,"angle":348,"satellites":16,"speed":36,"hex_longitude":"2d81bbc0","hex_latitude":"05d4ebc0","is_valid_coordinates":true} 
[2026-07-11 07:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635908096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104854170468614144,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096637903545997312,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734025000,"timestamp_ms":1783734025000,"timestamp_seconds":1783734025,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed53b28"} 
[2026-07-11 07:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-11 07:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635908096001,"66":13559,"166":206,"85":15104,"24":36,"16":104854170468614144,"45":-9096637903545997312},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-11 07:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635908096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:11:22] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-11 07:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104854170468614144,"km_value":104854170468614.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096637903545997312,"description":"Unknown IO ID 45"} 
[2026-07-11 07:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635908096001,"power":13559,"unknown_166":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9096637903545997312}} 
[2026-07-11 07:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":128173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:11:22] local.INFO: GPS data processed {"connection_id":128173,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:11:22] local.INFO: Acknowledgment sent {"connection_id":128173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:11:26] local.INFO: TCP Data received {"connection_id":128173,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed55e50012d81b44005d50f20000f015f11..."} 
[2026-07-11 07:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed55e50012d81b44005d50f20000f015f11..."} 
[2026-07-11 07:11:26] local.INFO: Processing buffer {"connection_id":128173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed55e50012d81b44005d50f20000f015f11..."} 
[2026-07-11 07:11:26] local.INFO: Packet analysis {"connection_id":128173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:11:26] local.INFO: Extracted packet for processing {"connection_id":128173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763475008,"raw_latitude":97849120,"longitude_deg":76.3475008,"latitude_deg":9.784912,"altitude":15,"angle":351,"satellites":17,"speed":40,"hex_longitude":"2d81b440","hex_latitude":"05d50f20","is_valid_coordinates":true} 
[2026-07-11 07:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635910400001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104854617145212928,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098467490892365824,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783734034000,"timestamp_ms":1783734034000,"timestamp_seconds":1783734034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed55e50"} 
[2026-07-11 07:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-11 07:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":128173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":128173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":128173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635910400001,"66":13515,"166":206,"85":15104,"24":40,"16":104854617145212928,"45":-9098467490892365824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-11 07:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635910400001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:11:26] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-11 07:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104854617145212928,"km_value":104854617145212.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098467490892365824,"description":"Unknown IO ID 45"} 
[2026-07-11 07:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635910400001,"power":13515,"unknown_166":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9098467490892365824}} 
[2026-07-11 07:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":128173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:11:26] local.INFO: GPS data processed {"connection_id":128173,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:11:26] local.INFO: Acknowledgment sent {"connection_id":128173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:11:27] local.INFO: TCP Data received {"connection_id":128173,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed58560012d81b04005d53468000e000111..."} 
[2026-07-11 07:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed58560012d81b04005d53468000e000111..."} 
[2026-07-11 07:11:27] local.INFO: Processing buffer {"connection_id":128173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed58560012d81b04005d53468000e000111..."} 
[2026-07-11 07:11:27] local.INFO: Packet analysis {"connection_id":128173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:11:27] local.INFO: Extracted packet for processing {"connection_id":128173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed5"} 
[2026-07-11 07:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763473984,"raw_latitude":97858664,"longitude_deg":76.3473984,"latitude_deg":9.7858664,"altitude":14,"angle":1,"satellites":17,"speed":31,"hex_longitude":"2d81b040","hex_latitude":"05d53468","is_valid_coordinates":true} 
[2026-07-11 07:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635912704001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104855085296648192,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100578553215377408,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783734044000,"timestamp_ms":1783734044000,"timestamp_seconds":1783734044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed58560"} 
[2026-07-11 07:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-11 07:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635912704001,"66":13254,"166":206,"85":15104,"24":31,"16":104855085296648192,"45":-9100578553215377408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-11 07:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635912704001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:11:27] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-11 07:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104855085296648192,"km_value":104855085296648.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100578553215377408,"description":"Unknown IO ID 45"} 
[2026-07-11 07:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635912704001,"power":13254,"unknown_166":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9100578553215377408}} 
[2026-07-11 07:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":128173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:11:27] local.INFO: GPS data processed {"connection_id":128173,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:11:27] local.INFO: Acknowledgment sent {"connection_id":128173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:11:42] local.INFO: TCP Data received {"connection_id":129075,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:11:42] local.INFO: Processing buffer {"connection_id":129075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:11:42] local.INFO: Packet analysis {"connection_id":129075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:11:42] local.INFO: Extracted packet for processing {"connection_id":129075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":129075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:11:42] local.INFO: GPS data processed {"connection_id":129075,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:11:42] local.INFO: Acknowledgment sent {"connection_id":129075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:12:05] local.INFO: TCP Data received {"connection_id":128364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:12:05] local.INFO: Processing buffer {"connection_id":128364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:12:05] local.INFO: IMEI packet received {"connection_id":128364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":128364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:12:10] local.INFO: TCP Data received {"connection_id":128364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:12:10] local.INFO: Processing buffer {"connection_id":128364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:12:10] local.INFO: IMEI packet received {"connection_id":128364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":128364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:12:10] local.INFO: TCP Data received {"connection_id":128364,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:12:10] local.INFO: Processing buffer {"connection_id":128364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:12:10] local.INFO: Packet analysis {"connection_id":128364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:12:10] local.INFO: Extracted packet for processing {"connection_id":128364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":128364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:12:10] local.INFO: GPS data processed {"connection_id":128364,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:12:10] local.INFO: Acknowledgment sent {"connection_id":128364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:12:17] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:12:17] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:12:17] local.INFO: IMEI packet received {"connection_id":130324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":130324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:12:19] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:12:19] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:12:19] local.INFO: IMEI packet received {"connection_id":130324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":130324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:12:22] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:12:22] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:12:22] local.INFO: IMEI packet received {"connection_id":130324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":130324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:12:23] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed66020012d818f0005d602180009015412..."} 
[2026-07-11 07:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed66020012d818f0005d602180009015412..."} 
[2026-07-11 07:12:23] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed66020012d818f0005d602180009015412..."} 
[2026-07-11 07:12:23] local.INFO: Packet analysis {"connection_id":130324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:12:23] local.INFO: Extracted packet for processing {"connection_id":130324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763465472,"raw_latitude":97911320,"longitude_deg":76.3465472,"latitude_deg":9.791132,"altitude":9,"angle":340,"satellites":18,"speed":39,"hex_longitude":"2d818f00","hex_latitude":"05d60218","is_valid_coordinates":true} 
[2026-07-11 07:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635929088001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104857855550554112,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110007964919713792,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783734100000,"timestamp_ms":1783734100000,"timestamp_seconds":1783734100,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed66020"} 
[2026-07-11 07:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751608965,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7354659838271422474,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3591247873,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3226992648,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937947302,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795831502,"corrected_to":0} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2415996289,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2147866026,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2256470016,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3582412800,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-5026010770122997749,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971747872983691691,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755571239878897,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:23] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,165,85,24,241,157,16,135,159,64,45,238,9,18,10,66,57,128,234,8,49,192,1,240,181,227,78,213,4,113,205,250,184,176,239,53,166,2,116,5,6,43,129,51,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2795831502,"validated":0}]} 
[2026-07-11 07:12:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648869167862448128,"timestamp_seconds":648869167862448.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 07:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635929088001,"66":13689,"165":206,"85":15104,"24":39,"16":104857855550554112,"45":-9110007964919713792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-11 07:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635929088001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:12:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-11 07:12:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104857855550554112,"km_value":104857855550554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110007964919713792,"description":"Unknown IO ID 45"} 
[2026-07-11 07:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635929088001,"power":13689,"unknown_165":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9110007964919713792}} 
[2026-07-11 07:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":130324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:12:23] local.INFO: GPS data processed {"connection_id":130324,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:12:23] local.INFO: Acknowledgment sent {"connection_id":130324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:12:27] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed67b78012d818a0005d62150000b016012..."} 
[2026-07-11 07:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed67b78012d818a0005d62150000b016012..."} 
[2026-07-11 07:12:27] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed67b78012d818a0005d62150000b016012..."} 
[2026-07-11 07:12:27] local.INFO: Packet analysis {"connection_id":130324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:12:27] local.INFO: Extracted packet for processing {"connection_id":130324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763464192,"raw_latitude":97919312,"longitude_deg":76.3464192,"latitude_deg":9.7919312,"altitude":11,"angle":352,"satellites":18,"speed":48,"hex_longitude":"2d818a00","hex_latitude":"05d62150","is_valid_coordinates":true} 
[2026-07-11 07:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635929600001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104858246392578048,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9111063496081926144,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783734107000,"timestamp_ms":1783734107000,"timestamp_seconds":1783734107,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed67b78"} 
[2026-07-11 07:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-11 07:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635929600001,"66":13602,"165":206,"85":15104,"24":48,"16":104858246392578048,"45":-9111063496081926144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-11 07:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635929600001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:12:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-11 07:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104858246392578048,"km_value":104858246392578.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9111063496081926144,"description":"Unknown IO ID 45"} 
[2026-07-11 07:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635929600001,"power":13602,"unknown_165":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9111063496081926144}} 
[2026-07-11 07:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":130324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:12:27] local.INFO: GPS data processed {"connection_id":130324,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:12:27] local.INFO: Acknowledgment sent {"connection_id":130324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:12:41] local.INFO: TCP Data received {"connection_id":128364,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:12:41] local.INFO: Processing buffer {"connection_id":128364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:12:41] local.INFO: Packet analysis {"connection_id":128364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:12:41] local.INFO: Extracted packet for processing {"connection_id":128364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:12:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":128364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:12:41] local.INFO: GPS data processed {"connection_id":128364,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:12:41] local.INFO: Acknowledgment sent {"connection_id":128364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:12:58] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed69ea0012d81864005d64498000b016312..."} 
[2026-07-11 07:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed69ea0012d81864005d64498000b016312..."} 
[2026-07-11 07:12:58] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed69ea0012d81864005d64498000b016312..."} 
[2026-07-11 07:12:58] local.INFO: Packet analysis {"connection_id":130324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:12:58] local.INFO: Extracted packet for processing {"connection_id":130324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763463232,"raw_latitude":97928344,"longitude_deg":76.3463232,"latitude_deg":9.7928344,"altitude":11,"angle":355,"satellites":18,"speed":25,"hex_longitude":"2d818640","hex_latitude":"05d64498","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635931392001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104858688774209536,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9112470870963433472,"note":"Value kept but may cause issues"} 
[2026-07-11 07:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783734116000,"timestamp_ms":1783734116000,"timestamp_seconds":1783734116,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed69ea0"} 
[2026-07-11 07:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-11 07:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635931392001,"66":13363,"165":206,"85":15104,"24":25,"16":104858688774209536,"45":-9112470870963433472},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-11 07:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635931392001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:12:58] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-11 07:12:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104858688774209536,"km_value":104858688774209.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9112470870963433472,"description":"Unknown IO ID 45"} 
[2026-07-11 07:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635931392001,"power":13363,"unknown_165":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9112470870963433472}} 
[2026-07-11 07:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":130324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:12:58] local.INFO: GPS data processed {"connection_id":130324,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:12:58] local.INFO: Acknowledgment sent {"connection_id":130324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:13:05] local.INFO: TCP Data received {"connection_id":129077,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:13:05] local.INFO: Processing buffer {"connection_id":129077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:13:05] local.INFO: IMEI packet received {"connection_id":129077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":129077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:13:06] local.INFO: TCP Data received {"connection_id":129076,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:13:06] local.INFO: Processing buffer {"connection_id":129076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:13:06] local.INFO: IMEI packet received {"connection_id":129076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":129076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:13:10] local.INFO: TCP Data received {"connection_id":129077,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:13:10] local.INFO: Processing buffer {"connection_id":129077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:13:10] local.INFO: IMEI packet received {"connection_id":129077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":129077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:13:11] local.INFO: TCP Data received {"connection_id":129077,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:13:11] local.INFO: Processing buffer {"connection_id":129077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:13:11] local.INFO: Packet analysis {"connection_id":129077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:13:11] local.INFO: Extracted packet for processing {"connection_id":129077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":129077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:13:11] local.INFO: GPS data processed {"connection_id":129077,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:13:11] local.INFO: Acknowledgment sent {"connection_id":129077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:13:17] local.INFO: TCP Data received {"connection_id":128174,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:13:17] local.INFO: Processing buffer {"connection_id":128174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:13:17] local.INFO: IMEI packet received {"connection_id":128174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":128174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:13:22] local.INFO: TCP Data received {"connection_id":128174,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:13:22] local.INFO: Processing buffer {"connection_id":128174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:13:22] local.INFO: IMEI packet received {"connection_id":128174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":128174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:13:23] local.INFO: TCP Data received {"connection_id":128174,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed6cd80012d81828005d66a400008016213..."} 
[2026-07-11 07:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed6cd80012d81828005d66a400008016213..."} 
[2026-07-11 07:13:23] local.INFO: Processing buffer {"connection_id":128174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed6cd80012d81828005d66a400008016213..."} 
[2026-07-11 07:13:23] local.INFO: Packet analysis {"connection_id":128174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:13:23] local.INFO: Extracted packet for processing {"connection_id":128174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763462272,"raw_latitude":97937984,"longitude_deg":76.3462272,"latitude_deg":9.7937984,"altitude":8,"angle":354,"satellites":19,"speed":38,"hex_longitude":"2d818280","hex_latitude":"05d66a40","is_valid_coordinates":true} 
[2026-07-11 07:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635933696001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104859156925644800,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9113526402123786240,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783734128000,"timestamp_ms":1783734128000,"timestamp_seconds":1783734128,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed6cd80"} 
[2026-07-11 07:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 07:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635933696001,"66":13493,"165":206,"85":15104,"24":38,"16":104859156925644800,"45":-9113526402123786240},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-11 07:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635933696001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:13:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-11 07:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104859156925644800,"km_value":104859156925644.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9113526402123786240,"description":"Unknown IO ID 45"} 
[2026-07-11 07:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635933696001,"power":13493,"unknown_165":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9113526402123786240}} 
[2026-07-11 07:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":128174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:13:23] local.INFO: GPS data processed {"connection_id":128174,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:13:23] local.INFO: Acknowledgment sent {"connection_id":128174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:13:42] local.INFO: TCP Data received {"connection_id":129077,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:13:42] local.INFO: Processing buffer {"connection_id":129077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:13:42] local.INFO: Packet analysis {"connection_id":129077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:13:42] local.INFO: Extracted packet for processing {"connection_id":129077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":129077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:13:42] local.INFO: GPS data processed {"connection_id":129077,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:13:42] local.INFO: Acknowledgment sent {"connection_id":129077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:13:46] local.INFO: TCP Data received {"connection_id":130325,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:13:46] local.INFO: Processing buffer {"connection_id":130325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:13:46] local.INFO: IMEI packet received {"connection_id":130325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":130325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:13:53] local.INFO: TCP Data received {"connection_id":128174,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed6f0a8012d817e8005d68e28000a016413..."} 
[2026-07-11 07:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed6f0a8012d817e8005d68e28000a016413..."} 
[2026-07-11 07:13:53] local.INFO: Processing buffer {"connection_id":128174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed6f0a8012d817e8005d68e28000a016413..."} 
[2026-07-11 07:13:53] local.INFO: Packet analysis {"connection_id":128174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:13:53] local.INFO: Extracted packet for processing {"connection_id":128174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed6"} 
[2026-07-11 07:13:53] local.INFO: GPS Element Parsed {"raw_longitude":763461248,"raw_latitude":97947176,"longitude_deg":76.3461248,"latitude_deg":9.7947176,"altitude":10,"angle":356,"satellites":19,"speed":42,"hex_longitude":"2d817e80","hex_latitude":"05d68e28","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635936768001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104859607897210880,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9114581933283983360,"note":"Value kept but may cause issues"} 
[2026-07-11 07:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783734137000,"timestamp_ms":1783734137000,"timestamp_seconds":1783734137,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed6f0a8"} 
[2026-07-11 07:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-11 07:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635936768001,"66":13504,"157":206,"85":15104,"24":42,"16":104859607897210880,"45":-9114581933283983360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-11 07:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635936768001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:13:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 07:13:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104859607897210880,"km_value":104859607897210.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9114581933283983360,"description":"Unknown IO ID 45"} 
[2026-07-11 07:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635936768001,"power":13504,"unknown_157":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9114581933283983360}} 
[2026-07-11 07:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":128174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:13:53] local.INFO: GPS data processed {"connection_id":128174,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:13:53] local.INFO: Acknowledgment sent {"connection_id":128174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:14:06] local.INFO: TCP Data received {"connection_id":128175,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:14:06] local.INFO: Processing buffer {"connection_id":128175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:14:06] local.INFO: IMEI packet received {"connection_id":128175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":128175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:14:10] local.INFO: TCP Data received {"connection_id":128175,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:14:10] local.INFO: Processing buffer {"connection_id":128175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:14:10] local.INFO: IMEI packet received {"connection_id":128175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":128175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:14:10] local.INFO: TCP Data received {"connection_id":128175,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:14:10] local.INFO: Processing buffer {"connection_id":128175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed3e368012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:14:10] local.INFO: Packet analysis {"connection_id":128175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:14:10] local.INFO: Extracted packet for processing {"connection_id":128175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed3"} 
[2026-07-11 07:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635810816001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783733937000,"timestamp_ms":1783733937000,"timestamp_seconds":1783733937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed3e368"} 
[2026-07-11 07:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635810816001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635810816001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:14:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635810816001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":128175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:14:10] local.INFO: GPS data processed {"connection_id":128175,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:14:10] local.INFO: Acknowledgment sent {"connection_id":128175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:14:17] local.INFO: TCP Data received {"connection_id":129078,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:14:17] local.INFO: Processing buffer {"connection_id":129078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:14:17] local.INFO: IMEI packet received {"connection_id":129078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":129078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:14:17] local.INFO: TCP Data received {"connection_id":129078,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:14:17] local.INFO: Processing buffer {"connection_id":129078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:14:17] local.INFO: IMEI packet received {"connection_id":129078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":129078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:14:22] local.INFO: TCP Data received {"connection_id":129078,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:14:22] local.INFO: Processing buffer {"connection_id":129078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:14:22] local.INFO: IMEI packet received {"connection_id":129078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":129078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:14:23] local.INFO: TCP Data received {"connection_id":129078,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed717b8012d817b4005d6b1d80009015d15..."} 
[2026-07-11 07:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed717b8012d817b4005d6b1d80009015d15..."} 
[2026-07-11 07:14:23] local.INFO: Processing buffer {"connection_id":129078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed717b8012d817b4005d6b1d80009015d15..."} 
[2026-07-11 07:14:23] local.INFO: Packet analysis {"connection_id":129078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed7"} 
[2026-07-11 07:14:23] local.INFO: Extracted packet for processing {"connection_id":129078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed7"} 
[2026-07-11 07:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763460416,"raw_latitude":97956312,"longitude_deg":76.3460416,"latitude_deg":9.7956312,"altitude":9,"angle":349,"satellites":21,"speed":37,"hex_longitude":"2d817b40","hex_latitude":"05d6b1d8","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635939072001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104860050278842368,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9115707833188472832,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783734147000,"timestamp_ms":1783734147000,"timestamp_seconds":1783734147,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed717b8"} 
[2026-07-11 07:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-11 07:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635939072001,"66":13526,"157":206,"85":15104,"24":37,"16":104860050278842368,"45":-9115707833188472832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-11 07:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635939072001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:14:23] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 07:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104860050278842368,"km_value":104860050278842.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9115707833188472832,"description":"Unknown IO ID 45"} 
[2026-07-11 07:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635939072001,"power":13526,"unknown_157":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9115707833188472832}} 
[2026-07-11 07:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":129078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:14:23] local.INFO: GPS data processed {"connection_id":129078,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:14:23] local.INFO: Acknowledgment sent {"connection_id":129078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:14:41] local.INFO: TCP Data received {"connection_id":128175,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:14:41] local.INFO: Processing buffer {"connection_id":128175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:14:41] local.INFO: Packet analysis {"connection_id":128175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:14:41] local.INFO: Extracted packet for processing {"connection_id":128175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:14:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":128175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:14:42] local.INFO: GPS data processed {"connection_id":128175,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:14:42] local.INFO: Acknowledgment sent {"connection_id":128175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:14:54] local.INFO: TCP Data received {"connection_id":129078,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed903e8012d81230005d85be0000c015716..."} 
[2026-07-11 07:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed903e8012d81230005d85be0000c015716..."} 
[2026-07-11 07:14:54] local.INFO: Processing buffer {"connection_id":129078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed903e8012d81230005d85be0000c015716..."} 
[2026-07-11 07:14:54] local.INFO: Packet analysis {"connection_id":129078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed9"} 
[2026-07-11 07:14:54] local.INFO: Extracted packet for processing {"connection_id":129078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed9"} 
[2026-07-11 07:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763437824,"raw_latitude":98065376,"longitude_deg":76.3437824,"latitude_deg":9.8065376,"altitude":12,"angle":343,"satellites":22,"speed":43,"hex_longitude":"2d812300","hex_latitude":"05d85be0","is_valid_coordinates":true} 
[2026-07-11 07:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635971584001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104865470527569920,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139492468692707328,"note":"Value kept but may cause issues"} 
[2026-07-11 07:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783734273000,"timestamp_ms":1783734273000,"timestamp_seconds":1783734273,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed903e8"} 
[2026-07-11 07:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-11 07:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635971584001,"66":13624,"17":206,"85":15104,"24":43,"16":104865470527569920,"45":-9139492468692707328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-11 07:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635971584001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104865470527569920,"km_value":104865470527569.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139492468692707328,"description":"Unknown IO ID 45"} 
[2026-07-11 07:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635971584001,"power":13624,"axis_x":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9139492468692707328}} 
[2026-07-11 07:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":129078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:14:54] local.INFO: GPS data processed {"connection_id":129078,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:14:54] local.INFO: Acknowledgment sent {"connection_id":129078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:15:10] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:15:10] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:15:10] local.INFO: IMEI packet received {"connection_id":130326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":130326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:15:15] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:15:15] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:15:15] local.INFO: IMEI packet received {"connection_id":130326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":130326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:15:16] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:15:16] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:15:16] local.INFO: Packet analysis {"connection_id":130326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:15:16] local.INFO: Extracted packet for processing {"connection_id":130326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:15:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:15:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:15:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":130326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:15:16] local.INFO: GPS data processed {"connection_id":130326,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:15:16] local.INFO: Acknowledgment sent {"connection_id":130326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:15:16] local.INFO: TCP Data received {"connection_id":128176,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:15:16] local.INFO: Processing buffer {"connection_id":128176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:15:16] local.INFO: IMEI packet received {"connection_id":128176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":128176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:15:17] local.INFO: TCP Data received {"connection_id":128176,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:15:17] local.INFO: Processing buffer {"connection_id":128176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:15:17] local.INFO: IMEI packet received {"connection_id":128176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":128176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:15:20] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:15:20] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:15:20] local.INFO: Packet analysis {"connection_id":130326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:15:20] local.INFO: Extracted packet for processing {"connection_id":130326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:15:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:15:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":130326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:15:20] local.INFO: GPS data processed {"connection_id":130326,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:15:20] local.INFO: Acknowledgment sent {"connection_id":130326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:15:22] local.INFO: TCP Data received {"connection_id":128176,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:15:22] local.INFO: Processing buffer {"connection_id":128176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:15:22] local.INFO: IMEI packet received {"connection_id":128176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":128176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:15:22] local.INFO: TCP Data received {"connection_id":128176,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed92710012d81154005d87f30000d015116..."} 
[2026-07-11 07:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed92710012d81154005d87f30000d015116..."} 
[2026-07-11 07:15:22] local.INFO: Processing buffer {"connection_id":128176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed92710012d81154005d87f30000d015116..."} 
[2026-07-11 07:15:22] local.INFO: Packet analysis {"connection_id":128176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed9"} 
[2026-07-11 07:15:22] local.INFO: Extracted packet for processing {"connection_id":128176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed9"} 
[2026-07-11 07:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763434304,"raw_latitude":98074416,"longitude_deg":76.3434304,"latitude_deg":9.8074416,"altitude":13,"angle":337,"satellites":22,"speed":45,"hex_longitude":"2d811540","hex_latitude":"05d87f30","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635973888001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104865938679005184,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141462793527238656,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734282000,"timestamp_ms":1783734282000,"timestamp_seconds":1783734282,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed92710"} 
[2026-07-11 07:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-11 07:15:22] 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-07-11 07: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-07-11 07:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635973888001,"66":13352,"17":206,"85":15104,"24":45,"16":104865938679005184,"45":-9141462793527238656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-11 07:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635973888001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:15:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104865938679005184,"km_value":104865938679005.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141462793527238656,"description":"Unknown IO ID 45"} 
[2026-07-11 07:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635973888001,"power":13352,"axis_x":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9141462793527238656}} 
[2026-07-11 07:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":128176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:15:23] local.INFO: GPS data processed {"connection_id":128176,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:15:23] local.INFO: Acknowledgment sent {"connection_id":128176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:15:54] local.INFO: TCP Data received {"connection_id":128176,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed94650012d81060005d89f20000c014e16..."} 
[2026-07-11 07:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed94650012d81060005d89f20000c014e16..."} 
[2026-07-11 07:15:54] local.INFO: Processing buffer {"connection_id":128176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed94650012d81060005d89f20000c014e16..."} 
[2026-07-11 07:15:54] local.INFO: Packet analysis {"connection_id":128176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed9"} 
[2026-07-11 07:15:54] local.INFO: Extracted packet for processing {"connection_id":128176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed9"} 
[2026-07-11 07:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763430400,"raw_latitude":98082592,"longitude_deg":76.34304,"latitude_deg":9.8082592,"altitude":12,"angle":334,"satellites":22,"speed":44,"hex_longitude":"2d810600","hex_latitude":"05d89f20","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635976192001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104866376765669376,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145333074454695936,"note":"Value kept but may cause issues"} 
[2026-07-11 07:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783734290000,"timestamp_ms":1783734290000,"timestamp_seconds":1783734290,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed94650"} 
[2026-07-11 07:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-11 07:15:54] 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-07-11 07: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-07-11 07:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635976192001,"66":13374,"17":206,"85":15104,"24":44,"16":104866376765669376,"45":-9145333074454695936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-11 07:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635976192001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:15:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104866376765669376,"km_value":104866376765669.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145333074454695936,"description":"Unknown IO ID 45"} 
[2026-07-11 07:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635976192001,"power":13374,"axis_x":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9145333074454695936}} 
[2026-07-11 07:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":128176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:15:54] local.INFO: GPS data processed {"connection_id":128176,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:15:54] local.INFO: Acknowledgment sent {"connection_id":128176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:16:05] local.INFO: TCP Data received {"connection_id":130327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:16:05] local.INFO: Processing buffer {"connection_id":130327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:16:05] local.INFO: IMEI packet received {"connection_id":130327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":130327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:16:10] local.INFO: TCP Data received {"connection_id":130327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:16:10] local.INFO: Processing buffer {"connection_id":130327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:16:10] local.INFO: IMEI packet received {"connection_id":130327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":130327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:16:10] local.INFO: TCP Data received {"connection_id":130327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:16:11] local.INFO: Processing buffer {"connection_id":130327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:16:11] local.INFO: Packet analysis {"connection_id":130327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:16:11] local.INFO: Extracted packet for processing {"connection_id":130327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:16:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":130327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:16:11] local.INFO: GPS data processed {"connection_id":130327,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:16:11] local.INFO: Acknowledgment sent {"connection_id":130327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:16:16] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:16:16] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:16:16] local.INFO: IMEI packet received {"connection_id":130328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":130328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:16:22] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:16:22] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:16:22] local.INFO: IMEI packet received {"connection_id":130328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":130328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:16:22] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda4c08012d80e38005d944b80005013a18..."} 
[2026-07-11 07:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda4c08012d80e38005d944b80005013a18..."} 
[2026-07-11 07:16:22] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda4c08012d80e38005d944b80005013a18..."} 
[2026-07-11 07:16:22] local.INFO: Packet analysis {"connection_id":130328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:16:22] local.INFO: Extracted packet for processing {"connection_id":130328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635995392001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734357000,"timestamp_ms":1783734357000,"timestamp_seconds":1783734357,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda4c08"} 
[2026-07-11 07:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-11 07:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635995392001,"66":13656,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635995392001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:16:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635995392001,"power":13656,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":130328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:16:22] local.INFO: GPS data processed {"connection_id":130328,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:16:22] local.INFO: Acknowledgment sent {"connection_id":130328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:16:41] local.INFO: TCP Data received {"connection_id":130327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:16:41] local.INFO: Processing buffer {"connection_id":130327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:16:41] local.INFO: Packet analysis {"connection_id":130327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:16:41] local.INFO: Extracted packet for processing {"connection_id":130327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:16:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":130327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:16:41] local.INFO: GPS data processed {"connection_id":130327,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:16:41] local.INFO: Acknowledgment sent {"connection_id":130327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:16:53] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:16:53] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:16:53] local.INFO: Packet analysis {"connection_id":130328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:16:53] local.INFO: Extracted packet for processing {"connection_id":130328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635995392001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783734360000,"timestamp_ms":1783734360000,"timestamp_seconds":1783734360,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda57c0"} 
[2026-07-11 07:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-11 07:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635995392001,"66":12841,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635995392001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:16:53] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:16:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635995392001,"power":12841,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":130328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:16:53] local.INFO: GPS data processed {"connection_id":130328,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:16:53] local.INFO: Acknowledgment sent {"connection_id":130328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:17:05] local.INFO: TCP Data received {"connection_id":128367,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:17:05] local.INFO: Processing buffer {"connection_id":128367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:17:05] local.INFO: IMEI packet received {"connection_id":128367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":128367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:17:10] local.INFO: TCP Data received {"connection_id":128367,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:17:10] local.INFO: Processing buffer {"connection_id":128367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:17:10] local.INFO: IMEI packet received {"connection_id":128367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":128367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:17:10] local.INFO: TCP Data received {"connection_id":128367,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:17:10] local.INFO: Processing buffer {"connection_id":128367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:17:10] local.INFO: Packet analysis {"connection_id":128367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:17:10] local.INFO: Extracted packet for processing {"connection_id":128367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:17:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":128367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:17:10] local.INFO: GPS data processed {"connection_id":128367,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:17:10] local.INFO: Acknowledgment sent {"connection_id":128367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:17:22] local.INFO: TCP Data received {"connection_id":130329,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:17:22] local.INFO: Processing buffer {"connection_id":130329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:17:22] local.INFO: IMEI packet received {"connection_id":130329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":130329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:17:27] local.INFO: TCP Data received {"connection_id":130329,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:17:27] local.INFO: Processing buffer {"connection_id":130329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:17:27] local.INFO: IMEI packet received {"connection_id":130329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":130329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:17:27] local.INFO: TCP Data received {"connection_id":130329,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:17:27] local.INFO: Processing buffer {"connection_id":130329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:17:27] local.INFO: Packet analysis {"connection_id":130329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:17:27] local.INFO: Extracted packet for processing {"connection_id":130329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635996160001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783734360000,"timestamp_ms":1783734360000,"timestamp_seconds":1783734360,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda57c0"} 
[2026-07-11 07:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 07:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635996160001,"66":12841,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635996160001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:17:27] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635996160001,"power":12841,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":130329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:17:28] local.INFO: GPS data processed {"connection_id":130329,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:17:28] local.INFO: Acknowledgment sent {"connection_id":130329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:17:32] local.INFO: TCP Data received {"connection_id":130329,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:17:32] local.INFO: Processing buffer {"connection_id":130329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:17:32] local.INFO: Packet analysis {"connection_id":130329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:17:32] local.INFO: Extracted packet for processing {"connection_id":130329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635996160001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783734360000,"timestamp_ms":1783734360000,"timestamp_seconds":1783734360,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda57c0"} 
[2026-07-11 07:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 07:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635996160001,"66":12841,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635996160001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:17:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635996160001,"power":12841,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":130329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:17:32] local.INFO: GPS data processed {"connection_id":130329,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:17:32] local.INFO: Acknowledgment sent {"connection_id":130329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:17:41] local.INFO: TCP Data received {"connection_id":128367,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:17:41] local.INFO: Processing buffer {"connection_id":128367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:17:41] local.INFO: Packet analysis {"connection_id":128367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:17:41] local.INFO: Extracted packet for processing {"connection_id":128367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:17:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:17:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":128367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:17:41] local.INFO: GPS data processed {"connection_id":128367,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:17:41] local.INFO: Acknowledgment sent {"connection_id":128367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:18:05] local.INFO: TCP Data received {"connection_id":129080,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:18:05] local.INFO: Processing buffer {"connection_id":129080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:18:05] local.INFO: IMEI packet received {"connection_id":129080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":129080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:18:10] local.INFO: TCP Data received {"connection_id":129080,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:18:10] local.INFO: Processing buffer {"connection_id":129080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:18:10] local.INFO: IMEI packet received {"connection_id":129080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":129080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:18:10] local.INFO: TCP Data received {"connection_id":129080,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:18:10] local.INFO: Processing buffer {"connection_id":129080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:18:10] local.INFO: Packet analysis {"connection_id":129080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:18:10] local.INFO: Extracted packet for processing {"connection_id":129080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":129080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:18:10] local.INFO: GPS data processed {"connection_id":129080,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:18:10] local.INFO: Acknowledgment sent {"connection_id":129080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:18:17] local.INFO: TCP Data received {"connection_id":130330,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:18:17] local.INFO: Processing buffer {"connection_id":130330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:18:17] local.INFO: IMEI packet received {"connection_id":130330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":130330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:18:22] local.INFO: TCP Data received {"connection_id":130330,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:18:22] local.INFO: Processing buffer {"connection_id":130330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:18:22] local.INFO: IMEI packet received {"connection_id":130330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":130330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:18:22] local.INFO: TCP Data received {"connection_id":130330,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:18:22] local.INFO: Processing buffer {"connection_id":130330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:18:22] local.INFO: Packet analysis {"connection_id":130330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:18:22] local.INFO: Extracted packet for processing {"connection_id":130330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635996160001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734360000,"timestamp_ms":1783734360000,"timestamp_seconds":1783734360,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda57c0"} 
[2026-07-11 07:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 07:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635996160001,"66":12841,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635996160001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:18:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635996160001,"power":12841,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":130330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:18:23] local.INFO: GPS data processed {"connection_id":130330,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:18:23] local.INFO: Acknowledgment sent {"connection_id":130330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:18:41] local.INFO: TCP Data received {"connection_id":129080,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:18:41] local.INFO: Processing buffer {"connection_id":129080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:18:41] local.INFO: Packet analysis {"connection_id":129080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:18:41] local.INFO: Extracted packet for processing {"connection_id":129080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:18:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":129080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:18:41] local.INFO: GPS data processed {"connection_id":129080,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:18:41] local.INFO: Acknowledgment sent {"connection_id":129080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:18:54] local.INFO: TCP Data received {"connection_id":130330,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:18:54] local.INFO: Processing buffer {"connection_id":130330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:18:54] local.INFO: Packet analysis {"connection_id":130330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:18:54] local.INFO: Extracted packet for processing {"connection_id":130330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635996160001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783734360000,"timestamp_ms":1783734360000,"timestamp_seconds":1783734360,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda57c0"} 
[2026-07-11 07:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 07:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635996160001,"66":12841,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635996160001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:18:54] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:18:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635996160001,"power":12841,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":130330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:18:54] local.INFO: GPS data processed {"connection_id":130330,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:18:54] local.INFO: Acknowledgment sent {"connection_id":130330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:19:05] local.INFO: TCP Data received {"connection_id":128368,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:19:05] local.INFO: Processing buffer {"connection_id":128368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:19:05] local.INFO: IMEI packet received {"connection_id":128368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":128368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:19:10] local.INFO: TCP Data received {"connection_id":128368,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:19:10] local.INFO: Processing buffer {"connection_id":128368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:19:10] local.INFO: IMEI packet received {"connection_id":128368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":128368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:19:11] local.INFO: TCP Data received {"connection_id":128368,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:19:11] local.INFO: Processing buffer {"connection_id":128368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ed87b30012cb29ac007823b28004700db28..."} 
[2026-07-11 07:19:11] local.INFO: Packet analysis {"connection_id":128368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:19:11] local.INFO: Extracted packet for processing {"connection_id":128368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ed8"} 
[2026-07-11 07:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635887872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783734238000,"timestamp_ms":1783734238000,"timestamp_seconds":1783734238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ed87b30"} 
[2026-07-11 07:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635887872001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635887872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:19:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635887872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":128368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:19:11] local.INFO: GPS data processed {"connection_id":128368,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:19:11] local.INFO: Acknowledgment sent {"connection_id":128368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:19:11] local.INFO: TCP Data received {"connection_id":128178,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:19:11] local.INFO: Processing buffer {"connection_id":128178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:19:11] local.INFO: IMEI packet received {"connection_id":128178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":128178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:19:17] local.INFO: TCP Data received {"connection_id":128179,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:19:17] local.INFO: Processing buffer {"connection_id":128179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:19:17] local.INFO: IMEI packet received {"connection_id":128179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":128179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:19:22] local.INFO: TCP Data received {"connection_id":128179,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:19:22] local.INFO: Processing buffer {"connection_id":128179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:19:22] local.INFO: IMEI packet received {"connection_id":128179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":128179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:19:22] local.INFO: TCP Data received {"connection_id":128179,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:19:22] local.INFO: Processing buffer {"connection_id":128179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:19:22] local.INFO: Packet analysis {"connection_id":128179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:19:22] local.INFO: Extracted packet for processing {"connection_id":128179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635996160001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734360000,"timestamp_ms":1783734360000,"timestamp_seconds":1783734360,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda57c0"} 
[2026-07-11 07:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 07:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635996160001,"66":12841,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635996160001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:19:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:19:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635996160001,"power":12841,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":128179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:19:22] local.INFO: GPS data processed {"connection_id":128179,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:19:22] local.INFO: Acknowledgment sent {"connection_id":128179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:19:42] local.INFO: TCP Data received {"connection_id":128368,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:19:42] local.INFO: Processing buffer {"connection_id":128368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:19:42] local.INFO: Packet analysis {"connection_id":128368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:19:42] local.INFO: Extracted packet for processing {"connection_id":128368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":128368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:19:42] local.INFO: GPS data processed {"connection_id":128368,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:19:42] local.INFO: Acknowledgment sent {"connection_id":128368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:19:46] local.INFO: TCP Data received {"connection_id":128180,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:19:46] local.INFO: Processing buffer {"connection_id":128180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:19:46] local.INFO: IMEI packet received {"connection_id":128180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":128180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:19:53] local.INFO: TCP Data received {"connection_id":128179,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:19:53] local.INFO: Processing buffer {"connection_id":128179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:19:53] local.INFO: Packet analysis {"connection_id":128179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:19:53] local.INFO: Extracted packet for processing {"connection_id":128179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:19:53] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635996160001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783734360000,"timestamp_ms":1783734360000,"timestamp_seconds":1783734360,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda57c0"} 
[2026-07-11 07:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 07:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635996160001,"66":12841,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635996160001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:19:53] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:19:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635996160001,"power":12841,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":128179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:19:53] local.INFO: GPS data processed {"connection_id":128179,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:19:53] local.INFO: Acknowledgment sent {"connection_id":128179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:20:10] local.INFO: TCP Data received {"connection_id":128369,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:20:10] local.INFO: Processing buffer {"connection_id":128369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:20:10] local.INFO: IMEI packet received {"connection_id":128369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":128369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:20:15] local.INFO: TCP Data received {"connection_id":128369,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:20:15] local.INFO: Processing buffer {"connection_id":128369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:20:15] local.INFO: IMEI packet received {"connection_id":128369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":128369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:20:16] local.INFO: TCP Data received {"connection_id":128369,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:20:16] local.INFO: Processing buffer {"connection_id":128369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:20:16] local.INFO: Packet analysis {"connection_id":128369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:20:16] local.INFO: Extracted packet for processing {"connection_id":128369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:20:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:20:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":128369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:20:16] local.INFO: GPS data processed {"connection_id":128369,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:20:16] local.INFO: Acknowledgment sent {"connection_id":128369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:20:17] local.INFO: TCP Data received {"connection_id":130331,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:20:17] local.INFO: Processing buffer {"connection_id":130331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:20:17] local.INFO: IMEI packet received {"connection_id":130331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":130331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:20:22] local.INFO: TCP Data received {"connection_id":130331,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:20:22] local.INFO: Processing buffer {"connection_id":130331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:20:22] local.INFO: IMEI packet received {"connection_id":130331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":130331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:20:22] local.INFO: TCP Data received {"connection_id":130331,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:20:22] local.INFO: Processing buffer {"connection_id":130331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:20:22] local.INFO: Packet analysis {"connection_id":130331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:20:22] local.INFO: Extracted packet for processing {"connection_id":130331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635996160001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734360000,"timestamp_ms":1783734360000,"timestamp_seconds":1783734360,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda57c0"} 
[2026-07-11 07:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 07:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635996160001,"66":12841,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635996160001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:20:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:20:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635996160001,"power":12841,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":130331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:20:22] local.INFO: GPS data processed {"connection_id":130331,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:20:22] local.INFO: Acknowledgment sent {"connection_id":130331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:20:47] local.INFO: TCP Data received {"connection_id":128369,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:20:47] local.INFO: Processing buffer {"connection_id":128369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:20:47] local.INFO: Packet analysis {"connection_id":128369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:20:47] local.INFO: Extracted packet for processing {"connection_id":128369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:20:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:20:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:20:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":128369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:20:47] local.INFO: GPS data processed {"connection_id":128369,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:20:47] local.INFO: Acknowledgment sent {"connection_id":128369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:20:53] local.INFO: TCP Data received {"connection_id":130331,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:20:53] local.INFO: Processing buffer {"connection_id":130331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eda57c0012d80e38005d944b80005013a18..."} 
[2026-07-11 07:20:53] local.INFO: Packet analysis {"connection_id":130331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:20:53] local.INFO: Extracted packet for processing {"connection_id":130331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eda"} 
[2026-07-11 07:20:53] local.INFO: GPS Element Parsed {"raw_longitude":763421568,"raw_latitude":98124984,"longitude_deg":76.3421568,"latitude_deg":9.8124984,"altitude":5,"angle":314,"satellites":24,"speed":0,"hex_longitude":"2d80e380","hex_latitude":"05d944b8","is_valid_coordinates":true} 
[2026-07-11 07:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635996160001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783734360000,"timestamp_ms":1783734360000,"timestamp_seconds":1783734360,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eda57c0"} 
[2026-07-11 07:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 07:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635996160001,"66":12841,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635996160001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:20:53] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:20:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635996160001,"power":12841,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":130331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:20:53] local.INFO: GPS data processed {"connection_id":130331,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:20:53] local.INFO: Acknowledgment sent {"connection_id":130331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:21:05] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:21:05] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:21:05] local.INFO: IMEI packet received {"connection_id":130332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":130332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:21:10] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:21:10] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:21:10] local.INFO: IMEI packet received {"connection_id":130332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":130332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:21:11] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:21:11] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:21:11] local.INFO: Packet analysis {"connection_id":130332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:21:11] local.INFO: Extracted packet for processing {"connection_id":130332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":130332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:21:11] local.INFO: GPS data processed {"connection_id":130332,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:21:11] local.INFO: Acknowledgment sent {"connection_id":130332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:21:17] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:21:17] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:21:17] local.INFO: IMEI packet received {"connection_id":130333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":130333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:21:22] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:21:22] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:21:22] local.INFO: IMEI packet received {"connection_id":130333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":130333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:21:22] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edeff28012d80e24005d944c00005013a1d..."} 
[2026-07-11 07:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edeff28012d80e24005d944c00005013a1d..."} 
[2026-07-11 07:21:22] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edeff28012d80e24005d944c00005013a1d..."} 
[2026-07-11 07:21:22] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ede"} 
[2026-07-11 07:21:22] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ede"} 
[2026-07-11 07:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763421248,"raw_latitude":98124992,"longitude_deg":76.3421248,"latitude_deg":9.8124992,"altitude":5,"angle":314,"satellites":29,"speed":0,"hex_longitude":"2d80e240","hex_latitude":"05d944c0","is_valid_coordinates":true} 
[2026-07-11 07:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635996160001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159336454533105664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734665000,"timestamp_ms":1783734665000,"timestamp_seconds":1783734665,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edeff28"} 
[2026-07-11 07:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 07:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635996160001,"66":12863,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159336454533105664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635996160001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:21:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:21:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159336454533105664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635996160001,"power":12863,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159336454533105664}} 
[2026-07-11 07:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:21:22] local.INFO: GPS data processed {"connection_id":130333,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:21:22] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:21:42] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:21:42] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:21:42] local.INFO: Packet analysis {"connection_id":130332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:21:42] local.INFO: Extracted packet for processing {"connection_id":130332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":130332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:21:42] local.INFO: GPS data processed {"connection_id":130332,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:21:42] local.INFO: Acknowledgment sent {"connection_id":130332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:21:54] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edf0310012d80e24005d944c00005013a1d..."} 
[2026-07-11 07:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edf0310012d80e24005d944c00005013a1d..."} 
[2026-07-11 07:21:54] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edf0310012d80e24005d944c00005013a1d..."} 
[2026-07-11 07:21:54] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edf"} 
[2026-07-11 07:21:54] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edf"} 
[2026-07-11 07:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763421248,"raw_latitude":98124992,"longitude_deg":76.3421248,"latitude_deg":9.8124992,"altitude":5,"angle":314,"satellites":29,"speed":0,"hex_longitude":"2d80e240","hex_latitude":"05d944c0","is_valid_coordinates":true} 
[2026-07-11 07:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636074240001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159688298253991936,"note":"Value kept but may cause issues"} 
[2026-07-11 07:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783734666000,"timestamp_ms":1783734666000,"timestamp_seconds":1783734666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edf0310"} 
[2026-07-11 07:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 07:21:54] 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-07-11 07:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636074240001,"66":12885,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159688298253991936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636074240001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:21:54] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159688298253991936,"description":"Unknown IO ID 45"} 
[2026-07-11 07:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636074240001,"power":12885,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159688298253991936}} 
[2026-07-11 07:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:21:54] local.INFO: GPS data processed {"connection_id":130333,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:21:54] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:22:05] local.INFO: TCP Data received {"connection_id":129083,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:22:05] local.INFO: Processing buffer {"connection_id":129083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:22:05] local.INFO: IMEI packet received {"connection_id":129083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":129083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:22:10] local.INFO: TCP Data received {"connection_id":129083,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:22:10] local.INFO: Processing buffer {"connection_id":129083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:22:10] local.INFO: IMEI packet received {"connection_id":129083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":129083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:22:10] local.INFO: TCP Data received {"connection_id":129083,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:22:10] local.INFO: Processing buffer {"connection_id":129083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:22:10] local.INFO: Packet analysis {"connection_id":129083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:22:10] local.INFO: Extracted packet for processing {"connection_id":129083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:22:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":129083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:22:10] local.INFO: GPS data processed {"connection_id":129083,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:22:10] local.INFO: Acknowledgment sent {"connection_id":129083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:22:16] local.INFO: TCP Data received {"connection_id":128181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:22:16] local.INFO: Processing buffer {"connection_id":128181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:22:16] local.INFO: IMEI packet received {"connection_id":128181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":128181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:22:20] local.INFO: TCP Data received {"connection_id":128181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:22:20] local.INFO: Processing buffer {"connection_id":128181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:22:20] local.INFO: IMEI packet received {"connection_id":128181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":128181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:22:21] local.INFO: TCP Data received {"connection_id":128181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:22:21] local.INFO: Processing buffer {"connection_id":128181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:22:21] local.INFO: IMEI packet received {"connection_id":128181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":128181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:22:22] local.INFO: TCP Data received {"connection_id":128181,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edf0310012d80e24005d944c00005013a1d..."} 
[2026-07-11 07:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edf0310012d80e24005d944c00005013a1d..."} 
[2026-07-11 07:22:22] local.INFO: Processing buffer {"connection_id":128181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edf0310012d80e24005d944c00005013a1d..."} 
[2026-07-11 07:22:22] local.INFO: Packet analysis {"connection_id":128181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edf"} 
[2026-07-11 07:22:22] local.INFO: Extracted packet for processing {"connection_id":128181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edf"} 
[2026-07-11 07:22:22] local.INFO: GPS Element Parsed {"raw_longitude":763421248,"raw_latitude":98124992,"longitude_deg":76.3421248,"latitude_deg":9.8124992,"altitude":5,"angle":314,"satellites":29,"speed":0,"hex_longitude":"2d80e240","hex_latitude":"05d944c0","is_valid_coordinates":true} 
[2026-07-11 07:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636074496001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104868511364415488,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159688298253991936,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734666000,"timestamp_ms":1783734666000,"timestamp_seconds":1783734666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edf0310"} 
[2026-07-11 07:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 07:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636074496001,"66":12885,"10":206,"85":15104,"24":0,"16":104868511364415488,"45":-9159688298253991936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-07-11 07:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636074496001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:22:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-11 07:22:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104868511364415488,"km_value":104868511364415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159688298253991936,"description":"Unknown IO ID 45"} 
[2026-07-11 07:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636074496001,"power":12885,"unknown_10":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9159688298253991936}} 
[2026-07-11 07:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":128181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:22:22] local.INFO: GPS data processed {"connection_id":128181,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:22:22] local.INFO: Acknowledgment sent {"connection_id":128181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:22:41] local.INFO: TCP Data received {"connection_id":129083,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:22:41] local.INFO: Processing buffer {"connection_id":129083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:22:41] local.INFO: Packet analysis {"connection_id":129083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:22:41] local.INFO: Extracted packet for processing {"connection_id":129083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:22:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":129083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:22:41] local.INFO: GPS data processed {"connection_id":129083,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:22:41] local.INFO: Acknowledgment sent {"connection_id":129083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:22:54] local.INFO: TCP Data received {"connection_id":128181,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee07df8012d80bb0005d9f098000a00001e..."} 
[2026-07-11 07:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee07df8012d80bb0005d9f098000a00001e..."} 
[2026-07-11 07:22:54] local.INFO: Processing buffer {"connection_id":128181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee07df8012d80bb0005d9f098000a00001e..."} 
[2026-07-11 07:22:54] local.INFO: Packet analysis {"connection_id":128181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee0"} 
[2026-07-11 07:22:54] local.INFO: Extracted packet for processing {"connection_id":128181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee0"} 
[2026-07-11 07:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763411200,"raw_latitude":98168984,"longitude_deg":76.34112,"latitude_deg":9.8168984,"altitude":10,"angle":0,"satellites":30,"speed":30,"hex_longitude":"2d80bb00","hex_latitude":"05d9f098","is_valid_coordinates":true} 
[2026-07-11 07:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636096256001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104870817761853440,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465870907392,"note":"Value kept but may cause issues"} 
[2026-07-11 07:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783734763000,"timestamp_ms":1783734763000,"timestamp_seconds":1783734763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee07df8"} 
[2026-07-11 07:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-11 07:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636096256001,"66":13428,"9":206,"85":15104,"24":30,"16":104870817761853440,"45":-9173269465870907392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-11 07:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636096256001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:22:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-11 07:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104870817761853440,"km_value":104870817761853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465870907392,"description":"Unknown IO ID 45"} 
[2026-07-11 07:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636096256001,"power":13428,"unknown_9":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9173269465870907392}} 
[2026-07-11 07:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":128181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:22:54] local.INFO: GPS data processed {"connection_id":128181,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:22:54] local.INFO: Acknowledgment sent {"connection_id":128181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:23:05] local.INFO: TCP Data received {"connection_id":128182,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:23:05] local.INFO: Processing buffer {"connection_id":128182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:23:05] local.INFO: IMEI packet received {"connection_id":128182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":128182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:23:10] local.INFO: TCP Data received {"connection_id":128182,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:23:10] local.INFO: Processing buffer {"connection_id":128182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:23:10] local.INFO: IMEI packet received {"connection_id":128182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":128182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:23:11] local.INFO: TCP Data received {"connection_id":128182,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:23:11] local.INFO: Processing buffer {"connection_id":128182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:23:11] local.INFO: Packet analysis {"connection_id":128182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:23:11] local.INFO: Extracted packet for processing {"connection_id":128182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":128182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:23:11] local.INFO: GPS data processed {"connection_id":128182,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:23:11] local.INFO: Acknowledgment sent {"connection_id":128182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:23:16] local.INFO: TCP Data received {"connection_id":129084,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:23:16] local.INFO: Processing buffer {"connection_id":129084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:23:16] local.INFO: IMEI packet received {"connection_id":129084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":129084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:23:20] local.INFO: TCP Data received {"connection_id":129084,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:23:20] local.INFO: Processing buffer {"connection_id":129084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:23:20] local.INFO: IMEI packet received {"connection_id":129084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":129084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:23:21] local.INFO: TCP Data received {"connection_id":129084,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:23:21] local.INFO: Processing buffer {"connection_id":129084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:23:21] local.INFO: IMEI packet received {"connection_id":129084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":129084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:23:22] local.INFO: TCP Data received {"connection_id":129084,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee085c8012d80ba4005d9f6d0000a015b1e..."} 
[2026-07-11 07:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee085c8012d80ba4005d9f6d0000a015b1e..."} 
[2026-07-11 07:23:22] local.INFO: Processing buffer {"connection_id":129084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee085c8012d80ba4005d9f6d0000a015b1e..."} 
[2026-07-11 07:23:22] local.INFO: Packet analysis {"connection_id":129084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee0"} 
[2026-07-11 07:23:22] local.INFO: Extracted packet for processing {"connection_id":129084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee0"} 
[2026-07-11 07:23:22] local.INFO: GPS Element Parsed {"raw_longitude":763411008,"raw_latitude":98170576,"longitude_deg":76.3411008,"latitude_deg":9.8170576,"altitude":10,"angle":347,"satellites":30,"speed":32,"hex_longitude":"2d80ba40","hex_latitude":"05d9f6d0","is_valid_coordinates":true} 
[2026-07-11 07:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636099328001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104870899366232064,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9170736191078623232,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734765000,"timestamp_ms":1783734765000,"timestamp_seconds":1783734765,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee085c8"} 
[2026-07-11 07:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 07:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":129084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":129084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":129084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636099328001,"66":13341,"9":206,"85":15104,"24":32,"16":104870899366232064,"45":-9170736191078623232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-07-11 07:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636099328001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:23:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-11 07:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104870899366232064,"km_value":104870899366232.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9170736191078623232,"description":"Unknown IO ID 45"} 
[2026-07-11 07:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636099328001,"power":13341,"unknown_9":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9170736191078623232}} 
[2026-07-11 07:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":129084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:23:22] local.INFO: GPS data processed {"connection_id":129084,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:23:22] local.INFO: Acknowledgment sent {"connection_id":129084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:23:42] local.INFO: TCP Data received {"connection_id":128182,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:23:42] local.INFO: Processing buffer {"connection_id":128182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:23:42] local.INFO: Packet analysis {"connection_id":128182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:23:42] local.INFO: Extracted packet for processing {"connection_id":128182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":128182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:23:42] local.INFO: GPS data processed {"connection_id":128182,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:23:42] local.INFO: Acknowledgment sent {"connection_id":128182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:23:53] local.INFO: TCP Data received {"connection_id":129084,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee17be0012d804c4005dab698000500fa1e..."} 
[2026-07-11 07:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee17be0012d804c4005dab698000500fa1e..."} 
[2026-07-11 07:23:53] local.INFO: Processing buffer {"connection_id":129084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee17be0012d804c4005dab698000500fa1e..."} 
[2026-07-11 07:23:53] local.INFO: Packet analysis {"connection_id":129084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:23:53] local.INFO: Extracted packet for processing {"connection_id":129084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:23:53] local.INFO: GPS Element Parsed {"raw_longitude":763382848,"raw_latitude":98219672,"longitude_deg":76.3382848,"latitude_deg":9.8219672,"altitude":5,"angle":250,"satellites":30,"speed":25,"hex_longitude":"2d804c40","hex_latitude":"05dab698","is_valid_coordinates":true} 
[2026-07-11 07:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636115200001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104873811354058752,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199728113666707456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783734828000,"timestamp_ms":1783734828000,"timestamp_seconds":1783734828,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee17be0"} 
[2026-07-11 07:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-11 07:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":129084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":129084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":129084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636115200001,"66":13243,"52":206,"85":15104,"24":25,"16":104873811354058752,"45":-9199728113666707456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-07-11 07:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636115200001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:23:53] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-11 07:23:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104873811354058752,"km_value":104873811354058.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199728113666707456,"description":"Unknown IO ID 45"} 
[2026-07-11 07:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636115200001,"power":13243,"unknown_52":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9199728113666707456}} 
[2026-07-11 07:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":129084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:23:53] local.INFO: GPS data processed {"connection_id":129084,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:23:53] local.INFO: Acknowledgment sent {"connection_id":129084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:24:05] local.INFO: TCP Data received {"connection_id":128371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:24:05] local.INFO: Processing buffer {"connection_id":128371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:24:05] local.INFO: IMEI packet received {"connection_id":128371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":128371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:24:10] local.INFO: TCP Data received {"connection_id":128371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:24:10] local.INFO: Processing buffer {"connection_id":128371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:24:10] local.INFO: IMEI packet received {"connection_id":128371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":128371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:24:10] local.INFO: TCP Data received {"connection_id":128371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:24:10] local.INFO: Processing buffer {"connection_id":128371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4edd12f8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:24:10] local.INFO: Packet analysis {"connection_id":128371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:24:10] local.INFO: Extracted packet for processing {"connection_id":128371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4edd"} 
[2026-07-11 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635964928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783734539000,"timestamp_ms":1783734539000,"timestamp_seconds":1783734539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4edd12f8"} 
[2026-07-11 07:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635964928001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635964928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:24:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635964928001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":128371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:24:10] local.INFO: GPS data processed {"connection_id":128371,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:24:10] local.INFO: Acknowledgment sent {"connection_id":128371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:24:21] local.INFO: TCP Data received {"connection_id":128183,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:24:21] local.INFO: Processing buffer {"connection_id":128183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:24:21] local.INFO: IMEI packet received {"connection_id":128183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":128183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:24:25] local.INFO: TCP Data received {"connection_id":128183,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:24:25] local.INFO: Processing buffer {"connection_id":128183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:24:25] local.INFO: IMEI packet received {"connection_id":128183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":128183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:24:26] local.INFO: TCP Data received {"connection_id":128183,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee183b0012d80480005dab5a00005010b1e..."} 
[2026-07-11 07:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee183b0012d80480005dab5a00005010b1e..."} 
[2026-07-11 07:24:26] local.INFO: Processing buffer {"connection_id":128183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee183b0012d80480005dab5a00005010b1e..."} 
[2026-07-11 07:24:26] local.INFO: Packet analysis {"connection_id":128183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:24:26] local.INFO: Extracted packet for processing {"connection_id":128183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763381760,"raw_latitude":98219424,"longitude_deg":76.338176,"latitude_deg":9.8219424,"altitude":5,"angle":267,"satellites":30,"speed":22,"hex_longitude":"2d804800","hex_latitude":"05dab5a0","is_valid_coordinates":true} 
[2026-07-11 07:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636115968001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104873867188633600,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201909544736352256,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783734830000,"timestamp_ms":1783734830000,"timestamp_seconds":1783734830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee183b0"} 
[2026-07-11 07:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 07:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":128183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":128183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":128183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636115968001,"66":13243,"52":206,"85":15104,"24":22,"16":104873867188633600,"45":-9201909544736352256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-07-11 07:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636115968001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:24:26] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-11 07:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104873867188633600,"km_value":104873867188633.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201909544736352256,"description":"Unknown IO ID 45"} 
[2026-07-11 07:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636115968001,"power":13243,"unknown_52":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9201909544736352256}} 
[2026-07-11 07:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":128183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:24:26] local.INFO: GPS data processed {"connection_id":128183,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:24:26] local.INFO: Acknowledgment sent {"connection_id":128183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:24:41] local.INFO: TCP Data received {"connection_id":128371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:24:41] local.INFO: Processing buffer {"connection_id":128371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:24:41] local.INFO: Packet analysis {"connection_id":128371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:24:41] local.INFO: Extracted packet for processing {"connection_id":128371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:24: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-07-11 07:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:24:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":128371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:24:41] local.INFO: GPS data processed {"connection_id":128371,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:24:41] local.INFO: Acknowledgment sent {"connection_id":128371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:24:57] local.INFO: TCP Data received {"connection_id":128183,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee18798012d8045c005dab5e8000601171e..."} 
[2026-07-11 07:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee18798012d8045c005dab5e8000601171e..."} 
[2026-07-11 07:24:57] local.INFO: Processing buffer {"connection_id":128183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee18798012d8045c005dab5e8000601171e..."} 
[2026-07-11 07:24:57] local.INFO: Packet analysis {"connection_id":128183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:24:57] local.INFO: Extracted packet for processing {"connection_id":128183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763381184,"raw_latitude":98219496,"longitude_deg":76.3381184,"latitude_deg":9.8219496,"altitude":6,"angle":279,"satellites":30,"speed":22,"hex_longitude":"2d8045c0","hex_latitude":"05dab5e8","is_valid_coordinates":true} 
[2026-07-11 07:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636116480001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104873892958437376,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203105813387436032,"note":"Value kept but may cause issues"} 
[2026-07-11 07:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783734831000,"timestamp_ms":1783734831000,"timestamp_seconds":1783734831,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee18798"} 
[2026-07-11 07:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 07:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":128183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":128183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":128183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636116480001,"66":13787,"52":206,"85":15104,"24":22,"16":104873892958437376,"45":-9203105813387436032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-07-11 07:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636116480001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:24:57] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-11 07:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104873892958437376,"km_value":104873892958437.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203105813387436032,"description":"Unknown IO ID 45"} 
[2026-07-11 07:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636116480001,"power":13787,"unknown_52":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9203105813387436032}} 
[2026-07-11 07:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":128183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:24:57] local.INFO: GPS data processed {"connection_id":128183,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:24:57] local.INFO: Acknowledgment sent {"connection_id":128183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:25:06] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:25:06] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:25:06] local.INFO: IMEI packet received {"connection_id":130334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":130334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:25:10] local.INFO: TCP Data received {"connection_id":129086,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:25:10] local.INFO: Processing buffer {"connection_id":129086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:25:10] local.INFO: IMEI packet received {"connection_id":129086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":129086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:25:15] local.INFO: TCP Data received {"connection_id":129086,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:25:15] local.INFO: Processing buffer {"connection_id":129086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:25:15] local.INFO: IMEI packet received {"connection_id":129086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":129086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:25:16] local.INFO: TCP Data received {"connection_id":129086,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:25:16] local.INFO: Processing buffer {"connection_id":129086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:25:16] local.INFO: Packet analysis {"connection_id":129086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:25:16] local.INFO: Extracted packet for processing {"connection_id":129086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:25:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:25:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:25:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":129086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:25:16] local.INFO: GPS data processed {"connection_id":129086,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:25:16] local.INFO: Acknowledgment sent {"connection_id":129086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:25:17] local.INFO: TCP Data received {"connection_id":128184,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:25:17] local.INFO: Processing buffer {"connection_id":128184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:25:17] local.INFO: IMEI packet received {"connection_id":128184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":128184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:25:19] local.INFO: TCP Data received {"connection_id":128184,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:25:19] local.INFO: Processing buffer {"connection_id":128184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:25:19] local.INFO: IMEI packet received {"connection_id":128184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":128184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:25:22] local.INFO: TCP Data received {"connection_id":128184,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:25:22] local.INFO: Processing buffer {"connection_id":128184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:25:22] local.INFO: IMEI packet received {"connection_id":128184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":128184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:25:23] local.INFO: TCP Data received {"connection_id":128184,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee28968012d7fe80005dbb0c0000501531d..."} 
[2026-07-11 07:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee28968012d7fe80005dbb0c0000501531d..."} 
[2026-07-11 07:25:23] local.INFO: Processing buffer {"connection_id":128184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee28968012d7fe80005dbb0c0000501531d..."} 
[2026-07-11 07:25:23] local.INFO: Packet analysis {"connection_id":128184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee2"} 
[2026-07-11 07:25:23] local.INFO: Extracted packet for processing {"connection_id":128184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee2"} 
[2026-07-11 07:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763357184,"raw_latitude":98283712,"longitude_deg":76.3357184,"latitude_deg":9.8283712,"altitude":5,"angle":339,"satellites":29,"speed":44,"hex_longitude":"2d7fe800","hex_latitude":"05dbb0c0","is_valid_coordinates":true} 
[2026-07-11 07:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636131584001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104877234442993664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220346206013542400,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783734897000,"timestamp_ms":1783734897000,"timestamp_seconds":1783734897,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee28968"} 
[2026-07-11 07:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-11 07:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636131584001,"66":13341,"52":206,"85":15104,"24":44,"16":104877234442993664,"45":9220346206013542400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-07-11 07:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636131584001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:25:23] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-11 07:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104877234442993664,"km_value":104877234442993.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220346206013542400,"description":"Unknown IO ID 45"} 
[2026-07-11 07:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636131584001,"power":13341,"unknown_52":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9220346206013542400}} 
[2026-07-11 07:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":128184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:25:23] local.INFO: GPS data processed {"connection_id":128184,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:25:23] local.INFO: Acknowledgment sent {"connection_id":128184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:25:46] local.INFO: TCP Data received {"connection_id":128372,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:25:46] local.INFO: Processing buffer {"connection_id":128372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:25:46] local.INFO: IMEI packet received {"connection_id":128372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":128372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:25:47] local.INFO: TCP Data received {"connection_id":129086,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:25:47] local.INFO: Processing buffer {"connection_id":129086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:25:47] local.INFO: Packet analysis {"connection_id":129086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:25:47] local.INFO: Extracted packet for processing {"connection_id":129086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:25:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:25:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":129086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:25:47] local.INFO: GPS data processed {"connection_id":129086,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:25:47] local.INFO: Acknowledgment sent {"connection_id":129086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:25:54] local.INFO: TCP Data received {"connection_id":128184,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee2b460012d7fda8005dbd480000701551e..."} 
[2026-07-11 07:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee2b460012d7fda8005dbd480000701551e..."} 
[2026-07-11 07:25:54] local.INFO: Processing buffer {"connection_id":128184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee2b460012d7fda8005dbd480000701551e..."} 
[2026-07-11 07:25:54] local.INFO: Packet analysis {"connection_id":128184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee2"} 
[2026-07-11 07:25:54] local.INFO: Extracted packet for processing {"connection_id":128184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee2"} 
[2026-07-11 07:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763353728,"raw_latitude":98292864,"longitude_deg":76.3353728,"latitude_deg":9.8292864,"altitude":7,"angle":341,"satellites":30,"speed":37,"hex_longitude":"2d7fda80","hex_latitude":"05dbd480","is_valid_coordinates":true} 
[2026-07-11 07:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636133632001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104877706889396224,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216616662574350336,"note":"Value kept but may cause issues"} 
[2026-07-11 07:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783734908000,"timestamp_ms":1783734908000,"timestamp_seconds":1783734908,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee2b460"} 
[2026-07-11 07:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 07:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636133632001,"66":13526,"52":206,"85":15104,"24":37,"16":104877706889396224,"45":9216616662574350336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-07-11 07:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636133632001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:25:54] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-11 07:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104877706889396224,"km_value":104877706889396.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216616662574350336,"description":"Unknown IO ID 45"} 
[2026-07-11 07:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636133632001,"power":13526,"unknown_52":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9216616662574350336}} 
[2026-07-11 07:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":128184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:25:54] local.INFO: GPS data processed {"connection_id":128184,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:25:54] local.INFO: Acknowledgment sent {"connection_id":128184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:26:05] local.INFO: TCP Data received {"connection_id":128373,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:26:05] local.INFO: Processing buffer {"connection_id":128373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:26:05] local.INFO: IMEI packet received {"connection_id":128373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":128373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:26:10] local.INFO: TCP Data received {"connection_id":128373,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:26:10] local.INFO: Processing buffer {"connection_id":128373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:26:10] local.INFO: IMEI packet received {"connection_id":128373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":128373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:26:10] local.INFO: TCP Data received {"connection_id":128373,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:26:10] local.INFO: Processing buffer {"connection_id":128373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:26:10] local.INFO: Packet analysis {"connection_id":128373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:26:10] local.INFO: Extracted packet for processing {"connection_id":128373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:26:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":128373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:26:10] local.INFO: GPS data processed {"connection_id":128373,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:26:10] local.INFO: Acknowledgment sent {"connection_id":128373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:26:16] local.INFO: TCP Data received {"connection_id":128185,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:26:16] local.INFO: Processing buffer {"connection_id":128185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:26:16] local.INFO: IMEI packet received {"connection_id":128185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":128185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:26:21] local.INFO: TCP Data received {"connection_id":128185,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:26:21] local.INFO: Processing buffer {"connection_id":128185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:26:21] local.INFO: IMEI packet received {"connection_id":128185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":128185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:26:22] local.INFO: TCP Data received {"connection_id":128185,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee2d788012d7fcd0005dbf560000501521e..."} 
[2026-07-11 07:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee2d788012d7fcd0005dbf560000501521e..."} 
[2026-07-11 07:26:22] local.INFO: Processing buffer {"connection_id":128185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee2d788012d7fcd0005dbf560000501521e..."} 
[2026-07-11 07:26:22] local.INFO: Packet analysis {"connection_id":128185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee2"} 
[2026-07-11 07:26:22] local.INFO: Extracted packet for processing {"connection_id":128185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee2"} 
[2026-07-11 07:26:22] local.INFO: GPS Element Parsed {"raw_longitude":763350272,"raw_latitude":98301280,"longitude_deg":76.3350272,"latitude_deg":9.830128,"altitude":5,"angle":338,"satellites":30,"speed":39,"hex_longitude":"2d7fcd00","hex_latitude":"05dbf560","is_valid_coordinates":true} 
[2026-07-11 07:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636136448001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104878144976060416,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212816750391099392,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734917000,"timestamp_ms":1783734917000,"timestamp_seconds":1783734917,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee2d788"} 
[2026-07-11 07:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-11 07:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636136448001,"66":13189,"53":206,"85":15104,"24":39,"16":104878144976060416,"45":9212816750391099392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636136448001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:26:22] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104878144976060416,"km_value":104878144976060.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212816750391099392,"description":"Unknown IO ID 45"} 
[2026-07-11 07:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636136448001,"power":13189,"unknown_53":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9212816750391099392}} 
[2026-07-11 07:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":128185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:26:22] local.INFO: GPS data processed {"connection_id":128185,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:26:22] local.INFO: Acknowledgment sent {"connection_id":128185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:26:41] local.INFO: TCP Data received {"connection_id":128373,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:26:41] local.INFO: Processing buffer {"connection_id":128373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:26:41] local.INFO: Packet analysis {"connection_id":128373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:26:41] local.INFO: Extracted packet for processing {"connection_id":128373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:26: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-07-11 07:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:26:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":128373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:26:41] local.INFO: GPS data processed {"connection_id":128373,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:26:41] local.INFO: Acknowledgment sent {"connection_id":128373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:26:53] local.INFO: TCP Data received {"connection_id":128185,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee30668012d7fc14005dc17200007015a1e..."} 
[2026-07-11 07:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee30668012d7fc14005dc17200007015a1e..."} 
[2026-07-11 07:26:53] local.INFO: Processing buffer {"connection_id":128185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee30668012d7fc14005dc17200007015a1e..."} 
[2026-07-11 07:26:53] local.INFO: Packet analysis {"connection_id":128185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:26:53] local.INFO: Extracted packet for processing {"connection_id":128185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763347264,"raw_latitude":98309920,"longitude_deg":76.3347264,"latitude_deg":9.830992,"altitude":7,"angle":346,"satellites":30,"speed":36,"hex_longitude":"2d7fc140","hex_latitude":"05dc1720","is_valid_coordinates":true} 
[2026-07-11 07:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636138752001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104878591652659200,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9209016838207660032,"note":"Value kept but may cause issues"} 
[2026-07-11 07:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783734929000,"timestamp_ms":1783734929000,"timestamp_seconds":1783734929,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee30668"} 
[2026-07-11 07:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 07:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636138752001,"66":13450,"53":206,"85":15104,"24":36,"16":104878591652659200,"45":9209016838207660032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636138752001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:26:53] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104878591652659200,"km_value":104878591652659.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9209016838207660032,"description":"Unknown IO ID 45"} 
[2026-07-11 07:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636138752001,"power":13450,"unknown_53":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9209016838207660032}} 
[2026-07-11 07:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":128185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:26:53] local.INFO: GPS data processed {"connection_id":128185,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:26:53] local.INFO: Acknowledgment sent {"connection_id":128185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:27:05] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:27:05] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:27:05] local.INFO: IMEI packet received {"connection_id":129087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":129087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:27:10] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:27:10] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:27:10] local.INFO: IMEI packet received {"connection_id":129087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":129087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:27:11] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:27:11] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:27:11] local.INFO: Packet analysis {"connection_id":129087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:27:11] local.INFO: Extracted packet for processing {"connection_id":129087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":129087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:27:11] local.INFO: GPS data processed {"connection_id":129087,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:27:11] local.INFO: Acknowledgment sent {"connection_id":129087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:27:16] local.INFO: TCP Data received {"connection_id":128187,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:27:16] local.INFO: Processing buffer {"connection_id":128187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:27:16] local.INFO: IMEI packet received {"connection_id":128187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":128187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:27:22] local.INFO: TCP Data received {"connection_id":128187,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:27:22] local.INFO: Processing buffer {"connection_id":128187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:27:22] local.INFO: IMEI packet received {"connection_id":128187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":128187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:27:24] local.INFO: TCP Data received {"connection_id":128187,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee31608012d7fbfc005dc2598000601661e..."} 
[2026-07-11 07:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee31608012d7fbfc005dc2598000601661e..."} 
[2026-07-11 07:27:24] local.INFO: Processing buffer {"connection_id":128187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee31608012d7fbfc005dc2598000601661e..."} 
[2026-07-11 07:27:24] local.INFO: Packet analysis {"connection_id":128187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:27:24] local.INFO: Extracted packet for processing {"connection_id":128187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763346880,"raw_latitude":98313624,"longitude_deg":76.334688,"latitude_deg":9.8313624,"altitude":6,"angle":358,"satellites":30,"speed":37,"hex_longitude":"2d7fbfc0","hex_latitude":"05dc2598","is_valid_coordinates":true} 
[2026-07-11 07:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636141824001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104878772041285632,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205709507233521664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783734933000,"timestamp_ms":1783734933000,"timestamp_seconds":1783734933,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee31608"} 
[2026-07-11 07:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 07:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636141824001,"66":13689,"53":206,"85":15104,"24":37,"16":104878772041285632,"45":9205709507233521664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636141824001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:27:24] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104878772041285632,"km_value":104878772041285.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205709507233521664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636141824001,"power":13689,"unknown_53":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9205709507233521664}} 
[2026-07-11 07:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":128187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:27:24] local.INFO: GPS data processed {"connection_id":128187,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:27:24] local.INFO: Acknowledgment sent {"connection_id":128187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:27:42] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:27:42] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:27:42] local.INFO: Packet analysis {"connection_id":129087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:27:42] local.INFO: Extracted packet for processing {"connection_id":129087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":129087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:27:42] local.INFO: GPS data processed {"connection_id":129087,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:27:42] local.INFO: Acknowledgment sent {"connection_id":129087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:27:55] local.INFO: TCP Data received {"connection_id":128187,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee32d78012d7fbe0005dc3b60000501591e..."} 
[2026-07-11 07:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee32d78012d7fbe0005dc3b60000501591e..."} 
[2026-07-11 07:27:55] local.INFO: Processing buffer {"connection_id":128187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee32d78012d7fbe0005dc3b60000501591e..."} 
[2026-07-11 07:27:55] local.INFO: Packet analysis {"connection_id":128187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:27:55] local.INFO: Extracted packet for processing {"connection_id":128187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763346432,"raw_latitude":98319200,"longitude_deg":76.3346432,"latitude_deg":9.83192,"altitude":5,"angle":345,"satellites":30,"speed":35,"hex_longitude":"2d7fbe00","hex_latitude":"05dc3b60","is_valid_coordinates":true} 
[2026-07-11 07:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636142848001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879042624225280,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205287294769403904,"note":"Value kept but may cause issues"} 
[2026-07-11 07:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783734939000,"timestamp_ms":1783734939000,"timestamp_seconds":1783734939,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee32d78"} 
[2026-07-11 07:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-11 07:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":128187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":128187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":128187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636142848001,"66":13341,"53":206,"85":15104,"24":35,"16":104879042624225280,"45":9205287294769403904},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636142848001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:27:55] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879042624225280,"km_value":104879042624225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205287294769403904,"description":"Unknown IO ID 45"} 
[2026-07-11 07:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636142848001,"power":13341,"unknown_53":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9205287294769403904}} 
[2026-07-11 07:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":128187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:27:55] local.INFO: GPS data processed {"connection_id":128187,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:27:55] local.INFO: Acknowledgment sent {"connection_id":128187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:28:07] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:28:07] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:28:07] local.INFO: IMEI packet received {"connection_id":130335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":130335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:28:10] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:28:10] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:28:10] local.INFO: IMEI packet received {"connection_id":130335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":130335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:28:11] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:28:11] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:28:11] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:28:11] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:28:11] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:28:11] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:28:17] local.INFO: TCP Data received {"connection_id":128374,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:28:17] local.INFO: Processing buffer {"connection_id":128374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:28:17] local.INFO: IMEI packet received {"connection_id":128374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":128374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:28:21] local.INFO: TCP Data received {"connection_id":128374,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:28:21] local.INFO: Processing buffer {"connection_id":128374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:28:21] local.INFO: IMEI packet received {"connection_id":128374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":128374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:28:22] local.INFO: TCP Data received {"connection_id":128374,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee344e8012d7fb68005dc4e480006014d1e..."} 
[2026-07-11 07:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee344e8012d7fb68005dc4e480006014d1e..."} 
[2026-07-11 07:28:22] local.INFO: Processing buffer {"connection_id":128374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee344e8012d7fb68005dc4e480006014d1e..."} 
[2026-07-11 07:28:22] local.INFO: Packet analysis {"connection_id":128374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:28:22] local.INFO: Extracted packet for processing {"connection_id":128374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:28:22] local.INFO: GPS Element Parsed {"raw_longitude":763344512,"raw_latitude":98324040,"longitude_deg":76.3344512,"latitude_deg":9.832404,"altitude":6,"angle":333,"satellites":30,"speed":36,"hex_longitude":"2d7fb680","hex_latitude":"05dc4e48","is_valid_coordinates":true} 
[2026-07-11 07:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636144384001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879296027295744,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204794713561587712,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734945000,"timestamp_ms":1783734945000,"timestamp_seconds":1783734945,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee344e8"} 
[2026-07-11 07:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 07:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636144384001,"66":13678,"53":206,"85":15104,"24":36,"16":104879296027295744,"45":9204794713561587712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636144384001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:28:22] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:28:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879296027295744,"km_value":104879296027295.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204794713561587712,"description":"Unknown IO ID 45"} 
[2026-07-11 07:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636144384001,"power":13678,"unknown_53":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9204794713561587712}} 
[2026-07-11 07:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":128374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:28:22] local.INFO: GPS data processed {"connection_id":128374,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:28:22] local.INFO: Acknowledgment sent {"connection_id":128374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:28:41] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:28:41] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:28:41] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:28:41] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:28: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-07-11 07:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:28:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:28:41] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:28:41] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:28:54] local.INFO: TCP Data received {"connection_id":128374,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee36810012d7faac005dc62280007013d1e..."} 
[2026-07-11 07:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee36810012d7faac005dc62280007013d1e..."} 
[2026-07-11 07:28:54] local.INFO: Processing buffer {"connection_id":128374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee36810012d7faac005dc62280007013d1e..."} 
[2026-07-11 07:28:54] local.INFO: Packet analysis {"connection_id":128374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:28:54] local.INFO: Extracted packet for processing {"connection_id":128374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":98329128,"longitude_deg":76.3341504,"latitude_deg":9.8329128,"altitude":7,"angle":317,"satellites":30,"speed":12,"hex_longitude":"2d7faac0","hex_latitude":"05dc6228","is_valid_coordinates":true} 
[2026-07-11 07:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636145920001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879579495137280,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9202683651237496832,"note":"Value kept but may cause issues"} 
[2026-07-11 07:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783734954000,"timestamp_ms":1783734954000,"timestamp_seconds":1783734954,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee36810"} 
[2026-07-11 07:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-11 07:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636145920001,"66":12917,"53":206,"85":15104,"24":12,"16":104879579495137280,"45":9202683651237496832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636145920001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:28:54] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879579495137280,"km_value":104879579495137.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9202683651237496832,"description":"Unknown IO ID 45"} 
[2026-07-11 07:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636145920001,"power":12917,"unknown_53":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9202683651237496832}} 
[2026-07-11 07:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":128374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:28:54] local.INFO: GPS data processed {"connection_id":128374,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:28:54] local.INFO: Acknowledgment sent {"connection_id":128374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:29:05] local.INFO: TCP Data received {"connection_id":130336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:29:05] local.INFO: Processing buffer {"connection_id":130336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:29:05] local.INFO: IMEI packet received {"connection_id":130336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":130336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:29:10] local.INFO: TCP Data received {"connection_id":130336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:29:10] local.INFO: Processing buffer {"connection_id":130336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:29:10] local.INFO: IMEI packet received {"connection_id":130336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":130336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:29:11] local.INFO: TCP Data received {"connection_id":130336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:29:11] local.INFO: Processing buffer {"connection_id":130336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee1aac0012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:29:11] local.INFO: Packet analysis {"connection_id":130336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:29:11] local.INFO: Extracted packet for processing {"connection_id":130336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee1"} 
[2026-07-11 07:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636041984001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783734840000,"timestamp_ms":1783734840000,"timestamp_seconds":1783734840,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee1aac0"} 
[2026-07-11 07:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636041984001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636041984001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636041984001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":130336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:29:11] local.INFO: GPS data processed {"connection_id":130336,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:29:11] local.INFO: Acknowledgment sent {"connection_id":130336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:29:16] local.INFO: TCP Data received {"connection_id":128188,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:29:16] local.INFO: Processing buffer {"connection_id":128188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:29:16] local.INFO: IMEI packet received {"connection_id":128188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":128188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:29:22] local.INFO: TCP Data received {"connection_id":128188,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:29:22] local.INFO: Processing buffer {"connection_id":128188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:29:22] local.INFO: IMEI packet received {"connection_id":128188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":128188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:29:22] local.INFO: TCP Data received {"connection_id":128188,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee3b630012d7fa6c005dc6820000801441e..."} 
[2026-07-11 07:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee3b630012d7fa6c005dc6820000801441e..."} 
[2026-07-11 07:29:22] local.INFO: Processing buffer {"connection_id":128188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee3b630012d7fa6c005dc6820000801441e..."} 
[2026-07-11 07:29:22] local.INFO: Packet analysis {"connection_id":128188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:29:22] local.INFO: Extracted packet for processing {"connection_id":128188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee3"} 
[2026-07-11 07:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":98330656,"longitude_deg":76.334048,"latitude_deg":9.8330656,"altitude":8,"angle":324,"satellites":30,"speed":0,"hex_longitude":"2d7fa6c0","hex_latitude":"05dc6820","is_valid_coordinates":true} 
[2026-07-11 07:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636148224001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879678279385088,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376320262449152,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783734974000,"timestamp_ms":1783734974000,"timestamp_seconds":1783734974,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee3b630"} 
[2026-07-11 07:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 07:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636148224001,"66":13656,"53":206,"85":15104,"24":0,"16":104879678279385088,"45":9199376320262449152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636148224001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:29:22] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:29:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879678279385088,"km_value":104879678279385.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376320262449152,"description":"Unknown IO ID 45"} 
[2026-07-11 07:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636148224001,"power":13656,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9199376320262449152}} 
[2026-07-11 07:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":128188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:29:23] local.INFO: GPS data processed {"connection_id":128188,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:29:23] local.INFO: Acknowledgment sent {"connection_id":128188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:29:42] local.INFO: TCP Data received {"connection_id":130336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:29:42] local.INFO: Processing buffer {"connection_id":130336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:29:42] local.INFO: Packet analysis {"connection_id":130336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:29:42] local.INFO: Extracted packet for processing {"connection_id":130336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":130336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:29:42] local.INFO: GPS data processed {"connection_id":130336,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:29:42] local.INFO: Acknowledgment sent {"connection_id":130336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:29:54] local.INFO: TCP Data received {"connection_id":128188,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee40838012d7fa70005dc6630000801441e..."} 
[2026-07-11 07:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee40838012d7fa70005dc6630000801441e..."} 
[2026-07-11 07:29:54] local.INFO: Processing buffer {"connection_id":128188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee40838012d7fa70005dc6630000801441e..."} 
[2026-07-11 07:29:54] local.INFO: Packet analysis {"connection_id":128188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee4"} 
[2026-07-11 07:29:54] local.INFO: Extracted packet for processing {"connection_id":128188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee4"} 
[2026-07-11 07:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":30,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636153344001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250420355997696,"note":"Value kept but may cause issues"} 
[2026-07-11 07:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783734995000,"timestamp_ms":1783734995000,"timestamp_seconds":1783734995,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee40838"} 
[2026-07-11 07:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-11 07:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636153344001,"66":13493,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198250420355997696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636153344001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:29:54] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250420355997696,"description":"Unknown IO ID 45"} 
[2026-07-11 07:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636153344001,"power":13493,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198250420355997696}} 
[2026-07-11 07:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":128188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:29:54] local.INFO: GPS data processed {"connection_id":128188,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:29:54] local.INFO: Acknowledgment sent {"connection_id":128188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:30:10] local.INFO: TCP Data received {"connection_id":128376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:30:10] local.INFO: Processing buffer {"connection_id":128376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:30:10] local.INFO: IMEI packet received {"connection_id":128376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":128376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:30:15] local.INFO: TCP Data received {"connection_id":128376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:30:15] local.INFO: Processing buffer {"connection_id":128376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:30:15] local.INFO: IMEI packet received {"connection_id":128376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":128376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:30:15] local.INFO: TCP Data received {"connection_id":128376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:30:15] local.INFO: Processing buffer {"connection_id":128376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:30:15] local.INFO: Packet analysis {"connection_id":128376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:30:15] local.INFO: Extracted packet for processing {"connection_id":128376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:30:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:30:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":128376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:30:15] local.INFO: GPS data processed {"connection_id":128376,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:30:15] local.INFO: Acknowledgment sent {"connection_id":128376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:30:16] local.INFO: TCP Data received {"connection_id":129089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:30:16] local.INFO: Processing buffer {"connection_id":129089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:30:16] local.INFO: IMEI packet received {"connection_id":129089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":129089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:30:22] local.INFO: TCP Data received {"connection_id":129089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:30:22] local.INFO: Processing buffer {"connection_id":129089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:30:22] local.INFO: IMEI packet received {"connection_id":129089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":129089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:30:23] local.INFO: TCP Data received {"connection_id":129089,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee45a40012d7fa70005dc6630000801441f..."} 
[2026-07-11 07:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee45a40012d7fa70005dc6630000801441f..."} 
[2026-07-11 07:30:23] local.INFO: Processing buffer {"connection_id":129089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee45a40012d7fa70005dc6630000801441f..."} 
[2026-07-11 07:30:23] local.INFO: Packet analysis {"connection_id":129089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee4"} 
[2026-07-11 07:30:23] local.INFO: Extracted packet for processing {"connection_id":129089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee4"} 
[2026-07-11 07:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":31,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636158720001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783735016000,"timestamp_ms":1783735016000,"timestamp_seconds":1783735016,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee45a40"} 
[2026-07-11 07:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-11 07:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636158720001,"66":13406,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636158720001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:30:23] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:30:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636158720001,"power":13406,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":129089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:30:23] local.INFO: GPS data processed {"connection_id":129089,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:30:23] local.INFO: Acknowledgment sent {"connection_id":129089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:30:46] local.INFO: TCP Data received {"connection_id":128376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:30:46] local.INFO: Processing buffer {"connection_id":128376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:30:46] local.INFO: Packet analysis {"connection_id":128376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:30:46] local.INFO: Extracted packet for processing {"connection_id":128376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:30:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:30:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:30:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":128376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:30:46] local.INFO: GPS data processed {"connection_id":128376,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:30:46] local.INFO: Acknowledgment sent {"connection_id":128376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:30:54] local.INFO: TCP Data received {"connection_id":129089,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee74070012d7fa70005dc66300008014421..."} 
[2026-07-11 07:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee74070012d7fa70005dc66300008014421..."} 
[2026-07-11 07:30:54] local.INFO: Processing buffer {"connection_id":129089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee74070012d7fa70005dc66300008014421..."} 
[2026-07-11 07:30:54] local.INFO: Packet analysis {"connection_id":129089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee7"} 
[2026-07-11 07:30:54] local.INFO: Extracted packet for processing {"connection_id":129089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee7"} 
[2026-07-11 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":33,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636207360001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783735206000,"timestamp_ms":1783735206000,"timestamp_seconds":1783735206,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee74070"} 
[2026-07-11 07:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 07:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636207360001,"66":12015,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636207360001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:30:54] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636207360001,"power":12015,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":129089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:30:54] local.INFO: GPS data processed {"connection_id":129089,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:30:54] local.INFO: Acknowledgment sent {"connection_id":129089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:31:01] local.INFO: TCP Data received {"connection_id":128189,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:31:01] local.INFO: Processing buffer {"connection_id":128189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:31:01] local.INFO: IMEI packet received {"connection_id":128189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":128189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:31:05] local.INFO: TCP Data received {"connection_id":128190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:31:05] local.INFO: Processing buffer {"connection_id":128190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:31:05] local.INFO: IMEI packet received {"connection_id":128190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":128190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:31:10] local.INFO: TCP Data received {"connection_id":128190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:31:10] local.INFO: Processing buffer {"connection_id":128190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:31:10] local.INFO: IMEI packet received {"connection_id":128190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":128190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:31:10] local.INFO: TCP Data received {"connection_id":128190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:31:10] local.INFO: Processing buffer {"connection_id":128190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:31:10] local.INFO: Packet analysis {"connection_id":128190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:31:10] local.INFO: Extracted packet for processing {"connection_id":128190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:31:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":128190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:31:10] local.INFO: GPS data processed {"connection_id":128190,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:31:10] local.INFO: Acknowledgment sent {"connection_id":128190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:31:16] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:31:16] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:31:16] local.INFO: IMEI packet received {"connection_id":130338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":130338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:31:22] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:31:22] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:31:22] local.INFO: IMEI packet received {"connection_id":130338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":130338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:31:22] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee79278012d7fa70005dc66300008014423..."} 
[2026-07-11 07:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee79278012d7fa70005dc66300008014423..."} 
[2026-07-11 07:31:22] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee79278012d7fa70005dc66300008014423..."} 
[2026-07-11 07:31:22] local.INFO: Packet analysis {"connection_id":130338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee7"} 
[2026-07-11 07:31:22] local.INFO: Extracted packet for processing {"connection_id":130338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee7"} 
[2026-07-11 07:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":35,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636212736001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783735227000,"timestamp_ms":1783735227000,"timestamp_seconds":1783735227,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee79278"} 
[2026-07-11 07:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 07:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636212736001,"66":12461,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636212736001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:31:22] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636212736001,"power":12461,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":130338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:31:22] local.INFO: GPS data processed {"connection_id":130338,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:31:22] local.INFO: Acknowledgment sent {"connection_id":130338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:31:41] local.INFO: TCP Data received {"connection_id":128190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:31:41] local.INFO: Processing buffer {"connection_id":128190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:31:41] local.INFO: Packet analysis {"connection_id":128190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:31:41] local.INFO: Extracted packet for processing {"connection_id":128190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:31:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":128190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:31:41] local.INFO: GPS data processed {"connection_id":128190,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:31:41] local.INFO: Acknowledgment sent {"connection_id":128190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:31:48] local.INFO: TCP Data received {"connection_id":128377,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:31:48] local.INFO: Processing buffer {"connection_id":128377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:31:48] local.INFO: IMEI packet received {"connection_id":128377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":128377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:31:53] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee7e480012d7fa70005dc66300008014423..."} 
[2026-07-11 07:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee7e480012d7fa70005dc66300008014423..."} 
[2026-07-11 07:31:53] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee7e480012d7fa70005dc66300008014423..."} 
[2026-07-11 07:31:53] local.INFO: Packet analysis {"connection_id":130338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee7"} 
[2026-07-11 07:31:53] local.INFO: Extracted packet for processing {"connection_id":130338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee7"} 
[2026-07-11 07:31:53] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":35,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636218112001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783735248000,"timestamp_ms":1783735248000,"timestamp_seconds":1783735248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee7e480"} 
[2026-07-11 07:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 07:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636218112001,"66":12428,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636218112001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:31:53] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:31:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636218112001,"power":12428,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":130338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:31:53] local.INFO: GPS data processed {"connection_id":130338,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:31:53] local.INFO: Acknowledgment sent {"connection_id":130338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:32:05] local.INFO: TCP Data received {"connection_id":128191,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:32:05] local.INFO: Processing buffer {"connection_id":128191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:32:05] local.INFO: IMEI packet received {"connection_id":128191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":128191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:32:10] local.INFO: TCP Data received {"connection_id":128191,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:32:10] local.INFO: Processing buffer {"connection_id":128191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:32:10] local.INFO: IMEI packet received {"connection_id":128191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":128191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:32:10] local.INFO: TCP Data received {"connection_id":128191,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:32:10] local.INFO: Processing buffer {"connection_id":128191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:32:10] local.INFO: Packet analysis {"connection_id":128191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:32:10] local.INFO: Extracted packet for processing {"connection_id":128191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:32:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:32:10] local.INFO: GPS data processed {"connection_id":128191,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:32:10] local.INFO: Acknowledgment sent {"connection_id":128191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:32:16] local.INFO: TCP Data received {"connection_id":128378,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:32:16] local.INFO: Processing buffer {"connection_id":128378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:32:16] local.INFO: IMEI packet received {"connection_id":128378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":128378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:32:22] local.INFO: TCP Data received {"connection_id":128378,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:32:22] local.INFO: Processing buffer {"connection_id":128378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:32:22] local.INFO: IMEI packet received {"connection_id":128378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":128378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:32:22] local.INFO: TCP Data received {"connection_id":128378,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee83688012d7fa70005dc66300008014424..."} 
[2026-07-11 07:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee83688012d7fa70005dc66300008014424..."} 
[2026-07-11 07:32:23] local.INFO: Processing buffer {"connection_id":128378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee83688012d7fa70005dc66300008014424..."} 
[2026-07-11 07:32:23] local.INFO: Packet analysis {"connection_id":128378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee8"} 
[2026-07-11 07:32:23] local.INFO: Extracted packet for processing {"connection_id":128378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee8"} 
[2026-07-11 07:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":36,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636223488001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783735269000,"timestamp_ms":1783735269000,"timestamp_seconds":1783735269,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee83688"} 
[2026-07-11 07:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 07:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636223488001,"66":12341,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636223488001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:32:23] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636223488001,"power":12341,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":128378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:32:23] local.INFO: GPS data processed {"connection_id":128378,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:32:23] local.INFO: Acknowledgment sent {"connection_id":128378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:32:41] local.INFO: TCP Data received {"connection_id":128191,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:32:41] local.INFO: Processing buffer {"connection_id":128191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:32:41] local.INFO: Packet analysis {"connection_id":128191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:32:41] local.INFO: Extracted packet for processing {"connection_id":128191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:32:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":128191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:32:41] local.INFO: GPS data processed {"connection_id":128191,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:32:41] local.INFO: Acknowledgment sent {"connection_id":128191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:32:54] local.INFO: TCP Data received {"connection_id":128378,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee88890012d7fa70005dc66300008014424..."} 
[2026-07-11 07:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee88890012d7fa70005dc66300008014424..."} 
[2026-07-11 07:32:54] local.INFO: Processing buffer {"connection_id":128378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee88890012d7fa70005dc66300008014424..."} 
[2026-07-11 07:32:54] local.INFO: Packet analysis {"connection_id":128378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee8"} 
[2026-07-11 07:32:54] local.INFO: Extracted packet for processing {"connection_id":128378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee8"} 
[2026-07-11 07:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":36,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636228864001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783735290000,"timestamp_ms":1783735290000,"timestamp_seconds":1783735290,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee88890"} 
[2026-07-11 07:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 07:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636228864001,"66":12298,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636228864001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:32:54] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:32:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636228864001,"power":12298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":128378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:32:54] local.INFO: GPS data processed {"connection_id":128378,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:32:54] local.INFO: Acknowledgment sent {"connection_id":128378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:33:05] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:33:05] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:33:05] local.INFO: IMEI packet received {"connection_id":130339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":130339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:33:10] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:33:10] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:33:10] local.INFO: IMEI packet received {"connection_id":130339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":130339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:33:11] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:33:11] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:33:11] local.INFO: Packet analysis {"connection_id":130339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:33:11] local.INFO: Extracted packet for processing {"connection_id":130339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":130339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:33:11] local.INFO: GPS data processed {"connection_id":130339,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:33:11] local.INFO: Acknowledgment sent {"connection_id":130339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:33:22] local.INFO: TCP Data received {"connection_id":128192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:33:22] local.INFO: Processing buffer {"connection_id":128192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:33:22] local.INFO: IMEI packet received {"connection_id":128192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":128192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:33:26] local.INFO: TCP Data received {"connection_id":128192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:33:26] local.INFO: Processing buffer {"connection_id":128192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:33:26] local.INFO: IMEI packet received {"connection_id":128192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":128192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:33:27] local.INFO: TCP Data received {"connection_id":128192,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee8da98012d7fa70005dc66300008014424..."} 
[2026-07-11 07:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee8da98012d7fa70005dc66300008014424..."} 
[2026-07-11 07:33:27] local.INFO: Processing buffer {"connection_id":128192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee8da98012d7fa70005dc66300008014424..."} 
[2026-07-11 07:33:27] local.INFO: Packet analysis {"connection_id":128192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee8"} 
[2026-07-11 07:33:27] local.INFO: Extracted packet for processing {"connection_id":128192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee8"} 
[2026-07-11 07:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":36,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636234240001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783735311000,"timestamp_ms":1783735311000,"timestamp_seconds":1783735311,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee8da98"} 
[2026-07-11 07:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":422324821410971972,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185972,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-8430738502437568511,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5685313321439166375,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":8,"raw_value":91235275849596928,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3593028959944900814,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3879759873,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765081294,"corrected_to":0} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199529,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2609577984,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3697684480,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,53,85,24,241,157,16,155,159,54,45,102,8,36,10,66,228,35,146,1,240,173,227,78,220,4,113,205,238,167,48,34,239,49,2,116,5],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1765081294,"validated":0}]} 
[2026-07-11 07:33:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576817148689645568,"timestamp_seconds":576817148689645.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 07:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636234240001,"66":12232,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636234240001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:33:27] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636234240001,"power":12232,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":128192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:33:27] local.INFO: GPS data processed {"connection_id":128192,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:33:27] local.INFO: Acknowledgment sent {"connection_id":128192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:33:32] local.INFO: TCP Data received {"connection_id":128192,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee92ca0012d7fa70005dc66300008014425..."} 
[2026-07-11 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee92ca0012d7fa70005dc66300008014425..."} 
[2026-07-11 07:33:32] local.INFO: Processing buffer {"connection_id":128192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee92ca0012d7fa70005dc66300008014425..."} 
[2026-07-11 07:33:32] local.INFO: Packet analysis {"connection_id":128192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee9"} 
[2026-07-11 07:33:32] local.INFO: Extracted packet for processing {"connection_id":128192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee9"} 
[2026-07-11 07:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636239616001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783735332000,"timestamp_ms":1783735332000,"timestamp_seconds":1783735332,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee92ca0"} 
[2026-07-11 07:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 07:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636239616001,"66":12232,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636239616001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:33:32] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636239616001,"power":12232,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":128192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:33:32] local.INFO: GPS data processed {"connection_id":128192,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:33:32] local.INFO: Acknowledgment sent {"connection_id":128192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:33:42] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:33:42] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:33:42] local.INFO: Packet analysis {"connection_id":130339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:33:42] local.INFO: Extracted packet for processing {"connection_id":130339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":130339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:33:42] local.INFO: GPS data processed {"connection_id":130339,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:33:42] local.INFO: Acknowledgment sent {"connection_id":130339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:34:05] local.INFO: TCP Data received {"connection_id":130340,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:34:05] local.INFO: Processing buffer {"connection_id":130340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:34:05] local.INFO: IMEI packet received {"connection_id":130340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":130340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:34:10] local.INFO: TCP Data received {"connection_id":130340,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:34:10] local.INFO: Processing buffer {"connection_id":130340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:34:10] local.INFO: IMEI packet received {"connection_id":130340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":130340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:34:10] local.INFO: TCP Data received {"connection_id":130340,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:34:10] local.INFO: Processing buffer {"connection_id":130340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee64288012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:34:10] local.INFO: Packet analysis {"connection_id":130340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:34:10] local.INFO: Extracted packet for processing {"connection_id":130340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee6"} 
[2026-07-11 07:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636119040001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783735141000,"timestamp_ms":1783735141000,"timestamp_seconds":1783735141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee64288"} 
[2026-07-11 07:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636119040001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636119040001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:34:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636119040001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":130340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:34:10] local.INFO: GPS data processed {"connection_id":130340,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:34:10] local.INFO: Acknowledgment sent {"connection_id":130340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:34:17] local.INFO: TCP Data received {"connection_id":128380,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:34:17] local.INFO: Processing buffer {"connection_id":128380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:34:17] local.INFO: IMEI packet received {"connection_id":128380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":128380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:34:20] local.INFO: TCP Data received {"connection_id":128380,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:34:20] local.INFO: Processing buffer {"connection_id":128380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:34:20] local.INFO: IMEI packet received {"connection_id":128380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":128380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:34:20] local.INFO: TCP Data received {"connection_id":128380,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee97ea8012d7fa70005dc66300008014425..."} 
[2026-07-11 07:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee97ea8012d7fa70005dc66300008014425..."} 
[2026-07-11 07:34:20] local.INFO: Processing buffer {"connection_id":128380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee97ea8012d7fa70005dc66300008014425..."} 
[2026-07-11 07:34:20] local.INFO: Packet analysis {"connection_id":128380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee9"} 
[2026-07-11 07:34:20] local.INFO: Extracted packet for processing {"connection_id":128380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee9"} 
[2026-07-11 07:34:20] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636244992001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783735353000,"timestamp_ms":1783735353000,"timestamp_seconds":1783735353,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee97ea8"} 
[2026-07-11 07:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 07:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636244992001,"66":12189,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636244992001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:34:20] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636244992001,"power":12189,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":128380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:34:20] local.INFO: GPS data processed {"connection_id":128380,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:34:20] local.INFO: Acknowledgment sent {"connection_id":128380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:34:41] local.INFO: TCP Data received {"connection_id":130340,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:34:41] local.INFO: Processing buffer {"connection_id":130340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:34:41] local.INFO: Packet analysis {"connection_id":130340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:34:41] local.INFO: Extracted packet for processing {"connection_id":130340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636196096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783735442000,"timestamp_ms":1783735442000,"timestamp_seconds":1783735442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeada50"} 
[2026-07-11 07:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:34: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-07-11 07:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636196096001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636196096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:34:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636196096001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":130340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:34:41] local.INFO: GPS data processed {"connection_id":130340,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:34:41] local.INFO: Acknowledgment sent {"connection_id":130340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:34:51] local.INFO: TCP Data received {"connection_id":128380,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee9d0b0012d7fa70005dc66300008014424..."} 
[2026-07-11 07:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee9d0b0012d7fa70005dc66300008014424..."} 
[2026-07-11 07:34:51] local.INFO: Processing buffer {"connection_id":128380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee9d0b0012d7fa70005dc66300008014424..."} 
[2026-07-11 07:34:51] local.INFO: Packet analysis {"connection_id":128380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee9"} 
[2026-07-11 07:34:51] local.INFO: Extracted packet for processing {"connection_id":128380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee9"} 
[2026-07-11 07:34:51] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":36,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636250368001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783735374000,"timestamp_ms":1783735374000,"timestamp_seconds":1783735374,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee9d0b0"} 
[2026-07-11 07:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-11 07:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":128380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":128380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":128380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636250368001,"66":12156,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636250368001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:34:51] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636250368001,"power":12156,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":128380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:34:51] local.INFO: GPS data processed {"connection_id":128380,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:34:51] local.INFO: Acknowledgment sent {"connection_id":128380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:35:10] local.INFO: TCP Data received {"connection_id":130341,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:35:10] local.INFO: Processing buffer {"connection_id":130341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:35:10] local.INFO: IMEI packet received {"connection_id":130341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":130341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:35:15] local.INFO: TCP Data received {"connection_id":130341,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:35:15] local.INFO: Processing buffer {"connection_id":130341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:35:15] local.INFO: IMEI packet received {"connection_id":130341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":130341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:35:16] local.INFO: TCP Data received {"connection_id":130341,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:35:16] local.INFO: Processing buffer {"connection_id":130341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:35:16] local.INFO: Packet analysis {"connection_id":130341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:35:16] local.INFO: Extracted packet for processing {"connection_id":130341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:35:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636196096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783735442000,"timestamp_ms":1783735442000,"timestamp_seconds":1783735442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeada50"} 
[2026-07-11 07:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636196096001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636196096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:35:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:35:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636196096001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":130341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:35:16] local.INFO: GPS data processed {"connection_id":130341,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:35:16] local.INFO: Acknowledgment sent {"connection_id":130341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:35:18] local.INFO: TCP Data received {"connection_id":128193,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:35:18] local.INFO: Processing buffer {"connection_id":128193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:35:18] local.INFO: IMEI packet received {"connection_id":128193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":128193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:35:20] local.INFO: TCP Data received {"connection_id":130341,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:35:20] local.INFO: Processing buffer {"connection_id":130341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:35:20] local.INFO: Packet analysis {"connection_id":130341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:35:20] local.INFO: Extracted packet for processing {"connection_id":130341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636196096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783735442000,"timestamp_ms":1783735442000,"timestamp_seconds":1783735442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeada50"} 
[2026-07-11 07:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636196096001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636196096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:35:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636196096001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":130341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:35:20] local.INFO: GPS data processed {"connection_id":130341,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:35:20] local.INFO: Acknowledgment sent {"connection_id":130341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:35:22] local.INFO: TCP Data received {"connection_id":128193,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:35:22] local.INFO: Processing buffer {"connection_id":128193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:35:22] local.INFO: IMEI packet received {"connection_id":128193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":128193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:35:23] local.INFO: TCP Data received {"connection_id":128193,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eea22b8012d7fa70005dc66300008014424..."} 
[2026-07-11 07:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eea22b8012d7fa70005dc66300008014424..."} 
[2026-07-11 07:35:23] local.INFO: Processing buffer {"connection_id":128193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eea22b8012d7fa70005dc66300008014424..."} 
[2026-07-11 07:35:23] local.INFO: Packet analysis {"connection_id":128193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:35:23] local.INFO: Extracted packet for processing {"connection_id":128193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":36,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636255744001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783735395000,"timestamp_ms":1783735395000,"timestamp_seconds":1783735395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eea22b8"} 
[2026-07-11 07:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:35: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-11 07:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636255744001,"66":12156,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636255744001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:35:23] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:35:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636255744001,"power":12156,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":128193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:35:23] local.INFO: GPS data processed {"connection_id":128193,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:35:23] local.INFO: Acknowledgment sent {"connection_id":128193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:35:54] local.INFO: TCP Data received {"connection_id":128193,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eea74c0012d7fa70005dc66300008014425..."} 
[2026-07-11 07:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eea74c0012d7fa70005dc66300008014425..."} 
[2026-07-11 07:35:54] local.INFO: Processing buffer {"connection_id":128193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eea74c0012d7fa70005dc66300008014425..."} 
[2026-07-11 07:35:54] local.INFO: Packet analysis {"connection_id":128193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:35:54] local.INFO: Extracted packet for processing {"connection_id":128193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636261120001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783735416000,"timestamp_ms":1783735416000,"timestamp_seconds":1783735416,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eea74c0"} 
[2026-07-11 07:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-11 07:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636261120001,"66":12069,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636261120001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:35:54] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636261120001,"power":12069,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":128193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:35:54] local.INFO: GPS data processed {"connection_id":128193,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:35:54] local.INFO: Acknowledgment sent {"connection_id":128193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:36:05] local.INFO: TCP Data received {"connection_id":129092,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:36:05] local.INFO: Processing buffer {"connection_id":129092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:36:05] local.INFO: IMEI packet received {"connection_id":129092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":129092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:36:16] local.INFO: TCP Data received {"connection_id":130342,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:36:16] local.INFO: Processing buffer {"connection_id":130342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:36:16] local.INFO: IMEI packet received {"connection_id":130342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":130342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:36:22] local.INFO: TCP Data received {"connection_id":130342,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:36:22] local.INFO: Processing buffer {"connection_id":130342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:36:22] local.INFO: IMEI packet received {"connection_id":130342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":130342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:36:22] local.INFO: TCP Data received {"connection_id":130342,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeac6c8012d7fa70005dc66300008014425..."} 
[2026-07-11 07:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeac6c8012d7fa70005dc66300008014425..."} 
[2026-07-11 07:36:22] local.INFO: Processing buffer {"connection_id":130342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeac6c8012d7fa70005dc66300008014425..."} 
[2026-07-11 07:36:22] local.INFO: Packet analysis {"connection_id":130342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:36:22] local.INFO: Extracted packet for processing {"connection_id":130342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:36:22] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636266496001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783735437000,"timestamp_ms":1783735437000,"timestamp_seconds":1783735437,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeac6c8"} 
[2026-07-11 07:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-11 07:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636266496001,"66":12113,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636266496001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:36:22] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636266496001,"power":12113,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":130342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:36:23] local.INFO: GPS data processed {"connection_id":130342,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:36:23] local.INFO: Acknowledgment sent {"connection_id":130342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:36:35] local.INFO: TCP Data received {"connection_id":130343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:36:35] local.INFO: Processing buffer {"connection_id":130343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:36:35] local.INFO: IMEI packet received {"connection_id":130343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":130343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:36:40] local.INFO: TCP Data received {"connection_id":130343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:36:40] local.INFO: Processing buffer {"connection_id":130343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:36:40] local.INFO: IMEI packet received {"connection_id":130343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":130343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:36:41] local.INFO: TCP Data received {"connection_id":130343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:36:41] local.INFO: Processing buffer {"connection_id":130343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:36:41] local.INFO: Packet analysis {"connection_id":130343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:36:41] local.INFO: Extracted packet for processing {"connection_id":130343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636196096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783735442000,"timestamp_ms":1783735442000,"timestamp_seconds":1783735442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeada50"} 
[2026-07-11 07:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:36: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-07-11 07:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636196096001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636196096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:36:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636196096001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":130343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:36:41] local.INFO: GPS data processed {"connection_id":130343,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:36:41] local.INFO: Acknowledgment sent {"connection_id":130343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:36:54] local.INFO: TCP Data received {"connection_id":130342,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeb18d0012d7fa70005dc66300008014425..."} 
[2026-07-11 07:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeb18d0012d7fa70005dc66300008014425..."} 
[2026-07-11 07:36:54] local.INFO: Processing buffer {"connection_id":130342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeb18d0012d7fa70005dc66300008014425..."} 
[2026-07-11 07:36:54] local.INFO: Packet analysis {"connection_id":130342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eeb"} 
[2026-07-11 07:36:54] local.INFO: Extracted packet for processing {"connection_id":130342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eeb"} 
[2026-07-11 07:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763340544,"raw_latitude":98330160,"longitude_deg":76.3340544,"latitude_deg":9.833016,"altitude":8,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d7fa700","hex_latitude":"05dc6630","is_valid_coordinates":true} 
[2026-07-11 07:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636271872001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104879712639123456,"note":"Value kept but may cause issues"} 
[2026-07-11 07:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789100048384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783735458000,"timestamp_ms":1783735458000,"timestamp_seconds":1783735458,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeb18d0"} 
[2026-07-11 07:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-11 07:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636271872001,"66":11461,"53":206,"85":15104,"24":0,"16":104879712639123456,"45":9198320789100048384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 07:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636271872001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:36:54] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 07:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104879712639123456,"km_value":104879712639123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789100048384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636271872001,"power":11461,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198320789100048384}} 
[2026-07-11 07:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":130342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:36:54] local.INFO: GPS data processed {"connection_id":130342,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:36:54] local.INFO: Acknowledgment sent {"connection_id":130342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:37:05] local.INFO: TCP Data received {"connection_id":128194,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:37:05] local.INFO: Processing buffer {"connection_id":128194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:37:05] local.INFO: IMEI packet received {"connection_id":128194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":128194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:37:06] local.INFO: TCP Data received {"connection_id":128383,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:37:06] local.INFO: Processing buffer {"connection_id":128383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:37:06] local.INFO: IMEI packet received {"connection_id":128383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":128383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:37:10] local.INFO: TCP Data received {"connection_id":128194,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:37:10] local.INFO: Processing buffer {"connection_id":128194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:37:10] local.INFO: IMEI packet received {"connection_id":128194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":128194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:37:11] local.INFO: TCP Data received {"connection_id":128194,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:37:11] local.INFO: Processing buffer {"connection_id":128194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:37:11] local.INFO: Packet analysis {"connection_id":128194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:37:11] local.INFO: Extracted packet for processing {"connection_id":128194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636196096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783735442000,"timestamp_ms":1783735442000,"timestamp_seconds":1783735442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeada50"} 
[2026-07-11 07:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636196096001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636196096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:37:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636196096001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":128194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:37:11] local.INFO: GPS data processed {"connection_id":128194,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:37:11] local.INFO: Acknowledgment sent {"connection_id":128194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:37:15] local.INFO: TCP Data received {"connection_id":130344,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:15] local.INFO: Processing buffer {"connection_id":130344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:15] local.INFO: IMEI packet received {"connection_id":130344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":130344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:37:16] local.INFO: TCP Data received {"connection_id":130344,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:16] local.INFO: Processing buffer {"connection_id":130344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:16] local.INFO: IMEI packet received {"connection_id":130344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":130344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:37:17] local.INFO: TCP Data received {"connection_id":130344,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:17] local.INFO: Processing buffer {"connection_id":130344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:17] local.INFO: IMEI packet received {"connection_id":130344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":130344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:37:17] local.INFO: TCP Data received {"connection_id":130344,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:17] local.INFO: Processing buffer {"connection_id":130344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:37:17] local.INFO: IMEI packet received {"connection_id":130344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":130344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:37:42] local.INFO: TCP Data received {"connection_id":128194,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:37:42] local.INFO: Processing buffer {"connection_id":128194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:37:42] local.INFO: Packet analysis {"connection_id":128194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:37:42] local.INFO: Extracted packet for processing {"connection_id":128194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636196096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783735442000,"timestamp_ms":1783735442000,"timestamp_seconds":1783735442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeada50"} 
[2026-07-11 07:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636196096001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636196096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636196096001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":128194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:37:42] local.INFO: GPS data processed {"connection_id":128194,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:37:42] local.INFO: Acknowledgment sent {"connection_id":128194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:37:46] local.INFO: TCP Data received {"connection_id":128195,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:37:46] local.INFO: Processing buffer {"connection_id":128195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:37:46] local.INFO: IMEI packet received {"connection_id":128195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":128195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:38:05] local.INFO: TCP Data received {"connection_id":128384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:38:05] local.INFO: Processing buffer {"connection_id":128384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:38:05] local.INFO: IMEI packet received {"connection_id":128384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:38:10] local.INFO: TCP Data received {"connection_id":128384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:38:10] local.INFO: Processing buffer {"connection_id":128384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:38:10] local.INFO: IMEI packet received {"connection_id":128384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":128384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:38:10] local.INFO: TCP Data received {"connection_id":128384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:38:10] local.INFO: Processing buffer {"connection_id":128384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:38:10] local.INFO: Packet analysis {"connection_id":128384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:38:10] local.INFO: Extracted packet for processing {"connection_id":128384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636196096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783735442000,"timestamp_ms":1783735442000,"timestamp_seconds":1783735442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeada50"} 
[2026-07-11 07:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636196096001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636196096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:38:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636196096001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":128384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:38:10] local.INFO: GPS data processed {"connection_id":128384,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:38:10] local.INFO: Acknowledgment sent {"connection_id":128384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:38:41] local.INFO: TCP Data received {"connection_id":128384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:38:41] local.INFO: Processing buffer {"connection_id":128384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:38:41] local.INFO: Packet analysis {"connection_id":128384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:38:41] local.INFO: Extracted packet for processing {"connection_id":128384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636196096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783735442000,"timestamp_ms":1783735442000,"timestamp_seconds":1783735442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeada50"} 
[2026-07-11 07:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:38: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-07-11 07:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636196096001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636196096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:38:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636196096001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":128384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:38:41] local.INFO: GPS data processed {"connection_id":128384,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:38:41] local.INFO: Acknowledgment sent {"connection_id":128384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:39:05] local.INFO: TCP Data received {"connection_id":128196,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:39:05] local.INFO: Processing buffer {"connection_id":128196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:39:05] local.INFO: IMEI packet received {"connection_id":128196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":128196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:39:10] local.INFO: TCP Data received {"connection_id":128196,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:39:10] local.INFO: Processing buffer {"connection_id":128196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:39:10] local.INFO: IMEI packet received {"connection_id":128196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":128196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:39:11] local.INFO: TCP Data received {"connection_id":128196,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:39:11] local.INFO: Processing buffer {"connection_id":128196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eeada50012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:39:11] local.INFO: Packet analysis {"connection_id":128196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:39:11] local.INFO: Extracted packet for processing {"connection_id":128196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eea"} 
[2026-07-11 07:39:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636196096001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783735442000,"timestamp_ms":1783735442000,"timestamp_seconds":1783735442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eeada50"} 
[2026-07-11 07:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636196096001,"66":25343,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636196096001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:39:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636196096001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":128196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:39:11] local.INFO: GPS data processed {"connection_id":128196,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:39:11] local.INFO: Acknowledgment sent {"connection_id":128196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:39:42] local.INFO: TCP Data received {"connection_id":128196,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:39:42] local.INFO: Processing buffer {"connection_id":128196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:39:42] local.INFO: Packet analysis {"connection_id":128196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:39:42] local.INFO: Extracted packet for processing {"connection_id":128196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:39:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:39:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":128196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:39:42] local.INFO: GPS data processed {"connection_id":128196,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:39:42] local.INFO: Acknowledgment sent {"connection_id":128196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:40:10] local.INFO: TCP Data received {"connection_id":129095,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:40:10] local.INFO: Processing buffer {"connection_id":129095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:40:10] local.INFO: IMEI packet received {"connection_id":129095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":129095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:40:15] local.INFO: TCP Data received {"connection_id":129095,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:40:15] local.INFO: Processing buffer {"connection_id":129095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:40:15] local.INFO: IMEI packet received {"connection_id":129095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":129095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:40:16] local.INFO: TCP Data received {"connection_id":129095,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:40:16] local.INFO: Processing buffer {"connection_id":129095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:40:16] local.INFO: Packet analysis {"connection_id":129095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:40:16] local.INFO: Extracted packet for processing {"connection_id":129095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:40:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:40:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":129095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:40:16] local.INFO: GPS data processed {"connection_id":129095,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:40:16] local.INFO: Acknowledgment sent {"connection_id":129095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:40:47] local.INFO: TCP Data received {"connection_id":129095,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:40:47] local.INFO: Processing buffer {"connection_id":129095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:40:47] local.INFO: Packet analysis {"connection_id":129095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:40:47] local.INFO: Extracted packet for processing {"connection_id":129095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:40:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:40:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:40:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":129095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:40:47] local.INFO: GPS data processed {"connection_id":129095,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:40:47] local.INFO: Acknowledgment sent {"connection_id":129095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:41:05] local.INFO: TCP Data received {"connection_id":128198,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:41:05] local.INFO: Processing buffer {"connection_id":128198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:41:05] local.INFO: IMEI packet received {"connection_id":128198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":128198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:41:10] local.INFO: TCP Data received {"connection_id":128198,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:41:10] local.INFO: Processing buffer {"connection_id":128198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:41:10] local.INFO: IMEI packet received {"connection_id":128198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":128198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:41:11] local.INFO: TCP Data received {"connection_id":128198,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:41:11] local.INFO: Processing buffer {"connection_id":128198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:41:11] local.INFO: Packet analysis {"connection_id":128198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:41:11] local.INFO: Extracted packet for processing {"connection_id":128198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":128198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:41:11] local.INFO: GPS data processed {"connection_id":128198,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:41:11] local.INFO: Acknowledgment sent {"connection_id":128198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:41:42] local.INFO: TCP Data received {"connection_id":128198,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:41:42] local.INFO: Processing buffer {"connection_id":128198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:41:42] local.INFO: Packet analysis {"connection_id":128198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:41:42] local.INFO: Extracted packet for processing {"connection_id":128198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:41:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":128198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:41:42] local.INFO: GPS data processed {"connection_id":128198,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:41:42] local.INFO: Acknowledgment sent {"connection_id":128198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:42:05] local.INFO: TCP Data received {"connection_id":128199,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:42:05] local.INFO: Processing buffer {"connection_id":128199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:42:05] local.INFO: IMEI packet received {"connection_id":128199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":128199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:42:10] local.INFO: TCP Data received {"connection_id":128199,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:42:10] local.INFO: Processing buffer {"connection_id":128199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:42:10] local.INFO: IMEI packet received {"connection_id":128199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":128199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:42:11] local.INFO: TCP Data received {"connection_id":128199,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:42:11] local.INFO: Processing buffer {"connection_id":128199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:42:11] local.INFO: Packet analysis {"connection_id":128199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:42:11] local.INFO: Extracted packet for processing {"connection_id":128199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":128199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:42:11] local.INFO: GPS data processed {"connection_id":128199,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:42:11] local.INFO: Acknowledgment sent {"connection_id":128199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:42:22] local.INFO: TCP Data received {"connection_id":128388,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:42:22] local.INFO: Processing buffer {"connection_id":128388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:42:22] local.INFO: IMEI packet received {"connection_id":128388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":128388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:42:27] local.INFO: TCP Data received {"connection_id":128388,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:42:27] local.INFO: Processing buffer {"connection_id":128388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:42:27] local.INFO: IMEI packet received {"connection_id":128388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":128388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:42:28] local.INFO: TCP Data received {"connection_id":128388,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef1bff0012d80a34005dcb1e0000900db26..."} 
[2026-07-11 07:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef1bff0012d80a34005dcb1e0000900db26..."} 
[2026-07-11 07:42:28] local.INFO: Processing buffer {"connection_id":128388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef1bff0012d80a34005dcb1e0000900db26..."} 
[2026-07-11 07:42:28] local.INFO: Packet analysis {"connection_id":128388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:42:28] local.INFO: Extracted packet for processing {"connection_id":128388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763405120,"raw_latitude":98349536,"longitude_deg":76.340512,"latitude_deg":9.8349536,"altitude":9,"angle":219,"satellites":38,"speed":2,"hex_longitude":"2d80a340","hex_latitude":"05dcb1e0","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636386048001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883487915376640,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176999009264119808,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783735894000,"timestamp_ms":1783735894000,"timestamp_seconds":1783735894,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef1bff0"} 
[2026-07-11 07:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 07:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":128388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":128388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":128388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636386048001,"66":13091,"250":206,"85":15104,"24":2,"16":104883487915376640,"45":-9176999009264119808},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636386048001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883487915376640,"km_value":104883487915376.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176999009264119808,"description":"Unknown IO ID 45"} 
[2026-07-11 07:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636386048001,"power":13091,"unknown_250":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9176999009264119808}} 
[2026-07-11 07:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":128388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:42:28] local.INFO: GPS data processed {"connection_id":128388,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:42:28] local.INFO: Acknowledgment sent {"connection_id":128388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:42:32] local.INFO: TCP Data received {"connection_id":128388,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef1c7c0012d80a30005dcb168000900cc26..."} 
[2026-07-11 07:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef1c7c0012d80a30005dcb168000900cc26..."} 
[2026-07-11 07:42:32] local.INFO: Processing buffer {"connection_id":128388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef1c7c0012d80a30005dcb168000900cc26..."} 
[2026-07-11 07:42:32] local.INFO: Packet analysis {"connection_id":128388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:42:32] local.INFO: Extracted packet for processing {"connection_id":128388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763405056,"raw_latitude":98349416,"longitude_deg":76.3405056,"latitude_deg":9.8349416,"altitude":9,"angle":204,"satellites":38,"speed":2,"hex_longitude":"2d80a300","hex_latitude":"05dcb168","is_valid_coordinates":true} 
[2026-07-11 07:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636388864001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883496505311232,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177421221729280000,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783735896000,"timestamp_ms":1783735896000,"timestamp_seconds":1783735896,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef1c7c0"} 
[2026-07-11 07:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 07:42:32] 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-07-11 07:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636388864001,"66":13091,"250":206,"85":15104,"24":2,"16":104883496505311232,"45":-9177421221729280000},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636388864001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:42:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883496505311232,"km_value":104883496505311.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177421221729280000,"description":"Unknown IO ID 45"} 
[2026-07-11 07:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636388864001,"power":13091,"unknown_250":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9177421221729280000}} 
[2026-07-11 07:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":128388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:42:32] local.INFO: GPS data processed {"connection_id":128388,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:42:32] local.INFO: Acknowledgment sent {"connection_id":128388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:42:42] local.INFO: TCP Data received {"connection_id":128199,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:42:42] local.INFO: Processing buffer {"connection_id":128199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:42:42] local.INFO: Packet analysis {"connection_id":128199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:42:42] local.INFO: Extracted packet for processing {"connection_id":128199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":128199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:42:42] local.INFO: GPS data processed {"connection_id":128199,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:42:42] local.INFO: Acknowledgment sent {"connection_id":128199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:43:05] local.INFO: TCP Data received {"connection_id":128200,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:43:05] local.INFO: Processing buffer {"connection_id":128200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:43:05] local.INFO: IMEI packet received {"connection_id":128200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":128200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:43:10] local.INFO: TCP Data received {"connection_id":128200,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:43:10] local.INFO: Processing buffer {"connection_id":128200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:43:10] local.INFO: IMEI packet received {"connection_id":128200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":128200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:43:11] local.INFO: TCP Data received {"connection_id":128200,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:43:11] local.INFO: Processing buffer {"connection_id":128200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:43:11] local.INFO: Packet analysis {"connection_id":128200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:43:11] local.INFO: Extracted packet for processing {"connection_id":128200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":128200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:43:11] local.INFO: GPS data processed {"connection_id":128200,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:43:11] local.INFO: Acknowledgment sent {"connection_id":128200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:43:17] local.INFO: TCP Data received {"connection_id":129097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:43:17] local.INFO: Processing buffer {"connection_id":129097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:43:17] local.INFO: IMEI packet received {"connection_id":129097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":129097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:43:17] local.INFO: TCP Data received {"connection_id":128389,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:43:17] local.INFO: Processing buffer {"connection_id":128389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:43:17] local.INFO: IMEI packet received {"connection_id":128389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":128389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:43:22] local.INFO: TCP Data received {"connection_id":129097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:43:22] local.INFO: Processing buffer {"connection_id":129097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:43:22] local.INFO: IMEI packet received {"connection_id":129097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":129097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:43:22] local.INFO: TCP Data received {"connection_id":129097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef1cf90012d80a2c005dcb118000900d926..."} 
[2026-07-11 07:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef1cf90012d80a2c005dcb118000900d926..."} 
[2026-07-11 07:43:22] local.INFO: Processing buffer {"connection_id":129097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef1cf90012d80a2c005dcb118000900d926..."} 
[2026-07-11 07:43:22] local.INFO: Packet analysis {"connection_id":129097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:43:22] local.INFO: Extracted packet for processing {"connection_id":129097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763404992,"raw_latitude":98349336,"longitude_deg":76.3404992,"latitude_deg":9.8349336,"altitude":9,"angle":217,"satellites":38,"speed":2,"hex_longitude":"2d80a2c0","hex_latitude":"05dcb118","is_valid_coordinates":true} 
[2026-07-11 07:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636389376001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883500800278528,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177491590473488384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783735898000,"timestamp_ms":1783735898000,"timestamp_seconds":1783735898,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef1cf90"} 
[2026-07-11 07:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 07:43:22] 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-07-11 07:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":129097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":129097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":129097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636389376001,"66":13341,"250":206,"85":15104,"24":2,"16":104883500800278528,"45":-9177491590473488384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636389376001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:43:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883500800278528,"km_value":104883500800278.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177491590473488384,"description":"Unknown IO ID 45"} 
[2026-07-11 07:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636389376001,"power":13341,"unknown_250":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9177491590473488384}} 
[2026-07-11 07:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":129097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:43:23] local.INFO: GPS data processed {"connection_id":129097,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:43:23] local.INFO: Acknowledgment sent {"connection_id":129097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:43:42] local.INFO: TCP Data received {"connection_id":128200,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:43:42] local.INFO: Processing buffer {"connection_id":128200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:43:42] local.INFO: Packet analysis {"connection_id":128200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:43:42] local.INFO: Extracted packet for processing {"connection_id":128200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:43:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":128200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:43:42] local.INFO: GPS data processed {"connection_id":128200,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:43:42] local.INFO: Acknowledgment sent {"connection_id":128200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:43:46] local.INFO: TCP Data received {"connection_id":128201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:43:46] local.INFO: Processing buffer {"connection_id":128201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:43:46] local.INFO: IMEI packet received {"connection_id":128201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":128201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:43:54] local.INFO: TCP Data received {"connection_id":129097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef1d760012d80a28005dcb0d8000900e526..."} 
[2026-07-11 07:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef1d760012d80a28005dcb0d8000900e526..."} 
[2026-07-11 07:43:54] local.INFO: Processing buffer {"connection_id":129097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef1d760012d80a28005dcb0d8000900e526..."} 
[2026-07-11 07:43:54] local.INFO: Packet analysis {"connection_id":129097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:43:54] local.INFO: Extracted packet for processing {"connection_id":129097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763404928,"raw_latitude":98349272,"longitude_deg":76.3404928,"latitude_deg":9.8349272,"altitude":9,"angle":229,"satellites":38,"speed":2,"hex_longitude":"2d80a280","hex_latitude":"05dcb0d8","is_valid_coordinates":true} 
[2026-07-11 07:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636389888001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883505095245824,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177561959217686528,"note":"Value kept but may cause issues"} 
[2026-07-11 07:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783735900000,"timestamp_ms":1783735900000,"timestamp_seconds":1783735900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef1d760"} 
[2026-07-11 07:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 07:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636389888001,"66":13341,"250":206,"85":15104,"24":2,"16":104883505095245824,"45":-9177561959217686528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636389888001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:43:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883505095245824,"km_value":104883505095245.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177561959217686528,"description":"Unknown IO ID 45"} 
[2026-07-11 07:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636389888001,"power":13341,"unknown_250":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9177561959217686528}} 
[2026-07-11 07:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":129097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:43:54] local.INFO: GPS data processed {"connection_id":129097,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:43:54] local.INFO: Acknowledgment sent {"connection_id":129097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:44:05] local.INFO: TCP Data received {"connection_id":129098,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:44:05] local.INFO: Processing buffer {"connection_id":129098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:44:05] local.INFO: IMEI packet received {"connection_id":129098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":129098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:44:10] local.INFO: TCP Data received {"connection_id":129098,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:44:10] local.INFO: Processing buffer {"connection_id":129098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:44:10] local.INFO: IMEI packet received {"connection_id":129098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":129098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:44:10] local.INFO: TCP Data received {"connection_id":129098,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:44:10] local.INFO: Processing buffer {"connection_id":129098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:44:10] local.INFO: Packet analysis {"connection_id":129098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:44:10] local.INFO: Extracted packet for processing {"connection_id":129098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07: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-07-11 07:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:44:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":129098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:44:10] local.INFO: GPS data processed {"connection_id":129098,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:44:10] local.INFO: Acknowledgment sent {"connection_id":129098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:44:16] local.INFO: TCP Data received {"connection_id":128202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:44:16] local.INFO: Processing buffer {"connection_id":128202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:44:16] local.INFO: IMEI packet received {"connection_id":128202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":128202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:44:22] local.INFO: TCP Data received {"connection_id":128202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:44:22] local.INFO: Processing buffer {"connection_id":128202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:44:22] local.INFO: IMEI packet received {"connection_id":128202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":128202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:44:22] local.INFO: TCP Data received {"connection_id":128202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef1db48012d80a24005dcb0c8000800f526..."} 
[2026-07-11 07:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef1db48012d80a24005dcb0c8000800f526..."} 
[2026-07-11 07:44:22] local.INFO: Processing buffer {"connection_id":128202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef1db48012d80a24005dcb0c8000800f526..."} 
[2026-07-11 07:44:22] local.INFO: Packet analysis {"connection_id":128202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:44:22] local.INFO: Extracted packet for processing {"connection_id":128202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:44:22] local.INFO: GPS Element Parsed {"raw_longitude":763404864,"raw_latitude":98349256,"longitude_deg":76.3404864,"latitude_deg":9.8349256,"altitude":8,"angle":245,"satellites":38,"speed":2,"hex_longitude":"2d80a240","hex_latitude":"05dcb0c8","is_valid_coordinates":true} 
[2026-07-11 07:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636390400001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883509390213120,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177632327961880576,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783735901000,"timestamp_ms":1783735901000,"timestamp_seconds":1783735901,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef1db48"} 
[2026-07-11 07:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 07:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636390400001,"66":13243,"250":206,"85":15104,"24":2,"16":104883509390213120,"45":-9177632327961880576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636390400001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:44:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:44:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883509390213120,"km_value":104883509390213.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177632327961880576,"description":"Unknown IO ID 45"} 
[2026-07-11 07:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636390400001,"power":13243,"unknown_250":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9177632327961880576}} 
[2026-07-11 07:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":128202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:44:23] local.INFO: GPS data processed {"connection_id":128202,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:44:23] local.INFO: Acknowledgment sent {"connection_id":128202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:44:41] local.INFO: TCP Data received {"connection_id":129098,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:44:41] local.INFO: Processing buffer {"connection_id":129098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eef7218012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:44:41] local.INFO: Packet analysis {"connection_id":129098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:44:41] local.INFO: Extracted packet for processing {"connection_id":129098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eef"} 
[2026-07-11 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636273152001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783735743000,"timestamp_ms":1783735743000,"timestamp_seconds":1783735743,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eef7218"} 
[2026-07-11 07:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 07:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636273152001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636273152001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:44:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636273152001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":129098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:44:41] local.INFO: GPS data processed {"connection_id":129098,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:44:41] local.INFO: Acknowledgment sent {"connection_id":129098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:44:54] local.INFO: TCP Data received {"connection_id":128202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef1e700012d80a18005dcb090000800fa26..."} 
[2026-07-11 07:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef1e700012d80a18005dcb090000800fa26..."} 
[2026-07-11 07:44:54] local.INFO: Processing buffer {"connection_id":128202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef1e700012d80a18005dcb090000800fa26..."} 
[2026-07-11 07:44:54] local.INFO: Packet analysis {"connection_id":128202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:44:54] local.INFO: Extracted packet for processing {"connection_id":128202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763404672,"raw_latitude":98349200,"longitude_deg":76.3404672,"latitude_deg":9.83492,"altitude":8,"angle":250,"satellites":38,"speed":1,"hex_longitude":"2d80a180","hex_latitude":"05dcb090","is_valid_coordinates":true} 
[2026-07-11 07:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636390656001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883517980147712,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177702696706062336,"note":"Value kept but may cause issues"} 
[2026-07-11 07:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783735904000,"timestamp_ms":1783735904000,"timestamp_seconds":1783735904,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef1e700"} 
[2026-07-11 07:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 07:44:54] 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-07-11 07:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636390656001,"66":13374,"250":206,"85":15104,"24":1,"16":104883517980147712,"45":-9177702696706062336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636390656001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:44:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883517980147712,"km_value":104883517980147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177702696706062336,"description":"Unknown IO ID 45"} 
[2026-07-11 07:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636390656001,"power":13374,"unknown_250":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-9177702696706062336}} 
[2026-07-11 07:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":128202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:44:54] local.INFO: GPS data processed {"connection_id":128202,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:44:54] local.INFO: Acknowledgment sent {"connection_id":128202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:45:10] local.INFO: TCP Data received {"connection_id":129099,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:45:10] local.INFO: Processing buffer {"connection_id":129099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:45:10] local.INFO: IMEI packet received {"connection_id":129099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":129099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:45:15] local.INFO: TCP Data received {"connection_id":129099,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:45:15] local.INFO: Processing buffer {"connection_id":129099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:45:15] local.INFO: IMEI packet received {"connection_id":129099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":129099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:45:16] local.INFO: TCP Data received {"connection_id":129099,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:45:16] local.INFO: Processing buffer {"connection_id":129099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:45:16] local.INFO: Packet analysis {"connection_id":129099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:45:16] local.INFO: Extracted packet for processing {"connection_id":129099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:45:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:45:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:45:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":129099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:45:16] local.INFO: GPS data processed {"connection_id":129099,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:45:16] local.INFO: Acknowledgment sent {"connection_id":129099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:45:16] local.INFO: TCP Data received {"connection_id":130346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:45:16] local.INFO: Processing buffer {"connection_id":130346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:45:16] local.INFO: IMEI packet received {"connection_id":130346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":130346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:45:22] local.INFO: TCP Data received {"connection_id":130346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:45:22] local.INFO: Processing buffer {"connection_id":130346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:45:22] local.INFO: IMEI packet received {"connection_id":130346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":130346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:45:23] local.INFO: TCP Data received {"connection_id":130346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef1e700012d80a18005dcb090000800fa26..."} 
[2026-07-11 07:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef1e700012d80a18005dcb090000800fa26..."} 
[2026-07-11 07:45:23] local.INFO: Processing buffer {"connection_id":130346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef1e700012d80a18005dcb090000800fa26..."} 
[2026-07-11 07:45:23] local.INFO: Packet analysis {"connection_id":130346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:45:23] local.INFO: Extracted packet for processing {"connection_id":130346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef1"} 
[2026-07-11 07:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763404672,"raw_latitude":98349200,"longitude_deg":76.3404672,"latitude_deg":9.83492,"altitude":8,"angle":250,"satellites":38,"speed":1,"hex_longitude":"2d80a180","hex_latitude":"05dcb090","is_valid_coordinates":true} 
[2026-07-11 07:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636391424001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883517980147712,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177913802938609664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783735904000,"timestamp_ms":1783735904000,"timestamp_seconds":1783735904,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef1e700"} 
[2026-07-11 07:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 07:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636391424001,"66":13374,"250":206,"85":15104,"24":1,"16":104883517980147712,"45":-9177913802938609664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636391424001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:45:23] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:45:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883517980147712,"km_value":104883517980147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177913802938609664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636391424001,"power":13374,"unknown_250":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-9177913802938609664}} 
[2026-07-11 07:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":130346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:45:23] local.INFO: GPS data processed {"connection_id":130346,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:45:23] local.INFO: Acknowledgment sent {"connection_id":130346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:45:47] local.INFO: TCP Data received {"connection_id":129099,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:45:47] local.INFO: Processing buffer {"connection_id":129099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:45:47] local.INFO: Packet analysis {"connection_id":129099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:45:47] local.INFO: Extracted packet for processing {"connection_id":129099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:45:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:45:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:45:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":129099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:45:47] local.INFO: GPS data processed {"connection_id":129099,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:45:47] local.INFO: Acknowledgment sent {"connection_id":129099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:45:54] local.INFO: TCP Data received {"connection_id":130346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef32750012d80a28005dcb0c0000800fd24..."} 
[2026-07-11 07:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef32750012d80a28005dcb0c0000800fd24..."} 
[2026-07-11 07:45:54] local.INFO: Processing buffer {"connection_id":130346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef32750012d80a28005dcb0c0000800fd24..."} 
[2026-07-11 07:45:54] local.INFO: Packet analysis {"connection_id":130346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef3"} 
[2026-07-11 07:45:54] local.INFO: Extracted packet for processing {"connection_id":130346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef3"} 
[2026-07-11 07:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763404928,"raw_latitude":98349248,"longitude_deg":76.3404928,"latitude_deg":9.8349248,"altitude":8,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d80a280","hex_latitude":"05dcb0c0","is_valid_coordinates":true} 
[2026-07-11 07:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636391424001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883517980147712,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177913802938609664,"note":"Value kept but may cause issues"} 
[2026-07-11 07:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783735986000,"timestamp_ms":1783735986000,"timestamp_seconds":1783735986,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef32750"} 
[2026-07-11 07:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 07:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636391424001,"66":13037,"250":206,"85":15104,"24":0,"16":104883517980147712,"45":-9177913802938609664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636391424001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:45:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:45:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883517980147712,"km_value":104883517980147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177913802938609664,"description":"Unknown IO ID 45"} 
[2026-07-11 07:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636391424001,"power":13037,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177913802938609664}} 
[2026-07-11 07:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":130346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:45:54] local.INFO: GPS data processed {"connection_id":130346,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:45:54] local.INFO: Acknowledgment sent {"connection_id":130346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:46:05] local.INFO: TCP Data received {"connection_id":128392,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:46:05] local.INFO: Processing buffer {"connection_id":128392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:46:05] local.INFO: IMEI packet received {"connection_id":128392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":128392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:46:10] local.INFO: TCP Data received {"connection_id":128392,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:46:10] local.INFO: Processing buffer {"connection_id":128392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:46:10] local.INFO: IMEI packet received {"connection_id":128392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":128392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:46:10] local.INFO: TCP Data received {"connection_id":128392,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:46:10] local.INFO: Processing buffer {"connection_id":128392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:46:10] local.INFO: Packet analysis {"connection_id":128392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:46:10] local.INFO: Extracted packet for processing {"connection_id":128392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:46:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":128392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:46:10] local.INFO: GPS data processed {"connection_id":128392,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:46:10] local.INFO: Acknowledgment sent {"connection_id":128392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:46:16] local.INFO: TCP Data received {"connection_id":129100,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:46:16] local.INFO: Processing buffer {"connection_id":129100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:46:16] local.INFO: IMEI packet received {"connection_id":129100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":129100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:46:22] local.INFO: TCP Data received {"connection_id":129100,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:46:22] local.INFO: Processing buffer {"connection_id":129100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:46:22] local.INFO: IMEI packet received {"connection_id":129100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":129100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:46:22] local.INFO: TCP Data received {"connection_id":129100,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef32750012d80a28005dcb0c0000800fd24..."} 
[2026-07-11 07:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef32750012d80a28005dcb0c0000800fd24..."} 
[2026-07-11 07:46:22] local.INFO: Processing buffer {"connection_id":129100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef32750012d80a28005dcb0c0000800fd24..."} 
[2026-07-11 07:46:22] local.INFO: Packet analysis {"connection_id":129100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef3"} 
[2026-07-11 07:46:22] local.INFO: Extracted packet for processing {"connection_id":129100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef3"} 
[2026-07-11 07:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763404928,"raw_latitude":98349248,"longitude_deg":76.3404928,"latitude_deg":9.8349248,"altitude":8,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d80a280","hex_latitude":"05dcb0c0","is_valid_coordinates":true} 
[2026-07-11 07:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636412416001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883517980147712,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177632327961886720,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783735986000,"timestamp_ms":1783735986000,"timestamp_seconds":1783735986,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef32750"} 
[2026-07-11 07:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-11 07:46:22] 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-07-11 07:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":129100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":129100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":129100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636412416001,"66":13037,"250":206,"85":15104,"24":0,"16":104883517980147712,"45":-9177632327961886720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636412416001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:46:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:46:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883517980147712,"km_value":104883517980147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177632327961886720,"description":"Unknown IO ID 45"} 
[2026-07-11 07:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636412416001,"power":13037,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177632327961886720}} 
[2026-07-11 07:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":129100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:46:22] local.INFO: GPS data processed {"connection_id":129100,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:46:22] local.INFO: Acknowledgment sent {"connection_id":129100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:46:41] local.INFO: TCP Data received {"connection_id":128392,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:46:41] local.INFO: Processing buffer {"connection_id":128392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:46:41] local.INFO: Packet analysis {"connection_id":128392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:46:41] local.INFO: Extracted packet for processing {"connection_id":128392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:46:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":128392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:46:41] local.INFO: GPS data processed {"connection_id":128392,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:46:41] local.INFO: Acknowledgment sent {"connection_id":128392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:46:53] local.INFO: TCP Data received {"connection_id":129100,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef33ad8012d80a18005dcb0b8000800fd24..."} 
[2026-07-11 07:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef33ad8012d80a18005dcb0b8000800fd24..."} 
[2026-07-11 07:46:53] local.INFO: Processing buffer {"connection_id":129100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef33ad8012d80a18005dcb0b8000800fd24..."} 
[2026-07-11 07:46:53] local.INFO: Packet analysis {"connection_id":129100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef3"} 
[2026-07-11 07:46:53] local.INFO: Extracted packet for processing {"connection_id":129100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef3"} 
[2026-07-11 07:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763404672,"raw_latitude":98349240,"longitude_deg":76.3404672,"latitude_deg":9.834924,"altitude":8,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d80a180","hex_latitude":"05dcb0b8","is_valid_coordinates":true} 
[2026-07-11 07:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636412416001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883517980147712,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177632327961886720,"note":"Value kept but may cause issues"} 
[2026-07-11 07:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783735991000,"timestamp_ms":1783735991000,"timestamp_seconds":1783735991,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef33ad8"} 
[2026-07-11 07:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-11 07:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":129100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":129100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":129100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636412416001,"66":12363,"250":206,"85":15104,"24":0,"16":104883517980147712,"45":-9177632327961886720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636412416001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:46:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:46:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883517980147712,"km_value":104883517980147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177632327961886720,"description":"Unknown IO ID 45"} 
[2026-07-11 07:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636412416001,"power":12363,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177632327961886720}} 
[2026-07-11 07:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":129100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:46:53] local.INFO: GPS data processed {"connection_id":129100,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:46:53] local.INFO: Acknowledgment sent {"connection_id":129100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:47:05] local.INFO: TCP Data received {"connection_id":130348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:47:05] local.INFO: Processing buffer {"connection_id":130348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:47:05] local.INFO: IMEI packet received {"connection_id":130348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":130348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:47:10] local.INFO: TCP Data received {"connection_id":130348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:47:10] local.INFO: Processing buffer {"connection_id":130348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:47:10] local.INFO: IMEI packet received {"connection_id":130348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":130348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:47:11] local.INFO: TCP Data received {"connection_id":130348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:47:11] local.INFO: Processing buffer {"connection_id":130348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:47:11] local.INFO: Packet analysis {"connection_id":130348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:47:11] local.INFO: Extracted packet for processing {"connection_id":130348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":130348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:47:11] local.INFO: GPS data processed {"connection_id":130348,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:47:11] local.INFO: Acknowledgment sent {"connection_id":130348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:47:17] local.INFO: TCP Data received {"connection_id":128393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:47:17] local.INFO: Processing buffer {"connection_id":128393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:47:17] local.INFO: IMEI packet received {"connection_id":128393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":128393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:47:21] local.INFO: TCP Data received {"connection_id":128393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:47:21] local.INFO: Processing buffer {"connection_id":128393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:47:21] local.INFO: IMEI packet received {"connection_id":128393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":128393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:47:22] local.INFO: TCP Data received {"connection_id":128393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef33ad8012d80a18005dcb0b8000800fd24..."} 
[2026-07-11 07:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef33ad8012d80a18005dcb0b8000800fd24..."} 
[2026-07-11 07:47:22] local.INFO: Processing buffer {"connection_id":128393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef33ad8012d80a18005dcb0b8000800fd24..."} 
[2026-07-11 07:47:22] local.INFO: Packet analysis {"connection_id":128393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef3"} 
[2026-07-11 07:47:22] local.INFO: Extracted packet for processing {"connection_id":128393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef3"} 
[2026-07-11 07:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763404672,"raw_latitude":98349240,"longitude_deg":76.3404672,"latitude_deg":9.834924,"altitude":8,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d80a180","hex_latitude":"05dcb0b8","is_valid_coordinates":true} 
[2026-07-11 07:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636413696001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883517980147712,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177913802938599424,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783735991000,"timestamp_ms":1783735991000,"timestamp_seconds":1783735991,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef33ad8"} 
[2026-07-11 07:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 07:47:22] 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-07-11 07:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636413696001,"66":12363,"250":206,"85":15104,"24":0,"16":104883517980147712,"45":-9177913802938599424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-11 07:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636413696001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:47:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-11 07:47:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883517980147712,"km_value":104883517980147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177913802938599424,"description":"Unknown IO ID 45"} 
[2026-07-11 07:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636413696001,"power":12363,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177913802938599424}} 
[2026-07-11 07:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":128393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:47:22] local.INFO: GPS data processed {"connection_id":128393,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:47:22] local.INFO: Acknowledgment sent {"connection_id":128393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:47:42] local.INFO: TCP Data received {"connection_id":130348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:47:42] local.INFO: Processing buffer {"connection_id":130348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:47:42] local.INFO: Packet analysis {"connection_id":130348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:47:42] local.INFO: Extracted packet for processing {"connection_id":130348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":130348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:47:42] local.INFO: GPS data processed {"connection_id":130348,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:47:42] local.INFO: Acknowledgment sent {"connection_id":130348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:47:53] local.INFO: TCP Data received {"connection_id":128393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef63878012d80a28005dcb0c8000800fd26..."} 
[2026-07-11 07:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef63878012d80a28005dcb0c8000800fd26..."} 
[2026-07-11 07:47:53] local.INFO: Processing buffer {"connection_id":128393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef63878012d80a28005dcb0c8000800fd26..."} 
[2026-07-11 07:47:53] local.INFO: Packet analysis {"connection_id":128393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef6"} 
[2026-07-11 07:47:53] local.INFO: Extracted packet for processing {"connection_id":128393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef6"} 
[2026-07-11 07:47:53] local.INFO: GPS Element Parsed {"raw_longitude":763404928,"raw_latitude":98349256,"longitude_deg":76.3404928,"latitude_deg":9.8349256,"altitude":8,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d80a280","hex_latitude":"05dcb0c8","is_valid_coordinates":true} 
[2026-07-11 07:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636413696001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104883517980147712,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177913802938599424,"note":"Value kept but may cause issues"} 
[2026-07-11 07:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783736187000,"timestamp_ms":1783736187000,"timestamp_seconds":1783736187,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef63878"} 
[2026-07-11 07:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 07:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636413696001,"66":12504,"251":206,"85":15104,"24":0,"16":104883517980147712,"45":-9177913802938599424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-11 07:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636413696001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:47:53] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-11 07:47:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104883517980147712,"km_value":104883517980147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177913802938599424,"description":"Unknown IO ID 45"} 
[2026-07-11 07:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636413696001,"power":12504,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177913802938599424}} 
[2026-07-11 07:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":128393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:47:53] local.INFO: GPS data processed {"connection_id":128393,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:47:53] local.INFO: Acknowledgment sent {"connection_id":128393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:48:05] local.INFO: TCP Data received {"connection_id":129102,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:48:05] local.INFO: Processing buffer {"connection_id":129102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:48:05] local.INFO: IMEI packet received {"connection_id":129102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":129102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:48:10] local.INFO: TCP Data received {"connection_id":129102,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:48:10] local.INFO: Processing buffer {"connection_id":129102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:48:10] local.INFO: IMEI packet received {"connection_id":129102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":129102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:48:10] local.INFO: TCP Data received {"connection_id":129102,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:48:10] local.INFO: Processing buffer {"connection_id":129102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:48:10] local.INFO: Packet analysis {"connection_id":129102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:48:10] local.INFO: Extracted packet for processing {"connection_id":129102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07: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-07-11 07:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:48:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":129102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:48:10] local.INFO: GPS data processed {"connection_id":129102,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:48:10] local.INFO: Acknowledgment sent {"connection_id":129102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:48:13] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:48:13] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:48:13] local.INFO: IMEI packet received {"connection_id":130349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":130349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:48:17] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:48:17] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:48:17] local.INFO: IMEI packet received {"connection_id":130349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":130349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:48:22] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:48:22] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:48:22] local.INFO: IMEI packet received {"connection_id":130349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":130349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:48:22] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef78868012d806f0005dca118000c014625..."} 
[2026-07-11 07:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef78868012d806f0005dca118000c014625..."} 
[2026-07-11 07:48:22] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef78868012d806f0005dca118000c014625..."} 
[2026-07-11 07:48:22] local.INFO: Packet analysis {"connection_id":130349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef7"} 
[2026-07-11 07:48:22] local.INFO: Extracted packet for processing {"connection_id":130349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef7"} 
[2026-07-11 07:48:22] local.INFO: GPS Element Parsed {"raw_longitude":763391744,"raw_latitude":98345240,"longitude_deg":76.3391744,"latitude_deg":9.834524,"altitude":12,"angle":326,"satellites":37,"speed":10,"hex_longitude":"2d806f00","hex_latitude":"05dca118","is_valid_coordinates":true} 
[2026-07-11 07:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636485632001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104884192290013184,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191987551775199232,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783736273000,"timestamp_ms":1783736273000,"timestamp_seconds":1783736273,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef78868"} 
[2026-07-11 07:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-11 07:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636485632001,"66":13363,"251":206,"85":15104,"24":10,"16":104884192290013184,"45":-9191987551775199232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-11 07:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636485632001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:48:22] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-11 07:48:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104884192290013184,"km_value":104884192290013.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191987551775199232,"description":"Unknown IO ID 45"} 
[2026-07-11 07:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636485632001,"power":13363,"unknown_251":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9191987551775199232}} 
[2026-07-11 07:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":130349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:48:22] local.INFO: GPS data processed {"connection_id":130349,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:48:22] local.INFO: Acknowledgment sent {"connection_id":130349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:48:41] local.INFO: TCP Data received {"connection_id":129102,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:48:41] local.INFO: Processing buffer {"connection_id":129102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:48:41] local.INFO: Packet analysis {"connection_id":129102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:48:41] local.INFO: Extracted packet for processing {"connection_id":129102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:48:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":129102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:48:41] local.INFO: GPS data processed {"connection_id":129102,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:48:41] local.INFO: Acknowledgment sent {"connection_id":129102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:48:55] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef86328012d80504005dd0c88000c000822..."} 
[2026-07-11 07:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef86328012d80504005dd0c88000c000822..."} 
[2026-07-11 07:48:55] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef86328012d80504005dd0c88000c000822..."} 
[2026-07-11 07:48:55] local.INFO: Packet analysis {"connection_id":130349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:48:55] local.INFO: Extracted packet for processing {"connection_id":130349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763383872,"raw_latitude":98372744,"longitude_deg":76.3383872,"latitude_deg":9.8372744,"altitude":12,"angle":8,"satellites":34,"speed":25,"hex_longitude":"2d805040","hex_latitude":"05dd0c88","is_valid_coordinates":true} 
[2026-07-11 07:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636499968001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104885682643664896,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200854013534654464,"note":"Value kept but may cause issues"} 
[2026-07-11 07:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783736329000,"timestamp_ms":1783736329000,"timestamp_seconds":1783736329,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef86328"} 
[2026-07-11 07:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 07:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636499968001,"66":13493,"251":206,"85":15104,"24":25,"16":104885682643664896,"45":-9200854013534654464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-11 07:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636499968001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:48:55] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-11 07:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104885682643664896,"km_value":104885682643664.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200854013534654464,"description":"Unknown IO ID 45"} 
[2026-07-11 07:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636499968001,"power":13493,"unknown_251":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9200854013534654464}} 
[2026-07-11 07:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":130349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:48:55] local.INFO: GPS data processed {"connection_id":130349,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:48:55] local.INFO: Acknowledgment sent {"connection_id":130349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:49:01] local.INFO: TCP Data received {"connection_id":130350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:49:01] local.INFO: Processing buffer {"connection_id":130350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:49:01] local.INFO: IMEI packet received {"connection_id":130350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":130350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:49:05] local.INFO: TCP Data received {"connection_id":128203,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:49:05] local.INFO: Processing buffer {"connection_id":128203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:49:05] local.INFO: IMEI packet received {"connection_id":128203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":128203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:49:10] local.INFO: TCP Data received {"connection_id":128203,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:49:10] local.INFO: Processing buffer {"connection_id":128203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:49:10] local.INFO: IMEI packet received {"connection_id":128203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":128203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:49:11] local.INFO: TCP Data received {"connection_id":128203,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:49:11] local.INFO: Processing buffer {"connection_id":128203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:49:11] local.INFO: Packet analysis {"connection_id":128203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:49:11] local.INFO: Extracted packet for processing {"connection_id":128203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:49:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":128203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:49:11] local.INFO: GPS data processed {"connection_id":128203,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:49:11] local.INFO: Acknowledgment sent {"connection_id":128203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:49:42] local.INFO: TCP Data received {"connection_id":128203,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:49:42] local.INFO: Processing buffer {"connection_id":128203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef409e0012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:49:42] local.INFO: Packet analysis {"connection_id":128203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:49:42] local.INFO: Extracted packet for processing {"connection_id":128203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef4"} 
[2026-07-11 07:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636350208001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783736044000,"timestamp_ms":1783736044000,"timestamp_seconds":1783736044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef409e0"} 
[2026-07-11 07:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636350208001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636350208001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636350208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":128203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:49:42] local.INFO: GPS data processed {"connection_id":128203,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:49:42] local.INFO: Acknowledgment sent {"connection_id":128203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:49:46] local.INFO: TCP Data received {"connection_id":129103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:49:46] local.INFO: Processing buffer {"connection_id":129103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:49:46] local.INFO: IMEI packet received {"connection_id":129103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":129103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:49:51] local.INFO: TCP Data received {"connection_id":129103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:49:51] local.INFO: Processing buffer {"connection_id":129103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:49:51] local.INFO: IMEI packet received {"connection_id":129103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 07:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":129103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:49:52] local.INFO: TCP Data received {"connection_id":129104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:49:52] local.INFO: Processing buffer {"connection_id":129104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:49:52] local.INFO: IMEI packet received {"connection_id":129104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":129104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:49:52] local.INFO: TCP Data received {"connection_id":129103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ec2a558012d0d628006ea0dd0001600b028..."} 
[2026-07-11 07:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ec2a558012d0d628006ea0dd0001600b028..."} 
[2026-07-11 07:49:52] local.INFO: Processing buffer {"connection_id":129103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ec2a558012d0d628006ea0dd0001600b028..."} 
[2026-07-11 07:49:52] local.INFO: Packet analysis {"connection_id":129103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ec2"} 
[2026-07-11 07:49:52] local.INFO: Extracted packet for processing {"connection_id":129103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ec2"} 
[2026-07-11 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":755851904,"raw_latitude":116002256,"longitude_deg":75.5851904,"latitude_deg":11.6002256,"altitude":22,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d0d6280","hex_latitude":"06ea0dd0","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456635521536001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134979350255632384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395640320,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783732807000,"timestamp_ms":1783732807000,"timestamp_seconds":1783732807,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ec2a558"} 
[2026-07-11 07:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-11 07:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":129103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":129103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 07:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":129103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 07:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 07:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 07:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456635521536001,"66":25234,"237":206,"80":6400,"24":0,"16":134979350255632384,"45":964474037395640320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,80,24,16,45]} 
[2026-07-11 07:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 07:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 07:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456635521536001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:49:52] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-11 07:49:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 07:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134979350255632384,"km_value":134979350255632.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395640320,"description":"Unknown IO ID 45"} 
[2026-07-11 07:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456635521536001,"power":25234,"unknown_237":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395640320}} 
[2026-07-11 07:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":129103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:49:52] local.INFO: GPS data processed {"connection_id":129103,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:49:52] local.INFO: Acknowledgment sent {"connection_id":129103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:49:53] local.INFO: TCP Data received {"connection_id":129104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:49:53] local.INFO: Processing buffer {"connection_id":129104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:49:53] local.INFO: IMEI packet received {"connection_id":129104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":129104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:49:54] local.INFO: TCP Data received {"connection_id":129104,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8b918012d804fc005dd3fe80005001425..."} 
[2026-07-11 07:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8b918012d804fc005dd3fe80005001425..."} 
[2026-07-11 07:49:54] local.INFO: Processing buffer {"connection_id":129104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8b918012d804fc005dd3fe80005001425..."} 
[2026-07-11 07:49:54] local.INFO: Packet analysis {"connection_id":129104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:49:54] local.INFO: Extracted packet for processing {"connection_id":129104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763383744,"raw_latitude":98385896,"longitude_deg":76.3383744,"latitude_deg":9.8385896,"altitude":5,"angle":20,"satellites":37,"speed":25,"hex_longitude":"2d804fc0","hex_latitude":"05dd3fe8","is_valid_coordinates":true} 
[2026-07-11 07:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636505344001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104886395608236032,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201276225996535808,"note":"Value kept but may cause issues"} 
[2026-07-11 07:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783736351000,"timestamp_ms":1783736351000,"timestamp_seconds":1783736351,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8b918"} 
[2026-07-11 07:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-11 07:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636505344001,"66":13363,"251":206,"85":15104,"24":25,"16":104886395608236032,"45":-9201276225996535808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-11 07:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636505344001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:49:54] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-11 07:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104886395608236032,"km_value":104886395608236.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201276225996535808,"description":"Unknown IO ID 45"} 
[2026-07-11 07:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636505344001,"power":13363,"unknown_251":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9201276225996535808}} 
[2026-07-11 07:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":129104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:49:55] local.INFO: GPS data processed {"connection_id":129104,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:49:55] local.INFO: Acknowledgment sent {"connection_id":129104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:50:10] local.INFO: TCP Data received {"connection_id":130351,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:50:10] local.INFO: Processing buffer {"connection_id":130351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:50:10] local.INFO: IMEI packet received {"connection_id":130351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":130351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:50:15] local.INFO: TCP Data received {"connection_id":130351,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:50:15] local.INFO: Processing buffer {"connection_id":130351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:50:15] local.INFO: IMEI packet received {"connection_id":130351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":130351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:50:16] local.INFO: TCP Data received {"connection_id":130351,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:50:16] local.INFO: Processing buffer {"connection_id":130351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:50:16] local.INFO: Packet analysis {"connection_id":130351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:50:16] local.INFO: Extracted packet for processing {"connection_id":130351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:50:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:50:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:50:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":130351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:50:16] local.INFO: GPS data processed {"connection_id":130351,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:50:16] local.INFO: Acknowledgment sent {"connection_id":130351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:50:22] local.INFO: TCP Data received {"connection_id":128204,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:50:22] local.INFO: Processing buffer {"connection_id":128204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:50:22] local.INFO: IMEI packet received {"connection_id":128204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":128204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:50:26] local.INFO: TCP Data received {"connection_id":128204,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:50:26] local.INFO: Processing buffer {"connection_id":128204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:50:26] local.INFO: IMEI packet received {"connection_id":128204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":128204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:50:26] local.INFO: TCP Data received {"connection_id":128204,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef95940012d80690005dd9448000b000625..."} 
[2026-07-11 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef95940012d80690005dd9448000b000625..."} 
[2026-07-11 07:50:26] local.INFO: Processing buffer {"connection_id":128204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef95940012d80690005dd9448000b000625..."} 
[2026-07-11 07:50:26] local.INFO: Packet analysis {"connection_id":128204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef9"} 
[2026-07-11 07:50:26] local.INFO: Extracted packet for processing {"connection_id":128204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef9"} 
[2026-07-11 07:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763390208,"raw_latitude":98407496,"longitude_deg":76.3390208,"latitude_deg":9.8407496,"altitude":11,"angle":6,"satellites":37,"speed":30,"hex_longitude":"2d806900","hex_latitude":"05dd9448","is_valid_coordinates":true} 
[2026-07-11 07:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636514048001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104887855897116672,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192761607946819584,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783736392000,"timestamp_ms":1783736392000,"timestamp_seconds":1783736392,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef95940"} 
[2026-07-11 07:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 07:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":128204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":128204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":128204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636514048001,"66":13602,"249":206,"85":15104,"24":30,"16":104887855897116672,"45":-9192761607946819584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-11 07:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636514048001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:50:26] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-11 07:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104887855897116672,"km_value":104887855897116.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192761607946819584,"description":"Unknown IO ID 45"} 
[2026-07-11 07:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636514048001,"power":13602,"unknown_249":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9192761607946819584}} 
[2026-07-11 07:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":128204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:50:26] local.INFO: GPS data processed {"connection_id":128204,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:50:26] local.INFO: Acknowledgment sent {"connection_id":128204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:50:36] local.INFO: TCP Data received {"connection_id":128394,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:50:36] local.INFO: Processing buffer {"connection_id":128394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:50:36] local.INFO: IMEI packet received {"connection_id":128394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":128394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:50:47] local.INFO: TCP Data received {"connection_id":130351,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:50:47] local.INFO: Processing buffer {"connection_id":130351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:50:47] local.INFO: Packet analysis {"connection_id":130351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:50:47] local.INFO: Extracted packet for processing {"connection_id":130351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:50:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:50:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:50:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":130351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:50:47] local.INFO: GPS data processed {"connection_id":130351,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:50:47] local.INFO: Acknowledgment sent {"connection_id":130351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:50:57] local.INFO: TCP Data received {"connection_id":128204,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef96110012d806a4005dd9a38000a001625..."} 
[2026-07-11 07:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef96110012d806a4005dd9a38000a001625..."} 
[2026-07-11 07:50:57] local.INFO: Processing buffer {"connection_id":128204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef96110012d806a4005dd9a38000a001625..."} 
[2026-07-11 07:50:57] local.INFO: Packet analysis {"connection_id":128204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef9"} 
[2026-07-11 07:50:57] local.INFO: Extracted packet for processing {"connection_id":128204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef9"} 
[2026-07-11 07:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763390528,"raw_latitude":98409016,"longitude_deg":76.3390528,"latitude_deg":9.8409016,"altitude":10,"angle":22,"satellites":37,"speed":31,"hex_longitude":"2d806a40","hex_latitude":"05dd9a38","is_valid_coordinates":true} 
[2026-07-11 07:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636516352001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104887933206528000,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193817139107837952,"note":"Value kept but may cause issues"} 
[2026-07-11 07:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783736394000,"timestamp_ms":1783736394000,"timestamp_seconds":1783736394,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef96110"} 
[2026-07-11 07:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-11 07:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":128204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":128204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":128204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636516352001,"66":13504,"249":206,"85":15104,"24":31,"16":104887933206528000,"45":-9193817139107837952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-11 07:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636516352001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:50:57] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-11 07:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104887933206528000,"km_value":104887933206528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193817139107837952,"description":"Unknown IO ID 45"} 
[2026-07-11 07:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636516352001,"power":13504,"unknown_249":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9193817139107837952}} 
[2026-07-11 07:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":128204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:50:58] local.INFO: GPS data processed {"connection_id":128204,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:50:58] local.INFO: Acknowledgment sent {"connection_id":128204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:51:05] local.INFO: TCP Data received {"connection_id":128395,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:51:05] local.INFO: Processing buffer {"connection_id":128395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:51:05] local.INFO: IMEI packet received {"connection_id":128395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":128395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:51:10] local.INFO: TCP Data received {"connection_id":128395,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:51:10] local.INFO: Processing buffer {"connection_id":128395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:51:10] local.INFO: IMEI packet received {"connection_id":128395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":128395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:51:11] local.INFO: TCP Data received {"connection_id":128395,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:51:11] local.INFO: Processing buffer {"connection_id":128395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:51:11] local.INFO: Packet analysis {"connection_id":128395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:51:11] local.INFO: Extracted packet for processing {"connection_id":128395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:51:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":128395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:51:11] local.INFO: GPS data processed {"connection_id":128395,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:51:11] local.INFO: Acknowledgment sent {"connection_id":128395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:51:15] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:15] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:15] local.INFO: IMEI packet received {"connection_id":128396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":128396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:51:16] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:16] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:16] local.INFO: IMEI packet received {"connection_id":128396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":128396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:51:17] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:17] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:17] local.INFO: IMEI packet received {"connection_id":128396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":128396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:51:22] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:22] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:51:22] local.INFO: IMEI packet received {"connection_id":128396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":128396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:51:22] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efa66c8012d8064c005de6f480008016425..."} 
[2026-07-11 07:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efa66c8012d8064c005de6f480008016425..."} 
[2026-07-11 07:51:23] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efa66c8012d8064c005de6f480008016425..."} 
[2026-07-11 07:51:23] local.INFO: Packet analysis {"connection_id":128396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efa"} 
[2026-07-11 07:51:23] local.INFO: Extracted packet for processing {"connection_id":128396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efa"} 
[2026-07-11 07:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763389120,"raw_latitude":98463560,"longitude_deg":76.338912,"latitude_deg":9.846356,"altitude":8,"angle":356,"satellites":37,"speed":33,"hex_longitude":"2d8064c0","hex_latitude":"05de6f48","is_valid_coordinates":true} 
[2026-07-11 07:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636533248001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104890647625859072,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194520826535888896,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783736461000,"timestamp_ms":1783736461000,"timestamp_seconds":1783736461,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efa66c8"} 
[2026-07-11 07:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-11 07:51:23] 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-07-11 07:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636533248001,"66":13091,"100":206,"85":15104,"24":33,"16":104890647625859072,"45":-9194520826535888896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-11 07:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636533248001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:51:23] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-11 07:51:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104890647625859072,"km_value":104890647625859.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194520826535888896,"description":"Unknown IO ID 45"} 
[2026-07-11 07:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636533248001,"power":13091,"unknown_100":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9194520826535888896}} 
[2026-07-11 07:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":128396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:51:23] local.INFO: GPS data processed {"connection_id":128396,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:51:23] local.INFO: Acknowledgment sent {"connection_id":128396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:51:42] local.INFO: TCP Data received {"connection_id":128395,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:51:42] local.INFO: Processing buffer {"connection_id":128395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:51:42] local.INFO: Packet analysis {"connection_id":128395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:51:42] local.INFO: Extracted packet for processing {"connection_id":128395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:51:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":128395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:51:42] local.INFO: GPS data processed {"connection_id":128395,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:51:42] local.INFO: Acknowledgment sent {"connection_id":128395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:51:53] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efa6e98012d80658005de75680008000f23..."} 
[2026-07-11 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efa6e98012d80658005de75680008000f23..."} 
[2026-07-11 07:51:53] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efa6e98012d80658005de75680008000f23..."} 
[2026-07-11 07:51:53] local.INFO: Packet analysis {"connection_id":128396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efa"} 
[2026-07-11 07:51:53] local.INFO: Extracted packet for processing {"connection_id":128396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efa"} 
[2026-07-11 07:51:53] local.INFO: GPS Element Parsed {"raw_longitude":763389312,"raw_latitude":98465128,"longitude_deg":76.3389312,"latitude_deg":9.8465128,"altitude":8,"angle":15,"satellites":35,"speed":29,"hex_longitude":"2d806580","hex_latitude":"05de7568","is_valid_coordinates":true} 
[2026-07-11 07:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636534016001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104890724935270400,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195013407744505856,"note":"Value kept but may cause issues"} 
[2026-07-11 07:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783736463000,"timestamp_ms":1783736463000,"timestamp_seconds":1783736463,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efa6e98"} 
[2026-07-11 07:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 07:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636534016001,"66":13243,"100":206,"85":15104,"24":29,"16":104890724935270400,"45":-9195013407744505856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-11 07:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636534016001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:51:53] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-11 07:51:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104890724935270400,"km_value":104890724935270.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195013407744505856,"description":"Unknown IO ID 45"} 
[2026-07-11 07:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636534016001,"power":13243,"unknown_100":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9195013407744505856}} 
[2026-07-11 07:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":128396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:51:53] local.INFO: GPS data processed {"connection_id":128396,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:51:53] local.INFO: Acknowledgment sent {"connection_id":128396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:52:05] local.INFO: TCP Data received {"connection_id":129105,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:52:05] local.INFO: Processing buffer {"connection_id":129105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:52:05] local.INFO: IMEI packet received {"connection_id":129105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":129105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:52:10] local.INFO: TCP Data received {"connection_id":129105,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:52:10] local.INFO: Processing buffer {"connection_id":129105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:52:10] local.INFO: IMEI packet received {"connection_id":129105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":129105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:52:10] local.INFO: TCP Data received {"connection_id":129105,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:52:10] local.INFO: Processing buffer {"connection_id":129105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:52:10] local.INFO: Packet analysis {"connection_id":129105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:52:10] local.INFO: Extracted packet for processing {"connection_id":129105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:52:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":129105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:52:10] local.INFO: GPS data processed {"connection_id":129105,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:52:10] local.INFO: Acknowledgment sent {"connection_id":129105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:52:17] local.INFO: TCP Data received {"connection_id":130352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:52:17] local.INFO: Processing buffer {"connection_id":130352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:52:17] local.INFO: IMEI packet received {"connection_id":130352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":130352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:52:22] local.INFO: TCP Data received {"connection_id":130352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:52:22] local.INFO: Processing buffer {"connection_id":130352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:52:22] local.INFO: IMEI packet received {"connection_id":130352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":130352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:52:22] local.INFO: TCP Data received {"connection_id":130352,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efb39b8012d805ec005df2be80008015f24..."} 
[2026-07-11 07:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efb39b8012d805ec005df2be80008015f24..."} 
[2026-07-11 07:52:22] local.INFO: Processing buffer {"connection_id":130352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efb39b8012d805ec005df2be80008015f24..."} 
[2026-07-11 07:52:22] local.INFO: Packet analysis {"connection_id":130352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:52:22] local.INFO: Extracted packet for processing {"connection_id":130352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:52:22] local.INFO: GPS Element Parsed {"raw_longitude":763387584,"raw_latitude":98511848,"longitude_deg":76.3387584,"latitude_deg":9.8511848,"altitude":8,"angle":351,"satellites":36,"speed":39,"hex_longitude":"2d805ec0","hex_latitude":"05df2be8","is_valid_coordinates":true} 
[2026-07-11 07:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636545792001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104893022742773760,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196209676385400832,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783736515000,"timestamp_ms":1783736515000,"timestamp_seconds":1783736515,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efb39b8"} 
[2026-07-11 07:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 07:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636545792001,"66":13059,"99":206,"85":15104,"24":39,"16":104893022742773760,"45":-9196209676385400832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-11 07:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636545792001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:52:22] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-11 07:52:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104893022742773760,"km_value":104893022742773.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196209676385400832,"description":"Unknown IO ID 45"} 
[2026-07-11 07:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636545792001,"power":13059,"unknown_99":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9196209676385400832}} 
[2026-07-11 07:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":130352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:52:22] local.INFO: GPS data processed {"connection_id":130352,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:52:22] local.INFO: Acknowledgment sent {"connection_id":130352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:52:41] local.INFO: TCP Data received {"connection_id":129105,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:52:41] local.INFO: Processing buffer {"connection_id":129105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:52:41] local.INFO: Packet analysis {"connection_id":129105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:52:41] local.INFO: Extracted packet for processing {"connection_id":129105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:52:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":129105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:52:42] local.INFO: GPS data processed {"connection_id":129105,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:52:42] local.INFO: Acknowledgment sent {"connection_id":129105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:52:53] local.INFO: TCP Data received {"connection_id":130352,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efb5128012d80580005df43f0000a015325..."} 
[2026-07-11 07:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efb5128012d80580005df43f0000a015325..."} 
[2026-07-11 07:52:53] local.INFO: Processing buffer {"connection_id":130352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efb5128012d80580005df43f0000a015325..."} 
[2026-07-11 07:52:53] local.INFO: Packet analysis {"connection_id":130352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:52:53] local.INFO: Extracted packet for processing {"connection_id":130352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763385856,"raw_latitude":98518000,"longitude_deg":76.3385856,"latitude_deg":9.8518,"altitude":10,"angle":339,"satellites":37,"speed":45,"hex_longitude":"2d805800","hex_latitude":"05df43f0","is_valid_coordinates":true} 
[2026-07-11 07:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636547840001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104893331980419072,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196702257592408064,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783736521000,"timestamp_ms":1783736521000,"timestamp_seconds":1783736521,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efb5128"} 
[2026-07-11 07:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517133,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154151941,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4206671873,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2870476807,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298399438,"corrected_to":0} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3892391296,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926157,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":100,"raw_value":58077557095399450,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2786852864,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3734595584,"note":"Value kept but may cause issues"} 
[2026-07-11 07:52:53] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,99,85,24,241,157,16,167,159,26,45,128,9,8,36,10,66,251,64,231,166,216,1,240,181,227,78,222,4,113,205,34,180,103,35,239,52,100,2,116,5],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298399438,"validated":0}]} 
[2026-07-11 07:52:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576846835506151424,"timestamp_seconds":576846835506151.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 07:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636547840001,"66":13624,"99":206,"85":15104,"24":45,"16":104893331980419072,"45":-9196702257592408064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-11 07:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636547840001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:52:53] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-11 07:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104893331980419072,"km_value":104893331980419.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196702257592408064,"description":"Unknown IO ID 45"} 
[2026-07-11 07:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636547840001,"power":13624,"unknown_99":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9196702257592408064}} 
[2026-07-11 07:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":130352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:52:53] local.INFO: GPS data processed {"connection_id":130352,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:52:53] local.INFO: Acknowledgment sent {"connection_id":130352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:53:05] local.INFO: TCP Data received {"connection_id":129106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:53:05] local.INFO: Processing buffer {"connection_id":129106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:53:05] local.INFO: IMEI packet received {"connection_id":129106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":129106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:53:10] local.INFO: TCP Data received {"connection_id":129106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:53:10] local.INFO: Processing buffer {"connection_id":129106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:53:10] local.INFO: IMEI packet received {"connection_id":129106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":129106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:53:11] local.INFO: TCP Data received {"connection_id":129106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:53:11] local.INFO: Processing buffer {"connection_id":129106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:53:11] local.INFO: Packet analysis {"connection_id":129106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:53:11] local.INFO: Extracted packet for processing {"connection_id":129106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:53:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":129106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:53:11] local.INFO: GPS data processed {"connection_id":129106,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:53:11] local.INFO: Acknowledgment sent {"connection_id":129106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:53:16] local.INFO: TCP Data received {"connection_id":129107,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:53:16] local.INFO: Processing buffer {"connection_id":129107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:53:16] local.INFO: IMEI packet received {"connection_id":129107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":129107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:53:22] local.INFO: TCP Data received {"connection_id":129107,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:53:22] local.INFO: Processing buffer {"connection_id":129107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:53:22] local.INFO: IMEI packet received {"connection_id":129107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":129107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:53:30] local.INFO: TCP Data received {"connection_id":129107,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efb7068012d80484005df63e0000a014c25..."} 
[2026-07-11 07:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efb7068012d80484005df63e0000a014c25..."} 
[2026-07-11 07:53:30] local.INFO: Processing buffer {"connection_id":129107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efb7068012d80484005df63e0000a014c25..."} 
[2026-07-11 07:53:30] local.INFO: Packet analysis {"connection_id":129107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:53:30] local.INFO: Extracted packet for processing {"connection_id":129107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763381824,"raw_latitude":98526176,"longitude_deg":76.3381824,"latitude_deg":9.8526176,"altitude":10,"angle":332,"satellites":37,"speed":33,"hex_longitude":"2d804840","hex_latitude":"05df63e0","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636549376001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104893774362050560,"note":"Value kept but may cause issues"} 
[2026-07-11 07:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198602213683630080,"note":"Value kept but may cause issues"} 
[2026-07-11 07:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783736529000,"timestamp_ms":1783736529000,"timestamp_seconds":1783736529,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efb7068"} 
[2026-07-11 07:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-11 07:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":129107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":129107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":129107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636549376001,"66":13428,"99":206,"85":15104,"24":33,"16":104893774362050560,"45":-9198602213683630080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-11 07:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636549376001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:53:30] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-11 07:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104893774362050560,"km_value":104893774362050.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198602213683630080,"description":"Unknown IO ID 45"} 
[2026-07-11 07:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636549376001,"power":13428,"unknown_99":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9198602213683630080}} 
[2026-07-11 07:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":129107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:53:30] local.INFO: GPS data processed {"connection_id":129107,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:53:30] local.INFO: Acknowledgment sent {"connection_id":129107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:53:42] local.INFO: TCP Data received {"connection_id":129106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:53:42] local.INFO: Processing buffer {"connection_id":129106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:53:42] local.INFO: Packet analysis {"connection_id":129106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:53:42] local.INFO: Extracted packet for processing {"connection_id":129106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:53:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":129106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:53:42] local.INFO: GPS data processed {"connection_id":129106,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:53:42] local.INFO: Acknowledgment sent {"connection_id":129106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:54:01] local.INFO: TCP Data received {"connection_id":129107,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efbbe88012d80460005df67080009014d25..."} 
[2026-07-11 07:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efbbe88012d80460005df67080009014d25..."} 
[2026-07-11 07:54:01] local.INFO: Processing buffer {"connection_id":129107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efbbe88012d80460005df67080009014d25..."} 
[2026-07-11 07:54:01] local.INFO: Packet analysis {"connection_id":129107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:54:01] local.INFO: Extracted packet for processing {"connection_id":129107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763381248,"raw_latitude":98526984,"longitude_deg":76.3381248,"latitude_deg":9.8526984,"altitude":9,"angle":333,"satellites":37,"speed":0,"hex_longitude":"2d804600","hex_latitude":"05df6708","is_valid_coordinates":true} 
[2026-07-11 07:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636551424001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104893830196625408,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203035444564729856,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783736549000,"timestamp_ms":1783736549000,"timestamp_seconds":1783736549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efbbe88"} 
[2026-07-11 07:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 07:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":129107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":129107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":129107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636551424001,"66":13319,"99":206,"85":15104,"24":0,"16":104893830196625408,"45":-9203035444564729856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-11 07:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636551424001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:54:01] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-11 07:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104893830196625408,"km_value":104893830196625.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203035444564729856,"description":"Unknown IO ID 45"} 
[2026-07-11 07:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636551424001,"power":13319,"unknown_99":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9203035444564729856}} 
[2026-07-11 07:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":129107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:54:01] local.INFO: GPS data processed {"connection_id":129107,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:54:01] local.INFO: Acknowledgment sent {"connection_id":129107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:54:05] local.INFO: TCP Data received {"connection_id":128207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:54:05] local.INFO: Processing buffer {"connection_id":128207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:54:05] local.INFO: IMEI packet received {"connection_id":128207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":128207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:54:10] local.INFO: TCP Data received {"connection_id":128207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:54:10] local.INFO: Processing buffer {"connection_id":128207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:54:10] local.INFO: IMEI packet received {"connection_id":128207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":128207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:54:10] local.INFO: TCP Data received {"connection_id":128207,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:54:10] local.INFO: Processing buffer {"connection_id":128207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:54:10] local.INFO: Packet analysis {"connection_id":128207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:54:10] local.INFO: Extracted packet for processing {"connection_id":128207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:54:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":128207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:54:10] local.INFO: GPS data processed {"connection_id":128207,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:54:10] local.INFO: Acknowledgment sent {"connection_id":128207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:54:16] local.INFO: TCP Data received {"connection_id":128398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:54:16] local.INFO: Processing buffer {"connection_id":128398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:54:16] local.INFO: IMEI packet received {"connection_id":128398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":128398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:54:21] local.INFO: TCP Data received {"connection_id":128398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:54:21] local.INFO: Processing buffer {"connection_id":128398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:54:21] local.INFO: IMEI packet received {"connection_id":128398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":128398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:54:21] local.INFO: TCP Data received {"connection_id":128398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:54:21] local.INFO: Processing buffer {"connection_id":128398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:54:21] local.INFO: IMEI packet received {"connection_id":128398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":128398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:54:22] local.INFO: TCP Data received {"connection_id":128398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efbc270012d8045c005df67b00009015e24..."} 
[2026-07-11 07:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efbc270012d8045c005df67b00009015e24..."} 
[2026-07-11 07:54:22] local.INFO: Processing buffer {"connection_id":128398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efbc270012d8045c005df67b00009015e24..."} 
[2026-07-11 07:54:22] local.INFO: Packet analysis {"connection_id":128398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:54:22] local.INFO: Extracted packet for processing {"connection_id":128398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763381184,"raw_latitude":98527152,"longitude_deg":76.3381184,"latitude_deg":9.8527152,"altitude":9,"angle":350,"satellites":36,"speed":3,"hex_longitude":"2d8045c0","hex_latitude":"05df67b0","is_valid_coordinates":true} 
[2026-07-11 07:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636556544001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104893838786560000,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203668763262121984,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783736550000,"timestamp_ms":1783736550000,"timestamp_seconds":1783736550,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efbc270"} 
[2026-07-11 07:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4212815873,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298333902,"corrected_to":0} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422285,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2799632384,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3737368576,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57787462131275067,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":250,"raw_value":-4848123703925030907,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-6118140063695559936,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:22] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,99,85,24,241,157,16,168,159,112,45,64,10,37,66,81,67,167,57,192,1,240,3,227,78,223,4,113,205,251,97,48,36,239,51,2,116,5,8,181,250,222],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298333902,"validated":0}]} 
[2026-07-11 07:54:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648884642627190784,"timestamp_seconds":648884642627190.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 07:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636556544001,"66":13319,"99":206,"85":15104,"24":3,"16":104893838786560000,"45":-9203668763262121984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-11 07:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636556544001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:54:22] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-11 07:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104893838786560000,"km_value":104893838786560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203668763262121984,"description":"Unknown IO ID 45"} 
[2026-07-11 07:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636556544001,"power":13319,"unknown_99":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-9203668763262121984}} 
[2026-07-11 07:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":128398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:54:22] local.INFO: GPS data processed {"connection_id":128398,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:54:22] local.INFO: Acknowledgment sent {"connection_id":128398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:54:23] local.INFO: TCP Data received {"connection_id":128398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efbca40012d80458005df69680009015123..."} 
[2026-07-11 07:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efbca40012d80458005df69680009015123..."} 
[2026-07-11 07:54:23] local.INFO: Processing buffer {"connection_id":128398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efbca40012d80458005df69680009015123..."} 
[2026-07-11 07:54:23] local.INFO: Packet analysis {"connection_id":128398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:54:23] local.INFO: Extracted packet for processing {"connection_id":128398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efb"} 
[2026-07-11 07:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763381120,"raw_latitude":98527592,"longitude_deg":76.338112,"latitude_deg":9.8527592,"altitude":9,"angle":337,"satellites":35,"speed":11,"hex_longitude":"2d804580","hex_latitude":"05df6968","is_valid_coordinates":true} 
[2026-07-11 07:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636556800001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104893860261396480,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203739132006256640,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783736552000,"timestamp_ms":1783736552000,"timestamp_seconds":1783736552,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efbca40"} 
[2026-07-11 07:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2153693189,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4214863873,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298333902,"corrected_to":0} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2147868425,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":524289,"corrected_to":0} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308365,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2806185984,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3739693056,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57787457836307771,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":250,"raw_value":-2877798866950848507,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-4343721806215634432,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:23] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,99,85,24,241,157,16,168,159,190,45,103,9,37,10,66,112,64,81,1,240,56,227,167,78,223,4,113,205,39,26,96,200,36,239,52,2,116,5,8,42,133,250,222],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1298333902,"validated":0},{"io_id":200,"original":524289,"validated":0}]} 
[2026-07-11 07:54:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648903330030092288,"timestamp_seconds":648903330030092.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 07:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636556800001,"66":13439,"99":206,"85":15104,"24":11,"16":104893860261396480,"45":-9203739132006256640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-11 07:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636556800001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:54:23] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-11 07:54:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104893860261396480,"km_value":104893860261396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203739132006256640,"description":"Unknown IO ID 45"} 
[2026-07-11 07:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636556800001,"power":13439,"unknown_99":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9203739132006256640}} 
[2026-07-11 07:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":128398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:54:23] local.INFO: GPS data processed {"connection_id":128398,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:54:23] local.INFO: Acknowledgment sent {"connection_id":128398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:54:41] local.INFO: TCP Data received {"connection_id":128207,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:54:41] local.INFO: Processing buffer {"connection_id":128207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ef8a1a8012cb29ac007823b28004700db2a..."} 
[2026-07-11 07:54:41] local.INFO: Packet analysis {"connection_id":128207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:54:41] local.INFO: Extracted packet for processing {"connection_id":128207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ef8"} 
[2026-07-11 07:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783736345000,"timestamp_ms":1783736345000,"timestamp_seconds":1783736345,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ef8a1a8"} 
[2026-07-11 07:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 07:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636427264001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:54:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636427264001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":128207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:54:41] local.INFO: GPS data processed {"connection_id":128207,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:54:41] local.INFO: Acknowledgment sent {"connection_id":128207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:54:54] local.INFO: TCP Data received {"connection_id":128398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efdaea0012d7fdc0005e05910000a014f23..."} 
[2026-07-11 07:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efdaea0012d7fdc0005e05910000a014f23..."} 
[2026-07-11 07:54:54] local.INFO: Processing buffer {"connection_id":128398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efdaea0012d7fdc0005e05910000a014f23..."} 
[2026-07-11 07:54:54] local.INFO: Packet analysis {"connection_id":128398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:54:54] local.INFO: Extracted packet for processing {"connection_id":128398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763354112,"raw_latitude":98588944,"longitude_deg":76.3354112,"latitude_deg":9.8588944,"altitude":10,"angle":335,"satellites":35,"speed":43,"hex_longitude":"2d7fdc00","hex_latitude":"05e05910","is_valid_coordinates":true} 
[2026-07-11 07:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636586752001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104897141616410624,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216827768882786304,"note":"Value kept but may cause issues"} 
[2026-07-11 07:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783736676000,"timestamp_ms":1783736676000,"timestamp_seconds":1783736676,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efdaea0"} 
[2026-07-11 07:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-11 07:54:54] 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-07-11 07:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636586752001,"66":13656,"121":206,"85":15104,"24":43,"16":104897141616410624,"45":9216827768882786304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-11 07:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636586752001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:54:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 07:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104897141616410624,"km_value":104897141616410.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216827768882786304,"description":"Unknown IO ID 45"} 
[2026-07-11 07:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636586752001,"power":13656,"unknown_121":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9216827768882786304}} 
[2026-07-11 07:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":128398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:54:54] local.INFO: GPS data processed {"connection_id":128398,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:54:54] local.INFO: Acknowledgment sent {"connection_id":128398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:55:10] local.INFO: TCP Data received {"connection_id":130353,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:55:10] local.INFO: Processing buffer {"connection_id":130353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:55:10] local.INFO: IMEI packet received {"connection_id":130353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":130353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:55:15] local.INFO: TCP Data received {"connection_id":130353,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:55:15] local.INFO: Processing buffer {"connection_id":130353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:55:15] local.INFO: IMEI packet received {"connection_id":130353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":130353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:55:16] local.INFO: TCP Data received {"connection_id":130353,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:55:16] local.INFO: Processing buffer {"connection_id":130353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:55:16] local.INFO: Packet analysis {"connection_id":130353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:55:16] local.INFO: Extracted packet for processing {"connection_id":130353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:55:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:55:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:55:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:55:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":130353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:55:16] local.INFO: GPS data processed {"connection_id":130353,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:55:16] local.INFO: Acknowledgment sent {"connection_id":130353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:55:17] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:17] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:17] local.INFO: IMEI packet received {"connection_id":130354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":130354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:55:19] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:19] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:19] local.INFO: IMEI packet received {"connection_id":130354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":130354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:55:22] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:22] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:22] local.INFO: IMEI packet received {"connection_id":130354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":130354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:55:27] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:27] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:55:27] local.INFO: IMEI packet received {"connection_id":130354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":130354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:55:28] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efdbe40012d7fd6c005e069380009015d22..."} 
[2026-07-11 07:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efdbe40012d7fd6c005e069380009015d22..."} 
[2026-07-11 07:55:28] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efdbe40012d7fd6c005e069380009015d22..."} 
[2026-07-11 07:55:28] local.INFO: Packet analysis {"connection_id":130354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:55:28] local.INFO: Extracted packet for processing {"connection_id":130354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763352768,"raw_latitude":98593080,"longitude_deg":76.3352768,"latitude_deg":9.859308,"altitude":9,"angle":349,"satellites":34,"speed":43,"hex_longitude":"2d7fd6c0","hex_latitude":"05e06938","is_valid_coordinates":true} 
[2026-07-11 07: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-07-11 07:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636589056001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104897352069808128,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9213238962931961856,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783736680000,"timestamp_ms":1783736680000,"timestamp_seconds":1783736680,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efdbe40"} 
[2026-07-11 07:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-11 07:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07: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-07-11 07:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636589056001,"66":13472,"121":206,"85":15104,"24":43,"16":104897352069808128,"45":9213238962931961856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-11 07:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636589056001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:55:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 07:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104897352069808128,"km_value":104897352069808.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9213238962931961856,"description":"Unknown IO ID 45"} 
[2026-07-11 07:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636589056001,"power":13472,"unknown_121":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9213238962931961856}} 
[2026-07-11 07:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":130354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:55:28] local.INFO: GPS data processed {"connection_id":130354,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:55:28] local.INFO: Acknowledgment sent {"connection_id":130354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:55:31] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efdd5b0012d7fd44005e084200009000121..."} 
[2026-07-11 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efdd5b0012d7fd44005e084200009000121..."} 
[2026-07-11 07:55:31] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efdd5b0012d7fd44005e084200009000121..."} 
[2026-07-11 07:55:31] local.INFO: Packet analysis {"connection_id":130354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:55:31] local.INFO: Extracted packet for processing {"connection_id":130354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763352128,"raw_latitude":98599968,"longitude_deg":76.3352128,"latitude_deg":9.8599968,"altitude":9,"angle":1,"satellites":33,"speed":47,"hex_longitude":"2d7fd440","hex_latitude":"05e08420","is_valid_coordinates":true} 
[2026-07-11 07:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636590080001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104897687077257216,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211761219305289728,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783736686000,"timestamp_ms":1783736686000,"timestamp_seconds":1783736686,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efdd5b0"} 
[2026-07-11 07:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-11 07:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":130354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":130354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":130354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636590080001,"66":13580,"121":206,"85":15104,"24":47,"16":104897687077257216,"45":9211761219305289728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-11 07:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636590080001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:55:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 07:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104897687077257216,"km_value":104897687077257.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211761219305289728,"description":"Unknown IO ID 45"} 
[2026-07-11 07:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636590080001,"power":13580,"unknown_121":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9211761219305289728}} 
[2026-07-11 07:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":130354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:55:31] local.INFO: GPS data processed {"connection_id":130354,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:55:31] local.INFO: Acknowledgment sent {"connection_id":130354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:55:47] local.INFO: TCP Data received {"connection_id":130353,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:55:47] local.INFO: Processing buffer {"connection_id":130353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:55:47] local.INFO: Packet analysis {"connection_id":130353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:55:47] local.INFO: Extracted packet for processing {"connection_id":130353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:55:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:55:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:55:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":130353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:55:47] local.INFO: GPS data processed {"connection_id":130353,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:55:47] local.INFO: Acknowledgment sent {"connection_id":130353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:56:01] local.INFO: TCP Data received {"connection_id":128400,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:56:01] local.INFO: Processing buffer {"connection_id":128400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:56:01] local.INFO: IMEI packet received {"connection_id":128400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":128400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:56:05] local.INFO: TCP Data received {"connection_id":128401,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:56:05] local.INFO: Processing buffer {"connection_id":128401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:56:05] local.INFO: IMEI packet received {"connection_id":128401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":128401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:56:10] local.INFO: TCP Data received {"connection_id":128401,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:56:10] local.INFO: Processing buffer {"connection_id":128401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:56:10] local.INFO: IMEI packet received {"connection_id":128401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":128401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:56:10] local.INFO: TCP Data received {"connection_id":128401,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:56:10] local.INFO: Processing buffer {"connection_id":128401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:56:10] local.INFO: Packet analysis {"connection_id":128401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:56:10] local.INFO: Extracted packet for processing {"connection_id":128401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:56:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":128401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:56:10] local.INFO: GPS data processed {"connection_id":128401,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:56:10] local.INFO: Acknowledgment sent {"connection_id":128401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:56:17] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:56:17] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:56:17] local.INFO: IMEI packet received {"connection_id":130355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":130355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:56:22] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:56:22] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:56:22] local.INFO: IMEI packet received {"connection_id":130355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":130355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:56:22] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efee720012d7f574005e0e9c00006012623..."} 
[2026-07-11 07:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efee720012d7f574005e0e9c00006012623..."} 
[2026-07-11 07:56:22] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efee720012d7f574005e0e9c00006012623..."} 
[2026-07-11 07:56:22] local.INFO: Packet analysis {"connection_id":130355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efe"} 
[2026-07-11 07:56:22] local.INFO: Extracted packet for processing {"connection_id":130355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efe"} 
[2026-07-11 07:56:22] local.INFO: GPS Element Parsed {"raw_longitude":763320128,"raw_latitude":98625984,"longitude_deg":76.3320128,"latitude_deg":9.8625984,"altitude":6,"angle":294,"satellites":35,"speed":20,"hex_longitude":"2d7f5740","hex_latitude":"05e0e9c0","is_valid_coordinates":true} 
[2026-07-11 07:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636607744001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104900045014302720,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178406434573299712,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783736756000,"timestamp_ms":1783736756000,"timestamp_seconds":1783736756,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efee720"} 
[2026-07-11 07:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-11 07:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636607744001,"66":13624,"122":206,"85":15104,"24":20,"16":104900045014302720,"45":9178406434573299712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-11 07:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636607744001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:56:22] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-11 07:56:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104900045014302720,"km_value":104900045014302.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178406434573299712,"description":"Unknown IO ID 45"} 
[2026-07-11 07:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636607744001,"power":13624,"unknown_122":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9178406434573299712}} 
[2026-07-11 07:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":130355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:56:22] local.INFO: GPS data processed {"connection_id":130355,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:56:22] local.INFO: Acknowledgment sent {"connection_id":130355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:56:41] local.INFO: TCP Data received {"connection_id":128401,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:56:41] local.INFO: Processing buffer {"connection_id":128401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:56:41] local.INFO: Packet analysis {"connection_id":128401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:56:41] local.INFO: Extracted packet for processing {"connection_id":128401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07: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-07-11 07: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-07-11 07: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-07-11 07:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:56:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":128401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:56:41] local.INFO: GPS data processed {"connection_id":128401,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:56:41] local.INFO: Acknowledgment sent {"connection_id":128401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:56:46] local.INFO: TCP Data received {"connection_id":129108,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:56:46] local.INFO: Processing buffer {"connection_id":129108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 07:56:46] local.INFO: IMEI packet received {"connection_id":129108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 07:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":129108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:56:53] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eff1218012d7f3c8005e0f4980007011722..."} 
[2026-07-11 07:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eff1218012d7f3c8005e0f4980007011722..."} 
[2026-07-11 07:56:53] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eff1218012d7f3c8005e0f4980007011722..."} 
[2026-07-11 07:56:53] local.INFO: Packet analysis {"connection_id":130355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eff"} 
[2026-07-11 07:56:53] local.INFO: Extracted packet for processing {"connection_id":130355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eff"} 
[2026-07-11 07:56:53] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":98628760,"longitude_deg":76.331328,"latitude_deg":9.862876,"altitude":7,"angle":279,"satellites":34,"speed":32,"hex_longitude":"2d7f3c80","hex_latitude":"05e0f498","is_valid_coordinates":true} 
[2026-07-11 07:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636609536001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104900401496588288,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175873159783104512,"note":"Value kept but may cause issues"} 
[2026-07-11 07:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783736767000,"timestamp_ms":1783736767000,"timestamp_seconds":1783736767,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eff1218"} 
[2026-07-11 07:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-11 07:56:53] 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-07-11 07:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636609536001,"66":13450,"122":206,"85":15104,"24":32,"16":104900401496588288,"45":9175873159783104512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-11 07:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636609536001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:56:53] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-11 07:56:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104900401496588288,"km_value":104900401496588.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175873159783104512,"description":"Unknown IO ID 45"} 
[2026-07-11 07:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636609536001,"power":13450,"unknown_122":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9175873159783104512}} 
[2026-07-11 07:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":130355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:56:53] local.INFO: GPS data processed {"connection_id":130355,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:56:53] local.INFO: Acknowledgment sent {"connection_id":130355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:57:05] local.INFO: TCP Data received {"connection_id":130356,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:57:05] local.INFO: Processing buffer {"connection_id":130356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:57:05] local.INFO: IMEI packet received {"connection_id":130356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":130356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:57:10] local.INFO: TCP Data received {"connection_id":130356,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:57:10] local.INFO: Processing buffer {"connection_id":130356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:57:10] local.INFO: IMEI packet received {"connection_id":130356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":130356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:57:11] local.INFO: TCP Data received {"connection_id":130356,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:57:11] local.INFO: Processing buffer {"connection_id":130356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:57:11] local.INFO: Packet analysis {"connection_id":130356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:57:11] local.INFO: Extracted packet for processing {"connection_id":130356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":130356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:57:11] local.INFO: GPS data processed {"connection_id":130356,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:57:11] local.INFO: Acknowledgment sent {"connection_id":130356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:57:16] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:57:16] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:57:16] local.INFO: IMEI packet received {"connection_id":130357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":130357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:57:16] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:57:16] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:57:16] local.INFO: IMEI packet received {"connection_id":130357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":130357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:57:22] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:57:22] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:57:22] local.INFO: IMEI packet received {"connection_id":130357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":130357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:57:23] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4eff1dd0012d7f31c005e0f4900007010c21..."} 
[2026-07-11 07:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4eff1dd0012d7f31c005e0f4900007010c21..."} 
[2026-07-11 07:57:23] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4eff1dd0012d7f31c005e0f4900007010c21..."} 
[2026-07-11 07:57:23] local.INFO: Packet analysis {"connection_id":130357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4eff"} 
[2026-07-11 07:57:23] local.INFO: Extracted packet for processing {"connection_id":130357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4eff"} 
[2026-07-11 07:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763310528,"raw_latitude":98628752,"longitude_deg":76.3310528,"latitude_deg":9.8628752,"altitude":7,"angle":268,"satellites":33,"speed":35,"hex_longitude":"2d7f31c0","hex_latitude":"05e0f490","is_valid_coordinates":true} 
[2026-07-11 07:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636612352001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104900530345607168,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168343704156805120,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783736770000,"timestamp_ms":1783736770000,"timestamp_seconds":1783736770,"priority":1,"record_length":96,"hex_timestamp":"0000019f4eff1dd0"} 
[2026-07-11 07:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 07:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636612352001,"66":13515,"122":206,"85":15104,"24":35,"16":104900530345607168,"45":9168343704156805120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-11 07:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636612352001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:57:23] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-11 07:57:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104900530345607168,"km_value":104900530345607.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168343704156805120,"description":"Unknown IO ID 45"} 
[2026-07-11 07:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636612352001,"power":13515,"unknown_122":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9168343704156805120}} 
[2026-07-11 07:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":130357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:57:23] local.INFO: GPS data processed {"connection_id":130357,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:57:23] local.INFO: Acknowledgment sent {"connection_id":130357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:57:42] local.INFO: TCP Data received {"connection_id":130356,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:57:42] local.INFO: Processing buffer {"connection_id":130356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:57:42] local.INFO: Packet analysis {"connection_id":130356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:57:42] local.INFO: Extracted packet for processing {"connection_id":130356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":130356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:57:42] local.INFO: GPS data processed {"connection_id":130356,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:57:42] local.INFO: Acknowledgment sent {"connection_id":130356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:57:54] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f008918012d7e120005e0e1b8000a014423..."} 
[2026-07-11 07:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f008918012d7e120005e0e1b8000a014423..."} 
[2026-07-11 07:57:54] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f008918012d7e120005e0e1b8000a014423..."} 
[2026-07-11 07:57:54] local.INFO: Packet analysis {"connection_id":130357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f00"} 
[2026-07-11 07:57:54] local.INFO: Extracted packet for processing {"connection_id":130357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f00"} 
[2026-07-11 07:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763236864,"raw_latitude":98623928,"longitude_deg":76.3236864,"latitude_deg":9.8623928,"altitude":10,"angle":324,"satellites":35,"speed":9,"hex_longitude":"2d7e1200","hex_latitude":"05e0e1b8","is_valid_coordinates":true} 
[2026-07-11 07:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636636672001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104904155298004992,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084464161095757824,"note":"Value kept but may cause issues"} 
[2026-07-11 07:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783736863000,"timestamp_ms":1783736863000,"timestamp_seconds":1783736863,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f008918"} 
[2026-07-11 07:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 07:57:54] 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-07-11 07:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636636672001,"66":13243,"60":206,"85":15104,"24":9,"16":104904155298004992,"45":9084464161095757824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 07:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636636672001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:57:54] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 07:57:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104904155298004992,"km_value":104904155298004.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084464161095757824,"description":"Unknown IO ID 45"} 
[2026-07-11 07:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636636672001,"power":13243,"unknown_60":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9084464161095757824}} 
[2026-07-11 07:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":130357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:57:54] local.INFO: GPS data processed {"connection_id":130357,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:57:54] local.INFO: Acknowledgment sent {"connection_id":130357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:58:05] local.INFO: TCP Data received {"connection_id":128402,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:58:05] local.INFO: Processing buffer {"connection_id":128402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:58:05] local.INFO: IMEI packet received {"connection_id":128402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:58:10] local.INFO: TCP Data received {"connection_id":128402,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:58:10] local.INFO: Processing buffer {"connection_id":128402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:58:10] local.INFO: IMEI packet received {"connection_id":128402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:58:10] local.INFO: TCP Data received {"connection_id":128402,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:58:10] local.INFO: Processing buffer {"connection_id":128402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:58:10] local.INFO: Packet analysis {"connection_id":128402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:58:10] local.INFO: Extracted packet for processing {"connection_id":128402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":128402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:58:10] local.INFO: GPS data processed {"connection_id":128402,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:58:10] local.INFO: Acknowledgment sent {"connection_id":128402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:58:17] local.INFO: TCP Data received {"connection_id":129110,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:58:17] local.INFO: Processing buffer {"connection_id":129110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:58:17] local.INFO: IMEI packet received {"connection_id":129110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":129110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:58:20] local.INFO: TCP Data received {"connection_id":129110,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:58:20] local.INFO: Processing buffer {"connection_id":129110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:58:20] local.INFO: IMEI packet received {"connection_id":129110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":129110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:58:21] local.INFO: TCP Data received {"connection_id":129110,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f008d00012d7e11c005e0e2a0000a015923..."} 
[2026-07-11 07:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f008d00012d7e11c005e0e2a0000a015923..."} 
[2026-07-11 07:58:21] local.INFO: Processing buffer {"connection_id":129110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f008d00012d7e11c005e0e2a0000a015923..."} 
[2026-07-11 07:58:21] local.INFO: Packet analysis {"connection_id":129110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f00"} 
[2026-07-11 07:58:21] local.INFO: Extracted packet for processing {"connection_id":129110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f00"} 
[2026-07-11 07:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763236800,"raw_latitude":98624160,"longitude_deg":76.32368,"latitude_deg":9.862416,"altitude":10,"angle":345,"satellites":35,"speed":10,"hex_longitude":"2d7e11c0","hex_latitude":"05e0e2a0","is_valid_coordinates":true} 
[2026-07-11 07:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636636928001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104904168182906880,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084323423607437312,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783736864000,"timestamp_ms":1783736864000,"timestamp_seconds":1783736864,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f008d00"} 
[2026-07-11 07:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 07:58:21] 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-07-11 07:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":129110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":129110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":129110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636636928001,"66":13243,"60":206,"85":15104,"24":10,"16":104904168182906880,"45":9084323423607437312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 07:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636636928001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:58:21] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 07:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104904168182906880,"km_value":104904168182906.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084323423607437312,"description":"Unknown IO ID 45"} 
[2026-07-11 07:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636636928001,"power":13243,"unknown_60":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9084323423607437312}} 
[2026-07-11 07:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":129110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:58:21] local.INFO: GPS data processed {"connection_id":129110,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:58:21] local.INFO: Acknowledgment sent {"connection_id":129110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:58:41] local.INFO: TCP Data received {"connection_id":128402,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:58:41] local.INFO: Processing buffer {"connection_id":128402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:58:41] local.INFO: Packet analysis {"connection_id":128402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:58:41] local.INFO: Extracted packet for processing {"connection_id":128402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:58: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-07-11 07:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:58:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":128402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:58:41] local.INFO: GPS data processed {"connection_id":128402,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:58:41] local.INFO: Acknowledgment sent {"connection_id":128402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:58:52] local.INFO: TCP Data received {"connection_id":129110,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0098b8012d7e114005e0e728000b016724..."} 
[2026-07-11 07:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0098b8012d7e114005e0e728000b016724..."} 
[2026-07-11 07:58:52] local.INFO: Processing buffer {"connection_id":129110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0098b8012d7e114005e0e728000b016724..."} 
[2026-07-11 07:58:52] local.INFO: Packet analysis {"connection_id":129110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f00"} 
[2026-07-11 07:58:52] local.INFO: Extracted packet for processing {"connection_id":129110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f00"} 
[2026-07-11 07:58:52] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":98625320,"longitude_deg":76.3236672,"latitude_deg":9.862532,"altitude":11,"angle":359,"satellites":36,"speed":17,"hex_longitude":"2d7e1140","hex_latitude":"05e0e728","is_valid_coordinates":true} 
[2026-07-11 07:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636637184001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104904224017481728,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084253054863319040,"note":"Value kept but may cause issues"} 
[2026-07-11 07:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783736867000,"timestamp_ms":1783736867000,"timestamp_seconds":1783736867,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0098b8"} 
[2026-07-11 07:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 07:58:52] 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-07-11 07:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":129110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":129110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":129110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636637184001,"66":13602,"60":206,"85":15104,"24":17,"16":104904224017481728,"45":9084253054863319040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 07:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636637184001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:58:52] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 07:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104904224017481728,"km_value":104904224017481.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084253054863319040,"description":"Unknown IO ID 45"} 
[2026-07-11 07:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636637184001,"power":13602,"unknown_60":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9084253054863319040}} 
[2026-07-11 07:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":129110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:58:52] local.INFO: GPS data processed {"connection_id":129110,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:58:52] local.INFO: Acknowledgment sent {"connection_id":129110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:59:05] local.INFO: TCP Data received {"connection_id":130360,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:59:05] local.INFO: Processing buffer {"connection_id":130360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:59:05] local.INFO: IMEI packet received {"connection_id":130360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 07:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":130360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:59:10] local.INFO: TCP Data received {"connection_id":130360,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:59:10] local.INFO: Processing buffer {"connection_id":130360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 07:59:10] local.INFO: IMEI packet received {"connection_id":130360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 07:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":130360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:59:11] local.INFO: TCP Data received {"connection_id":130360,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:59:11] local.INFO: Processing buffer {"connection_id":130360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:59:11] local.INFO: Packet analysis {"connection_id":130360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:59:11] local.INFO: Extracted packet for processing {"connection_id":130360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:59:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":130360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:59:11] local.INFO: GPS data processed {"connection_id":130360,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:59:11] local.INFO: Acknowledgment sent {"connection_id":130360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:59:17] local.INFO: TCP Data received {"connection_id":128403,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:59:17] local.INFO: Processing buffer {"connection_id":128403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:59:17] local.INFO: IMEI packet received {"connection_id":128403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 07:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":128403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 07:59:22] local.INFO: TCP Data received {"connection_id":128403,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:59:22] local.INFO: Processing buffer {"connection_id":128403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 07:59:22] local.INFO: IMEI packet received {"connection_id":128403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 07:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":128403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 07:59:23] local.INFO: TCP Data received {"connection_id":128403,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f018318012d7e2ac005e1cba80006000522..."} 
[2026-07-11 07:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f018318012d7e2ac005e1cba80006000522..."} 
[2026-07-11 07:59:23] local.INFO: Processing buffer {"connection_id":128403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f018318012d7e2ac005e1cba80006000522..."} 
[2026-07-11 07:59:23] local.INFO: Packet analysis {"connection_id":128403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 07:59:23] local.INFO: Extracted packet for processing {"connection_id":128403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763243200,"raw_latitude":98683816,"longitude_deg":76.32432,"latitude_deg":9.8683816,"altitude":6,"angle":5,"satellites":34,"speed":38,"hex_longitude":"2d7e2ac0","hex_latitude":"05e1cba8","is_valid_coordinates":true} 
[2026-07-11 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636652800001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104907161775112192,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090938085574965248,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783736927000,"timestamp_ms":1783736927000,"timestamp_seconds":1783736927,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f018318"} 
[2026-07-11 07:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 07:59:23] 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-07-11 07:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636652800001,"66":13276,"60":206,"85":15104,"24":38,"16":104907161775112192,"45":9090938085574965248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 07:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636652800001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:59:23] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 07:59:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104907161775112192,"km_value":104907161775112.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090938085574965248,"description":"Unknown IO ID 45"} 
[2026-07-11 07:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636652800001,"power":13276,"unknown_60":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9090938085574965248}} 
[2026-07-11 07:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":128403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:59:23] local.INFO: GPS data processed {"connection_id":128403,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:59:23] local.INFO: Acknowledgment sent {"connection_id":128403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:59:42] local.INFO: TCP Data received {"connection_id":130360,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:59:42] local.INFO: Processing buffer {"connection_id":130360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4efd3970012cb29ac007823b28004700db2b..."} 
[2026-07-11 07:59:42] local.INFO: Packet analysis {"connection_id":130360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:59:42] local.INFO: Extracted packet for processing {"connection_id":130360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4efd"} 
[2026-07-11 07:59:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 07:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636504320001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783736646000,"timestamp_ms":1783736646000,"timestamp_seconds":1783736646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4efd3970"} 
[2026-07-11 07:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 07:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 07:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 07:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 07:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 07:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636504320001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 07:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 07:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 07:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636504320001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:59:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 07:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 07:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 07:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636504320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 07:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":130360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:59:42] local.INFO: GPS data processed {"connection_id":130360,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:59:42] local.INFO: Acknowledgment sent {"connection_id":130360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 07:59:54] local.INFO: TCP Data received {"connection_id":128403,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01aa28012d7e2b4005e1efe00006000021..."} 
[2026-07-11 07:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01aa28012d7e2b4005e1efe00006000021..."} 
[2026-07-11 07:59:54] local.INFO: Processing buffer {"connection_id":128403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01aa28012d7e2b4005e1efe00006000021..."} 
[2026-07-11 07:59:54] local.INFO: Packet analysis {"connection_id":128403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 07:59:54] local.INFO: Extracted packet for processing {"connection_id":128403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 07:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763243328,"raw_latitude":98693088,"longitude_deg":76.3243328,"latitude_deg":9.8693088,"altitude":6,"angle":0,"satellites":33,"speed":30,"hex_longitude":"2d7e2b40","hex_latitude":"05e1efe0","is_valid_coordinates":true} 
[2026-07-11 07:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 07:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636653312001,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104907612746678272,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091289929296357376,"note":"Value kept but may cause issues"} 
[2026-07-11 07:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 07:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783736937000,"timestamp_ms":1783736937000,"timestamp_seconds":1783736937,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01aa28"} 
[2026-07-11 07:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 07:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 07:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-11 07:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 07:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 07:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 07:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 07:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 07:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 07:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 07:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 07:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 07:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636653312001,"66":13428,"60":206,"85":15104,"24":30,"16":104907612746678272,"45":9091289929296357376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 07:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 07:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 07:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636653312001,"description":"Unknown IO ID 0"} 
[2026-07-11 07:59:54] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 07:59:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 07:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104907612746678272,"km_value":104907612746678.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 07:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091289929296357376,"description":"Unknown IO ID 45"} 
[2026-07-11 07:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636653312001,"power":13428,"unknown_60":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9091289929296357376}} 
[2026-07-11 07:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":128403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 07:59:54] local.INFO: GPS data processed {"connection_id":128403,"processed":1,"errors":0,"total":1} 
[2026-07-11 07:59:54] local.INFO: Acknowledgment sent {"connection_id":128403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:00:10] local.INFO: TCP Data received {"connection_id":128404,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:00:10] local.INFO: Processing buffer {"connection_id":128404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:00:10] local.INFO: IMEI packet received {"connection_id":128404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":128404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:00:15] local.INFO: TCP Data received {"connection_id":128404,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:00:15] local.INFO: Processing buffer {"connection_id":128404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:00:15] local.INFO: IMEI packet received {"connection_id":128404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":128404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:00:16] local.INFO: TCP Data received {"connection_id":128404,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:00:16] local.INFO: Processing buffer {"connection_id":128404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:00:16] local.INFO: Packet analysis {"connection_id":128404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:00:16] local.INFO: Extracted packet for processing {"connection_id":128404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:00:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:00:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:00:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":128404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:00:16] local.INFO: GPS data processed {"connection_id":128404,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:00:16] local.INFO: Acknowledgment sent {"connection_id":128404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:00:16] local.INFO: TCP Data received {"connection_id":129112,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:00:16] local.INFO: Processing buffer {"connection_id":129112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:00:16] local.INFO: IMEI packet received {"connection_id":129112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":129112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:00:21] local.INFO: TCP Data received {"connection_id":129112,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:00:21] local.INFO: Processing buffer {"connection_id":129112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:00:21] local.INFO: IMEI packet received {"connection_id":129112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":129112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:00:22] local.INFO: TCP Data received {"connection_id":129112,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0290a0012d7dc50005e1fc50000a010625..."} 
[2026-07-11 08:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0290a0012d7dc50005e1fc50000a010625..."} 
[2026-07-11 08:00:22] local.INFO: Processing buffer {"connection_id":129112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0290a0012d7dc50005e1fc50000a010625..."} 
[2026-07-11 08:00:22] local.INFO: Packet analysis {"connection_id":129112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f02"} 
[2026-07-11 08:00:22] local.INFO: Extracted packet for processing {"connection_id":129112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f02"} 
[2026-07-11 08:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763217152,"raw_latitude":98696272,"longitude_deg":76.3217152,"latitude_deg":9.8696272,"altitude":10,"angle":262,"satellites":37,"speed":43,"hex_longitude":"2d7dc500","hex_latitude":"05e1fc50","is_valid_coordinates":true} 
[2026-07-11 08:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636670976001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104909270604054528,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062649850419236864,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783736996000,"timestamp_ms":1783736996000,"timestamp_seconds":1783736996,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0290a0"} 
[2026-07-11 08:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 08:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-11 08:00:22] 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-07-11 08:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":129112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":129112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":129112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636670976001,"66":13135,"61":206,"85":15104,"24":43,"16":104909270604054528,"45":9062649850419236864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 08:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636670976001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:00:22] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 08:00:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104909270604054528,"km_value":104909270604054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062649850419236864,"description":"Unknown IO ID 45"} 
[2026-07-11 08:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636670976001,"power":13135,"unknown_61":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9062649850419236864}} 
[2026-07-11 08:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":129112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:00:22] local.INFO: GPS data processed {"connection_id":129112,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:00:22] local.INFO: Acknowledgment sent {"connection_id":129112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:00:47] local.INFO: TCP Data received {"connection_id":128404,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:00:47] local.INFO: Processing buffer {"connection_id":128404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:00:47] local.INFO: Packet analysis {"connection_id":128404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:00:47] local.INFO: Extracted packet for processing {"connection_id":128404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:00:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:00:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:00:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":128404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:00:47] local.INFO: GPS data processed {"connection_id":128404,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:00:47] local.INFO: Acknowledgment sent {"connection_id":128404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:00:54] local.INFO: TCP Data received {"connection_id":129112,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f029c58012d7db80005e1fc78000a011525..."} 
[2026-07-11 08:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f029c58012d7db80005e1fc78000a011525..."} 
[2026-07-11 08:00:54] local.INFO: Processing buffer {"connection_id":129112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f029c58012d7db80005e1fc78000a011525..."} 
[2026-07-11 08:00:54] local.INFO: Packet analysis {"connection_id":129112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f02"} 
[2026-07-11 08:00:54] local.INFO: Extracted packet for processing {"connection_id":129112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f02"} 
[2026-07-11 08:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763213824,"raw_latitude":98696312,"longitude_deg":76.3213824,"latitude_deg":9.8696312,"altitude":10,"angle":277,"satellites":37,"speed":44,"hex_longitude":"2d7db800","hex_latitude":"05e1fc78","is_valid_coordinates":true} 
[2026-07-11 08:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636670976001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104909429517844480,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062649850419236864,"note":"Value kept but may cause issues"} 
[2026-07-11 08:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783736999000,"timestamp_ms":1783736999000,"timestamp_seconds":1783736999,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f029c58"} 
[2026-07-11 08:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 08:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-11 08:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636670976001,"66":13450,"61":206,"85":15104,"24":44,"16":104909429517844480,"45":9062649850419236864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 08:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636670976001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:00:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 08:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104909429517844480,"km_value":104909429517844.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062649850419236864,"description":"Unknown IO ID 45"} 
[2026-07-11 08:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636670976001,"power":13450,"unknown_61":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9062649850419236864}} 
[2026-07-11 08:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":129112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:00:54] local.INFO: GPS data processed {"connection_id":129112,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:00:54] local.INFO: Acknowledgment sent {"connection_id":129112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:01:05] local.INFO: TCP Data received {"connection_id":129113,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:01:05] local.INFO: Processing buffer {"connection_id":129113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:01:05] local.INFO: IMEI packet received {"connection_id":129113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":129113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:01:10] local.INFO: TCP Data received {"connection_id":129113,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:01:10] local.INFO: Processing buffer {"connection_id":129113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:01:10] local.INFO: IMEI packet received {"connection_id":129113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":129113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:01:11] local.INFO: TCP Data received {"connection_id":129113,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:01:11] local.INFO: Processing buffer {"connection_id":129113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:01:11] local.INFO: Packet analysis {"connection_id":129113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:01:11] local.INFO: Extracted packet for processing {"connection_id":129113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":129113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:01:11] local.INFO: GPS data processed {"connection_id":129113,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:01:11] local.INFO: Acknowledgment sent {"connection_id":129113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:01:16] local.INFO: TCP Data received {"connection_id":128405,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:01:16] local.INFO: Processing buffer {"connection_id":128405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:01:16] local.INFO: IMEI packet received {"connection_id":128405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":128405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:01:17] local.INFO: TCP Data received {"connection_id":128405,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:01:17] local.INFO: Processing buffer {"connection_id":128405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:01:17] local.INFO: IMEI packet received {"connection_id":128405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":128405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:01:22] local.INFO: TCP Data received {"connection_id":128405,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:01:22] local.INFO: Processing buffer {"connection_id":128405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:01:22] local.INFO: IMEI packet received {"connection_id":128405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":128405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:01:23] local.INFO: TCP Data received {"connection_id":128405,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f02c750012d7d948005e20018000d011224..."} 
[2026-07-11 08:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f02c750012d7d948005e20018000d011224..."} 
[2026-07-11 08:01:23] local.INFO: Processing buffer {"connection_id":128405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f02c750012d7d948005e20018000d011224..."} 
[2026-07-11 08:01:23] local.INFO: Packet analysis {"connection_id":128405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f02"} 
[2026-07-11 08:01:23] local.INFO: Extracted packet for processing {"connection_id":128405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f02"} 
[2026-07-11 08:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763204736,"raw_latitude":98697240,"longitude_deg":76.3204736,"latitude_deg":9.869724,"altitude":13,"angle":274,"satellites":36,"speed":20,"hex_longitude":"2d7d9480","hex_latitude":"05e20018","is_valid_coordinates":true} 
[2026-07-11 08:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636671744001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104909867604508672,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9058990675722008576,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783737010000,"timestamp_ms":1783737010000,"timestamp_seconds":1783737010,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f02c750"} 
[2026-07-11 08:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 08:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 08:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636671744001,"66":13200,"61":206,"85":15104,"24":20,"16":104909867604508672,"45":9058990675722008576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 08:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636671744001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:01:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 08:01:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104909867604508672,"km_value":104909867604508.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9058990675722008576,"description":"Unknown IO ID 45"} 
[2026-07-11 08:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636671744001,"power":13200,"unknown_61":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9058990675722008576}} 
[2026-07-11 08:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":128405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:01:23] local.INFO: GPS data processed {"connection_id":128405,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:01:23] local.INFO: Acknowledgment sent {"connection_id":128405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:01:42] local.INFO: TCP Data received {"connection_id":129113,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:01:42] local.INFO: Processing buffer {"connection_id":129113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:01:42] local.INFO: Packet analysis {"connection_id":129113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:01:42] local.INFO: Extracted packet for processing {"connection_id":129113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":129113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:01:42] local.INFO: GPS data processed {"connection_id":129113,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:01:42] local.INFO: Acknowledgment sent {"connection_id":129113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:01:55] local.INFO: TCP Data received {"connection_id":128405,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0301e8012d7d6f0005e20350000e011325..."} 
[2026-07-11 08:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0301e8012d7d6f0005e20350000e011325..."} 
[2026-07-11 08:01:55] local.INFO: Processing buffer {"connection_id":128405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0301e8012d7d6f0005e20350000e011325..."} 
[2026-07-11 08:01:55] local.INFO: Packet analysis {"connection_id":128405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f03"} 
[2026-07-11 08:01:55] local.INFO: Extracted packet for processing {"connection_id":128405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f03"} 
[2026-07-11 08:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763195136,"raw_latitude":98698064,"longitude_deg":76.3195136,"latitude_deg":9.8698064,"altitude":14,"angle":275,"satellites":37,"speed":34,"hex_longitude":"2d7d6f00","hex_latitude":"05e20350","is_valid_coordinates":true} 
[2026-07-11 08:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636674560001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104910327166009344,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9048998314049017856,"note":"Value kept but may cause issues"} 
[2026-07-11 08:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783737025000,"timestamp_ms":1783737025000,"timestamp_seconds":1783737025,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0301e8"} 
[2026-07-11 08:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:01:55] 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-07-11 08:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-11 08:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":128405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":128405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":128405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636674560001,"66":13493,"61":206,"85":15104,"24":34,"16":104910327166009344,"45":9048998314049017856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 08:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636674560001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:01:55] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 08:01:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104910327166009344,"km_value":104910327166009.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9048998314049017856,"description":"Unknown IO ID 45"} 
[2026-07-11 08:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636674560001,"power":13493,"unknown_61":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9048998314049017856}} 
[2026-07-11 08:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":128405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:01:56] local.INFO: GPS data processed {"connection_id":128405,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:01:56] local.INFO: Acknowledgment sent {"connection_id":128405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:02:05] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:02:05] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:02:05] local.INFO: IMEI packet received {"connection_id":130362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":130362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:02:10] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:02:10] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:02:10] local.INFO: IMEI packet received {"connection_id":130362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":130362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:02:10] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:02:10] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:02:10] local.INFO: Packet analysis {"connection_id":130362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:02:10] local.INFO: Extracted packet for processing {"connection_id":130362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:02:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":130362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:02:10] local.INFO: GPS data processed {"connection_id":130362,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:02:10] local.INFO: Acknowledgment sent {"connection_id":130362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:02:11] local.INFO: TCP Data received {"connection_id":128406,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:02:11] local.INFO: Processing buffer {"connection_id":128406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:02:11] local.INFO: IMEI packet received {"connection_id":128406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":128406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:02:17] local.INFO: TCP Data received {"connection_id":128407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:17] local.INFO: Processing buffer {"connection_id":128407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:17] local.INFO: IMEI packet received {"connection_id":128407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":128407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:02:17] local.INFO: TCP Data received {"connection_id":128407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:17] local.INFO: Processing buffer {"connection_id":128407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:17] local.INFO: IMEI packet received {"connection_id":128407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":128407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:02:18] local.INFO: TCP Data received {"connection_id":128407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:18] local.INFO: Processing buffer {"connection_id":128407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:18] local.INFO: IMEI packet received {"connection_id":128407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":128407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:02:19] local.INFO: TCP Data received {"connection_id":128407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:19] local.INFO: Processing buffer {"connection_id":128407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:02:19] local.INFO: IMEI packet received {"connection_id":128407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":128407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:02:42] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:02:42] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:02:42] local.INFO: Packet analysis {"connection_id":130362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:02:42] local.INFO: Extracted packet for processing {"connection_id":130362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:02:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":130362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:02:42] local.INFO: GPS data processed {"connection_id":130362,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:02:42] local.INFO: Acknowledgment sent {"connection_id":130362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:02:46] local.INFO: TCP Data received {"connection_id":128408,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:02:46] local.INFO: Processing buffer {"connection_id":128408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:02:46] local.INFO: IMEI packet received {"connection_id":128408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":128408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:02:51] local.INFO: TCP Data received {"connection_id":128408,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:02:51] local.INFO: Processing buffer {"connection_id":128408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:02:51] local.INFO: IMEI packet received {"connection_id":128408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 08:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":128408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:02:52] local.INFO: TCP Data received {"connection_id":128408,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ee2cbd0012d0d628006ea0dd0001600b028..."} 
[2026-07-11 08:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ee2cbd0012d0d628006ea0dd0001600b028..."} 
[2026-07-11 08:02:52] local.INFO: Processing buffer {"connection_id":128408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ee2cbd0012d0d628006ea0dd0001600b028..."} 
[2026-07-11 08:02:52] local.INFO: Packet analysis {"connection_id":128408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ee2"} 
[2026-07-11 08:02:52] local.INFO: Extracted packet for processing {"connection_id":128408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ee2"} 
[2026-07-11 08:02:52] local.INFO: GPS Element Parsed {"raw_longitude":755851904,"raw_latitude":116002256,"longitude_deg":75.5851904,"latitude_deg":11.6002256,"altitude":22,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d0d6280","hex_latitude":"06ea0dd0","is_valid_coordinates":true} 
[2026-07-11 08:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636060928001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134979350255632384,"note":"Value kept but may cause issues"} 
[2026-07-11 08:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395640320,"note":"Value kept but may cause issues"} 
[2026-07-11 08:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783734914000,"timestamp_ms":1783734914000,"timestamp_seconds":1783734914,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ee2cbd0"} 
[2026-07-11 08:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-11 08:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":128408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":128408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 08:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":128408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 08:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 08:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 08:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636060928001,"66":25267,"237":206,"80":6400,"24":0,"16":134979350255632384,"45":964474037395640320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,80,24,16,45]} 
[2026-07-11 08:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 08:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 08:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636060928001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:02:52] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-11 08:02:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 08:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134979350255632384,"km_value":134979350255632.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395640320,"description":"Unknown IO ID 45"} 
[2026-07-11 08:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636060928001,"power":25267,"unknown_237":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395640320}} 
[2026-07-11 08:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":128408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:02:52] local.INFO: GPS data processed {"connection_id":128408,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:02:52] local.INFO: Acknowledgment sent {"connection_id":128408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:03:05] local.INFO: TCP Data received {"connection_id":128208,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:03:05] local.INFO: Processing buffer {"connection_id":128208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:03:05] local.INFO: IMEI packet received {"connection_id":128208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:03:10] local.INFO: TCP Data received {"connection_id":128208,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:03:10] local.INFO: Processing buffer {"connection_id":128208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:03:10] local.INFO: IMEI packet received {"connection_id":128208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":128208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:03:11] local.INFO: TCP Data received {"connection_id":128208,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:03:11] local.INFO: Processing buffer {"connection_id":128208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:03:11] local.INFO: Packet analysis {"connection_id":128208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:03:11] local.INFO: Extracted packet for processing {"connection_id":128208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:03:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":128208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:03:11] local.INFO: GPS data processed {"connection_id":128208,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:03:11] local.INFO: Acknowledgment sent {"connection_id":128208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:03:36] local.INFO: TCP Data received {"connection_id":130363,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:03:36] local.INFO: Processing buffer {"connection_id":130363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:03:36] local.INFO: IMEI packet received {"connection_id":130363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":130363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:03:42] local.INFO: TCP Data received {"connection_id":128208,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:03:42] local.INFO: Processing buffer {"connection_id":128208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:03:42] local.INFO: Packet analysis {"connection_id":128208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:03:42] local.INFO: Extracted packet for processing {"connection_id":128208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:03:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":128208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:03:42] local.INFO: GPS data processed {"connection_id":128208,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:03:42] local.INFO: Acknowledgment sent {"connection_id":128208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:04:05] local.INFO: TCP Data received {"connection_id":128409,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:04:05] local.INFO: Processing buffer {"connection_id":128409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:04:05] local.INFO: IMEI packet received {"connection_id":128409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:04:10] local.INFO: TCP Data received {"connection_id":128409,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:04:10] local.INFO: Processing buffer {"connection_id":128409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:04:10] local.INFO: IMEI packet received {"connection_id":128409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":128409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:04:10] local.INFO: TCP Data received {"connection_id":128409,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:04:10] local.INFO: Processing buffer {"connection_id":128409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:04:10] local.INFO: Packet analysis {"connection_id":128409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:04:10] local.INFO: Extracted packet for processing {"connection_id":128409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:04:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":128409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:04:10] local.INFO: GPS data processed {"connection_id":128409,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:04:10] local.INFO: Acknowledgment sent {"connection_id":128409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:04:41] local.INFO: TCP Data received {"connection_id":128409,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:04:41] local.INFO: Processing buffer {"connection_id":128409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f01d138012cb29ac007823b28004700db27..."} 
[2026-07-11 08:04:41] local.INFO: Packet analysis {"connection_id":128409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:04:41] local.INFO: Extracted packet for processing {"connection_id":128409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f01"} 
[2026-07-11 08:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636581376001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783736947000,"timestamp_ms":1783736947000,"timestamp_seconds":1783736947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f01d138"} 
[2026-07-11 08:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636581376001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636581376001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:04:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636581376001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":128409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:04:41] local.INFO: GPS data processed {"connection_id":128409,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:04:41] local.INFO: Acknowledgment sent {"connection_id":128409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:05:05] local.INFO: TCP Data received {"connection_id":128410,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:05:05] local.INFO: Processing buffer {"connection_id":128410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:05:05] local.INFO: IMEI packet received {"connection_id":128410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":128410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:05:10] local.INFO: TCP Data received {"connection_id":128410,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:05:10] local.INFO: Processing buffer {"connection_id":128410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:05:10] local.INFO: IMEI packet received {"connection_id":128410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":128410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:05:11] local.INFO: TCP Data received {"connection_id":128410,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:05:11] local.INFO: Processing buffer {"connection_id":128410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:05:11] local.INFO: Packet analysis {"connection_id":128410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:05:11] local.INFO: Extracted packet for processing {"connection_id":128410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":128410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:05:11] local.INFO: GPS data processed {"connection_id":128410,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:05:11] local.INFO: Acknowledgment sent {"connection_id":128410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:05:42] local.INFO: TCP Data received {"connection_id":128410,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:05:42] local.INFO: Processing buffer {"connection_id":128410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:05:42] local.INFO: Packet analysis {"connection_id":128410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:05:42] local.INFO: Extracted packet for processing {"connection_id":128410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:05:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":128410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:05:42] local.INFO: GPS data processed {"connection_id":128410,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:05:42] local.INFO: Acknowledgment sent {"connection_id":128410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:06:05] local.INFO: TCP Data received {"connection_id":129116,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:06:05] local.INFO: Processing buffer {"connection_id":129116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:06:05] local.INFO: IMEI packet received {"connection_id":129116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":129116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:06:09] local.INFO: TCP Data received {"connection_id":129116,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:06:10] local.INFO: Processing buffer {"connection_id":129116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:06:10] local.INFO: IMEI packet received {"connection_id":129116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":129116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:06:10] local.INFO: TCP Data received {"connection_id":129116,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:06:10] local.INFO: Processing buffer {"connection_id":129116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:06:10] local.INFO: Packet analysis {"connection_id":129116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:06:10] local.INFO: Extracted packet for processing {"connection_id":129116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:06:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":129116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:06:10] local.INFO: GPS data processed {"connection_id":129116,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:06:10] local.INFO: Acknowledgment sent {"connection_id":129116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:06:41] local.INFO: TCP Data received {"connection_id":129116,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:06:41] local.INFO: Processing buffer {"connection_id":129116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:06:41] local.INFO: Packet analysis {"connection_id":129116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:06:41] local.INFO: Extracted packet for processing {"connection_id":129116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08: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-07-11 08:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:06:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":129116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:06:41] local.INFO: GPS data processed {"connection_id":129116,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:06:41] local.INFO: Acknowledgment sent {"connection_id":129116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:07:05] local.INFO: TCP Data received {"connection_id":128411,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:07:05] local.INFO: Processing buffer {"connection_id":128411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:07:05] local.INFO: IMEI packet received {"connection_id":128411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":128411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:07:10] local.INFO: TCP Data received {"connection_id":128411,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:07:10] local.INFO: Processing buffer {"connection_id":128411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:07:10] local.INFO: IMEI packet received {"connection_id":128411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":128411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:07:11] local.INFO: TCP Data received {"connection_id":128411,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:07:11] local.INFO: Processing buffer {"connection_id":128411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:07:11] local.INFO: Packet analysis {"connection_id":128411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:07:11] local.INFO: Extracted packet for processing {"connection_id":128411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":128411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:07:11] local.INFO: GPS data processed {"connection_id":128411,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:07:11] local.INFO: Acknowledgment sent {"connection_id":128411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:07:22] local.INFO: TCP Data received {"connection_id":128212,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:07:22] local.INFO: Processing buffer {"connection_id":128212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:07:22] local.INFO: IMEI packet received {"connection_id":128212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":128212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:07:22] local.INFO: TCP Data received {"connection_id":128212,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f080af8012d7b46c005e15d90000701131d..."} 
[2026-07-11 08:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f080af8012d7b46c005e15d90000701131d..."} 
[2026-07-11 08:07:22] local.INFO: Processing buffer {"connection_id":128212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f080af8012d7b46c005e15d90000701131d..."} 
[2026-07-11 08:07:22] local.INFO: Packet analysis {"connection_id":128212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f08"} 
[2026-07-11 08:07:22] local.INFO: Extracted packet for processing {"connection_id":128212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f08"} 
[2026-07-11 08:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763053760,"raw_latitude":98655632,"longitude_deg":76.305376,"latitude_deg":9.8655632,"altitude":7,"angle":275,"satellites":29,"speed":5,"hex_longitude":"2d7b46c0","hex_latitude":"05e15d90","is_valid_coordinates":true} 
[2026-07-11 08:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636762624001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104918667992498176,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883139184011614208,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783737355000,"timestamp_ms":1783737355000,"timestamp_seconds":1783737355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f080af8"} 
[2026-07-11 08:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:07: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-07-11 08:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 08:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636762624001,"66":13037,"169":206,"85":15104,"24":5,"16":104918667992498176,"45":8883139184011614208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 08:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636762624001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:07:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 08:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104918667992498176,"km_value":104918667992498.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883139184011614208,"description":"Unknown IO ID 45"} 
[2026-07-11 08:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636762624001,"power":13037,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8883139184011614208}} 
[2026-07-11 08:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":128212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:07:22] local.INFO: GPS data processed {"connection_id":128212,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:07:22] local.INFO: Acknowledgment sent {"connection_id":128212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:07:42] local.INFO: TCP Data received {"connection_id":128411,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:07:42] local.INFO: Processing buffer {"connection_id":128411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:07:42] local.INFO: Packet analysis {"connection_id":128411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:07:42] local.INFO: Extracted packet for processing {"connection_id":128411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":128411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:07:42] local.INFO: GPS data processed {"connection_id":128411,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:07:42] local.INFO: Acknowledgment sent {"connection_id":128411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:07:54] local.INFO: TCP Data received {"connection_id":128212,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f080ee0012d7b460005e15dc0000701251d..."} 
[2026-07-11 08:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f080ee0012d7b460005e15dc0000701251d..."} 
[2026-07-11 08:07:54] local.INFO: Processing buffer {"connection_id":128212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f080ee0012d7b460005e15dc0000701251d..."} 
[2026-07-11 08:07:54] local.INFO: Packet analysis {"connection_id":128212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f08"} 
[2026-07-11 08:07:54] local.INFO: Extracted packet for processing {"connection_id":128212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f08"} 
[2026-07-11 08:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98655680,"longitude_deg":76.3053568,"latitude_deg":9.865568,"altitude":7,"angle":293,"satellites":29,"speed":6,"hex_longitude":"2d7b4600","hex_latitude":"05e15dc0","is_valid_coordinates":true} 
[2026-07-11 08:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636762880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104918676582432768,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882998446523256832,"note":"Value kept but may cause issues"} 
[2026-07-11 08:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783737356000,"timestamp_ms":1783737356000,"timestamp_seconds":1783737356,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f080ee0"} 
[2026-07-11 08:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:07: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-07-11 08:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-11 08:07:54] 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-07-11 08:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636762880001,"66":13037,"169":206,"85":15104,"24":6,"16":104918676582432768,"45":8882998446523256832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 08:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636762880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:07:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 08:07:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104918676582432768,"km_value":104918676582432.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882998446523256832,"description":"Unknown IO ID 45"} 
[2026-07-11 08:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636762880001,"power":13037,"unknown_169":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8882998446523256832}} 
[2026-07-11 08:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":128212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:07:54] local.INFO: GPS data processed {"connection_id":128212,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:07:54] local.INFO: Acknowledgment sent {"connection_id":128212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:08:05] local.INFO: TCP Data received {"connection_id":128412,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:08:05] local.INFO: Processing buffer {"connection_id":128412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:08:05] local.INFO: IMEI packet received {"connection_id":128412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":128412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:08:10] local.INFO: TCP Data received {"connection_id":128412,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:08:10] local.INFO: Processing buffer {"connection_id":128412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:08:10] local.INFO: IMEI packet received {"connection_id":128412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":128412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:08:10] local.INFO: TCP Data received {"connection_id":128412,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:08:10] local.INFO: Processing buffer {"connection_id":128412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:08:10] local.INFO: Packet analysis {"connection_id":128412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:08:10] local.INFO: Extracted packet for processing {"connection_id":128412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:08:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":128412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:08:10] local.INFO: GPS data processed {"connection_id":128412,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:08:10] local.INFO: Acknowledgment sent {"connection_id":128412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:08:16] local.INFO: TCP Data received {"connection_id":129118,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:08:16] local.INFO: Processing buffer {"connection_id":129118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:08:16] local.INFO: IMEI packet received {"connection_id":129118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":129118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:08:21] local.INFO: TCP Data received {"connection_id":129118,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:08:21] local.INFO: Processing buffer {"connection_id":129118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:08:21] local.INFO: IMEI packet received {"connection_id":129118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":129118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:08:22] local.INFO: TCP Data received {"connection_id":129118,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f09eb70012d7b250005e26a60000b01601e..."} 
[2026-07-11 08:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f09eb70012d7b250005e26a60000b01601e..."} 
[2026-07-11 08:08:22] local.INFO: Processing buffer {"connection_id":129118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f09eb70012d7b250005e26a60000b01601e..."} 
[2026-07-11 08:08:22] local.INFO: Packet analysis {"connection_id":129118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f09"} 
[2026-07-11 08:08:22] local.INFO: Extracted packet for processing {"connection_id":129118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f09"} 
[2026-07-11 08:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763045120,"raw_latitude":98724448,"longitude_deg":76.304512,"latitude_deg":9.8724448,"altitude":11,"angle":352,"satellites":30,"speed":31,"hex_longitude":"2d7b2500","hex_latitude":"05e26a60","is_valid_coordinates":true} 
[2026-07-11 08:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636790784001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104922048131760128,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672213936128,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783737478000,"timestamp_ms":1783737478000,"timestamp_seconds":1783737478,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f09eb70"} 
[2026-07-11 08:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:08: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-07-11 08:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57886714530518331,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":8,"raw_value":1916282936299421701,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277289295121047384,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":225,"raw_value":6989586656061628160,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2415971751,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3218210816,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783479296,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":167,"raw_value":-6268783815842326528,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:22] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,169,85,24,241,157,16,193,159,98,45,35,7,36,10,66,192,4,8,29,194,1,240,117,227,79,225,113,205,43,120,59,56,239,51,2,116,5,34,14,167,84],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-11 08:08:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720967508253933568,"timestamp_seconds":720967508253933.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 08:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":129118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":129118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":129118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636790784001,"66":13178,"169":206,"85":15104,"24":31,"16":104922048131760128,"45":8874835672213936128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 08:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636790784001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:08:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 08:08:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104922048131760128,"km_value":104922048131760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672213936128,"description":"Unknown IO ID 45"} 
[2026-07-11 08:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636790784001,"power":13178,"unknown_169":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8874835672213936128}} 
[2026-07-11 08:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":129118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:08:22] local.INFO: GPS data processed {"connection_id":129118,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:08:22] local.INFO: Acknowledgment sent {"connection_id":129118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:08:41] local.INFO: TCP Data received {"connection_id":128412,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:08:41] local.INFO: Processing buffer {"connection_id":128412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:08:41] local.INFO: Packet analysis {"connection_id":128412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:08:41] local.INFO: Extracted packet for processing {"connection_id":128412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:08: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-07-11 08:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:08:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":128412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:08:41] local.INFO: GPS data processed {"connection_id":128412,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:08:41] local.INFO: Acknowledgment sent {"connection_id":128412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:08:55] local.INFO: TCP Data received {"connection_id":129118,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0a1668012d7b208005e28cd8000c01601a..."} 
[2026-07-11 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0a1668012d7b208005e28cd8000c01601a..."} 
[2026-07-11 08:08:55] local.INFO: Processing buffer {"connection_id":129118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0a1668012d7b208005e28cd8000c01601a..."} 
[2026-07-11 08:08:55] local.INFO: Packet analysis {"connection_id":129118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:08:55] local.INFO: Extracted packet for processing {"connection_id":129118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98733272,"longitude_deg":76.3043968,"latitude_deg":9.8733272,"altitude":12,"angle":352,"satellites":26,"speed":29,"hex_longitude":"2d7b2080","hex_latitude":"05e28cd8","is_valid_coordinates":true} 
[2026-07-11 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636794368001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104922481923457024,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873498666076889088,"note":"Value kept but may cause issues"} 
[2026-07-11 08:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783737489000,"timestamp_ms":1783737489000,"timestamp_seconds":1783737489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0a1668"} 
[2026-07-11 08:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:08: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-07-11 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-11 08:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":129118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":129118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":129118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636794368001,"66":13222,"96":206,"85":15104,"24":29,"16":104922481923457024,"45":8873498666076889088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 08:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636794368001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:08:55] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 08:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104922481923457024,"km_value":104922481923457.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873498666076889088,"description":"Unknown IO ID 45"} 
[2026-07-11 08:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636794368001,"power":13222,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8873498666076889088}} 
[2026-07-11 08:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":129118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:08:55] local.INFO: GPS data processed {"connection_id":129118,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:08:55] local.INFO: Acknowledgment sent {"connection_id":129118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:08:56] local.INFO: TCP Data received {"connection_id":128413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:08:56] local.INFO: Processing buffer {"connection_id":128413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:08:56] local.INFO: IMEI packet received {"connection_id":128413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":128413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:09:05] local.INFO: TCP Data received {"connection_id":128414,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:09:05] local.INFO: Processing buffer {"connection_id":128414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:09:05] local.INFO: IMEI packet received {"connection_id":128414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":128414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:09:10] local.INFO: TCP Data received {"connection_id":128414,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:09:10] local.INFO: Processing buffer {"connection_id":128414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:09:10] local.INFO: IMEI packet received {"connection_id":128414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":128414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:09:11] local.INFO: TCP Data received {"connection_id":128414,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:09:11] local.INFO: Processing buffer {"connection_id":128414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:09:11] local.INFO: Packet analysis {"connection_id":128414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:09:11] local.INFO: Extracted packet for processing {"connection_id":128414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":128414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:09:11] local.INFO: GPS data processed {"connection_id":128414,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:09:11] local.INFO: Acknowledgment sent {"connection_id":128414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:09:16] local.INFO: TCP Data received {"connection_id":128415,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:09:16] local.INFO: Processing buffer {"connection_id":128415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:09:16] local.INFO: IMEI packet received {"connection_id":128415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":128415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:09:22] local.INFO: TCP Data received {"connection_id":128415,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:09:22] local.INFO: Processing buffer {"connection_id":128415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:09:22] local.INFO: IMEI packet received {"connection_id":128415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":128415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:09:23] local.INFO: TCP Data received {"connection_id":128415,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0a3d78012d7b1b8005e2b140000c01601a..."} 
[2026-07-11 08:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0a3d78012d7b1b8005e2b140000c01601a..."} 
[2026-07-11 08:09:23] local.INFO: Processing buffer {"connection_id":128415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0a3d78012d7b1b8005e2b140000c01601a..."} 
[2026-07-11 08:09:23] local.INFO: Packet analysis {"connection_id":128415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:09:23] local.INFO: Extracted packet for processing {"connection_id":128415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763042688,"raw_latitude":98742592,"longitude_deg":76.3042688,"latitude_deg":9.8742592,"altitude":12,"angle":352,"satellites":26,"speed":39,"hex_longitude":"2d7b1b80","hex_latitude":"05e2b140","is_valid_coordinates":true} 
[2026-07-11 08: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-07-11 08:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636797184001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104922937189990400,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872232028683950080,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783737499000,"timestamp_ms":1783737499000,"timestamp_seconds":1783737499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0a3d78"} 
[2026-07-11 08:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:09: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-07-11 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 08:09:23] 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-07-11 08: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-07-11 08:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636797184001,"66":13102,"96":206,"85":15104,"24":39,"16":104922937189990400,"45":8872232028683950080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 08:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636797184001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:09:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 08:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104922937189990400,"km_value":104922937189990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872232028683950080,"description":"Unknown IO ID 45"} 
[2026-07-11 08:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636797184001,"power":13102,"unknown_96":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8872232028683950080}} 
[2026-07-11 08:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":128415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:09:23] local.INFO: GPS data processed {"connection_id":128415,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:09:23] local.INFO: Acknowledgment sent {"connection_id":128415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:09:42] local.INFO: TCP Data received {"connection_id":128414,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:09:42] local.INFO: Processing buffer {"connection_id":128414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f066900012cb29ac007823b28004700db29..."} 
[2026-07-11 08:09:42] local.INFO: Packet analysis {"connection_id":128414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:09:42] local.INFO: Extracted packet for processing {"connection_id":128414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f06"} 
[2026-07-11 08:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636658432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783737248000,"timestamp_ms":1783737248000,"timestamp_seconds":1783737248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f066900"} 
[2026-07-11 08:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636658432001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636658432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:09:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636658432001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":128414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:09:42] local.INFO: GPS data processed {"connection_id":128414,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:09:42] local.INFO: Acknowledgment sent {"connection_id":128414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:09:54] local.INFO: TCP Data received {"connection_id":128415,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0a60a0012d7b160005e2d4f8000b015f19..."} 
[2026-07-11 08:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0a60a0012d7b160005e2d4f8000b015f19..."} 
[2026-07-11 08:09:54] local.INFO: Processing buffer {"connection_id":128415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0a60a0012d7b160005e2d4f8000b015f19..."} 
[2026-07-11 08:09:54] local.INFO: Packet analysis {"connection_id":128415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:09:54] local.INFO: Extracted packet for processing {"connection_id":128415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763041280,"raw_latitude":98751736,"longitude_deg":76.304128,"latitude_deg":9.8751736,"altitude":11,"angle":351,"satellites":25,"speed":39,"hex_longitude":"2d7b1600","hex_latitude":"05e2d4f8","is_valid_coordinates":true} 
[2026-07-11 08:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636799744001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104923383866589184,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870824653802782720,"note":"Value kept but may cause issues"} 
[2026-07-11 08:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783737508000,"timestamp_ms":1783737508000,"timestamp_seconds":1783737508,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0a60a0"} 
[2026-07-11 08:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:09: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-07-11 08:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 08:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636799744001,"66":13102,"96":206,"85":15104,"24":39,"16":104923383866589184,"45":8870824653802782720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 08:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636799744001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:09:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 08:09:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104923383866589184,"km_value":104923383866589.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870824653802782720,"description":"Unknown IO ID 45"} 
[2026-07-11 08:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636799744001,"power":13102,"unknown_96":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8870824653802782720}} 
[2026-07-11 08:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":128415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:09:54] local.INFO: GPS data processed {"connection_id":128415,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:09:54] local.INFO: Acknowledgment sent {"connection_id":128415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:10:10] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:10:10] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:10:10] local.INFO: IMEI packet received {"connection_id":130367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":130367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:10:15] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:10:15] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:10:15] local.INFO: IMEI packet received {"connection_id":130367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":130367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:10:16] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:10:16] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:10:16] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:10:16] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:10:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:10:16] local.INFO: GPS data processed {"connection_id":130367,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:10:16] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:10:22] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:10:22] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:10:22] local.INFO: IMEI packet received {"connection_id":129119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":129119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:10:27] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:10:27] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:10:27] local.INFO: IMEI packet received {"connection_id":129119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":129119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:10:28] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0a83c8012d7b124005e2f7a8000b016218..."} 
[2026-07-11 08:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0a83c8012d7b124005e2f7a8000b016218..."} 
[2026-07-11 08:10:28] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0a83c8012d7b124005e2f7a8000b016218..."} 
[2026-07-11 08:10:28] local.INFO: Packet analysis {"connection_id":129119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:10:28] local.INFO: Extracted packet for processing {"connection_id":129119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98760616,"longitude_deg":76.304032,"latitude_deg":9.8760616,"altitude":11,"angle":354,"satellites":24,"speed":37,"hex_longitude":"2d7b1240","hex_latitude":"05e2f7a8","is_valid_coordinates":true} 
[2026-07-11 08: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-07-11 08:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636802048001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104923817658286080,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869276541433214976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783737517000,"timestamp_ms":1783737517000,"timestamp_seconds":1783737517,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0a83c8"} 
[2026-07-11 08:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 08:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":129119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":129119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":129119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636802048001,"66":13428,"96":206,"85":15104,"24":37,"16":104923817658286080,"45":8869276541433214976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 08:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636802048001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:10:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 08:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104923817658286080,"km_value":104923817658286.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869276541433214976,"description":"Unknown IO ID 45"} 
[2026-07-11 08:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636802048001,"power":13428,"unknown_96":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8869276541433214976}} 
[2026-07-11 08:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":129119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:10:28] local.INFO: GPS data processed {"connection_id":129119,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:10:28] local.INFO: Acknowledgment sent {"connection_id":129119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:10:29] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0aaad8012d7b0bc005e31bc0000a015f15..."} 
[2026-07-11 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0aaad8012d7b0bc005e31bc0000a015f15..."} 
[2026-07-11 08:10:29] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0aaad8012d7b0bc005e31bc0000a015f15..."} 
[2026-07-11 08:10:29] local.INFO: Packet analysis {"connection_id":129119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:10:29] local.INFO: Extracted packet for processing {"connection_id":129119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98769856,"longitude_deg":76.3038656,"latitude_deg":9.8769856,"altitude":10,"angle":351,"satellites":21,"speed":34,"hex_longitude":"2d7b0bc0","hex_latitude":"05e31bc0","is_valid_coordinates":true} 
[2026-07-11 08: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-07-11 08:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636804352001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104924272924819456,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010272823296,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783737527000,"timestamp_ms":1783737527000,"timestamp_seconds":1783737527,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0aaad8"} 
[2026-07-11 08:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:10: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-07-11 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 08:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":129119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":129119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":129119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636804352001,"66":13178,"96":206,"85":15104,"24":34,"16":104924272924819456,"45":8868221010272823296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 08:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636804352001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:10:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 08:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104924272924819456,"km_value":104924272924819.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010272823296,"description":"Unknown IO ID 45"} 
[2026-07-11 08:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636804352001,"power":13178,"unknown_96":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8868221010272823296}} 
[2026-07-11 08:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":129119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:10:29] local.INFO: GPS data processed {"connection_id":129119,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:10:29] local.INFO: Acknowledgment sent {"connection_id":129119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:10:47] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:10:47] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:10:47] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:10:47] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:10:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:10:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:10:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:10:47] local.INFO: GPS data processed {"connection_id":130367,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:10:47] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:11:00] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0ad1e8012d7b098005e33a380008000217..."} 
[2026-07-11 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0ad1e8012d7b098005e33a380008000217..."} 
[2026-07-11 08:11:00] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0ad1e8012d7b098005e33a380008000217..."} 
[2026-07-11 08:11:00] local.INFO: Packet analysis {"connection_id":129119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:11:00] local.INFO: Extracted packet for processing {"connection_id":129119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0a"} 
[2026-07-11 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98777656,"longitude_deg":76.303808,"latitude_deg":9.8777656,"altitude":8,"angle":2,"satellites":23,"speed":21,"hex_longitude":"2d7b0980","hex_latitude":"05e33a38","is_valid_coordinates":true} 
[2026-07-11 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636806912001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104924655176908800,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422926569472,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783737537000,"timestamp_ms":1783737537000,"timestamp_seconds":1783737537,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0ad1e8"} 
[2026-07-11 08:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:11: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-07-11 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-11 08:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":129119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":129119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":129119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636806912001,"66":12722,"96":206,"85":15104,"24":21,"16":104924655176908800,"45":8866391422926569472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 08:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636806912001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:11:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 08:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104924655176908800,"km_value":104924655176908.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422926569472,"description":"Unknown IO ID 45"} 
[2026-07-11 08:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636806912001,"power":12722,"unknown_96":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8866391422926569472}} 
[2026-07-11 08:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":129119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:11:00] local.INFO: GPS data processed {"connection_id":129119,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:11:00] local.INFO: Acknowledgment sent {"connection_id":129119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:11:05] local.INFO: TCP Data received {"connection_id":128416,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:11:05] local.INFO: Processing buffer {"connection_id":128416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:11:05] local.INFO: IMEI packet received {"connection_id":128416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":128416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:11:10] local.INFO: TCP Data received {"connection_id":128416,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:11:10] local.INFO: Processing buffer {"connection_id":128416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:11:10] local.INFO: IMEI packet received {"connection_id":128416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":128416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:11:11] local.INFO: TCP Data received {"connection_id":128416,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:11:11] local.INFO: Processing buffer {"connection_id":128416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:11:11] local.INFO: Packet analysis {"connection_id":128416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:11:11] local.INFO: Extracted packet for processing {"connection_id":128416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":128416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:11:11] local.INFO: GPS data processed {"connection_id":128416,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:11:11] local.INFO: Acknowledgment sent {"connection_id":128416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:11:19] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:11:19] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:11:19] local.INFO: IMEI packet received {"connection_id":130369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":130369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:11:20] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:11:20] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:11:20] local.INFO: IMEI packet received {"connection_id":130369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":130369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:11:22] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:11:22] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:11:22] local.INFO: IMEI packet received {"connection_id":130369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":130369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:11:24] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.17","data_length":1340,"data_hex":"000000000000030f8e0a0000019f4f0cbe18012d7a8b4005e44be00008013424..."} 
[2026-07-11 08:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019f4f0cbe18012d7a8b4005e44be00008013424..."} 
[2026-07-11 08:11:24] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019f4f0cbe18012d7a8b4005e44be00008013424..."} 
[2026-07-11 08:11:24] local.INFO: Packet analysis {"connection_id":130369,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019f4f0c"} 
[2026-07-11 08:11:24] local.INFO: Extracted packet for processing {"connection_id":130369,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f4f0c"} 
[2026-07-11 08:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763005760,"raw_latitude":98847712,"longitude_deg":76.300576,"latitude_deg":9.8847712,"altitude":8,"angle":308,"satellites":36,"speed":42,"hex_longitude":"2d7a8b40","hex_latitude":"05e44be0","is_valid_coordinates":true} 
[2026-07-11 08:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636839424001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104928520647475200,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838173556529795072,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783737663000,"timestamp_ms":1783737663000,"timestamp_seconds":1783737663,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0cbe18"} 
[2026-07-11 08:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:11: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-07-11 08:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":227,"raw_value":8219069362923512576,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-11 08:11:24] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3892391290,"corrected_to":0} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2147869616,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3318808576,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3817672704,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3715470987428986885,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,199,159,104,45,64,27,13,37,10,66,88,18,35,198,1,240,138,227,79,4,113,205,32,203,230,112,239,52,2,116,5,9,192,11],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":203,"original":3892391290,"validated":0}]} 
[2026-07-11 08:11:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720916947900104704,"timestamp_seconds":720916947900104.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 08:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636839424001,"66":13189,"97":206,"85":15104,"24":42,"16":104928520647475200,"45":8838173556529795072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 08:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636839424001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 08:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104928520647475200,"km_value":104928520647475.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838173556529795072,"description":"Unknown IO ID 45"} 
[2026-07-11 08:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636839424001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8838173556529795072}} 
[2026-07-11 08:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":130369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:11:24] local.INFO: GPS data processed {"connection_id":130369,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:11:24] local.INFO: Acknowledgment sent {"connection_id":130369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:11:24] local.INFO: Packet analysis {"connection_id":130369,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f4f0c"} 
[2026-07-11 08:11:24] local.INFO: Incomplete packet, waiting for more data {"connection_id":130369,"needed":795,"available":545} 
[2026-07-11 08:11:26] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.17","data_length":1045,"data_hex":"e300100174c639000000000000019f4f0bcbe8012d7ae68005e3b070000d0156..."} 
[2026-07-11 08:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":1045,"packet_hex":"e300100174c639000000000000019f4f0bcbe8012d7ae68005e3b070000d0156..."} 
[2026-07-11 08:11:26] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f4f0ce528012d7a6e8005e462380006013423..."} 
[2026-07-11 08:11:26] local.INFO: Packet analysis {"connection_id":130369,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f4f0c"} 
[2026-07-11 08:11:26] local.INFO: Extracted packet for processing {"connection_id":130369,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0c"} 
[2026-07-11 08:11:26] local.INFO: GPS Element Parsed {"raw_longitude":762998400,"raw_latitude":98853432,"longitude_deg":76.29984,"latitude_deg":9.8853432,"altitude":6,"angle":308,"satellites":35,"speed":25,"hex_longitude":"2d7a6e80","hex_latitude":"05e46238","is_valid_coordinates":true} 
[2026-07-11 08:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636841728001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104928967324073984,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830221888439181312,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783737673000,"timestamp_ms":1783737673000,"timestamp_seconds":1783737673,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0ce528"} 
[2026-07-11 08:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:11: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-07-11 08:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 08:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636841728001,"66":13135,"97":206,"85":15104,"24":25,"16":104928967324073984,"45":8830221888439181312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 08:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636841728001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:11:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 08:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104928967324073984,"km_value":104928967324073.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830221888439181312,"description":"Unknown IO ID 45"} 
[2026-07-11 08:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636841728001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8830221888439181312}} 
[2026-07-11 08:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":130369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:11:26] local.INFO: GPS data processed {"connection_id":130369,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:11:26] local.INFO: Acknowledgment sent {"connection_id":130369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:11:26] local.INFO: Packet analysis {"connection_id":130369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0d"} 
[2026-07-11 08:11:26] local.INFO: Extracted packet for processing {"connection_id":130369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0d"} 
[2026-07-11 08:11:26] local.INFO: GPS Element Parsed {"raw_longitude":762996032,"raw_latitude":98855232,"longitude_deg":76.2996032,"latitude_deg":9.8855232,"altitude":4,"angle":291,"satellites":36,"speed":10,"hex_longitude":"2d7a6540","hex_latitude":"05e46940","is_valid_coordinates":true} 
[2026-07-11 08:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636844288001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104929113352962048,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822129482860214272,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783737680000,"timestamp_ms":1783737680000,"timestamp_seconds":1783737680,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0d0080"} 
[2026-07-11 08:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:11: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-07-11 08:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-11 08:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636844288001,"66":13243,"97":206,"85":15104,"24":10,"16":104929113352962048,"45":8822129482860214272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 08:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636844288001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:11:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 08:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104929113352962048,"km_value":104929113352962.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822129482860214272,"description":"Unknown IO ID 45"} 
[2026-07-11 08:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636844288001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8822129482860214272}} 
[2026-07-11 08:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":130369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:11:26] local.INFO: GPS data processed {"connection_id":130369,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:11:26] local.INFO: Acknowledgment sent {"connection_id":130369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:11:42] local.INFO: TCP Data received {"connection_id":128416,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:11:42] local.INFO: Processing buffer {"connection_id":128416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:11:42] local.INFO: Packet analysis {"connection_id":128416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:11:42] local.INFO: Extracted packet for processing {"connection_id":128416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":128416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:11:42] local.INFO: GPS data processed {"connection_id":128416,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:11:42] local.INFO: Acknowledgment sent {"connection_id":128416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:11:59] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0d0850012d7a638005e469980003010c24..."} 
[2026-07-11 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0d0850012d7a638005e469980003010c24..."} 
[2026-07-11 08:11:59] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0d0850012d7a638005e469980003010c24..."} 
[2026-07-11 08:11:59] local.INFO: Packet analysis {"connection_id":130369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0d"} 
[2026-07-11 08:11:59] local.INFO: Extracted packet for processing {"connection_id":130369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0d"} 
[2026-07-11 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":762995584,"raw_latitude":98855320,"longitude_deg":76.2995584,"latitude_deg":9.885532,"altitude":3,"angle":268,"satellites":36,"speed":8,"hex_longitude":"2d7a6380","hex_latitude":"05e46998","is_valid_coordinates":true} 
[2026-07-11 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-07-11 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636846080001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104929134827798528,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819525839326101504,"note":"Value kept but may cause issues"} 
[2026-07-11 08:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783737682000,"timestamp_ms":1783737682000,"timestamp_seconds":1783737682,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0d0850"} 
[2026-07-11 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-07-11 08:11: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-07-11 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 08:11: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-07-11 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-07-11 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-07-11 08:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636846080001,"66":13189,"97":206,"85":15104,"24":8,"16":104929134827798528,"45":8819525839326101504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 08:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636846080001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 08:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104929134827798528,"km_value":104929134827798.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819525839326101504,"description":"Unknown IO ID 45"} 
[2026-07-11 08:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636846080001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8819525839326101504}} 
[2026-07-11 08:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":130369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:11:59] local.INFO: GPS data processed {"connection_id":130369,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:11:59] local.INFO: Acknowledgment sent {"connection_id":130369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:12:05] local.INFO: TCP Data received {"connection_id":129120,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:12:05] local.INFO: Processing buffer {"connection_id":129120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:12:05] local.INFO: IMEI packet received {"connection_id":129120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":129120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:12:10] local.INFO: TCP Data received {"connection_id":129120,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:12:10] local.INFO: Processing buffer {"connection_id":129120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:12:10] local.INFO: IMEI packet received {"connection_id":129120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":129120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:12:10] local.INFO: TCP Data received {"connection_id":129120,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:12:10] local.INFO: Processing buffer {"connection_id":129120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:12:10] local.INFO: Packet analysis {"connection_id":129120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:12:10] local.INFO: Extracted packet for processing {"connection_id":129120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":129120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:12:10] local.INFO: GPS data processed {"connection_id":129120,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:12:10] local.INFO: Acknowledgment sent {"connection_id":129120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:12:27] local.INFO: TCP Data received {"connection_id":130370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:12:27] local.INFO: Processing buffer {"connection_id":130370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:12:27] local.INFO: IMEI packet received {"connection_id":130370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":130370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:12:32] local.INFO: TCP Data received {"connection_id":130370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:12:32] local.INFO: Processing buffer {"connection_id":130370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:12:32] local.INFO: IMEI packet received {"connection_id":130370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":130370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:12:33] local.INFO: TCP Data received {"connection_id":130370,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0d1020012d7a620005e46958000300f824..."} 
[2026-07-11 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0d1020012d7a620005e46958000300f824..."} 
[2026-07-11 08:12:33] local.INFO: Processing buffer {"connection_id":130370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0d1020012d7a620005e46958000300f824..."} 
[2026-07-11 08:12:33] local.INFO: Packet analysis {"connection_id":130370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0d"} 
[2026-07-11 08:12:33] local.INFO: Extracted packet for processing {"connection_id":130370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0d"} 
[2026-07-11 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":98855256,"longitude_deg":76.29952,"latitude_deg":9.8855256,"altitude":3,"angle":248,"satellites":36,"speed":5,"hex_longitude":"2d7a6200","hex_latitude":"05e46958","is_valid_coordinates":true} 
[2026-07-11 08:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636846592001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104929152007667712,"note":"Value kept but may cause issues"} 
[2026-07-11 08:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819033258116880384,"note":"Value kept but may cause issues"} 
[2026-07-11 08:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783737684000,"timestamp_ms":1783737684000,"timestamp_seconds":1783737684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0d1020"} 
[2026-07-11 08:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:12: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-07-11 08:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 08:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636846592001,"66":13276,"97":206,"85":15104,"24":5,"16":104929152007667712,"45":8819033258116880384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 08:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636846592001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 08:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104929152007667712,"km_value":104929152007667.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819033258116880384,"description":"Unknown IO ID 45"} 
[2026-07-11 08:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636846592001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8819033258116880384}} 
[2026-07-11 08:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":130370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:12:33] local.INFO: GPS data processed {"connection_id":130370,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:12:33] local.INFO: Acknowledgment sent {"connection_id":130370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:12:41] local.INFO: TCP Data received {"connection_id":129120,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:12:41] local.INFO: Processing buffer {"connection_id":129120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:12:41] local.INFO: Packet analysis {"connection_id":129120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:12:41] local.INFO: Extracted packet for processing {"connection_id":129120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:12: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-07-11 08:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:12:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":129120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:12:41] local.INFO: GPS data processed {"connection_id":129120,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:12:41] local.INFO: Acknowledgment sent {"connection_id":129120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:13:05] local.INFO: TCP Data received {"connection_id":128214,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:13:05] local.INFO: Processing buffer {"connection_id":128214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:13:05] local.INFO: IMEI packet received {"connection_id":128214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":128214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:13:10] local.INFO: TCP Data received {"connection_id":128214,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:13:10] local.INFO: Processing buffer {"connection_id":128214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:13:10] local.INFO: IMEI packet received {"connection_id":128214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":128214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:13:11] local.INFO: TCP Data received {"connection_id":128214,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:13:11] local.INFO: Processing buffer {"connection_id":128214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:13:11] local.INFO: Packet analysis {"connection_id":128214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:13:11] local.INFO: Extracted packet for processing {"connection_id":128214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":128214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:13:11] local.INFO: GPS data processed {"connection_id":128214,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:13:11] local.INFO: Acknowledgment sent {"connection_id":128214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:13:16] local.INFO: TCP Data received {"connection_id":128215,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:13:16] local.INFO: Processing buffer {"connection_id":128215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:13:16] local.INFO: IMEI packet received {"connection_id":128215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":128215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:13:22] local.INFO: TCP Data received {"connection_id":128215,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:13:22] local.INFO: Processing buffer {"connection_id":128215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:13:22] local.INFO: IMEI packet received {"connection_id":128215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":128215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:13:22] local.INFO: TCP Data received {"connection_id":128215,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0d5e40012d7a424005e45e38000b00fb24..."} 
[2026-07-11 08:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0d5e40012d7a424005e45e38000b00fb24..."} 
[2026-07-11 08:13:22] local.INFO: Processing buffer {"connection_id":128215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0d5e40012d7a424005e45e38000b00fb24..."} 
[2026-07-11 08:13:22] local.INFO: Packet analysis {"connection_id":128215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0d"} 
[2026-07-11 08:13:22] local.INFO: Extracted packet for processing {"connection_id":128215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0d"} 
[2026-07-11 08:13:22] local.INFO: GPS Element Parsed {"raw_longitude":762987072,"raw_latitude":98852408,"longitude_deg":76.2987072,"latitude_deg":9.8852408,"altitude":11,"angle":251,"satellites":36,"speed":11,"hex_longitude":"2d7a4240","hex_latitude":"05e45e38","is_valid_coordinates":true} 
[2026-07-11 08:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636847104001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104929568619495424,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045651798016,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783737704000,"timestamp_ms":1783737704000,"timestamp_seconds":1783737704,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0d5e40"} 
[2026-07-11 08:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:13: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-07-11 08:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-11 08:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636847104001,"66":13450,"97":206,"85":15104,"24":11,"16":104929568619495424,"45":8818611045651798016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 08:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636847104001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:13:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 08:13:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 08:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104929568619495424,"km_value":104929568619495.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045651798016,"description":"Unknown IO ID 45"} 
[2026-07-11 08:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636847104001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8818611045651798016}} 
[2026-07-11 08:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":128215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:13:22] local.INFO: GPS data processed {"connection_id":128215,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:13:22] local.INFO: Acknowledgment sent {"connection_id":128215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:13:42] local.INFO: TCP Data received {"connection_id":128214,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:13:42] local.INFO: Processing buffer {"connection_id":128214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:13:42] local.INFO: Packet analysis {"connection_id":128214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:13:42] local.INFO: Extracted packet for processing {"connection_id":128214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":128214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:13:42] local.INFO: GPS data processed {"connection_id":128214,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:13:42] local.INFO: Acknowledgment sent {"connection_id":128214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:13:54] local.INFO: TCP Data received {"connection_id":128215,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f3300012d79e38005e48cb0000900ac24..."} 
[2026-07-11 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f3300012d79e38005e48cb0000900ac24..."} 
[2026-07-11 08:13:54] local.INFO: Processing buffer {"connection_id":128215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f3300012d79e38005e48cb0000900ac24..."} 
[2026-07-11 08:13:54] local.INFO: Packet analysis {"connection_id":128215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:13:54] local.INFO: Extracted packet for processing {"connection_id":128215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":762962816,"raw_latitude":98864304,"longitude_deg":76.2962816,"latitude_deg":9.8864304,"altitude":9,"angle":172,"satellites":36,"speed":12,"hex_longitude":"2d79e380","hex_latitude":"05e48cb0","is_valid_coordinates":true} 
[2026-07-11 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636882432001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104931402570530816,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783004461100371968,"note":"Value kept but may cause issues"} 
[2026-07-11 08:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783737824000,"timestamp_ms":1783737824000,"timestamp_seconds":1783737824,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f3300"} 
[2026-07-11 08:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-11 08:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636882432001,"66":13276,"157":206,"87":12288,"24":12,"16":104931402570530816,"45":8783004461100371968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636882432001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:13:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:13:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104931402570530816,"km_value":104931402570530.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783004461100371968,"description":"Unknown IO ID 45"} 
[2026-07-11 08:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636882432001,"power":13276,"unknown_157":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8783004461100371968}} 
[2026-07-11 08:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":128215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:13:54] local.INFO: GPS data processed {"connection_id":128215,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:13:54] local.INFO: Acknowledgment sent {"connection_id":128215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:14:04] local.INFO: TCP Data received {"connection_id":129122,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:14:04] local.INFO: Processing buffer {"connection_id":129122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:14:04] local.INFO: IMEI packet received {"connection_id":129122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":129122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:14:09] local.INFO: TCP Data received {"connection_id":129122,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:14:09] local.INFO: Processing buffer {"connection_id":129122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:14:09] local.INFO: IMEI packet received {"connection_id":129122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":129122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:14:10] local.INFO: TCP Data received {"connection_id":129122,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:14:10] local.INFO: Processing buffer {"connection_id":129122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:14:10] local.INFO: Packet analysis {"connection_id":129122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:14:10] local.INFO: Extracted packet for processing {"connection_id":129122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:14:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":129122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:14:10] local.INFO: GPS data processed {"connection_id":129122,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:14:10] local.INFO: Acknowledgment sent {"connection_id":129122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:14:22] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:14:22] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:14:22] local.INFO: IMEI packet received {"connection_id":130372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":130372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:14:26] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:14:26] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:14:26] local.INFO: IMEI packet received {"connection_id":130372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":130372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:14:27] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f3ad0012d79e3c005e48a70000900b124..."} 
[2026-07-11 08:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f3ad0012d79e3c005e48a70000900b124..."} 
[2026-07-11 08:14:27] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f3ad0012d79e3c005e48a70000900b124..."} 
[2026-07-11 08:14:27] local.INFO: Packet analysis {"connection_id":130372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:14:27] local.INFO: Extracted packet for processing {"connection_id":130372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:14:27] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":98863728,"longitude_deg":76.296288,"latitude_deg":9.8863728,"altitude":9,"angle":177,"satellites":36,"speed":10,"hex_longitude":"2d79e3c0","hex_latitude":"05e48a70","is_valid_coordinates":true} 
[2026-07-11 08:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636882944001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104931432635301888,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783004461100216320,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783737826000,"timestamp_ms":1783737826000,"timestamp_seconds":1783737826,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f3ad0"} 
[2026-07-11 08:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:14:27] 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-07-11 08:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-11 08:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636882944001,"66":13417,"157":206,"87":12288,"24":10,"16":104931432635301888,"45":8783004461100216320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636882944001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:14:27] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:14:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104931432635301888,"km_value":104931432635301.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783004461100216320,"description":"Unknown IO ID 45"} 
[2026-07-11 08:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636882944001,"power":13417,"unknown_157":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8783004461100216320}} 
[2026-07-11 08:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":130372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:14:27] local.INFO: GPS data processed {"connection_id":130372,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:14:27] local.INFO: Acknowledgment sent {"connection_id":130372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:14:32] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f3ad0012d79e3c005e48a70000900b124..."} 
[2026-07-11 08:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f3ad0012d79e3c005e48a70000900b124..."} 
[2026-07-11 08:14:32] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f3ad0012d79e3c005e48a70000900b124..."} 
[2026-07-11 08:14:32] local.INFO: Packet analysis {"connection_id":130372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:14:32] local.INFO: Extracted packet for processing {"connection_id":130372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:14:32] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":98863728,"longitude_deg":76.296288,"latitude_deg":9.8863728,"altitude":9,"angle":177,"satellites":36,"speed":10,"hex_longitude":"2d79e3c0","hex_latitude":"05e48a70","is_valid_coordinates":true} 
[2026-07-11 08:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636883456001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104931432635301888,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829844246528,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783737826000,"timestamp_ms":1783737826000,"timestamp_seconds":1783737826,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f3ad0"} 
[2026-07-11 08:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-11 08:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636883456001,"66":13417,"157":206,"87":12288,"24":10,"16":104931432635301888,"45":8783074829844246528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636883456001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:14:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:14:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104931432635301888,"km_value":104931432635301.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829844246528,"description":"Unknown IO ID 45"} 
[2026-07-11 08:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636883456001,"power":13417,"unknown_157":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8783074829844246528}} 
[2026-07-11 08:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":130372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:14:32] local.INFO: GPS data processed {"connection_id":130372,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:14:32] local.INFO: Acknowledgment sent {"connection_id":130372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:14:41] local.INFO: TCP Data received {"connection_id":129122,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:14:41] local.INFO: Processing buffer {"connection_id":129122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0b00c8012cb29ac007823b28004700db28..."} 
[2026-07-11 08:14:41] local.INFO: Packet analysis {"connection_id":129122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:14:41] local.INFO: Extracted packet for processing {"connection_id":129122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0b"} 
[2026-07-11 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636735488001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783737549000,"timestamp_ms":1783737549000,"timestamp_seconds":1783737549,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0b00c8"} 
[2026-07-11 08:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:14: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-07-11 08:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636735488001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636735488001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:14:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636735488001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":129122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:14:41] local.INFO: GPS data processed {"connection_id":129122,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:14:41] local.INFO: Acknowledgment sent {"connection_id":129122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:14:46] local.INFO: TCP Data received {"connection_id":128417,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:14:46] local.INFO: Processing buffer {"connection_id":128417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:14:46] local.INFO: IMEI packet received {"connection_id":128417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":128417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:15:10] local.INFO: TCP Data received {"connection_id":129123,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:15:10] local.INFO: Processing buffer {"connection_id":129123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:15:10] local.INFO: IMEI packet received {"connection_id":129123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":129123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:15:15] local.INFO: TCP Data received {"connection_id":129123,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:15:15] local.INFO: Processing buffer {"connection_id":129123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:15:15] local.INFO: IMEI packet received {"connection_id":129123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":129123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:15:16] local.INFO: TCP Data received {"connection_id":129123,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:15:16] local.INFO: Processing buffer {"connection_id":129123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:15:16] local.INFO: Packet analysis {"connection_id":129123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:15:16] local.INFO: Extracted packet for processing {"connection_id":129123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:15:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:15:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":129123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:15:16] local.INFO: GPS data processed {"connection_id":129123,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:15:16] local.INFO: Acknowledgment sent {"connection_id":129123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:15:16] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:15:16] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:15:16] local.INFO: IMEI packet received {"connection_id":130373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":130373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:15:20] local.INFO: TCP Data received {"connection_id":129123,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:15:20] local.INFO: Processing buffer {"connection_id":129123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:15:20] local.INFO: Packet analysis {"connection_id":129123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:15:20] local.INFO: Extracted packet for processing {"connection_id":129123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:15:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:15:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":129123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:15:20] local.INFO: GPS data processed {"connection_id":129123,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:15:20] local.INFO: Acknowledgment sent {"connection_id":129123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:15:21] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:15:21] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:15:21] local.INFO: IMEI packet received {"connection_id":130373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":130373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:15:22] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f107738012d79e5c005e488a0000a00b725..."} 
[2026-07-11 08:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f107738012d79e5c005e488a0000a00b725..."} 
[2026-07-11 08:15:22] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f107738012d79e5c005e488a0000a00b725..."} 
[2026-07-11 08:15:22] local.INFO: Packet analysis {"connection_id":130373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f10"} 
[2026-07-11 08:15:22] local.INFO: Extracted packet for processing {"connection_id":130373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f10"} 
[2026-07-11 08:15:22] local.INFO: GPS Element Parsed {"raw_longitude":762963392,"raw_latitude":98863264,"longitude_deg":76.2963392,"latitude_deg":9.8863264,"altitude":10,"angle":183,"satellites":37,"speed":0,"hex_longitude":"2d79e5c0","hex_latitude":"05e488a0","is_valid_coordinates":true} 
[2026-07-11 08:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636883456001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104931432635301888,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829844246528,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783737907000,"timestamp_ms":1783737907000,"timestamp_seconds":1783737907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f107738"} 
[2026-07-11 08:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-11 08:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636883456001,"66":13243,"157":206,"87":12288,"24":0,"16":104931432635301888,"45":8783074829844246528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636883456001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:15:22] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:15:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104931432635301888,"km_value":104931432635301.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829844246528,"description":"Unknown IO ID 45"} 
[2026-07-11 08:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636883456001,"power":13243,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8783074829844246528}} 
[2026-07-11 08:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":130373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:15:22] local.INFO: GPS data processed {"connection_id":130373,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:15:22] local.INFO: Acknowledgment sent {"connection_id":130373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:15:53] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f107738012d79e5c005e488a0000a00b725..."} 
[2026-07-11 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f107738012d79e5c005e488a0000a00b725..."} 
[2026-07-11 08:15:53] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f107738012d79e5c005e488a0000a00b725..."} 
[2026-07-11 08:15:53] local.INFO: Packet analysis {"connection_id":130373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f10"} 
[2026-07-11 08:15:53] local.INFO: Extracted packet for processing {"connection_id":130373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f10"} 
[2026-07-11 08:15:53] local.INFO: GPS Element Parsed {"raw_longitude":762963392,"raw_latitude":98863264,"longitude_deg":76.2963392,"latitude_deg":9.8863264,"altitude":10,"angle":183,"satellites":37,"speed":0,"hex_longitude":"2d79e5c0","hex_latitude":"05e488a0","is_valid_coordinates":true} 
[2026-07-11 08:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636904192001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104931432635301888,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783637779797549056,"note":"Value kept but may cause issues"} 
[2026-07-11 08:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783737907000,"timestamp_ms":1783737907000,"timestamp_seconds":1783737907,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f107738"} 
[2026-07-11 08:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 08:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 08:15:53] 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-07-11 08:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636904192001,"66":13243,"157":206,"87":12288,"24":0,"16":104931432635301888,"45":8783637779797549056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636904192001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:15:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:15:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104931432635301888,"km_value":104931432635301.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783637779797549056,"description":"Unknown IO ID 45"} 
[2026-07-11 08:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636904192001,"power":13243,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8783637779797549056}} 
[2026-07-11 08:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":130373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:15:53] local.INFO: GPS data processed {"connection_id":130373,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:15:53] local.INFO: Acknowledgment sent {"connection_id":130373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:16:05] local.INFO: TCP Data received {"connection_id":128217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:16:05] local.INFO: Processing buffer {"connection_id":128217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:16:05] local.INFO: IMEI packet received {"connection_id":128217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":128217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:16:09] local.INFO: TCP Data received {"connection_id":128217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:16:10] local.INFO: Processing buffer {"connection_id":128217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:16:10] local.INFO: IMEI packet received {"connection_id":128217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":128217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:16:10] local.INFO: TCP Data received {"connection_id":128217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:16:10] local.INFO: Processing buffer {"connection_id":128217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:16:10] local.INFO: Packet analysis {"connection_id":128217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:16:10] local.INFO: Extracted packet for processing {"connection_id":128217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:16:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":128217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:16:10] local.INFO: GPS data processed {"connection_id":128217,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:16:10] local.INFO: Acknowledgment sent {"connection_id":128217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:16:15] local.INFO: TCP Data received {"connection_id":128218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:15] local.INFO: Processing buffer {"connection_id":128218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:15] local.INFO: IMEI packet received {"connection_id":128218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":128218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:16:16] local.INFO: TCP Data received {"connection_id":128218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:16] local.INFO: Processing buffer {"connection_id":128218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:16] local.INFO: IMEI packet received {"connection_id":128218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":128218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:16:17] local.INFO: TCP Data received {"connection_id":128218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:17] local.INFO: Processing buffer {"connection_id":128218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:17] local.INFO: IMEI packet received {"connection_id":128218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":128218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:16:18] local.INFO: TCP Data received {"connection_id":128218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:18] local.INFO: Processing buffer {"connection_id":128218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:16:18] local.INFO: IMEI packet received {"connection_id":128218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":128218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:16:41] local.INFO: TCP Data received {"connection_id":128217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:16:41] local.INFO: Processing buffer {"connection_id":128217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:16:41] local.INFO: Packet analysis {"connection_id":128217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:16:41] local.INFO: Extracted packet for processing {"connection_id":128217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:16: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-07-11 08:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:16:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":128217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:16:41] local.INFO: GPS data processed {"connection_id":128217,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:16:41] local.INFO: Acknowledgment sent {"connection_id":128217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:17:05] local.INFO: TCP Data received {"connection_id":128418,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:17:05] local.INFO: Processing buffer {"connection_id":128418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:17:05] local.INFO: IMEI packet received {"connection_id":128418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":128418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:17:10] local.INFO: TCP Data received {"connection_id":128418,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:17:10] local.INFO: Processing buffer {"connection_id":128418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:17:10] local.INFO: IMEI packet received {"connection_id":128418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":128418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:17:11] local.INFO: TCP Data received {"connection_id":128418,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:17:11] local.INFO: Processing buffer {"connection_id":128418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:17:11] local.INFO: Packet analysis {"connection_id":128418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:17:11] local.INFO: Extracted packet for processing {"connection_id":128418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":128418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:17:11] local.INFO: GPS data processed {"connection_id":128418,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:17:11] local.INFO: Acknowledgment sent {"connection_id":128418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:17:42] local.INFO: TCP Data received {"connection_id":128418,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:17:42] local.INFO: Processing buffer {"connection_id":128418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:17:42] local.INFO: Packet analysis {"connection_id":128418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:17:42] local.INFO: Extracted packet for processing {"connection_id":128418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":128418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:17:42] local.INFO: GPS data processed {"connection_id":128418,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:17:42] local.INFO: Acknowledgment sent {"connection_id":128418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:18:05] local.INFO: TCP Data received {"connection_id":128221,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:18:05] local.INFO: Processing buffer {"connection_id":128221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:18:05] local.INFO: IMEI packet received {"connection_id":128221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":128221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:18:10] local.INFO: TCP Data received {"connection_id":128221,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:18:10] local.INFO: Processing buffer {"connection_id":128221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:18:10] local.INFO: IMEI packet received {"connection_id":128221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":128221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:18:10] local.INFO: TCP Data received {"connection_id":128221,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:18:10] local.INFO: Processing buffer {"connection_id":128221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:18:10] local.INFO: Packet analysis {"connection_id":128221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:18:10] local.INFO: Extracted packet for processing {"connection_id":128221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":128221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:18:10] local.INFO: GPS data processed {"connection_id":128221,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:18:10] local.INFO: Acknowledgment sent {"connection_id":128221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:18:41] local.INFO: TCP Data received {"connection_id":128221,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:18:41] local.INFO: Processing buffer {"connection_id":128221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:18:41] local.INFO: Packet analysis {"connection_id":128221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:18:41] local.INFO: Extracted packet for processing {"connection_id":128221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:18: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-07-11 08:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:18:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":128221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:18:41] local.INFO: GPS data processed {"connection_id":128221,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:18:41] local.INFO: Acknowledgment sent {"connection_id":128221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:19:05] local.INFO: TCP Data received {"connection_id":129125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:19:05] local.INFO: Processing buffer {"connection_id":129125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:19:05] local.INFO: IMEI packet received {"connection_id":129125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":129125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:19:10] local.INFO: TCP Data received {"connection_id":129125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:19:10] local.INFO: Processing buffer {"connection_id":129125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:19:10] local.INFO: IMEI packet received {"connection_id":129125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":129125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:19:11] local.INFO: TCP Data received {"connection_id":129125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:19:11] local.INFO: Processing buffer {"connection_id":129125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:19:11] local.INFO: Packet analysis {"connection_id":129125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:19:11] local.INFO: Extracted packet for processing {"connection_id":129125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:19:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":129125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:19:11] local.INFO: GPS data processed {"connection_id":129125,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:19:11] local.INFO: Acknowledgment sent {"connection_id":129125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:19:42] local.INFO: TCP Data received {"connection_id":129125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:19:42] local.INFO: Processing buffer {"connection_id":129125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f0f9890012cb29ac007823b28004700db25..."} 
[2026-07-11 08:19:42] local.INFO: Packet analysis {"connection_id":129125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:19:42] local.INFO: Extracted packet for processing {"connection_id":129125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f0f"} 
[2026-07-11 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636812544001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783737850000,"timestamp_ms":1783737850000,"timestamp_seconds":1783737850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f0f9890"} 
[2026-07-11 08:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636812544001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636812544001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636812544001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":129125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:19:42] local.INFO: GPS data processed {"connection_id":129125,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:19:42] local.INFO: Acknowledgment sent {"connection_id":129125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:20:10] local.INFO: TCP Data received {"connection_id":128223,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:20:10] local.INFO: Processing buffer {"connection_id":128223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:20:10] local.INFO: IMEI packet received {"connection_id":128223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":128223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:20:16] local.INFO: TCP Data received {"connection_id":128222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:20:16] local.INFO: Processing buffer {"connection_id":128222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:20:16] local.INFO: IMEI packet received {"connection_id":128222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":128222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:20:18] local.INFO: TCP Data received {"connection_id":128223,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:20:18] local.INFO: Processing buffer {"connection_id":128223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:20:18] local.INFO: IMEI packet received {"connection_id":128223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":128223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:20:19] local.INFO: TCP Data received {"connection_id":128223,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:20:19] local.INFO: Processing buffer {"connection_id":128223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:20:19] local.INFO: Packet analysis {"connection_id":128223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:20:19] local.INFO: Extracted packet for processing {"connection_id":128223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:20:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:20:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:20:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:20:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":128223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:20:19] local.INFO: GPS data processed {"connection_id":128223,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:20:19] local.INFO: Acknowledgment sent {"connection_id":128223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:20:50] local.INFO: TCP Data received {"connection_id":128223,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:20:50] local.INFO: Processing buffer {"connection_id":128223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:20:50] local.INFO: Packet analysis {"connection_id":128223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:20:50] local.INFO: Extracted packet for processing {"connection_id":128223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":128223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":128223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":128223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:20:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":128223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:20:50] local.INFO: GPS data processed {"connection_id":128223,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:20:50] local.INFO: Acknowledgment sent {"connection_id":128223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:20:52] local.INFO: TCP Data received {"connection_id":128224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:20:52] local.INFO: Processing buffer {"connection_id":128224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:20:52] local.INFO: IMEI packet received {"connection_id":128224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":128224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:21:05] local.INFO: TCP Data received {"connection_id":128420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:21:05] local.INFO: Processing buffer {"connection_id":128420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:21:05] local.INFO: IMEI packet received {"connection_id":128420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":128420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:21:10] local.INFO: TCP Data received {"connection_id":128420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:21:10] local.INFO: Processing buffer {"connection_id":128420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:21:10] local.INFO: IMEI packet received {"connection_id":128420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":128420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:21:11] local.INFO: TCP Data received {"connection_id":128420,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:21:11] local.INFO: Processing buffer {"connection_id":128420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:21:11] local.INFO: Packet analysis {"connection_id":128420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:21:11] local.INFO: Extracted packet for processing {"connection_id":128420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":128420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:21:11] local.INFO: GPS data processed {"connection_id":128420,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:21:11] local.INFO: Acknowledgment sent {"connection_id":128420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:21:22] local.INFO: TCP Data received {"connection_id":129127,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:21:22] local.INFO: Processing buffer {"connection_id":129127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:21:22] local.INFO: IMEI packet received {"connection_id":129127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":129127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:21:23] local.INFO: TCP Data received {"connection_id":129127,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f125f80012d7a1c0005e467e8000c010924..."} 
[2026-07-11 08:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f125f80012d7a1c0005e467e8000c010924..."} 
[2026-07-11 08:21:23] local.INFO: Processing buffer {"connection_id":129127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f125f80012d7a1c0005e467e8000c010924..."} 
[2026-07-11 08:21:23] local.INFO: Packet analysis {"connection_id":129127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f12"} 
[2026-07-11 08:21:23] local.INFO: Extracted packet for processing {"connection_id":129127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f12"} 
[2026-07-11 08:21:23] local.INFO: GPS Element Parsed {"raw_longitude":762977280,"raw_latitude":98854888,"longitude_deg":76.297728,"latitude_deg":9.8854888,"altitude":12,"angle":265,"satellites":36,"speed":7,"hex_longitude":"2d7a1c00","hex_latitude":"05e467e8","is_valid_coordinates":true} 
[2026-07-11 08:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636934912001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932905809084416,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800174434677276672,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783738032000,"timestamp_ms":1783738032000,"timestamp_seconds":1783738032,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f125f80"} 
[2026-07-11 08:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:21: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-07-11 08:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 08:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636934912001,"66":13363,"157":206,"87":12288,"24":7,"16":104932905809084416,"45":8800174434677276672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636934912001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:21:23] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:21:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932905809084416,"km_value":104932905809084.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800174434677276672,"description":"Unknown IO ID 45"} 
[2026-07-11 08:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636934912001,"power":13363,"unknown_157":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8800174434677276672}} 
[2026-07-11 08:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":129127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:21:23] local.INFO: GPS data processed {"connection_id":129127,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:21:23] local.INFO: Acknowledgment sent {"connection_id":129127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:21:42] local.INFO: TCP Data received {"connection_id":128420,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:21:42] local.INFO: Processing buffer {"connection_id":128420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:21:42] local.INFO: Packet analysis {"connection_id":128420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:21:42] local.INFO: Extracted packet for processing {"connection_id":128420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":128420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:21:42] local.INFO: GPS data processed {"connection_id":128420,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:21:42] local.INFO: Acknowledgment sent {"connection_id":128420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:21:55] local.INFO: TCP Data received {"connection_id":129127,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f129a18012d7a1ac005e467a0000c010324..."} 
[2026-07-11 08:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f129a18012d7a1ac005e467a0000c010324..."} 
[2026-07-11 08:21:55] local.INFO: Processing buffer {"connection_id":129127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f129a18012d7a1ac005e467a0000c010324..."} 
[2026-07-11 08:21:55] local.INFO: Packet analysis {"connection_id":129127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f12"} 
[2026-07-11 08:21:55] local.INFO: Extracted packet for processing {"connection_id":129127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f12"} 
[2026-07-11 08:21:55] local.INFO: GPS Element Parsed {"raw_longitude":762976960,"raw_latitude":98854816,"longitude_deg":76.297696,"latitude_deg":9.8854816,"altitude":12,"angle":259,"satellites":36,"speed":0,"hex_longitude":"2d7a1ac0","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-11 08:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636936192001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798907797281957888,"note":"Value kept but may cause issues"} 
[2026-07-11 08:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783738047000,"timestamp_ms":1783738047000,"timestamp_seconds":1783738047,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f129a18"} 
[2026-07-11 08:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:21:55] 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-07-11 08:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 08:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":129127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":129127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":129127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636936192001,"66":13374,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798907797281957888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636936192001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:21:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:21:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798907797281957888,"description":"Unknown IO ID 45"} 
[2026-07-11 08:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636936192001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798907797281957888}} 
[2026-07-11 08:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":129127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:21:55] local.INFO: GPS data processed {"connection_id":129127,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:21:55] local.INFO: Acknowledgment sent {"connection_id":129127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:22:05] local.INFO: TCP Data received {"connection_id":128225,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:22:05] local.INFO: Processing buffer {"connection_id":128225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:22:05] local.INFO: IMEI packet received {"connection_id":128225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":128225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:22:09] local.INFO: TCP Data received {"connection_id":128225,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:22:09] local.INFO: Processing buffer {"connection_id":128225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:22:09] local.INFO: IMEI packet received {"connection_id":128225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:22:10] local.INFO: TCP Data received {"connection_id":128225,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:22:10] local.INFO: Processing buffer {"connection_id":128225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:22:10] local.INFO: Packet analysis {"connection_id":128225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:22:10] local.INFO: Extracted packet for processing {"connection_id":128225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:22:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:22:10] local.INFO: GPS data processed {"connection_id":128225,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:22:10] local.INFO: Acknowledgment sent {"connection_id":128225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:22:22] local.INFO: TCP Data received {"connection_id":128421,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:22:22] local.INFO: Processing buffer {"connection_id":128421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:22:22] local.INFO: IMEI packet received {"connection_id":128421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":128421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:22:29] local.INFO: TCP Data received {"connection_id":128421,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:22:29] local.INFO: Processing buffer {"connection_id":128421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:22:29] local.INFO: IMEI packet received {"connection_id":128421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":128421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:22:32] local.INFO: TCP Data received {"connection_id":128421,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f129a18012d7a1ac005e467a0000c010324..."} 
[2026-07-11 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f129a18012d7a1ac005e467a0000c010324..."} 
[2026-07-11 08:22:32] local.INFO: Processing buffer {"connection_id":128421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f129a18012d7a1ac005e467a0000c010324..."} 
[2026-07-11 08:22:32] local.INFO: Packet analysis {"connection_id":128421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f12"} 
[2026-07-11 08:22:32] local.INFO: Extracted packet for processing {"connection_id":128421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f12"} 
[2026-07-11 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":762976960,"raw_latitude":98854816,"longitude_deg":76.297696,"latitude_deg":9.8854816,"altitude":12,"angle":259,"satellites":36,"speed":0,"hex_longitude":"2d7a1ac0","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-11 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636940032001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953561051136,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783738047000,"timestamp_ms":1783738047000,"timestamp_seconds":1783738047,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f129a18"} 
[2026-07-11 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 08:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636940032001,"66":13374,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798555953561051136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636940032001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:22:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:22:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953561051136,"description":"Unknown IO ID 45"} 
[2026-07-11 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636940032001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798555953561051136}} 
[2026-07-11 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":128421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:22:32] local.INFO: GPS data processed {"connection_id":128421,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:22:32] local.INFO: Acknowledgment sent {"connection_id":128421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:22:33] local.INFO: TCP Data received {"connection_id":128421,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:22:33] local.INFO: Processing buffer {"connection_id":128421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:22:33] local.INFO: Packet analysis {"connection_id":128421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:22:33] local.INFO: Extracted packet for processing {"connection_id":128421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:22:33] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":36,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636940032001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953561051136,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783738350000,"timestamp_ms":1783738350000,"timestamp_seconds":1783738350,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1739b0"} 
[2026-07-11 08:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 08:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":128421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":128421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":128421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636940032001,"66":12917,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798555953561051136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636940032001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:22:33] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953561051136,"description":"Unknown IO ID 45"} 
[2026-07-11 08:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636940032001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798555953561051136}} 
[2026-07-11 08:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":128421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:22:33] local.INFO: GPS data processed {"connection_id":128421,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:22:33] local.INFO: Acknowledgment sent {"connection_id":128421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:22:41] local.INFO: TCP Data received {"connection_id":128225,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:22:41] local.INFO: Processing buffer {"connection_id":128225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:22:41] local.INFO: Packet analysis {"connection_id":128225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:22:41] local.INFO: Extracted packet for processing {"connection_id":128225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:22: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-07-11 08:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:22:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":128225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:22:41] local.INFO: GPS data processed {"connection_id":128225,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:22:41] local.INFO: Acknowledgment sent {"connection_id":128225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:23:05] local.INFO: TCP Data received {"connection_id":128422,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:23:05] local.INFO: Processing buffer {"connection_id":128422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:23:05] local.INFO: IMEI packet received {"connection_id":128422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":128422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:23:10] local.INFO: TCP Data received {"connection_id":128422,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:23:10] local.INFO: Processing buffer {"connection_id":128422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:23:10] local.INFO: IMEI packet received {"connection_id":128422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":128422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:23:11] local.INFO: TCP Data received {"connection_id":128422,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:23:11] local.INFO: Processing buffer {"connection_id":128422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:23:11] local.INFO: Packet analysis {"connection_id":128422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:23:11] local.INFO: Extracted packet for processing {"connection_id":128422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":128422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:23:11] local.INFO: GPS data processed {"connection_id":128422,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:23:11] local.INFO: Acknowledgment sent {"connection_id":128422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:23:16] local.INFO: TCP Data received {"connection_id":128226,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:23:16] local.INFO: Processing buffer {"connection_id":128226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:23:16] local.INFO: IMEI packet received {"connection_id":128226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":128226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:23:24] local.INFO: TCP Data received {"connection_id":128226,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:23:24] local.INFO: Processing buffer {"connection_id":128226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:23:24] local.INFO: IMEI packet received {"connection_id":128226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":128226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:23:25] local.INFO: TCP Data received {"connection_id":128226,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:23:25] local.INFO: Processing buffer {"connection_id":128226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:23:25] local.INFO: Packet analysis {"connection_id":128226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:23:25] local.INFO: Extracted packet for processing {"connection_id":128226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":36,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636940032001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953561051136,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783738350000,"timestamp_ms":1783738350000,"timestamp_seconds":1783738350,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1739b0"} 
[2026-07-11 08:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 08:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":128226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":128226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":128226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636940032001,"66":12917,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798555953561051136},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636940032001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:23:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953561051136,"description":"Unknown IO ID 45"} 
[2026-07-11 08:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636940032001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798555953561051136}} 
[2026-07-11 08:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":128226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:23:25] local.INFO: GPS data processed {"connection_id":128226,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:23:25] local.INFO: Acknowledgment sent {"connection_id":128226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:23:41] local.INFO: TCP Data received {"connection_id":128422,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:23:41] local.INFO: Processing buffer {"connection_id":128422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:23:41] local.INFO: Packet analysis {"connection_id":128422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:23:41] local.INFO: Extracted packet for processing {"connection_id":128422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:23:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:23: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-07-11 08:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:23:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":128422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:23:41] local.INFO: GPS data processed {"connection_id":128422,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:23:41] local.INFO: Acknowledgment sent {"connection_id":128422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:23:58] local.INFO: TCP Data received {"connection_id":128226,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:23:58] local.INFO: Processing buffer {"connection_id":128226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:23:58] local.INFO: Packet analysis {"connection_id":128226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:23:58] local.INFO: Extracted packet for processing {"connection_id":128226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:23:58] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":36,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 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-07-11 08:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636940032001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953561051136,"note":"Value kept but may cause issues"} 
[2026-07-11 08:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783738350000,"timestamp_ms":1783738350000,"timestamp_seconds":1783738350,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1739b0"} 
[2026-07-11 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-07-11 08:23: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-07-11 08:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 08:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 08:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":128226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":128226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":128226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636940032001,"66":12917,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798555953561051136},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636940032001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:23:58] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953561051136,"description":"Unknown IO ID 45"} 
[2026-07-11 08:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636940032001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798555953561051136}} 
[2026-07-11 08:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":128226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:23:58] local.INFO: GPS data processed {"connection_id":128226,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:23:58] local.INFO: Acknowledgment sent {"connection_id":128226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:24:04] local.INFO: TCP Data received {"connection_id":130377,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:24:04] local.INFO: Processing buffer {"connection_id":130377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:24:04] local.INFO: IMEI packet received {"connection_id":130377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":130377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:24:09] local.INFO: TCP Data received {"connection_id":130377,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:24:09] local.INFO: Processing buffer {"connection_id":130377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:24:09] local.INFO: IMEI packet received {"connection_id":130377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":130377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:24:10] local.INFO: TCP Data received {"connection_id":130377,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:24:10] local.INFO: Processing buffer {"connection_id":130377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:24:10] local.INFO: Packet analysis {"connection_id":130377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:24:10] local.INFO: Extracted packet for processing {"connection_id":130377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:24:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":130377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:24:10] local.INFO: GPS data processed {"connection_id":130377,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:24:10] local.INFO: Acknowledgment sent {"connection_id":130377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:24:22] local.INFO: TCP Data received {"connection_id":129130,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:24:22] local.INFO: Processing buffer {"connection_id":129130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:24:22] local.INFO: IMEI packet received {"connection_id":129130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":129130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:24:27] local.INFO: TCP Data received {"connection_id":129130,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:24:27] local.INFO: Processing buffer {"connection_id":129130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:24:27] local.INFO: IMEI packet received {"connection_id":129130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":129130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:24:28] local.INFO: TCP Data received {"connection_id":129130,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:24:28] local.INFO: Processing buffer {"connection_id":129130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:24:28] local.INFO: Packet analysis {"connection_id":129130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:24:28] local.INFO: Extracted packet for processing {"connection_id":129130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:24:28] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":36,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636940032001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953561051136,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783738350000,"timestamp_ms":1783738350000,"timestamp_seconds":1783738350,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1739b0"} 
[2026-07-11 08:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 08:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":129130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":129130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":129130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636940032001,"66":12917,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798555953561051136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636940032001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:24:28] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:24:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953561051136,"description":"Unknown IO ID 45"} 
[2026-07-11 08:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636940032001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798555953561051136}} 
[2026-07-11 08:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":129130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:24:28] local.INFO: GPS data processed {"connection_id":129130,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:24:28] local.INFO: Acknowledgment sent {"connection_id":129130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:24:35] local.INFO: TCP Data received {"connection_id":129130,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:24:35] local.INFO: Processing buffer {"connection_id":129130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1739b0012d7a1a4005e468080015010324..."} 
[2026-07-11 08:24:35] local.INFO: Packet analysis {"connection_id":129130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:24:35] local.INFO: Extracted packet for processing {"connection_id":129130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f17"} 
[2026-07-11 08:24:35] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":36,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08: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-07-11 08:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636940032001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953561051136,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783738350000,"timestamp_ms":1783738350000,"timestamp_seconds":1783738350,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1739b0"} 
[2026-07-11 08:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08: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-07-11 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 08:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":129130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":129130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":129130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636940032001,"66":12917,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798555953561051136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636940032001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:24:35] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:24:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953561051136,"description":"Unknown IO ID 45"} 
[2026-07-11 08:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636940032001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798555953561051136}} 
[2026-07-11 08:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":129130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:24:35] local.INFO: GPS data processed {"connection_id":129130,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:24:35] local.INFO: Acknowledgment sent {"connection_id":129130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:24:41] local.INFO: TCP Data received {"connection_id":130377,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:24:41] local.INFO: Processing buffer {"connection_id":130377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f143058012cb29ac007823b28004700db27..."} 
[2026-07-11 08:24:41] local.INFO: Packet analysis {"connection_id":130377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:24:41] local.INFO: Extracted packet for processing {"connection_id":130377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f14"} 
[2026-07-11 08:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636889600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783738151000,"timestamp_ms":1783738151000,"timestamp_seconds":1783738151,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f143058"} 
[2026-07-11 08:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:24: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-07-11 08:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636889600001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636889600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:24:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636889600001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":130377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:24:41] local.INFO: GPS data processed {"connection_id":130377,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:24:41] local.INFO: Acknowledgment sent {"connection_id":130377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:25:10] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:25:10] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:25:10] local.INFO: IMEI packet received {"connection_id":130379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":130379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:25:15] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:25:15] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:25:15] local.INFO: IMEI packet received {"connection_id":130379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":130379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:25:16] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:25:16] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:25:16] local.INFO: Packet analysis {"connection_id":130379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:25:16] local.INFO: Extracted packet for processing {"connection_id":130379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:25:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:25:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":130379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:25:16] local.INFO: GPS data processed {"connection_id":130379,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:25:16] local.INFO: Acknowledgment sent {"connection_id":130379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:25:21] local.INFO: TCP Data received {"connection_id":128227,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:25:21] local.INFO: Processing buffer {"connection_id":128227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:25:21] local.INFO: IMEI packet received {"connection_id":128227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":128227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:25:22] local.INFO: TCP Data received {"connection_id":128227,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:25:22] local.INFO: Processing buffer {"connection_id":128227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:25:22] local.INFO: IMEI packet received {"connection_id":128227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":128227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:25:27] local.INFO: TCP Data received {"connection_id":128227,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:25:27] local.INFO: Processing buffer {"connection_id":128227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:25:27] local.INFO: IMEI packet received {"connection_id":128227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":128227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:25:27] local.INFO: TCP Data received {"connection_id":128227,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:25:27] local.INFO: Processing buffer {"connection_id":128227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:25:27] local.INFO: Packet analysis {"connection_id":128227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:25:27] local.INFO: Extracted packet for processing {"connection_id":128227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:25:27] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":33,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637017600001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783738496000,"timestamp_ms":1783738496000,"timestamp_seconds":1783738496,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f197400"} 
[2026-07-11 08:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 08:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637017600001,"66":12798,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637017600001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:25:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:25:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637017600001,"power":12798,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":128227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:25:27] local.INFO: GPS data processed {"connection_id":128227,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:25:27] local.INFO: Acknowledgment sent {"connection_id":128227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:25:47] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:25:47] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:25:47] local.INFO: Packet analysis {"connection_id":130379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:25:47] local.INFO: Extracted packet for processing {"connection_id":130379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:25:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:25:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":130379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:25:47] local.INFO: GPS data processed {"connection_id":130379,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:25:47] local.INFO: Acknowledgment sent {"connection_id":130379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:25:59] local.INFO: TCP Data received {"connection_id":128227,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:25:59] local.INFO: Processing buffer {"connection_id":128227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:25:59] local.INFO: Packet analysis {"connection_id":128227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:25:59] local.INFO: Extracted packet for processing {"connection_id":128227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":33,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:25: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-07-11 08:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637054976001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783738496000,"timestamp_ms":1783738496000,"timestamp_seconds":1783738496,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f197400"} 
[2026-07-11 08:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 08:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":128227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":128227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":128227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637054976001,"66":12798,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637054976001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:25:59] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:25:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637054976001,"power":12798,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":128227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:25:59] local.INFO: GPS data processed {"connection_id":128227,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:25:59] local.INFO: Acknowledgment sent {"connection_id":128227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:26:05] local.INFO: TCP Data received {"connection_id":129131,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:26:05] local.INFO: Processing buffer {"connection_id":129131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:26:05] local.INFO: IMEI packet received {"connection_id":129131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":129131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:26:09] local.INFO: TCP Data received {"connection_id":129131,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:26:09] local.INFO: Processing buffer {"connection_id":129131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:26:09] local.INFO: IMEI packet received {"connection_id":129131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":129131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:26:10] local.INFO: TCP Data received {"connection_id":129131,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:26:10] local.INFO: Processing buffer {"connection_id":129131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:26:10] local.INFO: Packet analysis {"connection_id":129131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:26:10] local.INFO: Extracted packet for processing {"connection_id":129131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:26:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":129131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:26:10] local.INFO: GPS data processed {"connection_id":129131,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:26:10] local.INFO: Acknowledgment sent {"connection_id":129131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:26:11] local.INFO: TCP Data received {"connection_id":128423,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:26:11] local.INFO: Processing buffer {"connection_id":128423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:26:11] local.INFO: IMEI packet received {"connection_id":128423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":128423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:26:22] local.INFO: TCP Data received {"connection_id":128228,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:26:22] local.INFO: Processing buffer {"connection_id":128228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:26:22] local.INFO: IMEI packet received {"connection_id":128228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":128228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:26:27] local.INFO: TCP Data received {"connection_id":128228,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:26:27] local.INFO: Processing buffer {"connection_id":128228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:26:27] local.INFO: IMEI packet received {"connection_id":128228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":128228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:26:28] local.INFO: TCP Data received {"connection_id":128228,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:26:28] local.INFO: Processing buffer {"connection_id":128228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:26:28] local.INFO: Packet analysis {"connection_id":128228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:26:28] local.INFO: Extracted packet for processing {"connection_id":128228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:26:28] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":33,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:26: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-07-11 08:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637054976001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783738496000,"timestamp_ms":1783738496000,"timestamp_seconds":1783738496,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f197400"} 
[2026-07-11 08:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":254,"data_length":795,"current_offset":136} 
[2026-07-11 08:26: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-07-11 08: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-07-11 08:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":128228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":128228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":128228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637054976001,"66":12798,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637054976001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:26:28] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:26:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637054976001,"power":12798,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":128228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:26:28] local.INFO: GPS data processed {"connection_id":128228,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:26:28] local.INFO: Acknowledgment sent {"connection_id":128228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:26:41] local.INFO: TCP Data received {"connection_id":129131,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:26:41] local.INFO: Processing buffer {"connection_id":129131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:26:41] local.INFO: Packet analysis {"connection_id":129131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:26:41] local.INFO: Extracted packet for processing {"connection_id":129131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:26: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-07-11 08:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:26:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":129131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:26:41] local.INFO: GPS data processed {"connection_id":129131,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:26:41] local.INFO: Acknowledgment sent {"connection_id":129131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:26:48] local.INFO: TCP Data received {"connection_id":128229,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:26:48] local.INFO: Processing buffer {"connection_id":128229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:26:48] local.INFO: IMEI packet received {"connection_id":128229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":128229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:27:00] local.INFO: TCP Data received {"connection_id":128228,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:27:00] local.INFO: Processing buffer {"connection_id":128228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:27:00] local.INFO: Packet analysis {"connection_id":128228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:27:00] local.INFO: Extracted packet for processing {"connection_id":128228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:27:00] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":33,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637054976001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783738496000,"timestamp_ms":1783738496000,"timestamp_seconds":1783738496,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f197400"} 
[2026-07-11 08:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 08:27: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-07-11 08:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637054976001,"66":12798,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637054976001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:27:00] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:27:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637054976001,"power":12798,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":128228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:27:00] local.INFO: GPS data processed {"connection_id":128228,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:27:00] local.INFO: Acknowledgment sent {"connection_id":128228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:27:05] local.INFO: TCP Data received {"connection_id":129132,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:27:05] local.INFO: Processing buffer {"connection_id":129132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:27:05] local.INFO: IMEI packet received {"connection_id":129132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":129132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:27:10] local.INFO: TCP Data received {"connection_id":129132,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:27:10] local.INFO: Processing buffer {"connection_id":129132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:27:10] local.INFO: IMEI packet received {"connection_id":129132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":129132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:27:11] local.INFO: TCP Data received {"connection_id":129132,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:27:11] local.INFO: Processing buffer {"connection_id":129132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:27:11] local.INFO: Packet analysis {"connection_id":129132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:27:11] local.INFO: Extracted packet for processing {"connection_id":129132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":129132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:27:11] local.INFO: GPS data processed {"connection_id":129132,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:27:11] local.INFO: Acknowledgment sent {"connection_id":129132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:27:23] local.INFO: TCP Data received {"connection_id":128424,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:27:23] local.INFO: Processing buffer {"connection_id":128424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:27:23] local.INFO: IMEI packet received {"connection_id":128424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":128424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:27:30] local.INFO: TCP Data received {"connection_id":128424,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:27:30] local.INFO: Processing buffer {"connection_id":128424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:27:30] local.INFO: IMEI packet received {"connection_id":128424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":128424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:27:31] local.INFO: TCP Data received {"connection_id":128424,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:27:31] local.INFO: Processing buffer {"connection_id":128424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:27:31] local.INFO: Packet analysis {"connection_id":128424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:27:31] local.INFO: Extracted packet for processing {"connection_id":128424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:27:31] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":33,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637054976001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783738496000,"timestamp_ms":1783738496000,"timestamp_seconds":1783738496,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f197400"} 
[2026-07-11 08:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 08:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":128424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":128424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":128424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637054976001,"66":12798,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637054976001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:27:31] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:27:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637054976001,"power":12798,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":128424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:27:31] local.INFO: GPS data processed {"connection_id":128424,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:27:31] local.INFO: Acknowledgment sent {"connection_id":128424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:27:42] local.INFO: TCP Data received {"connection_id":129132,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:27:42] local.INFO: Processing buffer {"connection_id":129132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:27:42] local.INFO: Packet analysis {"connection_id":129132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:27:42] local.INFO: Extracted packet for processing {"connection_id":129132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":129132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:27:42] local.INFO: GPS data processed {"connection_id":129132,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:27:42] local.INFO: Acknowledgment sent {"connection_id":129132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:27:44] local.INFO: TCP Data received {"connection_id":128424,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:27:44] local.INFO: Processing buffer {"connection_id":128424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f197400012d7a1a4005e468080015010321..."} 
[2026-07-11 08:27:44] local.INFO: Packet analysis {"connection_id":128424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:27:44] local.INFO: Extracted packet for processing {"connection_id":128424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f19"} 
[2026-07-11 08:27:44] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":33,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637054976001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783738496000,"timestamp_ms":1783738496000,"timestamp_seconds":1783738496,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f197400"} 
[2026-07-11 08:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 08:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637054976001,"66":12798,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637054976001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:27:44] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:27:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637054976001,"power":12798,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":128424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:27:44] local.INFO: GPS data processed {"connection_id":128424,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:27:44] local.INFO: Acknowledgment sent {"connection_id":128424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:28:05] local.INFO: TCP Data received {"connection_id":130380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:28:05] local.INFO: Processing buffer {"connection_id":130380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:28:05] local.INFO: IMEI packet received {"connection_id":130380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":130380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:28:09] local.INFO: TCP Data received {"connection_id":130380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:28:09] local.INFO: Processing buffer {"connection_id":130380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:28:09] local.INFO: IMEI packet received {"connection_id":130380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":130380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:28:10] local.INFO: TCP Data received {"connection_id":130380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:28:10] local.INFO: Processing buffer {"connection_id":130380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:28:10] local.INFO: Packet analysis {"connection_id":130380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:28:10] local.INFO: Extracted packet for processing {"connection_id":130380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:28:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":130380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:28:10] local.INFO: GPS data processed {"connection_id":130380,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:28:10] local.INFO: Acknowledgment sent {"connection_id":130380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:28:17] local.INFO: TCP Data received {"connection_id":129133,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:28:17] local.INFO: Processing buffer {"connection_id":129133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:28:17] local.INFO: IMEI packet received {"connection_id":129133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":129133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:28:22] local.INFO: TCP Data received {"connection_id":129133,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:28:22] local.INFO: Processing buffer {"connection_id":129133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:28:22] local.INFO: IMEI packet received {"connection_id":129133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":129133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:28:23] local.INFO: TCP Data received {"connection_id":129133,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1bd178012d7a1a4005e468080015010323..."} 
[2026-07-11 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1bd178012d7a1a4005e468080015010323..."} 
[2026-07-11 08:28:23] local.INFO: Processing buffer {"connection_id":129133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1bd178012d7a1a4005e468080015010323..."} 
[2026-07-11 08:28:23] local.INFO: Packet analysis {"connection_id":129133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:28:23] local.INFO: Extracted packet for processing {"connection_id":129133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":35,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637054976001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783738651000,"timestamp_ms":1783738651000,"timestamp_seconds":1783738651,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1bd178"} 
[2026-07-11 08:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 08:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637054976001,"66":2231,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637054976001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:28:23] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:28:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637054976001,"power":2231,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":129133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:28:23] local.INFO: GPS data processed {"connection_id":129133,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:28:23] local.INFO: Acknowledgment sent {"connection_id":129133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:28:41] local.INFO: TCP Data received {"connection_id":130380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:28:41] local.INFO: Processing buffer {"connection_id":130380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:28:41] local.INFO: Packet analysis {"connection_id":130380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:28:41] local.INFO: Extracted packet for processing {"connection_id":130380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:28: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-07-11 08:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:28:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":130380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:28:41] local.INFO: GPS data processed {"connection_id":130380,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:28:41] local.INFO: Acknowledgment sent {"connection_id":130380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:28:54] local.INFO: TCP Data received {"connection_id":129133,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:28:54] local.INFO: Processing buffer {"connection_id":129133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:28:54] local.INFO: Packet analysis {"connection_id":129133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:28:54] local.INFO: Extracted packet for processing {"connection_id":129133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637094656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783738655000,"timestamp_ms":1783738655000,"timestamp_seconds":1783738655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1be118"} 
[2026-07-11 08:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 08:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637094656001,"66":2242,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637094656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:28:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:28:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637094656001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":129133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:28:54] local.INFO: GPS data processed {"connection_id":129133,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:28:54] local.INFO: Acknowledgment sent {"connection_id":129133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:29:04] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:29:04] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:29:04] local.INFO: IMEI packet received {"connection_id":130381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":130381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:29:10] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:29:10] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:29:10] local.INFO: IMEI packet received {"connection_id":130381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":130381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:29:11] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:29:11] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:29:11] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:29:11] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:29:11] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:29:11] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:29:19] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:29:19] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:29:19] local.INFO: IMEI packet received {"connection_id":130382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":130382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:29:24] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:29:24] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:29:24] local.INFO: IMEI packet received {"connection_id":130382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":130382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:29:25] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:29:25] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:29:25] local.INFO: Packet analysis {"connection_id":130382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:29:25] local.INFO: Extracted packet for processing {"connection_id":130382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783738655000,"timestamp_ms":1783738655000,"timestamp_seconds":1783738655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1be118"} 
[2026-07-11 08:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":2242,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:29:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:29:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":130382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:29:25] local.INFO: GPS data processed {"connection_id":130382,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:29:25] local.INFO: Acknowledgment sent {"connection_id":130382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:29:27] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:29:27] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:29:27] local.INFO: Packet analysis {"connection_id":130382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:29:27] local.INFO: Extracted packet for processing {"connection_id":130382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:29:27] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783738655000,"timestamp_ms":1783738655000,"timestamp_seconds":1783738655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1be118"} 
[2026-07-11 08:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":2242,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:29:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:29:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":130382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:29:27] local.INFO: GPS data processed {"connection_id":130382,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:29:27] local.INFO: Acknowledgment sent {"connection_id":130382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:29:42] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:29:42] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f18c820012cb29ac007823b28004700db27..."} 
[2026-07-11 08:29:42] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:29:42] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f18"} 
[2026-07-11 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456636966656001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783738452000,"timestamp_ms":1783738452000,"timestamp_seconds":1783738452,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f18c820"} 
[2026-07-11 08:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456636966656001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456636966656001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456636966656001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:29:42] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:29:42] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:29:58] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:29:58] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:29:58] local.INFO: Packet analysis {"connection_id":130382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:29:58] local.INFO: Extracted packet for processing {"connection_id":130382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:29:58] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783738655000,"timestamp_ms":1783738655000,"timestamp_seconds":1783738655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1be118"} 
[2026-07-11 08:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":2242,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:29:58] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:29:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":130382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:29:58] local.INFO: GPS data processed {"connection_id":130382,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:29:58] local.INFO: Acknowledgment sent {"connection_id":130382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:30:09] local.INFO: TCP Data received {"connection_id":129135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:30:09] local.INFO: Processing buffer {"connection_id":129135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:30:09] local.INFO: IMEI packet received {"connection_id":129135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":129135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:30:15] local.INFO: TCP Data received {"connection_id":129135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:30:15] local.INFO: Processing buffer {"connection_id":129135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:30:15] local.INFO: IMEI packet received {"connection_id":129135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":129135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:30:16] local.INFO: TCP Data received {"connection_id":129135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:30:16] local.INFO: Processing buffer {"connection_id":129135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:30:16] local.INFO: Packet analysis {"connection_id":129135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:30:16] local.INFO: Extracted packet for processing {"connection_id":129135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:30:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:30:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":129135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:30:16] local.INFO: GPS data processed {"connection_id":129135,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:30:16] local.INFO: Acknowledgment sent {"connection_id":129135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:30:20] local.INFO: TCP Data received {"connection_id":129135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:30:20] local.INFO: Processing buffer {"connection_id":129135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:30:20] local.INFO: Packet analysis {"connection_id":129135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:30:20] local.INFO: Extracted packet for processing {"connection_id":129135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:30:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":129135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:30:20] local.INFO: GPS data processed {"connection_id":129135,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:30:20] local.INFO: Acknowledgment sent {"connection_id":129135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:30:23] local.INFO: TCP Data received {"connection_id":129136,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:30:23] local.INFO: Processing buffer {"connection_id":129136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:30:23] local.INFO: IMEI packet received {"connection_id":129136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":129136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:30:27] local.INFO: TCP Data received {"connection_id":129136,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:30:27] local.INFO: Processing buffer {"connection_id":129136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:30:27] local.INFO: IMEI packet received {"connection_id":129136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":129136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:30:27] local.INFO: TCP Data received {"connection_id":129136,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:30:27] local.INFO: Processing buffer {"connection_id":129136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:30:27] local.INFO: Packet analysis {"connection_id":129136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:30:27] local.INFO: Extracted packet for processing {"connection_id":129136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:30:27] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783738655000,"timestamp_ms":1783738655000,"timestamp_seconds":1783738655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1be118"} 
[2026-07-11 08:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":129136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":129136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":129136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":2242,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:30:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:30:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":129136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:30:27] local.INFO: GPS data processed {"connection_id":129136,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:30:27] local.INFO: Acknowledgment sent {"connection_id":129136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:30:32] local.INFO: TCP Data received {"connection_id":129136,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:30:32] local.INFO: Processing buffer {"connection_id":129136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:30:32] local.INFO: Packet analysis {"connection_id":129136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:30:32] local.INFO: Extracted packet for processing {"connection_id":129136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:30:32] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:30: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-07-11 08:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783738655000,"timestamp_ms":1783738655000,"timestamp_seconds":1783738655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1be118"} 
[2026-07-11 08:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":129136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":129136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":129136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":2242,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:30:32] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:30:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":129136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:30:32] local.INFO: GPS data processed {"connection_id":129136,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:30:32] local.INFO: Acknowledgment sent {"connection_id":129136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:31:05] local.INFO: TCP Data received {"connection_id":128427,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:31:05] local.INFO: Processing buffer {"connection_id":128427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:31:05] local.INFO: IMEI packet received {"connection_id":128427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":128427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:31:10] local.INFO: TCP Data received {"connection_id":128427,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:31:10] local.INFO: Processing buffer {"connection_id":128427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:31:10] local.INFO: IMEI packet received {"connection_id":128427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":128427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:31:11] local.INFO: TCP Data received {"connection_id":128427,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:31:11] local.INFO: Processing buffer {"connection_id":128427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:31:11] local.INFO: Packet analysis {"connection_id":128427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:31:11] local.INFO: Extracted packet for processing {"connection_id":128427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":128427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:31:11] local.INFO: GPS data processed {"connection_id":128427,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:31:11] local.INFO: Acknowledgment sent {"connection_id":128427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:31:17] local.INFO: TCP Data received {"connection_id":128428,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:31:17] local.INFO: Processing buffer {"connection_id":128428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:31:17] local.INFO: IMEI packet received {"connection_id":128428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":128428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:31:22] local.INFO: TCP Data received {"connection_id":128428,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:31:22] local.INFO: Processing buffer {"connection_id":128428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:31:22] local.INFO: IMEI packet received {"connection_id":128428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":128428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:31:24] local.INFO: TCP Data received {"connection_id":128428,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:31:24] local.INFO: Processing buffer {"connection_id":128428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:31:24] local.INFO: Packet analysis {"connection_id":128428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:31:24] local.INFO: Extracted packet for processing {"connection_id":128428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:31:24] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783738655000,"timestamp_ms":1783738655000,"timestamp_seconds":1783738655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1be118"} 
[2026-07-11 08:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":2242,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:31:24] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:31:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":128428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:31:24] local.INFO: GPS data processed {"connection_id":128428,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:31:24] local.INFO: Acknowledgment sent {"connection_id":128428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:31:41] local.INFO: TCP Data received {"connection_id":128427,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:31:41] local.INFO: Processing buffer {"connection_id":128427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:31:41] local.INFO: Packet analysis {"connection_id":128427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:31:41] local.INFO: Extracted packet for processing {"connection_id":128427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:31: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-07-11 08:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:31:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":128427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:31:42] local.INFO: GPS data processed {"connection_id":128427,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:31:42] local.INFO: Acknowledgment sent {"connection_id":128427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:31:57] local.INFO: TCP Data received {"connection_id":128428,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:31:57] local.INFO: Processing buffer {"connection_id":128428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:31:57] local.INFO: Packet analysis {"connection_id":128428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:31:57] local.INFO: Extracted packet for processing {"connection_id":128428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:31:57] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783738655000,"timestamp_ms":1783738655000,"timestamp_seconds":1783738655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1be118"} 
[2026-07-11 08:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":128428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":128428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":128428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":2242,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:31:57] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:31:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":128428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:31:57] local.INFO: GPS data processed {"connection_id":128428,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:31:57] local.INFO: Acknowledgment sent {"connection_id":128428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:32:05] local.INFO: TCP Data received {"connection_id":129138,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:32:05] local.INFO: Processing buffer {"connection_id":129138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:32:05] local.INFO: IMEI packet received {"connection_id":129138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":129138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:32:09] local.INFO: TCP Data received {"connection_id":129138,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:32:09] local.INFO: Processing buffer {"connection_id":129138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:32:09] local.INFO: IMEI packet received {"connection_id":129138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":129138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:32:10] local.INFO: TCP Data received {"connection_id":129138,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:32:10] local.INFO: Processing buffer {"connection_id":129138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:32:10] local.INFO: Packet analysis {"connection_id":129138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:32:10] local.INFO: Extracted packet for processing {"connection_id":129138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:32:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":129138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:32:10] local.INFO: GPS data processed {"connection_id":129138,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:32:10] local.INFO: Acknowledgment sent {"connection_id":129138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:32:16] local.INFO: TCP Data received {"connection_id":129137,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:32:16] local.INFO: Processing buffer {"connection_id":129137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:32:16] local.INFO: IMEI packet received {"connection_id":129137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":129137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:32:17] local.INFO: TCP Data received {"connection_id":128231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:32:17] local.INFO: Processing buffer {"connection_id":128231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:32:17] local.INFO: IMEI packet received {"connection_id":128231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":128231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:32:23] local.INFO: TCP Data received {"connection_id":128231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:32:23] local.INFO: Processing buffer {"connection_id":128231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:32:23] local.INFO: IMEI packet received {"connection_id":128231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":128231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:32:25] local.INFO: TCP Data received {"connection_id":128231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:32:25] local.INFO: Processing buffer {"connection_id":128231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1be118012d7a1a4005e468080015010322..."} 
[2026-07-11 08:32:25] local.INFO: Packet analysis {"connection_id":128231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:32:25] local.INFO: Extracted packet for processing {"connection_id":128231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1b"} 
[2026-07-11 08:32:25] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":21,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783738655000,"timestamp_ms":1783738655000,"timestamp_seconds":1783738655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1be118"} 
[2026-07-11 08:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":128231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":128231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":128231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":2242,"145":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 08:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:32:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 08:32:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":128231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:32:25] local.INFO: GPS data processed {"connection_id":128231,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:32:25] local.INFO: Acknowledgment sent {"connection_id":128231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:32:41] local.INFO: TCP Data received {"connection_id":129138,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:32:41] local.INFO: Processing buffer {"connection_id":129138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:32:41] local.INFO: Packet analysis {"connection_id":129138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:32:41] local.INFO: Extracted packet for processing {"connection_id":129138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:32: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-07-11 08:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:32:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":129138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:32:41] local.INFO: GPS data processed {"connection_id":129138,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:32:41] local.INFO: Acknowledgment sent {"connection_id":129138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:32:46] local.INFO: TCP Data received {"connection_id":130383,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:32:46] local.INFO: Processing buffer {"connection_id":130383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:32:46] local.INFO: IMEI packet received {"connection_id":130383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":130383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:33:02] local.INFO: TCP Data received {"connection_id":128231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:33:02] local.INFO: Processing buffer {"connection_id":128231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:33:02] local.INFO: Packet analysis {"connection_id":128231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:33:02] local.INFO: Extracted packet for processing {"connection_id":128231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:33:02] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:33:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":128231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:33:02] local.INFO: GPS data processed {"connection_id":128231,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:33:02] local.INFO: Acknowledgment sent {"connection_id":128231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:33:05] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:33:05] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:33:05] local.INFO: IMEI packet received {"connection_id":130384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":130384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:33:10] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:33:10] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:33:10] local.INFO: IMEI packet received {"connection_id":130384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":130384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:33:11] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:33:11] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:33:11] local.INFO: Packet analysis {"connection_id":130384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:33:11] local.INFO: Extracted packet for processing {"connection_id":130384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":130384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:33:11] local.INFO: GPS data processed {"connection_id":130384,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:33:11] local.INFO: Acknowledgment sent {"connection_id":130384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:33:18] local.INFO: TCP Data received {"connection_id":129139,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:33:18] local.INFO: Processing buffer {"connection_id":129139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:33:18] local.INFO: IMEI packet received {"connection_id":129139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":129139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:33:22] local.INFO: TCP Data received {"connection_id":129139,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:33:22] local.INFO: Processing buffer {"connection_id":129139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:33:22] local.INFO: IMEI packet received {"connection_id":129139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":129139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:33:23] local.INFO: TCP Data received {"connection_id":129139,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:33:23] local.INFO: Processing buffer {"connection_id":129139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:33:23] local.INFO: Packet analysis {"connection_id":129139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:33:23] local.INFO: Extracted packet for processing {"connection_id":129139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:33:23] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:33:23] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:33:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":129139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:33:23] local.INFO: GPS data processed {"connection_id":129139,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:33:23] local.INFO: Acknowledgment sent {"connection_id":129139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:33:31] local.INFO: TCP Data received {"connection_id":129139,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:33:31] local.INFO: Processing buffer {"connection_id":129139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:33:31] local.INFO: Packet analysis {"connection_id":129139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:33:31] local.INFO: Extracted packet for processing {"connection_id":129139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:33:31] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 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-07-11 08:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 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-07-11 08:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 08:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":129139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":129139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":129139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:33:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:33:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":129139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:33:31] local.INFO: GPS data processed {"connection_id":129139,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:33:31] local.INFO: Acknowledgment sent {"connection_id":129139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:33:42] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:33:42] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:33:42] local.INFO: Packet analysis {"connection_id":130384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:33:42] local.INFO: Extracted packet for processing {"connection_id":130384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":130384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:33:42] local.INFO: GPS data processed {"connection_id":130384,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:33:42] local.INFO: Acknowledgment sent {"connection_id":130384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:34:04] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:34:04] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:34:04] local.INFO: IMEI packet received {"connection_id":130385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":130385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:34:09] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:34:09] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:34:09] local.INFO: IMEI packet received {"connection_id":130385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":130385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:34:10] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:34:10] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:34:10] local.INFO: Packet analysis {"connection_id":130385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:34:10] local.INFO: Extracted packet for processing {"connection_id":130385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:34:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":130385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:34:10] local.INFO: GPS data processed {"connection_id":130385,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:34:10] local.INFO: Acknowledgment sent {"connection_id":130385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:34:17] local.INFO: TCP Data received {"connection_id":129140,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:34:17] local.INFO: Processing buffer {"connection_id":129140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:34:17] local.INFO: IMEI packet received {"connection_id":129140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":129140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:34:22] local.INFO: TCP Data received {"connection_id":129140,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:34:22] local.INFO: Processing buffer {"connection_id":129140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:34:22] local.INFO: IMEI packet received {"connection_id":129140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":129140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:34:23] local.INFO: TCP Data received {"connection_id":129140,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:34:23] local.INFO: Processing buffer {"connection_id":129140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:34:23] local.INFO: Packet analysis {"connection_id":129140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:34:23] local.INFO: Extracted packet for processing {"connection_id":129140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:34:23] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:34:23] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:34:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":129140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:34:23] local.INFO: GPS data processed {"connection_id":129140,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:34:23] local.INFO: Acknowledgment sent {"connection_id":129140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:34:41] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:34:41] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f1d5fe8012cb29ac007823b28004700db25..."} 
[2026-07-11 08:34:41] local.INFO: Packet analysis {"connection_id":130385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:34:41] local.INFO: Extracted packet for processing {"connection_id":130385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f1d"} 
[2026-07-11 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637043712001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783738753000,"timestamp_ms":1783738753000,"timestamp_seconds":1783738753,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f1d5fe8"} 
[2026-07-11 08:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:34: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-07-11 08:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637043712001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637043712001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:34:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637043712001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":130385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:34:41] local.INFO: GPS data processed {"connection_id":130385,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:34:41] local.INFO: Acknowledgment sent {"connection_id":130385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:34:57] local.INFO: TCP Data received {"connection_id":129140,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:34:57] local.INFO: Processing buffer {"connection_id":129140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:34:57] local.INFO: Packet analysis {"connection_id":129140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:34:57] local.INFO: Extracted packet for processing {"connection_id":129140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:34:57] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08: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-07-11 08:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":129140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":129140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":129140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:34:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:34:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":129140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:34:57] local.INFO: GPS data processed {"connection_id":129140,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:34:57] local.INFO: Acknowledgment sent {"connection_id":129140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:35:04] local.INFO: TCP Data received {"connection_id":129142,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:35:04] local.INFO: Processing buffer {"connection_id":129142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:35:04] local.INFO: IMEI packet received {"connection_id":129142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":129142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:35:10] local.INFO: TCP Data received {"connection_id":129142,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:35:10] local.INFO: Processing buffer {"connection_id":129142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:35:10] local.INFO: IMEI packet received {"connection_id":129142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":129142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:35:10] local.INFO: TCP Data received {"connection_id":129142,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:35:10] local.INFO: Processing buffer {"connection_id":129142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:35:10] local.INFO: Packet analysis {"connection_id":129142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:35:10] local.INFO: Extracted packet for processing {"connection_id":129142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:35: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-07-11 08:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:35:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":129142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:35:11] local.INFO: GPS data processed {"connection_id":129142,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:35:11] local.INFO: Acknowledgment sent {"connection_id":129142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:35:16] local.INFO: TCP Data received {"connection_id":129143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:35:16] local.INFO: Processing buffer {"connection_id":129143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:35:16] local.INFO: IMEI packet received {"connection_id":129143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":129143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:35:22] local.INFO: TCP Data received {"connection_id":129143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:35:22] local.INFO: Processing buffer {"connection_id":129143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:35:22] local.INFO: IMEI packet received {"connection_id":129143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":129143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:35:23] local.INFO: TCP Data received {"connection_id":129143,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:35:23] local.INFO: Processing buffer {"connection_id":129143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:35:23] local.INFO: Packet analysis {"connection_id":129143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:35:23] local.INFO: Extracted packet for processing {"connection_id":129143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:35:23] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:35:23] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:35:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":129143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:35:23] local.INFO: GPS data processed {"connection_id":129143,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:35:23] local.INFO: Acknowledgment sent {"connection_id":129143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:35:41] local.INFO: TCP Data received {"connection_id":129142,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:35:41] local.INFO: Processing buffer {"connection_id":129142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:35:41] local.INFO: Packet analysis {"connection_id":129142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:35:41] local.INFO: Extracted packet for processing {"connection_id":129142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08: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-07-11 08: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:35: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-07-11 08:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:35:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":129142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:35:41] local.INFO: GPS data processed {"connection_id":129142,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:35:41] local.INFO: Acknowledgment sent {"connection_id":129142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:35:54] local.INFO: TCP Data received {"connection_id":129143,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:35:54] local.INFO: Processing buffer {"connection_id":129143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:35:54] local.INFO: Packet analysis {"connection_id":129143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:35:54] local.INFO: Extracted packet for processing {"connection_id":129143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:35:54] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08: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-07-11 08:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:35:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:35:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":129143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:35:54] local.INFO: GPS data processed {"connection_id":129143,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:35:54] local.INFO: Acknowledgment sent {"connection_id":129143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:36:05] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:36:05] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:36:05] local.INFO: IMEI packet received {"connection_id":130387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":130387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:36:09] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:36:09] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:36:09] local.INFO: IMEI packet received {"connection_id":130387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":130387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:36:10] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:36:10] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:36:10] local.INFO: Packet analysis {"connection_id":130387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:36:10] local.INFO: Extracted packet for processing {"connection_id":130387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:36: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-07-11 08:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:36:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":130387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:36:10] local.INFO: GPS data processed {"connection_id":130387,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:36:10] local.INFO: Acknowledgment sent {"connection_id":130387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:36:16] local.INFO: TCP Data received {"connection_id":128429,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:36:16] local.INFO: Processing buffer {"connection_id":128429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:36:16] local.INFO: IMEI packet received {"connection_id":128429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":128429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:36:22] local.INFO: TCP Data received {"connection_id":128429,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:36:22] local.INFO: Processing buffer {"connection_id":128429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:36:22] local.INFO: IMEI packet received {"connection_id":128429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":128429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:36:22] local.INFO: TCP Data received {"connection_id":128429,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:36:22] local.INFO: Processing buffer {"connection_id":128429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:36:22] local.INFO: Packet analysis {"connection_id":128429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:36:22] local.INFO: Extracted packet for processing {"connection_id":128429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:36:22] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:36:22] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:36:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":128429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:36:23] local.INFO: GPS data processed {"connection_id":128429,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:36:23] local.INFO: Acknowledgment sent {"connection_id":128429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:36:41] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:36:41] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:36:41] local.INFO: Packet analysis {"connection_id":130387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:36:41] local.INFO: Extracted packet for processing {"connection_id":130387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08: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-07-11 08: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":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:36: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-07-11 08:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:36:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":130387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:36:41] local.INFO: GPS data processed {"connection_id":130387,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:36:41] local.INFO: Acknowledgment sent {"connection_id":130387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:36:54] local.INFO: TCP Data received {"connection_id":128429,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:36:54] local.INFO: Processing buffer {"connection_id":128429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:36:54] local.INFO: Packet analysis {"connection_id":128429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:36:54] local.INFO: Extracted packet for processing {"connection_id":128429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:36:54] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:36:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:36:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":128429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:36:54] local.INFO: GPS data processed {"connection_id":128429,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:36:54] local.INFO: Acknowledgment sent {"connection_id":128429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:37:05] local.INFO: TCP Data received {"connection_id":130388,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:37:05] local.INFO: Processing buffer {"connection_id":130388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:37:05] local.INFO: IMEI packet received {"connection_id":130388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":130388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:37:10] local.INFO: TCP Data received {"connection_id":130388,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:37:10] local.INFO: Processing buffer {"connection_id":130388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:37:10] local.INFO: IMEI packet received {"connection_id":130388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":130388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:37:11] local.INFO: TCP Data received {"connection_id":130388,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:37:11] local.INFO: Processing buffer {"connection_id":130388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:37:11] local.INFO: Packet analysis {"connection_id":130388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:37:11] local.INFO: Extracted packet for processing {"connection_id":130388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:37:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":130388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:37:11] local.INFO: GPS data processed {"connection_id":130388,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:37:11] local.INFO: Acknowledgment sent {"connection_id":130388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:37:22] local.INFO: TCP Data received {"connection_id":130389,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:37:22] local.INFO: Processing buffer {"connection_id":130389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:37:22] local.INFO: IMEI packet received {"connection_id":130389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":130389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:37:27] local.INFO: TCP Data received {"connection_id":130389,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:37:27] local.INFO: Processing buffer {"connection_id":130389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:37:27] local.INFO: IMEI packet received {"connection_id":130389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":130389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:37:27] local.INFO: TCP Data received {"connection_id":130389,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:37:28] local.INFO: Processing buffer {"connection_id":130389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:37:28] local.INFO: Packet analysis {"connection_id":130389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:37:28] local.INFO: Extracted packet for processing {"connection_id":130389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:37:28] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08: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-07-11 08:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:37:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:37:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":130389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:37:28] local.INFO: GPS data processed {"connection_id":130389,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:37:28] local.INFO: Acknowledgment sent {"connection_id":130389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:37:32] local.INFO: TCP Data received {"connection_id":130389,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:37:32] local.INFO: Processing buffer {"connection_id":130389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f206940012d7a1a4005e46808000c010322..."} 
[2026-07-11 08:37:32] local.INFO: Packet analysis {"connection_id":130389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:37:32] local.INFO: Extracted packet for processing {"connection_id":130389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f20"} 
[2026-07-11 08:37:32] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":12,"angle":259,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637095680001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783738952000,"timestamp_ms":1783738952000,"timestamp_seconds":1783738952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f206940"} 
[2026-07-11 08:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 08:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637095680001,"66":12156,"157":206,"87":12288,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 08:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637095680001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:37:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 08:37:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 08:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637095680001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":130389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:37:32] local.INFO: GPS data processed {"connection_id":130389,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:37:32] local.INFO: Acknowledgment sent {"connection_id":130389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:37:42] local.INFO: TCP Data received {"connection_id":130388,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:37:42] local.INFO: Processing buffer {"connection_id":130388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:37:42] local.INFO: Packet analysis {"connection_id":130388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:37:42] local.INFO: Extracted packet for processing {"connection_id":130388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":130388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:37:42] local.INFO: GPS data processed {"connection_id":130388,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:37:42] local.INFO: Acknowledgment sent {"connection_id":130388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:38:01] local.INFO: TCP Data received {"connection_id":128234,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:38:01] local.INFO: Processing buffer {"connection_id":128234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:38:01] local.INFO: IMEI packet received {"connection_id":128234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":128234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:38:04] local.INFO: TCP Data received {"connection_id":128235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:38:04] local.INFO: Processing buffer {"connection_id":128235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:38:04] local.INFO: IMEI packet received {"connection_id":128235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":128235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:38:09] local.INFO: TCP Data received {"connection_id":128235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:38:09] local.INFO: Processing buffer {"connection_id":128235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:38:09] local.INFO: IMEI packet received {"connection_id":128235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":128235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:38:10] local.INFO: TCP Data received {"connection_id":128235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:38:10] local.INFO: Processing buffer {"connection_id":128235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:38:10] local.INFO: Packet analysis {"connection_id":128235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:38:10] local.INFO: Extracted packet for processing {"connection_id":128235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:38: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-07-11 08:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:38:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":128235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:38:10] local.INFO: GPS data processed {"connection_id":128235,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:38:10] local.INFO: Acknowledgment sent {"connection_id":128235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:38:41] local.INFO: TCP Data received {"connection_id":128235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:38:41] local.INFO: Processing buffer {"connection_id":128235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:38:41] local.INFO: Packet analysis {"connection_id":128235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:38:41] local.INFO: Extracted packet for processing {"connection_id":128235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:38: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-07-11 08:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:38:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":128235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:38:41] local.INFO: GPS data processed {"connection_id":128235,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:38:41] local.INFO: Acknowledgment sent {"connection_id":128235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:38:46] local.INFO: TCP Data received {"connection_id":128236,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:38:46] local.INFO: Processing buffer {"connection_id":128236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:38:46] local.INFO: IMEI packet received {"connection_id":128236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":128236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:39:04] local.INFO: TCP Data received {"connection_id":129144,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:39:04] local.INFO: Processing buffer {"connection_id":129144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:39:04] local.INFO: IMEI packet received {"connection_id":129144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":129144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:39:10] local.INFO: TCP Data received {"connection_id":129144,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:39:10] local.INFO: Processing buffer {"connection_id":129144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:39:10] local.INFO: IMEI packet received {"connection_id":129144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":129144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:39:11] local.INFO: TCP Data received {"connection_id":129144,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:39:11] local.INFO: Processing buffer {"connection_id":129144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:39:11] local.INFO: Packet analysis {"connection_id":129144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:39:11] local.INFO: Extracted packet for processing {"connection_id":129144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:39:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:39:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":129144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:39:11] local.INFO: GPS data processed {"connection_id":129144,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:39:11] local.INFO: Acknowledgment sent {"connection_id":129144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:39:42] local.INFO: TCP Data received {"connection_id":129144,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:39:42] local.INFO: Processing buffer {"connection_id":129144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f21f7b0012cb29ac007823b28004700db27..."} 
[2026-07-11 08:39:42] local.INFO: Packet analysis {"connection_id":129144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:39:42] local.INFO: Extracted packet for processing {"connection_id":129144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f21"} 
[2026-07-11 08:39:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783739054000,"timestamp_ms":1783739054000,"timestamp_seconds":1783739054,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f21f7b0"} 
[2026-07-11 08:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":75,"data_length":795,"current_offset":136} 
[2026-07-11 08:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637120768001,"66":24875,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:39:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637120768001,"power":24875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":129144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:39:42] local.INFO: GPS data processed {"connection_id":129144,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:39:42] local.INFO: Acknowledgment sent {"connection_id":129144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:40:09] local.INFO: TCP Data received {"connection_id":128431,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:40:09] local.INFO: Processing buffer {"connection_id":128431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:40:09] local.INFO: IMEI packet received {"connection_id":128431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":128431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:40:15] local.INFO: TCP Data received {"connection_id":128431,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:40:15] local.INFO: Processing buffer {"connection_id":128431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:40:15] local.INFO: IMEI packet received {"connection_id":128431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":128431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:40:16] local.INFO: TCP Data received {"connection_id":128431,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:40:16] local.INFO: Processing buffer {"connection_id":128431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:40:16] local.INFO: Packet analysis {"connection_id":128431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:40:16] local.INFO: Extracted packet for processing {"connection_id":128431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:40:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:40:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":128431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:40:16] local.INFO: GPS data processed {"connection_id":128431,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:40:16] local.INFO: Acknowledgment sent {"connection_id":128431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:40:46] local.INFO: TCP Data received {"connection_id":128431,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:40:46] local.INFO: Processing buffer {"connection_id":128431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:40:46] local.INFO: Packet analysis {"connection_id":128431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:40:46] local.INFO: Extracted packet for processing {"connection_id":128431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:40:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:40:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:40:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:40:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:40:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":128431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:40:46] local.INFO: GPS data processed {"connection_id":128431,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:40:46] local.INFO: Acknowledgment sent {"connection_id":128431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:41:05] local.INFO: TCP Data received {"connection_id":128237,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:41:05] local.INFO: Processing buffer {"connection_id":128237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:41:05] local.INFO: IMEI packet received {"connection_id":128237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":128237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:41:10] local.INFO: TCP Data received {"connection_id":128237,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:41:10] local.INFO: Processing buffer {"connection_id":128237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:41:10] local.INFO: IMEI packet received {"connection_id":128237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":128237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:41:11] local.INFO: TCP Data received {"connection_id":128237,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:41:11] local.INFO: Processing buffer {"connection_id":128237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:41:11] local.INFO: Packet analysis {"connection_id":128237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:41:11] local.INFO: Extracted packet for processing {"connection_id":128237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":128237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:41:11] local.INFO: GPS data processed {"connection_id":128237,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:41:11] local.INFO: Acknowledgment sent {"connection_id":128237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:41:42] local.INFO: TCP Data received {"connection_id":128237,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:41:42] local.INFO: Processing buffer {"connection_id":128237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:41:42] local.INFO: Packet analysis {"connection_id":128237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:41:42] local.INFO: Extracted packet for processing {"connection_id":128237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:41:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":128237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:41:42] local.INFO: GPS data processed {"connection_id":128237,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:41:42] local.INFO: Acknowledgment sent {"connection_id":128237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:42:05] local.INFO: TCP Data received {"connection_id":129145,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:42:05] local.INFO: Processing buffer {"connection_id":129145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:42:05] local.INFO: IMEI packet received {"connection_id":129145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":129145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:42:09] local.INFO: TCP Data received {"connection_id":129145,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:42:09] local.INFO: Processing buffer {"connection_id":129145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:42:09] local.INFO: IMEI packet received {"connection_id":129145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":129145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:42:10] local.INFO: TCP Data received {"connection_id":129145,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:42:10] local.INFO: Processing buffer {"connection_id":129145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:42:10] local.INFO: Packet analysis {"connection_id":129145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:42:10] local.INFO: Extracted packet for processing {"connection_id":129145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:42: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-07-11 08:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:42:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":129145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:42:10] local.INFO: GPS data processed {"connection_id":129145,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:42:10] local.INFO: Acknowledgment sent {"connection_id":129145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:42:41] local.INFO: TCP Data received {"connection_id":129145,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:42:41] local.INFO: Processing buffer {"connection_id":129145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:42:41] local.INFO: Packet analysis {"connection_id":129145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:42:41] local.INFO: Extracted packet for processing {"connection_id":129145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:42:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":129145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:42:41] local.INFO: GPS data processed {"connection_id":129145,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:42:41] local.INFO: Acknowledgment sent {"connection_id":129145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:43:04] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:43:04] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:43:04] local.INFO: IMEI packet received {"connection_id":130394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":130394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:43:10] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:43:10] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:43:10] local.INFO: IMEI packet received {"connection_id":130394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":130394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:43:11] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:43:11] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:43:11] local.INFO: Packet analysis {"connection_id":130394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:43:11] local.INFO: Extracted packet for processing {"connection_id":130394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":130394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:43:11] local.INFO: GPS data processed {"connection_id":130394,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:43:11] local.INFO: Acknowledgment sent {"connection_id":130394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:43:42] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:43:42] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:43:42] local.INFO: Packet analysis {"connection_id":130394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:43:42] local.INFO: Extracted packet for processing {"connection_id":130394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:43:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":130394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:43:42] local.INFO: GPS data processed {"connection_id":130394,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:43:42] local.INFO: Acknowledgment sent {"connection_id":130394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:44:01] local.INFO: TCP Data received {"connection_id":130395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:44:01] local.INFO: Processing buffer {"connection_id":130395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:44:01] local.INFO: IMEI packet received {"connection_id":130395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":130395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:44:04] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:44:04] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:44:04] local.INFO: IMEI packet received {"connection_id":130396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":130396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:44:09] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:44:09] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:44:09] local.INFO: IMEI packet received {"connection_id":130396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":130396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:44:10] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:44:10] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:44:10] local.INFO: Packet analysis {"connection_id":130396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:44:10] local.INFO: Extracted packet for processing {"connection_id":130396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:44: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-07-11 08: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:44:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":130396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:44:10] local.INFO: GPS data processed {"connection_id":130396,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:44:10] local.INFO: Acknowledgment sent {"connection_id":130396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:44:41] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:44:41] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f268f78012cb29ac007823b28004700db27..."} 
[2026-07-11 08:44:41] local.INFO: Packet analysis {"connection_id":130396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:44:41] local.INFO: Extracted packet for processing {"connection_id":130396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f26"} 
[2026-07-11 08:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637197824001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739355000,"timestamp_ms":1783739355000,"timestamp_seconds":1783739355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f268f78"} 
[2026-07-11 08:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:44: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-07-11 08:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 08:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637197824001,"66":25321,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637197824001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:44:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637197824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":130396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:44:41] local.INFO: GPS data processed {"connection_id":130396,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:44:41] local.INFO: Acknowledgment sent {"connection_id":130396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:44:46] local.INFO: TCP Data received {"connection_id":128238,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:44:46] local.INFO: Processing buffer {"connection_id":128238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:44:46] local.INFO: IMEI packet received {"connection_id":128238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":128238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:45:10] local.INFO: TCP Data received {"connection_id":129146,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:45:10] local.INFO: Processing buffer {"connection_id":129146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:45:10] local.INFO: IMEI packet received {"connection_id":129146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":129146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:45:15] local.INFO: TCP Data received {"connection_id":129146,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:45:15] local.INFO: Processing buffer {"connection_id":129146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:45:15] local.INFO: IMEI packet received {"connection_id":129146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":129146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:45:16] local.INFO: TCP Data received {"connection_id":129146,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:45:16] local.INFO: Processing buffer {"connection_id":129146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:45:16] local.INFO: Packet analysis {"connection_id":129146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:45:16] local.INFO: Extracted packet for processing {"connection_id":129146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:45:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:45:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:45:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":129146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:45:16] local.INFO: GPS data processed {"connection_id":129146,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:45:16] local.INFO: Acknowledgment sent {"connection_id":129146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:45:20] local.INFO: TCP Data received {"connection_id":129146,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:45:20] local.INFO: Processing buffer {"connection_id":129146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:45:20] local.INFO: Packet analysis {"connection_id":129146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:45:20] local.INFO: Extracted packet for processing {"connection_id":129146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:45:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:45:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":129146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:45:20] local.INFO: GPS data processed {"connection_id":129146,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:45:20] local.INFO: Acknowledgment sent {"connection_id":129146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:46:05] local.INFO: TCP Data received {"connection_id":128434,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:46:05] local.INFO: Processing buffer {"connection_id":128434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:46:05] local.INFO: IMEI packet received {"connection_id":128434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":128434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:46:09] local.INFO: TCP Data received {"connection_id":128434,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:46:09] local.INFO: Processing buffer {"connection_id":128434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:46:09] local.INFO: IMEI packet received {"connection_id":128434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":128434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:46:10] local.INFO: TCP Data received {"connection_id":128434,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:46:10] local.INFO: Processing buffer {"connection_id":128434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:46:10] local.INFO: Packet analysis {"connection_id":128434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:46:10] local.INFO: Extracted packet for processing {"connection_id":128434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:46:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":128434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:46:10] local.INFO: GPS data processed {"connection_id":128434,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:46:10] local.INFO: Acknowledgment sent {"connection_id":128434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:46:41] local.INFO: TCP Data received {"connection_id":128434,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:46:41] local.INFO: Processing buffer {"connection_id":128434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:46:41] local.INFO: Packet analysis {"connection_id":128434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:46:41] local.INFO: Extracted packet for processing {"connection_id":128434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:46:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":128434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:46:41] local.INFO: GPS data processed {"connection_id":128434,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:46:41] local.INFO: Acknowledgment sent {"connection_id":128434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:47:05] local.INFO: TCP Data received {"connection_id":130397,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:47:05] local.INFO: Processing buffer {"connection_id":130397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:47:05] local.INFO: IMEI packet received {"connection_id":130397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":130397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:47:10] local.INFO: TCP Data received {"connection_id":130397,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:47:10] local.INFO: Processing buffer {"connection_id":130397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:47:10] local.INFO: IMEI packet received {"connection_id":130397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":130397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:47:11] local.INFO: TCP Data received {"connection_id":130397,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:47:11] local.INFO: Processing buffer {"connection_id":130397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:47:11] local.INFO: Packet analysis {"connection_id":130397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:47:11] local.INFO: Extracted packet for processing {"connection_id":130397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":130397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:47:11] local.INFO: GPS data processed {"connection_id":130397,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:47:11] local.INFO: Acknowledgment sent {"connection_id":130397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:47:42] local.INFO: TCP Data received {"connection_id":130397,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:47:42] local.INFO: Processing buffer {"connection_id":130397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:47:42] local.INFO: Packet analysis {"connection_id":130397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:47:42] local.INFO: Extracted packet for processing {"connection_id":130397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":130397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:47:42] local.INFO: GPS data processed {"connection_id":130397,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:47:42] local.INFO: Acknowledgment sent {"connection_id":130397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:48:05] local.INFO: TCP Data received {"connection_id":130398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:48:05] local.INFO: Processing buffer {"connection_id":130398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:48:05] local.INFO: IMEI packet received {"connection_id":130398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":130398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:48:09] local.INFO: TCP Data received {"connection_id":130398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:48:09] local.INFO: Processing buffer {"connection_id":130398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:48:09] local.INFO: IMEI packet received {"connection_id":130398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":130398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:48:10] local.INFO: TCP Data received {"connection_id":130398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:48:10] local.INFO: Processing buffer {"connection_id":130398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:48:10] local.INFO: Packet analysis {"connection_id":130398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:48:10] local.INFO: Extracted packet for processing {"connection_id":130398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08: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-07-11 08:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:48:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":130398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:48:10] local.INFO: GPS data processed {"connection_id":130398,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:48:10] local.INFO: Acknowledgment sent {"connection_id":130398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:48:43] local.INFO: TCP Data received {"connection_id":130398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:48:43] local.INFO: Processing buffer {"connection_id":130398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:48:43] local.INFO: Packet analysis {"connection_id":130398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:48:43] local.INFO: Extracted packet for processing {"connection_id":130398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:48:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":130398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:48:43] local.INFO: GPS data processed {"connection_id":130398,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:48:43] local.INFO: Acknowledgment sent {"connection_id":130398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:49:04] local.INFO: TCP Data received {"connection_id":128436,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:49:04] local.INFO: Processing buffer {"connection_id":128436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:49:04] local.INFO: IMEI packet received {"connection_id":128436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":128436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:49:10] local.INFO: TCP Data received {"connection_id":128436,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:49:10] local.INFO: Processing buffer {"connection_id":128436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:49:10] local.INFO: IMEI packet received {"connection_id":128436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":128436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:49:11] local.INFO: TCP Data received {"connection_id":128436,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:49:11] local.INFO: Processing buffer {"connection_id":128436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:49:11] local.INFO: Packet analysis {"connection_id":128436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:49:11] local.INFO: Extracted packet for processing {"connection_id":128436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:49:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":128436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:49:11] local.INFO: GPS data processed {"connection_id":128436,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:49:11] local.INFO: Acknowledgment sent {"connection_id":128436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:49:42] local.INFO: TCP Data received {"connection_id":128436,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:49:42] local.INFO: Processing buffer {"connection_id":128436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2b2740012cb29ac007823b28004700db26..."} 
[2026-07-11 08:49:42] local.INFO: Packet analysis {"connection_id":128436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:49:42] local.INFO: Extracted packet for processing {"connection_id":128436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2b"} 
[2026-07-11 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637274880001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783739656000,"timestamp_ms":1783739656000,"timestamp_seconds":1783739656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2b2740"} 
[2026-07-11 08:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 08:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637274880001,"66":25375,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637274880001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637274880001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":128436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:49:42] local.INFO: GPS data processed {"connection_id":128436,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:49:42] local.INFO: Acknowledgment sent {"connection_id":128436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:50:04] local.INFO: TCP Data received {"connection_id":129148,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:50:04] local.INFO: Processing buffer {"connection_id":129148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:50:04] local.INFO: IMEI packet received {"connection_id":129148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":129148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:50:09] local.INFO: TCP Data received {"connection_id":129148,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:50:09] local.INFO: Processing buffer {"connection_id":129148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:50:09] local.INFO: IMEI packet received {"connection_id":129148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":129148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:50:10] local.INFO: TCP Data received {"connection_id":129148,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:50:10] local.INFO: Processing buffer {"connection_id":129148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:50:10] local.INFO: Packet analysis {"connection_id":129148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:50:10] local.INFO: Extracted packet for processing {"connection_id":129148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:50:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":129148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:50:10] local.INFO: GPS data processed {"connection_id":129148,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:50:10] local.INFO: Acknowledgment sent {"connection_id":129148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:50:11] local.INFO: TCP Data received {"connection_id":129147,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:50:11] local.INFO: Processing buffer {"connection_id":129147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:50:11] local.INFO: IMEI packet received {"connection_id":129147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":129147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:50:41] local.INFO: TCP Data received {"connection_id":129148,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:50:41] local.INFO: Processing buffer {"connection_id":129148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:50:41] local.INFO: Packet analysis {"connection_id":129148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:50:41] local.INFO: Extracted packet for processing {"connection_id":129148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:50: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-07-11 08:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:50:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":129148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:50:41] local.INFO: GPS data processed {"connection_id":129148,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:50:41] local.INFO: Acknowledgment sent {"connection_id":129148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:50:46] local.INFO: TCP Data received {"connection_id":128242,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:50:46] local.INFO: Processing buffer {"connection_id":128242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:50:46] local.INFO: IMEI packet received {"connection_id":128242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":128242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:51:05] local.INFO: TCP Data received {"connection_id":130399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:51:05] local.INFO: Processing buffer {"connection_id":130399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:51:05] local.INFO: IMEI packet received {"connection_id":130399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":130399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:51:10] local.INFO: TCP Data received {"connection_id":130399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:51:10] local.INFO: Processing buffer {"connection_id":130399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:51:10] local.INFO: IMEI packet received {"connection_id":130399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":130399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:51:11] local.INFO: TCP Data received {"connection_id":130399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:51:11] local.INFO: Processing buffer {"connection_id":130399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:51:11] local.INFO: Packet analysis {"connection_id":130399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:51:11] local.INFO: Extracted packet for processing {"connection_id":130399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:51:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":130399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:51:11] local.INFO: GPS data processed {"connection_id":130399,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:51:11] local.INFO: Acknowledgment sent {"connection_id":130399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:51:42] local.INFO: TCP Data received {"connection_id":130399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:51:42] local.INFO: Processing buffer {"connection_id":130399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:51:42] local.INFO: Packet analysis {"connection_id":130399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:51:42] local.INFO: Extracted packet for processing {"connection_id":130399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:51:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":130399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:51:42] local.INFO: GPS data processed {"connection_id":130399,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:51:42] local.INFO: Acknowledgment sent {"connection_id":130399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:52:05] local.INFO: TCP Data received {"connection_id":128437,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:52:05] local.INFO: Processing buffer {"connection_id":128437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:52:05] local.INFO: IMEI packet received {"connection_id":128437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":128437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:52:09] local.INFO: TCP Data received {"connection_id":128437,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:52:09] local.INFO: Processing buffer {"connection_id":128437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:52:09] local.INFO: IMEI packet received {"connection_id":128437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":128437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:52:10] local.INFO: TCP Data received {"connection_id":128437,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:52:10] local.INFO: Processing buffer {"connection_id":128437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:52:10] local.INFO: Packet analysis {"connection_id":128437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:52:10] local.INFO: Extracted packet for processing {"connection_id":128437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:52:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":128437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:52:10] local.INFO: GPS data processed {"connection_id":128437,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:52:10] local.INFO: Acknowledgment sent {"connection_id":128437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:52:41] local.INFO: TCP Data received {"connection_id":128437,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:52:41] local.INFO: Processing buffer {"connection_id":128437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:52:41] local.INFO: Packet analysis {"connection_id":128437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:52:41] local.INFO: Extracted packet for processing {"connection_id":128437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:52: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-07-11 08:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:52:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":128437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:52:41] local.INFO: GPS data processed {"connection_id":128437,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:52:41] local.INFO: Acknowledgment sent {"connection_id":128437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:53:06] local.INFO: TCP Data received {"connection_id":128244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:53:06] local.INFO: Processing buffer {"connection_id":128244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:53:06] local.INFO: IMEI packet received {"connection_id":128244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":128244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:53:10] local.INFO: TCP Data received {"connection_id":128244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:53:10] local.INFO: Processing buffer {"connection_id":128244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:53:10] local.INFO: IMEI packet received {"connection_id":128244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":128244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:53:10] local.INFO: TCP Data received {"connection_id":128244,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:53:10] local.INFO: Processing buffer {"connection_id":128244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:53:10] local.INFO: Packet analysis {"connection_id":128244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:53:10] local.INFO: Extracted packet for processing {"connection_id":128244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:53:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:53:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":128244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:53:10] local.INFO: GPS data processed {"connection_id":128244,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:53:10] local.INFO: Acknowledgment sent {"connection_id":128244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:53:41] local.INFO: TCP Data received {"connection_id":128244,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:53:41] local.INFO: Processing buffer {"connection_id":128244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:53:41] local.INFO: Packet analysis {"connection_id":128244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:53:41] local.INFO: Extracted packet for processing {"connection_id":128244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:53:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08: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-07-11 08: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-07-11 08: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-07-11 08:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:53:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":128244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:53:42] local.INFO: GPS data processed {"connection_id":128244,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:53:42] local.INFO: Acknowledgment sent {"connection_id":128244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:54:04] local.INFO: TCP Data received {"connection_id":128438,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:54:04] local.INFO: Processing buffer {"connection_id":128438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:54:04] local.INFO: IMEI packet received {"connection_id":128438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":128438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:54:09] local.INFO: TCP Data received {"connection_id":128438,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:54:09] local.INFO: Processing buffer {"connection_id":128438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:54:09] local.INFO: IMEI packet received {"connection_id":128438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":128438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:54:10] local.INFO: TCP Data received {"connection_id":128438,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:54:10] local.INFO: Processing buffer {"connection_id":128438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:54:10] local.INFO: Packet analysis {"connection_id":128438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:54:10] local.INFO: Extracted packet for processing {"connection_id":128438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:54:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":128438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:54:10] local.INFO: GPS data processed {"connection_id":128438,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:54:10] local.INFO: Acknowledgment sent {"connection_id":128438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:54:41] local.INFO: TCP Data received {"connection_id":128438,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:54:41] local.INFO: Processing buffer {"connection_id":128438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f2fbf08012cb29ac007823b28004700db26..."} 
[2026-07-11 08:54:41] local.INFO: Packet analysis {"connection_id":128438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:54:41] local.INFO: Extracted packet for processing {"connection_id":128438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f2f"} 
[2026-07-11 08:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637351936001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783739957000,"timestamp_ms":1783739957000,"timestamp_seconds":1783739957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f2fbf08"} 
[2026-07-11 08:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08: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":31,"data_length":795,"current_offset":136} 
[2026-07-11 08:54: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-07-11 08:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637351936001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637351936001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:54:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637351936001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":128438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:54:41] local.INFO: GPS data processed {"connection_id":128438,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:54:41] local.INFO: Acknowledgment sent {"connection_id":128438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:55:10] local.INFO: TCP Data received {"connection_id":129150,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:55:10] local.INFO: Processing buffer {"connection_id":129150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:55:10] local.INFO: IMEI packet received {"connection_id":129150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":129150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:55:15] local.INFO: TCP Data received {"connection_id":129150,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:55:15] local.INFO: Processing buffer {"connection_id":129150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:55:15] local.INFO: IMEI packet received {"connection_id":129150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":129150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:55:15] local.INFO: TCP Data received {"connection_id":129150,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:55:15] local.INFO: Processing buffer {"connection_id":129150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:55:15] local.INFO: Packet analysis {"connection_id":129150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:55:15] local.INFO: Extracted packet for processing {"connection_id":129150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:55:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:55:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":129150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:55:15] local.INFO: GPS data processed {"connection_id":129150,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:55:15] local.INFO: Acknowledgment sent {"connection_id":129150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:55:20] local.INFO: TCP Data received {"connection_id":129150,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:55:20] local.INFO: Processing buffer {"connection_id":129150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:55:20] local.INFO: Packet analysis {"connection_id":129150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:55:20] local.INFO: Extracted packet for processing {"connection_id":129150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:55:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":129150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:55:20] local.INFO: GPS data processed {"connection_id":129150,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:55:20] local.INFO: Acknowledgment sent {"connection_id":129150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:56:01] local.INFO: TCP Data received {"connection_id":128246,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:56:01] local.INFO: Processing buffer {"connection_id":128246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:56:01] local.INFO: IMEI packet received {"connection_id":128246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":128246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:56:05] local.INFO: TCP Data received {"connection_id":128439,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:56:05] local.INFO: Processing buffer {"connection_id":128439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:56:05] local.INFO: IMEI packet received {"connection_id":128439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":128439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:56:09] local.INFO: TCP Data received {"connection_id":128439,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:56:09] local.INFO: Processing buffer {"connection_id":128439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:56:09] local.INFO: IMEI packet received {"connection_id":128439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":128439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:56:10] local.INFO: TCP Data received {"connection_id":128439,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:56:10] local.INFO: Processing buffer {"connection_id":128439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:56:10] local.INFO: Packet analysis {"connection_id":128439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:56:10] local.INFO: Extracted packet for processing {"connection_id":128439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:56: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-07-11 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:56:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":128439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:56:10] local.INFO: GPS data processed {"connection_id":128439,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:56:10] local.INFO: Acknowledgment sent {"connection_id":128439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:56:41] local.INFO: TCP Data received {"connection_id":128439,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:56:41] local.INFO: Processing buffer {"connection_id":128439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:56:41] local.INFO: Packet analysis {"connection_id":128439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:56:41] local.INFO: Extracted packet for processing {"connection_id":128439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:56: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-07-11 08: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":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:56: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-07-11 08:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:56:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":128439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:56:41] local.INFO: GPS data processed {"connection_id":128439,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:56:41] local.INFO: Acknowledgment sent {"connection_id":128439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:56:51] local.INFO: TCP Data received {"connection_id":128440,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:56:51] local.INFO: Processing buffer {"connection_id":128440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 08:56:51] local.INFO: IMEI packet received {"connection_id":128440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 08:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":128440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:57:05] local.INFO: TCP Data received {"connection_id":128247,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:57:05] local.INFO: Processing buffer {"connection_id":128247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:57:05] local.INFO: IMEI packet received {"connection_id":128247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":128247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:57:10] local.INFO: TCP Data received {"connection_id":128247,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:57:10] local.INFO: Processing buffer {"connection_id":128247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:57:10] local.INFO: IMEI packet received {"connection_id":128247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":128247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:57:11] local.INFO: TCP Data received {"connection_id":128247,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:57:11] local.INFO: Processing buffer {"connection_id":128247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:57:11] local.INFO: Packet analysis {"connection_id":128247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:57:11] local.INFO: Extracted packet for processing {"connection_id":128247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":128247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:57:11] local.INFO: GPS data processed {"connection_id":128247,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:57:11] local.INFO: Acknowledgment sent {"connection_id":128247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:57:42] local.INFO: TCP Data received {"connection_id":128247,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:57:42] local.INFO: Processing buffer {"connection_id":128247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:57:42] local.INFO: Packet analysis {"connection_id":128247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:57:42] local.INFO: Extracted packet for processing {"connection_id":128247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":128247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:57:42] local.INFO: GPS data processed {"connection_id":128247,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:57:42] local.INFO: Acknowledgment sent {"connection_id":128247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:58:05] local.INFO: TCP Data received {"connection_id":129152,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:58:05] local.INFO: Processing buffer {"connection_id":129152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:58:05] local.INFO: IMEI packet received {"connection_id":129152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":129152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:58:09] local.INFO: TCP Data received {"connection_id":129152,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:58:09] local.INFO: Processing buffer {"connection_id":129152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:58:09] local.INFO: IMEI packet received {"connection_id":129152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":129152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:58:10] local.INFO: TCP Data received {"connection_id":129152,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:58:10] local.INFO: Processing buffer {"connection_id":129152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:58:10] local.INFO: Packet analysis {"connection_id":129152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:58:10] local.INFO: Extracted packet for processing {"connection_id":129152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:58: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-07-11 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":129152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:58:10] local.INFO: GPS data processed {"connection_id":129152,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:58:10] local.INFO: Acknowledgment sent {"connection_id":129152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:58:41] local.INFO: TCP Data received {"connection_id":129152,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:58:41] local.INFO: Processing buffer {"connection_id":129152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:58:41] local.INFO: Packet analysis {"connection_id":129152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:58:41] local.INFO: Extracted packet for processing {"connection_id":129152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08: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-07-11 08: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":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:58: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-07-11 08:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:58:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":129152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:58:41] local.INFO: GPS data processed {"connection_id":129152,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:58:41] local.INFO: Acknowledgment sent {"connection_id":129152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:58:52] local.INFO: TCP Data received {"connection_id":128441,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:58:52] local.INFO: Processing buffer {"connection_id":128441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:58:52] local.INFO: IMEI packet received {"connection_id":128441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":128441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:58:59] local.INFO: TCP Data received {"connection_id":128441,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:58:59] local.INFO: Processing buffer {"connection_id":128441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:58:59] local.INFO: IMEI packet received {"connection_id":128441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":128441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:59:00] local.INFO: TCP Data received {"connection_id":128441,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f37c1d0012d7a1a4005e46808000001032a..."} 
[2026-07-11 08:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f37c1d0012d7a1a4005e46808000001032a..."} 
[2026-07-11 08:59:00] local.INFO: Processing buffer {"connection_id":128441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f37c1d0012d7a1a4005e46808000001032a..."} 
[2026-07-11 08:59:00] local.INFO: Packet analysis {"connection_id":128441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f37"} 
[2026-07-11 08:59:00] local.INFO: Extracted packet for processing {"connection_id":128441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f37"} 
[2026-07-11 08:59:00] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":0,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:59: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-07-11 08:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637563392001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:00] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-11 08:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783740482000,"timestamp_ms":1783740482000,"timestamp_seconds":1783740482,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f37c1d0"} 
[2026-07-11 08:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 08: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 08:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08: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-07-11 08:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637563392001,"66":2231,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-11 08:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637563392001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:59:00] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456637563392001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":128441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:59:00] local.INFO: GPS data processed {"connection_id":128441,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:59:00] local.INFO: Acknowledgment sent {"connection_id":128441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:59:05] local.INFO: TCP Data received {"connection_id":130401,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:59:05] local.INFO: Processing buffer {"connection_id":130401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:59:05] local.INFO: IMEI packet received {"connection_id":130401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 08:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":130401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:59:10] local.INFO: TCP Data received {"connection_id":130401,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:59:10] local.INFO: Processing buffer {"connection_id":130401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 08:59:10] local.INFO: IMEI packet received {"connection_id":130401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 08:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":130401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:59:10] local.INFO: TCP Data received {"connection_id":130401,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:59:10] local.INFO: Processing buffer {"connection_id":130401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:59:10] local.INFO: Packet analysis {"connection_id":130401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:59:10] local.INFO: Extracted packet for processing {"connection_id":130401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:59:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":130401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:59:11] local.INFO: GPS data processed {"connection_id":130401,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:59:11] local.INFO: Acknowledgment sent {"connection_id":130401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:59:22] local.INFO: TCP Data received {"connection_id":128442,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:59:22] local.INFO: Processing buffer {"connection_id":128442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:59:22] local.INFO: IMEI packet received {"connection_id":128442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 08:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":128442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 08:59:27] local.INFO: TCP Data received {"connection_id":128442,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:59:27] local.INFO: Processing buffer {"connection_id":128442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 08:59:27] local.INFO: IMEI packet received {"connection_id":128442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 08:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":128442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 08:59:28] local.INFO: TCP Data received {"connection_id":128442,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f37c1d0012d7a1a4005e46808000001032a..."} 
[2026-07-11 08:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f37c1d0012d7a1a4005e46808000001032a..."} 
[2026-07-11 08:59:28] local.INFO: Processing buffer {"connection_id":128442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f37c1d0012d7a1a4005e46808000001032a..."} 
[2026-07-11 08:59:28] local.INFO: Packet analysis {"connection_id":128442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f37"} 
[2026-07-11 08:59:28] local.INFO: Extracted packet for processing {"connection_id":128442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f37"} 
[2026-07-11 08:59:28] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854920,"longitude_deg":76.2976832,"latitude_deg":9.885492,"altitude":0,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-07-11 08:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637563392001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:28] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-11 08:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783740482000,"timestamp_ms":1783740482000,"timestamp_seconds":1783740482,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f37c1d0"} 
[2026-07-11 08:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 08:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 08:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":128442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":128442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":128442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 08:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 08:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 08:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637563392001,"66":2231,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-11 08:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 08:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 08:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637563392001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 08:59:28] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456637563392001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 08:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":128442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:59:28] local.INFO: GPS data processed {"connection_id":128442,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:59:28] local.INFO: Acknowledgment sent {"connection_id":128442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 08:59:42] local.INFO: TCP Data received {"connection_id":130401,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:59:42] local.INFO: Processing buffer {"connection_id":130401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3456d0012cb29ac007823b28004700db26..."} 
[2026-07-11 08:59:42] local.INFO: Packet analysis {"connection_id":130401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:59:42] local.INFO: Extracted packet for processing {"connection_id":130401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f34"} 
[2026-07-11 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 08:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637428992001,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 08:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 08:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783740258000,"timestamp_ms":1783740258000,"timestamp_seconds":1783740258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3456d0"} 
[2026-07-11 08:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 08:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 08:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 08:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 08:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 08:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 08:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 08:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 08:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 08:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 08:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637428992001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 08:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 08:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 08:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637428992001,"description":"Unknown IO ID 0"} 
[2026-07-11 08:59:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 08:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 08:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 08:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 08:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637428992001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 08:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":130401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 08:59:42] local.INFO: GPS data processed {"connection_id":130401,"processed":1,"errors":0,"total":1} 
[2026-07-11 08:59:42] local.INFO: Acknowledgment sent {"connection_id":130401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:00:00] local.INFO: TCP Data received {"connection_id":128442,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f37d170012d7a1b8005e46578000000cb2b..."} 
[2026-07-11 09:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f37d170012d7a1b8005e46578000000cb2b..."} 
[2026-07-11 09:00:00] local.INFO: Processing buffer {"connection_id":128442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f37d170012d7a1b8005e46578000000cb2b..."} 
[2026-07-11 09:00:00] local.INFO: Packet analysis {"connection_id":128442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f37"} 
[2026-07-11 09:00:00] local.INFO: Extracted packet for processing {"connection_id":128442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f37"} 
[2026-07-11 09:00:00] local.INFO: GPS Element Parsed {"raw_longitude":762977152,"raw_latitude":98854264,"longitude_deg":76.2977152,"latitude_deg":9.8854264,"altitude":0,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d7a1b80","hex_latitude":"05e46578","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637563392001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072722432,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:00] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-11 09:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783740486000,"timestamp_ms":1783740486000,"timestamp_seconds":1783740486,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f37d170"} 
[2026-07-11 09:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 09:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09: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-07-11 09:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637563392001,"66":11656,"24":0,"16":104932931578888192,"45":8798415216072722432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-11 09:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637563392001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072722432,"description":"Unknown IO ID 45"} 
[2026-07-11 09:00:00] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456637563392001,"power":11656,"ignition":0,"odometer":null,"unknown_45":8798415216072722432}} 
[2026-07-11 09:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":128442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:00:00] local.INFO: GPS data processed {"connection_id":128442,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:00:00] local.INFO: Acknowledgment sent {"connection_id":128442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:00:04] local.INFO: TCP Data received {"connection_id":130402,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:00:04] local.INFO: Processing buffer {"connection_id":130402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:00:04] local.INFO: IMEI packet received {"connection_id":130402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":130402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:00:09] local.INFO: TCP Data received {"connection_id":130402,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:00:09] local.INFO: Processing buffer {"connection_id":130402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:00:09] local.INFO: IMEI packet received {"connection_id":130402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":130402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:00:10] local.INFO: TCP Data received {"connection_id":130402,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:00:10] local.INFO: Processing buffer {"connection_id":130402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:00:10] local.INFO: Packet analysis {"connection_id":130402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:00:10] local.INFO: Extracted packet for processing {"connection_id":130402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:00: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-07-11 09:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:00:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":130402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:00:10] local.INFO: GPS data processed {"connection_id":130402,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:00:10] local.INFO: Acknowledgment sent {"connection_id":130402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:00:17] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:17] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:17] local.INFO: IMEI packet received {"connection_id":128250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":128250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:00:18] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:18] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:18] local.INFO: IMEI packet received {"connection_id":128250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":128250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:00:18] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:18] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:18] local.INFO: IMEI packet received {"connection_id":128250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":128250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:00:21] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:21] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:00:21] local.INFO: IMEI packet received {"connection_id":128250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":128250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:00:23] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3865e0012d7a1b8005e46578000000cb2b..."} 
[2026-07-11 09:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3865e0012d7a1b8005e46578000000cb2b..."} 
[2026-07-11 09:00:23] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3865e0012d7a1b8005e46578000000cb2b..."} 
[2026-07-11 09:00:23] local.INFO: Packet analysis {"connection_id":128250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:00:23] local.INFO: Extracted packet for processing {"connection_id":128250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:00:23] local.INFO: GPS Element Parsed {"raw_longitude":762977152,"raw_latitude":98854264,"longitude_deg":76.2977152,"latitude_deg":9.8854264,"altitude":0,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d7a1b80","hex_latitude":"05e46578","is_valid_coordinates":true} 
[2026-07-11 09:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637564416001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798767059793442816,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783740524000,"timestamp_ms":1783740524000,"timestamp_seconds":1783740524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3865e0"} 
[2026-07-11 09:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-07-11 09:00:23] 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-07-11 09:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637564416001,"66":12058,"97":206,"85":15104,"24":0,"16":104932931578888192,"45":8798767059793442816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 09:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637564416001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 09:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798767059793442816,"description":"Unknown IO ID 45"} 
[2026-07-11 09:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637564416001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798767059793442816}} 
[2026-07-11 09:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":128250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:00:23] local.INFO: GPS data processed {"connection_id":128250,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:00:23] local.INFO: Acknowledgment sent {"connection_id":128250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:00:27] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3865e0012d7a1b8005e46578000000cb2b..."} 
[2026-07-11 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3865e0012d7a1b8005e46578000000cb2b..."} 
[2026-07-11 09:00:27] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3865e0012d7a1b8005e46578000000cb2b..."} 
[2026-07-11 09:00:27] local.INFO: Packet analysis {"connection_id":128250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:00:27] local.INFO: Extracted packet for processing {"connection_id":128250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:00:27] local.INFO: GPS Element Parsed {"raw_longitude":762977152,"raw_latitude":98854264,"longitude_deg":76.2977152,"latitude_deg":9.8854264,"altitude":0,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d7a1b80","hex_latitude":"05e46578","is_valid_coordinates":true} 
[2026-07-11 09:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637574144001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104932931578888192,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798767059793442816,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783740524000,"timestamp_ms":1783740524000,"timestamp_seconds":1783740524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3865e0"} 
[2026-07-11 09:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 09:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637574144001,"66":12058,"97":206,"85":15104,"24":0,"16":104932931578888192,"45":8798767059793442816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 09:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637574144001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:00:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 09:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104932931578888192,"km_value":104932931578888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798767059793442816,"description":"Unknown IO ID 45"} 
[2026-07-11 09:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637574144001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798767059793442816}} 
[2026-07-11 09:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":128250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:00:27] local.INFO: GPS data processed {"connection_id":128250,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:00:27] local.INFO: Acknowledgment sent {"connection_id":128250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:00:41] local.INFO: TCP Data received {"connection_id":130402,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:00:41] local.INFO: Processing buffer {"connection_id":130402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:00:41] local.INFO: Packet analysis {"connection_id":130402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:00:41] local.INFO: Extracted packet for processing {"connection_id":130402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:00: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-07-11 09:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:00:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":130402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:00:41] local.INFO: GPS data processed {"connection_id":130402,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:00:41] local.INFO: Acknowledgment sent {"connection_id":130402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:01:00] local.INFO: TCP Data received {"connection_id":128250,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3a3e88012d7a24c005e469100006008b2a..."} 
[2026-07-11 09:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3a3e88012d7a24c005e469100006008b2a..."} 
[2026-07-11 09:01:00] local.INFO: Processing buffer {"connection_id":128250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3a3e88012d7a24c005e469100006008b2a..."} 
[2026-07-11 09:01:00] local.INFO: Packet analysis {"connection_id":128250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3a"} 
[2026-07-11 09:01:00] local.INFO: Extracted packet for processing {"connection_id":128250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3a"} 
[2026-07-11 09:01:00] local.INFO: GPS Element Parsed {"raw_longitude":762979520,"raw_latitude":98855184,"longitude_deg":76.297952,"latitude_deg":9.8855184,"altitude":6,"angle":139,"satellites":42,"speed":5,"hex_longitude":"2d7a24c0","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-07-11 09:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637604864001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104933090492678144,"note":"Value kept but may cause issues"} 
[2026-07-11 09:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801300334584094720,"note":"Value kept but may cause issues"} 
[2026-07-11 09:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783740645000,"timestamp_ms":1783740645000,"timestamp_seconds":1783740645,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3a3e88"} 
[2026-07-11 09:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 09:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637604864001,"66":11569,"97":206,"85":15104,"24":5,"16":104933090492678144,"45":8801300334584094720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 09:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637604864001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:01:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 09:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104933090492678144,"km_value":104933090492678.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801300334584094720,"description":"Unknown IO ID 45"} 
[2026-07-11 09:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637604864001,"power":11569,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8801300334584094720}} 
[2026-07-11 09:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":128250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:01:00] local.INFO: GPS data processed {"connection_id":128250,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:01:00] local.INFO: Acknowledgment sent {"connection_id":128250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:01:05] local.INFO: TCP Data received {"connection_id":128251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:01:05] local.INFO: Processing buffer {"connection_id":128251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:01:05] local.INFO: IMEI packet received {"connection_id":128251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":128251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:01:10] local.INFO: TCP Data received {"connection_id":128251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:01:10] local.INFO: Processing buffer {"connection_id":128251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:01:10] local.INFO: IMEI packet received {"connection_id":128251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":128251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:01:10] local.INFO: TCP Data received {"connection_id":128251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:01:10] local.INFO: Processing buffer {"connection_id":128251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:01:10] local.INFO: Packet analysis {"connection_id":128251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:01:10] local.INFO: Extracted packet for processing {"connection_id":128251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:01: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-07-11 09: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":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:01:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":128251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:01:10] local.INFO: GPS data processed {"connection_id":128251,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:01:10] local.INFO: Acknowledgment sent {"connection_id":128251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:01:17] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:01:17] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:01:17] local.INFO: IMEI packet received {"connection_id":130404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":130404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:01:17] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:01:17] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:01:17] local.INFO: IMEI packet received {"connection_id":130404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":130404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:01:41] local.INFO: TCP Data received {"connection_id":128251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:01:41] local.INFO: Processing buffer {"connection_id":128251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:01:41] local.INFO: Packet analysis {"connection_id":128251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:01:41] local.INFO: Extracted packet for processing {"connection_id":128251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:01: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-07-11 09: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":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:01: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-07-11 09:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:01:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":128251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:01:41] local.INFO: GPS data processed {"connection_id":128251,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:01:41] local.INFO: Acknowledgment sent {"connection_id":128251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:02:05] local.INFO: TCP Data received {"connection_id":128252,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:02:05] local.INFO: Processing buffer {"connection_id":128252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:02:05] local.INFO: IMEI packet received {"connection_id":128252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":128252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:02:07] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:02:07] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:02:07] local.INFO: IMEI packet received {"connection_id":130404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":130404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:02:08] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:02:08] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:02:08] local.INFO: IMEI packet received {"connection_id":130404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":130404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:02:09] local.INFO: TCP Data received {"connection_id":128252,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:02:09] local.INFO: Processing buffer {"connection_id":128252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:02:09] local.INFO: IMEI packet received {"connection_id":128252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":128252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:02:10] local.INFO: TCP Data received {"connection_id":128252,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:02:10] local.INFO: Processing buffer {"connection_id":128252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:02:10] local.INFO: Packet analysis {"connection_id":128252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:02:10] local.INFO: Extracted packet for processing {"connection_id":128252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:02: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-07-11 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:02:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":128252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:02:10] local.INFO: GPS data processed {"connection_id":128252,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:02:10] local.INFO: Acknowledgment sent {"connection_id":128252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:02:11] local.INFO: TCP Data received {"connection_id":129153,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:02:11] local.INFO: Processing buffer {"connection_id":129153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:02:11] local.INFO: IMEI packet received {"connection_id":129153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":129153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:02:27] local.INFO: TCP Data received {"connection_id":128253,"ip":"71.6.134.231","data_length":204,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-11 09:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128253,"packet_length":204,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-11 09:02:27] local.INFO: Processing buffer {"connection_id":128253,"buffer_length":204,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-11 09:02:27] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":128253,"buffer_length":204,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-07-11 09:02:41] local.INFO: TCP Data received {"connection_id":128252,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:02:41] local.INFO: Processing buffer {"connection_id":128252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:02:41] local.INFO: Packet analysis {"connection_id":128252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:02:41] local.INFO: Extracted packet for processing {"connection_id":128252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:02: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-07-11 09:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:02: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-07-11 09:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:02:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":128252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:02:41] local.INFO: GPS data processed {"connection_id":128252,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:02:41] local.INFO: Acknowledgment sent {"connection_id":128252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:02:46] local.INFO: TCP Data received {"connection_id":130405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:02:46] local.INFO: Processing buffer {"connection_id":130405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:02:46] local.INFO: IMEI packet received {"connection_id":130405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":130405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:03:05] local.INFO: TCP Data received {"connection_id":128255,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:03:05] local.INFO: Processing buffer {"connection_id":128255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:03:05] local.INFO: IMEI packet received {"connection_id":128255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:03:10] local.INFO: TCP Data received {"connection_id":128255,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:03:10] local.INFO: Processing buffer {"connection_id":128255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:03:10] local.INFO: IMEI packet received {"connection_id":128255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":128255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:03:10] local.INFO: TCP Data received {"connection_id":128255,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:03:10] local.INFO: Processing buffer {"connection_id":128255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:03:10] local.INFO: Packet analysis {"connection_id":128255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:03:10] local.INFO: Extracted packet for processing {"connection_id":128255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:03: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-07-11 09:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:03:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":128255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:03:10] local.INFO: GPS data processed {"connection_id":128255,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:03:10] local.INFO: Acknowledgment sent {"connection_id":128255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:03:42] local.INFO: TCP Data received {"connection_id":128255,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:03:42] local.INFO: Processing buffer {"connection_id":128255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:03:42] local.INFO: Packet analysis {"connection_id":128255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:03:42] local.INFO: Extracted packet for processing {"connection_id":128255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:03:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":128255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:03:42] local.INFO: GPS data processed {"connection_id":128255,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:03:42] local.INFO: Acknowledgment sent {"connection_id":128255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:04:04] local.INFO: TCP Data received {"connection_id":128256,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:04:04] local.INFO: Processing buffer {"connection_id":128256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:04:04] local.INFO: IMEI packet received {"connection_id":128256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":128256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:04:09] local.INFO: TCP Data received {"connection_id":128256,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:04:09] local.INFO: Processing buffer {"connection_id":128256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:04:09] local.INFO: IMEI packet received {"connection_id":128256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":128256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:04:10] local.INFO: TCP Data received {"connection_id":128256,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:04:10] local.INFO: Processing buffer {"connection_id":128256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:04:10] local.INFO: Packet analysis {"connection_id":128256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:04:10] local.INFO: Extracted packet for processing {"connection_id":128256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:04: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-07-11 09: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":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:04:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":128256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:04:10] local.INFO: GPS data processed {"connection_id":128256,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:04:10] local.INFO: Acknowledgment sent {"connection_id":128256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:04:41] local.INFO: TCP Data received {"connection_id":128256,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:04:41] local.INFO: Processing buffer {"connection_id":128256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f38ee98012cb29ac007823b28004700db27..."} 
[2026-07-11 09:04:41] local.INFO: Packet analysis {"connection_id":128256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:04:41] local.INFO: Extracted packet for processing {"connection_id":128256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f38"} 
[2026-07-11 09:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637506048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783740559000,"timestamp_ms":1783740559000,"timestamp_seconds":1783740559,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f38ee98"} 
[2026-07-11 09:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:04: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-07-11 09:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637506048001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637506048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:04:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637506048001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":128256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:04:41] local.INFO: GPS data processed {"connection_id":128256,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:04:41] local.INFO: Acknowledgment sent {"connection_id":128256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:05:10] local.INFO: TCP Data received {"connection_id":129156,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:05:10] local.INFO: Processing buffer {"connection_id":129156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:05:10] local.INFO: IMEI packet received {"connection_id":129156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":129156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:05:15] local.INFO: TCP Data received {"connection_id":129156,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:05:15] local.INFO: Processing buffer {"connection_id":129156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:05:15] local.INFO: IMEI packet received {"connection_id":129156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":129156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:05:15] local.INFO: TCP Data received {"connection_id":129156,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:05:16] local.INFO: Processing buffer {"connection_id":129156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:05:16] local.INFO: Packet analysis {"connection_id":129156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:05:16] local.INFO: Extracted packet for processing {"connection_id":129156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:05:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:05:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:05:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:05:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":129156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:05:16] local.INFO: GPS data processed {"connection_id":129156,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:05:16] local.INFO: Acknowledgment sent {"connection_id":129156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:05:20] local.INFO: TCP Data received {"connection_id":129156,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:05:20] local.INFO: Processing buffer {"connection_id":129156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:05:20] local.INFO: Packet analysis {"connection_id":129156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:05:20] local.INFO: Extracted packet for processing {"connection_id":129156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:05:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":129156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:05:20] local.INFO: GPS data processed {"connection_id":129156,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:05:20] local.INFO: Acknowledgment sent {"connection_id":129156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:06:05] local.INFO: TCP Data received {"connection_id":128258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:06:05] local.INFO: Processing buffer {"connection_id":128258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:06:05] local.INFO: IMEI packet received {"connection_id":128258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":128258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:06:09] local.INFO: TCP Data received {"connection_id":128258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:06:09] local.INFO: Processing buffer {"connection_id":128258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:06:09] local.INFO: IMEI packet received {"connection_id":128258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":128258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:06:10] local.INFO: TCP Data received {"connection_id":128258,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:06:10] local.INFO: Processing buffer {"connection_id":128258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:06:10] local.INFO: Packet analysis {"connection_id":128258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:06:10] local.INFO: Extracted packet for processing {"connection_id":128258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:06:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":128258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:06:10] local.INFO: GPS data processed {"connection_id":128258,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:06:10] local.INFO: Acknowledgment sent {"connection_id":128258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:06:41] local.INFO: TCP Data received {"connection_id":128258,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:06:41] local.INFO: Processing buffer {"connection_id":128258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:06:41] local.INFO: Packet analysis {"connection_id":128258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:06:41] local.INFO: Extracted packet for processing {"connection_id":128258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:06: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-07-11 09:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:06:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":128258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:06:41] local.INFO: GPS data processed {"connection_id":128258,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:06:41] local.INFO: Acknowledgment sent {"connection_id":128258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:07:05] local.INFO: TCP Data received {"connection_id":129158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:07:05] local.INFO: Processing buffer {"connection_id":129158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:07:05] local.INFO: IMEI packet received {"connection_id":129158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":129158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:07:10] local.INFO: TCP Data received {"connection_id":129158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:07:10] local.INFO: Processing buffer {"connection_id":129158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:07:10] local.INFO: IMEI packet received {"connection_id":129158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":129158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:07:11] local.INFO: TCP Data received {"connection_id":129158,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:07:11] local.INFO: Processing buffer {"connection_id":129158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:07:11] local.INFO: Packet analysis {"connection_id":129158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:07:11] local.INFO: Extracted packet for processing {"connection_id":129158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":129158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:07:11] local.INFO: GPS data processed {"connection_id":129158,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:07:11] local.INFO: Acknowledgment sent {"connection_id":129158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:07:17] local.INFO: TCP Data received {"connection_id":130407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:07:17] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:07:17] local.INFO: IMEI packet received {"connection_id":130407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":130407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:07:22] local.INFO: TCP Data received {"connection_id":130407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:07:22] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:07:22] local.INFO: IMEI packet received {"connection_id":130407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":130407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:07:23] local.INFO: TCP Data received {"connection_id":130407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3ec2c8012d7b228005e2b018000800ab1b..."} 
[2026-07-11 09:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3ec2c8012d7b228005e2b018000800ab1b..."} 
[2026-07-11 09:07:23] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3ec2c8012d7b228005e2b018000800ab1b..."} 
[2026-07-11 09:07:23] local.INFO: Packet analysis {"connection_id":130407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3e"} 
[2026-07-11 09:07:23] local.INFO: Extracted packet for processing {"connection_id":130407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3e"} 
[2026-07-11 09:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763044480,"raw_latitude":98742296,"longitude_deg":76.304448,"latitude_deg":9.8742296,"altitude":8,"angle":171,"satellites":27,"speed":43,"hex_longitude":"2d7b2280","hex_latitude":"05e2b018","is_valid_coordinates":true} 
[2026-07-11 09:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637678848001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104940224433356800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871457972502560768,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783740941000,"timestamp_ms":1783740941000,"timestamp_seconds":1783740941,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3ec2c8"} 
[2026-07-11 09:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":79,"raw_value":4409147185556030528,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862857952189428139,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3502505984,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2064487012609517523,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:23] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,97,85,24,241,157,16,210,159,128,45,192,245,11,29,10,66,209,69,64,23,40,7,1,240,101,227,79,4,113,205,15,150,9,152,43,239,51,2,116,5,59,188],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-11 09:07:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720764072834498560,"timestamp_seconds":720764072834498.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637678848001,"66":13189,"96":206,"85":15104,"24":43,"16":104940224433356800,"45":8871457972502560768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 09:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637678848001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:07:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 09:07:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104940224433356800,"km_value":104940224433356.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871457972502560768,"description":"Unknown IO ID 45"} 
[2026-07-11 09:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637678848001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8871457972502560768}} 
[2026-07-11 09:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":130407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:07:23] local.INFO: GPS data processed {"connection_id":130407,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:07:23] local.INFO: Acknowledgment sent {"connection_id":130407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:07:42] local.INFO: TCP Data received {"connection_id":129158,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:07:42] local.INFO: Processing buffer {"connection_id":129158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:07:42] local.INFO: Packet analysis {"connection_id":129158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:07:42] local.INFO: Extracted packet for processing {"connection_id":129158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":129158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:07:42] local.INFO: GPS data processed {"connection_id":129158,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:07:42] local.INFO: Acknowledgment sent {"connection_id":129158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:07:55] local.INFO: TCP Data received {"connection_id":130407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3eedc0012d7b284005e28b40000700ac1e..."} 
[2026-07-11 09:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3eedc0012d7b284005e28b40000700ac1e..."} 
[2026-07-11 09:07:55] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3eedc0012d7b284005e28b40000700ac1e..."} 
[2026-07-11 09:07:55] local.INFO: Packet analysis {"connection_id":130407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3e"} 
[2026-07-11 09:07:55] local.INFO: Extracted packet for processing {"connection_id":130407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3e"} 
[2026-07-11 09:07:55] local.INFO: GPS Element Parsed {"raw_longitude":763045952,"raw_latitude":98732864,"longitude_deg":76.3045952,"latitude_deg":9.8732864,"altitude":7,"angle":172,"satellites":30,"speed":32,"hex_longitude":"2d7b2840","hex_latitude":"05e28b40","is_valid_coordinates":true} 
[2026-07-11 09:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637680896001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104940688289824768,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872794978639681536,"note":"Value kept but may cause issues"} 
[2026-07-11 09:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783740952000,"timestamp_ms":1783740952000,"timestamp_seconds":1783740952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3eedc0"} 
[2026-07-11 09:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:07: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":133,"data_length":795,"current_offset":136} 
[2026-07-11 09:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637680896001,"66":13363,"96":206,"85":15104,"24":32,"16":104940688289824768,"45":8872794978639681536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 09:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637680896001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:07:55] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 09:07:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104940688289824768,"km_value":104940688289824.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872794978639681536,"description":"Unknown IO ID 45"} 
[2026-07-11 09:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637680896001,"power":13363,"unknown_96":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8872794978639681536}} 
[2026-07-11 09:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":130407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:07:55] local.INFO: GPS data processed {"connection_id":130407,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:07:55] local.INFO: Acknowledgment sent {"connection_id":130407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:08:05] local.INFO: TCP Data received {"connection_id":128445,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:08:05] local.INFO: Processing buffer {"connection_id":128445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:08:05] local.INFO: IMEI packet received {"connection_id":128445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":128445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:08:09] local.INFO: TCP Data received {"connection_id":128445,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:08:09] local.INFO: Processing buffer {"connection_id":128445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:08:09] local.INFO: IMEI packet received {"connection_id":128445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":128445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:08:10] local.INFO: TCP Data received {"connection_id":128445,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:08:10] local.INFO: Processing buffer {"connection_id":128445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:08:10] local.INFO: Packet analysis {"connection_id":128445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:08:10] local.INFO: Extracted packet for processing {"connection_id":128445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:08: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-07-11 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:08:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":128445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:08:10] local.INFO: GPS data processed {"connection_id":128445,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:08:10] local.INFO: Acknowledgment sent {"connection_id":128445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:08:11] local.INFO: TCP Data received {"connection_id":128261,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:08:11] local.INFO: Processing buffer {"connection_id":128261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:08:11] local.INFO: IMEI packet received {"connection_id":128261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":128261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:08:21] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:08:21] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:08:21] local.INFO: IMEI packet received {"connection_id":128446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":128446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:08:22] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:08:22] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:08:22] local.INFO: IMEI packet received {"connection_id":128446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":128446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:08:24] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:08:24] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:08:24] local.INFO: IMEI packet received {"connection_id":128446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":128446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:08:25] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f40a340012d7b458005e182f0000500ad25..."} 
[2026-07-11 09:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f40a340012d7b458005e182f0000500ad25..."} 
[2026-07-11 09:08:25] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f40a340012d7b458005e182f0000500ad25..."} 
[2026-07-11 09:08:25] local.INFO: Packet analysis {"connection_id":128446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f40"} 
[2026-07-11 09:08:25] local.INFO: Extracted packet for processing {"connection_id":128446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f40"} 
[2026-07-11 09:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98665200,"longitude_deg":76.305344,"latitude_deg":9.86652,"altitude":5,"angle":173,"satellites":37,"speed":41,"hex_longitude":"2d7b4580","hex_latitude":"05e182f0","is_valid_coordinates":true} 
[2026-07-11 09:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637709568001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104943999709609984,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881239227923744768,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783741064000,"timestamp_ms":1783741064000,"timestamp_seconds":1783741064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f40a340"} 
[2026-07-11 09:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3099590659,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-07-11 09:08:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147560827,"corrected_to":0} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2147869144,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3574071296,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3791529984,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57885301486277947,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":63,"raw_value":8255099411822313477,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2485987002909926656,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:25] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,169,85,24,241,157,16,213,159,108,45,192,175,4,43,10,66,92,181,3,41,81,128,1,240,46,227,79,225,113,205,200,60,120,31,239,52,96,2,116,5,35,51,63,226],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0},{"io_id":200,"original":2147560827,"validated":0}]} 
[2026-07-11 09:08:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288421854385274880,"timestamp_seconds":288421854385274.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":128446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":128446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":128446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637709568001,"66":13059,"169":206,"85":15104,"24":41,"16":104943999709609984,"45":8881239227923744768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637709568001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:08:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104943999709609984,"km_value":104943999709609.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881239227923744768,"description":"Unknown IO ID 45"} 
[2026-07-11 09:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637709568001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8881239227923744768}} 
[2026-07-11 09:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":128446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:08:25] local.INFO: GPS data processed {"connection_id":128446,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:08:25] local.INFO: Acknowledgment sent {"connection_id":128446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:08:27] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f40f160012d7b4a0005e162f8000300ad23..."} 
[2026-07-11 09:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f40f160012d7b4a0005e162f8000300ad23..."} 
[2026-07-11 09:08:27] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f40f160012d7b4a0005e162f8000300ad23..."} 
[2026-07-11 09:08:27] local.INFO: Packet analysis {"connection_id":128446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f40"} 
[2026-07-11 09:08:27] local.INFO: Extracted packet for processing {"connection_id":128446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f40"} 
[2026-07-11 09:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763054592,"raw_latitude":98657016,"longitude_deg":76.3054592,"latitude_deg":9.8657016,"altitude":3,"angle":173,"satellites":35,"speed":5,"hex_longitude":"2d7b4a00","hex_latitude":"05e162f8","is_valid_coordinates":true} 
[2026-07-11 09:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637712384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104944403436535808,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602804817920,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783741084000,"timestamp_ms":1783741084000,"timestamp_seconds":1783741084,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f40f160"} 
[2026-07-11 09:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036262,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3084386307,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3221610936,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399457,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3580166144,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789060096,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,169,85,24,241,157,16,214,159,120,45,128,168,4,38,10,66,213,108,192,175,43,92,1,240,7,227,79,225,113,205,2,22,64,239,51,96,116,5,33],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-11 09:08:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360478344617721856,"timestamp_seconds":360478344617721.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637712384001,"66":13319,"169":206,"85":15104,"24":5,"16":104944403436535808,"45":8882646602804817920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637712384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:08:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104944403436535808,"km_value":104944403436535.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602804817920,"description":"Unknown IO ID 45"} 
[2026-07-11 09:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637712384001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8882646602804817920}} 
[2026-07-11 09:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":128446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:08:27] local.INFO: GPS data processed {"connection_id":128446,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:08:27] local.INFO: Acknowledgment sent {"connection_id":128446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:08:41] local.INFO: TCP Data received {"connection_id":128445,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:08:41] local.INFO: Processing buffer {"connection_id":128445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:08:41] local.INFO: Packet analysis {"connection_id":128445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:08:41] local.INFO: Extracted packet for processing {"connection_id":128445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:08: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-07-11 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:08: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-07-11 09:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:08:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":128445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:08:41] local.INFO: GPS data processed {"connection_id":128445,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:08:41] local.INFO: Acknowledgment sent {"connection_id":128445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:08:46] local.INFO: TCP Data received {"connection_id":128447,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:08:46] local.INFO: Processing buffer {"connection_id":128447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:08:46] local.INFO: IMEI packet received {"connection_id":128447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":128447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:08:58] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f412fe0012d7b4d4005e156d00004009c23..."} 
[2026-07-11 09:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f412fe0012d7b4d4005e156d00004009c23..."} 
[2026-07-11 09:08:58] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f412fe0012d7b4d4005e156d00004009c23..."} 
[2026-07-11 09:08:58] local.INFO: Packet analysis {"connection_id":128446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:08:58] local.INFO: Extracted packet for processing {"connection_id":128446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763055424,"raw_latitude":98653904,"longitude_deg":76.3055424,"latitude_deg":9.8653904,"altitude":4,"angle":156,"satellites":35,"speed":9,"hex_longitude":"2d7b4d40","hex_latitude":"05e156d0","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637717504001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104944562350325760,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240197920768,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783741100000,"timestamp_ms":1783741100000,"timestamp_seconds":1783741100,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f412fe0"} 
[2026-07-11 09:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786981376,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-2848526747120558336,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147869111,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3580428288,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57885301486277947,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.WARNING: Large IO value detected {"io_id":63,"raw_value":-3999195174252281851,"note":"Value kept but may cause issues"} 
[2026-07-11 09:08:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,169,85,24,241,157,16,214,159,163,45,128,130,5,37,10,66,120,168,4,38,213,108,192,1,240,51,227,79,225,113,205,9,81,64,216,36,239,2,116,3,166,63],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-11 09:08:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216363147949572096,"timestamp_seconds":216363147949572.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":128446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":128446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":128446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637717504001,"66":13037,"169":206,"85":15104,"24":9,"16":104944562350325760,"45":8883913240197920768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637717504001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:08:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104944562350325760,"km_value":104944562350325.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240197920768,"description":"Unknown IO ID 45"} 
[2026-07-11 09:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637717504001,"power":13037,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8883913240197920768}} 
[2026-07-11 09:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":128446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:08:58] local.INFO: GPS data processed {"connection_id":128446,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:08:58] local.INFO: Acknowledgment sent {"connection_id":128446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:09:04] local.INFO: TCP Data received {"connection_id":130408,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:09:04] local.INFO: Processing buffer {"connection_id":130408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:09:04] local.INFO: IMEI packet received {"connection_id":130408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":130408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:09:10] local.INFO: TCP Data received {"connection_id":130408,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:09:10] local.INFO: Processing buffer {"connection_id":130408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:09:10] local.INFO: IMEI packet received {"connection_id":130408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":130408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:09:11] local.INFO: TCP Data received {"connection_id":130408,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:09:11] local.INFO: Processing buffer {"connection_id":130408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:09:11] local.INFO: Packet analysis {"connection_id":130408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:09:11] local.INFO: Extracted packet for processing {"connection_id":130408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":130408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:09:11] local.INFO: GPS data processed {"connection_id":130408,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:09:11] local.INFO: Acknowledgment sent {"connection_id":130408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:09:17] local.INFO: TCP Data received {"connection_id":129159,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:09:17] local.INFO: Processing buffer {"connection_id":129159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:09:17] local.INFO: IMEI packet received {"connection_id":129159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":129159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:09:21] local.INFO: TCP Data received {"connection_id":129159,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:09:21] local.INFO: Processing buffer {"connection_id":129159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:09:21] local.INFO: IMEI packet received {"connection_id":129159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":129159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:09:23] local.INFO: TCP Data received {"connection_id":129159,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f413b98012d7b4dc005e15488000500aa25..."} 
[2026-07-11 09:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f413b98012d7b4dc005e15488000500aa25..."} 
[2026-07-11 09:09:23] local.INFO: Processing buffer {"connection_id":129159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f413b98012d7b4dc005e15488000500aa25..."} 
[2026-07-11 09:09:23] local.INFO: Packet analysis {"connection_id":129159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:09:23] local.INFO: Extracted packet for processing {"connection_id":129159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763055552,"raw_latitude":98653320,"longitude_deg":76.3055552,"latitude_deg":9.865332,"altitude":5,"angle":170,"satellites":37,"speed":7,"hex_longitude":"2d7b4dc0","hex_latitude":"05e15488","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637721600001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104944592415096832,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884828033871433728,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783741103000,"timestamp_ms":1783741103000,"timestamp_seconds":1783741103,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f413b98"} 
[2026-07-11 09:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-11 09:09:23] 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-07-11 09: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-07-11 09:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637721600001,"66":13091,"169":206,"85":15104,"24":7,"16":104944592415096832,"45":8884828033871433728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637721600001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:09:23] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104944592415096832,"km_value":104944592415096.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884828033871433728,"description":"Unknown IO ID 45"} 
[2026-07-11 09:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637721600001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8884828033871433728}} 
[2026-07-11 09:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":129159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:09:23] local.INFO: GPS data processed {"connection_id":129159,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:09:23] local.INFO: Acknowledgment sent {"connection_id":129159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:09:42] local.INFO: TCP Data received {"connection_id":130408,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:09:42] local.INFO: Processing buffer {"connection_id":130408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f3d8660012cb29ac007823b28004700db22..."} 
[2026-07-11 09:09:42] local.INFO: Packet analysis {"connection_id":130408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:09:42] local.INFO: Extracted packet for processing {"connection_id":130408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f3d"} 
[2026-07-11 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637583104001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783740860000,"timestamp_ms":1783740860000,"timestamp_seconds":1783740860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f3d8660"} 
[2026-07-11 09:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637583104001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637583104001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:09:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637583104001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":130408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:09:42] local.INFO: GPS data processed {"connection_id":130408,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:09:42] local.INFO: Acknowledgment sent {"connection_id":130408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:09:54] local.INFO: TCP Data received {"connection_id":129159,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4189b8012d7b4e4005e15080000500a928..."} 
[2026-07-11 09:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4189b8012d7b4e4005e15080000500a928..."} 
[2026-07-11 09:09:54] local.INFO: Processing buffer {"connection_id":129159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4189b8012d7b4e4005e15080000500a928..."} 
[2026-07-11 09:09:54] local.INFO: Packet analysis {"connection_id":129159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:09:54] local.INFO: Extracted packet for processing {"connection_id":129159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763055680,"raw_latitude":98652288,"longitude_deg":76.305568,"latitude_deg":9.8652288,"altitude":5,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b4e40","hex_latitude":"05e15080","is_valid_coordinates":true} 
[2026-07-11 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637722368001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104944643954704384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884968771359639552,"note":"Value kept but may cause issues"} 
[2026-07-11 09:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783741123000,"timestamp_ms":1783741123000,"timestamp_seconds":1783741123,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4189b8"} 
[2026-07-11 09:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 09:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637722368001,"66":13059,"169":206,"85":15104,"24":0,"16":104944643954704384,"45":8884968771359639552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637722368001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:09:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:09:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104944643954704384,"km_value":104944643954704.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884968771359639552,"description":"Unknown IO ID 45"} 
[2026-07-11 09:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637722368001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8884968771359639552}} 
[2026-07-11 09:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":129159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:09:54] local.INFO: GPS data processed {"connection_id":129159,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:09:54] local.INFO: Acknowledgment sent {"connection_id":129159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:10:09] local.INFO: TCP Data received {"connection_id":128262,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:10:09] local.INFO: Processing buffer {"connection_id":128262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:10:09] local.INFO: IMEI packet received {"connection_id":128262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":128262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:10:15] local.INFO: TCP Data received {"connection_id":128262,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:10:15] local.INFO: Processing buffer {"connection_id":128262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:10:15] local.INFO: IMEI packet received {"connection_id":128262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":128262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:10:16] local.INFO: TCP Data received {"connection_id":128262,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:10:16] local.INFO: Processing buffer {"connection_id":128262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:10:16] local.INFO: Packet analysis {"connection_id":128262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:10:16] local.INFO: Extracted packet for processing {"connection_id":128262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:10:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:10:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":128262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:10:16] local.INFO: GPS data processed {"connection_id":128262,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:10:16] local.INFO: Acknowledgment sent {"connection_id":128262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:10:16] local.INFO: TCP Data received {"connection_id":128449,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:10:16] local.INFO: Processing buffer {"connection_id":128449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:10:16] local.INFO: IMEI packet received {"connection_id":128449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":128449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:10:20] local.INFO: TCP Data received {"connection_id":128262,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:10:20] local.INFO: Processing buffer {"connection_id":128262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:10:20] local.INFO: Packet analysis {"connection_id":128262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:10:20] local.INFO: Extracted packet for processing {"connection_id":128262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:10:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":128262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:10:20] local.INFO: GPS data processed {"connection_id":128262,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:10:20] local.INFO: Acknowledgment sent {"connection_id":128262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:10:21] local.INFO: TCP Data received {"connection_id":128449,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:10:21] local.INFO: Processing buffer {"connection_id":128449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:10:21] local.INFO: IMEI packet received {"connection_id":128449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":128449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:10:22] local.INFO: TCP Data received {"connection_id":128449,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f41d008012d7b4e4005e15080000500a922..."} 
[2026-07-11 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f41d008012d7b4e4005e15080000500a922..."} 
[2026-07-11 09:10:22] local.INFO: Processing buffer {"connection_id":128449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f41d008012d7b4e4005e15080000500a922..."} 
[2026-07-11 09:10:22] local.INFO: Packet analysis {"connection_id":128449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:10:22] local.INFO: Extracted packet for processing {"connection_id":128449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":763055680,"raw_latitude":98652288,"longitude_deg":76.305568,"latitude_deg":9.8652288,"altitude":5,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b4e40","hex_latitude":"05e15080","is_valid_coordinates":true} 
[2026-07-11 09:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637727488001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104944643954704384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885109508847730688,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783741141000,"timestamp_ms":1783741141000,"timestamp_seconds":1783741141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f41d008"} 
[2026-07-11 09:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135015,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399442,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786379264,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147869096,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2196766725,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-11 09:10:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":262318,"corrected_to":0} 
[2026-07-11 09:10:22] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3583311872,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,169,85,24,241,157,16,214,159,59,45,192,84,5,37,10,66,47,64,86,4,35,1,240,7,227,79,225,113,205,41,120,200,38,239,52,2,116,18],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0},{"io_id":200,"original":262318,"validated":0}]} 
[2026-07-11 09:10:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360473959453425664,"timestamp_seconds":360473959453425.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637727488001,"66":13102,"169":206,"85":15104,"24":0,"16":104944643954704384,"45":8885109508847730688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637727488001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:10:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:10:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104944643954704384,"km_value":104944643954704.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885109508847730688,"description":"Unknown IO ID 45"} 
[2026-07-11 09:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637727488001,"power":13102,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885109508847730688}} 
[2026-07-11 09:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":128449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:10:22] local.INFO: GPS data processed {"connection_id":128449,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:10:22] local.INFO: Acknowledgment sent {"connection_id":128449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:10:53] local.INFO: TCP Data received {"connection_id":128449,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f41d008012d7b4e4005e15080000500a922..."} 
[2026-07-11 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f41d008012d7b4e4005e15080000500a922..."} 
[2026-07-11 09:10:53] local.INFO: Processing buffer {"connection_id":128449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f41d008012d7b4e4005e15080000500a922..."} 
[2026-07-11 09:10:53] local.INFO: Packet analysis {"connection_id":128449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:10:53] local.INFO: Extracted packet for processing {"connection_id":128449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763055680,"raw_latitude":98652288,"longitude_deg":76.305568,"latitude_deg":9.8652288,"altitude":5,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b4e40","hex_latitude":"05e15080","is_valid_coordinates":true} 
[2026-07-11 09:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637732096001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104944643954704384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885109508847730688,"note":"Value kept but may cause issues"} 
[2026-07-11 09:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783741141000,"timestamp_ms":1783741141000,"timestamp_seconds":1783741141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f41d008"} 
[2026-07-11 09:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 09:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637732096001,"66":13102,"169":206,"85":15104,"24":0,"16":104944643954704384,"45":8885109508847730688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637732096001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:10:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104944643954704384,"km_value":104944643954704.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885109508847730688,"description":"Unknown IO ID 45"} 
[2026-07-11 09:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637732096001,"power":13102,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885109508847730688}} 
[2026-07-11 09:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":128449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:10:53] local.INFO: GPS data processed {"connection_id":128449,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:10:53] local.INFO: Acknowledgment sent {"connection_id":128449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:11:05] local.INFO: TCP Data received {"connection_id":129160,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:11:05] local.INFO: Processing buffer {"connection_id":129160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:11:05] local.INFO: IMEI packet received {"connection_id":129160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":129160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:11:10] local.INFO: TCP Data received {"connection_id":129160,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:11:10] local.INFO: Processing buffer {"connection_id":129160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:11:10] local.INFO: IMEI packet received {"connection_id":129160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":129160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:11:11] local.INFO: TCP Data received {"connection_id":129160,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:11:11] local.INFO: Processing buffer {"connection_id":129160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:11:11] local.INFO: Packet analysis {"connection_id":129160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:11:11] local.INFO: Extracted packet for processing {"connection_id":129160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":129160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:11:11] local.INFO: GPS data processed {"connection_id":129160,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:11:11] local.INFO: Acknowledgment sent {"connection_id":129160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:11:16] local.INFO: TCP Data received {"connection_id":128450,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:11:16] local.INFO: Processing buffer {"connection_id":128450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:11:16] local.INFO: IMEI packet received {"connection_id":128450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":128450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:11:21] local.INFO: TCP Data received {"connection_id":128450,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:11:21] local.INFO: Processing buffer {"connection_id":128450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:11:21] local.INFO: IMEI packet received {"connection_id":128450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":128450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:11:22] local.INFO: TCP Data received {"connection_id":128450,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f41dbc0012d7b4e4005e15080000500a923..."} 
[2026-07-11 09:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f41dbc0012d7b4e4005e15080000500a923..."} 
[2026-07-11 09:11:22] local.INFO: Processing buffer {"connection_id":128450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f41dbc0012d7b4e4005e15080000500a923..."} 
[2026-07-11 09:11:22] local.INFO: Packet analysis {"connection_id":128450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:11:22] local.INFO: Extracted packet for processing {"connection_id":128450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f41"} 
[2026-07-11 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763055680,"raw_latitude":98652288,"longitude_deg":76.305568,"latitude_deg":9.8652288,"altitude":5,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b4e40","hex_latitude":"05e15080","is_valid_coordinates":true} 
[2026-07-11 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637732096001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104944643954704384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885109508847730688,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783741144000,"timestamp_ms":1783741144000,"timestamp_seconds":1783741144,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f41dbc0"} 
[2026-07-11 09:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 09:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637732096001,"66":13091,"169":206,"85":15104,"24":0,"16":104944643954704384,"45":8885109508847730688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637732096001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:11:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104944643954704384,"km_value":104944643954704.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885109508847730688,"description":"Unknown IO ID 45"} 
[2026-07-11 09:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637732096001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885109508847730688}} 
[2026-07-11 09:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":128450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:11:22] local.INFO: GPS data processed {"connection_id":128450,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:11:22] local.INFO: Acknowledgment sent {"connection_id":128450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:11:42] local.INFO: TCP Data received {"connection_id":129160,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:11:42] local.INFO: Processing buffer {"connection_id":129160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:11:42] local.INFO: Packet analysis {"connection_id":129160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:11:42] local.INFO: Extracted packet for processing {"connection_id":129160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":129160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:11:42] local.INFO: GPS data processed {"connection_id":129160,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:11:42] local.INFO: Acknowledgment sent {"connection_id":129160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:11:54] local.INFO: TCP Data received {"connection_id":128450,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4356a8012d7b504005e150a8000500a923..."} 
[2026-07-11 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4356a8012d7b504005e150a8000500a923..."} 
[2026-07-11 09:11:54] local.INFO: Processing buffer {"connection_id":128450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4356a8012d7b504005e150a8000500a923..."} 
[2026-07-11 09:11:54] local.INFO: Packet analysis {"connection_id":128450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f43"} 
[2026-07-11 09:11:54] local.INFO: Extracted packet for processing {"connection_id":128450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f43"} 
[2026-07-11 09:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763056192,"raw_latitude":98652328,"longitude_deg":76.3056192,"latitude_deg":9.8652328,"altitude":5,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5040","hex_latitude":"05e150a8","is_valid_coordinates":true} 
[2026-07-11 09:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637732864001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104944643954704384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885109508847730688,"note":"Value kept but may cause issues"} 
[2026-07-11 09:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783741241000,"timestamp_ms":1783741241000,"timestamp_seconds":1783741241,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4356a8"} 
[2026-07-11 09:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 09:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637732864001,"66":12722,"169":206,"85":15104,"24":0,"16":104944643954704384,"45":8885109508847730688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637732864001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:11:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:11:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104944643954704384,"km_value":104944643954704.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885109508847730688,"description":"Unknown IO ID 45"} 
[2026-07-11 09:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637732864001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885109508847730688}} 
[2026-07-11 09:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":128450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:11:54] local.INFO: GPS data processed {"connection_id":128450,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:11:54] local.INFO: Acknowledgment sent {"connection_id":128450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:12:05] local.INFO: TCP Data received {"connection_id":130410,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:12:05] local.INFO: Processing buffer {"connection_id":130410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:12:05] local.INFO: IMEI packet received {"connection_id":130410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":130410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:12:09] local.INFO: TCP Data received {"connection_id":130410,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:12:09] local.INFO: Processing buffer {"connection_id":130410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:12:09] local.INFO: IMEI packet received {"connection_id":130410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":130410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:12:10] local.INFO: TCP Data received {"connection_id":130410,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:12:10] local.INFO: Processing buffer {"connection_id":130410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:12:10] local.INFO: Packet analysis {"connection_id":130410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:12:10] local.INFO: Extracted packet for processing {"connection_id":130410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":130410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:12:10] local.INFO: GPS data processed {"connection_id":130410,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:12:10] local.INFO: Acknowledgment sent {"connection_id":130410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:12:15] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:12:15] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:12:15] local.INFO: IMEI packet received {"connection_id":130411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":130411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:12:16] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:12:16] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:12:16] local.INFO: IMEI packet received {"connection_id":130411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":130411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:12:22] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:12:22] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:12:22] local.INFO: IMEI packet received {"connection_id":130411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":130411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:12:22] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4356a8012d7b504005e150a8000500a923..."} 
[2026-07-11 09:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4356a8012d7b504005e150a8000500a923..."} 
[2026-07-11 09:12:22] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4356a8012d7b504005e150a8000500a923..."} 
[2026-07-11 09:12:22] local.INFO: Packet analysis {"connection_id":130411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f43"} 
[2026-07-11 09:12:22] local.INFO: Extracted packet for processing {"connection_id":130411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f43"} 
[2026-07-11 09:12:22] local.INFO: GPS Element Parsed {"raw_longitude":763056192,"raw_latitude":98652328,"longitude_deg":76.3056192,"latitude_deg":9.8652328,"altitude":5,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5040","hex_latitude":"05e150a8","is_valid_coordinates":true} 
[2026-07-11 09:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637757696001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104944643954704384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885672458801162240,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783741241000,"timestamp_ms":1783741241000,"timestamp_seconds":1783741241,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4356a8"} 
[2026-07-11 09:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 09:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637757696001,"66":12722,"169":206,"85":15104,"24":0,"16":104944643954704384,"45":8885672458801162240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 09:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637757696001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:12:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 09:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104944643954704384,"km_value":104944643954704.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885672458801162240,"description":"Unknown IO ID 45"} 
[2026-07-11 09:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637757696001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885672458801162240}} 
[2026-07-11 09:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":130411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:12:23] local.INFO: GPS data processed {"connection_id":130411,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:12:23] local.INFO: Acknowledgment sent {"connection_id":130411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:12:41] local.INFO: TCP Data received {"connection_id":130410,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:12:41] local.INFO: Processing buffer {"connection_id":130410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:12:41] local.INFO: Packet analysis {"connection_id":130410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:12:41] local.INFO: Extracted packet for processing {"connection_id":130410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:12: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-07-11 09:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:12: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-07-11 09:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:12:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":130410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:12:41] local.INFO: GPS data processed {"connection_id":130410,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:12:41] local.INFO: Acknowledgment sent {"connection_id":130410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:12:53] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4513f8012d7b740005e04be8000600b01d..."} 
[2026-07-11 09:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4513f8012d7b740005e04be8000600b01d..."} 
[2026-07-11 09:12:54] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4513f8012d7b740005e04be8000600b01d..."} 
[2026-07-11 09:12:54] local.INFO: Packet analysis {"connection_id":130411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:12:54] local.INFO: Extracted packet for processing {"connection_id":130411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763065344,"raw_latitude":98585576,"longitude_deg":76.3065344,"latitude_deg":9.8585576,"altitude":6,"angle":176,"satellites":29,"speed":53,"hex_longitude":"2d7b7400","hex_latitude":"05e04be8","is_valid_coordinates":true} 
[2026-07-11 09:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637785088001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104947916719783936,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894609289297053696,"note":"Value kept but may cause issues"} 
[2026-07-11 09:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783741355000,"timestamp_ms":1783741355000,"timestamp_seconds":1783741355,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4513f8"} 
[2026-07-11 09:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 09:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637785088001,"66":13406,"170":206,"85":15104,"24":53,"16":104947916719783936,"45":8894609289297053696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-11 09:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637785088001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:12:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-11 09:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104947916719783936,"km_value":104947916719783.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894609289297053696,"description":"Unknown IO ID 45"} 
[2026-07-11 09:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637785088001,"power":13406,"unknown_170":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8894609289297053696}} 
[2026-07-11 09:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":130411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:12:54] local.INFO: GPS data processed {"connection_id":130411,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:12:54] local.INFO: Acknowledgment sent {"connection_id":130411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:13:05] local.INFO: TCP Data received {"connection_id":128452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:13:05] local.INFO: Processing buffer {"connection_id":128452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:13:05] local.INFO: IMEI packet received {"connection_id":128452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":128452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:13:10] local.INFO: TCP Data received {"connection_id":128452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:13:10] local.INFO: Processing buffer {"connection_id":128452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:13:10] local.INFO: IMEI packet received {"connection_id":128452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":128452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:13:10] local.INFO: TCP Data received {"connection_id":128452,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:13:10] local.INFO: Processing buffer {"connection_id":128452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:13:10] local.INFO: Packet analysis {"connection_id":128452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:13:10] local.INFO: Extracted packet for processing {"connection_id":128452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:13: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-07-11 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:13:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":128452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:13:10] local.INFO: GPS data processed {"connection_id":128452,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:13:10] local.INFO: Acknowledgment sent {"connection_id":128452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:13:16] local.INFO: TCP Data received {"connection_id":128264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:13:16] local.INFO: Processing buffer {"connection_id":128264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:13:16] local.INFO: IMEI packet received {"connection_id":128264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":128264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:13:19] local.INFO: TCP Data received {"connection_id":128264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:13:19] local.INFO: Processing buffer {"connection_id":128264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:13:19] local.INFO: IMEI packet received {"connection_id":128264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":128264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:13:21] local.INFO: TCP Data received {"connection_id":128264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:13:21] local.INFO: Processing buffer {"connection_id":128264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:13:21] local.INFO: IMEI packet received {"connection_id":128264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":128264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:13:22] local.INFO: TCP Data received {"connection_id":128264,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f452f50012d7b788005e02778000600ae1e..."} 
[2026-07-11 09:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f452f50012d7b788005e02778000600ae1e..."} 
[2026-07-11 09:13:22] local.INFO: Processing buffer {"connection_id":128264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f452f50012d7b788005e02778000600ae1e..."} 
[2026-07-11 09:13:22] local.INFO: Packet analysis {"connection_id":128264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:13:22] local.INFO: Extracted packet for processing {"connection_id":128264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:13:22] local.INFO: GPS Element Parsed {"raw_longitude":763066496,"raw_latitude":98576248,"longitude_deg":76.3066496,"latitude_deg":9.8576248,"altitude":6,"angle":174,"satellites":30,"speed":52,"hex_longitude":"2d7b7880","hex_latitude":"05e02778","is_valid_coordinates":true} 
[2026-07-11 09:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637786880001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104948371986317312,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895735189201479680,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783741362000,"timestamp_ms":1783741362000,"timestamp_seconds":1783741362,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f452f50"} 
[2026-07-11 09:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-11 09:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637786880001,"66":13363,"170":206,"85":15104,"24":52,"16":104948371986317312,"45":8895735189201479680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-11 09:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637786880001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:13:22] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-11 09:13:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104948371986317312,"km_value":104948371986317.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895735189201479680,"description":"Unknown IO ID 45"} 
[2026-07-11 09:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637786880001,"power":13363,"unknown_170":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8895735189201479680}} 
[2026-07-11 09:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":128264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:13:22] local.INFO: GPS data processed {"connection_id":128264,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:13:22] local.INFO: Acknowledgment sent {"connection_id":128264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:13:42] local.INFO: TCP Data received {"connection_id":128452,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:13:42] local.INFO: Processing buffer {"connection_id":128452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:13:42] local.INFO: Packet analysis {"connection_id":128452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:13:42] local.INFO: Extracted packet for processing {"connection_id":128452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":128452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:13:42] local.INFO: GPS data processed {"connection_id":128452,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:13:42] local.INFO: Acknowledgment sent {"connection_id":128452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:13:53] local.INFO: TCP Data received {"connection_id":128264,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f454aa8012d7b7d4005e002c8000500ae1f..."} 
[2026-07-11 09:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f454aa8012d7b7d4005e002c8000500ae1f..."} 
[2026-07-11 09:13:53] local.INFO: Processing buffer {"connection_id":128264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f454aa8012d7b7d4005e002c8000500ae1f..."} 
[2026-07-11 09:13:53] local.INFO: Packet analysis {"connection_id":128264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:13:53] local.INFO: Extracted packet for processing {"connection_id":128264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:13:53] local.INFO: GPS Element Parsed {"raw_longitude":763067712,"raw_latitude":98566856,"longitude_deg":76.3067712,"latitude_deg":9.8566856,"altitude":5,"angle":174,"satellites":31,"speed":55,"hex_longitude":"2d7b7d40","hex_latitude":"05e002c8","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637788672001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104948831547817984,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897001826594289664,"note":"Value kept but may cause issues"} 
[2026-07-11 09:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783741369000,"timestamp_ms":1783741369000,"timestamp_seconds":1783741369,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f454aa8"} 
[2026-07-11 09:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 09:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09: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-07-11 09:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637788672001,"66":13450,"170":206,"85":15104,"24":55,"16":104948831547817984,"45":8897001826594289664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-11 09:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637788672001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:13:53] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-11 09:13:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104948831547817984,"km_value":104948831547817.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897001826594289664,"description":"Unknown IO ID 45"} 
[2026-07-11 09:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637788672001,"power":13450,"unknown_170":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8897001826594289664}} 
[2026-07-11 09:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":128264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:13:53] local.INFO: GPS data processed {"connection_id":128264,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:13:53] local.INFO: Acknowledgment sent {"connection_id":128264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:14:04] local.INFO: TCP Data received {"connection_id":128453,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:14:04] local.INFO: Processing buffer {"connection_id":128453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:14:04] local.INFO: IMEI packet received {"connection_id":128453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":128453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:14:09] local.INFO: TCP Data received {"connection_id":128453,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:14:09] local.INFO: Processing buffer {"connection_id":128453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:14:09] local.INFO: IMEI packet received {"connection_id":128453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":128453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:14:10] local.INFO: TCP Data received {"connection_id":128453,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:14:10] local.INFO: Processing buffer {"connection_id":128453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:14:10] local.INFO: Packet analysis {"connection_id":128453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:14:10] local.INFO: Extracted packet for processing {"connection_id":128453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:14: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-07-11 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:14:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":128453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:14:10] local.INFO: GPS data processed {"connection_id":128453,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:14:10] local.INFO: Acknowledgment sent {"connection_id":128453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:14:11] local.INFO: TCP Data received {"connection_id":129161,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:14:11] local.INFO: Processing buffer {"connection_id":129161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:14:11] local.INFO: IMEI packet received {"connection_id":129161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":129161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:14:21] local.INFO: TCP Data received {"connection_id":128265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:14:21] local.INFO: Processing buffer {"connection_id":128265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:14:21] local.INFO: IMEI packet received {"connection_id":128265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":128265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:14:23] local.INFO: TCP Data received {"connection_id":128265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:14:23] local.INFO: Processing buffer {"connection_id":128265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:14:23] local.INFO: IMEI packet received {"connection_id":128265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":128265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:14:24] local.INFO: TCP Data received {"connection_id":128265,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f456600012d7b81c005dfdd78000400ad1e..."} 
[2026-07-11 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f456600012d7b81c005dfdd78000400ad1e..."} 
[2026-07-11 09:14:24] local.INFO: Processing buffer {"connection_id":128265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f456600012d7b81c005dfdd78000400ad1e..."} 
[2026-07-11 09:14:24] local.INFO: Packet analysis {"connection_id":128265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:14:24] local.INFO: Extracted packet for processing {"connection_id":128265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":98557304,"longitude_deg":76.3068864,"latitude_deg":9.8557304,"altitude":4,"angle":173,"satellites":30,"speed":56,"hex_longitude":"2d7b81c0","hex_latitude":"05dfdd78","is_valid_coordinates":true} 
[2026-07-11 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637790464001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104949295404285952,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898338832731260928,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783741376000,"timestamp_ms":1783741376000,"timestamp_seconds":1783741376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f456600"} 
[2026-07-11 09:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 09:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637790464001,"66":13319,"36":206,"85":15104,"24":56,"16":104949295404285952,"45":8898338832731260928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-11 09:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637790464001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:14:24] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-11 09:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104949295404285952,"km_value":104949295404285.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898338832731260928,"description":"Unknown IO ID 45"} 
[2026-07-11 09:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637790464001,"power":13319,"unknown_36":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8898338832731260928}} 
[2026-07-11 09:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":128265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:14:24] local.INFO: GPS data processed {"connection_id":128265,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:14:24] local.INFO: Acknowledgment sent {"connection_id":128265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:14:27] local.INFO: TCP Data received {"connection_id":128265,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f458158012d7b87c005dfb6f0000300ac21..."} 
[2026-07-11 09:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f458158012d7b87c005dfb6f0000300ac21..."} 
[2026-07-11 09:14:27] local.INFO: Processing buffer {"connection_id":128265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f458158012d7b87c005dfb6f0000300ac21..."} 
[2026-07-11 09:14:27] local.INFO: Packet analysis {"connection_id":128265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:14:27] local.INFO: Extracted packet for processing {"connection_id":128265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763070400,"raw_latitude":98547440,"longitude_deg":76.30704,"latitude_deg":9.854744,"altitude":3,"angle":172,"satellites":33,"speed":55,"hex_longitude":"2d7b87c0","hex_latitude":"05dfb6f0","is_valid_coordinates":true} 
[2026-07-11 09:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637792256001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104949780735590400,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470124013568,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783741383000,"timestamp_ms":1783741383000,"timestamp_seconds":1783741383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f458158"} 
[2026-07-11 09:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3770361856,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-2355382575038914816,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812936398,"corrected_to":0} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728743,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3636199424,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57886718825485627,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-6442397972098433019,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:27] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,36,85,24,241,157,16,218,159,74,45,64,2,5,31,10,66,170,47,128,39,6,30,217,19,1,240,94,227,79,224,4,113,205,54,221,108,232,239,52,116,53,7,68],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2812936398,"validated":0}]} 
[2026-07-11 09:14:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288420720516005888,"timestamp_seconds":288420720516005.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637792256001,"66":12863,"36":206,"85":15104,"24":55,"16":104949780735590400,"45":8899605470124013568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-11 09:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637792256001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:14:27] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-11 09:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104949780735590400,"km_value":104949780735590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470124013568,"description":"Unknown IO ID 45"} 
[2026-07-11 09:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637792256001,"power":12863,"unknown_36":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8899605470124013568}} 
[2026-07-11 09:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":128265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:14:27] local.INFO: GPS data processed {"connection_id":128265,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:14:27] local.INFO: Acknowledgment sent {"connection_id":128265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:14:41] local.INFO: TCP Data received {"connection_id":128453,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:14:41] local.INFO: Processing buffer {"connection_id":128453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f421e28012cb29ac007823b28004700db25..."} 
[2026-07-11 09:14:41] local.INFO: Packet analysis {"connection_id":128453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:14:41] local.INFO: Extracted packet for processing {"connection_id":128453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f42"} 
[2026-07-11 09:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637660160001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783741161000,"timestamp_ms":1783741161000,"timestamp_seconds":1783741161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f421e28"} 
[2026-07-11 09:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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-07-11 09: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-07-11 09:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637660160001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637660160001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:14:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637660160001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":128453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:14:41] local.INFO: GPS data processed {"connection_id":128453,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:14:41] local.INFO: Acknowledgment sent {"connection_id":128453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:14:51] local.INFO: TCP Data received {"connection_id":128454,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:14:51] local.INFO: Processing buffer {"connection_id":128454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:14:51] local.INFO: IMEI packet received {"connection_id":128454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":128454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:14:58] local.INFO: TCP Data received {"connection_id":128265,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f459cb0012d7b8cc005df93d8000200ab1f..."} 
[2026-07-11 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f459cb0012d7b8cc005df93d8000200ab1f..."} 
[2026-07-11 09:14:58] local.INFO: Processing buffer {"connection_id":128265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f459cb0012d7b8cc005df93d8000200ab1f..."} 
[2026-07-11 09:14:58] local.INFO: Packet analysis {"connection_id":128265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:14:58] local.INFO: Extracted packet for processing {"connection_id":128265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763071680,"raw_latitude":98538456,"longitude_deg":76.307168,"latitude_deg":9.8538456,"altitude":2,"angle":171,"satellites":31,"speed":48,"hex_longitude":"2d7b8cc0","hex_latitude":"05df93d8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 09:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637794048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104950223117221888,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901294319981752320,"note":"Value kept but may cause issues"} 
[2026-07-11 09:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783741390000,"timestamp_ms":1783741390000,"timestamp_seconds":1783741390,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f459cb0"} 
[2026-07-11 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-07-11 09:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 09:14:58] 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-07-11 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-07-11 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-07-11 09:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":128265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":128265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":128265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637794048001,"66":13450,"36":206,"85":15104,"24":48,"16":104950223117221888,"45":8901294319981752320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-11 09:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637794048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:14:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-11 09:14:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104950223117221888,"km_value":104950223117221.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901294319981752320,"description":"Unknown IO ID 45"} 
[2026-07-11 09:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637794048001,"power":13450,"unknown_36":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8901294319981752320}} 
[2026-07-11 09:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":128265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:14:58] local.INFO: GPS data processed {"connection_id":128265,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:14:58] local.INFO: Acknowledgment sent {"connection_id":128265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:15:04] local.INFO: TCP Data received {"connection_id":129162,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:15:04] local.INFO: Processing buffer {"connection_id":129162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:15:04] local.INFO: IMEI packet received {"connection_id":129162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:15:10] local.INFO: TCP Data received {"connection_id":129162,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:15:10] local.INFO: Processing buffer {"connection_id":129162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:15:10] local.INFO: IMEI packet received {"connection_id":129162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":129162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:15:10] local.INFO: TCP Data received {"connection_id":129162,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:15:10] local.INFO: Processing buffer {"connection_id":129162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:15:10] local.INFO: Packet analysis {"connection_id":129162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:15:10] local.INFO: Extracted packet for processing {"connection_id":129162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:15:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":129162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:15:10] local.INFO: GPS data processed {"connection_id":129162,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:15:10] local.INFO: Acknowledgment sent {"connection_id":129162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:15:17] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:15:17] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:15:17] local.INFO: IMEI packet received {"connection_id":130412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":130412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:15:17] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:15:17] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:15:17] local.INFO: IMEI packet received {"connection_id":130412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":130412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:15:21] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:15:21] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:15:21] local.INFO: IMEI packet received {"connection_id":130412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":130412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:15:22] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f45bbf0012d7b920005df6e68000500ad1e..."} 
[2026-07-11 09:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f45bbf0012d7b920005df6e68000500ad1e..."} 
[2026-07-11 09:15:22] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f45bbf0012d7b920005df6e68000500ad1e..."} 
[2026-07-11 09:15:22] local.INFO: Packet analysis {"connection_id":130412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:15:22] local.INFO: Extracted packet for processing {"connection_id":130412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f45"} 
[2026-07-11 09:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763073024,"raw_latitude":98528872,"longitude_deg":76.3073024,"latitude_deg":9.8528872,"altitude":5,"angle":173,"satellites":30,"speed":50,"hex_longitude":"2d7b9200","hex_latitude":"05df6e68","is_valid_coordinates":true} 
[2026-07-11 09:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637795840001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104950691268657152,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902701694863005696,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783741398000,"timestamp_ms":1783741398000,"timestamp_seconds":1783741398,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f45bbf0"} 
[2026-07-11 09:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 09:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637795840001,"66":13493,"36":206,"85":15104,"24":50,"16":104950691268657152,"45":8902701694863005696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-11 09:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637795840001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:15:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-11 09:15:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104950691268657152,"km_value":104950691268657.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902701694863005696,"description":"Unknown IO ID 45"} 
[2026-07-11 09:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637795840001,"power":13493,"unknown_36":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8902701694863005696}} 
[2026-07-11 09:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":130412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:15:22] local.INFO: GPS data processed {"connection_id":130412,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:15:22] local.INFO: Acknowledgment sent {"connection_id":130412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:15:42] local.INFO: TCP Data received {"connection_id":129162,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:15:42] local.INFO: Processing buffer {"connection_id":129162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:15:42] local.INFO: Packet analysis {"connection_id":129162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:15:42] local.INFO: Extracted packet for processing {"connection_id":129162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:15:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":129162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:15:42] local.INFO: GPS data processed {"connection_id":129162,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:15:42] local.INFO: Acknowledgment sent {"connection_id":129162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:15:53] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f47ac08012d7bcb4005ddbc88000b00a91e..."} 
[2026-07-11 09:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f47ac08012d7bcb4005ddbc88000b00a91e..."} 
[2026-07-11 09:15:53] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f47ac08012d7bcb4005ddbc88000b00a91e..."} 
[2026-07-11 09:15:53] local.INFO: Packet analysis {"connection_id":130412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f47"} 
[2026-07-11 09:15:53] local.INFO: Extracted packet for processing {"connection_id":130412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f47"} 
[2026-07-11 09:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763087680,"raw_latitude":98417800,"longitude_deg":76.308768,"latitude_deg":9.84178,"altitude":11,"angle":169,"satellites":30,"speed":30,"hex_longitude":"2d7bcb40","hex_latitude":"05ddbc88","is_valid_coordinates":true} 
[2026-07-11 09:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637827840001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104956132992221184,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918393924786012160,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783741525000,"timestamp_ms":1783741525000,"timestamp_seconds":1783741525,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f47ac08"} 
[2026-07-11 09:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-2555792745571541504,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805072078,"corrected_to":0} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147868307,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3734372352,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3736647680,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57886199134442811,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.WARNING: Large IO value detected {"io_id":70,"raw_value":4665730508814974981,"note":"Value kept but may cause issues"} 
[2026-07-11 09:15:53] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,50,85,24,241,157,16,224,159,90,45,3,9,32,10,66,35,128,40,8,31,223,248,64,1,240,79,227,222,4,113,205,38,178,165,36,239,52,49,2,116,5,17,181,70],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2805072078,"validated":0}]} 
[2026-07-11 09:15:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792818394107019264,"timestamp_seconds":792818394107019.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637827840001,"66":13298,"50":206,"85":15104,"24":30,"16":104956132992221184,"45":8918393924786012160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-11 09:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637827840001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:15:53] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 09:15:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104956132992221184,"km_value":104956132992221.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918393924786012160,"description":"Unknown IO ID 45"} 
[2026-07-11 09:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637827840001,"power":13298,"unknown_50":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8918393924786012160}} 
[2026-07-11 09:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":130412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:15:53] local.INFO: GPS data processed {"connection_id":130412,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:15:53] local.INFO: Acknowledgment sent {"connection_id":130412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:16:05] local.INFO: TCP Data received {"connection_id":129163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:16:05] local.INFO: Processing buffer {"connection_id":129163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:16:05] local.INFO: IMEI packet received {"connection_id":129163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":129163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:16:09] local.INFO: TCP Data received {"connection_id":129163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:16:09] local.INFO: Processing buffer {"connection_id":129163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:16:09] local.INFO: IMEI packet received {"connection_id":129163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":129163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:16:10] local.INFO: TCP Data received {"connection_id":129163,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:16:10] local.INFO: Processing buffer {"connection_id":129163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:16:10] local.INFO: Packet analysis {"connection_id":129163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:16:10] local.INFO: Extracted packet for processing {"connection_id":129163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:16:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":129163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:16:10] local.INFO: GPS data processed {"connection_id":129163,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:16:10] local.INFO: Acknowledgment sent {"connection_id":129163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:16:17] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:16:17] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:16:17] local.INFO: IMEI packet received {"connection_id":130413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":130413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:16:19] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:16:19] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:16:19] local.INFO: IMEI packet received {"connection_id":130413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":130413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:16:20] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f47dae8012d7bd18005dd97c0000900ab1f..."} 
[2026-07-11 09:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f47dae8012d7bd18005dd97c0000900ab1f..."} 
[2026-07-11 09:16:20] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f47dae8012d7bd18005dd97c0000900ab1f..."} 
[2026-07-11 09:16:20] local.INFO: Packet analysis {"connection_id":130413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f47"} 
[2026-07-11 09:16:20] local.INFO: Extracted packet for processing {"connection_id":130413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f47"} 
[2026-07-11 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":763089280,"raw_latitude":98408384,"longitude_deg":76.308928,"latitude_deg":9.8408384,"altitude":9,"angle":171,"satellites":31,"speed":36,"hex_longitude":"2d7bd180","hex_latitude":"05dd97c0","is_valid_coordinates":true} 
[2026-07-11 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637830400001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104956596848689152,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920293880876533760,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783741537000,"timestamp_ms":1783741537000,"timestamp_seconds":1783741537,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f47dae8"} 
[2026-07-11 09:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-11 09:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637830400001,"66":13428,"50":206,"85":15104,"24":36,"16":104956596848689152,"45":8920293880876533760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-11 09:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637830400001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:16:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 09:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104956596848689152,"km_value":104956596848689.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920293880876533760,"description":"Unknown IO ID 45"} 
[2026-07-11 09:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637830400001,"power":13428,"unknown_50":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8920293880876533760}} 
[2026-07-11 09:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":130413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:16:20] local.INFO: GPS data processed {"connection_id":130413,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:16:20] local.INFO: Acknowledgment sent {"connection_id":130413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:16:41] local.INFO: TCP Data received {"connection_id":129163,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:16:41] local.INFO: Processing buffer {"connection_id":129163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:16:41] local.INFO: Packet analysis {"connection_id":129163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:16:41] local.INFO: Extracted packet for processing {"connection_id":129163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:16: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-07-11 09:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:16:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":129163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:16:41] local.INFO: GPS data processed {"connection_id":129163,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:16:41] local.INFO: Acknowledgment sent {"connection_id":129163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:16:52] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f47fe10012d7bd70005dd7270000a00ab1e..."} 
[2026-07-11 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f47fe10012d7bd70005dd7270000a00ab1e..."} 
[2026-07-11 09:16:52] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f47fe10012d7bd70005dd7270000a00ab1e..."} 
[2026-07-11 09:16:52] local.INFO: Packet analysis {"connection_id":130413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f47"} 
[2026-07-11 09:16:52] local.INFO: Extracted packet for processing {"connection_id":130413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f47"} 
[2026-07-11 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763090688,"raw_latitude":98398832,"longitude_deg":76.3090688,"latitude_deg":9.8398832,"altitude":10,"angle":171,"satellites":30,"speed":46,"hex_longitude":"2d7bd700","hex_latitude":"05dd7270","is_valid_coordinates":true} 
[2026-07-11 09:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637833472001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104957065000124416,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922053099478564864,"note":"Value kept but may cause issues"} 
[2026-07-11 09:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783741546000,"timestamp_ms":1783741546000,"timestamp_seconds":1783741546,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f47fe10"} 
[2026-07-11 09:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 09:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637833472001,"66":13396,"50":206,"85":15104,"24":46,"16":104957065000124416,"45":8922053099478564864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-11 09:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637833472001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:16:52] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 09:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104957065000124416,"km_value":104957065000124.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922053099478564864,"description":"Unknown IO ID 45"} 
[2026-07-11 09:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637833472001,"power":13396,"unknown_50":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8922053099478564864}} 
[2026-07-11 09:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":130413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:16:52] local.INFO: GPS data processed {"connection_id":130413,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:16:52] local.INFO: Acknowledgment sent {"connection_id":130413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:17:06] local.INFO: TCP Data received {"connection_id":128268,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:17:06] local.INFO: Processing buffer {"connection_id":128268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:17:06] local.INFO: IMEI packet received {"connection_id":128268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":128268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:17:10] local.INFO: TCP Data received {"connection_id":128268,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:17:10] local.INFO: Processing buffer {"connection_id":128268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:17:10] local.INFO: IMEI packet received {"connection_id":128268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":128268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:17:10] local.INFO: TCP Data received {"connection_id":128268,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:17:10] local.INFO: Processing buffer {"connection_id":128268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:17:10] local.INFO: Packet analysis {"connection_id":128268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:17:10] local.INFO: Extracted packet for processing {"connection_id":128268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:17:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":128268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:17:10] local.INFO: GPS data processed {"connection_id":128268,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:17:10] local.INFO: Acknowledgment sent {"connection_id":128268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:17:17] local.INFO: TCP Data received {"connection_id":128455,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:17:17] local.INFO: Processing buffer {"connection_id":128455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:17:17] local.INFO: IMEI packet received {"connection_id":128455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":128455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:17:20] local.INFO: TCP Data received {"connection_id":128455,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:17:20] local.INFO: Processing buffer {"connection_id":128455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:17:20] local.INFO: IMEI packet received {"connection_id":128455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":128455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:17:21] local.INFO: TCP Data received {"connection_id":128455,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f481d50012d7bdc8005dd4c20000800aa1d..."} 
[2026-07-11 09:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f481d50012d7bdc8005dd4c20000800aa1d..."} 
[2026-07-11 09:17:21] local.INFO: Processing buffer {"connection_id":128455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f481d50012d7bdc8005dd4c20000800aa1d..."} 
[2026-07-11 09:17:21] local.INFO: Packet analysis {"connection_id":128455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f48"} 
[2026-07-11 09:17:21] local.INFO: Extracted packet for processing {"connection_id":128455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f48"} 
[2026-07-11 09:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":98389024,"longitude_deg":76.3092096,"latitude_deg":9.8389024,"altitude":8,"angle":170,"satellites":29,"speed":51,"hex_longitude":"2d7bdc80","hex_latitude":"05dd4c20","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637835776001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104957546036461568,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923601211848028160,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783741554000,"timestamp_ms":1783741554000,"timestamp_seconds":1783741554,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f481d50"} 
[2026-07-11 09:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-11 09:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09: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-07-11 09:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637835776001,"66":13602,"50":206,"85":15104,"24":51,"16":104957546036461568,"45":8923601211848028160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-11 09:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637835776001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:17:21] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 09:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104957546036461568,"km_value":104957546036461.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923601211848028160,"description":"Unknown IO ID 45"} 
[2026-07-11 09:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637835776001,"power":13602,"unknown_50":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8923601211848028160}} 
[2026-07-11 09:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":128455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:17:21] local.INFO: GPS data processed {"connection_id":128455,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:17:21] local.INFO: Acknowledgment sent {"connection_id":128455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:17:42] local.INFO: TCP Data received {"connection_id":128268,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:17:42] local.INFO: Processing buffer {"connection_id":128268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:17:42] local.INFO: Packet analysis {"connection_id":128268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:17:42] local.INFO: Extracted packet for processing {"connection_id":128268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":128268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:17:42] local.INFO: GPS data processed {"connection_id":128268,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:17:42] local.INFO: Acknowledgment sent {"connection_id":128268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:17:52] local.INFO: TCP Data received {"connection_id":128455,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f499838012d7bfb0005dbb820000500a71d..."} 
[2026-07-11 09:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f499838012d7bfb0005dbb820000500a71d..."} 
[2026-07-11 09:17:52] local.INFO: Processing buffer {"connection_id":128455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f499838012d7bfb0005dbb820000500a71d..."} 
[2026-07-11 09:17:52] local.INFO: Packet analysis {"connection_id":128455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f49"} 
[2026-07-11 09:17:52] local.INFO: Extracted packet for processing {"connection_id":128455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f49"} 
[2026-07-11 09:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763099904,"raw_latitude":98285600,"longitude_deg":76.3099904,"latitude_deg":9.82856,"altitude":5,"angle":167,"satellites":29,"speed":33,"hex_longitude":"2d7bfb00","hex_latitude":"05dbb820","is_valid_coordinates":true} 
[2026-07-11 09:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637859584001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104962584033099776,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931623248657520640,"note":"Value kept but may cause issues"} 
[2026-07-11 09:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783741651000,"timestamp_ms":1783741651000,"timestamp_seconds":1783741651,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f499838"} 
[2026-07-11 09:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-11 09:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":128455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":128455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":128455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637859584001,"66":13515,"168":206,"85":15104,"24":33,"16":104962584033099776,"45":8931623248657520640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 09:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637859584001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:17:52] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 09:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104962584033099776,"km_value":104962584033099.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931623248657520640,"description":"Unknown IO ID 45"} 
[2026-07-11 09:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637859584001,"power":13515,"unknown_168":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8931623248657520640}} 
[2026-07-11 09:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":128455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:17:52] local.INFO: GPS data processed {"connection_id":128455,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:17:52] local.INFO: Acknowledgment sent {"connection_id":128455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:18:02] local.INFO: TCP Data received {"connection_id":129164,"ip":"71.6.134.231","data_length":241,"data_hex":"16030100ec010000e80303f8493a1f9687d24bec47ed3cfe4a95b220d919a127..."} 
[2026-07-11 09:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129164,"packet_length":241,"packet_hex":"16030100ec010000e80303f8493a1f9687d24bec47ed3cfe4a95b220d919a127..."} 
[2026-07-11 09:18:02] local.INFO: Processing buffer {"connection_id":129164,"buffer_length":241,"buffer_hex":"16030100ec010000e80303f8493a1f9687d24bec47ed3cfe4a95b220d919a127..."} 
[2026-07-11 09:18:02] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":129164,"buffer_length":241,"first_bytes_hex":"16030100ec010000e80303f8493a1f96"} 
[2026-07-11 09:18:04] local.INFO: TCP Data received {"connection_id":130415,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:18:04] local.INFO: Processing buffer {"connection_id":130415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:18:04] local.INFO: IMEI packet received {"connection_id":130415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":130415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:18:09] local.INFO: TCP Data received {"connection_id":130415,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:18:09] local.INFO: Processing buffer {"connection_id":130415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:18:09] local.INFO: IMEI packet received {"connection_id":130415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":130415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:18:10] local.INFO: TCP Data received {"connection_id":130415,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:18:10] local.INFO: Processing buffer {"connection_id":130415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:18:10] local.INFO: Packet analysis {"connection_id":130415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:18:10] local.INFO: Extracted packet for processing {"connection_id":130415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":130415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:18:10] local.INFO: GPS data processed {"connection_id":130415,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:18:10] local.INFO: Acknowledgment sent {"connection_id":130415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:18:27] local.INFO: TCP Data received {"connection_id":128456,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:18:27] local.INFO: Processing buffer {"connection_id":128456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:18:27] local.INFO: IMEI packet received {"connection_id":128456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":128456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:18:30] local.INFO: TCP Data received {"connection_id":128456,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:18:30] local.INFO: Processing buffer {"connection_id":128456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:18:30] local.INFO: IMEI packet received {"connection_id":128456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":128456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:18:32] local.INFO: TCP Data received {"connection_id":128456,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f49bb60012d7c030005db95e0000700a71c..."} 
[2026-07-11 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f49bb60012d7c030005db95e0000700a71c..."} 
[2026-07-11 09:18:32] local.INFO: Processing buffer {"connection_id":128456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f49bb60012d7c030005db95e0000700a71c..."} 
[2026-07-11 09:18:32] local.INFO: Packet analysis {"connection_id":128456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f49"} 
[2026-07-11 09:18:32] local.INFO: Extracted packet for processing {"connection_id":128456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f49"} 
[2026-07-11 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763101952,"raw_latitude":98276832,"longitude_deg":76.3101952,"latitude_deg":9.8276832,"altitude":7,"angle":167,"satellites":28,"speed":43,"hex_longitude":"2d7c0300","hex_latitude":"05db95e0","is_valid_coordinates":true} 
[2026-07-11 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637862656001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104963022119763968,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933734310980624384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783741660000,"timestamp_ms":1783741660000,"timestamp_seconds":1783741660,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f49bb60"} 
[2026-07-11 09:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-11 09:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637862656001,"66":13417,"168":206,"85":15104,"24":43,"16":104963022119763968,"45":8933734310980624384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637862656001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:18:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 09:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104963022119763968,"km_value":104963022119763.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933734310980624384,"description":"Unknown IO ID 45"} 
[2026-07-11 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637862656001,"power":13417,"unknown_168":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8933734310980624384}} 
[2026-07-11 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":128456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:18:32] local.INFO: GPS data processed {"connection_id":128456,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:18:32] local.INFO: Acknowledgment sent {"connection_id":128456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:18:33] local.INFO: TCP Data received {"connection_id":128456,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f49daa0012d7c0b4005db7278000800a71d..."} 
[2026-07-11 09:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f49daa0012d7c0b4005db7278000800a71d..."} 
[2026-07-11 09:18:33] local.INFO: Processing buffer {"connection_id":128456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f49daa0012d7c0b4005db7278000800a71d..."} 
[2026-07-11 09:18:33] local.INFO: Packet analysis {"connection_id":128456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f49"} 
[2026-07-11 09:18:33] local.INFO: Extracted packet for processing {"connection_id":128456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f49"} 
[2026-07-11 09:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763104064,"raw_latitude":98267768,"longitude_deg":76.3104064,"latitude_deg":9.8267768,"altitude":8,"angle":167,"satellites":29,"speed":49,"hex_longitude":"2d7c0b40","hex_latitude":"05db7278","is_valid_coordinates":true} 
[2026-07-11 09:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637864960001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104963473091330048,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935986110792065024,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783741668000,"timestamp_ms":1783741668000,"timestamp_seconds":1783741668,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f49daa0"} 
[2026-07-11 09:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-11 09:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":128456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":128456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":128456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637864960001,"66":13363,"168":206,"85":15104,"24":49,"16":104963473091330048,"45":8935986110792065024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 09:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637864960001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:18:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 09:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104963473091330048,"km_value":104963473091330.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935986110792065024,"description":"Unknown IO ID 45"} 
[2026-07-11 09:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637864960001,"power":13363,"unknown_168":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8935986110792065024}} 
[2026-07-11 09:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":128456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:18:33] local.INFO: GPS data processed {"connection_id":128456,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:18:33] local.INFO: Acknowledgment sent {"connection_id":128456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:18:41] local.INFO: TCP Data received {"connection_id":130415,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:18:41] local.INFO: Processing buffer {"connection_id":130415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:18:41] local.INFO: Packet analysis {"connection_id":130415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:18:41] local.INFO: Extracted packet for processing {"connection_id":130415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:18: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-07-11 09:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:18:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":130415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:18:41] local.INFO: GPS data processed {"connection_id":130415,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:18:41] local.INFO: Acknowledgment sent {"connection_id":130415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:19:04] local.INFO: TCP Data received {"connection_id":129165,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:19:04] local.INFO: Processing buffer {"connection_id":129165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:19:04] local.INFO: IMEI packet received {"connection_id":129165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":129165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:19:10] local.INFO: TCP Data received {"connection_id":129165,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:19:10] local.INFO: Processing buffer {"connection_id":129165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:19:10] local.INFO: IMEI packet received {"connection_id":129165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":129165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:19:11] local.INFO: TCP Data received {"connection_id":129165,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:19:11] local.INFO: Processing buffer {"connection_id":129165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:19:11] local.INFO: Packet analysis {"connection_id":129165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:19:11] local.INFO: Extracted packet for processing {"connection_id":129165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:19:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":129165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:19:11] local.INFO: GPS data processed {"connection_id":129165,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:19:11] local.INFO: Acknowledgment sent {"connection_id":129165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:19:17] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:19:17] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:19:17] local.INFO: IMEI packet received {"connection_id":130416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":130416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:19:19] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:19:19] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:19:19] local.INFO: IMEI packet received {"connection_id":130416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":130416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:19:20] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f49f9e0012d7c140005db4c50000900a81c..."} 
[2026-07-11 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f49f9e0012d7c140005db4c50000900a81c..."} 
[2026-07-11 09:19:20] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f49f9e0012d7c140005db4c50000900a81c..."} 
[2026-07-11 09:19:20] local.INFO: Packet analysis {"connection_id":130416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f49"} 
[2026-07-11 09:19:20] local.INFO: Extracted packet for processing {"connection_id":130416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f49"} 
[2026-07-11 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":763106304,"raw_latitude":98258000,"longitude_deg":76.3106304,"latitude_deg":9.8258,"altitude":9,"angle":168,"satellites":28,"speed":49,"hex_longitude":"2d7c1400","hex_latitude":"05db4c50","is_valid_coordinates":true} 
[2026-07-11 09:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637867008001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104963958422634496,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938308279347607552,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783741676000,"timestamp_ms":1783741676000,"timestamp_seconds":1783741676,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f49f9e0"} 
[2026-07-11 09:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 09:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637867008001,"66":13374,"168":206,"85":15104,"24":49,"16":104963958422634496,"45":8938308279347607552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 09:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637867008001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:19:20] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 09:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104963958422634496,"km_value":104963958422634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938308279347607552,"description":"Unknown IO ID 45"} 
[2026-07-11 09:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637867008001,"power":13374,"unknown_168":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8938308279347607552}} 
[2026-07-11 09:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":130416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:19:20] local.INFO: GPS data processed {"connection_id":130416,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:19:20] local.INFO: Acknowledgment sent {"connection_id":130416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:19:42] local.INFO: TCP Data received {"connection_id":129165,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:19:42] local.INFO: Processing buffer {"connection_id":129165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f46b5f0012cb29ac007823b28004700db27..."} 
[2026-07-11 09:19:42] local.INFO: Packet analysis {"connection_id":129165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:19:42] local.INFO: Extracted packet for processing {"connection_id":129165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f46"} 
[2026-07-11 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637737216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783741462000,"timestamp_ms":1783741462000,"timestamp_seconds":1783741462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f46b5f0"} 
[2026-07-11 09:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637737216001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637737216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637737216001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":129165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:19:42] local.INFO: GPS data processed {"connection_id":129165,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:19:42] local.INFO: Acknowledgment sent {"connection_id":129165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:19:52] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b74c8012d7c86c005d969d0000300ac1a..."} 
[2026-07-11 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b74c8012d7c86c005d969d0000300ac1a..."} 
[2026-07-11 09:19:52] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b74c8012d7c86c005d969d0000300ac1a..."} 
[2026-07-11 09:19:52] local.INFO: Packet analysis {"connection_id":130416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:19:52] local.INFO: Extracted packet for processing {"connection_id":130416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763135680,"raw_latitude":98134480,"longitude_deg":76.313568,"latitude_deg":9.813448,"altitude":3,"angle":172,"satellites":26,"speed":54,"hex_longitude":"2d7c86c0","hex_latitude":"05d969d0","is_valid_coordinates":true} 
[2026-07-11 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891840001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104970130290638848,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971874170288764928,"note":"Value kept but may cause issues"} 
[2026-07-11 09:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783741773000,"timestamp_ms":1783741773000,"timestamp_seconds":1783741773,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b74c8"} 
[2026-07-11 09:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-11 09:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891840001,"66":13428,"187":206,"85":15104,"24":54,"16":104970130290638848,"45":8971874170288764928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-11 09:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891840001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:19:52] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-11 09:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104970130290638848,"km_value":104970130290638.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971874170288764928,"description":"Unknown IO ID 45"} 
[2026-07-11 09:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891840001,"power":13428,"unknown_187":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8971874170288764928}} 
[2026-07-11 09:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":130416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:19:52] local.INFO: GPS data processed {"connection_id":130416,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:19:52] local.INFO: Acknowledgment sent {"connection_id":130416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:20:06] local.INFO: TCP Data received {"connection_id":128269,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:20:06] local.INFO: Processing buffer {"connection_id":128269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:20:06] local.INFO: IMEI packet received {"connection_id":128269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":128269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:20:09] local.INFO: TCP Data received {"connection_id":129166,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:20:09] local.INFO: Processing buffer {"connection_id":129166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:20:09] local.INFO: IMEI packet received {"connection_id":129166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":129166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:20:15] local.INFO: TCP Data received {"connection_id":129166,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:20:15] local.INFO: Processing buffer {"connection_id":129166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:20:15] local.INFO: IMEI packet received {"connection_id":129166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":129166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:20:15] local.INFO: TCP Data received {"connection_id":129166,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:20:15] local.INFO: Processing buffer {"connection_id":129166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:20:15] local.INFO: Packet analysis {"connection_id":129166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:20:15] local.INFO: Extracted packet for processing {"connection_id":129166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:20:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:20:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":129166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:20:15] local.INFO: GPS data processed {"connection_id":129166,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:20:15] local.INFO: Acknowledgment sent {"connection_id":129166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:20:17] local.INFO: TCP Data received {"connection_id":130417,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:20:17] local.INFO: Processing buffer {"connection_id":130417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:20:17] local.INFO: IMEI packet received {"connection_id":130417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":130417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:20:20] local.INFO: TCP Data received {"connection_id":129166,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:20:20] local.INFO: Processing buffer {"connection_id":129166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:20:20] local.INFO: Packet analysis {"connection_id":129166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:20:20] local.INFO: Extracted packet for processing {"connection_id":129166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:20:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":129166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:20:20] local.INFO: GPS data processed {"connection_id":129166,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:20:20] local.INFO: Acknowledgment sent {"connection_id":129166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:20:20] local.INFO: TCP Data received {"connection_id":130417,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:20:20] local.INFO: Processing buffer {"connection_id":130417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:20:20] local.INFO: IMEI packet received {"connection_id":130417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":130417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:20:22] local.INFO: TCP Data received {"connection_id":130417,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b9020012d7c8bc005d94220000300ad1b..."} 
[2026-07-11 09:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b9020012d7c8bc005d94220000300ad1b..."} 
[2026-07-11 09:20:22] local.INFO: Processing buffer {"connection_id":130417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b9020012d7c8bc005d94220000300ad1b..."} 
[2026-07-11 09:20:22] local.INFO: Packet analysis {"connection_id":130417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:20:22] local.INFO: Extracted packet for processing {"connection_id":130417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763136960,"raw_latitude":98124320,"longitude_deg":76.313696,"latitude_deg":9.812432,"altitude":3,"angle":173,"satellites":27,"speed":58,"hex_longitude":"2d7c8bc0","hex_latitude":"05d94220","is_valid_coordinates":true} 
[2026-07-11 09:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637893888001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104970624211877888,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973070438937251840,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783741780000,"timestamp_ms":1783741780000,"timestamp_seconds":1783741780,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b9020"} 
[2026-07-11 09:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 09:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637893888001,"66":13276,"244":206,"85":15104,"24":58,"16":104970624211877888,"45":8973070438937251840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-11 09:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637893888001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:20:22] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 09:20:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104970624211877888,"km_value":104970624211877.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973070438937251840,"description":"Unknown IO ID 45"} 
[2026-07-11 09:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637893888001,"power":13276,"unknown_244":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8973070438937251840}} 
[2026-07-11 09:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":130417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:20:23] local.INFO: GPS data processed {"connection_id":130417,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:20:23] local.INFO: Acknowledgment sent {"connection_id":130417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:20:49] local.INFO: TCP Data received {"connection_id":128458,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:20:49] local.INFO: Processing buffer {"connection_id":128458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:20:49] local.INFO: IMEI packet received {"connection_id":128458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":128458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:20:53] local.INFO: TCP Data received {"connection_id":130417,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4bab78012d7c8f0005d91a30000300ae1f..."} 
[2026-07-11 09:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4bab78012d7c8f0005d91a30000300ae1f..."} 
[2026-07-11 09:20:53] local.INFO: Processing buffer {"connection_id":130417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4bab78012d7c8f0005d91a30000300ae1f..."} 
[2026-07-11 09:20:53] local.INFO: Packet analysis {"connection_id":130417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:20:53] local.INFO: Extracted packet for processing {"connection_id":130417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:20:53] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":98114096,"longitude_deg":76.3137792,"latitude_deg":9.8114096,"altitude":3,"angle":174,"satellites":31,"speed":58,"hex_longitude":"2d7c8f00","hex_latitude":"05d91a30","is_valid_coordinates":true} 
[2026-07-11 09:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637895680001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104971122428084224,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974477813818204160,"note":"Value kept but may cause issues"} 
[2026-07-11 09:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783741787000,"timestamp_ms":1783741787000,"timestamp_seconds":1783741787,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4bab78"} 
[2026-07-11 09:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-11 09:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637895680001,"66":13493,"244":206,"85":15104,"24":58,"16":104971122428084224,"45":8974477813818204160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-11 09:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637895680001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:20:53] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 09:20:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104971122428084224,"km_value":104971122428084.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974477813818204160,"description":"Unknown IO ID 45"} 
[2026-07-11 09:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637895680001,"power":13493,"unknown_244":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8974477813818204160}} 
[2026-07-11 09:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":130417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:20:53] local.INFO: GPS data processed {"connection_id":130417,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:20:53] local.INFO: Acknowledgment sent {"connection_id":130417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:21:05] local.INFO: TCP Data received {"connection_id":128270,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:21:05] local.INFO: Processing buffer {"connection_id":128270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:21:05] local.INFO: IMEI packet received {"connection_id":128270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":128270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:21:10] local.INFO: TCP Data received {"connection_id":128270,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:21:10] local.INFO: Processing buffer {"connection_id":128270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:21:10] local.INFO: IMEI packet received {"connection_id":128270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":128270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:21:11] local.INFO: TCP Data received {"connection_id":128270,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:21:11] local.INFO: Processing buffer {"connection_id":128270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:21:11] local.INFO: Packet analysis {"connection_id":128270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:21:11] local.INFO: Extracted packet for processing {"connection_id":128270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":128270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:21:11] local.INFO: GPS data processed {"connection_id":128270,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:21:11] local.INFO: Acknowledgment sent {"connection_id":128270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:21:15] local.INFO: TCP Data received {"connection_id":128459,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:21:15] local.INFO: Processing buffer {"connection_id":128459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:21:15] local.INFO: IMEI packet received {"connection_id":128459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":128459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:21:16] local.INFO: TCP Data received {"connection_id":128459,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:21:16] local.INFO: Processing buffer {"connection_id":128459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:21:16] local.INFO: IMEI packet received {"connection_id":128459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":128459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:21:22] local.INFO: TCP Data received {"connection_id":128459,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:21:22] local.INFO: Processing buffer {"connection_id":128459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:21:22] local.INFO: IMEI packet received {"connection_id":128459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":128459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:21:22] local.INFO: TCP Data received {"connection_id":128459,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4bc2e8012d7c920005d8f7b8000300ae1b..."} 
[2026-07-11 09:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4bc2e8012d7c920005d8f7b8000300ae1b..."} 
[2026-07-11 09:21:22] local.INFO: Processing buffer {"connection_id":128459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4bc2e8012d7c920005d8f7b8000300ae1b..."} 
[2026-07-11 09:21:22] local.INFO: Packet analysis {"connection_id":128459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:21:22] local.INFO: Extracted packet for processing {"connection_id":128459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763138560,"raw_latitude":98105272,"longitude_deg":76.313856,"latitude_deg":9.8105272,"altitude":3,"angle":174,"satellites":27,"speed":58,"hex_longitude":"2d7c9200","hex_latitude":"05d8f7b8","is_valid_coordinates":true} 
[2026-07-11 09:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637897472001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104971551924813824,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607489896448,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783741793000,"timestamp_ms":1783741793000,"timestamp_seconds":1783741793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4bc2e8"} 
[2026-07-11 09:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-11 09:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637897472001,"66":13406,"244":206,"85":15104,"24":58,"16":104971551924813824,"45":8975392607489896448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-11 09:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637897472001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:21:22] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 09:21:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104971551924813824,"km_value":104971551924813.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607489896448,"description":"Unknown IO ID 45"} 
[2026-07-11 09:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637897472001,"power":13406,"unknown_244":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8975392607489896448}} 
[2026-07-11 09:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":128459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:21:22] local.INFO: GPS data processed {"connection_id":128459,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:21:22] local.INFO: Acknowledgment sent {"connection_id":128459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:21:42] local.INFO: TCP Data received {"connection_id":128270,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:21:42] local.INFO: Processing buffer {"connection_id":128270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:21:42] local.INFO: Packet analysis {"connection_id":128270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:21:42] local.INFO: Extracted packet for processing {"connection_id":128270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":128270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:21:42] local.INFO: GPS data processed {"connection_id":128270,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:21:42] local.INFO: Acknowledgment sent {"connection_id":128270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:21:54] local.INFO: TCP Data received {"connection_id":128459,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4d5158012d7ccc0005d71a20000500a21a..."} 
[2026-07-11 09:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4d5158012d7ccc0005d71a20000500a21a..."} 
[2026-07-11 09:21:54] local.INFO: Processing buffer {"connection_id":128459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4d5158012d7ccc0005d71a20000500a21a..."} 
[2026-07-11 09:21:54] local.INFO: Packet analysis {"connection_id":128459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4d"} 
[2026-07-11 09:21:54] local.INFO: Extracted packet for processing {"connection_id":128459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4d"} 
[2026-07-11 09:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763153408,"raw_latitude":97983008,"longitude_deg":76.3153408,"latitude_deg":9.7983008,"altitude":5,"angle":162,"satellites":26,"speed":59,"hex_longitude":"2d7ccc00","hex_latitude":"05d71a20","is_valid_coordinates":true} 
[2026-07-11 09:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637923584001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104977543404191744,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989677462526615552,"note":"Value kept but may cause issues"} 
[2026-07-11 09:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783741895000,"timestamp_ms":1783741895000,"timestamp_seconds":1783741895,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4d5158"} 
[2026-07-11 09:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-11 09:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637923584001,"66":13515,"195":206,"85":15104,"24":59,"16":104977543404191744,"45":8989677462526615552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-11 09:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637923584001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:21:54] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-11 09:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104977543404191744,"km_value":104977543404191.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989677462526615552,"description":"Unknown IO ID 45"} 
[2026-07-11 09:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637923584001,"power":13515,"unknown_195":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8989677462526615552}} 
[2026-07-11 09:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":128459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:21:54] local.INFO: GPS data processed {"connection_id":128459,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:21:54] local.INFO: Acknowledgment sent {"connection_id":128459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:22:05] local.INFO: TCP Data received {"connection_id":129168,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:22:05] local.INFO: Processing buffer {"connection_id":129168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:22:05] local.INFO: IMEI packet received {"connection_id":129168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":129168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:22:09] local.INFO: TCP Data received {"connection_id":129168,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:22:09] local.INFO: Processing buffer {"connection_id":129168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:22:09] local.INFO: IMEI packet received {"connection_id":129168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":129168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:22:10] local.INFO: TCP Data received {"connection_id":129168,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:22:10] local.INFO: Processing buffer {"connection_id":129168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:22:10] local.INFO: Packet analysis {"connection_id":129168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:22:10] local.INFO: Extracted packet for processing {"connection_id":129168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:22: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-07-11 09:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":129168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:22:10] local.INFO: GPS data processed {"connection_id":129168,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:22:10] local.INFO: Acknowledgment sent {"connection_id":129168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:22:16] local.INFO: TCP Data received {"connection_id":129169,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:22:16] local.INFO: Processing buffer {"connection_id":129169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:22:16] local.INFO: IMEI packet received {"connection_id":129169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":129169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:22:17] local.INFO: TCP Data received {"connection_id":129169,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:22:17] local.INFO: Processing buffer {"connection_id":129169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:22:17] local.INFO: IMEI packet received {"connection_id":129169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":129169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:22:22] local.INFO: TCP Data received {"connection_id":129169,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:22:22] local.INFO: Processing buffer {"connection_id":129169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:22:22] local.INFO: IMEI packet received {"connection_id":129169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":129169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:22:23] local.INFO: TCP Data received {"connection_id":129169,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4d68c8012d7cd64005d6f8f0000700a21d..."} 
[2026-07-11 09:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4d68c8012d7cd64005d6f8f0000700a21d..."} 
[2026-07-11 09:22:23] local.INFO: Processing buffer {"connection_id":129169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4d68c8012d7cd64005d6f8f0000700a21d..."} 
[2026-07-11 09:22:23] local.INFO: Packet analysis {"connection_id":129169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4d"} 
[2026-07-11 09:22:23] local.INFO: Extracted packet for processing {"connection_id":129169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4d"} 
[2026-07-11 09:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763156032,"raw_latitude":97974512,"longitude_deg":76.3156032,"latitude_deg":9.7974512,"altitude":7,"angle":162,"satellites":29,"speed":58,"hex_longitude":"2d7cd640","hex_latitude":"05d6f8f0","is_valid_coordinates":true} 
[2026-07-11 09:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637925120001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104977977195888640,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992562581035687936,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783741901000,"timestamp_ms":1783741901000,"timestamp_seconds":1783741901,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4d68c8"} 
[2026-07-11 09:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:22: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-07-11 09:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-11 09:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637925120001,"66":13428,"195":206,"85":15104,"24":58,"16":104977977195888640,"45":8992562581035687936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-11 09:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637925120001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:22:23] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-11 09:22:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104977977195888640,"km_value":104977977195888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992562581035687936,"description":"Unknown IO ID 45"} 
[2026-07-11 09:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637925120001,"power":13428,"unknown_195":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8992562581035687936}} 
[2026-07-11 09:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":129169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:22:23] local.INFO: GPS data processed {"connection_id":129169,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:22:23] local.INFO: Acknowledgment sent {"connection_id":129169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:22:41] local.INFO: TCP Data received {"connection_id":129168,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:22:41] local.INFO: Processing buffer {"connection_id":129168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:22:41] local.INFO: Packet analysis {"connection_id":129168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:22:41] local.INFO: Extracted packet for processing {"connection_id":129168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:22: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-07-11 09: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:22: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-07-11 09:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:22:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":129168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:22:41] local.INFO: GPS data processed {"connection_id":129168,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:22:41] local.INFO: Acknowledgment sent {"connection_id":129168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:22:53] local.INFO: TCP Data received {"connection_id":129169,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4d8420012d7ce20005d6d338000600a51e..."} 
[2026-07-11 09:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4d8420012d7ce20005d6d338000600a51e..."} 
[2026-07-11 09:22:53] local.INFO: Processing buffer {"connection_id":129169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4d8420012d7ce20005d6d338000600a51e..."} 
[2026-07-11 09:22:53] local.INFO: Packet analysis {"connection_id":129169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4d"} 
[2026-07-11 09:22:53] local.INFO: Extracted packet for processing {"connection_id":129169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4d"} 
[2026-07-11 09:22:53] local.INFO: GPS Element Parsed {"raw_longitude":763159040,"raw_latitude":97964856,"longitude_deg":76.315904,"latitude_deg":9.7964856,"altitude":6,"angle":165,"satellites":30,"speed":56,"hex_longitude":"2d7ce200","hex_latitude":"05d6d338","is_valid_coordinates":true} 
[2026-07-11 09:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637926656001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104978466822160384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995447699544797184,"note":"Value kept but may cause issues"} 
[2026-07-11 09:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783741908000,"timestamp_ms":1783741908000,"timestamp_seconds":1783741908,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4d8420"} 
[2026-07-11 09:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:22: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-07-11 09:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 09:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":129169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":129169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":129169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637926656001,"66":13526,"195":206,"85":15104,"24":56,"16":104978466822160384,"45":8995447699544797184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-11 09:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637926656001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:22:53] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-11 09:22:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104978466822160384,"km_value":104978466822160.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995447699544797184,"description":"Unknown IO ID 45"} 
[2026-07-11 09:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637926656001,"power":13526,"unknown_195":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8995447699544797184}} 
[2026-07-11 09:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":129169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:22:53] local.INFO: GPS data processed {"connection_id":129169,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:22:53] local.INFO: Acknowledgment sent {"connection_id":129169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:23:04] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:23:04] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:23:04] local.INFO: IMEI packet received {"connection_id":130418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":130418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:23:10] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:23:10] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:23:10] local.INFO: IMEI packet received {"connection_id":130418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":130418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:23:11] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:23:11] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:23:11] local.INFO: Packet analysis {"connection_id":130418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:23:11] local.INFO: Extracted packet for processing {"connection_id":130418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":130418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:23:11] local.INFO: GPS data processed {"connection_id":130418,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:23:11] local.INFO: Acknowledgment sent {"connection_id":130418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:23:16] local.INFO: TCP Data received {"connection_id":128460,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:23:16] local.INFO: Processing buffer {"connection_id":128460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:23:16] local.INFO: IMEI packet received {"connection_id":128460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":128460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:23:17] local.INFO: TCP Data received {"connection_id":128460,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:23:17] local.INFO: Processing buffer {"connection_id":128460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:23:17] local.INFO: IMEI packet received {"connection_id":128460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":128460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:23:22] local.INFO: TCP Data received {"connection_id":128460,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:23:22] local.INFO: Processing buffer {"connection_id":128460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:23:22] local.INFO: IMEI packet received {"connection_id":128460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":128460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:23:22] local.INFO: TCP Data received {"connection_id":128460,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4d9f78012d7cea4005d6ae30000600aa20..."} 
[2026-07-11 09:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4d9f78012d7cea4005d6ae30000600aa20..."} 
[2026-07-11 09:23:22] local.INFO: Processing buffer {"connection_id":128460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4d9f78012d7cea4005d6ae30000600aa20..."} 
[2026-07-11 09:23:22] local.INFO: Packet analysis {"connection_id":128460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4d"} 
[2026-07-11 09:23:22] local.INFO: Extracted packet for processing {"connection_id":128460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4d"} 
[2026-07-11 09:23:22] local.INFO: GPS Element Parsed {"raw_longitude":763161152,"raw_latitude":97955376,"longitude_deg":76.3161152,"latitude_deg":9.7955376,"altitude":6,"angle":170,"satellites":32,"speed":55,"hex_longitude":"2d7cea40","hex_latitude":"05d6ae30","is_valid_coordinates":true} 
[2026-07-11 09:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637928448001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104978934973595648,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998755030518675456,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783741915000,"timestamp_ms":1783741915000,"timestamp_seconds":1783741915,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4d9f78"} 
[2026-07-11 09:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-11 09:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637928448001,"66":13319,"31":206,"85":15104,"24":55,"16":104978934973595648,"45":8998755030518675456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-11 09:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637928448001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:23:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-11 09:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104978934973595648,"km_value":104978934973595.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998755030518675456,"description":"Unknown IO ID 45"} 
[2026-07-11 09:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637928448001,"power":13319,"unknown_31":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8998755030518675456}} 
[2026-07-11 09:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":128460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:23:22] local.INFO: GPS data processed {"connection_id":128460,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:23:22] local.INFO: Acknowledgment sent {"connection_id":128460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:23:42] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:23:42] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:23:42] local.INFO: Packet analysis {"connection_id":130418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:23:42] local.INFO: Extracted packet for processing {"connection_id":130418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":130418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:23:42] local.INFO: GPS data processed {"connection_id":130418,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:23:42] local.INFO: Acknowledgment sent {"connection_id":130418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:23:54] local.INFO: TCP Data received {"connection_id":128460,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4f1e48012d7d2e4005d4f928000400b31e..."} 
[2026-07-11 09:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4f1e48012d7d2e4005d4f928000400b31e..."} 
[2026-07-11 09:23:54] local.INFO: Processing buffer {"connection_id":128460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4f1e48012d7d2e4005d4f928000400b31e..."} 
[2026-07-11 09:23:54] local.INFO: Packet analysis {"connection_id":128460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:23:54] local.INFO: Extracted packet for processing {"connection_id":128460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":97843496,"longitude_deg":76.317856,"latitude_deg":9.7843496,"altitude":4,"angle":179,"satellites":30,"speed":46,"hex_longitude":"2d7d2e40","hex_latitude":"05d4f928","is_valid_coordinates":true} 
[2026-07-11 09:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637953280001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104984462596505600,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020076759975833600,"note":"Value kept but may cause issues"} 
[2026-07-11 09:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783742013000,"timestamp_ms":1783742013000,"timestamp_seconds":1783742013,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4f1e48"} 
[2026-07-11 09:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:23: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-07-11 09:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-11 09:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637953280001,"66":13450,"253":206,"85":15104,"24":46,"16":104984462596505600,"45":9020076759975833600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-11 09:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637953280001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:23:54] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-11 09:23:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104984462596505600,"km_value":104984462596505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020076759975833600,"description":"Unknown IO ID 45"} 
[2026-07-11 09:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637953280001,"power":13450,"unknown_253":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9020076759975833600}} 
[2026-07-11 09:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":128460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:23:54] local.INFO: GPS data processed {"connection_id":128460,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:23:54] local.INFO: Acknowledgment sent {"connection_id":128460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:24:04] local.INFO: TCP Data received {"connection_id":129171,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:24:04] local.INFO: Processing buffer {"connection_id":129171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:24:04] local.INFO: IMEI packet received {"connection_id":129171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":129171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:24:09] local.INFO: TCP Data received {"connection_id":129171,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:24:09] local.INFO: Processing buffer {"connection_id":129171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:24:09] local.INFO: IMEI packet received {"connection_id":129171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":129171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:24:10] local.INFO: TCP Data received {"connection_id":129171,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:24:10] local.INFO: Processing buffer {"connection_id":129171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:24:10] local.INFO: Packet analysis {"connection_id":129171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:24:10] local.INFO: Extracted packet for processing {"connection_id":129171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:24: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-07-11 09: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:24:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":129171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:24:10] local.INFO: GPS data processed {"connection_id":129171,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:24:10] local.INFO: Acknowledgment sent {"connection_id":129171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:24:22] local.INFO: TCP Data received {"connection_id":129172,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:24:22] local.INFO: Processing buffer {"connection_id":129172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:24:22] local.INFO: IMEI packet received {"connection_id":129172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":129172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:24:27] local.INFO: TCP Data received {"connection_id":129172,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:24:27] local.INFO: Processing buffer {"connection_id":129172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:24:27] local.INFO: IMEI packet received {"connection_id":129172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":129172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:24:27] local.INFO: TCP Data received {"connection_id":129172,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4f3d88012d7d310005d4d558000400af1f..."} 
[2026-07-11 09:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4f3d88012d7d310005d4d558000400af1f..."} 
[2026-07-11 09:24:27] local.INFO: Processing buffer {"connection_id":129172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4f3d88012d7d310005d4d558000400af1f..."} 
[2026-07-11 09:24:27] local.INFO: Packet analysis {"connection_id":129172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:24:27] local.INFO: Extracted packet for processing {"connection_id":129172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":97834328,"longitude_deg":76.3179264,"latitude_deg":9.7834328,"altitude":4,"angle":175,"satellites":31,"speed":45,"hex_longitude":"2d7d3100","hex_latitude":"05d4d558","is_valid_coordinates":true} 
[2026-07-11 09:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637955328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104984909273104384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497461794816,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783742021000,"timestamp_ms":1783742021000,"timestamp_seconds":1783742021,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4f3d88"} 
[2026-07-11 09:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:24: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-07-11 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 09:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":129172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":129172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":129172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637955328001,"66":13428,"254":206,"85":15104,"24":45,"16":104984909273104384,"45":9020217497461794816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 09:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637955328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:24:27] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 09:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104984909273104384,"km_value":104984909273104.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497461794816,"description":"Unknown IO ID 45"} 
[2026-07-11 09:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637955328001,"power":13428,"unknown_254":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9020217497461794816}} 
[2026-07-11 09:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":129172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:24:27] local.INFO: GPS data processed {"connection_id":129172,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:24:27] local.INFO: Acknowledgment sent {"connection_id":129172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:24:28] local.INFO: TCP Data received {"connection_id":129172,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4f5cc8012d7d350005d4b028000300ab1c..."} 
[2026-07-11 09:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4f5cc8012d7d350005d4b028000300ab1c..."} 
[2026-07-11 09:24:28] local.INFO: Processing buffer {"connection_id":129172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4f5cc8012d7d350005d4b028000300ab1c..."} 
[2026-07-11 09:24:28] local.INFO: Packet analysis {"connection_id":129172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:24:28] local.INFO: Extracted packet for processing {"connection_id":129172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":97824808,"longitude_deg":76.3180288,"latitude_deg":9.7824808,"altitude":3,"angle":171,"satellites":28,"speed":51,"hex_longitude":"2d7d3500","hex_latitude":"05d4b028","is_valid_coordinates":true} 
[2026-07-11 09:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637957376001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104985373129572352,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991553645402112,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783742029000,"timestamp_ms":1783742029000,"timestamp_seconds":1783742029,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4f5cc8"} 
[2026-07-11 09:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 09:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":129172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":129172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":129172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637957376001,"66":13428,"254":206,"85":15104,"24":51,"16":104985373129572352,"45":9020991553645402112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 09:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637957376001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:24:28] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 09:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104985373129572352,"km_value":104985373129572.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991553645402112,"description":"Unknown IO ID 45"} 
[2026-07-11 09:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637957376001,"power":13428,"unknown_254":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9020991553645402112}} 
[2026-07-11 09:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":129172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:24:28] local.INFO: GPS data processed {"connection_id":129172,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:24:28] local.INFO: Acknowledgment sent {"connection_id":129172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:24:41] local.INFO: TCP Data received {"connection_id":129171,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:24:41] local.INFO: Processing buffer {"connection_id":129171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4b4db8012cb29ac007823b28004700db27..."} 
[2026-07-11 09:24:41] local.INFO: Packet analysis {"connection_id":129171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:24:41] local.INFO: Extracted packet for processing {"connection_id":129171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4b"} 
[2026-07-11 09:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637814272001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783741763000,"timestamp_ms":1783741763000,"timestamp_seconds":1783741763,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4b4db8"} 
[2026-07-11 09:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:24: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-07-11 09:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:24: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-07-11 09:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637814272001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637814272001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:24:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637814272001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":129171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:24:41] local.INFO: GPS data processed {"connection_id":129171,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:24:41] local.INFO: Acknowledgment sent {"connection_id":129171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:24:59] local.INFO: TCP Data received {"connection_id":129172,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4f7c08012d7d3b0005d48c88000400a91b..."} 
[2026-07-11 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4f7c08012d7d3b0005d48c88000400a91b..."} 
[2026-07-11 09:24:59] local.INFO: Processing buffer {"connection_id":129172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4f7c08012d7d3b0005d48c88000400a91b..."} 
[2026-07-11 09:24:59] local.INFO: Packet analysis {"connection_id":129172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:24:59] local.INFO: Extracted packet for processing {"connection_id":129172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97815688,"longitude_deg":76.3181824,"latitude_deg":9.7815688,"altitude":4,"angle":169,"satellites":27,"speed":32,"hex_longitude":"2d7d3b00","hex_latitude":"05d48c88","is_valid_coordinates":true} 
[2026-07-11 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-07-11 09:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637959424001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104985824101138432,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453549807616,"note":"Value kept but may cause issues"} 
[2026-07-11 09:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783742037000,"timestamp_ms":1783742037000,"timestamp_seconds":1783742037,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4f7c08"} 
[2026-07-11 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-07-11 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 09:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 09:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":129172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":129172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":129172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637959424001,"66":13102,"254":206,"85":15104,"24":32,"16":104985824101138432,"45":9022117453549807616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 09:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637959424001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:24:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 09:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104985824101138432,"km_value":104985824101138.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453549807616,"description":"Unknown IO ID 45"} 
[2026-07-11 09:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637959424001,"power":13102,"unknown_254":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9022117453549807616}} 
[2026-07-11 09:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":129172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:24:59] local.INFO: GPS data processed {"connection_id":129172,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:24:59] local.INFO: Acknowledgment sent {"connection_id":129172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:25:10] local.INFO: TCP Data received {"connection_id":128271,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:25:10] local.INFO: Processing buffer {"connection_id":128271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:25:10] local.INFO: IMEI packet received {"connection_id":128271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":128271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:25:15] local.INFO: TCP Data received {"connection_id":128271,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:25:15] local.INFO: Processing buffer {"connection_id":128271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:25:15] local.INFO: IMEI packet received {"connection_id":128271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":128271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:25:15] local.INFO: TCP Data received {"connection_id":128271,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:25:15] local.INFO: Processing buffer {"connection_id":128271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:25:15] local.INFO: Packet analysis {"connection_id":128271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:15] local.INFO: Extracted packet for processing {"connection_id":128271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:25:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":128271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:25:15] local.INFO: GPS data processed {"connection_id":128271,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:25:15] local.INFO: Acknowledgment sent {"connection_id":128271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:25:17] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:25:17] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:25:17] local.INFO: IMEI packet received {"connection_id":128272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":128272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:25:17] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:25:17] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:25:17] local.INFO: IMEI packet received {"connection_id":128272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":128272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:25:20] local.INFO: TCP Data received {"connection_id":128271,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:25:20] local.INFO: Processing buffer {"connection_id":128271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:25:20] local.INFO: Packet analysis {"connection_id":128271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:20] local.INFO: Extracted packet for processing {"connection_id":128271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:25:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":128271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:25:20] local.INFO: GPS data processed {"connection_id":128271,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:25:20] local.INFO: Acknowledgment sent {"connection_id":128271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:25:22] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:25:22] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:25:22] local.INFO: IMEI packet received {"connection_id":128272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":128272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:25:23] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4f9b48012d7d3cc005d47e80000400b41e..."} 
[2026-07-11 09:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4f9b48012d7d3cc005d47e80000400b41e..."} 
[2026-07-11 09:25:23] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4f9b48012d7d3cc005d47e80000400b41e..."} 
[2026-07-11 09:25:23] local.INFO: Packet analysis {"connection_id":128272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:23] local.INFO: Extracted packet for processing {"connection_id":128272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":97812096,"longitude_deg":76.3182272,"latitude_deg":9.7812096,"altitude":4,"angle":180,"satellites":30,"speed":10,"hex_longitude":"2d7d3cc0","hex_latitude":"05d47e80","is_valid_coordinates":true} 
[2026-07-11 09:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637961472001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104985995899830272,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303407736832,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783742045000,"timestamp_ms":1783742045000,"timestamp_seconds":1783742045,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4f9b48"} 
[2026-07-11 09:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:25: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-07-11 09:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 09:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637961472001,"66":13428,"254":206,"85":15104,"24":10,"16":104985995899830272,"45":9023806303407736832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 09:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637961472001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:25:23] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 09:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104985995899830272,"km_value":104985995899830.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303407736832,"description":"Unknown IO ID 45"} 
[2026-07-11 09:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637961472001,"power":13428,"unknown_254":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9023806303407736832}} 
[2026-07-11 09:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":128272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:25:23] local.INFO: GPS data processed {"connection_id":128272,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:25:23] local.INFO: Acknowledgment sent {"connection_id":128272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:25:27] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fa700012d7d3c8005d47af8000500c11f..."} 
[2026-07-11 09:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fa700012d7d3c8005d47af8000500c11f..."} 
[2026-07-11 09:25:27] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fa700012d7d3c8005d47af8000500c11f..."} 
[2026-07-11 09:25:27] local.INFO: Packet analysis {"connection_id":128272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:27] local.INFO: Extracted packet for processing {"connection_id":128272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97811192,"longitude_deg":76.3182208,"latitude_deg":9.7811192,"altitude":5,"angle":193,"satellites":31,"speed":13,"hex_longitude":"2d7d3c80","hex_latitude":"05d47af8","is_valid_coordinates":true} 
[2026-07-11 09:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637963520001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104986043144470528,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884616060928,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783742048000,"timestamp_ms":1783742048000,"timestamp_seconds":1783742048,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fa700"} 
[2026-07-11 09:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:25: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-07-11 09:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 09:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637963520001,"66":13396,"254":206,"85":15104,"24":13,"16":104986043144470528,"45":9024298884616060928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 09:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637963520001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:25:27] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 09:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104986043144470528,"km_value":104986043144470.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298884616060928,"description":"Unknown IO ID 45"} 
[2026-07-11 09:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637963520001,"power":13396,"unknown_254":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9024298884616060928}} 
[2026-07-11 09:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":128272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:25:27] local.INFO: GPS data processed {"connection_id":128272,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:25:27] local.INFO: Acknowledgment sent {"connection_id":128272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:25:58] local.INFO: TCP Data received {"connection_id":128272,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fb2b8012d7d3bc005d476b8000500b120..."} 
[2026-07-11 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fb2b8012d7d3bc005d476b8000500b120..."} 
[2026-07-11 09:25:58] local.INFO: Processing buffer {"connection_id":128272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fb2b8012d7d3bc005d476b8000500b120..."} 
[2026-07-11 09:25:58] local.INFO: Packet analysis {"connection_id":128272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:58] local.INFO: Extracted packet for processing {"connection_id":128272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97810104,"longitude_deg":76.3182016,"latitude_deg":9.7810104,"altitude":5,"angle":177,"satellites":32,"speed":16,"hex_longitude":"2d7d3bc0","hex_latitude":"05d476b8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 09:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637964288001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104986098979045376,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515871651840,"note":"Value kept but may cause issues"} 
[2026-07-11 09:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783742051000,"timestamp_ms":1783742051000,"timestamp_seconds":1783742051,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fb2b8"} 
[2026-07-11 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-07-11 09:25: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-07-11 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-11 09:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 09:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":128272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":128272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":128272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637964288001,"66":13091,"254":206,"85":15104,"24":16,"16":104986098979045376,"45":9024228515871651840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 09:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637964288001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:25:58] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 09:25:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104986098979045376,"km_value":104986098979045.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515871651840,"description":"Unknown IO ID 45"} 
[2026-07-11 09:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637964288001,"power":13091,"unknown_254":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9024228515871651840}} 
[2026-07-11 09:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":128272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:25:58] local.INFO: GPS data processed {"connection_id":128272,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:25:58] local.INFO: Acknowledgment sent {"connection_id":128272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:26:05] local.INFO: TCP Data received {"connection_id":130421,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:26:05] local.INFO: Processing buffer {"connection_id":130421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:26:05] local.INFO: IMEI packet received {"connection_id":130421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":130421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:26:09] local.INFO: TCP Data received {"connection_id":130421,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:26:09] local.INFO: Processing buffer {"connection_id":130421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:26:09] local.INFO: IMEI packet received {"connection_id":130421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":130421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:26:10] local.INFO: TCP Data received {"connection_id":130421,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:26:10] local.INFO: Processing buffer {"connection_id":130421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:26:10] local.INFO: Packet analysis {"connection_id":130421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:26:10] local.INFO: Extracted packet for processing {"connection_id":130421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:26: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-07-11 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:26:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":130421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:26:10] local.INFO: GPS data processed {"connection_id":130421,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:26:10] local.INFO: Acknowledgment sent {"connection_id":130421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:26:16] local.INFO: TCP Data received {"connection_id":128273,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:26:16] local.INFO: Processing buffer {"connection_id":128273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:26:16] local.INFO: IMEI packet received {"connection_id":128273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":128273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:26:17] local.INFO: TCP Data received {"connection_id":128274,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:26:17] local.INFO: Processing buffer {"connection_id":128274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:26:17] local.INFO: IMEI packet received {"connection_id":128274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":128274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:26:22] local.INFO: TCP Data received {"connection_id":128274,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:26:22] local.INFO: Processing buffer {"connection_id":128274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:26:22] local.INFO: IMEI packet received {"connection_id":128274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":128274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:26:23] local.INFO: TCP Data received {"connection_id":128274,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fed50012d7d3fc005d45200000500af21..."} 
[2026-07-11 09:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fed50012d7d3fc005d45200000500af21..."} 
[2026-07-11 09:26:23] local.INFO: Processing buffer {"connection_id":128274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fed50012d7d3fc005d45200000500af21..."} 
[2026-07-11 09:26:23] local.INFO: Packet analysis {"connection_id":128274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:26:23] local.INFO: Extracted packet for processing {"connection_id":128274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":97800704,"longitude_deg":76.318304,"latitude_deg":9.7800704,"altitude":5,"angle":175,"satellites":33,"speed":32,"hex_longitude":"2d7d3fc0","hex_latitude":"05d45200","is_valid_coordinates":true} 
[2026-07-11 09:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637965056001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104986554245578752,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409638840320,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783742066000,"timestamp_ms":1783742066000,"timestamp_seconds":1783742066,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fed50"} 
[2026-07-11 09:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:26: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-07-11 09:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 09:26:23] 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-07-11 09:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637965056001,"66":13352,"254":206,"85":15104,"24":32,"16":104986554245578752,"45":9024017409638840320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 09:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637965056001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:26:23] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 09:26:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104986554245578752,"km_value":104986554245578.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409638840320,"description":"Unknown IO ID 45"} 
[2026-07-11 09:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637965056001,"power":13352,"unknown_254":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9024017409638840320}} 
[2026-07-11 09:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":128274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:26:23] local.INFO: GPS data processed {"connection_id":128274,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:26:23] local.INFO: Acknowledgment sent {"connection_id":128274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:26:41] local.INFO: TCP Data received {"connection_id":130421,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:26:41] local.INFO: Processing buffer {"connection_id":130421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:26:41] local.INFO: Packet analysis {"connection_id":130421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:26:41] local.INFO: Extracted packet for processing {"connection_id":130421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:26: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-07-11 09:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:26: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-07-11 09:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:26:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":130421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:26:41] local.INFO: GPS data processed {"connection_id":130421,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:26:41] local.INFO: Acknowledgment sent {"connection_id":130421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:26:46] local.INFO: TCP Data received {"connection_id":128275,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:26:46] local.INFO: Processing buffer {"connection_id":128275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:26:46] local.INFO: IMEI packet received {"connection_id":128275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":128275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:26:55] local.INFO: TCP Data received {"connection_id":128274,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f501460012d7d408005d42ce8000500b620..."} 
[2026-07-11 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f501460012d7d408005d42ce8000500b620..."} 
[2026-07-11 09:26:55] local.INFO: Processing buffer {"connection_id":128274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f501460012d7d408005d42ce8000500b620..."} 
[2026-07-11 09:26:55] local.INFO: Packet analysis {"connection_id":128274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f50"} 
[2026-07-11 09:26:55] local.INFO: Extracted packet for processing {"connection_id":128274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f50"} 
[2026-07-11 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97791208,"longitude_deg":76.3183232,"latitude_deg":9.7791208,"altitude":5,"angle":182,"satellites":32,"speed":39,"hex_longitude":"2d7d4080","hex_latitude":"05d42ce8","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968896001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104987018102046720,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309543276544,"note":"Value kept but may cause issues"} 
[2026-07-11 09:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783742076000,"timestamp_ms":1783742076000,"timestamp_seconds":1783742076,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f501460"} 
[2026-07-11 09:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-11 09:26:55] 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-07-11 09: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-07-11 09:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":128274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":128274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":128274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968896001,"66":13450,"254":206,"85":15104,"24":39,"16":104987018102046720,"45":9025143309543276544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 09:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968896001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:26:55] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 09:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104987018102046720,"km_value":104987018102046.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309543276544,"description":"Unknown IO ID 45"} 
[2026-07-11 09:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968896001,"power":13450,"unknown_254":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9025143309543276544}} 
[2026-07-11 09:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":128274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:26:55] local.INFO: GPS data processed {"connection_id":128274,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:26:55] local.INFO: Acknowledgment sent {"connection_id":128274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:27:06] local.INFO: TCP Data received {"connection_id":128461,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:27:06] local.INFO: Processing buffer {"connection_id":128461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:27:06] local.INFO: IMEI packet received {"connection_id":128461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":128461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:27:10] local.INFO: TCP Data received {"connection_id":128461,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:27:10] local.INFO: Processing buffer {"connection_id":128461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:27:10] local.INFO: IMEI packet received {"connection_id":128461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":128461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:27:10] local.INFO: TCP Data received {"connection_id":128461,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:27:10] local.INFO: Processing buffer {"connection_id":128461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:27:10] local.INFO: Packet analysis {"connection_id":128461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:27:10] local.INFO: Extracted packet for processing {"connection_id":128461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:27: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-07-11 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:27:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":128461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:27:10] local.INFO: GPS data processed {"connection_id":128461,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:27:10] local.INFO: Acknowledgment sent {"connection_id":128461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:27:16] local.INFO: TCP Data received {"connection_id":128462,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:27:16] local.INFO: Processing buffer {"connection_id":128462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:27:16] local.INFO: IMEI packet received {"connection_id":128462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":128462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:27:19] local.INFO: TCP Data received {"connection_id":128462,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:27:19] local.INFO: Processing buffer {"connection_id":128462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:27:19] local.INFO: IMEI packet received {"connection_id":128462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":128462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:27:22] local.INFO: TCP Data received {"connection_id":128462,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:27:22] local.INFO: Processing buffer {"connection_id":128462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:27:22] local.INFO: IMEI packet received {"connection_id":128462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":128462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:27:22] local.INFO: TCP Data received {"connection_id":128462,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f503b70012d7d3dc005d407f0000400b921..."} 
[2026-07-11 09:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f503b70012d7d3dc005d407f0000400b921..."} 
[2026-07-11 09:27:22] local.INFO: Processing buffer {"connection_id":128462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f503b70012d7d3dc005d407f0000400b921..."} 
[2026-07-11 09:27:22] local.INFO: Packet analysis {"connection_id":128462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f50"} 
[2026-07-11 09:27:22] local.INFO: Extracted packet for processing {"connection_id":128462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f50"} 
[2026-07-11 09:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97781744,"longitude_deg":76.3182528,"latitude_deg":9.7781744,"altitude":4,"angle":185,"satellites":33,"speed":36,"hex_longitude":"2d7d3dc0","hex_latitude":"05d407f0","is_valid_coordinates":true} 
[2026-07-11 09:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637971456001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104987477663547392,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415773378560,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783742086000,"timestamp_ms":1783742086000,"timestamp_seconds":1783742086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f503b70"} 
[2026-07-11 09:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:27: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-07-11 09:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 09:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637971456001,"66":13472,"254":206,"85":15104,"24":36,"16":104987477663547392,"45":9025354415773378560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 09:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637971456001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:27:22] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 09:27:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104987477663547392,"km_value":104987477663547.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415773378560,"description":"Unknown IO ID 45"} 
[2026-07-11 09:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637971456001,"power":13472,"unknown_254":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9025354415773378560}} 
[2026-07-11 09:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":128462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:27:22] local.INFO: GPS data processed {"connection_id":128462,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:27:22] local.INFO: Acknowledgment sent {"connection_id":128462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:27:41] local.INFO: TCP Data received {"connection_id":128461,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:27:41] local.INFO: Processing buffer {"connection_id":128461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:27:41] local.INFO: Packet analysis {"connection_id":128461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:27:41] local.INFO: Extracted packet for processing {"connection_id":128461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:27: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-07-11 09: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:27: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-07-11 09:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:27:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":128461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:27:41] local.INFO: GPS data processed {"connection_id":128461,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:27:41] local.INFO: Acknowledgment sent {"connection_id":128461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:27:53] local.INFO: TCP Data received {"connection_id":128462,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f528948012d7d3f0005d2ffc8000700b222..."} 
[2026-07-11 09:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f528948012d7d3f0005d2ffc8000700b222..."} 
[2026-07-11 09:27:53] local.INFO: Processing buffer {"connection_id":128462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f528948012d7d3f0005d2ffc8000700b222..."} 
[2026-07-11 09:27:53] local.INFO: Packet analysis {"connection_id":128462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f52"} 
[2026-07-11 09:27:53] local.INFO: Extracted packet for processing {"connection_id":128462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f52"} 
[2026-07-11 09:27:53] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":97714120,"longitude_deg":76.3182848,"latitude_deg":9.771412,"altitude":7,"angle":178,"satellites":34,"speed":0,"hex_longitude":"2d7d3f00","hex_latitude":"05d2ffc8","is_valid_coordinates":true} 
[2026-07-11 09:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638007296001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104990780493398016,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203288578048,"note":"Value kept but may cause issues"} 
[2026-07-11 09:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783742237000,"timestamp_ms":1783742237000,"timestamp_seconds":1783742237,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f528948"} 
[2026-07-11 09:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:27: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-07-11 09:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 09:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638007296001,"66":13341,"115":206,"85":15104,"24":0,"16":104990780493398016,"45":9024932203288578048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 09:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638007296001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:27:53] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 09:27:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104990780493398016,"km_value":104990780493398.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203288578048,"description":"Unknown IO ID 45"} 
[2026-07-11 09:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638007296001,"power":13341,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9024932203288578048}} 
[2026-07-11 09:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":128462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:27:54] local.INFO: GPS data processed {"connection_id":128462,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:27:54] local.INFO: Acknowledgment sent {"connection_id":128462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:28:04] local.INFO: TCP Data received {"connection_id":130423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:28:04] local.INFO: Processing buffer {"connection_id":130423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:28:04] local.INFO: IMEI packet received {"connection_id":130423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":130423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:28:09] local.INFO: TCP Data received {"connection_id":130423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:28:09] local.INFO: Processing buffer {"connection_id":130423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:28:09] local.INFO: IMEI packet received {"connection_id":130423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":130423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:28:10] local.INFO: TCP Data received {"connection_id":130423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:28:10] local.INFO: Processing buffer {"connection_id":130423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:28:10] local.INFO: Packet analysis {"connection_id":130423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:28:10] local.INFO: Extracted packet for processing {"connection_id":130423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:28: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-07-11 09: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:28:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":130423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:28:10] local.INFO: GPS data processed {"connection_id":130423,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:28:10] local.INFO: Acknowledgment sent {"connection_id":130423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:28:16] local.INFO: TCP Data received {"connection_id":129173,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:28:16] local.INFO: Processing buffer {"connection_id":129173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:28:16] local.INFO: IMEI packet received {"connection_id":129173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":129173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:28:22] local.INFO: TCP Data received {"connection_id":129173,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:28:22] local.INFO: Processing buffer {"connection_id":129173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:28:22] local.INFO: IMEI packet received {"connection_id":129173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":129173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:28:22] local.INFO: TCP Data received {"connection_id":129173,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f52db50012d7d408005d2fb78000700bb24..."} 
[2026-07-11 09:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f52db50012d7d408005d2fb78000700bb24..."} 
[2026-07-11 09:28:22] local.INFO: Processing buffer {"connection_id":129173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f52db50012d7d408005d2fb78000700bb24..."} 
[2026-07-11 09:28:22] local.INFO: Packet analysis {"connection_id":129173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f52"} 
[2026-07-11 09:28:22] local.INFO: Extracted packet for processing {"connection_id":129173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f52"} 
[2026-07-11 09:28:22] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97713016,"longitude_deg":76.3183232,"latitude_deg":9.7713016,"altitude":7,"angle":187,"satellites":36,"speed":1,"hex_longitude":"2d7d4080","hex_latitude":"05d2fb78","is_valid_coordinates":true} 
[2026-07-11 09:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638012672001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104990853507842048,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203288578048,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783742258000,"timestamp_ms":1783742258000,"timestamp_seconds":1783742258,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f52db50"} 
[2026-07-11 09:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:28: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-07-11 09:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 09:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":129173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":129173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":129173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638012672001,"66":13102,"115":206,"85":15104,"24":1,"16":104990853507842048,"45":9024932203288578048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 09:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638012672001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:28:22] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 09:28:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104990853507842048,"km_value":104990853507842.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203288578048,"description":"Unknown IO ID 45"} 
[2026-07-11 09:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638012672001,"power":13102,"unknown_115":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9024932203288578048}} 
[2026-07-11 09:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":129173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:28:22] local.INFO: GPS data processed {"connection_id":129173,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:28:22] local.INFO: Acknowledgment sent {"connection_id":129173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:28:41] local.INFO: TCP Data received {"connection_id":130423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:28:41] local.INFO: Processing buffer {"connection_id":130423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:28:41] local.INFO: Packet analysis {"connection_id":130423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:28:41] local.INFO: Extracted packet for processing {"connection_id":130423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:28: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-07-11 09:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:28: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-07-11 09:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:28:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":130423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:28:41] local.INFO: GPS data processed {"connection_id":130423,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:28:41] local.INFO: Acknowledgment sent {"connection_id":130423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:28:53] local.INFO: TCP Data received {"connection_id":129173,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f52f6a8012d7d400005d2f958000700ae24..."} 
[2026-07-11 09:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f52f6a8012d7d400005d2f958000700ae24..."} 
[2026-07-11 09:28:53] local.INFO: Processing buffer {"connection_id":129173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f52f6a8012d7d400005d2f958000700ae24..."} 
[2026-07-11 09:28:53] local.INFO: Packet analysis {"connection_id":129173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f52"} 
[2026-07-11 09:28:53] local.INFO: Extracted packet for processing {"connection_id":129173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f52"} 
[2026-07-11 09:28:53] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97712472,"longitude_deg":76.3183104,"latitude_deg":9.7712472,"altitude":7,"angle":174,"satellites":36,"speed":4,"hex_longitude":"2d7d4000","hex_latitude":"05d2f958","is_valid_coordinates":true} 
[2026-07-11 09:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638018048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104990883572613120,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415753361408,"note":"Value kept but may cause issues"} 
[2026-07-11 09:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783742265000,"timestamp_ms":1783742265000,"timestamp_seconds":1783742265,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f52f6a8"} 
[2026-07-11 09:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:28: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-07-11 09:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 09:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":129173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":129173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":129173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638018048001,"66":13222,"115":206,"85":15104,"24":4,"16":104990883572613120,"45":9025354415753361408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 09:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638018048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:28:53] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 09:28:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104990883572613120,"km_value":104990883572613.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415753361408,"description":"Unknown IO ID 45"} 
[2026-07-11 09:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638018048001,"power":13222,"unknown_115":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025354415753361408}} 
[2026-07-11 09:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":129173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:28:53] local.INFO: GPS data processed {"connection_id":129173,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:28:53] local.INFO: Acknowledgment sent {"connection_id":129173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:29:04] local.INFO: TCP Data received {"connection_id":130425,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:29:04] local.INFO: Processing buffer {"connection_id":130425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:29:04] local.INFO: IMEI packet received {"connection_id":130425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":130425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:29:10] local.INFO: TCP Data received {"connection_id":130425,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:29:10] local.INFO: Processing buffer {"connection_id":130425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:29:10] local.INFO: IMEI packet received {"connection_id":130425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":130425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:29:10] local.INFO: TCP Data received {"connection_id":130425,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:29:10] local.INFO: Processing buffer {"connection_id":130425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:29:10] local.INFO: Packet analysis {"connection_id":130425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:29:10] local.INFO: Extracted packet for processing {"connection_id":130425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:29: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-07-11 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:29:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":130425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:29:10] local.INFO: GPS data processed {"connection_id":130425,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:29:10] local.INFO: Acknowledgment sent {"connection_id":130425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:29:20] local.INFO: TCP Data received {"connection_id":128277,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:29:20] local.INFO: Processing buffer {"connection_id":128277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:29:20] local.INFO: IMEI packet received {"connection_id":128277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":128277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:29:21] local.INFO: TCP Data received {"connection_id":128277,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:29:21] local.INFO: Processing buffer {"connection_id":128277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:29:21] local.INFO: IMEI packet received {"connection_id":128277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":128277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:29:27] local.INFO: TCP Data received {"connection_id":128277,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:29:27] local.INFO: Processing buffer {"connection_id":128277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:29:27] local.INFO: IMEI packet received {"connection_id":128277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":128277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:29:28] local.INFO: TCP Data received {"connection_id":128277,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5344c8012d7d410005d2f100000700ad23..."} 
[2026-07-11 09:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5344c8012d7d410005d2f100000700ad23..."} 
[2026-07-11 09:29:28] local.INFO: Processing buffer {"connection_id":128277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5344c8012d7d410005d2f100000700ad23..."} 
[2026-07-11 09:29:28] local.INFO: Packet analysis {"connection_id":128277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f53"} 
[2026-07-11 09:29:28] local.INFO: Extracted packet for processing {"connection_id":128277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f53"} 
[2026-07-11 09:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97710336,"longitude_deg":76.318336,"latitude_deg":9.7710336,"altitude":7,"angle":173,"satellites":35,"speed":3,"hex_longitude":"2d7d4100","hex_latitude":"05d2f100","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638019840001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104990990946795520,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678264866816,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783742285000,"timestamp_ms":1783742285000,"timestamp_seconds":1783742285,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5344c8"} 
[2026-07-11 09:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:29: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-07-11 09:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 09:29:28] 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-07-11 09: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-07-11 09:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":128277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":128277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":128277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638019840001,"66":13048,"115":206,"85":15104,"24":3,"16":104990990946795520,"45":9025213678264866816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 09:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638019840001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:29:28] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 09:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104990990946795520,"km_value":104990990946795.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678264866816,"description":"Unknown IO ID 45"} 
[2026-07-11 09:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638019840001,"power":13048,"unknown_115":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9025213678264866816}} 
[2026-07-11 09:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":128277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:29:28] local.INFO: GPS data processed {"connection_id":128277,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:29:28] local.INFO: Acknowledgment sent {"connection_id":128277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:29:41] local.INFO: TCP Data received {"connection_id":130425,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:29:41] local.INFO: Processing buffer {"connection_id":130425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f4fe580012cb29ac007823b28004700db29..."} 
[2026-07-11 09:29:41] local.INFO: Packet analysis {"connection_id":130425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:29:41] local.INFO: Extracted packet for processing {"connection_id":130425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f4f"} 
[2026-07-11 09:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637891328001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742064000,"timestamp_ms":1783742064000,"timestamp_seconds":1783742064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f4fe580"} 
[2026-07-11 09:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:29: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-07-11 09: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 09:29: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-07-11 09:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637891328001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637891328001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:29:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637891328001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":130425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:29:41] local.INFO: GPS data processed {"connection_id":130425,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:29:41] local.INFO: Acknowledgment sent {"connection_id":130425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:29:59] local.INFO: TCP Data received {"connection_id":128277,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5396d0012d7d40c005d2e3f0000800b123..."} 
[2026-07-11 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5396d0012d7d40c005d2e3f0000800b123..."} 
[2026-07-11 09:29:59] local.INFO: Processing buffer {"connection_id":128277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5396d0012d7d40c005d2e3f0000800b123..."} 
[2026-07-11 09:29:59] local.INFO: Packet analysis {"connection_id":128277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f53"} 
[2026-07-11 09:29:59] local.INFO: Extracted packet for processing {"connection_id":128277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f53"} 
[2026-07-11 09:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97706992,"longitude_deg":76.3183296,"latitude_deg":9.7706992,"altitude":8,"angle":177,"satellites":35,"speed":8,"hex_longitude":"2d7d40c0","hex_latitude":"05d2e3f0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 09:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638024960001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104991154155552768,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153241030656,"note":"Value kept but may cause issues"} 
[2026-07-11 09:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783742306000,"timestamp_ms":1783742306000,"timestamp_seconds":1783742306,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5396d0"} 
[2026-07-11 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-07-11 09:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 09:29:59] 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-07-11 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-07-11 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-07-11 09:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":128277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":128277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":128277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638024960001,"66":13091,"115":206,"85":15104,"24":8,"16":104991154155552768,"45":9025495153241030656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 09:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638024960001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:29:59] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 09:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104991154155552768,"km_value":104991154155552.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153241030656,"description":"Unknown IO ID 45"} 
[2026-07-11 09:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638024960001,"power":13091,"unknown_115":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9025495153241030656}} 
[2026-07-11 09:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":128277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:29:59] local.INFO: GPS data processed {"connection_id":128277,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:29:59] local.INFO: Acknowledgment sent {"connection_id":128277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:30:09] local.INFO: TCP Data received {"connection_id":129175,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:30:09] local.INFO: Processing buffer {"connection_id":129175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:30:09] local.INFO: IMEI packet received {"connection_id":129175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":129175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:30:15] local.INFO: TCP Data received {"connection_id":129175,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:30:15] local.INFO: Processing buffer {"connection_id":129175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:30:15] local.INFO: IMEI packet received {"connection_id":129175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":129175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:30:15] local.INFO: TCP Data received {"connection_id":129175,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:30:15] local.INFO: Processing buffer {"connection_id":129175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:30:15] local.INFO: Packet analysis {"connection_id":129175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:30:15] local.INFO: Extracted packet for processing {"connection_id":129175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:30:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:30:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":129175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:30:15] local.INFO: GPS data processed {"connection_id":129175,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:30:15] local.INFO: Acknowledgment sent {"connection_id":129175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:30:17] local.INFO: TCP Data received {"connection_id":128278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:30:17] local.INFO: Processing buffer {"connection_id":128278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:30:17] local.INFO: IMEI packet received {"connection_id":128278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":128278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:30:21] local.INFO: TCP Data received {"connection_id":128278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:30:21] local.INFO: Processing buffer {"connection_id":128278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:30:21] local.INFO: IMEI packet received {"connection_id":128278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":128278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:30:22] local.INFO: TCP Data received {"connection_id":128278,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f54eaa8012d7d43c005d2c5c0000a00cc21..."} 
[2026-07-11 09:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f54eaa8012d7d43c005d2c5c0000a00cc21..."} 
[2026-07-11 09:30:22] local.INFO: Processing buffer {"connection_id":128278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f54eaa8012d7d43c005d2c5c0000a00cc21..."} 
[2026-07-11 09:30:22] local.INFO: Packet analysis {"connection_id":128278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:30:22] local.INFO: Extracted packet for processing {"connection_id":128278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:30:22] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97699264,"longitude_deg":76.3184064,"latitude_deg":9.7699264,"altitude":10,"angle":204,"satellites":33,"speed":1,"hex_longitude":"2d7d43c0","hex_latitude":"05d2c5c0","is_valid_coordinates":true} 
[2026-07-11 09:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638050816001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104991540702609408,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209424179200,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783742393000,"timestamp_ms":1783742393000,"timestamp_seconds":1783742393,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f54eaa8"} 
[2026-07-11 09:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 09:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638050816001,"66":12863,"117":206,"85":15104,"24":1,"16":104991540702609408,"45":9026269209424179200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-11 09:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638050816001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:30:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-11 09:30:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104991540702609408,"km_value":104991540702609.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209424179200,"description":"Unknown IO ID 45"} 
[2026-07-11 09:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638050816001,"power":12863,"unknown_117":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9026269209424179200}} 
[2026-07-11 09:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":128278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:30:22] local.INFO: GPS data processed {"connection_id":128278,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:30:22] local.INFO: Acknowledgment sent {"connection_id":128278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:30:46] local.INFO: TCP Data received {"connection_id":129175,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:30:46] local.INFO: Processing buffer {"connection_id":129175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:30:46] local.INFO: Packet analysis {"connection_id":129175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:30:46] local.INFO: Extracted packet for processing {"connection_id":129175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:30:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:30: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-07-11 09:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:30:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:30:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":129175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:30:46] local.INFO: GPS data processed {"connection_id":129175,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:30:46] local.INFO: Acknowledgment sent {"connection_id":129175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:30:53] local.INFO: TCP Data received {"connection_id":128278,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f550218012d7d440005d2c4e0000b00a922..."} 
[2026-07-11 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f550218012d7d440005d2c4e0000b00a922..."} 
[2026-07-11 09:30:53] local.INFO: Processing buffer {"connection_id":128278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f550218012d7d440005d2c4e0000b00a922..."} 
[2026-07-11 09:30:53] local.INFO: Packet analysis {"connection_id":128278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f55"} 
[2026-07-11 09:30:53] local.INFO: Extracted packet for processing {"connection_id":128278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f55"} 
[2026-07-11 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":97699040,"longitude_deg":76.3184128,"latitude_deg":9.769904,"altitude":11,"angle":169,"satellites":34,"speed":2,"hex_longitude":"2d7d4400","hex_latitude":"05d2c4e0","is_valid_coordinates":true} 
[2026-07-11 09:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638052608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104991553587511296,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209424150528,"note":"Value kept but may cause issues"} 
[2026-07-11 09:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783742399000,"timestamp_ms":1783742399000,"timestamp_seconds":1783742399,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f550218"} 
[2026-07-11 09:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 09:30:53] 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-07-11 09:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638052608001,"66":12961,"117":206,"85":15104,"24":2,"16":104991553587511296,"45":9026269209424150528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-11 09:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638052608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:30:53] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-11 09:30:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104991553587511296,"km_value":104991553587511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209424150528,"description":"Unknown IO ID 45"} 
[2026-07-11 09:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638052608001,"power":12961,"unknown_117":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9026269209424150528}} 
[2026-07-11 09:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":128278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:30:53] local.INFO: GPS data processed {"connection_id":128278,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:30:53] local.INFO: Acknowledgment sent {"connection_id":128278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:31:05] local.INFO: TCP Data received {"connection_id":128463,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:31:05] local.INFO: Processing buffer {"connection_id":128463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:31:05] local.INFO: IMEI packet received {"connection_id":128463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":128463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:31:10] local.INFO: TCP Data received {"connection_id":128463,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:31:10] local.INFO: Processing buffer {"connection_id":128463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:31:10] local.INFO: IMEI packet received {"connection_id":128463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":128463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:31:11] local.INFO: TCP Data received {"connection_id":128463,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:31:11] local.INFO: Processing buffer {"connection_id":128463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:31:11] local.INFO: Packet analysis {"connection_id":128463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:31:11] local.INFO: Extracted packet for processing {"connection_id":128463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":128463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:31:11] local.INFO: GPS data processed {"connection_id":128463,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:31:11] local.INFO: Acknowledgment sent {"connection_id":128463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:31:13] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:31:13] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:31:13] local.INFO: IMEI packet received {"connection_id":130426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":130426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:31:17] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:31:17] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:31:17] local.INFO: IMEI packet received {"connection_id":130426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":130426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:31:22] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:31:22] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:31:22] local.INFO: IMEI packet received {"connection_id":130426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":130426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:31:22] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f552540012d7d438005d2c118000b00b422..."} 
[2026-07-11 09:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f552540012d7d438005d2c118000b00b422..."} 
[2026-07-11 09:31:22] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f552540012d7d438005d2c118000b00b422..."} 
[2026-07-11 09:31:22] local.INFO: Packet analysis {"connection_id":130426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f55"} 
[2026-07-11 09:31:22] local.INFO: Extracted packet for processing {"connection_id":130426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f55"} 
[2026-07-11 09:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97698072,"longitude_deg":76.3184,"latitude_deg":9.7698072,"altitude":11,"angle":180,"satellites":34,"speed":4,"hex_longitude":"2d7d4380","hex_latitude":"05d2c118","is_valid_coordinates":true} 
[2026-07-11 09:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638054144001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104991600832151552,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339578168270848,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783742408000,"timestamp_ms":1783742408000,"timestamp_seconds":1783742408,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f552540"} 
[2026-07-11 09:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:31: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-07-11 09:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 09:31:22] 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-07-11 09:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638054144001,"66":13363,"117":206,"85":15104,"24":4,"16":104991600832151552,"45":9026339578168270848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-11 09:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638054144001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:31:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-11 09:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104991600832151552,"km_value":104991600832151.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339578168270848,"description":"Unknown IO ID 45"} 
[2026-07-11 09:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638054144001,"power":13363,"unknown_117":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9026339578168270848}} 
[2026-07-11 09:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":130426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:31:22] local.INFO: GPS data processed {"connection_id":130426,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:31:22] local.INFO: Acknowledgment sent {"connection_id":130426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:31:42] local.INFO: TCP Data received {"connection_id":128463,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:31:42] local.INFO: Processing buffer {"connection_id":128463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:31:42] local.INFO: Packet analysis {"connection_id":128463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:31:42] local.INFO: Extracted packet for processing {"connection_id":128463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:31:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":128463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:31:42] local.INFO: GPS data processed {"connection_id":128463,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:31:42] local.INFO: Acknowledgment sent {"connection_id":128463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:31:54] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f567918012d7d438005d292c8000f007027..."} 
[2026-07-11 09:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f567918012d7d438005d292c8000f007027..."} 
[2026-07-11 09:31:54] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f567918012d7d438005d292c8000f007027..."} 
[2026-07-11 09:31:54] local.INFO: Packet analysis {"connection_id":130426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f56"} 
[2026-07-11 09:31:54] local.INFO: Extracted packet for processing {"connection_id":130426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f56"} 
[2026-07-11 09:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97686216,"longitude_deg":76.3184,"latitude_deg":9.7686216,"altitude":15,"angle":112,"satellites":39,"speed":4,"hex_longitude":"2d7d4380","hex_latitude":"05d292c8","is_valid_coordinates":true} 
[2026-07-11 09:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638077952001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104992223602409472,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996955807744,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783742495000,"timestamp_ms":1783742495000,"timestamp_seconds":1783742495,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f567918"} 
[2026-07-11 09:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161553243558,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":117,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147865248,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2602565646,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792685774,"corrected_to":0} 
[2026-07-11 09:31:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":983221,"corrected_to":0} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511014,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3533944832,"note":"Value kept but may cause issues"} 
[2026-07-11 09:31:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,117,85,24,241,157,16,1,159,101,45,128,148,15,39,10,66,93,64,149,82,240,7,227,79,210,4,113,205,6,31,200,34,239,48,2,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2792685774,"validated":0},{"io_id":200,"original":983221,"validated":0}]} 
[2026-07-11 09:31:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081003720344600576,"timestamp_seconds":1081003720344600.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638077952001,"66":12885,"117":206,"85":15104,"24":4,"16":104992223602409472,"45":9025846996955807744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-11 09:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638077952001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:31:54] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-11 09:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104992223602409472,"km_value":104992223602409.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996955807744,"description":"Unknown IO ID 45"} 
[2026-07-11 09:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638077952001,"power":12885,"unknown_117":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025846996955807744}} 
[2026-07-11 09:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":130426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:31:54] local.INFO: GPS data processed {"connection_id":130426,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:31:54] local.INFO: Acknowledgment sent {"connection_id":130426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:32:06] local.INFO: TCP Data received {"connection_id":129176,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:32:06] local.INFO: Processing buffer {"connection_id":129176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:32:06] local.INFO: IMEI packet received {"connection_id":129176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":129176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:32:09] local.INFO: TCP Data received {"connection_id":129176,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:32:09] local.INFO: Processing buffer {"connection_id":129176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:32:09] local.INFO: IMEI packet received {"connection_id":129176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":129176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:32:10] local.INFO: TCP Data received {"connection_id":129176,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:32:10] local.INFO: Processing buffer {"connection_id":129176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:32:10] local.INFO: Packet analysis {"connection_id":129176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:32:10] local.INFO: Extracted packet for processing {"connection_id":129176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:32: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-07-11 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:32:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":129176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:32:10] local.INFO: GPS data processed {"connection_id":129176,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:32:10] local.INFO: Acknowledgment sent {"connection_id":129176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:32:13] local.INFO: TCP Data received {"connection_id":128280,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:32:14] local.INFO: Processing buffer {"connection_id":128280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:32:14] local.INFO: IMEI packet received {"connection_id":128280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":128280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:32:17] local.INFO: TCP Data received {"connection_id":128281,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:32:17] local.INFO: Processing buffer {"connection_id":128281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:32:17] local.INFO: IMEI packet received {"connection_id":128281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":128281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:32:22] local.INFO: TCP Data received {"connection_id":128281,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:32:22] local.INFO: Processing buffer {"connection_id":128281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:32:22] local.INFO: IMEI packet received {"connection_id":128281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":128281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:32:23] local.INFO: TCP Data received {"connection_id":128281,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5688b8012d7d458005d29238000f006227..."} 
[2026-07-11 09:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5688b8012d7d458005d29238000f006227..."} 
[2026-07-11 09:32:23] local.INFO: Processing buffer {"connection_id":128281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5688b8012d7d458005d29238000f006227..."} 
[2026-07-11 09:32:23] local.INFO: Packet analysis {"connection_id":128281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f56"} 
[2026-07-11 09:32:23] local.INFO: Extracted packet for processing {"connection_id":128281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f56"} 
[2026-07-11 09:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":97686072,"longitude_deg":76.3184512,"latitude_deg":9.7686072,"altitude":15,"angle":98,"satellites":39,"speed":8,"hex_longitude":"2d7d4580","hex_latitude":"05d29238","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638078720001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104992249372213248,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840676632576,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783742499000,"timestamp_ms":1783742499000,"timestamp_seconds":1783742499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5688b8"} 
[2026-07-11 09:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 09:32:23] 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-07-11 09: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-07-11 09:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638078720001,"66":13363,"117":206,"85":15104,"24":8,"16":104992249372213248,"45":9026198840676632576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-11 09:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638078720001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:32:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-11 09:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104992249372213248,"km_value":104992249372213.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840676632576,"description":"Unknown IO ID 45"} 
[2026-07-11 09:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638078720001,"power":13363,"unknown_117":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9026198840676632576}} 
[2026-07-11 09:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":128281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:32:23] local.INFO: GPS data processed {"connection_id":128281,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:32:23] local.INFO: Acknowledgment sent {"connection_id":128281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:32:41] local.INFO: TCP Data received {"connection_id":129176,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:32:41] local.INFO: Processing buffer {"connection_id":129176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:32:41] local.INFO: Packet analysis {"connection_id":129176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:32:41] local.INFO: Extracted packet for processing {"connection_id":129176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:32: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-07-11 09:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:32:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":129176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:32:41] local.INFO: GPS data processed {"connection_id":129176,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:32:41] local.INFO: Acknowledgment sent {"connection_id":129176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:32:49] local.INFO: TCP Data received {"connection_id":128464,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:32:49] local.INFO: Processing buffer {"connection_id":128464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:32:49] local.INFO: IMEI packet received {"connection_id":128464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":128464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:32:54] local.INFO: TCP Data received {"connection_id":128281,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f56a410012d7d4f0005d29178000e005627..."} 
[2026-07-11 09:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f56a410012d7d4f0005d29178000e005627..."} 
[2026-07-11 09:32:54] local.INFO: Processing buffer {"connection_id":128281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f56a410012d7d4f0005d29178000e005627..."} 
[2026-07-11 09:32:54] local.INFO: Packet analysis {"connection_id":128281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f56"} 
[2026-07-11 09:32:54] local.INFO: Extracted packet for processing {"connection_id":128281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f56"} 
[2026-07-11 09:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763186944,"raw_latitude":97685880,"longitude_deg":76.3186944,"latitude_deg":9.768588,"altitude":14,"angle":86,"satellites":39,"speed":19,"hex_longitude":"2d7d4f00","hex_latitude":"05d29178","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638079744001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104992365336330240,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790630017024,"note":"Value kept but may cause issues"} 
[2026-07-11 09:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783742506000,"timestamp_ms":1783742506000,"timestamp_seconds":1783742506,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f56a410"} 
[2026-07-11 09:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 09:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09: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-07-11 09:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638079744001,"66":13319,"117":206,"85":15104,"24":19,"16":104992365336330240,"45":9026761790630017024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-11 09:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638079744001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:32:54] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-11 09:32:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104992365336330240,"km_value":104992365336330.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790630017024,"description":"Unknown IO ID 45"} 
[2026-07-11 09:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638079744001,"power":13319,"unknown_117":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9026761790630017024}} 
[2026-07-11 09:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":128281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:32:54] local.INFO: GPS data processed {"connection_id":128281,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:32:54] local.INFO: Acknowledgment sent {"connection_id":128281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:33:04] local.INFO: TCP Data received {"connection_id":130427,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:33:04] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:33:04] local.INFO: IMEI packet received {"connection_id":130427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":130427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:33:10] local.INFO: TCP Data received {"connection_id":130427,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:33:10] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:33:10] local.INFO: IMEI packet received {"connection_id":130427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":130427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:33:11] local.INFO: TCP Data received {"connection_id":130427,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:33:11] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:33:11] local.INFO: Packet analysis {"connection_id":130427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:33:11] local.INFO: Extracted packet for processing {"connection_id":130427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":130427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:33:11] local.INFO: GPS data processed {"connection_id":130427,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:33:11] local.INFO: Acknowledgment sent {"connection_id":130427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:33:16] local.INFO: TCP Data received {"connection_id":128282,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:33:16] local.INFO: Processing buffer {"connection_id":128282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:33:16] local.INFO: IMEI packet received {"connection_id":128282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":128282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:33:18] local.INFO: TCP Data received {"connection_id":128282,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:33:18] local.INFO: Processing buffer {"connection_id":128282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:33:18] local.INFO: IMEI packet received {"connection_id":128282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":128282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:33:22] local.INFO: TCP Data received {"connection_id":128282,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:33:22] local.INFO: Processing buffer {"connection_id":128282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:33:22] local.INFO: IMEI packet received {"connection_id":128282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":128282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:33:22] local.INFO: TCP Data received {"connection_id":128282,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f56ea60012d7d728005d290d0000d005924..."} 
[2026-07-11 09:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f56ea60012d7d728005d290d0000d005924..."} 
[2026-07-11 09:33:22] local.INFO: Processing buffer {"connection_id":128282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f56ea60012d7d728005d290d0000d005924..."} 
[2026-07-11 09:33:22] local.INFO: Packet analysis {"connection_id":128282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f56"} 
[2026-07-11 09:33:22] local.INFO: Extracted packet for processing {"connection_id":128282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f56"} 
[2026-07-11 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":763196032,"raw_latitude":97685712,"longitude_deg":76.3196032,"latitude_deg":9.7685712,"altitude":13,"angle":89,"satellites":36,"speed":17,"hex_longitude":"2d7d7280","hex_latitude":"05d290d0","is_valid_coordinates":true} 
[2026-07-11 09:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638081536001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104992799128027136,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029435802908719104,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783742524000,"timestamp_ms":1783742524000,"timestamp_seconds":1783742524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f56ea60"} 
[2026-07-11 09:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 09:33:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-7268809738433780224,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792685774,"corrected_to":0} 
[2026-07-11 09:33:22] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3221302653,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885391680591163,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:22] local.WARNING: Large IO value detected {"io_id":86,"raw_value":4503600922257145861,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:22] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,117,85,24,241,157,16,2,159,136,45,128,146,15,39,10,66,1,121,109,64,240,3,227,79,210,4,113,205,93,65,216,239,50,5,7,86],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2792685774,"validated":0}]} 
[2026-07-11 09:33:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008901042035949568,"timestamp_seconds":1008901042035949.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638081536001,"66":12287,"117":206,"85":15104,"24":17,"16":104992799128027136,"45":9029435802908719104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-11 09:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638081536001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:33:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-11 09:33:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104992799128027136,"km_value":104992799128027.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029435802908719104,"description":"Unknown IO ID 45"} 
[2026-07-11 09:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638081536001,"power":12287,"unknown_117":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9029435802908719104}} 
[2026-07-11 09:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":128282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:33:22] local.INFO: GPS data processed {"connection_id":128282,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:33:22] local.INFO: Acknowledgment sent {"connection_id":128282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:33:42] local.INFO: TCP Data received {"connection_id":130427,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:33:42] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:33:42] local.INFO: Packet analysis {"connection_id":130427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:33:42] local.INFO: Extracted packet for processing {"connection_id":130427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":130427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:33:42] local.INFO: GPS data processed {"connection_id":130427,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:33:42] local.INFO: Acknowledgment sent {"connection_id":130427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:33:54] local.INFO: TCP Data received {"connection_id":128282,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f573880012d7d93c005d29068000f005925..."} 
[2026-07-11 09:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f573880012d7d93c005d29068000f005925..."} 
[2026-07-11 09:33:54] local.INFO: Processing buffer {"connection_id":128282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f573880012d7d93c005d29068000f005925..."} 
[2026-07-11 09:33:54] local.INFO: Packet analysis {"connection_id":128282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f57"} 
[2026-07-11 09:33:54] local.INFO: Extracted packet for processing {"connection_id":128282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f57"} 
[2026-07-11 09:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763204544,"raw_latitude":97685608,"longitude_deg":76.3204544,"latitude_deg":9.7685608,"altitude":15,"angle":89,"satellites":37,"speed":11,"hex_longitude":"2d7d93c0","hex_latitude":"05d29068","is_valid_coordinates":true} 
[2026-07-11 09:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638086144001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104993211444887552,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9039428164581904384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783742544000,"timestamp_ms":1783742544000,"timestamp_seconds":1783742544,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f573880"} 
[2026-07-11 09:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:33:54] 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-07-11 09:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 09:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638086144001,"66":13363,"117":206,"85":15104,"24":11,"16":104993211444887552,"45":9039428164581904384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-11 09:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638086144001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:33:54] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-11 09:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104993211444887552,"km_value":104993211444887.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9039428164581904384,"description":"Unknown IO ID 45"} 
[2026-07-11 09:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638086144001,"power":13363,"unknown_117":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9039428164581904384}} 
[2026-07-11 09:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":128282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:33:54] local.INFO: GPS data processed {"connection_id":128282,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:33:54] local.INFO: Acknowledgment sent {"connection_id":128282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:34:04] local.INFO: TCP Data received {"connection_id":129178,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:34:04] local.INFO: Processing buffer {"connection_id":129178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:34:04] local.INFO: IMEI packet received {"connection_id":129178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":129178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:34:09] local.INFO: TCP Data received {"connection_id":129178,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:34:09] local.INFO: Processing buffer {"connection_id":129178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:34:09] local.INFO: IMEI packet received {"connection_id":129178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":129178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:34:10] local.INFO: TCP Data received {"connection_id":129178,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:34:10] local.INFO: Processing buffer {"connection_id":129178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:34:10] local.INFO: Packet analysis {"connection_id":129178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:34:10] local.INFO: Extracted packet for processing {"connection_id":129178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:34: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-07-11 09:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:34:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":129178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:34:10] local.INFO: GPS data processed {"connection_id":129178,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:34:10] local.INFO: Acknowledgment sent {"connection_id":129178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:34:16] local.INFO: TCP Data received {"connection_id":128466,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:34:16] local.INFO: Processing buffer {"connection_id":128466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:34:16] local.INFO: IMEI packet received {"connection_id":128466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":128466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:34:22] local.INFO: TCP Data received {"connection_id":128466,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:34:22] local.INFO: Processing buffer {"connection_id":128466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:34:22] local.INFO: IMEI packet received {"connection_id":128466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":128466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:34:22] local.INFO: TCP Data received {"connection_id":128466,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5782b8012d7db74005d29110000e005827..."} 
[2026-07-11 09:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5782b8012d7db74005d29110000e005827..."} 
[2026-07-11 09:34:22] local.INFO: Processing buffer {"connection_id":128466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5782b8012d7db74005d29110000e005827..."} 
[2026-07-11 09:34:22] local.INFO: Packet analysis {"connection_id":128466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f57"} 
[2026-07-11 09:34:22] local.INFO: Extracted packet for processing {"connection_id":128466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f57"} 
[2026-07-11 09:34:22] local.INFO: GPS Element Parsed {"raw_longitude":763213632,"raw_latitude":97685776,"longitude_deg":76.3213632,"latitude_deg":9.7685776,"altitude":14,"angle":88,"satellites":39,"speed":25,"hex_longitude":"2d7db740","hex_latitude":"05d29110","is_valid_coordinates":true} 
[2026-07-11 09:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638091264001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104993645236584448,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9048787207557507072,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783742563000,"timestamp_ms":1783742563000,"timestamp_seconds":1783742563,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5782b8"} 
[2026-07-11 09:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 09:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638091264001,"66":13037,"115":206,"85":15104,"24":25,"16":104993645236584448,"45":9048787207557507072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 09:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638091264001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:34:22] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 09:34:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104993645236584448,"km_value":104993645236584.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9048787207557507072,"description":"Unknown IO ID 45"} 
[2026-07-11 09:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638091264001,"power":13037,"unknown_115":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9048787207557507072}} 
[2026-07-11 09:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":128466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:34:22] local.INFO: GPS data processed {"connection_id":128466,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:34:22] local.INFO: Acknowledgment sent {"connection_id":128466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:34:41] local.INFO: TCP Data received {"connection_id":129178,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:34:41] local.INFO: Processing buffer {"connection_id":129178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f547d48012cb29ac007823b28004700db28..."} 
[2026-07-11 09:34:41] local.INFO: Packet analysis {"connection_id":129178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:34:41] local.INFO: Extracted packet for processing {"connection_id":129178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f54"} 
[2026-07-11 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456637968384001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742365000,"timestamp_ms":1783742365000,"timestamp_seconds":1783742365,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f547d48"} 
[2026-07-11 09:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:34: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-07-11 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:34: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-07-11 09:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456637968384001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456637968384001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:34:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456637968384001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":129178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:34:41] local.INFO: GPS data processed {"connection_id":129178,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:34:41] local.INFO: Acknowledgment sent {"connection_id":129178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:34:54] local.INFO: TCP Data received {"connection_id":128466,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012d7e48c005d2c168000e002428..."} 
[2026-07-11 09:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012d7e48c005d2c168000e002428..."} 
[2026-07-11 09:34:54] local.INFO: Processing buffer {"connection_id":128466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012d7e48c005d2c168000e002428..."} 
[2026-07-11 09:34:54] local.INFO: Packet analysis {"connection_id":128466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:34:54] local.INFO: Extracted packet for processing {"connection_id":128466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763250880,"raw_latitude":97698152,"longitude_deg":76.325088,"latitude_deg":9.7698152,"altitude":14,"angle":36,"satellites":40,"speed":24,"hex_longitude":"2d7e48c0","hex_latitude":"05d2c168","is_valid_coordinates":true} 
[2026-07-11 09:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638121216001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104995650986311680,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097060166065936384,"note":"Value kept but may cause issues"} 
[2026-07-11 09:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-11 09:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638121216001,"66":13243,"116":206,"85":15104,"24":24,"16":104995650986311680,"45":9097060166065936384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-11 09:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638121216001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:34:54] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-11 09:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104995650986311680,"km_value":104995650986311.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097060166065936384,"description":"Unknown IO ID 45"} 
[2026-07-11 09:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638121216001,"power":13243,"unknown_116":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9097060166065936384}} 
[2026-07-11 09:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":128466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:34:54] local.INFO: GPS data processed {"connection_id":128466,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:34:54] local.INFO: Acknowledgment sent {"connection_id":128466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:35:10] local.INFO: TCP Data received {"connection_id":129180,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:35:10] local.INFO: Processing buffer {"connection_id":129180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:35:10] local.INFO: IMEI packet received {"connection_id":129180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":129180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:35:15] local.INFO: TCP Data received {"connection_id":129180,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:35:15] local.INFO: Processing buffer {"connection_id":129180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:35:15] local.INFO: IMEI packet received {"connection_id":129180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":129180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:35:15] local.INFO: TCP Data received {"connection_id":129180,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:35:15] local.INFO: Processing buffer {"connection_id":129180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:35:15] local.INFO: Packet analysis {"connection_id":129180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:35:15] local.INFO: Extracted packet for processing {"connection_id":129180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:35:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:35:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:35:15] 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-07-11 09:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:35:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:35:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:35:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":129180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:35:15] local.INFO: GPS data processed {"connection_id":129180,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:35:15] local.INFO: Acknowledgment sent {"connection_id":129180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:35:16] local.INFO: TCP Data received {"connection_id":128283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:16] local.INFO: Processing buffer {"connection_id":128283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:16] local.INFO: IMEI packet received {"connection_id":128283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":128283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:35:17] local.INFO: TCP Data received {"connection_id":128283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:17] local.INFO: Processing buffer {"connection_id":128283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:17] local.INFO: IMEI packet received {"connection_id":128283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":128283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:35:17] local.INFO: TCP Data received {"connection_id":128283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:17] local.INFO: Processing buffer {"connection_id":128283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:17] local.INFO: IMEI packet received {"connection_id":128283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":128283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:35:18] local.INFO: TCP Data received {"connection_id":128283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:18] local.INFO: Processing buffer {"connection_id":128283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:35:18] local.INFO: IMEI packet received {"connection_id":128283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":128283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:35:20] local.INFO: TCP Data received {"connection_id":129180,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:35:20] local.INFO: Processing buffer {"connection_id":129180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:35:20] local.INFO: Packet analysis {"connection_id":129180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:35:20] local.INFO: Extracted packet for processing {"connection_id":129180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:35:20] 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-07-11 09:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:35:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":129180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:35:20] local.INFO: GPS data processed {"connection_id":129180,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:35:20] local.INFO: Acknowledgment sent {"connection_id":129180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:36:05] local.INFO: TCP Data received {"connection_id":128284,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:36:05] local.INFO: Processing buffer {"connection_id":128284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:36:05] local.INFO: IMEI packet received {"connection_id":128284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":128284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:36:09] local.INFO: TCP Data received {"connection_id":128284,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:36:09] local.INFO: Processing buffer {"connection_id":128284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:36:09] local.INFO: IMEI packet received {"connection_id":128284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":128284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:36:10] local.INFO: TCP Data received {"connection_id":128284,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:36:10] local.INFO: Processing buffer {"connection_id":128284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:36:10] local.INFO: Packet analysis {"connection_id":128284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:36:10] local.INFO: Extracted packet for processing {"connection_id":128284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:36: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-07-11 09:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:36:10] 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-07-11 09:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:36:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":128284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:36:10] local.INFO: GPS data processed {"connection_id":128284,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:36:10] local.INFO: Acknowledgment sent {"connection_id":128284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:36:41] local.INFO: TCP Data received {"connection_id":128284,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:36:41] local.INFO: Processing buffer {"connection_id":128284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:36:41] local.INFO: Packet analysis {"connection_id":128284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:36:41] local.INFO: Extracted packet for processing {"connection_id":128284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:36: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-07-11 09:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:36:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":128284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:36:42] local.INFO: GPS data processed {"connection_id":128284,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:36:42] local.INFO: Acknowledgment sent {"connection_id":128284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:37:05] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:37:05] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:37:05] local.INFO: IMEI packet received {"connection_id":128469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":128469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:37:10] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:37:10] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:37:10] local.INFO: IMEI packet received {"connection_id":128469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":128469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:37:11] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:37:11] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:37:11] local.INFO: Packet analysis {"connection_id":128469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:37:11] local.INFO: Extracted packet for processing {"connection_id":128469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:37:11] 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-07-11 09:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:37:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":128469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:37:11] local.INFO: GPS data processed {"connection_id":128469,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:37:11] local.INFO: Acknowledgment sent {"connection_id":128469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:37:42] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:37:42] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:37:42] local.INFO: Packet analysis {"connection_id":128469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:37:42] local.INFO: Extracted packet for processing {"connection_id":128469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:37:42] 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-07-11 09:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":128469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:37:42] local.INFO: GPS data processed {"connection_id":128469,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:37:42] local.INFO: Acknowledgment sent {"connection_id":128469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:38:04] local.INFO: TCP Data received {"connection_id":129182,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:38:04] local.INFO: Processing buffer {"connection_id":129182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:38:04] local.INFO: IMEI packet received {"connection_id":129182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":129182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:38:04] local.INFO: TCP Data received {"connection_id":130429,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:38:04] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:38:04] local.INFO: IMEI packet received {"connection_id":130429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":130429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:38:09] local.INFO: TCP Data received {"connection_id":130429,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:38:09] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:38:09] local.INFO: IMEI packet received {"connection_id":130429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":130429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:38:10] local.INFO: TCP Data received {"connection_id":130429,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:38:10] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:38:10] local.INFO: Packet analysis {"connection_id":130429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:38:10] local.INFO: Extracted packet for processing {"connection_id":130429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:38: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-07-11 09:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:38:10] 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-07-11 09:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:38:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":130429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:38:10] local.INFO: GPS data processed {"connection_id":130429,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:38:10] local.INFO: Acknowledgment sent {"connection_id":130429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:38:41] local.INFO: TCP Data received {"connection_id":130429,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:38:41] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:38:41] local.INFO: Packet analysis {"connection_id":130429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:38:41] local.INFO: Extracted packet for processing {"connection_id":130429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:38: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-07-11 09:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:38:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":130429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:38:41] local.INFO: GPS data processed {"connection_id":130429,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:38:41] local.INFO: Acknowledgment sent {"connection_id":130429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:38:46] local.INFO: TCP Data received {"connection_id":128285,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:38:46] local.INFO: Processing buffer {"connection_id":128285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:38:46] local.INFO: IMEI packet received {"connection_id":128285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":128285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:39:04] local.INFO: TCP Data received {"connection_id":129184,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:39:04] local.INFO: Processing buffer {"connection_id":129184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:39:04] local.INFO: IMEI packet received {"connection_id":129184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":129184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:39:10] local.INFO: TCP Data received {"connection_id":129184,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:39:10] local.INFO: Processing buffer {"connection_id":129184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:39:10] local.INFO: IMEI packet received {"connection_id":129184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":129184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:39:10] local.INFO: TCP Data received {"connection_id":129184,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:39:10] local.INFO: Processing buffer {"connection_id":129184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:39:10] local.INFO: Packet analysis {"connection_id":129184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:39:10] local.INFO: Extracted packet for processing {"connection_id":129184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:39: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-07-11 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:39:10] 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-07-11 09:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:39:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":129184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:39:10] local.INFO: GPS data processed {"connection_id":129184,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:39:10] local.INFO: Acknowledgment sent {"connection_id":129184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:39:41] local.INFO: TCP Data received {"connection_id":129184,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:39:41] local.INFO: Processing buffer {"connection_id":129184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f591510012cb29ac007823b28004700db26..."} 
[2026-07-11 09:39:41] local.INFO: Packet analysis {"connection_id":129184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:39:41] local.INFO: Extracted packet for processing {"connection_id":129184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f59"} 
[2026-07-11 09:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638045440001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742666000,"timestamp_ms":1783742666000,"timestamp_seconds":1783742666,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f591510"} 
[2026-07-11 09:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:39: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-07-11 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:39: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-07-11 09:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638045440001,"66":25419,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638045440001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:39:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638045440001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":129184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:39:41] local.INFO: GPS data processed {"connection_id":129184,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:39:41] local.INFO: Acknowledgment sent {"connection_id":129184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:40:09] local.INFO: TCP Data received {"connection_id":128471,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:40:09] local.INFO: Processing buffer {"connection_id":128471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:40:09] local.INFO: IMEI packet received {"connection_id":128471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":128471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:40:15] local.INFO: TCP Data received {"connection_id":128471,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:40:15] local.INFO: Processing buffer {"connection_id":128471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:40:15] local.INFO: IMEI packet received {"connection_id":128471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":128471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:40:16] local.INFO: TCP Data received {"connection_id":128471,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:40:16] local.INFO: Processing buffer {"connection_id":128471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:40:16] local.INFO: Packet analysis {"connection_id":128471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:40:16] local.INFO: Extracted packet for processing {"connection_id":128471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:40:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":128471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:40:16] local.INFO: GPS data processed {"connection_id":128471,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:40:16] local.INFO: Acknowledgment sent {"connection_id":128471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:40:22] local.INFO: TCP Data received {"connection_id":128472,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:40:22] local.INFO: Processing buffer {"connection_id":128472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:40:22] local.INFO: IMEI packet received {"connection_id":128472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":128472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:40:22] local.INFO: TCP Data received {"connection_id":128471,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:40:22] local.INFO: Processing buffer {"connection_id":128471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:40:22] local.INFO: Packet analysis {"connection_id":128471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:40:22] local.INFO: Extracted packet for processing {"connection_id":128471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:40:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:40:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:40:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":128471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:40:22] local.INFO: GPS data processed {"connection_id":128471,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:40:22] local.INFO: Acknowledgment sent {"connection_id":128471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:40:22] local.INFO: TCP Data received {"connection_id":128472,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5b2468012d7e304005d35720000700d82a..."} 
[2026-07-11 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5b2468012d7e304005d35720000700d82a..."} 
[2026-07-11 09:40:22] local.INFO: Processing buffer {"connection_id":128472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5b2468012d7e304005d35720000700d82a..."} 
[2026-07-11 09:40:22] local.INFO: Packet analysis {"connection_id":128472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:40:22] local.INFO: Extracted packet for processing {"connection_id":128472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:40:22] local.INFO: GPS Element Parsed {"raw_longitude":763244608,"raw_latitude":97736480,"longitude_deg":76.3244608,"latitude_deg":9.773648,"altitude":7,"angle":216,"satellites":42,"speed":7,"hex_longitude":"2d7e3040","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-07-11 09:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638156800001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104998167837147136,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658313728,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783742801000,"timestamp_ms":1783742801000,"timestamp_seconds":1783742801,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5b2468"} 
[2026-07-11 09:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:40:22] 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-07-11 09:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 09:40:22] 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-07-11 09:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638156800001,"66":12917,"109":206,"85":15104,"24":7,"16":104998167837147136,"45":9093049147658313728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 09:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638156800001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:40:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 09:40:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104998167837147136,"km_value":104998167837147.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658313728,"description":"Unknown IO ID 45"} 
[2026-07-11 09:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638156800001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9093049147658313728}} 
[2026-07-11 09:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":128472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:40:22] local.INFO: GPS data processed {"connection_id":128472,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:40:22] local.INFO: Acknowledgment sent {"connection_id":128472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:40:53] local.INFO: TCP Data received {"connection_id":128472,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5b2850012d7e300005d35688000700c02a..."} 
[2026-07-11 09:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5b2850012d7e300005d35688000700c02a..."} 
[2026-07-11 09:40:53] local.INFO: Processing buffer {"connection_id":128472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5b2850012d7e300005d35688000700c02a..."} 
[2026-07-11 09:40:53] local.INFO: Packet analysis {"connection_id":128472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:40:53] local.INFO: Extracted packet for processing {"connection_id":128472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:40:53] local.INFO: GPS Element Parsed {"raw_longitude":763244544,"raw_latitude":97736328,"longitude_deg":76.3244544,"latitude_deg":9.7736328,"altitude":7,"angle":192,"satellites":42,"speed":6,"hex_longitude":"2d7e3000","hex_latitude":"05d35688","is_valid_coordinates":true} 
[2026-07-11 09:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638157056001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104998176427081728,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041425747968,"note":"Value kept but may cause issues"} 
[2026-07-11 09:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783742802000,"timestamp_ms":1783742802000,"timestamp_seconds":1783742802,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5b2850"} 
[2026-07-11 09:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:40:53] 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-07-11 09:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 09:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638157056001,"66":12917,"109":206,"85":15104,"24":6,"16":104998176427081728,"45":9092838041425747968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 09:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638157056001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:40:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 09:40:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104998176427081728,"km_value":104998176427081.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041425747968,"description":"Unknown IO ID 45"} 
[2026-07-11 09:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638157056001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092838041425747968}} 
[2026-07-11 09:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":128472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:40:53] local.INFO: GPS data processed {"connection_id":128472,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:40:53] local.INFO: Acknowledgment sent {"connection_id":128472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:41:10] local.INFO: TCP Data received {"connection_id":130431,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:41:10] local.INFO: Processing buffer {"connection_id":130431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:41:10] local.INFO: IMEI packet received {"connection_id":130431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":130431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:41:14] local.INFO: TCP Data received {"connection_id":130431,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:41:14] local.INFO: Processing buffer {"connection_id":130431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:41:14] local.INFO: IMEI packet received {"connection_id":130431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":130431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:41:15] local.INFO: TCP Data received {"connection_id":130431,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:41:15] local.INFO: Processing buffer {"connection_id":130431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:41:15] local.INFO: Packet analysis {"connection_id":130431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:41:15] local.INFO: Extracted packet for processing {"connection_id":130431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:41:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":130431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:41:15] local.INFO: GPS data processed {"connection_id":130431,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:41:15] local.INFO: Acknowledgment sent {"connection_id":130431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:41:16] local.INFO: TCP Data received {"connection_id":128473,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:41:16] local.INFO: Processing buffer {"connection_id":128473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:41:16] local.INFO: IMEI packet received {"connection_id":128473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":128473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:41:20] local.INFO: TCP Data received {"connection_id":130431,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:41:20] local.INFO: Processing buffer {"connection_id":130431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:41:20] local.INFO: Packet analysis {"connection_id":130431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:41:20] local.INFO: Extracted packet for processing {"connection_id":130431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:41:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":130431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:41:20] local.INFO: GPS data processed {"connection_id":130431,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:41:20] local.INFO: Acknowledgment sent {"connection_id":130431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:41:20] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:41:20] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:41:20] local.INFO: IMEI packet received {"connection_id":128474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":128474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:41:21] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:41:21] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:41:21] local.INFO: IMEI packet received {"connection_id":128474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":128474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:41:22] local.INFO: TCP Data received {"connection_id":128473,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:41:22] local.INFO: Processing buffer {"connection_id":128473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:41:22] local.INFO: IMEI packet received {"connection_id":128473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":128473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:41:22] local.INFO: TCP Data received {"connection_id":128473,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5b2c38012d7e300005d355f8000700b12a..."} 
[2026-07-11 09:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5b2c38012d7e300005d355f8000700b12a..."} 
[2026-07-11 09:41:22] local.INFO: Processing buffer {"connection_id":128473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5b2c38012d7e300005d355f8000700b12a..."} 
[2026-07-11 09:41:22] local.INFO: Packet analysis {"connection_id":128473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:41:22] local.INFO: Extracted packet for processing {"connection_id":128473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763244544,"raw_latitude":97736184,"longitude_deg":76.3244544,"latitude_deg":9.7736184,"altitude":7,"angle":177,"satellites":42,"speed":5,"hex_longitude":"2d7e3000","hex_latitude":"05d355f8","is_valid_coordinates":true} 
[2026-07-11 09:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638157312001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104998185017016320,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681531392,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783742803000,"timestamp_ms":1783742803000,"timestamp_seconds":1783742803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5b2c38"} 
[2026-07-11 09:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:41:22] 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-07-11 09:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 09:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638157312001,"66":13080,"109":206,"85":15104,"24":5,"16":104998185017016320,"45":9092767672681531392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 09:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638157312001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:41:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 09:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104998185017016320,"km_value":104998185017016.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681531392,"description":"Unknown IO ID 45"} 
[2026-07-11 09:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638157312001,"power":13080,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9092767672681531392}} 
[2026-07-11 09:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":128473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:41:22] local.INFO: GPS data processed {"connection_id":128473,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:41:22] local.INFO: Acknowledgment sent {"connection_id":128473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:41:25] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:41:25] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:41:25] local.INFO: IMEI packet received {"connection_id":128474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":128474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:41:26] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-11 09:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-11 09:41:26] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-11 09:41:26] local.INFO: Packet analysis {"connection_id":128474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-11 09:41:26] local.INFO: Extracted packet for processing {"connection_id":128474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-11 09:41:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 09:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:26] 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-07-11 09:41:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:41:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 09:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":128474,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 09:41:26] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 09:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":128474,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 09:41:26] local.ERROR: GPS data processing failed {"connection_id":128474,"error":"No valid data to process"} 
[2026-07-11 09:41:26] local.INFO: Acknowledgment sent {"connection_id":128474,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 09:41:53] local.INFO: TCP Data received {"connection_id":128473,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5b7a58012d7e2f4005d35890000500b129..."} 
[2026-07-11 09:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5b7a58012d7e2f4005d35890000500b129..."} 
[2026-07-11 09:41:53] local.INFO: Processing buffer {"connection_id":128473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5b7a58012d7e2f4005d35890000500b129..."} 
[2026-07-11 09:41:53] local.INFO: Packet analysis {"connection_id":128473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:41:53] local.INFO: Extracted packet for processing {"connection_id":128473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:41:53] local.INFO: GPS Element Parsed {"raw_longitude":763244352,"raw_latitude":97736848,"longitude_deg":76.3244352,"latitude_deg":9.7736848,"altitude":5,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d7e2f40","hex_latitude":"05d35890","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638157568001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104998245146558464,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681494528,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783742823000,"timestamp_ms":1783742823000,"timestamp_seconds":1783742823,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5b7a58"} 
[2026-07-11 09:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:41:53] 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-07-11 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-11 09:41:53] 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-07-11 09: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-07-11 09:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638157568001,"66":13015,"109":206,"85":15104,"24":0,"16":104998245146558464,"45":9092767672681494528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 09:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638157568001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:41:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 09:41:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104998245146558464,"km_value":104998245146558.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681494528,"description":"Unknown IO ID 45"} 
[2026-07-11 09:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638157568001,"power":13015,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9092767672681494528}} 
[2026-07-11 09:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":128473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:41:54] local.INFO: GPS data processed {"connection_id":128473,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:41:54] local.INFO: Acknowledgment sent {"connection_id":128473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:41:58] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-11 09:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-11 09:41:58] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-11 09:41:58] local.INFO: Packet analysis {"connection_id":128474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 09:41:58] local.INFO: Extracted packet for processing {"connection_id":128474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 09:41:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 09:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:41:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 09:41:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:41:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 09:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":128474,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 09:41:58] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 09:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":128474,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 09:41:58] local.ERROR: GPS data processing failed {"connection_id":128474,"error":"No valid data to process"} 
[2026-07-11 09:41:58] local.INFO: Acknowledgment sent {"connection_id":128474,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 09:42:06] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:42:06] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:42:06] local.INFO: IMEI packet received {"connection_id":130432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":130432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:42:09] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:42:09] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:42:09] local.INFO: IMEI packet received {"connection_id":130432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":130432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:42:10] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:42:10] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:42:10] local.INFO: Packet analysis {"connection_id":130432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:42:10] local.INFO: Extracted packet for processing {"connection_id":130432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:42: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-07-11 09:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:42:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":130432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:42:10] local.INFO: GPS data processed {"connection_id":130432,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:42:10] local.INFO: Acknowledgment sent {"connection_id":130432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:42:15] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:42:15] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:42:15] local.INFO: Packet analysis {"connection_id":130432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:42:15] local.INFO: Extracted packet for processing {"connection_id":130432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:42:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:42:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":130432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:42:15] local.INFO: GPS data processed {"connection_id":130432,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:42:15] local.INFO: Acknowledgment sent {"connection_id":130432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:42:22] local.INFO: TCP Data received {"connection_id":129186,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:42:22] local.INFO: Processing buffer {"connection_id":129186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:42:22] local.INFO: IMEI packet received {"connection_id":129186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":129186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:42:27] local.INFO: TCP Data received {"connection_id":129186,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:42:27] local.INFO: Processing buffer {"connection_id":129186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:42:27] local.INFO: IMEI packet received {"connection_id":129186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":129186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:42:27] local.INFO: TCP Data received {"connection_id":129186,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5b89f8012d7e310005d358f80005004a29..."} 
[2026-07-11 09:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5b89f8012d7e310005d358f80005004a29..."} 
[2026-07-11 09:42:27] local.INFO: Processing buffer {"connection_id":129186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5b89f8012d7e310005d358f80005004a29..."} 
[2026-07-11 09:42:27] local.INFO: Packet analysis {"connection_id":129186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:42:27] local.INFO: Extracted packet for processing {"connection_id":129186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":97736952,"longitude_deg":76.32448,"latitude_deg":9.7736952,"altitude":5,"angle":74,"satellites":41,"speed":7,"hex_longitude":"2d7e3100","hex_latitude":"05d358f8","is_valid_coordinates":true} 
[2026-07-11 09:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638162688001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104998270916362240,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092556566449131520,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783742827000,"timestamp_ms":1783742827000,"timestamp_seconds":1783742827,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5b89f8"} 
[2026-07-11 09:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 09:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":129186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":129186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":129186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638162688001,"66":13374,"109":206,"85":15104,"24":7,"16":104998270916362240,"45":9092556566449131520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 09:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638162688001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:42:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 09:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104998270916362240,"km_value":104998270916362.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092556566449131520,"description":"Unknown IO ID 45"} 
[2026-07-11 09:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638162688001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092556566449131520}} 
[2026-07-11 09:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":129186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:42:27] local.INFO: GPS data processed {"connection_id":129186,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:42:27] local.INFO: Acknowledgment sent {"connection_id":129186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:42:29] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-11 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-11 09:42:29] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-11 09:42:29] local.INFO: Packet analysis {"connection_id":128474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 09:42:29] local.INFO: Extracted packet for processing {"connection_id":128474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 09:42:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 09:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 09:42:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:42:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 09:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":128474,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 09:42:29] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 09:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":128474,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 09:42:29] local.ERROR: GPS data processing failed {"connection_id":128474,"error":"No valid data to process"} 
[2026-07-11 09:42:29] local.INFO: Acknowledgment sent {"connection_id":128474,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 09:42:32] local.INFO: TCP Data received {"connection_id":129186,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5b9d80012d7e34c005d359d80005005729..."} 
[2026-07-11 09:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5b9d80012d7e34c005d359d80005005729..."} 
[2026-07-11 09:42:32] local.INFO: Processing buffer {"connection_id":129186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5b9d80012d7e34c005d359d80005005729..."} 
[2026-07-11 09:42:32] local.INFO: Packet analysis {"connection_id":129186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:42:32] local.INFO: Extracted packet for processing {"connection_id":129186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5b"} 
[2026-07-11 09:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97737176,"longitude_deg":76.324576,"latitude_deg":9.7737176,"altitude":5,"angle":87,"satellites":41,"speed":7,"hex_longitude":"2d7e34c0","hex_latitude":"05d359d8","is_valid_coordinates":true} 
[2026-07-11 09:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638163712001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104998318161002496,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658401792,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783742832000,"timestamp_ms":1783742832000,"timestamp_seconds":1783742832,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5b9d80"} 
[2026-07-11 09:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:42:32] 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-07-11 09:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 09:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":129186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":129186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":129186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638163712001,"66":13450,"109":206,"85":15104,"24":7,"16":104998318161002496,"45":9093049147658401792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 09:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638163712001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:42:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 09:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104998318161002496,"km_value":104998318161002.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658401792,"description":"Unknown IO ID 45"} 
[2026-07-11 09:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638163712001,"power":13450,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9093049147658401792}} 
[2026-07-11 09:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":129186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:42:32] local.INFO: GPS data processed {"connection_id":129186,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:42:32] local.INFO: Acknowledgment sent {"connection_id":129186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:42:46] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:42:46] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:42:46] local.INFO: Packet analysis {"connection_id":130432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:42:46] local.INFO: Extracted packet for processing {"connection_id":130432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:42:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:42: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-07-11 09:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:42:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:42:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":130432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:42:46] local.INFO: GPS data processed {"connection_id":130432,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:42:46] local.INFO: Acknowledgment sent {"connection_id":130432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:43:00] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-11 09:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-11 09:43:00] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-11 09:43:00] local.INFO: Packet analysis {"connection_id":128474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 09:43:00] local.INFO: Extracted packet for processing {"connection_id":128474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 09:43: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-07-11 09: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-07-11 09:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:43:00] 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-07-11 09:43:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:43:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 09:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128474,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 09:43:00] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 09:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":128474,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 09:43:00] local.ERROR: GPS data processing failed {"connection_id":128474,"error":"No valid data to process"} 
[2026-07-11 09:43:00] local.INFO: Acknowledgment sent {"connection_id":128474,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 09:43:05] local.INFO: TCP Data received {"connection_id":128287,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:43:05] local.INFO: Processing buffer {"connection_id":128287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:43:05] local.INFO: IMEI packet received {"connection_id":128287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":128287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:43:11] local.INFO: TCP Data received {"connection_id":128287,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:43:11] local.INFO: Processing buffer {"connection_id":128287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:43:11] local.INFO: IMEI packet received {"connection_id":128287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":128287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:43:12] local.INFO: TCP Data received {"connection_id":128287,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:43:12] local.INFO: Processing buffer {"connection_id":128287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:43:12] local.INFO: Packet analysis {"connection_id":128287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:43:12] local.INFO: Extracted packet for processing {"connection_id":128287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:43:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":128287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:43:12] local.INFO: GPS data processed {"connection_id":128287,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:43:12] local.INFO: Acknowledgment sent {"connection_id":128287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:43:31] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-11 09:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-11 09:43:31] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-11 09:43:31] local.INFO: Packet analysis {"connection_id":128474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-11 09:43:31] local.INFO: Extracted packet for processing {"connection_id":128474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-11 09:43:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 09:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:43:31] 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-07-11 09:43:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:43:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 09:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":128474,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 09:43:31] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 09:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":128474,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 09:43:31] local.ERROR: GPS data processing failed {"connection_id":128474,"error":"No valid data to process"} 
[2026-07-11 09:43:31] local.INFO: Acknowledgment sent {"connection_id":128474,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 09:43:43] local.INFO: TCP Data received {"connection_id":128287,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:43:43] local.INFO: Processing buffer {"connection_id":128287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:43:43] local.INFO: Packet analysis {"connection_id":128287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:43:43] local.INFO: Extracted packet for processing {"connection_id":128287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:43:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:43:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:43:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":128287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:43:43] local.INFO: GPS data processed {"connection_id":128287,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:43:43] local.INFO: Acknowledgment sent {"connection_id":128287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:44:02] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-11 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-11 09:44:02] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-11 09:44:02] local.INFO: Packet analysis {"connection_id":128474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-11 09:44:02] local.INFO: Extracted packet for processing {"connection_id":128474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-11 09:44:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 09:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:44:02] 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-07-11 09:44:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153000,"timestamp_seconds":153,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:44:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 09:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128474,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 09:44:02] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 09:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":128474,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 09:44:02] local.ERROR: GPS data processing failed {"connection_id":128474,"error":"No valid data to process"} 
[2026-07-11 09:44:02] local.INFO: Acknowledgment sent {"connection_id":128474,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 09:44:04] local.INFO: TCP Data received {"connection_id":129188,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:44:04] local.INFO: Processing buffer {"connection_id":129188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:44:04] local.INFO: IMEI packet received {"connection_id":129188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":129188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:44:09] local.INFO: TCP Data received {"connection_id":129188,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:44:09] local.INFO: Processing buffer {"connection_id":129188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:44:09] local.INFO: IMEI packet received {"connection_id":129188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":129188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:44:10] local.INFO: TCP Data received {"connection_id":129188,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:44:10] local.INFO: Processing buffer {"connection_id":129188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:44:10] local.INFO: Packet analysis {"connection_id":129188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:44:10] local.INFO: Extracted packet for processing {"connection_id":129188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:44: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-07-11 09: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":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:44:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":129188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:44:10] local.INFO: GPS data processed {"connection_id":129188,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:44:10] local.INFO: Acknowledgment sent {"connection_id":129188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:44:11] local.INFO: TCP Data received {"connection_id":128475,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:44:11] local.INFO: Processing buffer {"connection_id":128475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:44:11] local.INFO: IMEI packet received {"connection_id":128475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":128475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:44:33] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-07-11 09:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-07-11 09:44:33] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-07-11 09:44:33] local.INFO: Packet analysis {"connection_id":128474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-11 09:44:33] local.INFO: Extracted packet for processing {"connection_id":128474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-11 09:44:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 09:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:44:33] 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-07-11 09:44:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":174000,"timestamp_seconds":174,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:44:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 09:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":128474,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 09:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 09:44:33] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 09:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":128474,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 09:44:33] local.ERROR: GPS data processing failed {"connection_id":128474,"error":"No valid data to process"} 
[2026-07-11 09:44:33] local.INFO: Acknowledgment sent {"connection_id":128474,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 09:44:41] local.INFO: TCP Data received {"connection_id":129188,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:44:41] local.INFO: Processing buffer {"connection_id":129188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f5dacd8012cb29ac007823b28004700db28..."} 
[2026-07-11 09:44:41] local.INFO: Packet analysis {"connection_id":129188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:44:41] local.INFO: Extracted packet for processing {"connection_id":129188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f5d"} 
[2026-07-11 09:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638122496001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783742967000,"timestamp_ms":1783742967000,"timestamp_seconds":1783742967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f5dacd8"} 
[2026-07-11 09:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:44: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-07-11 09:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 09:44: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-07-11 09:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638122496001,"66":25441,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638122496001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:44:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638122496001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":129188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:44:41] local.INFO: GPS data processed {"connection_id":129188,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:44:41] local.INFO: Acknowledgment sent {"connection_id":129188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:44:46] local.INFO: TCP Data received {"connection_id":128288,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:44:46] local.INFO: Processing buffer {"connection_id":128288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:44:46] local.INFO: IMEI packet received {"connection_id":128288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":128288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:45:04] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f61a8600100000000000000000000000000..."} 
[2026-07-11 09:45:04] local.INFO: TCP Data received {"connection_id":130433,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f61a8600100000000000000000000000000..."} 
[2026-07-11 09:45:04] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f61a8600100000000000000000000000000..."} 
[2026-07-11 09:45:04] local.INFO: Packet analysis {"connection_id":128474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f61"} 
[2026-07-11 09:45:04] local.INFO: Extracted packet for processing {"connection_id":128474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f61"} 
[2026-07-11 09:45:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:45:04] 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-07-11 09:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783743228000,"timestamp_ms":1783743228000,"timestamp_seconds":1783743228,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f61a860"} 
[2026-07-11 09:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 09:45:04] 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-07-11 09: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-07-11 09:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:45:04] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:45:04] local.INFO: IMEI packet received {"connection_id":130433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":130433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":128474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":128474,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 09:45:04] local.INFO: GPS data processed {"connection_id":128474,"processed":0,"errors":0,"total":1} 
[2026-07-11 09:45:04] local.INFO: Acknowledgment sent {"connection_id":128474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:45:05] local.INFO: TCP Data received {"connection_id":130433,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:45:05] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:45:05] local.INFO: IMEI packet received {"connection_id":130433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":130433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:45:10] local.INFO: TCP Data received {"connection_id":130433,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:45:10] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:45:10] local.INFO: IMEI packet received {"connection_id":130433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":130433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:45:10] local.INFO: TCP Data received {"connection_id":130433,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:45:10] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:45:10] local.INFO: Packet analysis {"connection_id":130433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:45:10] local.INFO: Extracted packet for processing {"connection_id":130433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:45:10] 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-07-11 09:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:45:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":130433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:45:10] local.INFO: GPS data processed {"connection_id":130433,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:45:10] local.INFO: Acknowledgment sent {"connection_id":130433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:45:36] local.INFO: TCP Data received {"connection_id":128474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f61fa680100000000000000000000000000..."} 
[2026-07-11 09:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f61fa680100000000000000000000000000..."} 
[2026-07-11 09:45:36] local.INFO: Processing buffer {"connection_id":128474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f61fa680100000000000000000000000000..."} 
[2026-07-11 09:45:36] local.INFO: Packet analysis {"connection_id":128474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f61"} 
[2026-07-11 09:45:36] local.INFO: Extracted packet for processing {"connection_id":128474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f61"} 
[2026-07-11 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 09:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:45:36] 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-07-11 09:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783743249000,"timestamp_ms":1783743249000,"timestamp_seconds":1783743249,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f61fa68"} 
[2026-07-11 09:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 09:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":128474,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 09:45:36] local.INFO: GPS data processed {"connection_id":128474,"processed":0,"errors":0,"total":1} 
[2026-07-11 09:45:36] local.INFO: Acknowledgment sent {"connection_id":128474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:45:41] local.INFO: TCP Data received {"connection_id":130433,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:45:41] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:45:41] local.INFO: Packet analysis {"connection_id":130433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:45:41] local.INFO: Extracted packet for processing {"connection_id":130433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:45: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-07-11 09:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:45:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":130433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:45:41] local.INFO: GPS data processed {"connection_id":130433,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:45:41] local.INFO: Acknowledgment sent {"connection_id":130433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:46:00] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:46:00] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:46:00] local.INFO: IMEI packet received {"connection_id":130434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":130434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:46:05] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:46:05] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:46:05] local.INFO: IMEI packet received {"connection_id":130435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":130435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:46:06] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:46:06] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:46:06] local.INFO: IMEI packet received {"connection_id":130434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":130434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:46:07] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f624c700100000000000000000000000000..."} 
[2026-07-11 09:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f624c700100000000000000000000000000..."} 
[2026-07-11 09:46:07] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f624c700100000000000000000000000000..."} 
[2026-07-11 09:46:07] local.INFO: Packet analysis {"connection_id":130434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:46:07] local.INFO: Extracted packet for processing {"connection_id":130434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5528911400140800,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:07] 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-07-11 09:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783743270000,"timestamp_ms":1783743270000,"timestamp_seconds":1783743270,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f624c70"} 
[2026-07-11 09:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 09:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219712,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-11 09:46:07] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2550202368,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485688,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:07] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2760114176,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:07] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,101,83,24,241,157,16,164,159,168,10,66,167,85,1,240,5,227,4,113,205,177,239,2,55,19],"length":479,"final_offset":609,"validated_count":26,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-11 09:46:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":130434,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 09:46:07] local.INFO: GPS data processed {"connection_id":130434,"processed":0,"errors":0,"total":1} 
[2026-07-11 09:46:07] local.INFO: Acknowledgment sent {"connection_id":130434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:46:09] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:46:09] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:46:09] local.INFO: IMEI packet received {"connection_id":130435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":130435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:46:10] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:46:10] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:46:10] local.INFO: Packet analysis {"connection_id":130435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:46:10] local.INFO: Extracted packet for processing {"connection_id":130435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:46:10] 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-07-11 09:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:46:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":130435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:46:10] local.INFO: GPS data processed {"connection_id":130435,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:46:10] local.INFO: Acknowledgment sent {"connection_id":130435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:46:37] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6409c0012d1a2fc0071f6390004000c80b..."} 
[2026-07-11 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6409c0012d1a2fc0071f6390004000c80b..."} 
[2026-07-11 09:46:37] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6409c0012d1a2fc0071f6390004000c80b..."} 
[2026-07-11 09:46:37] local.INFO: Packet analysis {"connection_id":130434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f64"} 
[2026-07-11 09:46:37] local.INFO: Extracted packet for processing {"connection_id":130434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f64"} 
[2026-07-11 09:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756690880,"raw_latitude":119497616,"longitude_deg":75.669088,"latitude_deg":11.9497616,"altitude":64,"angle":200,"satellites":11,"speed":8,"hex_longitude":"2d1a2fc0","hex_latitude":"071f6390","is_valid_coordinates":true} 
[2026-07-11 09:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638306048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5529083198832640,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886937905715492864,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783743384000,"timestamp_ms":1783743384000,"timestamp_seconds":1783743384,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6409c0"} 
[2026-07-11 09:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 09:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638306048001,"66":14211,"101":206,"83":41984,"24":8,"16":5529083198832640,"45":1886937905715492864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638306048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:46:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5529083198832640,"km_value":5529083198832.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886937905715492864,"description":"Unknown IO ID 45"} 
[2026-07-11 09:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638306048001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1886937905715492864}} 
[2026-07-11 09:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":130434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:46:37] local.INFO: GPS data processed {"connection_id":130434,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:46:37] local.INFO: Acknowledgment sent {"connection_id":130434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:46:41] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:46:41] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:46:41] local.INFO: Packet analysis {"connection_id":130435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:46:41] local.INFO: Extracted packet for processing {"connection_id":130435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:46: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-07-11 09:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:46:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":130435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:46:41] local.INFO: GPS data processed {"connection_id":130435,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:46:41] local.INFO: Acknowledgment sent {"connection_id":130435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:47:05] local.INFO: TCP Data received {"connection_id":128476,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:47:05] local.INFO: Processing buffer {"connection_id":128476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:47:05] local.INFO: IMEI packet received {"connection_id":128476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:47:08] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f642ce8012d1a2dc0071f5dc8004000db0b..."} 
[2026-07-11 09:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f642ce8012d1a2dc0071f5dc8004000db0b..."} 
[2026-07-11 09:47:08] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f642ce8012d1a2dc0071f5dc8004000db0b..."} 
[2026-07-11 09:47:08] local.INFO: Packet analysis {"connection_id":130434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f64"} 
[2026-07-11 09:47:08] local.INFO: Extracted packet for processing {"connection_id":130434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f64"} 
[2026-07-11 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756690368,"raw_latitude":119496136,"longitude_deg":75.6690368,"latitude_deg":11.9496136,"altitude":64,"angle":219,"satellites":11,"speed":5,"hex_longitude":"2d1a2dc0","hex_latitude":"071f5dc8","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638306304001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5529164803211264,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886937905715449856,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783743393000,"timestamp_ms":1783743393000,"timestamp_seconds":1783743393,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f642ce8"} 
[2026-07-11 09:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 09:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09: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-07-11 09:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638306304001,"66":14233,"101":206,"83":41984,"24":5,"16":5529164803211264,"45":1886937905715449856},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638306304001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:47:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5529164803211264,"km_value":5529164803211.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886937905715449856,"description":"Unknown IO ID 45"} 
[2026-07-11 09:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638306304001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1886937905715449856}} 
[2026-07-11 09:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":130434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:47:08] local.INFO: GPS data processed {"connection_id":130434,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:47:08] local.INFO: Acknowledgment sent {"connection_id":130434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:47:10] local.INFO: TCP Data received {"connection_id":128476,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:47:10] local.INFO: Processing buffer {"connection_id":128476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:47:10] local.INFO: IMEI packet received {"connection_id":128476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":128476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:47:10] local.INFO: TCP Data received {"connection_id":128476,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:47:10] local.INFO: Processing buffer {"connection_id":128476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:47:10] local.INFO: Packet analysis {"connection_id":128476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:47:10] local.INFO: Extracted packet for processing {"connection_id":128476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:47:10] 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-07-11 09:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:47:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":128476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:47:10] local.INFO: GPS data processed {"connection_id":128476,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:47:10] local.INFO: Acknowledgment sent {"connection_id":128476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:47:40] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6503c0012d1a6d40071f3820001e006c0b..."} 
[2026-07-11 09:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6503c0012d1a6d40071f3820001e006c0b..."} 
[2026-07-11 09:47:40] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6503c0012d1a6d40071f3820001e006c0b..."} 
[2026-07-11 09:47:40] local.INFO: Packet analysis {"connection_id":130434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f65"} 
[2026-07-11 09:47:40] local.INFO: Extracted packet for processing {"connection_id":130434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f65"} 
[2026-07-11 09:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756706624,"raw_latitude":119486496,"longitude_deg":75.6706624,"latitude_deg":11.9486496,"altitude":30,"angle":108,"satellites":11,"speed":18,"hex_longitude":"2d1a6d40","hex_latitude":"071f3820","is_valid_coordinates":true} 
[2026-07-11 09:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638322176001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5530272904773632,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903122716873533440,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783743448000,"timestamp_ms":1783743448000,"timestamp_seconds":1783743448,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6503c0"} 
[2026-07-11 09:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 09:47:40] 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-07-11 09:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638322176001,"66":14363,"101":206,"83":41984,"24":18,"16":5530272904773632,"45":1903122716873533440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638322176001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:47:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:47:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5530272904773632,"km_value":5530272904773.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903122716873533440,"description":"Unknown IO ID 45"} 
[2026-07-11 09:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638322176001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1903122716873533440}} 
[2026-07-11 09:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":130434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:47:40] local.INFO: GPS data processed {"connection_id":130434,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:47:40] local.INFO: Acknowledgment sent {"connection_id":130434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:47:41] local.INFO: TCP Data received {"connection_id":128476,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:47:41] local.INFO: Processing buffer {"connection_id":128476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:47:41] local.INFO: Packet analysis {"connection_id":128476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:47:41] local.INFO: Extracted packet for processing {"connection_id":128476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:47: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-07-11 09:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:47:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":128476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:47:41] local.INFO: GPS data processed {"connection_id":128476,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:47:41] local.INFO: Acknowledgment sent {"connection_id":128476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:48:05] local.INFO: TCP Data received {"connection_id":130436,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:48:05] local.INFO: Processing buffer {"connection_id":130436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:48:05] local.INFO: IMEI packet received {"connection_id":130436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":130436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:48:10] local.INFO: TCP Data received {"connection_id":130436,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:48:10] local.INFO: Processing buffer {"connection_id":130436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:48:10] local.INFO: IMEI packet received {"connection_id":130436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":130436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:48:10] local.INFO: TCP Data received {"connection_id":128292,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:48:10] local.INFO: Processing buffer {"connection_id":128292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:48:10] local.INFO: IMEI packet received {"connection_id":128292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":128292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:48:10] local.INFO: TCP Data received {"connection_id":130436,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:48:10] local.INFO: Processing buffer {"connection_id":130436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:48:10] local.INFO: Packet analysis {"connection_id":130436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:48:10] local.INFO: Extracted packet for processing {"connection_id":130436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:48:10] 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-07-11 09:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:48:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":130436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:48:10] local.INFO: GPS data processed {"connection_id":130436,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:48:10] local.INFO: Acknowledgment sent {"connection_id":130436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:48:11] local.INFO: TCP Data received {"connection_id":128292,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:48:11] local.INFO: Processing buffer {"connection_id":128292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:48:11] local.INFO: IMEI packet received {"connection_id":128292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":128292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:48:12] local.INFO: TCP Data received {"connection_id":128292,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f650f78012d1a73c0071f37c0001c00600b..."} 
[2026-07-11 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f650f78012d1a73c0071f37c0001c00600b..."} 
[2026-07-11 09:48:12] local.INFO: Processing buffer {"connection_id":128292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f650f78012d1a73c0071f37c0001c00600b..."} 
[2026-07-11 09:48:12] local.INFO: Packet analysis {"connection_id":128292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f65"} 
[2026-07-11 09:48:12] local.INFO: Extracted packet for processing {"connection_id":128292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f65"} 
[2026-07-11 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756708288,"raw_latitude":119486400,"longitude_deg":75.6708288,"latitude_deg":11.94864,"altitude":28,"angle":96,"satellites":11,"speed":19,"hex_longitude":"2d1a73c0","hex_latitude":"071f37c0","is_valid_coordinates":true} 
[2026-07-11 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638322688001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5530354509152256,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904248616780308480,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783743451000,"timestamp_ms":1783743451000,"timestamp_seconds":1783743451,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f650f78"} 
[2026-07-11 09:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 09:48:12] 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-07-11 09:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638322688001,"66":14396,"101":206,"83":41984,"24":19,"16":5530354509152256,"45":1904248616780308480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638322688001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:48:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5530354509152256,"km_value":5530354509152.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904248616780308480,"description":"Unknown IO ID 45"} 
[2026-07-11 09:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638322688001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1904248616780308480}} 
[2026-07-11 09:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":128292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:48:12] local.INFO: GPS data processed {"connection_id":128292,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:48:12] local.INFO: Acknowledgment sent {"connection_id":128292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:48:13] local.INFO: TCP Data received {"connection_id":128292,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f651b30012d1a7980071f3700001a006e0b..."} 
[2026-07-11 09:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f651b30012d1a7980071f3700001a006e0b..."} 
[2026-07-11 09:48:13] local.INFO: Processing buffer {"connection_id":128292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f651b30012d1a7980071f3700001a006e0b..."} 
[2026-07-11 09:48:13] local.INFO: Packet analysis {"connection_id":128292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f65"} 
[2026-07-11 09:48:13] local.INFO: Extracted packet for processing {"connection_id":128292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f65"} 
[2026-07-11 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756709760,"raw_latitude":119486208,"longitude_deg":75.670976,"latitude_deg":11.9486208,"altitude":26,"angle":110,"satellites":11,"speed":17,"hex_longitude":"2d1a7980","hex_latitude":"071f3700","is_valid_coordinates":true} 
[2026-07-11 09:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638323456001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5530423228628992,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906078204128903168,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783743454000,"timestamp_ms":1783743454000,"timestamp_seconds":1783743454,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f651b30"} 
[2026-07-11 09:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 09:48:13] 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-07-11 09:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638323456001,"66":14298,"101":206,"83":41984,"24":17,"16":5530423228628992,"45":1906078204128903168},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638323456001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:48:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5530423228628992,"km_value":5530423228628.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906078204128903168,"description":"Unknown IO ID 45"} 
[2026-07-11 09:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638323456001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1906078204128903168}} 
[2026-07-11 09:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":128292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:48:13] local.INFO: GPS data processed {"connection_id":128292,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:48:13] local.INFO: Acknowledgment sent {"connection_id":128292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:48:41] local.INFO: TCP Data received {"connection_id":130436,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:48:41] local.INFO: Processing buffer {"connection_id":130436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:48:41] local.INFO: Packet analysis {"connection_id":130436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:48:41] local.INFO: Extracted packet for processing {"connection_id":130436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:48: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-07-11 09:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:48:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":130436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:48:41] local.INFO: GPS data processed {"connection_id":130436,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:48:41] local.INFO: Acknowledgment sent {"connection_id":130436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:48:44] local.INFO: TCP Data received {"connection_id":128292,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f65f5f0012d1ab480071f4960001101650b..."} 
[2026-07-11 09:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f65f5f0012d1ab480071f4960001101650b..."} 
[2026-07-11 09:48:44] local.INFO: Processing buffer {"connection_id":128292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f65f5f0012d1ab480071f4960001101650b..."} 
[2026-07-11 09:48:44] local.INFO: Packet analysis {"connection_id":128292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f65"} 
[2026-07-11 09:48:44] local.INFO: Extracted packet for processing {"connection_id":128292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f65"} 
[2026-07-11 09:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756724864,"raw_latitude":119490912,"longitude_deg":75.6724864,"latitude_deg":11.9490912,"altitude":17,"angle":357,"satellites":11,"speed":20,"hex_longitude":"2d1ab480","hex_latitude":"071f4960","is_valid_coordinates":true} 
[2026-07-11 09:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638336256001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5531466905681920,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924937027568793600,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783743510000,"timestamp_ms":1783743510000,"timestamp_seconds":1783743510,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f65f5f0"} 
[2026-07-11 09:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":63489,"corrected_to":0} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3699707184086059776,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2794782720,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.WARNING: Large IO value detected {"io_id":101,"raw_value":8995941548904218631,"note":"Value kept but may cause issues"} 
[2026-07-11 09:48:44] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,166,159,202,45,64,56,10,11,66,195,54,191,192,1,240,185,227,79,31,4,113,205,9,183,239,2,19,7,15,38,101],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":202,"original":63489,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-11 09:48:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937125902226751488,"timestamp_seconds":937125902226751.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638336256001,"66":14298,"106":206,"83":41984,"24":20,"16":5531466905681920,"45":1924937027568793600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 09:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638336256001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:48:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 09:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5531466905681920,"km_value":5531466905681.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924937027568793600,"description":"Unknown IO ID 45"} 
[2026-07-11 09:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638336256001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1924937027568793600}} 
[2026-07-11 09:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":128292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:48:44] local.INFO: GPS data processed {"connection_id":128292,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:48:44] local.INFO: Acknowledgment sent {"connection_id":128292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:49:00] local.INFO: TCP Data received {"connection_id":129190,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:49:00] local.INFO: Processing buffer {"connection_id":129190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:49:00] local.INFO: IMEI packet received {"connection_id":129190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":129190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:49:01] local.INFO: TCP Data received {"connection_id":129190,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:49:01] local.INFO: Processing buffer {"connection_id":129190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:49:01] local.INFO: IMEI packet received {"connection_id":129190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":129190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:49:03] local.INFO: TCP Data received {"connection_id":129190,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:49:03] local.INFO: Processing buffer {"connection_id":129190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:49:03] local.INFO: IMEI packet received {"connection_id":129190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":129190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:49:04] local.INFO: TCP Data received {"connection_id":129190,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f661918012d1ab800071f66a8001400080b..."} 
[2026-07-11 09:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f661918012d1ab800071f66a8001400080b..."} 
[2026-07-11 09:49:04] local.INFO: Processing buffer {"connection_id":129190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f661918012d1ab800071f66a8001400080b..."} 
[2026-07-11 09:49:04] local.INFO: Packet analysis {"connection_id":129190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:49:04] local.INFO: Extracted packet for processing {"connection_id":129190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756725760,"raw_latitude":119498408,"longitude_deg":75.672576,"latitude_deg":11.9498408,"altitude":20,"angle":8,"satellites":11,"speed":40,"hex_longitude":"2d1ab800","hex_latitude":"071f66a8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 09:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638338560001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5531831977902080,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924303708872073216,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783743519000,"timestamp_ms":1783743519000,"timestamp_seconds":1783743519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f661918"} 
[2026-07-11 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-07-11 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 09:49:04] 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-07-11 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-07-11 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-07-11 09:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":129190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":129190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":129190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638338560001,"66":14265,"101":206,"83":41984,"24":40,"16":5531831977902080,"45":1924303708872073216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638338560001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:49:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5531831977902080,"km_value":5531831977902.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924303708872073216,"description":"Unknown IO ID 45"} 
[2026-07-11 09:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638338560001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1924303708872073216}} 
[2026-07-11 09:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":129190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:49:04] local.INFO: GPS data processed {"connection_id":129190,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:49:04] local.INFO: Acknowledgment sent {"connection_id":129190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:49:04] local.INFO: TCP Data received {"connection_id":129191,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:49:04] local.INFO: Processing buffer {"connection_id":129191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:49:04] local.INFO: IMEI packet received {"connection_id":129191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":129191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:49:10] local.INFO: TCP Data received {"connection_id":129191,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:49:10] local.INFO: Processing buffer {"connection_id":129191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:49:10] local.INFO: IMEI packet received {"connection_id":129191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":129191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:49:10] local.INFO: TCP Data received {"connection_id":129191,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:49:10] local.INFO: Processing buffer {"connection_id":129191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:49:10] local.INFO: Packet analysis {"connection_id":129191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:49:10] local.INFO: Extracted packet for processing {"connection_id":129191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:49:10] 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-07-11 09:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:49:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":129191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:49:10] local.INFO: GPS data processed {"connection_id":129191,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:49:10] local.INFO: Acknowledgment sent {"connection_id":129191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:49:35] local.INFO: TCP Data received {"connection_id":129190,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66c110012d1a60c0071fda70001401260b..."} 
[2026-07-11 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66c110012d1a60c0071fda70001401260b..."} 
[2026-07-11 09:49:35] local.INFO: Processing buffer {"connection_id":129190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66c110012d1a60c0071fda70001401260b..."} 
[2026-07-11 09:49:35] local.INFO: Packet analysis {"connection_id":129190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:49:35] local.INFO: Extracted packet for processing {"connection_id":129190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756703424,"raw_latitude":119528048,"longitude_deg":75.6703424,"latitude_deg":11.9528048,"altitude":20,"angle":294,"satellites":11,"speed":42,"hex_longitude":"2d1a60c0","hex_latitude":"071fda70","is_valid_coordinates":true} 
[2026-07-11 09:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638351360001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5533919332007936,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902630135674611712,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783743562000,"timestamp_ms":1783743562000,"timestamp_seconds":1783743562,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66c110"} 
[2026-07-11 09:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 09:49:35] 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-07-11 09:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":129190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":129190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":129190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638351360001,"66":14265,"101":206,"83":41984,"24":42,"16":5533919332007936,"45":1902630135674611712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638351360001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:49:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5533919332007936,"km_value":5533919332007.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902630135674611712,"description":"Unknown IO ID 45"} 
[2026-07-11 09:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638351360001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1902630135674611712}} 
[2026-07-11 09:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":129190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:49:35] local.INFO: GPS data processed {"connection_id":129190,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:49:35] local.INFO: Acknowledgment sent {"connection_id":129190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:49:42] local.INFO: TCP Data received {"connection_id":129191,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:49:42] local.INFO: Processing buffer {"connection_id":129191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6244a0012cb29ac007823b28004700db29..."} 
[2026-07-11 09:49:42] local.INFO: Packet analysis {"connection_id":129191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:49:42] local.INFO: Extracted packet for processing {"connection_id":129191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f62"} 
[2026-07-11 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638199552001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783743268000,"timestamp_ms":1783743268000,"timestamp_seconds":1783743268,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6244a0"} 
[2026-07-11 09:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 09:49:42] 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-07-11 09:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638199552001,"66":24397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638199552001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638199552001,"power":24397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":129191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:49:42] local.INFO: GPS data processed {"connection_id":129191,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:49:42] local.INFO: Acknowledgment sent {"connection_id":129191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:50:00] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:50:00] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:50:00] local.INFO: IMEI packet received {"connection_id":130437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":130437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:50:01] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:50:01] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:50:01] local.INFO: IMEI packet received {"connection_id":130437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":130437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:50:04] local.INFO: TCP Data received {"connection_id":130438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:50:04] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:50:04] local.INFO: IMEI packet received {"connection_id":130438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":130438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:50:05] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:50:05] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:50:05] local.INFO: IMEI packet received {"connection_id":130437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":130437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:50:06] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66c8e0012d1a5940071fdbd8001401190b..."} 
[2026-07-11 09:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66c8e0012d1a5940071fdbd8001401190b..."} 
[2026-07-11 09:50:06] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66c8e0012d1a5940071fdbd8001401190b..."} 
[2026-07-11 09:50:06] local.INFO: Packet analysis {"connection_id":130437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:50:06] local.INFO: Extracted packet for processing {"connection_id":130437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756701504,"raw_latitude":119528408,"longitude_deg":75.6701504,"latitude_deg":11.9528408,"altitude":20,"angle":281,"satellites":11,"speed":40,"hex_longitude":"2d1a5940","hex_latitude":"071fdbd8","is_valid_coordinates":true} 
[2026-07-11 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638351872001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5534013821288448,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900730179582062592,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783743564000,"timestamp_ms":1783743564000,"timestamp_seconds":1783743564,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66c8e0"} 
[2026-07-11 09:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 09:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638351872001,"66":14070,"101":206,"83":41984,"24":40,"16":5534013821288448,"45":1900730179582062592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638351872001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:50:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5534013821288448,"km_value":5534013821288.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900730179582062592,"description":"Unknown IO ID 45"} 
[2026-07-11 09:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638351872001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1900730179582062592}} 
[2026-07-11 09:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":130437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:50:06] local.INFO: GPS data processed {"connection_id":130437,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:50:06] local.INFO: Acknowledgment sent {"connection_id":130437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:50:07] local.INFO: TCP Data received {"connection_id":130438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:50:07] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:50:07] local.INFO: IMEI packet received {"connection_id":130438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":130438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:50:09] local.INFO: TCP Data received {"connection_id":130438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:50:09] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:50:09] local.INFO: IMEI packet received {"connection_id":130438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":130438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:50:10] local.INFO: TCP Data received {"connection_id":130438,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:50:10] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:50:10] local.INFO: Packet analysis {"connection_id":130438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:50:10] local.INFO: Extracted packet for processing {"connection_id":130438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638276608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743569000,"timestamp_ms":1783743569000,"timestamp_seconds":1783743569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66dc68"} 
[2026-07-11 09:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:50: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-07-11 09:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 09:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638276608001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638276608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:50:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638276608001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":130438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:50:10] local.INFO: GPS data processed {"connection_id":130438,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:50:10] local.INFO: Acknowledgment sent {"connection_id":130438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:50:11] local.INFO: TCP Data received {"connection_id":128478,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:50:11] local.INFO: Processing buffer {"connection_id":128478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:50:11] local.INFO: IMEI packet received {"connection_id":128478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":128478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:50:38] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f679fb8012d19bb4007203ed0001e015a0c..."} 
[2026-07-11 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f679fb8012d19bb4007203ed0001e015a0c..."} 
[2026-07-11 09:50:38] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f679fb8012d19bb4007203ed0001e015a0c..."} 
[2026-07-11 09:50:38] local.INFO: Packet analysis {"connection_id":130437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f67"} 
[2026-07-11 09:50:38] local.INFO: Extracted packet for processing {"connection_id":130437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f67"} 
[2026-07-11 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119553744,"longitude_deg":75.6661056,"latitude_deg":11.9553744,"altitude":30,"angle":346,"satellites":12,"speed":34,"hex_longitude":"2d19bb40","hex_latitude":"07203ed0","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638366464001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5536479132516352,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070943027200,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783743619000,"timestamp_ms":1783743619000,"timestamp_seconds":1783743619,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f679fb8"} 
[2026-07-11 09:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:50:38] 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-07-11 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 09:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09: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-07-11 09:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638366464001,"66":14298,"101":206,"83":41984,"24":34,"16":5536479132516352,"45":1854146070943027200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638366464001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:50:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5536479132516352,"km_value":5536479132516.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070943027200,"description":"Unknown IO ID 45"} 
[2026-07-11 09:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638366464001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1854146070943027200}} 
[2026-07-11 09:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":130437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:50:38] local.INFO: GPS data processed {"connection_id":130437,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:50:38] local.INFO: Acknowledgment sent {"connection_id":130437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:50:41] local.INFO: TCP Data received {"connection_id":130438,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:50:41] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:50:41] local.INFO: Packet analysis {"connection_id":130438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:50:41] local.INFO: Extracted packet for processing {"connection_id":130438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638276608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743569000,"timestamp_ms":1783743569000,"timestamp_seconds":1783743569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66dc68"} 
[2026-07-11 09:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 09:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638276608001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638276608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:50:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638276608001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":130438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:50:41] local.INFO: GPS data processed {"connection_id":130438,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:50:41] local.INFO: Acknowledgment sent {"connection_id":130438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:50:46] local.INFO: TCP Data received {"connection_id":128479,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:50:46] local.INFO: Processing buffer {"connection_id":128479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:50:46] local.INFO: IMEI packet received {"connection_id":128479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":128479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:50:56] local.INFO: TCP Data received {"connection_id":129192,"ip":"47.254.44.85","data_length":243,"data_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-07-11 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129192,"packet_length":243,"packet_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-07-11 09:50:56] local.INFO: Processing buffer {"connection_id":129192,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-07-11 09:50:56] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":129192,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034906b2f9bc"} 
[2026-07-11 09:51:00] local.INFO: TCP Data received {"connection_id":128293,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:51:00] local.INFO: Processing buffer {"connection_id":128293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:51:00] local.INFO: IMEI packet received {"connection_id":128293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":128293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:51:03] local.INFO: TCP Data received {"connection_id":128293,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:51:03] local.INFO: Processing buffer {"connection_id":128293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:51:03] local.INFO: IMEI packet received {"connection_id":128293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":128293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:51:05] local.INFO: TCP Data received {"connection_id":129193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:51:05] local.INFO: Processing buffer {"connection_id":129193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:51:05] local.INFO: IMEI packet received {"connection_id":129193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":129193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:51:05] local.INFO: TCP Data received {"connection_id":128293,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:51:05] local.INFO: Processing buffer {"connection_id":128293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:51:05] local.INFO: IMEI packet received {"connection_id":128293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":128293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:51:06] local.INFO: TCP Data received {"connection_id":128293,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f67ab70012d19ba00072049c0001e01650c..."} 
[2026-07-11 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f67ab70012d19ba00072049c0001e01650c..."} 
[2026-07-11 09:51:06] local.INFO: Processing buffer {"connection_id":128293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f67ab70012d19ba00072049c0001e01650c..."} 
[2026-07-11 09:51:06] local.INFO: Packet analysis {"connection_id":128293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f67"} 
[2026-07-11 09:51:06] local.INFO: Extracted packet for processing {"connection_id":128293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f67"} 
[2026-07-11 09:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119556544,"longitude_deg":75.6660736,"latitude_deg":11.9556544,"altitude":30,"angle":357,"satellites":12,"speed":37,"hex_longitude":"2d19ba00","hex_latitude":"072049c0","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638366464001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5536616571469824,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070943027200,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783743622000,"timestamp_ms":1783743622000,"timestamp_seconds":1783743622,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f67ab70"} 
[2026-07-11 09:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:51:06] 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-07-11 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 09:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09: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-07-11 09:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638366464001,"66":14298,"101":206,"83":41984,"24":37,"16":5536616571469824,"45":1854146070943027200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638366464001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:51:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5536616571469824,"km_value":5536616571469.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070943027200,"description":"Unknown IO ID 45"} 
[2026-07-11 09:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638366464001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1854146070943027200}} 
[2026-07-11 09:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":128293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:51:06] local.INFO: GPS data processed {"connection_id":128293,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:51:06] local.INFO: Acknowledgment sent {"connection_id":128293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:51:09] local.INFO: TCP Data received {"connection_id":128480,"ip":"47.254.44.85","data_length":81,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-11 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128480,"packet_length":81,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-11 09:51:09] local.INFO: Processing buffer {"connection_id":128480,"buffer_length":81,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-11 09:51:09] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":128480,"buffer_length":81,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-07-11 09:51:10] local.INFO: TCP Data received {"connection_id":129193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:51:10] local.INFO: Processing buffer {"connection_id":129193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:51:10] local.INFO: IMEI packet received {"connection_id":129193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":129193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:51:10] local.INFO: TCP Data received {"connection_id":129193,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:51:10] local.INFO: Processing buffer {"connection_id":129193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:51:10] local.INFO: Packet analysis {"connection_id":129193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:51:10] local.INFO: Extracted packet for processing {"connection_id":129193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638276608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743569000,"timestamp_ms":1783743569000,"timestamp_seconds":1783743569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66dc68"} 
[2026-07-11 09:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:51: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-07-11 09:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 09:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638276608001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638276608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:51:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638276608001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":129193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:51:10] local.INFO: GPS data processed {"connection_id":129193,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:51:10] local.INFO: Acknowledgment sent {"connection_id":129193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:51:11] local.INFO: TCP Data received {"connection_id":128293,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f67cab0012d19b5c0072065f0002001590c..."} 
[2026-07-11 09:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f67cab0012d19b5c0072065f0002001590c..."} 
[2026-07-11 09:51:11] local.INFO: Processing buffer {"connection_id":128293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f67cab0012d19b5c0072065f0002001590c..."} 
[2026-07-11 09:51:11] local.INFO: Packet analysis {"connection_id":128293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f67"} 
[2026-07-11 09:51:11] local.INFO: Extracted packet for processing {"connection_id":128293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f67"} 
[2026-07-11 09:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119563760,"longitude_deg":75.6659648,"latitude_deg":11.956376,"altitude":32,"angle":345,"satellites":12,"speed":34,"hex_longitude":"2d19b5c0","hex_latitude":"072065f0","is_valid_coordinates":true} 
[2026-07-11 09:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638367232001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5536968758788096,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227222855680,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783743630000,"timestamp_ms":1783743630000,"timestamp_seconds":1783743630,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f67cab0"} 
[2026-07-11 09:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:51:11] 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-07-11 09:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 09:51:11] 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-07-11 09:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638367232001,"66":14363,"101":206,"83":41984,"24":34,"16":5536968758788096,"45":1853794227222855680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 09:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638367232001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:51:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 09:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5536968758788096,"km_value":5536968758788.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227222855680,"description":"Unknown IO ID 45"} 
[2026-07-11 09:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638367232001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1853794227222855680}} 
[2026-07-11 09:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":128293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:51:11] local.INFO: GPS data processed {"connection_id":128293,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:51:11] local.INFO: Acknowledgment sent {"connection_id":128293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:51:22] local.INFO: TCP Data received {"connection_id":128481,"ip":"47.254.44.85","data_length":19,"data_hex":"030000130ee000000000000100080003000000..."} 
[2026-07-11 09:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128481,"packet_length":19,"packet_hex":"030000130ee000000000000100080003000000..."} 
[2026-07-11 09:51:22] local.INFO: Processing buffer {"connection_id":128481,"buffer_length":19,"buffer_hex":"030000130ee000000000000100080003000000..."} 
[2026-07-11 09:51:22] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":128481,"buffer_length":19,"first_bytes_hex":"030000130ee000000000000100080003"} 
[2026-07-11 09:51:41] local.INFO: TCP Data received {"connection_id":129193,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:51:41] local.INFO: Processing buffer {"connection_id":129193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:51:41] local.INFO: Packet analysis {"connection_id":129193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:51:41] local.INFO: Extracted packet for processing {"connection_id":129193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638276608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743569000,"timestamp_ms":1783743569000,"timestamp_seconds":1783743569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66dc68"} 
[2026-07-11 09:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 09:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638276608001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638276608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:51:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638276608001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":129193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:51:41] local.INFO: GPS data processed {"connection_id":129193,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:51:41] local.INFO: Acknowledgment sent {"connection_id":129193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:51:41] local.INFO: TCP Data received {"connection_id":128293,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f68b8f8012d1946800720aeb00036011e0c..."} 
[2026-07-11 09:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f68b8f8012d1946800720aeb00036011e0c..."} 
[2026-07-11 09:51:41] local.INFO: Processing buffer {"connection_id":128293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f68b8f8012d1946800720aeb00036011e0c..."} 
[2026-07-11 09:51:41] local.INFO: Packet analysis {"connection_id":128293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f68"} 
[2026-07-11 09:51:41] local.INFO: Extracted packet for processing {"connection_id":128293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f68"} 
[2026-07-11 09:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756631168,"raw_latitude":119582384,"longitude_deg":75.6631168,"latitude_deg":11.9582384,"altitude":54,"angle":286,"satellites":12,"speed":36,"hex_longitude":"2d194680","hex_latitude":"0720aeb0","is_valid_coordinates":true} 
[2026-07-11 09:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638384128001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5539330990800896,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824309723418845184,"note":"Value kept but may cause issues"} 
[2026-07-11 09:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743691000,"timestamp_ms":1783743691000,"timestamp_seconds":1783743691,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f68b8f8"} 
[2026-07-11 09:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:51:41] 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-07-11 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 09:51:41] 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-07-11 09:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638384128001,"66":13537,"103":206,"83":41984,"24":36,"16":5539330990800896,"45":1824309723418845184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 09:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638384128001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:51:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 09:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5539330990800896,"km_value":5539330990800.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824309723418845184,"description":"Unknown IO ID 45"} 
[2026-07-11 09:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638384128001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1824309723418845184}} 
[2026-07-11 09:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":128293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:51:42] local.INFO: GPS data processed {"connection_id":128293,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:51:42] local.INFO: Acknowledgment sent {"connection_id":128293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:52:05] local.INFO: TCP Data received {"connection_id":130439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:52:05] local.INFO: Processing buffer {"connection_id":130439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:52:05] local.INFO: IMEI packet received {"connection_id":130439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":130439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:52:06] local.INFO: TCP Data received {"connection_id":128294,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:52:06] local.INFO: Processing buffer {"connection_id":128294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:52:06] local.INFO: IMEI packet received {"connection_id":128294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":128294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:52:09] local.INFO: TCP Data received {"connection_id":130439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:52:09] local.INFO: Processing buffer {"connection_id":130439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:52:09] local.INFO: IMEI packet received {"connection_id":130439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":130439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:52:10] local.INFO: TCP Data received {"connection_id":130439,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:52:10] local.INFO: Processing buffer {"connection_id":130439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:52:10] local.INFO: Packet analysis {"connection_id":130439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:52:10] local.INFO: Extracted packet for processing {"connection_id":130439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638276608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743569000,"timestamp_ms":1783743569000,"timestamp_seconds":1783743569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66dc68"} 
[2026-07-11 09:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:52: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-07-11 09:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 09:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638276608001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638276608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:52:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638276608001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":130439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:52:10] local.INFO: GPS data processed {"connection_id":130439,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:52:10] local.INFO: Acknowledgment sent {"connection_id":130439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:52:10] local.INFO: TCP Data received {"connection_id":128294,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:52:10] local.INFO: Processing buffer {"connection_id":128294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:52:10] local.INFO: IMEI packet received {"connection_id":128294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":128294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:52:11] local.INFO: TCP Data received {"connection_id":128294,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f68c4b0012d193d000720b3d80035012f0c..."} 
[2026-07-11 09:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f68c4b0012d193d000720b3d80035012f0c..."} 
[2026-07-11 09:52:11] local.INFO: Processing buffer {"connection_id":128294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f68c4b0012d193d000720b3d80035012f0c..."} 
[2026-07-11 09:52:11] local.INFO: Packet analysis {"connection_id":128294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f68"} 
[2026-07-11 09:52:11] local.INFO: Extracted packet for processing {"connection_id":128294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f68"} 
[2026-07-11 09:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119583704,"longitude_deg":75.6628736,"latitude_deg":11.9583704,"altitude":53,"angle":303,"satellites":12,"speed":36,"hex_longitude":"2d193d00","hex_latitude":"0720b3d8","is_valid_coordinates":true} 
[2026-07-11 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638384896001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5539464134787072,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821283867419389952,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783743694000,"timestamp_ms":1783743694000,"timestamp_seconds":1783743694,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f68c4b0"} 
[2026-07-11 09:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-11 09:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638384896001,"66":14298,"103":206,"83":41984,"24":36,"16":5539464134787072,"45":1821283867419389952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 09:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638384896001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:52:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 09:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5539464134787072,"km_value":5539464134787.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821283867419389952,"description":"Unknown IO ID 45"} 
[2026-07-11 09:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638384896001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1821283867419389952}} 
[2026-07-11 09:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":128294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:52:11] local.INFO: GPS data processed {"connection_id":128294,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:52:11] local.INFO: Acknowledgment sent {"connection_id":128294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:52:41] local.INFO: TCP Data received {"connection_id":130439,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:52:41] local.INFO: Processing buffer {"connection_id":130439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:52:41] local.INFO: Packet analysis {"connection_id":130439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:52:41] local.INFO: Extracted packet for processing {"connection_id":130439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638276608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743569000,"timestamp_ms":1783743569000,"timestamp_seconds":1783743569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66dc68"} 
[2026-07-11 09:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 09:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638276608001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638276608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:52:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638276608001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":130439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:52:41] local.INFO: GPS data processed {"connection_id":130439,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:52:41] local.INFO: Acknowledgment sent {"connection_id":130439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:52:42] local.INFO: TCP Data received {"connection_id":128294,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f69b2f8012d18c2c0072151c00043015a0d..."} 
[2026-07-11 09:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f69b2f8012d18c2c0072151c00043015a0d..."} 
[2026-07-11 09:52:42] local.INFO: Processing buffer {"connection_id":128294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f69b2f8012d18c2c0072151c00043015a0d..."} 
[2026-07-11 09:52:42] local.INFO: Packet analysis {"connection_id":128294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f69"} 
[2026-07-11 09:52:42] local.INFO: Extracted packet for processing {"connection_id":128294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f69"} 
[2026-07-11 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624128,"longitude_deg":75.659744,"latitude_deg":11.9624128,"altitude":67,"angle":346,"satellites":13,"speed":31,"hex_longitude":"2d18c2c0","hex_latitude":"072151c0","is_valid_coordinates":true} 
[2026-07-11 09:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638400512001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5542135604445184,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907991965696,"note":"Value kept but may cause issues"} 
[2026-07-11 09:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783743755000,"timestamp_ms":1783743755000,"timestamp_seconds":1783743755,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f69b2f8"} 
[2026-07-11 09:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 09:52:42] 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-07-11 09:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638400512001,"66":14363,"103":206,"83":41984,"24":31,"16":5542135604445184,"45":1784269907991965696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 09:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638400512001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:52:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 09:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5542135604445184,"km_value":5542135604445.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907991965696,"description":"Unknown IO ID 45"} 
[2026-07-11 09:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638400512001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784269907991965696}} 
[2026-07-11 09:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":128294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:52:42] local.INFO: GPS data processed {"connection_id":128294,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:52:42] local.INFO: Acknowledgment sent {"connection_id":128294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:53:01] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:53:01] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:53:01] local.INFO: IMEI packet received {"connection_id":130441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":130441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:53:04] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:53:04] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:53:04] local.INFO: IMEI packet received {"connection_id":130442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":130442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:53:05] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:53:05] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:53:05] local.INFO: IMEI packet received {"connection_id":130441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":130441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:53:06] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f69b6e0012d18c180072154b80043014f0d..."} 
[2026-07-11 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f69b6e0012d18c180072154b80043014f0d..."} 
[2026-07-11 09:53:06] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f69b6e0012d18c180072154b80043014f0d..."} 
[2026-07-11 09:53:06] local.INFO: Packet analysis {"connection_id":130441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f69"} 
[2026-07-11 09:53:06] local.INFO: Extracted packet for processing {"connection_id":130441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f69"} 
[2026-07-11 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119624888,"longitude_deg":75.659712,"latitude_deg":11.9624888,"altitude":67,"angle":335,"satellites":13,"speed":32,"hex_longitude":"2d18c180","hex_latitude":"072154b8","is_valid_coordinates":true} 
[2026-07-11 09:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638401280001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5542178554118144,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248447488,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783743756000,"timestamp_ms":1783743756000,"timestamp_seconds":1783743756,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f69b6e0"} 
[2026-07-11 09:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 09:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638401280001,"66":14298,"103":206,"83":41984,"24":32,"16":5542178554118144,"45":1784199539248447488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 09:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638401280001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:53:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 09:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5542178554118144,"km_value":5542178554118.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248447488,"description":"Unknown IO ID 45"} 
[2026-07-11 09:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638401280001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784199539248447488}} 
[2026-07-11 09:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":130441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:53:06] local.INFO: GPS data processed {"connection_id":130441,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:53:06] local.INFO: Acknowledgment sent {"connection_id":130441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:53:10] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:53:10] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:53:10] local.INFO: IMEI packet received {"connection_id":130442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":130442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:53:10] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:53:10] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:53:10] local.INFO: Packet analysis {"connection_id":130442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:53:10] local.INFO: Extracted packet for processing {"connection_id":130442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:53:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638276608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743569000,"timestamp_ms":1783743569000,"timestamp_seconds":1783743569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66dc68"} 
[2026-07-11 09:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:53: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-07-11 09:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 09:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638276608001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638276608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:53:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638276608001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":130442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:53:10] local.INFO: GPS data processed {"connection_id":130442,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:53:10] local.INFO: Acknowledgment sent {"connection_id":130442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:53:37] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f69beb0012d18bdc007215a80004501420d..."} 
[2026-07-11 09:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f69beb0012d18bdc007215a80004501420d..."} 
[2026-07-11 09:53:37] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f69beb0012d18bdc007215a80004501420d..."} 
[2026-07-11 09:53:37] local.INFO: Packet analysis {"connection_id":130441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f69"} 
[2026-07-11 09:53:37] local.INFO: Extracted packet for processing {"connection_id":130441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f69"} 
[2026-07-11 09:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756596160,"raw_latitude":119626368,"longitude_deg":75.659616,"latitude_deg":11.9626368,"altitude":69,"angle":322,"satellites":13,"speed":33,"hex_longitude":"2d18bdc0","hex_latitude":"07215a80","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638401536001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5542264453464064,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783847695527753728,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783743758000,"timestamp_ms":1783743758000,"timestamp_seconds":1783743758,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f69beb0"} 
[2026-07-11 09:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:53:37] 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-07-11 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 09:53: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-07-11 09: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-07-11 09:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638401536001,"66":14298,"103":206,"83":41984,"24":33,"16":5542264453464064,"45":1783847695527753728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 09:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638401536001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:53:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 09:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5542264453464064,"km_value":5542264453464.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783847695527753728,"description":"Unknown IO ID 45"} 
[2026-07-11 09:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638401536001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1783847695527753728}} 
[2026-07-11 09:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":130441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:53:37] local.INFO: GPS data processed {"connection_id":130441,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:53:37] local.INFO: Acknowledgment sent {"connection_id":130441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:53:41] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:53:41] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:53:41] local.INFO: Packet analysis {"connection_id":130442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:53:41] local.INFO: Extracted packet for processing {"connection_id":130442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:53:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638276608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743569000,"timestamp_ms":1783743569000,"timestamp_seconds":1783743569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66dc68"} 
[2026-07-11 09:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:53: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-07-11 09: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 09:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638276608001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638276608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:53:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638276608001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":130442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:53:41] local.INFO: GPS data processed {"connection_id":130442,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:53:41] local.INFO: Acknowledgment sent {"connection_id":130442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:53:59] local.INFO: TCP Data received {"connection_id":129196,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:53:59] local.INFO: Processing buffer {"connection_id":129196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:53:59] local.INFO: IMEI packet received {"connection_id":129196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":129196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:54:00] local.INFO: TCP Data received {"connection_id":129196,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:54:00] local.INFO: Processing buffer {"connection_id":129196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:54:00] local.INFO: IMEI packet received {"connection_id":129196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":129196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:54:01] local.INFO: TCP Data received {"connection_id":129196,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:54:01] local.INFO: Processing buffer {"connection_id":129196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:54:01] local.INFO: IMEI packet received {"connection_id":129196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":129196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:54:02] local.INFO: TCP Data received {"connection_id":129196,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:54:02] local.INFO: Processing buffer {"connection_id":129196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:54:02] local.INFO: IMEI packet received {"connection_id":129196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 09:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":129196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:54:40] local.INFO: TCP Data received {"connection_id":130443,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:54:40] local.INFO: Processing buffer {"connection_id":130443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:54:40] local.INFO: IMEI packet received {"connection_id":130443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":130443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:54:45] local.INFO: TCP Data received {"connection_id":130443,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:54:45] local.INFO: Processing buffer {"connection_id":130443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:54:45] local.INFO: IMEI packet received {"connection_id":130443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":130443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:54:45] local.INFO: TCP Data received {"connection_id":130443,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:54:45] local.INFO: Processing buffer {"connection_id":130443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f66dc68012cb29ac007823b28004700db2a..."} 
[2026-07-11 09:54:45] local.INFO: Packet analysis {"connection_id":130443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:54:45] local.INFO: Extracted packet for processing {"connection_id":130443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f66"} 
[2026-07-11 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638276608001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:54:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783743569000,"timestamp_ms":1783743569000,"timestamp_seconds":1783743569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f66dc68"} 
[2026-07-11 09:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 09:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09: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-07-11 09:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638276608001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638276608001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:54:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:54:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638276608001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":130443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:54:45] local.INFO: GPS data processed {"connection_id":130443,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:54:45] local.INFO: Acknowledgment sent {"connection_id":130443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:55:09] local.INFO: TCP Data received {"connection_id":128483,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:55:09] local.INFO: Processing buffer {"connection_id":128483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:55:09] local.INFO: IMEI packet received {"connection_id":128483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":128483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:55:15] local.INFO: TCP Data received {"connection_id":128483,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:55:15] local.INFO: Processing buffer {"connection_id":128483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:55:15] local.INFO: IMEI packet received {"connection_id":128483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":128483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:55:15] local.INFO: TCP Data received {"connection_id":128483,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:55:15] local.INFO: Processing buffer {"connection_id":128483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:55:15] local.INFO: Packet analysis {"connection_id":128483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:55:15] local.INFO: Extracted packet for processing {"connection_id":128483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:55:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:55:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:55:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":128483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:55:15] local.INFO: GPS data processed {"connection_id":128483,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:55:15] local.INFO: Acknowledgment sent {"connection_id":128483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:55:46] local.INFO: TCP Data received {"connection_id":128483,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:55:46] local.INFO: Processing buffer {"connection_id":128483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:55:46] local.INFO: Packet analysis {"connection_id":128483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:55:46] local.INFO: Extracted packet for processing {"connection_id":128483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:55:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:55:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:55:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":128483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:55:46] local.INFO: GPS data processed {"connection_id":128483,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:55:46] local.INFO: Acknowledgment sent {"connection_id":128483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:56:08] local.INFO: TCP Data received {"connection_id":129197,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:56:08] local.INFO: Processing buffer {"connection_id":129197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:56:08] local.INFO: IMEI packet received {"connection_id":129197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":129197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:56:09] local.INFO: TCP Data received {"connection_id":128296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:56:09] local.INFO: Processing buffer {"connection_id":128296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:56:09] local.INFO: IMEI packet received {"connection_id":128296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":128296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:56:15] local.INFO: TCP Data received {"connection_id":128296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:56:15] local.INFO: Processing buffer {"connection_id":128296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:56:15] local.INFO: IMEI packet received {"connection_id":128296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":128296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:56:15] local.INFO: TCP Data received {"connection_id":128296,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:56:15] local.INFO: Processing buffer {"connection_id":128296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:56:15] local.INFO: Packet analysis {"connection_id":128296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:56:15] local.INFO: Extracted packet for processing {"connection_id":128296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:56:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:56:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":128296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:56:15] local.INFO: GPS data processed {"connection_id":128296,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:56:15] local.INFO: Acknowledgment sent {"connection_id":128296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:56:46] local.INFO: TCP Data received {"connection_id":130444,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:56:46] local.INFO: Processing buffer {"connection_id":130444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 09:56:46] local.INFO: IMEI packet received {"connection_id":130444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 09:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":130444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:56:46] local.INFO: TCP Data received {"connection_id":128296,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:56:46] local.INFO: Processing buffer {"connection_id":128296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:56:46] local.INFO: Packet analysis {"connection_id":128296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:56:46] local.INFO: Extracted packet for processing {"connection_id":128296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:56:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:56:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":128296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:56:46] local.INFO: GPS data processed {"connection_id":128296,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:56:46] local.INFO: Acknowledgment sent {"connection_id":128296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:57:05] local.INFO: TCP Data received {"connection_id":128297,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:57:05] local.INFO: Processing buffer {"connection_id":128297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:57:05] local.INFO: IMEI packet received {"connection_id":128297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":128297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:57:10] local.INFO: TCP Data received {"connection_id":128297,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:57:10] local.INFO: Processing buffer {"connection_id":128297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:57:10] local.INFO: IMEI packet received {"connection_id":128297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":128297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:57:10] local.INFO: TCP Data received {"connection_id":128297,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:57:10] local.INFO: Processing buffer {"connection_id":128297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:57:10] local.INFO: Packet analysis {"connection_id":128297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:57:10] local.INFO: Extracted packet for processing {"connection_id":128297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:57: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-07-11 09:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:57:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":128297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:57:10] local.INFO: GPS data processed {"connection_id":128297,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:57:10] local.INFO: Acknowledgment sent {"connection_id":128297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:57:42] local.INFO: TCP Data received {"connection_id":128297,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:57:42] local.INFO: Processing buffer {"connection_id":128297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:57:42] local.INFO: Packet analysis {"connection_id":128297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:57:42] local.INFO: Extracted packet for processing {"connection_id":128297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 09:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":128297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:57:42] local.INFO: GPS data processed {"connection_id":128297,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:57:42] local.INFO: Acknowledgment sent {"connection_id":128297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:58:05] local.INFO: TCP Data received {"connection_id":128486,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:58:05] local.INFO: Processing buffer {"connection_id":128486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:58:05] local.INFO: IMEI packet received {"connection_id":128486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:58:09] local.INFO: TCP Data received {"connection_id":128486,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:58:09] local.INFO: Processing buffer {"connection_id":128486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:58:09] local.INFO: IMEI packet received {"connection_id":128486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":128486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:58:10] local.INFO: TCP Data received {"connection_id":128486,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:58:10] local.INFO: Processing buffer {"connection_id":128486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:58:10] local.INFO: Packet analysis {"connection_id":128486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:58:10] local.INFO: Extracted packet for processing {"connection_id":128486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:58: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-07-11 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":128486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:58:10] local.INFO: GPS data processed {"connection_id":128486,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:58:10] local.INFO: Acknowledgment sent {"connection_id":128486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:58:41] local.INFO: TCP Data received {"connection_id":128486,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:58:41] local.INFO: Processing buffer {"connection_id":128486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:58:41] local.INFO: Packet analysis {"connection_id":128486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:58:41] local.INFO: Extracted packet for processing {"connection_id":128486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:58: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-07-11 09:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:58:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":128486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:58:41] local.INFO: GPS data processed {"connection_id":128486,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:58:41] local.INFO: Acknowledgment sent {"connection_id":128486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:59:05] local.INFO: TCP Data received {"connection_id":129203,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:59:05] local.INFO: Processing buffer {"connection_id":129203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:59:05] local.INFO: IMEI packet received {"connection_id":129203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 09:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":129203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:59:06] local.INFO: TCP Data received {"connection_id":129202,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:59:06] local.INFO: Processing buffer {"connection_id":129202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 09:59:06] local.INFO: IMEI packet received {"connection_id":129202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 09:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":129202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:59:07] local.INFO: TCP Data received {"connection_id":129202,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6de148012d1823400721ba280059001b1c..."} 
[2026-07-11 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6de148012d1823400721ba280059001b1c..."} 
[2026-07-11 09:59:07] local.INFO: Processing buffer {"connection_id":129202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6de148012d1823400721ba280059001b1c..."} 
[2026-07-11 09:59:07] local.INFO: Packet analysis {"connection_id":129202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6d"} 
[2026-07-11 09:59:07] local.INFO: Extracted packet for processing {"connection_id":129202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6d"} 
[2026-07-11 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":28,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 09: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-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638466048001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469923840,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783744029000,"timestamp_ms":1783744029000,"timestamp_seconds":1783744029,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6de148"} 
[2026-07-11 09:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3116367961,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402090,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3008888832,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,179,159,131,45,192,185,89,26,10,66,119,108,1,240,125,227,79,33,4,113,205,35,136,239,54,107,2,19,7,92],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-11 09:59:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6413160065905393664,"timestamp_seconds":6413160065905394.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 09:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638466048001,"66":13352,"105":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469923840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 09:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638466048001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:59:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 09:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469923840,"description":"Unknown IO ID 45"} 
[2026-07-11 09:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638466048001,"power":13352,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469923840}} 
[2026-07-11 09:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":129202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:59:07] local.INFO: GPS data processed {"connection_id":129202,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:59:07] local.INFO: Acknowledgment sent {"connection_id":129202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:59:09] local.INFO: TCP Data received {"connection_id":128487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:09] local.INFO: Processing buffer {"connection_id":128487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:09] local.INFO: IMEI packet received {"connection_id":128487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 09:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":128487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 09:59:10] local.INFO: TCP Data received {"connection_id":129203,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:59:10] local.INFO: Processing buffer {"connection_id":129203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 09:59:10] local.INFO: IMEI packet received {"connection_id":129203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 09:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":129203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:59:10] local.INFO: TCP Data received {"connection_id":129203,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:59:10] local.INFO: Processing buffer {"connection_id":129203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:59:10] local.INFO: Packet analysis {"connection_id":129203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:59:10] local.INFO: Extracted packet for processing {"connection_id":129203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:59: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-07-11 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 09:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:59:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":129203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:59:10] local.INFO: GPS data processed {"connection_id":129203,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:59:10] local.INFO: Acknowledgment sent {"connection_id":129203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:59:11] local.INFO: TCP Data received {"connection_id":128487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:11] local.INFO: Processing buffer {"connection_id":128487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:11] local.INFO: IMEI packet received {"connection_id":128487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":128487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:59:13] local.INFO: TCP Data received {"connection_id":128487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:13] local.INFO: Processing buffer {"connection_id":128487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:13] local.INFO: IMEI packet received {"connection_id":128487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":128487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:59:14] local.INFO: TCP Data received {"connection_id":128487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:14] local.INFO: Processing buffer {"connection_id":128487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 09:59:14] local.INFO: IMEI packet received {"connection_id":128487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 09:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":128487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 09:59:15] local.INFO: TCP Data received {"connection_id":128487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6f19c8012d7e4bc005d3a2880007013027..."} 
[2026-07-11 09:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6f19c8012d7e4bc005d3a2880007013027..."} 
[2026-07-11 09:59:15] local.INFO: Processing buffer {"connection_id":128487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6f19c8012d7e4bc005d3a2880007013027..."} 
[2026-07-11 09:59:15] local.INFO: Packet analysis {"connection_id":128487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6f"} 
[2026-07-11 09:59:15] local.INFO: Extracted packet for processing {"connection_id":128487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6f"} 
[2026-07-11 09:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763251648,"raw_latitude":97755784,"longitude_deg":76.3251648,"latitude_deg":9.7755784,"altitude":7,"angle":304,"satellites":39,"speed":8,"hex_longitude":"2d7e4bc0","hex_latitude":"05d3a288","is_valid_coordinates":true} 
[2026-07-11 09:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638491648001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":104999933068705792,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100719340778557440,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783744109000,"timestamp_ms":1783744109000,"timestamp_seconds":1783744109,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6f19c8"} 
[2026-07-11 09:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 09:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638491648001,"66":12689,"109":206,"85":15104,"24":8,"16":104999933068705792,"45":9100719340778557440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 09:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638491648001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:59:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 09:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":104999933068705792,"km_value":104999933068705.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100719340778557440,"description":"Unknown IO ID 45"} 
[2026-07-11 09:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638491648001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9100719340778557440}} 
[2026-07-11 09:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":128487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:59:15] local.INFO: GPS data processed {"connection_id":128487,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:59:15] local.INFO: Acknowledgment sent {"connection_id":128487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:59:38] local.INFO: TCP Data received {"connection_id":129202,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6e3350012d1823400721ba280059001b1e..."} 
[2026-07-11 09:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6e3350012d1823400721ba280059001b1e..."} 
[2026-07-11 09:59:38] local.INFO: Processing buffer {"connection_id":129202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6e3350012d1823400721ba280059001b1e..."} 
[2026-07-11 09:59:38] local.INFO: Packet analysis {"connection_id":129202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6e"} 
[2026-07-11 09:59:38] local.INFO: Extracted packet for processing {"connection_id":129202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6e"} 
[2026-07-11 09:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":30,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 09:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638471424001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783744050000,"timestamp_ms":1783744050000,"timestamp_seconds":1783744050,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6e3350"} 
[2026-07-11 09:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-11 09:59:38] 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-07-11 09:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 09:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 09:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 09:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638471424001,"66":13276,"105":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 09:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 09:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 09:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638471424001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:59:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 09:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 09:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 09:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638471424001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 09:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":129202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:59:38] local.INFO: GPS data processed {"connection_id":129202,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:59:38] local.INFO: Acknowledgment sent {"connection_id":129202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:59:41] local.INFO: TCP Data received {"connection_id":129203,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:59:41] local.INFO: Processing buffer {"connection_id":129203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6b7430012cb29ac007823b28004700db29..."} 
[2026-07-11 09:59:41] local.INFO: Packet analysis {"connection_id":129203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:59:41] local.INFO: Extracted packet for processing {"connection_id":129203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6b"} 
[2026-07-11 09:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 09:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638353664001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783743870000,"timestamp_ms":1783743870000,"timestamp_seconds":1783743870,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6b7430"} 
[2026-07-11 09:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09: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-07-11 09: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-07-11 09: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-07-11 09:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 09:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 09:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 09:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638353664001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 09:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 09:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 09:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638353664001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:59:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 09:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 09:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 09:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638353664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 09:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":129203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:59:41] local.INFO: GPS data processed {"connection_id":129203,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:59:41] local.INFO: Acknowledgment sent {"connection_id":129203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 09:59:46] local.INFO: TCP Data received {"connection_id":128487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f702750012d7e158005d3b7d8000500182a..."} 
[2026-07-11 09:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f702750012d7e158005d3b7d8000500182a..."} 
[2026-07-11 09:59:46] local.INFO: Processing buffer {"connection_id":128487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f702750012d7e158005d3b7d8000500182a..."} 
[2026-07-11 09:59:46] local.INFO: Packet analysis {"connection_id":128487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 09:59:46] local.INFO: Extracted packet for processing {"connection_id":128487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 09:59:46] local.INFO: GPS Element Parsed {"raw_longitude":763237760,"raw_latitude":97761240,"longitude_deg":76.323776,"latitude_deg":9.776124,"altitude":5,"angle":24,"satellites":42,"speed":11,"hex_longitude":"2d7e1580","hex_latitude":"05d3b7d8","is_valid_coordinates":true} 
[2026-07-11 09:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 09:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638509312001,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105000903731314688,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085167848316661760,"note":"Value kept but may cause issues"} 
[2026-07-11 09:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 09:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783744178000,"timestamp_ms":1783744178000,"timestamp_seconds":1783744178,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f702750"} 
[2026-07-11 09:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 09:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 09:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 09:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 09:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 09:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 09:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 09:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 09:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 09:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 09:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 09:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 09:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638509312001,"66":13189,"109":206,"85":15104,"24":11,"16":105000903731314688,"45":9085167848316661760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 09:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 09:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 09:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638509312001,"description":"Unknown IO ID 0"} 
[2026-07-11 09:59:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 09:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 09:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105000903731314688,"km_value":105000903731314.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 09:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085167848316661760,"description":"Unknown IO ID 45"} 
[2026-07-11 09:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638509312001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9085167848316661760}} 
[2026-07-11 09:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":128487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 09:59:46] local.INFO: GPS data processed {"connection_id":128487,"processed":1,"errors":0,"total":1} 
[2026-07-11 09:59:46] local.INFO: Acknowledgment sent {"connection_id":128487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:00:00] local.INFO: TCP Data received {"connection_id":130445,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:00:00] local.INFO: Processing buffer {"connection_id":130445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:00:00] local.INFO: IMEI packet received {"connection_id":130445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":130445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:00:04] local.INFO: TCP Data received {"connection_id":128299,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:00:04] local.INFO: Processing buffer {"connection_id":128299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:00:04] local.INFO: IMEI packet received {"connection_id":128299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":128299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:00:05] local.INFO: TCP Data received {"connection_id":130445,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:00:05] local.INFO: Processing buffer {"connection_id":130445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:00:05] local.INFO: IMEI packet received {"connection_id":130445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":130445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:00:06] local.INFO: TCP Data received {"connection_id":130445,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6e8558012d1823400721ba280059001b1e..."} 
[2026-07-11 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6e8558012d1823400721ba280059001b1e..."} 
[2026-07-11 10:00:06] local.INFO: Processing buffer {"connection_id":130445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6e8558012d1823400721ba280059001b1e..."} 
[2026-07-11 10:00:06] local.INFO: Packet analysis {"connection_id":130445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6e"} 
[2026-07-11 10:00:06] local.INFO: Extracted packet for processing {"connection_id":130445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6e"} 
[2026-07-11 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":30,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638476800001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744071000,"timestamp_ms":1783744071000,"timestamp_seconds":1783744071,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6e8558"} 
[2026-07-11 10:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-11 10:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638476800001,"66":13243,"105":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638476800001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:00:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638476800001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":130445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:00:06] local.INFO: GPS data processed {"connection_id":130445,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:00:06] local.INFO: Acknowledgment sent {"connection_id":130445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:00:08] local.INFO: TCP Data received {"connection_id":128299,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:00:08] local.INFO: Processing buffer {"connection_id":128299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:00:08] local.INFO: IMEI packet received {"connection_id":128299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":128299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:00:09] local.INFO: TCP Data received {"connection_id":128299,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:00:09] local.INFO: Processing buffer {"connection_id":128299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:00:09] local.INFO: IMEI packet received {"connection_id":128299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":128299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:00:10] local.INFO: TCP Data received {"connection_id":128299,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:00:10] local.INFO: Processing buffer {"connection_id":128299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:00:10] local.INFO: Packet analysis {"connection_id":128299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:00:10] local.INFO: Extracted packet for processing {"connection_id":128299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:00: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-07-11 10:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:00:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":128299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:00:10] local.INFO: GPS data processed {"connection_id":128299,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:00:10] local.INFO: Acknowledgment sent {"connection_id":128299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:00:15] local.INFO: TCP Data received {"connection_id":128299,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:00:15] local.INFO: Processing buffer {"connection_id":128299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:00:15] local.INFO: Packet analysis {"connection_id":128299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:00:15] local.INFO: Extracted packet for processing {"connection_id":128299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:00:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:00:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:00:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":128299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:00:15] local.INFO: GPS data processed {"connection_id":128299,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:00:15] local.INFO: Acknowledgment sent {"connection_id":128299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:00:16] local.INFO: TCP Data received {"connection_id":128488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:00:16] local.INFO: Processing buffer {"connection_id":128488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:00:16] local.INFO: IMEI packet received {"connection_id":128488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 10:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":128488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:00:22] local.INFO: TCP Data received {"connection_id":128488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:00:22] local.INFO: Processing buffer {"connection_id":128488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:00:22] local.INFO: IMEI packet received {"connection_id":128488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 10:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":128488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:00:23] local.INFO: TCP Data received {"connection_id":128488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f702b38012d7e15c005d3b8f8000500052a..."} 
[2026-07-11 10:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f702b38012d7e15c005d3b8f8000500052a..."} 
[2026-07-11 10:00:23] local.INFO: Processing buffer {"connection_id":128488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f702b38012d7e15c005d3b8f8000500052a..."} 
[2026-07-11 10:00:23] local.INFO: Packet analysis {"connection_id":128488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:00:23] local.INFO: Extracted packet for processing {"connection_id":128488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97761528,"longitude_deg":76.3237824,"latitude_deg":9.7761528,"altitude":5,"angle":5,"satellites":42,"speed":12,"hex_longitude":"2d7e15c0","hex_latitude":"05d3b8f8","is_valid_coordinates":true} 
[2026-07-11 10:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638509568001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105000916616216576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085308585805076480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783744179000,"timestamp_ms":1783744179000,"timestamp_seconds":1783744179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f702b38"} 
[2026-07-11 10:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 10:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638509568001,"66":13319,"109":206,"85":15104,"24":12,"16":105000916616216576,"45":9085308585805076480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 10:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638509568001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:00:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 10:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105000916616216576,"km_value":105000916616216.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085308585805076480,"description":"Unknown IO ID 45"} 
[2026-07-11 10:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638509568001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9085308585805076480}} 
[2026-07-11 10:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":128488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:00:23] local.INFO: GPS data processed {"connection_id":128488,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:00:23] local.INFO: Acknowledgment sent {"connection_id":128488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:00:37] local.INFO: TCP Data received {"connection_id":130445,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6ed760012d1823400721ba280059001b1f..."} 
[2026-07-11 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6ed760012d1823400721ba280059001b1f..."} 
[2026-07-11 10:00:37] local.INFO: Processing buffer {"connection_id":130445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6ed760012d1823400721ba280059001b1f..."} 
[2026-07-11 10:00:37] local.INFO: Packet analysis {"connection_id":130445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6e"} 
[2026-07-11 10:00:37] local.INFO: Extracted packet for processing {"connection_id":130445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6e"} 
[2026-07-11 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":31,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638482176001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744092000,"timestamp_ms":1783744092000,"timestamp_seconds":1783744092,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6ed760"} 
[2026-07-11 10:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 10:00:37] 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-07-11 10: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-07-11 10:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638482176001,"66":13222,"105":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638482176001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:00:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638482176001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":130445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:00:37] local.INFO: GPS data processed {"connection_id":130445,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:00:37] local.INFO: Acknowledgment sent {"connection_id":130445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:00:46] local.INFO: TCP Data received {"connection_id":128299,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:00:46] local.INFO: Processing buffer {"connection_id":128299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:00:46] local.INFO: Packet analysis {"connection_id":128299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:00:46] local.INFO: Extracted packet for processing {"connection_id":128299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:00:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:00: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-07-11 10:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:00:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:00:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":128299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:00:46] local.INFO: GPS data processed {"connection_id":128299,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:00:46] local.INFO: Acknowledgment sent {"connection_id":128299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:01:00] local.INFO: TCP Data received {"connection_id":129204,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:01:00] local.INFO: Processing buffer {"connection_id":129204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:01:00] local.INFO: IMEI packet received {"connection_id":129204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":129204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:01:01] local.INFO: TCP Data received {"connection_id":129204,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:01:01] local.INFO: Processing buffer {"connection_id":129204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:01:01] local.INFO: IMEI packet received {"connection_id":129204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":129204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:01:05] local.INFO: TCP Data received {"connection_id":128489,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:01:05] local.INFO: Processing buffer {"connection_id":128489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:01:05] local.INFO: IMEI packet received {"connection_id":128489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":128489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:01:05] local.INFO: TCP Data received {"connection_id":129204,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:01:05] local.INFO: Processing buffer {"connection_id":129204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:01:05] local.INFO: IMEI packet received {"connection_id":129204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":129204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:01:06] local.INFO: TCP Data received {"connection_id":129204,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6f2968012d1823400721ba280059001b21..."} 
[2026-07-11 10:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6f2968012d1823400721ba280059001b21..."} 
[2026-07-11 10:01:06] local.INFO: Processing buffer {"connection_id":129204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6f2968012d1823400721ba280059001b21..."} 
[2026-07-11 10:01:06] local.INFO: Packet analysis {"connection_id":129204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6f"} 
[2026-07-11 10:01:06] local.INFO: Extracted packet for processing {"connection_id":129204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6f"} 
[2026-07-11 10:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":33,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638487552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744113000,"timestamp_ms":1783744113000,"timestamp_seconds":1783744113,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6f2968"} 
[2026-07-11 10:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 10:01:06] 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-07-11 10:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638487552001,"66":13167,"105":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638487552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:01:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638487552001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":129204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:01:06] local.INFO: GPS data processed {"connection_id":129204,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:01:06] local.INFO: Acknowledgment sent {"connection_id":129204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:01:10] local.INFO: TCP Data received {"connection_id":128489,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:01:10] local.INFO: Processing buffer {"connection_id":128489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:01:10] local.INFO: IMEI packet received {"connection_id":128489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":128489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:01:10] local.INFO: TCP Data received {"connection_id":128489,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:01:10] local.INFO: Processing buffer {"connection_id":128489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:01:10] local.INFO: Packet analysis {"connection_id":128489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:01:10] local.INFO: Extracted packet for processing {"connection_id":128489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:01: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-07-11 10: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:01:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":128489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:01:10] local.INFO: GPS data processed {"connection_id":128489,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:01:10] local.INFO: Acknowledgment sent {"connection_id":128489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:01:37] local.INFO: TCP Data received {"connection_id":129204,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6f7b70012d1823400721ba280059001b23..."} 
[2026-07-11 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6f7b70012d1823400721ba280059001b23..."} 
[2026-07-11 10:01:37] local.INFO: Processing buffer {"connection_id":129204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6f7b70012d1823400721ba280059001b23..."} 
[2026-07-11 10:01:37] local.INFO: Packet analysis {"connection_id":129204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6f"} 
[2026-07-11 10:01:37] local.INFO: Extracted packet for processing {"connection_id":129204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6f"} 
[2026-07-11 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":35,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638492928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744134000,"timestamp_ms":1783744134000,"timestamp_seconds":1783744134,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6f7b70"} 
[2026-07-11 10:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-11 10:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638492928001,"66":13102,"105":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638492928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:01:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638492928001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":129204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:01:37] local.INFO: GPS data processed {"connection_id":129204,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:01:37] local.INFO: Acknowledgment sent {"connection_id":129204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:01:41] local.INFO: TCP Data received {"connection_id":128489,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:01:41] local.INFO: Processing buffer {"connection_id":128489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:01:41] local.INFO: Packet analysis {"connection_id":128489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:01:41] local.INFO: Extracted packet for processing {"connection_id":128489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:01: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-07-11 10: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:01: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-07-11 10:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:01:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":128489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:01:41] local.INFO: GPS data processed {"connection_id":128489,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:01:41] local.INFO: Acknowledgment sent {"connection_id":128489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:01:51] local.INFO: TCP Data received {"connection_id":128300,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:01:51] local.INFO: Processing buffer {"connection_id":128300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:01:51] local.INFO: IMEI packet received {"connection_id":128300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":128300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:02:00] local.INFO: TCP Data received {"connection_id":129205,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:02:00] local.INFO: Processing buffer {"connection_id":129205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:02:00] local.INFO: IMEI packet received {"connection_id":129205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":129205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:02:04] local.INFO: TCP Data received {"connection_id":129205,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:02:04] local.INFO: Processing buffer {"connection_id":129205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:02:04] local.INFO: IMEI packet received {"connection_id":129205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":129205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:02:05] local.INFO: TCP Data received {"connection_id":129206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:02:05] local.INFO: Processing buffer {"connection_id":129206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:02:05] local.INFO: IMEI packet received {"connection_id":129206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":129206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:02:05] local.INFO: TCP Data received {"connection_id":129205,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:02:05] local.INFO: Processing buffer {"connection_id":129205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:02:05] local.INFO: IMEI packet received {"connection_id":129205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":129205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:02:05] local.INFO: TCP Data received {"connection_id":129205,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f6fcd78012d1823400721ba280059001b22..."} 
[2026-07-11 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f6fcd78012d1823400721ba280059001b22..."} 
[2026-07-11 10:02:05] local.INFO: Processing buffer {"connection_id":129205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f6fcd78012d1823400721ba280059001b22..."} 
[2026-07-11 10:02:05] local.INFO: Packet analysis {"connection_id":129205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f6f"} 
[2026-07-11 10:02:05] local.INFO: Extracted packet for processing {"connection_id":129205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f6f"} 
[2026-07-11 10:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":34,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638498304001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:05] 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-07-11 10:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783744155000,"timestamp_ms":1783744155000,"timestamp_seconds":1783744155,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f6fcd78"} 
[2026-07-11 10:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 10:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638498304001,"66":13091,"107":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638498304001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:02:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638498304001,"power":13091,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":129205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:02:06] local.INFO: GPS data processed {"connection_id":129205,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:02:06] local.INFO: Acknowledgment sent {"connection_id":129205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:02:10] local.INFO: TCP Data received {"connection_id":129206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:02:10] local.INFO: Processing buffer {"connection_id":129206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:02:10] local.INFO: IMEI packet received {"connection_id":129206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":129206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:02:10] local.INFO: TCP Data received {"connection_id":129205,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f701f80012d1823400721ba280059001b24..."} 
[2026-07-11 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f701f80012d1823400721ba280059001b24..."} 
[2026-07-11 10:02:10] local.INFO: Processing buffer {"connection_id":129205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f701f80012d1823400721ba280059001b24..."} 
[2026-07-11 10:02:10] local.INFO: Packet analysis {"connection_id":129205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:02:10] local.INFO: Extracted packet for processing {"connection_id":129205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":36,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638503680001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744176000,"timestamp_ms":1783744176000,"timestamp_seconds":1783744176,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f701f80"} 
[2026-07-11 10:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 10:02:10] 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-07-11 10:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638503680001,"66":13080,"107":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638503680001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:02:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638503680001,"power":13080,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":129205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:02:11] local.INFO: GPS data processed {"connection_id":129205,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:02:11] local.INFO: Acknowledgment sent {"connection_id":129205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:02:11] local.INFO: TCP Data received {"connection_id":129206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:02:11] local.INFO: Processing buffer {"connection_id":129206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:02:11] local.INFO: Packet analysis {"connection_id":129206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:02:11] local.INFO: Extracted packet for processing {"connection_id":129206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":129206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:02:11] local.INFO: GPS data processed {"connection_id":129206,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:02:11] local.INFO: Acknowledgment sent {"connection_id":129206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:02:42] local.INFO: TCP Data received {"connection_id":129205,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f707188012d1823400721ba280059001b25..."} 
[2026-07-11 10:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f707188012d1823400721ba280059001b25..."} 
[2026-07-11 10:02:42] local.INFO: Processing buffer {"connection_id":129205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f707188012d1823400721ba280059001b25..."} 
[2026-07-11 10:02:42] local.INFO: Packet analysis {"connection_id":129205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:02:42] local.INFO: Extracted packet for processing {"connection_id":129205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638509056001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783744197000,"timestamp_ms":1783744197000,"timestamp_seconds":1783744197,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f707188"} 
[2026-07-11 10:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-11 10:02:42] 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-07-11 10:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638509056001,"66":13080,"107":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638509056001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638509056001,"power":13080,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":129205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:02:42] local.INFO: GPS data processed {"connection_id":129205,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:02:42] local.INFO: Acknowledgment sent {"connection_id":129205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:02:42] local.INFO: TCP Data received {"connection_id":129206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:02:42] local.INFO: Processing buffer {"connection_id":129206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:02:42] local.INFO: Packet analysis {"connection_id":129206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:02:42] local.INFO: Extracted packet for processing {"connection_id":129206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":129206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:02:42] local.INFO: GPS data processed {"connection_id":129206,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:02:42] local.INFO: Acknowledgment sent {"connection_id":129206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:03:05] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:03:05] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:03:05] local.INFO: IMEI packet received {"connection_id":130447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":130447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:03:05] local.INFO: TCP Data received {"connection_id":128490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:05] local.INFO: Processing buffer {"connection_id":128490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:05] local.INFO: IMEI packet received {"connection_id":128490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:03:08] local.INFO: TCP Data received {"connection_id":128490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:08] local.INFO: Processing buffer {"connection_id":128490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:08] local.INFO: IMEI packet received {"connection_id":128490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":128490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:03:08] local.INFO: TCP Data received {"connection_id":128490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f70bfa8012d1823400721ba280059001b26..."} 
[2026-07-11 10:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f70bfa8012d1823400721ba280059001b26..."} 
[2026-07-11 10:03:08] local.INFO: Processing buffer {"connection_id":128490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f70bfa8012d1823400721ba280059001b26..."} 
[2026-07-11 10:03:08] local.INFO: Packet analysis {"connection_id":128490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:03:08] local.INFO: Extracted packet for processing {"connection_id":128490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638514432001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:08] 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-07-11 10:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783744217000,"timestamp_ms":1783744217000,"timestamp_seconds":1783744217,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f70bfa8"} 
[2026-07-11 10:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-11 10:03:08] 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-07-11 10: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-07-11 10:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638514432001,"66":13015,"107":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638514432001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:03:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638514432001,"power":13015,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":128490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:03:09] local.INFO: GPS data processed {"connection_id":128490,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:03:09] local.INFO: Acknowledgment sent {"connection_id":128490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:03:09] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:03:09] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:03:09] local.INFO: IMEI packet received {"connection_id":130447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":130447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:03:10] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:03:10] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:03:10] local.INFO: Packet analysis {"connection_id":130447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:03:10] local.INFO: Extracted packet for processing {"connection_id":130447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:03: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-07-11 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:03:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":130447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:03:10] local.INFO: GPS data processed {"connection_id":130447,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:03:10] local.INFO: Acknowledgment sent {"connection_id":130447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:03:10] local.INFO: TCP Data received {"connection_id":128490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7111b0012d1823400721ba280059001b26..."} 
[2026-07-11 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7111b0012d1823400721ba280059001b26..."} 
[2026-07-11 10:03:10] local.INFO: Processing buffer {"connection_id":128490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7111b0012d1823400721ba280059001b26..."} 
[2026-07-11 10:03:10] local.INFO: Packet analysis {"connection_id":128490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f71"} 
[2026-07-11 10:03:10] local.INFO: Extracted packet for processing {"connection_id":128490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f71"} 
[2026-07-11 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638519552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744238000,"timestamp_ms":1783744238000,"timestamp_seconds":1783744238,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7111b0"} 
[2026-07-11 10:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 10:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638519552001,"66":12993,"107":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638519552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:03:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638519552001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":128490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:03:10] local.INFO: GPS data processed {"connection_id":128490,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:03:10] local.INFO: Acknowledgment sent {"connection_id":128490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:03:41] local.INFO: TCP Data received {"connection_id":128490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7163b8012d1823400721ba280059001b25..."} 
[2026-07-11 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7163b8012d1823400721ba280059001b25..."} 
[2026-07-11 10:03:41] local.INFO: Processing buffer {"connection_id":128490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7163b8012d1823400721ba280059001b25..."} 
[2026-07-11 10:03:41] local.INFO: Packet analysis {"connection_id":128490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f71"} 
[2026-07-11 10:03:41] local.INFO: Extracted packet for processing {"connection_id":128490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f71"} 
[2026-07-11 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650856,"longitude_deg":75.6556608,"latitude_deg":11.9650856,"altitude":89,"angle":27,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721ba28","is_valid_coordinates":true} 
[2026-07-11 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638524928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545288110440448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469940224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:41] 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-07-11 10:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783744259000,"timestamp_ms":1783744259000,"timestamp_seconds":1783744259,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7163b8"} 
[2026-07-11 10:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-11 10:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638524928001,"66":12950,"107":206,"83":41984,"24":0,"16":5545288110440448,"45":1739304280469940224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638524928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:03:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545288110440448,"km_value":5545288110440.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469940224,"description":"Unknown IO ID 45"} 
[2026-07-11 10:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638524928001,"power":12950,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469940224}} 
[2026-07-11 10:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":128490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:03:41] local.INFO: GPS data processed {"connection_id":128490,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:03:41] local.INFO: Acknowledgment sent {"connection_id":128490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:03:41] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:03:41] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:03:41] local.INFO: Packet analysis {"connection_id":130447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:03:41] local.INFO: Extracted packet for processing {"connection_id":130447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:03: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-07-11 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:03: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-07-11 10:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:03:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":130447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:03:41] local.INFO: GPS data processed {"connection_id":130447,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:03:41] local.INFO: Acknowledgment sent {"connection_id":130447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:03:59] local.INFO: TCP Data received {"connection_id":128491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:59] local.INFO: Processing buffer {"connection_id":128491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:59] local.INFO: IMEI packet received {"connection_id":128491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":128491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:03:59] local.INFO: TCP Data received {"connection_id":128491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:59] local.INFO: Processing buffer {"connection_id":128491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:03:59] local.INFO: IMEI packet received {"connection_id":128491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":128491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:04:00] local.INFO: TCP Data received {"connection_id":128491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:04:00] local.INFO: Processing buffer {"connection_id":128491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:04:00] local.INFO: IMEI packet received {"connection_id":128491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":128491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:04:02] local.INFO: TCP Data received {"connection_id":128491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:04:02] local.INFO: Processing buffer {"connection_id":128491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:04:02] local.INFO: IMEI packet received {"connection_id":128491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":128491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:04:03] local.INFO: TCP Data received {"connection_id":128491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f73ffb0012d1823000721b6e8004a00d829..."} 
[2026-07-11 10:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f73ffb0012d1823000721b6e8004a00d829..."} 
[2026-07-11 10:04:03] local.INFO: Processing buffer {"connection_id":128491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f73ffb0012d1823000721b6e8004a00d829..."} 
[2026-07-11 10:04:03] local.INFO: Packet analysis {"connection_id":128491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f73"} 
[2026-07-11 10:04:03] local.INFO: Extracted packet for processing {"connection_id":128491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f73"} 
[2026-07-11 10:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650024,"longitude_deg":75.6556544,"latitude_deg":11.9650024,"altitude":74,"angle":216,"satellites":41,"speed":1,"hex_longitude":"2d182300","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-07-11 10:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638573568001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545331060113408,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725565952,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783744430000,"timestamp_ms":1783744430000,"timestamp_seconds":1783744430,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f73ffb0"} 
[2026-07-11 10:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503684241752064,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":79,"raw_value":8239845696721134400,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3123183705,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3026682836683129088,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7668223676694921240,"corrected_to":0} 
[2026-07-11 10:04:03] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":268512536,"corrected_to":0} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":25051389545676800,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182019256221952,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332487815752109651,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3010002944,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430298930878094120,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84750507667038650,"corrected_to":0} 
[2026-07-11 10:04:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,179,159,228,45,64,184,74,41,10,66,224,186,89,146,1,240,227,79,33,4,113,205,246,35,40,239,50,2,19,7,164,69,200],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7668223676694921240,"validated":0},{"io_id":246,"original":268512536,"validated":0},{"io_id":200,"original":84750507667038650,"validated":0}]} 
[2026-07-11 10:04:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332473241132924928,"timestamp_seconds":5332473241132925.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":128491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":128491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":128491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638573568001,"66":12798,"105":206,"83":41984,"24":1,"16":5545331060113408,"45":1739233911725565952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638573568001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:04:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545331060113408,"km_value":5545331060113.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725565952,"description":"Unknown IO ID 45"} 
[2026-07-11 10:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638573568001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739233911725565952}} 
[2026-07-11 10:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":128491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:04:03] local.INFO: GPS data processed {"connection_id":128491,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:04:03] local.INFO: Acknowledgment sent {"connection_id":128491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:04:04] local.INFO: TCP Data received {"connection_id":129207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:04:04] local.INFO: Processing buffer {"connection_id":129207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:04:04] local.INFO: IMEI packet received {"connection_id":129207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":129207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:04:08] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:04:08] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:04:08] local.INFO: IMEI packet received {"connection_id":130448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 10:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":130448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:04:09] local.INFO: TCP Data received {"connection_id":129207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:04:09] local.INFO: Processing buffer {"connection_id":129207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:04:09] local.INFO: IMEI packet received {"connection_id":129207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":129207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:04:10] local.INFO: TCP Data received {"connection_id":129207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:04:10] local.INFO: Processing buffer {"connection_id":129207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:04:10] local.INFO: Packet analysis {"connection_id":129207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:04:10] local.INFO: Extracted packet for processing {"connection_id":129207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:04: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-07-11 10: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:04:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":129207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:04:10] local.INFO: GPS data processed {"connection_id":129207,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:04:10] local.INFO: Acknowledgment sent {"connection_id":129207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:04:12] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:04:12] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:04:12] local.INFO: IMEI packet received {"connection_id":130448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 10:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":130448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:04:13] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:04:13] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:04:13] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:04:13] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763904,"longitude_deg":76.3237824,"latitude_deg":9.7763904,"altitude":8,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3c240","is_valid_coordinates":true} 
[2026-07-11 10:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638575872001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001290278371328,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061586944,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:13] 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-07-11 10:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783744450000,"timestamp_ms":1783744450000,"timestamp_seconds":1783744450,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f744dd0"} 
[2026-07-11 10:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 10:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638575872001,"66":2275,"110":206,"85":15104,"24":0,"16":105001290278371328,"45":9085238217061586944},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638575872001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:04:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001290278371328,"km_value":105001290278371.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061586944,"description":"Unknown IO ID 45"} 
[2026-07-11 10:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638575872001,"power":2275,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061586944}} 
[2026-07-11 10:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:04:13] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:04:13] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:04:34] local.INFO: TCP Data received {"connection_id":128491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f740398012d1823000721b6c0004a00c929..."} 
[2026-07-11 10:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f740398012d1823000721b6c0004a00c929..."} 
[2026-07-11 10:04:34] local.INFO: Processing buffer {"connection_id":128491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f740398012d1823000721b6c0004a00c929..."} 
[2026-07-11 10:04:34] local.INFO: Packet analysis {"connection_id":128491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:04:34] local.INFO: Extracted packet for processing {"connection_id":128491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649984,"longitude_deg":75.6556544,"latitude_deg":11.9649984,"altitude":74,"angle":201,"satellites":41,"speed":1,"hex_longitude":"2d182300","hex_latitude":"0721b6c0","is_valid_coordinates":true} 
[2026-07-11 10:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638574080001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545335355080704,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725549568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04: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-07-11 10:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783744431000,"timestamp_ms":1783744431000,"timestamp_seconds":1783744431,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f740398"} 
[2026-07-11 10:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 10:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":128491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":128491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":128491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638574080001,"66":12798,"105":206,"83":41984,"24":1,"16":5545335355080704,"45":1739233911725549568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638574080001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:04:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545335355080704,"km_value":5545335355080.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725549568,"description":"Unknown IO ID 45"} 
[2026-07-11 10:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638574080001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739233911725549568}} 
[2026-07-11 10:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":128491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:04:34] local.INFO: GPS data processed {"connection_id":128491,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:04:34] local.INFO: Acknowledgment sent {"connection_id":128491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:04:41] local.INFO: TCP Data received {"connection_id":129207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:04:41] local.INFO: Processing buffer {"connection_id":129207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f700bf8012cb29ac007823b28004700db29..."} 
[2026-07-11 10:04:41] local.INFO: Packet analysis {"connection_id":129207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:04:41] local.INFO: Extracted packet for processing {"connection_id":129207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f70"} 
[2026-07-11 10:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638430720001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783744171000,"timestamp_ms":1783744171000,"timestamp_seconds":1783744171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f700bf8"} 
[2026-07-11 10:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:04: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-07-11 10:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638430720001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638430720001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:04:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638430720001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":129207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:04:41] local.INFO: GPS data processed {"connection_id":129207,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:04:41] local.INFO: Acknowledgment sent {"connection_id":129207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:04:44] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:04:44] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:04:44] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:04:44] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763904,"longitude_deg":76.3237824,"latitude_deg":9.7763904,"altitude":8,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3c240","is_valid_coordinates":true} 
[2026-07-11 10:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638579200001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001290278371328,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549936128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:04:44] 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-07-11 10:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783744450000,"timestamp_ms":1783744450000,"timestamp_seconds":1783744450,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f744dd0"} 
[2026-07-11 10:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-11 10:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638579200001,"66":2275,"110":206,"85":15104,"24":0,"16":105001290278371328,"45":9085378954549936128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638579200001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:04:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001290278371328,"km_value":105001290278371.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549936128,"description":"Unknown IO ID 45"} 
[2026-07-11 10:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638579200001,"power":2275,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549936128}} 
[2026-07-11 10:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:04:44] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:04:44] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:05:00] local.INFO: TCP Data received {"connection_id":128492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:05:00] local.INFO: Processing buffer {"connection_id":128492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:05:00] local.INFO: IMEI packet received {"connection_id":128492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":128492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:05:04] local.INFO: TCP Data received {"connection_id":128304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:05:04] local.INFO: Processing buffer {"connection_id":128304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:05:04] local.INFO: IMEI packet received {"connection_id":128304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":128304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:05:05] local.INFO: TCP Data received {"connection_id":128492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:05:05] local.INFO: Processing buffer {"connection_id":128492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:05:05] local.INFO: IMEI packet received {"connection_id":128492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":128492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:05:06] local.INFO: TCP Data received {"connection_id":128492,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f740f50012d1822c00721b650004a00d529..."} 
[2026-07-11 10:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f740f50012d1822c00721b650004a00d529..."} 
[2026-07-11 10:05:06] local.INFO: Processing buffer {"connection_id":128492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f740f50012d1822c00721b650004a00d529..."} 
[2026-07-11 10:05:06] local.INFO: Packet analysis {"connection_id":128492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:06] local.INFO: Extracted packet for processing {"connection_id":128492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649872,"longitude_deg":75.655648,"latitude_deg":11.9649872,"altitude":74,"angle":213,"satellites":41,"speed":2,"hex_longitude":"2d1822c0","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-07-11 10:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638574336001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545343945015296,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725539328,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744434000,"timestamp_ms":1783744434000,"timestamp_seconds":1783744434,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f740f50"} 
[2026-07-11 10:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 10:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638574336001,"66":12798,"105":206,"83":41984,"24":2,"16":5545343945015296,"45":1739233911725539328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638574336001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:05:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545343945015296,"km_value":5545343945015.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725539328,"description":"Unknown IO ID 45"} 
[2026-07-11 10:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638574336001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739233911725539328}} 
[2026-07-11 10:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":128492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:05:06] local.INFO: GPS data processed {"connection_id":128492,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:05:06] local.INFO: Acknowledgment sent {"connection_id":128492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:05:09] local.INFO: TCP Data received {"connection_id":128304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:05:09] local.INFO: Processing buffer {"connection_id":128304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:05:09] local.INFO: IMEI packet received {"connection_id":128304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":128304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:05:10] local.INFO: TCP Data received {"connection_id":128304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:05:10] local.INFO: Processing buffer {"connection_id":128304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:05:10] local.INFO: Packet analysis {"connection_id":128304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:10] local.INFO: Extracted packet for processing {"connection_id":128304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:05: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-07-11 10:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:05:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":128304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:05:10] local.INFO: GPS data processed {"connection_id":128304,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:05:10] local.INFO: Acknowledgment sent {"connection_id":128304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:05:16] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:05:16] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:05:16] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:16] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763904,"longitude_deg":76.3237824,"latitude_deg":9.7763904,"altitude":8,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3c240","is_valid_coordinates":true} 
[2026-07-11 10:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638579200001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001290278371328,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549936128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:16] 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-07-11 10:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783744450000,"timestamp_ms":1783744450000,"timestamp_seconds":1783744450,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f744dd0"} 
[2026-07-11 10:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-11 10:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638579200001,"66":2275,"110":206,"85":15104,"24":0,"16":105001290278371328,"45":9085378954549936128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638579200001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:05:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001290278371328,"km_value":105001290278371.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549936128,"description":"Unknown IO ID 45"} 
[2026-07-11 10:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638579200001,"power":2275,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549936128}} 
[2026-07-11 10:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:05:16] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:05:16] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:05:37] local.INFO: TCP Data received {"connection_id":128492,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f741720012d1822800721b608004b00e129..."} 
[2026-07-11 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f741720012d1822800721b608004b00e129..."} 
[2026-07-11 10:05:37] local.INFO: Processing buffer {"connection_id":128492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f741720012d1822800721b608004b00e129..."} 
[2026-07-11 10:05:37] local.INFO: Packet analysis {"connection_id":128492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:37] local.INFO: Extracted packet for processing {"connection_id":128492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649800,"longitude_deg":75.6556416,"latitude_deg":11.96498,"altitude":75,"angle":225,"satellites":41,"speed":1,"hex_longitude":"2d182280","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638575104001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545348239982592,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981332992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744436000,"timestamp_ms":1783744436000,"timestamp_seconds":1783744436,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f741720"} 
[2026-07-11 10:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 10:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638575104001,"66":12809,"105":206,"83":41984,"24":1,"16":5545348239982592,"45":1739163542981332992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638575104001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:05:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545348239982592,"km_value":5545348239982.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981332992,"description":"Unknown IO ID 45"} 
[2026-07-11 10:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638575104001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739163542981332992}} 
[2026-07-11 10:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":128492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:05:37] local.INFO: GPS data processed {"connection_id":128492,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:05:37] local.INFO: Acknowledgment sent {"connection_id":128492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:05:41] local.INFO: TCP Data received {"connection_id":128304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:05:41] local.INFO: Processing buffer {"connection_id":128304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:05:41] local.INFO: Packet analysis {"connection_id":128304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:41] local.INFO: Extracted packet for processing {"connection_id":128304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:05: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-07-11 10: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:05: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-07-11 10:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:05:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":128304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:05:41] local.INFO: GPS data processed {"connection_id":128304,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:05:41] local.INFO: Acknowledgment sent {"connection_id":128304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:05:47] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:05:47] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f744dd0012d7e15c005d3c2400008003429..."} 
[2026-07-11 10:05:47] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:47] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763904,"longitude_deg":76.3237824,"latitude_deg":9.7763904,"altitude":8,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3c240","is_valid_coordinates":true} 
[2026-07-11 10:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638579200001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001290278371328,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549936128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783744450000,"timestamp_ms":1783744450000,"timestamp_seconds":1783744450,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f744dd0"} 
[2026-07-11 10:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-11 10:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638579200001,"66":2275,"110":206,"85":15104,"24":0,"16":105001290278371328,"45":9085378954549936128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638579200001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:05:47] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001290278371328,"km_value":105001290278371.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549936128,"description":"Unknown IO ID 45"} 
[2026-07-11 10:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638579200001,"power":2275,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549936128}} 
[2026-07-11 10:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:05:47] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:05:47] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:06:00] local.INFO: TCP Data received {"connection_id":128493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:06:00] local.INFO: Processing buffer {"connection_id":128493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:06:00] local.INFO: IMEI packet received {"connection_id":128493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":128493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:06:05] local.INFO: TCP Data received {"connection_id":128305,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:06:05] local.INFO: Processing buffer {"connection_id":128305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:06:05] local.INFO: IMEI packet received {"connection_id":128305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":128305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:06:05] local.INFO: TCP Data received {"connection_id":128493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:06:05] local.INFO: Processing buffer {"connection_id":128493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:06:05] local.INFO: IMEI packet received {"connection_id":128493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":128493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:06:06] local.INFO: TCP Data received {"connection_id":128493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f742aa8012d1821c00721b5a0004b00d529..."} 
[2026-07-11 10:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f742aa8012d1821c00721b5a0004b00d529..."} 
[2026-07-11 10:06:06] local.INFO: Processing buffer {"connection_id":128493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f742aa8012d1821c00721b5a0004b00d529..."} 
[2026-07-11 10:06:06] local.INFO: Packet analysis {"connection_id":128493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:06] local.INFO: Extracted packet for processing {"connection_id":128493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649696,"longitude_deg":75.6556224,"latitude_deg":11.9649696,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638575616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545356829917184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237136896,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744441000,"timestamp_ms":1783744441000,"timestamp_seconds":1783744441,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f742aa8"} 
[2026-07-11 10:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":79,"raw_value":8327806626943214400,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3072852042,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744203253239379,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3010396160,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430298930878094120,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,179,159,15,45,192,182,74,41,10,66,3,255,1,240,254,227,79,33,4,113,205,228,35,40,239,50,2,19,7,89,164],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-11 10:06:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404567119054569472,"timestamp_seconds":5404567119054569.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638575616001,"66":12809,"105":206,"83":41984,"24":0,"16":5545356829917184,"45":1739093174237136896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638575616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:06:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545356829917184,"km_value":5545356829917.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237136896,"description":"Unknown IO ID 45"} 
[2026-07-11 10:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638575616001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237136896}} 
[2026-07-11 10:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":128493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:06:06] local.INFO: GPS data processed {"connection_id":128493,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:06:06] local.INFO: Acknowledgment sent {"connection_id":128493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:06:09] local.INFO: TCP Data received {"connection_id":128305,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:06:09] local.INFO: Processing buffer {"connection_id":128305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:06:09] local.INFO: IMEI packet received {"connection_id":128305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":128305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:06:10] local.INFO: TCP Data received {"connection_id":128305,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:06:10] local.INFO: Processing buffer {"connection_id":128305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:06:10] local.INFO: Packet analysis {"connection_id":128305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:10] local.INFO: Extracted packet for processing {"connection_id":128305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10: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-07-11 10:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:06:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":128305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:06:10] local.INFO: GPS data processed {"connection_id":128305,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:06:10] local.INFO: Acknowledgment sent {"connection_id":128305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:06:18] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f748480012d7e160005d3c2f00007003428..."} 
[2026-07-11 10:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f748480012d7e160005d3c2f00007003428..."} 
[2026-07-11 10:06:18] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f748480012d7e160005d3c2f00007003428..."} 
[2026-07-11 10:06:18] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:18] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763237888,"raw_latitude":97764080,"longitude_deg":76.3237888,"latitude_deg":9.776408,"altitude":7,"angle":52,"satellites":40,"speed":0,"hex_longitude":"2d7e1600","hex_latitude":"05d3c2f0","is_valid_coordinates":true} 
[2026-07-11 10:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638579200001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549936128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783744464000,"timestamp_ms":1783744464000,"timestamp_seconds":1783744464,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f748480"} 
[2026-07-11 10:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-11 10:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638579200001,"66":11428,"110":206,"85":15104,"24":0,"16":105001298868305920,"45":9085378954549936128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638579200001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:06:18] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549936128,"description":"Unknown IO ID 45"} 
[2026-07-11 10:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638579200001,"power":11428,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549936128}} 
[2026-07-11 10:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:06:18] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:06:18] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:06:37] local.INFO: TCP Data received {"connection_id":128493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7474e0012d1821c00721b590004b00db28..."} 
[2026-07-11 10:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7474e0012d1821c00721b590004b00db28..."} 
[2026-07-11 10:06:37] local.INFO: Processing buffer {"connection_id":128493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7474e0012d1821c00721b590004b00db28..."} 
[2026-07-11 10:06:37] local.INFO: Packet analysis {"connection_id":128493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:37] local.INFO: Extracted packet for processing {"connection_id":128493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649680,"longitude_deg":75.6556224,"latitude_deg":11.964968,"altitude":75,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-07-11 10:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638576896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545361124884480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004577280,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744460000,"timestamp_ms":1783744460000,"timestamp_seconds":1783744460,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7474e0"} 
[2026-07-11 10:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":79,"raw_value":8349796859498734400,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3068657738,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-11 10:06:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3758173464,"corrected_to":0} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744203253239379,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3010658304,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430298930878094121,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,179,159,23,45,128,182,75,41,10,66,15,192,74,3,1,240,254,227,79,33,4,113,205,247,35,40,239,50,2,19,7,164,111],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":247,"original":3758173464,"validated":0}]} 
[2026-07-11 10:06:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553924914970624,"timestamp_seconds":5404553924914971.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638576896001,"66":12809,"105":206,"83":41984,"24":0,"16":5545361124884480,"45":1738882068004577280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638576896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:06:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545361124884480,"km_value":5545361124884.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004577280,"description":"Unknown IO ID 45"} 
[2026-07-11 10:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638576896001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004577280}} 
[2026-07-11 10:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":128493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:06:37] local.INFO: GPS data processed {"connection_id":128493,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:06:37] local.INFO: Acknowledgment sent {"connection_id":128493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:06:41] local.INFO: TCP Data received {"connection_id":128305,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:06:41] local.INFO: Processing buffer {"connection_id":128305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:06:41] local.INFO: Packet analysis {"connection_id":128305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:41] local.INFO: Extracted packet for processing {"connection_id":128305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10: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-07-11 10:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:06: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-07-11 10:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:06:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":128305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:06:41] local.INFO: GPS data processed {"connection_id":128305,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:06:41] local.INFO: Acknowledgment sent {"connection_id":128305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:06:49] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f748480012d7e160005d3c2f00007003428..."} 
[2026-07-11 10:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f748480012d7e160005d3c2f00007003428..."} 
[2026-07-11 10:06:49] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f748480012d7e160005d3c2f00007003428..."} 
[2026-07-11 10:06:49] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:49] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763237888,"raw_latitude":97764080,"longitude_deg":76.3237888,"latitude_deg":9.776408,"altitude":7,"angle":52,"satellites":40,"speed":0,"hex_longitude":"2d7e1600","hex_latitude":"05d3c2f0","is_valid_coordinates":true} 
[2026-07-11 10:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638582784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085449323294158848,"note":"Value kept but may cause issues"} 
[2026-07-11 10:06:49] 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-07-11 10:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783744464000,"timestamp_ms":1783744464000,"timestamp_seconds":1783744464,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f748480"} 
[2026-07-11 10:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 10:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638582784001,"66":11428,"110":206,"85":15104,"24":0,"16":105001298868305920,"45":9085449323294158848},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638582784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:06:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085449323294158848,"description":"Unknown IO ID 45"} 
[2026-07-11 10:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638582784001,"power":11428,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085449323294158848}} 
[2026-07-11 10:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:06:49] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:06:49] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:07:00] local.INFO: TCP Data received {"connection_id":128306,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:07:00] local.INFO: Processing buffer {"connection_id":128306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:07:00] local.INFO: IMEI packet received {"connection_id":128306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":128306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:07:05] local.INFO: TCP Data received {"connection_id":128495,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:07:05] local.INFO: Processing buffer {"connection_id":128495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:07:05] local.INFO: IMEI packet received {"connection_id":128495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":128495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:07:05] local.INFO: TCP Data received {"connection_id":128306,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:07:05] local.INFO: Processing buffer {"connection_id":128306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:07:05] local.INFO: IMEI packet received {"connection_id":128306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":128306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:07:06] local.INFO: TCP Data received {"connection_id":128306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74c300012d1821c00721b590004b00db29..."} 
[2026-07-11 10:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74c300012d1821c00721b590004b00db29..."} 
[2026-07-11 10:07:06] local.INFO: Processing buffer {"connection_id":128306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74c300012d1821c00721b590004b00db29..."} 
[2026-07-11 10:07:06] local.INFO: Packet analysis {"connection_id":128306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:06] local.INFO: Extracted packet for processing {"connection_id":128306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649680,"longitude_deg":75.6556224,"latitude_deg":11.964968,"altitude":75,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-07-11 10:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638581760001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545361124884480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004573184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744480000,"timestamp_ms":1783744480000,"timestamp_seconds":1783744480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74c300"} 
[2026-07-11 10:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":79,"raw_value":8350896371126510400,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3066036298,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465450,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3010658304,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429735980673053737,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":1369320143632518739,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,179,159,42,45,192,181,75,41,10,66,23,128,182,15,1,240,254,227,79,33,4,113,205,255,35,232,239,49,2,19,7,74,50,164,115],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-11 10:07:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404560517689769984,"timestamp_seconds":5404560517689770.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638581760001,"66":12776,"105":206,"83":41984,"24":0,"16":5545361124884480,"45":1738882068004573184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638581760001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:07:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545361124884480,"km_value":5545361124884.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004573184,"description":"Unknown IO ID 45"} 
[2026-07-11 10:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638581760001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004573184}} 
[2026-07-11 10:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":128306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:07:06] local.INFO: GPS data processed {"connection_id":128306,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:07:06] local.INFO: Acknowledgment sent {"connection_id":128306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:07:10] local.INFO: TCP Data received {"connection_id":128495,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:07:10] local.INFO: Processing buffer {"connection_id":128495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:07:10] local.INFO: IMEI packet received {"connection_id":128495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":128495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:07:10] local.INFO: TCP Data received {"connection_id":128495,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:07:10] local.INFO: Processing buffer {"connection_id":128495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:07:10] local.INFO: Packet analysis {"connection_id":128495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:10] local.INFO: Extracted packet for processing {"connection_id":128495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:07: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-07-11 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:07:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":128495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:07:10] local.INFO: GPS data processed {"connection_id":128495,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:07:10] local.INFO: Acknowledgment sent {"connection_id":128495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:07:20] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:07:20] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:07:20] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:20] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97764104,"longitude_deg":76.3238016,"latitude_deg":9.7764104,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3c308","is_valid_coordinates":true} 
[2026-07-11 10:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638582784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085449323294158848,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:20] 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-07-11 10:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783744467000,"timestamp_ms":1783744467000,"timestamp_seconds":1783744467,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f749038"} 
[2026-07-11 10:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 10:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638582784001,"66":11852,"110":206,"85":15104,"24":0,"16":105001298868305920,"45":9085449323294158848},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638582784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:07:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085449323294158848,"description":"Unknown IO ID 45"} 
[2026-07-11 10:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638582784001,"power":11852,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085449323294158848}} 
[2026-07-11 10:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:07:20] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:07:20] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:07:26] local.INFO: TCP Data received {"connection_id":128494,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:07:26] local.INFO: Processing buffer {"connection_id":128494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:07:26] local.INFO: IMEI packet received {"connection_id":128494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":128494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:07:37] local.INFO: TCP Data received {"connection_id":128306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f750d38012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f750d38012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:07:37] local.INFO: Processing buffer {"connection_id":128306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f750d38012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:07:37] local.INFO: Packet analysis {"connection_id":128306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f75"} 
[2026-07-11 10:07:37] local.INFO: Extracted packet for processing {"connection_id":128306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f75"} 
[2026-07-11 10:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649680,"longitude_deg":75.6556224,"latitude_deg":11.964968,"altitude":75,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638586880001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545361124884480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004573184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744499000,"timestamp_ms":1783744499000,"timestamp_seconds":1783744499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f750d38"} 
[2026-07-11 10:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 10:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638586880001,"66":12776,"105":206,"83":41984,"24":0,"16":5545361124884480,"45":1738882068004573184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638586880001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:07:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545361124884480,"km_value":5545361124884.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004573184,"description":"Unknown IO ID 45"} 
[2026-07-11 10:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638586880001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004573184}} 
[2026-07-11 10:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":128306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:07:37] local.INFO: GPS data processed {"connection_id":128306,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:07:37] local.INFO: Acknowledgment sent {"connection_id":128306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:07:42] local.INFO: TCP Data received {"connection_id":128495,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:07:42] local.INFO: Processing buffer {"connection_id":128495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:07:42] local.INFO: Packet analysis {"connection_id":128495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:42] local.INFO: Extracted packet for processing {"connection_id":128495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":128495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:07:42] local.INFO: GPS data processed {"connection_id":128495,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:07:42] local.INFO: Acknowledgment sent {"connection_id":128495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:07:46] local.INFO: TCP Data received {"connection_id":129208,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:07:46] local.INFO: Processing buffer {"connection_id":129208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:07:46] local.INFO: IMEI packet received {"connection_id":129208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":129208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:07:51] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:07:51] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:07:51] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:51] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:07:51] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97764104,"longitude_deg":76.3238016,"latitude_deg":9.7764104,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3c308","is_valid_coordinates":true} 
[2026-07-11 10:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783744467000,"timestamp_ms":1783744467000,"timestamp_seconds":1783744467,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f749038"} 
[2026-07-11 10:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":11852,"110":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:07:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":11852,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:07:51] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:07:51] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:08:00] local.INFO: TCP Data received {"connection_id":128307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:08:00] local.INFO: Processing buffer {"connection_id":128307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:08:00] local.INFO: IMEI packet received {"connection_id":128307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":128307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:08:00] local.INFO: TCP Data received {"connection_id":128307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:08:00] local.INFO: Processing buffer {"connection_id":128307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:08:00] local.INFO: IMEI packet received {"connection_id":128307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":128307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:08:04] local.INFO: TCP Data received {"connection_id":128308,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:08:04] local.INFO: Processing buffer {"connection_id":128308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:08:04] local.INFO: IMEI packet received {"connection_id":128308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":128308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:08:05] local.INFO: TCP Data received {"connection_id":128307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:08:05] local.INFO: Processing buffer {"connection_id":128307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:08:05] local.INFO: IMEI packet received {"connection_id":128307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":128307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:08:06] local.INFO: TCP Data received {"connection_id":128307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f755b58012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f755b58012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:08:06] local.INFO: Processing buffer {"connection_id":128307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f755b58012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:08:06] local.INFO: Packet analysis {"connection_id":128307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f75"} 
[2026-07-11 10:08:06] local.INFO: Extracted packet for processing {"connection_id":128307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f75"} 
[2026-07-11 10:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649680,"longitude_deg":75.6556224,"latitude_deg":11.964968,"altitude":75,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638591744001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545361124884480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004573184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744519000,"timestamp_ms":1783744519000,"timestamp_seconds":1783744519,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f755b58"} 
[2026-07-11 10:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 10:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638591744001,"66":12743,"105":206,"83":41984,"24":0,"16":5545361124884480,"45":1738882068004573184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638591744001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545361124884480,"km_value":5545361124884.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004573184,"description":"Unknown IO ID 45"} 
[2026-07-11 10:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638591744001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004573184}} 
[2026-07-11 10:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":128307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:08:06] local.INFO: GPS data processed {"connection_id":128307,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:08:06] local.INFO: Acknowledgment sent {"connection_id":128307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:08:09] local.INFO: TCP Data received {"connection_id":128308,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:08:09] local.INFO: Processing buffer {"connection_id":128308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:08:09] local.INFO: IMEI packet received {"connection_id":128308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":128308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:08:10] local.INFO: TCP Data received {"connection_id":128308,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:08:10] local.INFO: Processing buffer {"connection_id":128308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:08:10] local.INFO: Packet analysis {"connection_id":128308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:08:10] local.INFO: Extracted packet for processing {"connection_id":128308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:08: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-07-11 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:08:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":128308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:08:10] local.INFO: GPS data processed {"connection_id":128308,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:08:10] local.INFO: Acknowledgment sent {"connection_id":128308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:08:22] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:08:22] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:08:22] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:08:22] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97764104,"longitude_deg":76.3238016,"latitude_deg":9.7764104,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3c308","is_valid_coordinates":true} 
[2026-07-11 10:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:22] 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-07-11 10:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783744467000,"timestamp_ms":1783744467000,"timestamp_seconds":1783744467,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f749038"} 
[2026-07-11 10:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":11852,"110":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:08:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:08:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":11852,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:08:22] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:08:22] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:08:37] local.INFO: TCP Data received {"connection_id":128307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f75a590012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f75a590012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:08:37] local.INFO: Processing buffer {"connection_id":128307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f75a590012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:08:37] local.INFO: Packet analysis {"connection_id":128307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f75"} 
[2026-07-11 10:08:37] local.INFO: Extracted packet for processing {"connection_id":128307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f75"} 
[2026-07-11 10:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649680,"longitude_deg":75.6556224,"latitude_deg":11.964968,"altitude":75,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-07-11 10:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638596864001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545361124884480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004573184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744538000,"timestamp_ms":1783744538000,"timestamp_seconds":1783744538,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f75a590"} 
[2026-07-11 10:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 10:08:37] 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-07-11 10:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638596864001,"66":12743,"105":206,"83":41984,"24":0,"16":5545361124884480,"45":1738882068004573184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638596864001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:08:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545361124884480,"km_value":5545361124884.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004573184,"description":"Unknown IO ID 45"} 
[2026-07-11 10:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638596864001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004573184}} 
[2026-07-11 10:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":128307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:08:37] local.INFO: GPS data processed {"connection_id":128307,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:08:37] local.INFO: Acknowledgment sent {"connection_id":128307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:08:42] local.INFO: TCP Data received {"connection_id":128308,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:08:42] local.INFO: Processing buffer {"connection_id":128308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:08:42] local.INFO: Packet analysis {"connection_id":128308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:08:42] local.INFO: Extracted packet for processing {"connection_id":128308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:08:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:08:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":128308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:08:42] local.INFO: GPS data processed {"connection_id":128308,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:08:42] local.INFO: Acknowledgment sent {"connection_id":128308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:08:54] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:08:54] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:08:54] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:08:54] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97764104,"longitude_deg":76.3238016,"latitude_deg":9.7764104,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3c308","is_valid_coordinates":true} 
[2026-07-11 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:08:54] 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-07-11 10:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783744467000,"timestamp_ms":1783744467000,"timestamp_seconds":1783744467,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f749038"} 
[2026-07-11 10:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":11852,"110":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:08:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":11852,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:08:54] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:08:54] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:09:00] local.INFO: TCP Data received {"connection_id":128309,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:09:00] local.INFO: Processing buffer {"connection_id":128309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:09:00] local.INFO: IMEI packet received {"connection_id":128309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":128309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:09:03] local.INFO: TCP Data received {"connection_id":128309,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:09:03] local.INFO: Processing buffer {"connection_id":128309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:09:03] local.INFO: IMEI packet received {"connection_id":128309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":128309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:09:04] local.INFO: TCP Data received {"connection_id":128310,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:09:04] local.INFO: Processing buffer {"connection_id":128310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:09:04] local.INFO: IMEI packet received {"connection_id":128310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":128310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:09:05] local.INFO: TCP Data received {"connection_id":128309,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:09:05] local.INFO: Processing buffer {"connection_id":128309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:09:05] local.INFO: IMEI packet received {"connection_id":128309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":128309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:09:06] local.INFO: TCP Data received {"connection_id":128309,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f75f3b0012d1821c00721b590004b00db28..."} 
[2026-07-11 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f75f3b0012d1821c00721b590004b00db28..."} 
[2026-07-11 10:09:06] local.INFO: Processing buffer {"connection_id":128309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f75f3b0012d1821c00721b590004b00db28..."} 
[2026-07-11 10:09:06] local.INFO: Packet analysis {"connection_id":128309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f75"} 
[2026-07-11 10:09:06] local.INFO: Extracted packet for processing {"connection_id":128309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f75"} 
[2026-07-11 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649680,"longitude_deg":75.6556224,"latitude_deg":11.964968,"altitude":75,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638601728001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545361124884480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004573184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744558000,"timestamp_ms":1783744558000,"timestamp_seconds":1783744558,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f75f3b0"} 
[2026-07-11 10:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 10:09:06] 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-07-11 10: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-07-11 10:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638601728001,"66":12722,"105":206,"83":41984,"24":0,"16":5545361124884480,"45":1738882068004573184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638601728001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:09:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545361124884480,"km_value":5545361124884.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004573184,"description":"Unknown IO ID 45"} 
[2026-07-11 10:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638601728001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004573184}} 
[2026-07-11 10:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":128309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:09:06] local.INFO: GPS data processed {"connection_id":128309,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:09:06] local.INFO: Acknowledgment sent {"connection_id":128309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:09:10] local.INFO: TCP Data received {"connection_id":128310,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:09:10] local.INFO: Processing buffer {"connection_id":128310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:09:10] local.INFO: IMEI packet received {"connection_id":128310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":128310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:09:10] local.INFO: TCP Data received {"connection_id":128310,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:09:10] local.INFO: Processing buffer {"connection_id":128310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:09:10] local.INFO: Packet analysis {"connection_id":128310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:09:10] local.INFO: Extracted packet for processing {"connection_id":128310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:09: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-07-11 10:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:09:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":128310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:09:10] local.INFO: GPS data processed {"connection_id":128310,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:09:10] local.INFO: Acknowledgment sent {"connection_id":128310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:09:25] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:09:25] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f749038012d7e168005d3c3080006003429..."} 
[2026-07-11 10:09:25] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:09:25] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97764104,"longitude_deg":76.3238016,"latitude_deg":9.7764104,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3c308","is_valid_coordinates":true} 
[2026-07-11 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:25] 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-07-11 10:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783744467000,"timestamp_ms":1783744467000,"timestamp_seconds":1783744467,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f749038"} 
[2026-07-11 10:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":11852,"110":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 10:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:09:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 10:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":11852,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:09:25] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:09:25] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:09:37] local.INFO: TCP Data received {"connection_id":128309,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f763de8012d1821c00721b590004b00db27..."} 
[2026-07-11 10:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f763de8012d1821c00721b590004b00db27..."} 
[2026-07-11 10:09:37] local.INFO: Processing buffer {"connection_id":128309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f763de8012d1821c00721b590004b00db27..."} 
[2026-07-11 10:09:37] local.INFO: Packet analysis {"connection_id":128309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f76"} 
[2026-07-11 10:09:37] local.INFO: Extracted packet for processing {"connection_id":128309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f76"} 
[2026-07-11 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649680,"longitude_deg":75.6556224,"latitude_deg":11.964968,"altitude":75,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-07-11 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638606848001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545361124884480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004573184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744577000,"timestamp_ms":1783744577000,"timestamp_seconds":1783744577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f763de8"} 
[2026-07-11 10:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 10:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638606848001,"66":12722,"105":206,"83":41984,"24":0,"16":5545361124884480,"45":1738882068004573184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638606848001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545361124884480,"km_value":5545361124884.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004573184,"description":"Unknown IO ID 45"} 
[2026-07-11 10:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638606848001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004573184}} 
[2026-07-11 10:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":128309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:09:37] local.INFO: GPS data processed {"connection_id":128309,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:09:37] local.INFO: Acknowledgment sent {"connection_id":128309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:09:41] local.INFO: TCP Data received {"connection_id":128310,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:09:41] local.INFO: Processing buffer {"connection_id":128310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f74a3c0012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:09:41] local.INFO: Packet analysis {"connection_id":128310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:09:41] local.INFO: Extracted packet for processing {"connection_id":128310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f74"} 
[2026-07-11 10:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638507776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783744472000,"timestamp_ms":1783744472000,"timestamp_seconds":1783744472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f74a3c0"} 
[2026-07-11 10:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:09: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-07-11 10:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:09: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-07-11 10:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638507776001,"66":25397,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638507776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:09:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638507776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":128310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:09:41] local.INFO: GPS data processed {"connection_id":128310,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:09:41] local.INFO: Acknowledgment sent {"connection_id":128310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:09:57] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:09:57] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:09:57] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:09:57] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:09:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:09:57] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:09:57] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:10:00] local.INFO: TCP Data received {"connection_id":128497,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:10:00] local.INFO: Processing buffer {"connection_id":128497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:10:00] local.INFO: IMEI packet received {"connection_id":128497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":128497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:10:05] local.INFO: TCP Data received {"connection_id":128497,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:10:05] local.INFO: Processing buffer {"connection_id":128497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:10:05] local.INFO: IMEI packet received {"connection_id":128497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":128497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:10:06] local.INFO: TCP Data received {"connection_id":128497,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f768c08012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f768c08012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:10:06] local.INFO: Processing buffer {"connection_id":128497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f768c08012d1821c00721b590004b00db2a..."} 
[2026-07-11 10:10:06] local.INFO: Packet analysis {"connection_id":128497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f76"} 
[2026-07-11 10:10:06] local.INFO: Extracted packet for processing {"connection_id":128497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f76"} 
[2026-07-11 10:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649680,"longitude_deg":75.6556224,"latitude_deg":11.964968,"altitude":75,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-07-11 10:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638611712001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545361124884480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004573184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744597000,"timestamp_ms":1783744597000,"timestamp_seconds":1783744597,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f768c08"} 
[2026-07-11 10:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 10:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638611712001,"66":12711,"105":206,"83":41984,"24":0,"16":5545361124884480,"45":1738882068004573184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638611712001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:10:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545361124884480,"km_value":5545361124884.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004573184,"description":"Unknown IO ID 45"} 
[2026-07-11 10:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638611712001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004573184}} 
[2026-07-11 10:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":128497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:10:06] local.INFO: GPS data processed {"connection_id":128497,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:10:06] local.INFO: Acknowledgment sent {"connection_id":128497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:10:09] local.INFO: TCP Data received {"connection_id":128311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:10:09] local.INFO: Processing buffer {"connection_id":128311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:10:09] local.INFO: IMEI packet received {"connection_id":128311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":128311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:10:10] local.INFO: TCP Data received {"connection_id":128311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:10:10] local.INFO: Processing buffer {"connection_id":128311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:10:10] local.INFO: IMEI packet received {"connection_id":128311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":128311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:10:11] local.INFO: TCP Data received {"connection_id":128311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:10:11] local.INFO: Processing buffer {"connection_id":128311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:10:11] local.INFO: Packet analysis {"connection_id":128311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:11] local.INFO: Extracted packet for processing {"connection_id":128311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638584832001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783744773000,"timestamp_ms":1783744773000,"timestamp_seconds":1783744773,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f793b88"} 
[2026-07-11 10:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 10:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638584832001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638584832001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638584832001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":128311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:10:11] local.INFO: GPS data processed {"connection_id":128311,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:10:11] local.INFO: Acknowledgment sent {"connection_id":128311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:10:15] local.INFO: TCP Data received {"connection_id":128311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:10:15] local.INFO: Processing buffer {"connection_id":128311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:10:15] local.INFO: Packet analysis {"connection_id":128311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:15] local.INFO: Extracted packet for processing {"connection_id":128311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:15] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638584832001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783744773000,"timestamp_ms":1783744773000,"timestamp_seconds":1783744773,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f793b88"} 
[2026-07-11 10:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 10:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638584832001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638584832001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:10:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638584832001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":128311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:10:15] local.INFO: GPS data processed {"connection_id":128311,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:10:15] local.INFO: Acknowledgment sent {"connection_id":128311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:10:28] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:10:28] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:10:28] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:28] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:10:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:10:28] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:10:28] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:10:38] local.INFO: TCP Data received {"connection_id":128497,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f76da28012d181f800721b2a8004900db2a..."} 
[2026-07-11 10:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f76da28012d181f800721b2a8004900db2a..."} 
[2026-07-11 10:10:38] local.INFO: Processing buffer {"connection_id":128497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f76da28012d181f800721b2a8004900db2a..."} 
[2026-07-11 10:10:38] local.INFO: Packet analysis {"connection_id":128497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f76"} 
[2026-07-11 10:10:38] local.INFO: Extracted packet for processing {"connection_id":128497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f76"} 
[2026-07-11 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638616832001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004573184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783744617000,"timestamp_ms":1783744617000,"timestamp_seconds":1783744617,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f76da28"} 
[2026-07-11 10:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:10:38] 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-07-11 10:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 10:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638616832001,"66":12711,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738882068004573184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638616832001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:10:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004573184,"description":"Unknown IO ID 45"} 
[2026-07-11 10:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638616832001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004573184}} 
[2026-07-11 10:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":128497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:10:38] local.INFO: GPS data processed {"connection_id":128497,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:10:38] local.INFO: Acknowledgment sent {"connection_id":128497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:10:46] local.INFO: TCP Data received {"connection_id":128311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:10:46] local.INFO: Processing buffer {"connection_id":128311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:10:46] local.INFO: Packet analysis {"connection_id":128311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:46] local.INFO: Extracted packet for processing {"connection_id":128311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638584832001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783744773000,"timestamp_ms":1783744773000,"timestamp_seconds":1783744773,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f793b88"} 
[2026-07-11 10:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 10:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638584832001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638584832001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:10:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638584832001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":128311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:10:46] local.INFO: GPS data processed {"connection_id":128311,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:10:46] local.INFO: Acknowledgment sent {"connection_id":128311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:10:48] local.INFO: TCP Data received {"connection_id":128498,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:10:48] local.INFO: Processing buffer {"connection_id":128498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:10:48] local.INFO: IMEI packet received {"connection_id":128498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 10:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":128498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:10:53] local.INFO: TCP Data received {"connection_id":128498,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:10:53] local.INFO: Processing buffer {"connection_id":128498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:10:53] local.INFO: IMEI packet received {"connection_id":128498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 10:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":128498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:10:54] local.INFO: TCP Data received {"connection_id":128498,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:10:54] local.INFO: Processing buffer {"connection_id":128498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:10:54] local.INFO: Packet analysis {"connection_id":128498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:54] local.INFO: Extracted packet for processing {"connection_id":128498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":128498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:10:54] local.INFO: GPS data processed {"connection_id":128498,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:10:54] local.INFO: Acknowledgment sent {"connection_id":128498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:11:00] local.INFO: TCP Data received {"connection_id":130451,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:11:00] local.INFO: Processing buffer {"connection_id":130451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:11:00] local.INFO: IMEI packet received {"connection_id":130451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":130451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:11:05] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:11:05] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:11:05] local.INFO: IMEI packet received {"connection_id":130452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":130452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:11:05] local.INFO: TCP Data received {"connection_id":130451,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:11:05] local.INFO: Processing buffer {"connection_id":130451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:11:05] local.INFO: IMEI packet received {"connection_id":130451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":130451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:11:06] local.INFO: TCP Data received {"connection_id":130451,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f772460012d181f800721b2a8004900db2a..."} 
[2026-07-11 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f772460012d181f800721b2a8004900db2a..."} 
[2026-07-11 10:11:06] local.INFO: Processing buffer {"connection_id":130451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f772460012d181f800721b2a8004900db2a..."} 
[2026-07-11 10:11:06] local.INFO: Packet analysis {"connection_id":130451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f77"} 
[2026-07-11 10:11:06] local.INFO: Extracted packet for processing {"connection_id":130451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f77"} 
[2026-07-11 10:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638621952001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744636000,"timestamp_ms":1783744636000,"timestamp_seconds":1783744636,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f772460"} 
[2026-07-11 10:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 10:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638621952001,"66":12678,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638621952001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638621952001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":130451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:11:06] local.INFO: GPS data processed {"connection_id":130451,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:11:06] local.INFO: Acknowledgment sent {"connection_id":130451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:11:10] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:11:10] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:11:10] local.INFO: IMEI packet received {"connection_id":130452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":130452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:11:10] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:11:10] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f793b88012cb29ac007823b28004700db29..."} 
[2026-07-11 10:11:10] local.INFO: Packet analysis {"connection_id":130452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:11:10] local.INFO: Extracted packet for processing {"connection_id":130452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638584832001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744773000,"timestamp_ms":1783744773000,"timestamp_seconds":1783744773,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f793b88"} 
[2026-07-11 10:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:11: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-07-11 10:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 10:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638584832001,"66":25430,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638584832001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:11:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638584832001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":130452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:11:10] local.INFO: GPS data processed {"connection_id":130452,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:11:10] local.INFO: Acknowledgment sent {"connection_id":130452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:11:25] local.INFO: TCP Data received {"connection_id":128498,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:11:25] local.INFO: Processing buffer {"connection_id":128498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:11:25] local.INFO: Packet analysis {"connection_id":128498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:11:25] local.INFO: Extracted packet for processing {"connection_id":128498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":128498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":128498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":128498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":128498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:11:25] local.INFO: GPS data processed {"connection_id":128498,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:11:25] local.INFO: Acknowledgment sent {"connection_id":128498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:11:37] local.INFO: TCP Data received {"connection_id":130451,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f777280012d181f800721b2a8004900db27..."} 
[2026-07-11 10:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f777280012d181f800721b2a8004900db27..."} 
[2026-07-11 10:11:37] local.INFO: Processing buffer {"connection_id":130451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f777280012d181f800721b2a8004900db27..."} 
[2026-07-11 10:11:37] local.INFO: Packet analysis {"connection_id":130451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f77"} 
[2026-07-11 10:11:37] local.INFO: Extracted packet for processing {"connection_id":130451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f77"} 
[2026-07-11 10:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638626816001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744656000,"timestamp_ms":1783744656000,"timestamp_seconds":1783744656,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f777280"} 
[2026-07-11 10:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 10:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638626816001,"66":12613,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638626816001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:11:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638626816001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":130451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:11:37] local.INFO: GPS data processed {"connection_id":130451,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:11:37] local.INFO: Acknowledgment sent {"connection_id":130451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:11:41] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7a8f60012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7a8f60012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:11:41] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7a8f60012cb29ac007823b28004700db2a..."} 
[2026-07-11 10:11:41] local.INFO: Packet analysis {"connection_id":130452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7a"} 
[2026-07-11 10:11:41] local.INFO: Extracted packet for processing {"connection_id":130452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7a"} 
[2026-07-11 10:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975336,"longitude_deg":74.9902528,"latitude_deg":12.5975336,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-11 10:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638661888001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783744860000,"timestamp_ms":1783744860000,"timestamp_seconds":1783744860,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7a8f60"} 
[2026-07-11 10:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 10:11: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-07-11 10:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638661888001,"66":25451,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638661888001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:11:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638661888001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":130452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:11:41] local.INFO: GPS data processed {"connection_id":130452,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:11:41] local.INFO: Acknowledgment sent {"connection_id":130452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:11:53] local.INFO: TCP Data received {"connection_id":128500,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:11:53] local.INFO: Processing buffer {"connection_id":128500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:11:53] local.INFO: IMEI packet received {"connection_id":128500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 10:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":128500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:11:58] local.INFO: TCP Data received {"connection_id":128500,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:11:58] local.INFO: Processing buffer {"connection_id":128500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:11:58] local.INFO: IMEI packet received {"connection_id":128500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 10:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":128500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:11:59] local.INFO: TCP Data received {"connection_id":128500,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:11:59] local.INFO: Processing buffer {"connection_id":128500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:11:59] local.INFO: Packet analysis {"connection_id":128500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:11:59] local.INFO: Extracted packet for processing {"connection_id":128500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":128500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":128500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":128500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":128500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:11:59] local.INFO: GPS data processed {"connection_id":128500,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:11:59] local.INFO: Acknowledgment sent {"connection_id":128500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:12:03] local.INFO: TCP Data received {"connection_id":128500,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:12:03] local.INFO: Processing buffer {"connection_id":128500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:12:03] local.INFO: Packet analysis {"connection_id":128500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:12:03] local.INFO: Extracted packet for processing {"connection_id":128500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":128500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":128500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":128500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":128500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:12:03] local.INFO: GPS data processed {"connection_id":128500,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:12:03] local.INFO: Acknowledgment sent {"connection_id":128500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:12:05] local.INFO: TCP Data received {"connection_id":128312,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:12:05] local.INFO: Processing buffer {"connection_id":128312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:12:05] local.INFO: IMEI packet received {"connection_id":128312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":128312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:12:10] local.INFO: TCP Data received {"connection_id":128501,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:12:10] local.INFO: Processing buffer {"connection_id":128501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:12:10] local.INFO: IMEI packet received {"connection_id":128501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":128501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:12:10] local.INFO: TCP Data received {"connection_id":128312,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:12:10] local.INFO: Processing buffer {"connection_id":128312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:12:10] local.INFO: IMEI packet received {"connection_id":128312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":128312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:12:11] local.INFO: TCP Data received {"connection_id":128312,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f77bcb8012d181f800721b2a8004900db28..."} 
[2026-07-11 10:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f77bcb8012d181f800721b2a8004900db28..."} 
[2026-07-11 10:12:11] local.INFO: Processing buffer {"connection_id":128312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f77bcb8012d181f800721b2a8004900db28..."} 
[2026-07-11 10:12:11] local.INFO: Packet analysis {"connection_id":128312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f77"} 
[2026-07-11 10:12:11] local.INFO: Extracted packet for processing {"connection_id":128312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f77"} 
[2026-07-11 10:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638631936001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783744675000,"timestamp_ms":1783744675000,"timestamp_seconds":1783744675,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f77bcb8"} 
[2026-07-11 10:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:12:11] 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-07-11 10:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 10:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638631936001,"66":12645,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638631936001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:12:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638631936001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":128312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:12:11] local.INFO: GPS data processed {"connection_id":128312,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:12:11] local.INFO: Acknowledgment sent {"connection_id":128312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:12:12] local.INFO: TCP Data received {"connection_id":128312,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f780ad8012d181f800721b2a8004900db27..."} 
[2026-07-11 10:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f780ad8012d181f800721b2a8004900db27..."} 
[2026-07-11 10:12:12] local.INFO: Processing buffer {"connection_id":128312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f780ad8012d181f800721b2a8004900db27..."} 
[2026-07-11 10:12:12] local.INFO: Packet analysis {"connection_id":128312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f78"} 
[2026-07-11 10:12:12] local.INFO: Extracted packet for processing {"connection_id":128312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f78"} 
[2026-07-11 10:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638636800001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783744695000,"timestamp_ms":1783744695000,"timestamp_seconds":1783744695,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f780ad8"} 
[2026-07-11 10:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 10:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638636800001,"66":12667,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638636800001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:12:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638636800001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":128312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:12:13] local.INFO: GPS data processed {"connection_id":128312,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:12:13] local.INFO: Acknowledgment sent {"connection_id":128312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:12:15] local.INFO: TCP Data received {"connection_id":128501,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:12:15] local.INFO: Processing buffer {"connection_id":128501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:12:15] local.INFO: IMEI packet received {"connection_id":128501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":128501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:12:16] local.INFO: TCP Data received {"connection_id":128501,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7ae938012cb29c0007823b18004700db2b..."} 
[2026-07-11 10:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7ae938012cb29c0007823b18004700db2b..."} 
[2026-07-11 10:12:16] local.INFO: Processing buffer {"connection_id":128501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7ae938012cb29c0007823b18004700db2b..."} 
[2026-07-11 10:12:16] local.INFO: Packet analysis {"connection_id":128501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7a"} 
[2026-07-11 10:12:16] local.INFO: Extracted packet for processing {"connection_id":128501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7a"} 
[2026-07-11 10:12:16] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975320,"longitude_deg":74.9902848,"latitude_deg":12.597532,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-07-11 10:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638684160001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783744883000,"timestamp_ms":1783744883000,"timestamp_seconds":1783744883,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7ae938"} 
[2026-07-11 10:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 10:12:16] 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-07-11 10:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638684160001,"66":27919,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638684160001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:12:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:12:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638684160001,"power":27919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":128501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:12:16] local.INFO: GPS data processed {"connection_id":128501,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:12:16] local.INFO: Acknowledgment sent {"connection_id":128501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:12:20] local.INFO: TCP Data received {"connection_id":128501,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7ae938012cb29c0007823b18004700db2b..."} 
[2026-07-11 10:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7ae938012cb29c0007823b18004700db2b..."} 
[2026-07-11 10:12:20] local.INFO: Processing buffer {"connection_id":128501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7ae938012cb29c0007823b18004700db2b..."} 
[2026-07-11 10:12:20] local.INFO: Packet analysis {"connection_id":128501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7a"} 
[2026-07-11 10:12:20] local.INFO: Extracted packet for processing {"connection_id":128501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7a"} 
[2026-07-11 10:12:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975320,"longitude_deg":74.9902848,"latitude_deg":12.597532,"altitude":71,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-07-11 10:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638684160001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062718976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783744883000,"timestamp_ms":1783744883000,"timestamp_seconds":1783744883,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7ae938"} 
[2026-07-11 10:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 10:12:20] 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-07-11 10:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638684160001,"66":27919,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576934050062718976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638684160001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:12:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062718976,"description":"Unknown IO ID 44"} 
[2026-07-11 10:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638684160001,"power":27919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062718976}} 
[2026-07-11 10:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":128501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:12:20] local.INFO: GPS data processed {"connection_id":128501,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:12:20] local.INFO: Acknowledgment sent {"connection_id":128501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:12:44] local.INFO: TCP Data received {"connection_id":128312,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f785510012d181f800721b2a8004900db27..."} 
[2026-07-11 10:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f785510012d181f800721b2a8004900db27..."} 
[2026-07-11 10:12:44] local.INFO: Processing buffer {"connection_id":128312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f785510012d181f800721b2a8004900db27..."} 
[2026-07-11 10:12:44] local.INFO: Packet analysis {"connection_id":128312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f78"} 
[2026-07-11 10:12:44] local.INFO: Extracted packet for processing {"connection_id":128312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f78"} 
[2026-07-11 10:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638641920001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783744714000,"timestamp_ms":1783744714000,"timestamp_seconds":1783744714,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f785510"} 
[2026-07-11 10:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 10:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638641920001,"66":12580,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638641920001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:12:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638641920001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":128312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:12:44] local.INFO: GPS data processed {"connection_id":128312,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:12:44] local.INFO: Acknowledgment sent {"connection_id":128312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:12:48] local.INFO: TCP Data received {"connection_id":128313,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:12:48] local.INFO: Processing buffer {"connection_id":128313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:12:48] local.INFO: IMEI packet received {"connection_id":128313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 10:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":128313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:12:53] local.INFO: TCP Data received {"connection_id":128313,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:12:53] local.INFO: Processing buffer {"connection_id":128313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:12:53] local.INFO: IMEI packet received {"connection_id":128313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 10:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":128313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:12:54] local.INFO: TCP Data received {"connection_id":128313,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:12:54] local.INFO: Processing buffer {"connection_id":128313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:12:54] local.INFO: Packet analysis {"connection_id":128313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:12:54] local.INFO: Extracted packet for processing {"connection_id":128313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":128313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:12:54] local.INFO: GPS data processed {"connection_id":128313,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:12:54] local.INFO: Acknowledgment sent {"connection_id":128313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:13:00] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:13:00] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:13:00] local.INFO: IMEI packet received {"connection_id":130453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":130453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:13:04] local.INFO: TCP Data received {"connection_id":130454,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:13:04] local.INFO: Processing buffer {"connection_id":130454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:13:04] local.INFO: IMEI packet received {"connection_id":130454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":130454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:13:04] local.INFO: TCP Data received {"connection_id":130454,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:13:04] local.INFO: Processing buffer {"connection_id":130454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:13:04] local.INFO: IMEI packet received {"connection_id":130454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":130454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:13:05] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:13:05] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:13:05] local.INFO: IMEI packet received {"connection_id":130453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":130453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:13:06] local.INFO: TCP Data received {"connection_id":129210,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:13:06] local.INFO: Processing buffer {"connection_id":129210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:13:06] local.INFO: IMEI packet received {"connection_id":129210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":129210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:13:06] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f789f48012d181f800721b2a8004900db29..."} 
[2026-07-11 10:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f789f48012d181f800721b2a8004900db29..."} 
[2026-07-11 10:13:06] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f789f48012d181f800721b2a8004900db29..."} 
[2026-07-11 10:13:06] local.INFO: Packet analysis {"connection_id":130453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f78"} 
[2026-07-11 10:13:06] local.INFO: Extracted packet for processing {"connection_id":130453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f78"} 
[2026-07-11 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638646784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744733000,"timestamp_ms":1783744733000,"timestamp_seconds":1783744733,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f789f48"} 
[2026-07-11 10:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-11 10:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638646784001,"66":12645,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638646784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:13:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638646784001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":130453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:13:06] local.INFO: GPS data processed {"connection_id":130453,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:13:06] local.INFO: Acknowledgment sent {"connection_id":130453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:13:10] local.INFO: TCP Data received {"connection_id":130454,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:13:10] local.INFO: Processing buffer {"connection_id":130454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:13:10] local.INFO: IMEI packet received {"connection_id":130454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":130454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:13:10] local.INFO: TCP Data received {"connection_id":130454,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7b3b40012cb29c0007823b18004700db2a..."} 
[2026-07-11 10:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7b3b40012cb29c0007823b18004700db2a..."} 
[2026-07-11 10:13:10] local.INFO: Processing buffer {"connection_id":130454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7b3b40012cb29c0007823b18004700db2a..."} 
[2026-07-11 10:13:10] local.INFO: Packet analysis {"connection_id":130454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7b"} 
[2026-07-11 10:13:10] local.INFO: Extracted packet for processing {"connection_id":130454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7b"} 
[2026-07-11 10:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975320,"longitude_deg":74.9902848,"latitude_deg":12.597532,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-07-11 10:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638690048001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341834752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744904000,"timestamp_ms":1783744904000,"timestamp_seconds":1783744904,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7b3b40"} 
[2026-07-11 10:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638690048001,"66":27865,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576582206341834752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638690048001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:13:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341834752,"description":"Unknown IO ID 44"} 
[2026-07-11 10:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638690048001,"power":27865,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341834752}} 
[2026-07-11 10:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":130454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:13:10] local.INFO: GPS data processed {"connection_id":130454,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:13:10] local.INFO: Acknowledgment sent {"connection_id":130454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:13:25] local.INFO: TCP Data received {"connection_id":128313,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:13:25] local.INFO: Processing buffer {"connection_id":128313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:13:25] local.INFO: Packet analysis {"connection_id":128313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:13:25] local.INFO: Extracted packet for processing {"connection_id":128313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":128313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":128313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":128313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":128313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:13:25] local.INFO: GPS data processed {"connection_id":128313,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:13:25] local.INFO: Acknowledgment sent {"connection_id":128313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:13:37] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f78e980012d181f800721b2a8004900db28..."} 
[2026-07-11 10:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f78e980012d181f800721b2a8004900db28..."} 
[2026-07-11 10:13:37] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f78e980012d181f800721b2a8004900db28..."} 
[2026-07-11 10:13:37] local.INFO: Packet analysis {"connection_id":130453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f78"} 
[2026-07-11 10:13:37] local.INFO: Extracted packet for processing {"connection_id":130453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f78"} 
[2026-07-11 10:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638651648001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744752000,"timestamp_ms":1783744752000,"timestamp_seconds":1783744752,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f78e980"} 
[2026-07-11 10:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 10:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638651648001,"66":12613,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638651648001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:13:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638651648001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":130453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:13:37] local.INFO: GPS data processed {"connection_id":130453,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:13:37] local.INFO: Acknowledgment sent {"connection_id":130453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:13:41] local.INFO: TCP Data received {"connection_id":130454,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7b8d48012cb29c0007823b18004700db2a..."} 
[2026-07-11 10:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7b8d48012cb29c0007823b18004700db2a..."} 
[2026-07-11 10:13:41] local.INFO: Processing buffer {"connection_id":130454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7b8d48012cb29c0007823b18004700db2a..."} 
[2026-07-11 10:13:41] local.INFO: Packet analysis {"connection_id":130454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7b"} 
[2026-07-11 10:13:41] local.INFO: Extracted packet for processing {"connection_id":130454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7b"} 
[2026-07-11 10:13:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975320,"longitude_deg":74.9902848,"latitude_deg":12.597532,"altitude":71,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-07-11 10:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638695424001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341834752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783744925000,"timestamp_ms":1783744925000,"timestamp_seconds":1783744925,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7b8d48"} 
[2026-07-11 10:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:13:41] 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-07-11 10:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 10:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638695424001,"66":27843,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576582206341834752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638695424001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:13:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341834752,"description":"Unknown IO ID 44"} 
[2026-07-11 10:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638695424001,"power":27843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341834752}} 
[2026-07-11 10:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":130454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:13:41] local.INFO: GPS data processed {"connection_id":130454,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:13:41] local.INFO: Acknowledgment sent {"connection_id":130454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:13:45] local.INFO: TCP Data received {"connection_id":129211,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:13:45] local.INFO: Processing buffer {"connection_id":129211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:13:45] local.INFO: IMEI packet received {"connection_id":129211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":129211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:13:48] local.INFO: TCP Data received {"connection_id":128502,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:13:48] local.INFO: Processing buffer {"connection_id":128502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:13:48] local.INFO: IMEI packet received {"connection_id":128502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 10:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":128502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:13:53] local.INFO: TCP Data received {"connection_id":128502,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:13:53] local.INFO: Processing buffer {"connection_id":128502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:13:53] local.INFO: IMEI packet received {"connection_id":128502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 10:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":128502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:13:54] local.INFO: TCP Data received {"connection_id":128502,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:13:54] local.INFO: Processing buffer {"connection_id":128502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:13:54] local.INFO: Packet analysis {"connection_id":128502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:13:54] local.INFO: Extracted packet for processing {"connection_id":128502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":128502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":128502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":128502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:13:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":128502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:13:54] local.INFO: GPS data processed {"connection_id":128502,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:13:54] local.INFO: Acknowledgment sent {"connection_id":128502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:13:57] local.INFO: TCP Data received {"connection_id":128314,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:13:57] local.INFO: Processing buffer {"connection_id":128314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:13:57] local.INFO: IMEI packet received {"connection_id":128314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":128314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:14:00] local.INFO: TCP Data received {"connection_id":128314,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:14:00] local.INFO: Processing buffer {"connection_id":128314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:14:00] local.INFO: IMEI packet received {"connection_id":128314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":128314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:14:03] local.INFO: TCP Data received {"connection_id":128315,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:14:03] local.INFO: Processing buffer {"connection_id":128315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:14:03] local.INFO: IMEI packet received {"connection_id":128315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":128315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:14:04] local.INFO: TCP Data received {"connection_id":128315,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:14:04] local.INFO: Processing buffer {"connection_id":128315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:14:04] local.INFO: IMEI packet received {"connection_id":128315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":128315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:14:05] local.INFO: TCP Data received {"connection_id":128314,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:14:05] local.INFO: Processing buffer {"connection_id":128314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:14:05] local.INFO: IMEI packet received {"connection_id":128314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":128314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:14:06] local.INFO: TCP Data received {"connection_id":128314,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7933b8012d181f800721b2a8004900db28..."} 
[2026-07-11 10:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7933b8012d181f800721b2a8004900db28..."} 
[2026-07-11 10:14:06] local.INFO: Processing buffer {"connection_id":128314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7933b8012d181f800721b2a8004900db28..."} 
[2026-07-11 10:14:06] local.INFO: Packet analysis {"connection_id":128314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:14:06] local.INFO: Extracted packet for processing {"connection_id":128314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638656512001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783744771000,"timestamp_ms":1783744771000,"timestamp_seconds":1783744771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7933b8"} 
[2026-07-11 10:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 10:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638656512001,"66":12613,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638656512001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:14:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638656512001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":128314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:14:06] local.INFO: GPS data processed {"connection_id":128314,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:14:06] local.INFO: Acknowledgment sent {"connection_id":128314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:14:09] local.INFO: TCP Data received {"connection_id":128315,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:14:09] local.INFO: Processing buffer {"connection_id":128315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:14:09] local.INFO: IMEI packet received {"connection_id":128315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":128315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:14:10] local.INFO: TCP Data received {"connection_id":128315,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7bdf50012cb29c0007823b18004700db26..."} 
[2026-07-11 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7bdf50012cb29c0007823b18004700db26..."} 
[2026-07-11 10:14:10] local.INFO: Processing buffer {"connection_id":128315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7bdf50012cb29c0007823b18004700db26..."} 
[2026-07-11 10:14:10] local.INFO: Packet analysis {"connection_id":128315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7b"} 
[2026-07-11 10:14:10] local.INFO: Extracted packet for processing {"connection_id":128315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7b"} 
[2026-07-11 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975320,"longitude_deg":74.9902848,"latitude_deg":12.597532,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-07-11 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638700800001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341834752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783744946000,"timestamp_ms":1783744946000,"timestamp_seconds":1783744946,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7bdf50"} 
[2026-07-11 10:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 10:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638700800001,"66":27995,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576582206341834752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638700800001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:14:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341834752,"description":"Unknown IO ID 44"} 
[2026-07-11 10:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638700800001,"power":27995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341834752}} 
[2026-07-11 10:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":128315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:14:10] local.INFO: GPS data processed {"connection_id":128315,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:14:10] local.INFO: Acknowledgment sent {"connection_id":128315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:14:25] local.INFO: TCP Data received {"connection_id":128502,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:14:25] local.INFO: Processing buffer {"connection_id":128502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f792030012d7e154005d3c2f80006003429..."} 
[2026-07-11 10:14:25] local.INFO: Packet analysis {"connection_id":128502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:14:25] local.INFO: Extracted packet for processing {"connection_id":128502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:14:25] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":6,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638583552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782520320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783744766000,"timestamp_ms":1783744766000,"timestamp_seconds":1783744766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f792030"} 
[2026-07-11 10:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 10:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":128502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":128502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":128502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638583552001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085590060782520320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638583552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782520320,"description":"Unknown IO ID 45"} 
[2026-07-11 10:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638583552001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782520320}} 
[2026-07-11 10:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":128502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:14:25] local.INFO: GPS data processed {"connection_id":128502,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:14:25] local.INFO: Acknowledgment sent {"connection_id":128502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:14:37] local.INFO: TCP Data received {"connection_id":128314,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f797df0012d181f800721b2a8004900db28..."} 
[2026-07-11 10:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f797df0012d181f800721b2a8004900db28..."} 
[2026-07-11 10:14:37] local.INFO: Processing buffer {"connection_id":128314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f797df0012d181f800721b2a8004900db28..."} 
[2026-07-11 10:14:37] local.INFO: Packet analysis {"connection_id":128314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:14:37] local.INFO: Extracted packet for processing {"connection_id":128314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f79"} 
[2026-07-11 10:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638661376001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783744790000,"timestamp_ms":1783744790000,"timestamp_seconds":1783744790,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f797df0"} 
[2026-07-11 10:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 10:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638661376001,"66":12591,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638661376001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:14:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638661376001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":128314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:14:37] local.INFO: GPS data processed {"connection_id":128314,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:14:37] local.INFO: Acknowledgment sent {"connection_id":128314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:14:42] local.INFO: TCP Data received {"connection_id":128315,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7c3158012cb29c0007823b18004700db26..."} 
[2026-07-11 10:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7c3158012cb29c0007823b18004700db26..."} 
[2026-07-11 10:14:42] local.INFO: Processing buffer {"connection_id":128315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7c3158012cb29c0007823b18004700db26..."} 
[2026-07-11 10:14:42] local.INFO: Packet analysis {"connection_id":128315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7c"} 
[2026-07-11 10:14:42] local.INFO: Extracted packet for processing {"connection_id":128315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7c"} 
[2026-07-11 10:14:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975320,"longitude_deg":74.9902848,"latitude_deg":12.597532,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-07-11 10:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638706176001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341834752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783744967000,"timestamp_ms":1783744967000,"timestamp_seconds":1783744967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7c3158"} 
[2026-07-11 10:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 10:14:42] 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-07-11 10:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638706176001,"66":27995,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576582206341834752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638706176001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:14:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341834752,"description":"Unknown IO ID 44"} 
[2026-07-11 10:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638706176001,"power":27995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341834752}} 
[2026-07-11 10:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":128315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:14:42] local.INFO: GPS data processed {"connection_id":128315,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:14:42] local.INFO: Acknowledgment sent {"connection_id":128315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:14:48] local.INFO: TCP Data received {"connection_id":130456,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:14:48] local.INFO: Processing buffer {"connection_id":130456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:14:48] local.INFO: IMEI packet received {"connection_id":130456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 10:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":130456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:14:53] local.INFO: TCP Data received {"connection_id":130456,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:14:53] local.INFO: Processing buffer {"connection_id":130456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:14:53] local.INFO: IMEI packet received {"connection_id":130456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 10:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":130456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:14:54] local.INFO: TCP Data received {"connection_id":130456,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:14:54] local.INFO: Processing buffer {"connection_id":130456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:14:54] local.INFO: Packet analysis {"connection_id":130456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:14:54] local.INFO: Extracted packet for processing {"connection_id":130456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":5,"angle":52,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638660096001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061627904,"note":"Value kept but may cause issues"} 
[2026-07-11 10:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783745067000,"timestamp_ms":1783745067000,"timestamp_seconds":1783745067,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7db7f8"} 
[2026-07-11 10:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:14:54] 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-07-11 10:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 10:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638660096001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085238217061627904},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638660096001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061627904,"description":"Unknown IO ID 45"} 
[2026-07-11 10:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638660096001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061627904}} 
[2026-07-11 10:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":130456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:14:54] local.INFO: GPS data processed {"connection_id":130456,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:14:54] local.INFO: Acknowledgment sent {"connection_id":130456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:15:00] local.INFO: TCP Data received {"connection_id":128503,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:15:00] local.INFO: Processing buffer {"connection_id":128503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:15:00] local.INFO: IMEI packet received {"connection_id":128503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":128503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:15:01] local.INFO: TCP Data received {"connection_id":128503,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:15:01] local.INFO: Processing buffer {"connection_id":128503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:15:01] local.INFO: IMEI packet received {"connection_id":128503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":128503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:15:04] local.INFO: TCP Data received {"connection_id":128504,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:15:04] local.INFO: Processing buffer {"connection_id":128504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:15:04] local.INFO: IMEI packet received {"connection_id":128504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:15:05] local.INFO: TCP Data received {"connection_id":128503,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:15:05] local.INFO: Processing buffer {"connection_id":128503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:15:05] local.INFO: IMEI packet received {"connection_id":128503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":128503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:15:05] local.INFO: TCP Data received {"connection_id":128504,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:15:05] local.INFO: Processing buffer {"connection_id":128504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:15:05] local.INFO: IMEI packet received {"connection_id":128504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":128504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:15:06] local.INFO: TCP Data received {"connection_id":128503,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7d0060012d181f800721b2a8004900db2a..."} 
[2026-07-11 10:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7d0060012d181f800721b2a8004900db2a..."} 
[2026-07-11 10:15:06] local.INFO: Processing buffer {"connection_id":128503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7d0060012d181f800721b2a8004900db2a..."} 
[2026-07-11 10:15:06] local.INFO: Packet analysis {"connection_id":128503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:06] local.INFO: Extracted packet for processing {"connection_id":128503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638719744001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:06] 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-07-11 10:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745020000,"timestamp_ms":1783745020000,"timestamp_seconds":1783745020,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7d0060"} 
[2026-07-11 10:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638719744001,"66":12537,"107":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638719744001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:15:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638719744001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":128503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:15:06] local.INFO: GPS data processed {"connection_id":128503,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:15:06] local.INFO: Acknowledgment sent {"connection_id":128503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:15:10] local.INFO: TCP Data received {"connection_id":128504,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:15:10] local.INFO: Processing buffer {"connection_id":128504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:15:10] local.INFO: IMEI packet received {"connection_id":128504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":128504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:15:11] local.INFO: TCP Data received {"connection_id":128504,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7c7f78012cb29c0007823b18004700db26..."} 
[2026-07-11 10:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7c7f78012cb29c0007823b18004700db26..."} 
[2026-07-11 10:15:11] local.INFO: Processing buffer {"connection_id":128504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7c7f78012cb29c0007823b18004700db26..."} 
[2026-07-11 10:15:11] local.INFO: Packet analysis {"connection_id":128504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7c"} 
[2026-07-11 10:15:11] local.INFO: Extracted packet for processing {"connection_id":128504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7c"} 
[2026-07-11 10:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975320,"longitude_deg":74.9902848,"latitude_deg":12.597532,"altitude":71,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-07-11 10:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638711552001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341834752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783744987000,"timestamp_ms":1783744987000,"timestamp_seconds":1783744987,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7c7f78"} 
[2026-07-11 10:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 10:15:11] 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-07-11 10:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638711552001,"66":28126,"221":206,"85":36864,"24":0,"16":345197070019198976,"44":-5576582206341834752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638711552001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:15:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341834752,"description":"Unknown IO ID 44"} 
[2026-07-11 10:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638711552001,"power":28126,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341834752}} 
[2026-07-11 10:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":128504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:15:11] local.INFO: GPS data processed {"connection_id":128504,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:15:11] local.INFO: Acknowledgment sent {"connection_id":128504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:15:25] local.INFO: TCP Data received {"connection_id":130456,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:15:25] local.INFO: Processing buffer {"connection_id":130456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:15:25] local.INFO: Packet analysis {"connection_id":130456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:25] local.INFO: Extracted packet for processing {"connection_id":130456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":5,"angle":52,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638660096001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061627904,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783745067000,"timestamp_ms":1783745067000,"timestamp_seconds":1783745067,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7db7f8"} 
[2026-07-11 10:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:15:25] 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-07-11 10:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 10:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638660096001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085238217061627904},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638660096001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061627904,"description":"Unknown IO ID 45"} 
[2026-07-11 10:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638660096001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061627904}} 
[2026-07-11 10:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":130456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:15:25] local.INFO: GPS data processed {"connection_id":130456,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:15:25] local.INFO: Acknowledgment sent {"connection_id":130456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:15:37] local.INFO: TCP Data received {"connection_id":128503,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7d5268012d181f800721b2a8004900db29..."} 
[2026-07-11 10:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7d5268012d181f800721b2a8004900db29..."} 
[2026-07-11 10:15:37] local.INFO: Processing buffer {"connection_id":128503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7d5268012d181f800721b2a8004900db29..."} 
[2026-07-11 10:15:37] local.INFO: Packet analysis {"connection_id":128503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:37] local.INFO: Extracted packet for processing {"connection_id":128503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638725120001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:37] 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-07-11 10:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745041000,"timestamp_ms":1783745041000,"timestamp_seconds":1783745041,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7d5268"} 
[2026-07-11 10:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-11 10:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638725120001,"66":12515,"107":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638725120001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:15:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638725120001,"power":12515,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":128503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:15:37] local.INFO: GPS data processed {"connection_id":128503,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:15:37] local.INFO: Acknowledgment sent {"connection_id":128503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:15:41] local.INFO: TCP Data received {"connection_id":128504,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7d4e80012cb29f80078243e8004900bc25..."} 
[2026-07-11 10:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7d4e80012cb29f80078243e8004900bc25..."} 
[2026-07-11 10:15:41] local.INFO: Processing buffer {"connection_id":128504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7d4e80012cb29f80078243e8004900bc25..."} 
[2026-07-11 10:15:41] local.INFO: Packet analysis {"connection_id":128504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:41] local.INFO: Extracted packet for processing {"connection_id":128504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:41] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125977576,"longitude_deg":74.9903744,"latitude_deg":12.5977576,"altitude":73,"angle":188,"satellites":37,"speed":2,"hex_longitude":"2cb29f80","hex_latitude":"078243e8","is_valid_coordinates":true} 
[2026-07-11 10:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638716672001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197070019198976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341834752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783745040000,"timestamp_ms":1783745040000,"timestamp_seconds":1783745040,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7d4e80"} 
[2026-07-11 10:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":222,"data_length":795,"current_offset":136} 
[2026-07-11 10:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638716672001,"66":27071,"221":206,"85":36864,"24":2,"16":345197070019198976,"44":-5576582206341834752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638716672001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:15:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197070019198976,"km_value":345197070019199.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341834752,"description":"Unknown IO ID 44"} 
[2026-07-11 10:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638716672001,"power":27071,"unknown_221":206,"unknown_85":36864,"ignition":2,"odometer":null,"unknown_44":-5576582206341834752}} 
[2026-07-11 10:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":128504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:15:41] local.INFO: GPS data processed {"connection_id":128504,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:15:41] local.INFO: Acknowledgment sent {"connection_id":128504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:15:48] local.INFO: TCP Data received {"connection_id":130457,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:15:48] local.INFO: Processing buffer {"connection_id":130457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:15:48] local.INFO: IMEI packet received {"connection_id":130457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 10:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":130457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:15:53] local.INFO: TCP Data received {"connection_id":130457,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:15:53] local.INFO: Processing buffer {"connection_id":130457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:15:53] local.INFO: IMEI packet received {"connection_id":130457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 10:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":130457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:15:54] local.INFO: TCP Data received {"connection_id":130457,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:15:54] local.INFO: Processing buffer {"connection_id":130457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:15:54] local.INFO: Packet analysis {"connection_id":130457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:54] local.INFO: Extracted packet for processing {"connection_id":130457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":5,"angle":52,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638660096001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061627904,"note":"Value kept but may cause issues"} 
[2026-07-11 10:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783745067000,"timestamp_ms":1783745067000,"timestamp_seconds":1783745067,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7db7f8"} 
[2026-07-11 10:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:15:54] 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-07-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 10:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638660096001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085238217061627904},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638660096001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:15:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061627904,"description":"Unknown IO ID 45"} 
[2026-07-11 10:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638660096001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061627904}} 
[2026-07-11 10:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":130457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:15:54] local.INFO: GPS data processed {"connection_id":130457,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:15:54] local.INFO: Acknowledgment sent {"connection_id":130457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:16:00] local.INFO: TCP Data received {"connection_id":129212,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:16:00] local.INFO: Processing buffer {"connection_id":129212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:16:00] local.INFO: IMEI packet received {"connection_id":129212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":129212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:16:03] local.INFO: TCP Data received {"connection_id":129212,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:16:03] local.INFO: Processing buffer {"connection_id":129212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:16:03] local.INFO: IMEI packet received {"connection_id":129212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":129212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:16:04] local.INFO: TCP Data received {"connection_id":129213,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:16:04] local.INFO: Processing buffer {"connection_id":129213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:16:04] local.INFO: IMEI packet received {"connection_id":129213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":129213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:16:05] local.INFO: TCP Data received {"connection_id":129212,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:16:05] local.INFO: Processing buffer {"connection_id":129212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:16:05] local.INFO: IMEI packet received {"connection_id":129212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":129212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:16:06] local.INFO: TCP Data received {"connection_id":129212,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7da470012d181f800721b2a8004900db29..."} 
[2026-07-11 10:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7da470012d181f800721b2a8004900db29..."} 
[2026-07-11 10:16:06] local.INFO: Processing buffer {"connection_id":129212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7da470012d181f800721b2a8004900db29..."} 
[2026-07-11 10:16:06] local.INFO: Packet analysis {"connection_id":129212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:06] local.INFO: Extracted packet for processing {"connection_id":129212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638730496001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:06] 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-07-11 10:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745062000,"timestamp_ms":1783745062000,"timestamp_seconds":1783745062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7da470"} 
[2026-07-11 10:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-11 10:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638730496001,"66":12515,"107":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638730496001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:16:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638730496001,"power":12515,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":129212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:16:06] local.INFO: GPS data processed {"connection_id":129212,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:16:06] local.INFO: Acknowledgment sent {"connection_id":129212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:16:09] local.INFO: TCP Data received {"connection_id":129213,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:16:09] local.INFO: Processing buffer {"connection_id":129213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:16:09] local.INFO: IMEI packet received {"connection_id":129213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":129213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:16:09] local.INFO: TCP Data received {"connection_id":129213,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:16:09] local.INFO: Processing buffer {"connection_id":129213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:16:09] local.INFO: IMEI packet received {"connection_id":129213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":129213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:16:10] local.INFO: TCP Data received {"connection_id":129213,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7d71a8012cb29f00078241e0004900c82a..."} 
[2026-07-11 10:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7d71a8012cb29f00078241e0004900c82a..."} 
[2026-07-11 10:16:10] local.INFO: Processing buffer {"connection_id":129213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7d71a8012cb29f00078241e0004900c82a..."} 
[2026-07-11 10:16:10] local.INFO: Packet analysis {"connection_id":129213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:10] local.INFO: Extracted packet for processing {"connection_id":129213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749903616,"raw_latitude":125977056,"longitude_deg":74.9903616,"latitude_deg":12.5977056,"altitude":73,"angle":200,"satellites":42,"speed":1,"hex_longitude":"2cb29f00","hex_latitude":"078241e0","is_valid_coordinates":true} 
[2026-07-11 10:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638730240001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197095789002752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575597043922769920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783745049000,"timestamp_ms":1783745049000,"timestamp_seconds":1783745049,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7d71a8"} 
[2026-07-11 10:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-11 10:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638730240001,"66":27995,"221":206,"85":36864,"24":1,"16":345197095789002752,"44":-5575597043922769920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638730240001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:16:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197095789002752,"km_value":345197095789002.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575597043922769920,"description":"Unknown IO ID 44"} 
[2026-07-11 10:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638730240001,"power":27995,"unknown_221":206,"unknown_85":36864,"ignition":1,"odometer":null,"unknown_44":-5575597043922769920}} 
[2026-07-11 10:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":129213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:16:10] local.INFO: GPS data processed {"connection_id":129213,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:16:10] local.INFO: Acknowledgment sent {"connection_id":129213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:16:11] local.INFO: TCP Data received {"connection_id":129212,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7df678012d181f800721b2a8004900db28..."} 
[2026-07-11 10:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7df678012d181f800721b2a8004900db28..."} 
[2026-07-11 10:16:11] local.INFO: Processing buffer {"connection_id":129212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7df678012d181f800721b2a8004900db28..."} 
[2026-07-11 10:16:11] local.INFO: Packet analysis {"connection_id":129212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:11] local.INFO: Extracted packet for processing {"connection_id":129212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638735872001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:11] 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-07-11 10:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783745083000,"timestamp_ms":1783745083000,"timestamp_seconds":1783745083,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7df678"} 
[2026-07-11 10:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-11 10:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638735872001,"66":12461,"107":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638735872001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:16:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638735872001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":129212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:16:11] local.INFO: GPS data processed {"connection_id":129212,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:16:11] local.INFO: Acknowledgment sent {"connection_id":129212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:16:15] local.INFO: TCP Data received {"connection_id":129213,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7d8918012cb29ec007824110004900b729..."} 
[2026-07-11 10:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7d8918012cb29ec007824110004900b729..."} 
[2026-07-11 10:16:15] local.INFO: Processing buffer {"connection_id":129213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7d8918012cb29ec007824110004900b729..."} 
[2026-07-11 10:16:15] local.INFO: Packet analysis {"connection_id":129213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:15] local.INFO: Extracted packet for processing {"connection_id":129213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:15] local.INFO: GPS Element Parsed {"raw_longitude":749903552,"raw_latitude":125976848,"longitude_deg":74.9903552,"latitude_deg":12.5976848,"altitude":73,"angle":183,"satellites":41,"speed":2,"hex_longitude":"2cb29ec0","hex_latitude":"07824110","is_valid_coordinates":true} 
[2026-07-11 10:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638732544001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197108673904640,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411258368,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783745055000,"timestamp_ms":1783745055000,"timestamp_seconds":1783745055,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7d8918"} 
[2026-07-11 10:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 10:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638732544001,"66":27800,"221":206,"85":36864,"24":2,"16":345197108673904640,"44":-5575737781411258368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638732544001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:16:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:16:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197108673904640,"km_value":345197108673904.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:16:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411258368,"description":"Unknown IO ID 44"} 
[2026-07-11 10:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638732544001,"power":27800,"unknown_221":206,"unknown_85":36864,"ignition":2,"odometer":null,"unknown_44":-5575737781411258368}} 
[2026-07-11 10:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":129213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:16:15] local.INFO: GPS data processed {"connection_id":129213,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:16:15] local.INFO: Acknowledgment sent {"connection_id":129213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:16:25] local.INFO: TCP Data received {"connection_id":130457,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:16:25] local.INFO: Processing buffer {"connection_id":130457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:16:25] local.INFO: Packet analysis {"connection_id":130457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:25] local.INFO: Extracted packet for processing {"connection_id":130457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":5,"angle":52,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638660096001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061627904,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783745067000,"timestamp_ms":1783745067000,"timestamp_seconds":1783745067,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7db7f8"} 
[2026-07-11 10:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:16:25] 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-07-11 10:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 10:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638660096001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085238217061627904},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638660096001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061627904,"description":"Unknown IO ID 45"} 
[2026-07-11 10:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638660096001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061627904}} 
[2026-07-11 10:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":130457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:16:25] local.INFO: GPS data processed {"connection_id":130457,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:16:25] local.INFO: Acknowledgment sent {"connection_id":130457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:16:42] local.INFO: TCP Data received {"connection_id":129212,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7e4880012d181f800721b2a8004900db27..."} 
[2026-07-11 10:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7e4880012d181f800721b2a8004900db27..."} 
[2026-07-11 10:16:42] local.INFO: Processing buffer {"connection_id":129212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7e4880012d181f800721b2a8004900db27..."} 
[2026-07-11 10:16:42] local.INFO: Packet analysis {"connection_id":129212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7e"} 
[2026-07-11 10:16:42] local.INFO: Extracted packet for processing {"connection_id":129212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7e"} 
[2026-07-11 10:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638741248001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783745104000,"timestamp_ms":1783745104000,"timestamp_seconds":1783745104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7e4880"} 
[2026-07-11 10:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 10:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638741248001,"66":12504,"107":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638741248001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:16:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638741248001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":129212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:16:42] local.INFO: GPS data processed {"connection_id":129212,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:16:42] local.INFO: Acknowledgment sent {"connection_id":129212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:16:46] local.INFO: TCP Data received {"connection_id":129213,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7da088012cb29ec007824038004900ab2b..."} 
[2026-07-11 10:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7da088012cb29ec007824038004900ab2b..."} 
[2026-07-11 10:16:46] local.INFO: Processing buffer {"connection_id":129213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7da088012cb29ec007824038004900ab2b..."} 
[2026-07-11 10:16:46] local.INFO: Packet analysis {"connection_id":129213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:46] local.INFO: Extracted packet for processing {"connection_id":129213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:46] local.INFO: GPS Element Parsed {"raw_longitude":749903552,"raw_latitude":125976632,"longitude_deg":74.9903552,"latitude_deg":12.5976632,"altitude":73,"angle":171,"satellites":43,"speed":1,"hex_longitude":"2cb29ec0","hex_latitude":"07824038","is_valid_coordinates":true} 
[2026-07-11 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638734080001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197117263839232,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155489280,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783745061000,"timestamp_ms":1783745061000,"timestamp_seconds":1783745061,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7da088"} 
[2026-07-11 10:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 10:16:46] 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-07-11 10:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638734080001,"66":27343,"221":206,"85":36864,"24":1,"16":345197117263839232,"44":-5575808150155489280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638734080001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:16:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:16:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197117263839232,"km_value":345197117263839.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:16:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155489280,"description":"Unknown IO ID 44"} 
[2026-07-11 10:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638734080001,"power":27343,"unknown_221":206,"unknown_85":36864,"ignition":1,"odometer":null,"unknown_44":-5575808150155489280}} 
[2026-07-11 10:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":129213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:16:46] local.INFO: GPS data processed {"connection_id":129213,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:16:46] local.INFO: Acknowledgment sent {"connection_id":129213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:16:53] local.INFO: TCP Data received {"connection_id":128316,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:16:53] local.INFO: Processing buffer {"connection_id":128316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:16:53] local.INFO: IMEI packet received {"connection_id":128316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 10:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":128316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:16:58] local.INFO: TCP Data received {"connection_id":128316,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:16:58] local.INFO: Processing buffer {"connection_id":128316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 10:16:58] local.INFO: IMEI packet received {"connection_id":128316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 10:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":128316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:16:59] local.INFO: TCP Data received {"connection_id":128316,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:16:59] local.INFO: Processing buffer {"connection_id":128316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:16:59] local.INFO: Packet analysis {"connection_id":128316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:59] local.INFO: Extracted packet for processing {"connection_id":128316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":5,"angle":52,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638660096001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061627904,"note":"Value kept but may cause issues"} 
[2026-07-11 10:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783745067000,"timestamp_ms":1783745067000,"timestamp_seconds":1783745067,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7db7f8"} 
[2026-07-11 10:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:16: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-07-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 10:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":128316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":128316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":128316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638660096001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085238217061627904},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638660096001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:16:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061627904,"description":"Unknown IO ID 45"} 
[2026-07-11 10:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638660096001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061627904}} 
[2026-07-11 10:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":128316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:16:59] local.INFO: GPS data processed {"connection_id":128316,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:16:59] local.INFO: Acknowledgment sent {"connection_id":128316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:17:00] local.INFO: TCP Data received {"connection_id":129214,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:17:00] local.INFO: Processing buffer {"connection_id":129214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:17:00] local.INFO: IMEI packet received {"connection_id":129214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":129214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:17:03] local.INFO: TCP Data received {"connection_id":128316,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:17:03] local.INFO: Processing buffer {"connection_id":128316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7db7f8012d7e154005d3c2f80005003427..."} 
[2026-07-11 10:17:03] local.INFO: Packet analysis {"connection_id":128316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:17:03] local.INFO: Extracted packet for processing {"connection_id":128316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97764088,"longitude_deg":76.3237696,"latitude_deg":9.7764088,"altitude":5,"angle":52,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c2f8","is_valid_coordinates":true} 
[2026-07-11 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638660096001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061627904,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783745067000,"timestamp_ms":1783745067000,"timestamp_seconds":1783745067,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7db7f8"} 
[2026-07-11 10:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:17:03] 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-07-11 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 10:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":128316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":128316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":128316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 10:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 10:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 10:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638660096001,"66":2231,"81":206,"85":15104,"24":0,"16":105001298868305920,"45":9085238217061627904},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 10:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 10:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 10:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638660096001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 10:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 10:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105001298868305920,"km_value":105001298868305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061627904,"description":"Unknown IO ID 45"} 
[2026-07-11 10:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638660096001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061627904}} 
[2026-07-11 10:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":128316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:17:03] local.INFO: GPS data processed {"connection_id":128316,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:17:03] local.INFO: Acknowledgment sent {"connection_id":128316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:17:05] local.INFO: TCP Data received {"connection_id":129214,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:17:05] local.INFO: Processing buffer {"connection_id":129214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:17:05] local.INFO: IMEI packet received {"connection_id":129214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":129214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:17:06] local.INFO: TCP Data received {"connection_id":129214,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7e9a88012d181f800721b2a8004900db29..."} 
[2026-07-11 10:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7e9a88012d181f800721b2a8004900db29..."} 
[2026-07-11 10:17:06] local.INFO: Processing buffer {"connection_id":129214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7e9a88012d181f800721b2a8004900db29..."} 
[2026-07-11 10:17:06] local.INFO: Packet analysis {"connection_id":129214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7e"} 
[2026-07-11 10:17:06] local.INFO: Extracted packet for processing {"connection_id":129214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7e"} 
[2026-07-11 10:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638746624001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:06] 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-07-11 10:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745125000,"timestamp_ms":1783745125000,"timestamp_seconds":1783745125,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7e9a88"} 
[2026-07-11 10:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638746624001,"66":12504,"107":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638746624001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:17:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638746624001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":129214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:17:06] local.INFO: GPS data processed {"connection_id":129214,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:17:06] local.INFO: Acknowledgment sent {"connection_id":129214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:17:10] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:17:10] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:17:10] local.INFO: IMEI packet received {"connection_id":130459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":130459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:17:11] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:17:11] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:17:11] local.INFO: IMEI packet received {"connection_id":130459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":130459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:17:12] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7deac0012cb29ec007823fe8004900ab2a..."} 
[2026-07-11 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7deac0012cb29ec007823fe8004900ab2a..."} 
[2026-07-11 10:17:12] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7deac0012cb29ec007823fe8004900ab2a..."} 
[2026-07-11 10:17:12] local.INFO: Packet analysis {"connection_id":130459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:17:12] local.INFO: Extracted packet for processing {"connection_id":130459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7d"} 
[2026-07-11 10:17:12] local.INFO: GPS Element Parsed {"raw_longitude":749903552,"raw_latitude":125976552,"longitude_deg":74.9903552,"latitude_deg":12.5976552,"altitude":73,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2cb29ec0","hex_latitude":"07823fe8","is_valid_coordinates":true} 
[2026-07-11 10:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638735616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197125853773824,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155544576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783745080000,"timestamp_ms":1783745080000,"timestamp_seconds":1783745080,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7deac0"} 
[2026-07-11 10:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 10:17: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-07-11 10:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638735616001,"66":28126,"184":206,"85":36096,"24":0,"16":345197125853773824,"44":-5575808150155544576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638735616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:17:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197125853773824,"km_value":345197125853773.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155544576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638735616001,"power":28126,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575808150155544576}} 
[2026-07-11 10:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":130459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:17:12] local.INFO: GPS data processed {"connection_id":130459,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:17:12] local.INFO: Acknowledgment sent {"connection_id":130459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:17:37] local.INFO: TCP Data received {"connection_id":129214,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7eec90012d181f800721b2a8004900db2b..."} 
[2026-07-11 10:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7eec90012d181f800721b2a8004900db2b..."} 
[2026-07-11 10:17:37] local.INFO: Processing buffer {"connection_id":129214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7eec90012d181f800721b2a8004900db2b..."} 
[2026-07-11 10:17:37] local.INFO: Packet analysis {"connection_id":129214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7e"} 
[2026-07-11 10:17:37] local.INFO: Extracted packet for processing {"connection_id":129214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7e"} 
[2026-07-11 10:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638752000001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:37] 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-07-11 10:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745146000,"timestamp_ms":1783745146000,"timestamp_seconds":1783745146,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7eec90"} 
[2026-07-11 10:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638752000001,"66":12504,"107":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638752000001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:17:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638752000001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":129214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:17:37] local.INFO: GPS data processed {"connection_id":129214,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:17:37] local.INFO: Acknowledgment sent {"connection_id":129214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:17:43] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7e34f8012cb29e8007823fa8004900ab2a..."} 
[2026-07-11 10:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7e34f8012cb29e8007823fa8004900ab2a..."} 
[2026-07-11 10:17:43] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7e34f8012cb29e8007823fa8004900ab2a..."} 
[2026-07-11 10:17:43] local.INFO: Packet analysis {"connection_id":130459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7e"} 
[2026-07-11 10:17:43] local.INFO: Extracted packet for processing {"connection_id":130459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7e"} 
[2026-07-11 10:17:43] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976488,"longitude_deg":74.9903488,"latitude_deg":12.5976488,"altitude":73,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07823fa8","is_valid_coordinates":true} 
[2026-07-11 10:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638740480001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197138738675712,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155565056,"note":"Value kept but may cause issues"} 
[2026-07-11 10:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783745099000,"timestamp_ms":1783745099000,"timestamp_seconds":1783745099,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7e34f8"} 
[2026-07-11 10:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-11 10:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638740480001,"66":27843,"184":206,"85":36096,"24":0,"16":345197138738675712,"44":-5575808150155565056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638740480001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:17:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197138738675712,"km_value":345197138738675.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155565056,"description":"Unknown IO ID 44"} 
[2026-07-11 10:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638740480001,"power":27843,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575808150155565056}} 
[2026-07-11 10:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":130459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:17:43] local.INFO: GPS data processed {"connection_id":130459,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:17:43] local.INFO: Acknowledgment sent {"connection_id":130459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:18:00] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:18:00] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:18:00] local.INFO: IMEI packet received {"connection_id":130460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":130460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:18:05] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:18:05] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:18:05] local.INFO: IMEI packet received {"connection_id":130460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":130460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:18:06] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7f3e98012d181f800721b2a8004900db2b..."} 
[2026-07-11 10:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7f3e98012d181f800721b2a8004900db2b..."} 
[2026-07-11 10:18:06] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7f3e98012d181f800721b2a8004900db2b..."} 
[2026-07-11 10:18:06] local.INFO: Packet analysis {"connection_id":130460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7f"} 
[2026-07-11 10:18:06] local.INFO: Extracted packet for processing {"connection_id":130460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7f"} 
[2026-07-11 10:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648936,"longitude_deg":75.6555648,"latitude_deg":11.9648936,"altitude":73,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638757376001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545408369524736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745167000,"timestamp_ms":1783745167000,"timestamp_seconds":1783745167,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7f3e98"} 
[2026-07-11 10:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638757376001,"66":12504,"105":206,"83":41984,"24":0,"16":5545408369524736,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638757376001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:18:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545408369524736,"km_value":5545408369524.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638757376001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":130460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:18:06] local.INFO: GPS data processed {"connection_id":130460,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:18:06] local.INFO: Acknowledgment sent {"connection_id":130460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:18:12] local.INFO: TCP Data received {"connection_id":130461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:18:12] local.INFO: Processing buffer {"connection_id":130461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:18:12] local.INFO: IMEI packet received {"connection_id":130461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":130461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:18:18] local.INFO: TCP Data received {"connection_id":130461,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 10:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130461,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 10:18:18] local.INFO: Processing buffer {"connection_id":130461,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 10:18:18] local.INFO: IMEI packet received {"connection_id":130461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":130461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:18:19] local.INFO: TCP Data received {"connection_id":130461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:18:19] local.INFO: Processing buffer {"connection_id":130461,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 10:18:19] local.INFO: IMEI packet received {"connection_id":130461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":130461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:18:37] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7f90a0012d181e400721b0c0004c00d62b..."} 
[2026-07-11 10:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7f90a0012d181e400721b0c0004c00d62b..."} 
[2026-07-11 10:18:37] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7f90a0012d181e400721b0c0004c00d62b..."} 
[2026-07-11 10:18:37] local.INFO: Packet analysis {"connection_id":130460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7f"} 
[2026-07-11 10:18:37] local.INFO: Extracted packet for processing {"connection_id":130460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7f"} 
[2026-07-11 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648448,"longitude_deg":75.6555328,"latitude_deg":11.9648448,"altitude":76,"angle":214,"satellites":43,"speed":1,"hex_longitude":"2d181e40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-07-11 10:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638762752001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545434139328512,"note":"Value kept but may cause issues"} 
[2026-07-11 10:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306783744,"note":"Value kept but may cause issues"} 
[2026-07-11 10:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745188000,"timestamp_ms":1783745188000,"timestamp_seconds":1783745188,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7f90a0"} 
[2026-07-11 10:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638762752001,"66":12504,"105":206,"83":41984,"24":1,"16":5545434139328512,"45":1738248749306783744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638762752001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:18:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545434139328512,"km_value":5545434139328.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306783744,"description":"Unknown IO ID 45"} 
[2026-07-11 10:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638762752001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738248749306783744}} 
[2026-07-11 10:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":130460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:18:37] local.INFO: GPS data processed {"connection_id":130460,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:18:37] local.INFO: Acknowledgment sent {"connection_id":130460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:19:00] local.INFO: TCP Data received {"connection_id":130462,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:19:00] local.INFO: Processing buffer {"connection_id":130462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:19:00] local.INFO: IMEI packet received {"connection_id":130462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":130462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:19:05] local.INFO: TCP Data received {"connection_id":130462,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:19:05] local.INFO: Processing buffer {"connection_id":130462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:19:05] local.INFO: IMEI packet received {"connection_id":130462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":130462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:19:06] local.INFO: TCP Data received {"connection_id":130462,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7fe2a8012d181e000721b028004c00d52c..."} 
[2026-07-11 10:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7fe2a8012d181e000721b028004c00d52c..."} 
[2026-07-11 10:19:06] local.INFO: Processing buffer {"connection_id":130462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7fe2a8012d181e000721b028004c00d52c..."} 
[2026-07-11 10:19:06] local.INFO: Packet analysis {"connection_id":130462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f7f"} 
[2026-07-11 10:19:06] local.INFO: Extracted packet for processing {"connection_id":130462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f7f"} 
[2026-07-11 10:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638768128001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585770496,"note":"Value kept but may cause issues"} 
[2026-07-11 10:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745209000,"timestamp_ms":1783745209000,"timestamp_seconds":1783745209,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7fe2a8"} 
[2026-07-11 10:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638768128001,"66":12515,"105":206,"83":41984,"24":0,"16":5545442729263104,"45":1737896905585770496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638768128001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:19:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585770496,"description":"Unknown IO ID 45"} 
[2026-07-11 10:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638768128001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585770496}} 
[2026-07-11 10:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":130462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:19:06] local.INFO: GPS data processed {"connection_id":130462,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:19:06] local.INFO: Acknowledgment sent {"connection_id":130462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:19:11] local.INFO: TCP Data received {"connection_id":129215,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:19:11] local.INFO: Processing buffer {"connection_id":129215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:19:11] local.INFO: IMEI packet received {"connection_id":129215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":129215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:19:37] local.INFO: TCP Data received {"connection_id":130462,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8034b0012d181e000721b028004c00d52b..."} 
[2026-07-11 10:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8034b0012d181e000721b028004c00d52b..."} 
[2026-07-11 10:19:37] local.INFO: Processing buffer {"connection_id":130462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8034b0012d181e000721b028004c00d52b..."} 
[2026-07-11 10:19:37] local.INFO: Packet analysis {"connection_id":130462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f80"} 
[2026-07-11 10:19:37] local.INFO: Extracted packet for processing {"connection_id":130462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f80"} 
[2026-07-11 10:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638773504001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841553920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:19:37] 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-07-11 10:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745230000,"timestamp_ms":1783745230000,"timestamp_seconds":1783745230,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8034b0"} 
[2026-07-11 10:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-11 10:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638773504001,"66":12504,"107":206,"83":41984,"24":0,"16":5545442729263104,"45":1737826536841553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638773504001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:19:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841553920,"description":"Unknown IO ID 45"} 
[2026-07-11 10:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638773504001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841553920}} 
[2026-07-11 10:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":130462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:19:37] local.INFO: GPS data processed {"connection_id":130462,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:19:37] local.INFO: Acknowledgment sent {"connection_id":130462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:19:45] local.INFO: TCP Data received {"connection_id":128318,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:19:45] local.INFO: Processing buffer {"connection_id":128318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:19:45] local.INFO: IMEI packet received {"connection_id":128318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":128318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:20:05] local.INFO: TCP Data received {"connection_id":129216,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:20:05] local.INFO: Processing buffer {"connection_id":129216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:20:05] local.INFO: IMEI packet received {"connection_id":129216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":129216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:20:10] local.INFO: TCP Data received {"connection_id":129216,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:20:10] local.INFO: Processing buffer {"connection_id":129216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:20:10] local.INFO: IMEI packet received {"connection_id":129216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":129216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:20:11] local.INFO: TCP Data received {"connection_id":129216,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8086b8012d181e000721b028004c00d52b..."} 
[2026-07-11 10:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8086b8012d181e000721b028004c00d52b..."} 
[2026-07-11 10:20:11] local.INFO: Processing buffer {"connection_id":129216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8086b8012d181e000721b028004c00d52b..."} 
[2026-07-11 10:20:11] local.INFO: Packet analysis {"connection_id":129216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f80"} 
[2026-07-11 10:20:11] local.INFO: Extracted packet for processing {"connection_id":129216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f80"} 
[2026-07-11 10:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638778880001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841553920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:20:11] 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-07-11 10:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783745251000,"timestamp_ms":1783745251000,"timestamp_seconds":1783745251,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8086b8"} 
[2026-07-11 10:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638778880001,"66":12504,"107":206,"83":41984,"24":0,"16":5545442729263104,"45":1737826536841553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638778880001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:20:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841553920,"description":"Unknown IO ID 45"} 
[2026-07-11 10:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638778880001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841553920}} 
[2026-07-11 10:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":129216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:20:11] local.INFO: GPS data processed {"connection_id":129216,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:20:11] local.INFO: Acknowledgment sent {"connection_id":129216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:20:16] local.INFO: TCP Data received {"connection_id":129216,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f80d8c0012d181e000721b028004c00d529..."} 
[2026-07-11 10:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f80d8c0012d181e000721b028004c00d529..."} 
[2026-07-11 10:20:16] local.INFO: Processing buffer {"connection_id":129216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f80d8c0012d181e000721b028004c00d529..."} 
[2026-07-11 10:20:16] local.INFO: Packet analysis {"connection_id":129216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f80"} 
[2026-07-11 10:20:16] local.INFO: Extracted packet for processing {"connection_id":129216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f80"} 
[2026-07-11 10:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638784256001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841553920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:20:16] 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-07-11 10:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783745272000,"timestamp_ms":1783745272000,"timestamp_seconds":1783745272,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f80d8c0"} 
[2026-07-11 10:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638784256001,"66":12504,"107":206,"83":41984,"24":0,"16":5545442729263104,"45":1737826536841553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638784256001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:20:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841553920,"description":"Unknown IO ID 45"} 
[2026-07-11 10:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638784256001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841553920}} 
[2026-07-11 10:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":129216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:20:16] local.INFO: GPS data processed {"connection_id":129216,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:20:16] local.INFO: Acknowledgment sent {"connection_id":129216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:20:57] local.INFO: TCP Data received {"connection_id":128507,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:20:57] local.INFO: Processing buffer {"connection_id":128507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:20:57] local.INFO: IMEI packet received {"connection_id":128507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":128507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:21:00] local.INFO: TCP Data received {"connection_id":128507,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:21:00] local.INFO: Processing buffer {"connection_id":128507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:21:00] local.INFO: IMEI packet received {"connection_id":128507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":128507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:21:05] local.INFO: TCP Data received {"connection_id":128507,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:21:05] local.INFO: Processing buffer {"connection_id":128507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:21:05] local.INFO: IMEI packet received {"connection_id":128507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":128507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:21:06] local.INFO: TCP Data received {"connection_id":128507,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f812ac8012d181e000721b028004c00d52a..."} 
[2026-07-11 10:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f812ac8012d181e000721b028004c00d52a..."} 
[2026-07-11 10:21:06] local.INFO: Processing buffer {"connection_id":128507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f812ac8012d181e000721b028004c00d52a..."} 
[2026-07-11 10:21:06] local.INFO: Packet analysis {"connection_id":128507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:21:06] local.INFO: Extracted packet for processing {"connection_id":128507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638789632001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841553920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:21:06] 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-07-11 10:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745293000,"timestamp_ms":1783745293000,"timestamp_seconds":1783745293,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f812ac8"} 
[2026-07-11 10:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638789632001,"66":12504,"107":206,"83":41984,"24":0,"16":5545442729263104,"45":1737826536841553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638789632001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:21:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841553920,"description":"Unknown IO ID 45"} 
[2026-07-11 10:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638789632001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841553920}} 
[2026-07-11 10:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":128507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:21:06] local.INFO: GPS data processed {"connection_id":128507,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:21:06] local.INFO: Acknowledgment sent {"connection_id":128507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:21:37] local.INFO: TCP Data received {"connection_id":128507,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f817cd0012d181e000721b028004c00d529..."} 
[2026-07-11 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f817cd0012d181e000721b028004c00d529..."} 
[2026-07-11 10:21:37] local.INFO: Processing buffer {"connection_id":128507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f817cd0012d181e000721b028004c00d529..."} 
[2026-07-11 10:21:37] local.INFO: Packet analysis {"connection_id":128507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:21:37] local.INFO: Extracted packet for processing {"connection_id":128507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638795008001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841553920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:21:37] 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-07-11 10:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745314000,"timestamp_ms":1783745314000,"timestamp_seconds":1783745314,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f817cd0"} 
[2026-07-11 10:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638795008001,"66":12504,"107":206,"83":41984,"24":0,"16":5545442729263104,"45":1737826536841553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638795008001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:21:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841553920,"description":"Unknown IO ID 45"} 
[2026-07-11 10:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638795008001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841553920}} 
[2026-07-11 10:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":128507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:21:37] local.INFO: GPS data processed {"connection_id":128507,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:21:37] local.INFO: Acknowledgment sent {"connection_id":128507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:22:00] local.INFO: TCP Data received {"connection_id":130463,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:22:00] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:22:00] local.INFO: IMEI packet received {"connection_id":130463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":130463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:22:00] local.INFO: TCP Data received {"connection_id":130463,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:22:00] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:22:00] local.INFO: IMEI packet received {"connection_id":130463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":130463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:22:05] local.INFO: TCP Data received {"connection_id":130463,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:22:05] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:22:05] local.INFO: IMEI packet received {"connection_id":130463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":130463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:22:06] local.INFO: TCP Data received {"connection_id":130463,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f81ced8012d181e000721b028004c00d52a..."} 
[2026-07-11 10:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f81ced8012d181e000721b028004c00d52a..."} 
[2026-07-11 10:22:06] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f81ced8012d181e000721b028004c00d52a..."} 
[2026-07-11 10:22:06] local.INFO: Packet analysis {"connection_id":130463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:22:06] local.INFO: Extracted packet for processing {"connection_id":130463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638800384001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841553920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:22:06] 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-07-11 10:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745335000,"timestamp_ms":1783745335000,"timestamp_seconds":1783745335,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f81ced8"} 
[2026-07-11 10:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638800384001,"66":12504,"107":206,"83":41984,"24":0,"16":5545442729263104,"45":1737826536841553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638800384001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:22:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841553920,"description":"Unknown IO ID 45"} 
[2026-07-11 10:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638800384001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841553920}} 
[2026-07-11 10:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":130463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:22:06] local.INFO: GPS data processed {"connection_id":130463,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:22:06] local.INFO: Acknowledgment sent {"connection_id":130463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:22:37] local.INFO: TCP Data received {"connection_id":130463,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8220e0012d181e000721b028004c00d529..."} 
[2026-07-11 10:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8220e0012d181e000721b028004c00d529..."} 
[2026-07-11 10:22:37] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8220e0012d181e000721b028004c00d529..."} 
[2026-07-11 10:22:37] local.INFO: Packet analysis {"connection_id":130463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:22:37] local.INFO: Extracted packet for processing {"connection_id":130463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638805760001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841553920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:22:37] 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-07-11 10:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745356000,"timestamp_ms":1783745356000,"timestamp_seconds":1783745356,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8220e0"} 
[2026-07-11 10:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638805760001,"66":12504,"107":206,"83":41984,"24":0,"16":5545442729263104,"45":1737826536841553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638805760001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:22:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841553920,"description":"Unknown IO ID 45"} 
[2026-07-11 10:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638805760001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841553920}} 
[2026-07-11 10:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":130463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:22:37] local.INFO: GPS data processed {"connection_id":130463,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:22:37] local.INFO: Acknowledgment sent {"connection_id":130463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:23:00] local.INFO: TCP Data received {"connection_id":129219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:23:00] local.INFO: Processing buffer {"connection_id":129219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:23:00] local.INFO: IMEI packet received {"connection_id":129219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":129219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:23:03] local.INFO: TCP Data received {"connection_id":129219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:23:03] local.INFO: Processing buffer {"connection_id":129219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:23:03] local.INFO: IMEI packet received {"connection_id":129219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":129219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:23:04] local.INFO: TCP Data received {"connection_id":129219,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8272e8012d181e000721b028004c00d529..."} 
[2026-07-11 10:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8272e8012d181e000721b028004c00d529..."} 
[2026-07-11 10:23:04] local.INFO: Processing buffer {"connection_id":129219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8272e8012d181e000721b028004c00d529..."} 
[2026-07-11 10:23:04] local.INFO: Packet analysis {"connection_id":129219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:23:04] local.INFO: Extracted packet for processing {"connection_id":129219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638811136001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841553920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:23: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-07-11 10:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783745377000,"timestamp_ms":1783745377000,"timestamp_seconds":1783745377,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8272e8"} 
[2026-07-11 10:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 10:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":129219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":129219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":129219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638811136001,"66":12461,"107":206,"83":41984,"24":0,"16":5545442729263104,"45":1737826536841553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638811136001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:23:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841553920,"description":"Unknown IO ID 45"} 
[2026-07-11 10:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638811136001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841553920}} 
[2026-07-11 10:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":129219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:23:04] local.INFO: GPS data processed {"connection_id":129219,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:23:04] local.INFO: Acknowledgment sent {"connection_id":129219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:23:25] local.INFO: TCP Data received {"connection_id":128510,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:23:25] local.INFO: Processing buffer {"connection_id":128510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:23:25] local.INFO: IMEI packet received {"connection_id":128510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":128510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:23:25] local.INFO: TCP Data received {"connection_id":128510,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f818c70012cb29e4007823ed8004a00ab29..."} 
[2026-07-11 10:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f818c70012cb29e4007823ed8004a00ab29..."} 
[2026-07-11 10:23:25] local.INFO: Processing buffer {"connection_id":128510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f818c70012cb29e4007823ed8004a00ab29..."} 
[2026-07-11 10:23:25] local.INFO: Packet analysis {"connection_id":128510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:23:25] local.INFO: Extracted packet for processing {"connection_id":128510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:23:25] local.INFO: GPS Element Parsed {"raw_longitude":749903424,"raw_latitude":125976280,"longitude_deg":74.9903424,"latitude_deg":12.597628,"altitude":74,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2cb29e40","hex_latitude":"07823ed8","is_valid_coordinates":true} 
[2026-07-11 10:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638796288001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197216048087040,"note":"Value kept but may cause issues"} 
[2026-07-11 10:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575948887643981824,"note":"Value kept but may cause issues"} 
[2026-07-11 10:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783745318000,"timestamp_ms":1783745318000,"timestamp_seconds":1783745318,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f818c70"} 
[2026-07-11 10:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 10:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":128510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":128510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":128510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638796288001,"66":28137,"199":206,"85":36096,"24":0,"16":345197216048087040,"44":-5575948887643981824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,44]} 
[2026-07-11 10:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638796288001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:23:25] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-11 10:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197216048087040,"km_value":345197216048087.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575948887643981824,"description":"Unknown IO ID 44"} 
[2026-07-11 10:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638796288001,"power":28137,"trip_odometer":0.206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575948887643981824}} 
[2026-07-11 10:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":128510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:23:26] local.INFO: GPS data processed {"connection_id":128510,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:23:26] local.INFO: Acknowledgment sent {"connection_id":128510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:23:35] local.INFO: TCP Data received {"connection_id":129219,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f82c4f0012d181e000721b028004c00d528..."} 
[2026-07-11 10:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f82c4f0012d181e000721b028004c00d528..."} 
[2026-07-11 10:23:35] local.INFO: Processing buffer {"connection_id":129219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f82c4f0012d181e000721b028004c00d528..."} 
[2026-07-11 10:23:35] local.INFO: Packet analysis {"connection_id":129219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:23:35] local.INFO: Extracted packet for processing {"connection_id":129219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648296,"longitude_deg":75.6555264,"latitude_deg":11.9648296,"altitude":76,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638816512001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545442729263104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841553920,"note":"Value kept but may cause issues"} 
[2026-07-11 10:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783745398000,"timestamp_ms":1783745398000,"timestamp_seconds":1783745398,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f82c4f0"} 
[2026-07-11 10:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 10:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":129219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":129219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":129219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638816512001,"66":12461,"107":206,"83":41984,"24":0,"16":5545442729263104,"45":1737826536841553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 10:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638816512001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:23:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 10:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545442729263104,"km_value":5545442729263.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841553920,"description":"Unknown IO ID 45"} 
[2026-07-11 10:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638816512001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841553920}} 
[2026-07-11 10:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":129219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:23:35] local.INFO: GPS data processed {"connection_id":129219,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:23:35] local.INFO: Acknowledgment sent {"connection_id":129219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:24:00] local.INFO: TCP Data received {"connection_id":128511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:24:00] local.INFO: Processing buffer {"connection_id":128511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:24:00] local.INFO: IMEI packet received {"connection_id":128511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":128511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:24:04] local.INFO: TCP Data received {"connection_id":130465,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:24:04] local.INFO: Processing buffer {"connection_id":130465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:24:04] local.INFO: IMEI packet received {"connection_id":130465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":130465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:24:05] local.INFO: TCP Data received {"connection_id":128511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:24:05] local.INFO: Processing buffer {"connection_id":128511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:24:05] local.INFO: IMEI packet received {"connection_id":128511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":128511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:24:05] local.INFO: TCP Data received {"connection_id":128511,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f857858012d181cc00721ad20004c00a72a..."} 
[2026-07-11 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f857858012d181cc00721ad20004c00a72a..."} 
[2026-07-11 10:24:05] local.INFO: Processing buffer {"connection_id":128511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f857858012d181cc00721ad20004c00a72a..."} 
[2026-07-11 10:24:05] local.INFO: Packet analysis {"connection_id":128511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:24:05] local.INFO: Extracted packet for processing {"connection_id":128511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647520,"longitude_deg":75.6554944,"latitude_deg":11.964752,"altitude":76,"angle":167,"satellites":42,"speed":1,"hex_longitude":"2d181cc0","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-07-11 10:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638866688001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545489973903360,"note":"Value kept but may cause issues"} 
[2026-07-11 10:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120493568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783745575000,"timestamp_ms":1783745575000,"timestamp_seconds":1783745575,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f857858"} 
[2026-07-11 10:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:24: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-07-11 10:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-11 10:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638866688001,"66":14157,"105":206,"83":41984,"24":1,"16":5545489973903360,"45":1737474693120493568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638866688001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:24:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545489973903360,"km_value":5545489973903.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120493568,"description":"Unknown IO ID 45"} 
[2026-07-11 10:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638866688001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737474693120493568}} 
[2026-07-11 10:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":128511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:24:06] local.INFO: GPS data processed {"connection_id":128511,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:24:06] local.INFO: Acknowledgment sent {"connection_id":128511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:24:10] local.INFO: TCP Data received {"connection_id":130465,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:24:10] local.INFO: Processing buffer {"connection_id":130465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:24:10] local.INFO: IMEI packet received {"connection_id":130465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":130465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:24:36] local.INFO: TCP Data received {"connection_id":130465,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f81da90012cb29e8007823ee8004b00ab2a..."} 
[2026-07-11 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f81da90012cb29e8007823ee8004b00ab2a..."} 
[2026-07-11 10:24:36] local.INFO: Processing buffer {"connection_id":130465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f81da90012cb29e8007823ee8004b00ab2a..."} 
[2026-07-11 10:24:36] local.INFO: Packet analysis {"connection_id":130465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:24:36] local.INFO: Extracted packet for processing {"connection_id":130465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f81"} 
[2026-07-11 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976296,"longitude_deg":74.9903488,"latitude_deg":12.5976296,"altitude":75,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07823ee8","is_valid_coordinates":true} 
[2026-07-11 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638801408001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197220343054336,"note":"Value kept but may cause issues"} 
[2026-07-11 10:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575948887643990016,"note":"Value kept but may cause issues"} 
[2026-07-11 10:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783745338000,"timestamp_ms":1783745338000,"timestamp_seconds":1783745338,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f81da90"} 
[2026-07-11 10:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 10:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638801408001,"66":28137,"89":206,"85":36096,"24":0,"16":345197220343054336,"44":-5575948887643990016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 10:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638801408001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:24:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 10:24:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197220343054336,"km_value":345197220343054.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575948887643990016,"description":"Unknown IO ID 44"} 
[2026-07-11 10:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638801408001,"power":28137,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575948887643990016}} 
[2026-07-11 10:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":130465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:24:36] local.INFO: GPS data processed {"connection_id":130465,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:24:36] local.INFO: Acknowledgment sent {"connection_id":130465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:24:37] local.INFO: TCP Data received {"connection_id":128511,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f858fc8012d181d400721ab90004c00922a..."} 
[2026-07-11 10:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f858fc8012d181d400721ab90004c00922a..."} 
[2026-07-11 10:24:37] local.INFO: Processing buffer {"connection_id":128511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f858fc8012d181d400721ab90004c00922a..."} 
[2026-07-11 10:24:37] local.INFO: Packet analysis {"connection_id":128511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:24:37] local.INFO: Extracted packet for processing {"connection_id":128511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647120,"longitude_deg":75.6555072,"latitude_deg":11.964712,"altitude":76,"angle":146,"satellites":42,"speed":5,"hex_longitude":"2d181d40","hex_latitude":"0721ab90","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638867200001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545511448739840,"note":"Value kept but may cause issues"} 
[2026-07-11 10:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120466944,"note":"Value kept but may cause issues"} 
[2026-07-11 10:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745581000,"timestamp_ms":1783745581000,"timestamp_seconds":1783745581,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f858fc8"} 
[2026-07-11 10:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 10:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638867200001,"66":14189,"105":206,"83":41984,"24":5,"16":5545511448739840,"45":1737474693120466944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638867200001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:24:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545511448739840,"km_value":5545511448739.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120466944,"description":"Unknown IO ID 45"} 
[2026-07-11 10:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638867200001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737474693120466944}} 
[2026-07-11 10:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":128511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:24:37] local.INFO: GPS data processed {"connection_id":128511,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:24:37] local.INFO: Acknowledgment sent {"connection_id":128511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:25:00] local.INFO: TCP Data received {"connection_id":129220,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:25:00] local.INFO: Processing buffer {"connection_id":129220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:25:00] local.INFO: IMEI packet received {"connection_id":129220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":129220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:25:04] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:04] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:04] local.INFO: IMEI packet received {"connection_id":128512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":128512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:25:05] local.INFO: TCP Data received {"connection_id":129220,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:25:05] local.INFO: Processing buffer {"connection_id":129220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:25:05] local.INFO: IMEI packet received {"connection_id":129220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":129220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:25:05] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:05] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:05] local.INFO: IMEI packet received {"connection_id":128512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":128512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:25:06] local.INFO: TCP Data received {"connection_id":129220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f85a350012d1820000721a7e0004c007f2a..."} 
[2026-07-11 10:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f85a350012d1820000721a7e0004c007f2a..."} 
[2026-07-11 10:25:06] local.INFO: Processing buffer {"connection_id":129220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f85a350012d1820000721a7e0004c007f2a..."} 
[2026-07-11 10:25:06] local.INFO: Packet analysis {"connection_id":129220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:25:06] local.INFO: Extracted packet for processing {"connection_id":129220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119646176,"longitude_deg":75.6555776,"latitude_deg":11.9646176,"altitude":76,"angle":127,"satellites":42,"speed":9,"hex_longitude":"2d182000","hex_latitude":"0721a7e0","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638868736001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545567283314688,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608719872,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745586000,"timestamp_ms":1783745586000,"timestamp_seconds":1783745586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f85a350"} 
[2026-07-11 10:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 10:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638868736001,"66":14233,"105":206,"83":41984,"24":9,"16":5545567283314688,"45":1737615430608719872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638868736001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545567283314688,"km_value":5545567283314.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608719872,"description":"Unknown IO ID 45"} 
[2026-07-11 10:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638868736001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737615430608719872}} 
[2026-07-11 10:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":129220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:25:06] local.INFO: GPS data processed {"connection_id":129220,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:25:06] local.INFO: Acknowledgment sent {"connection_id":129220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:25:06] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:06] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:06] local.INFO: IMEI packet received {"connection_id":128512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":128512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:25:09] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:09] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:25:09] local.INFO: IMEI packet received {"connection_id":128512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":128512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:25:11] local.INFO: TCP Data received {"connection_id":128321,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:25:11] local.INFO: Processing buffer {"connection_id":128321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:25:11] local.INFO: IMEI packet received {"connection_id":128321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":128321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:25:12] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8228b0012cb29e8007823e88004a00ab29..."} 
[2026-07-11 10:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8228b0012cb29e8007823e88004a00ab29..."} 
[2026-07-11 10:25:12] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8228b0012cb29e8007823e88004a00ab29..."} 
[2026-07-11 10:25:12] local.INFO: Packet analysis {"connection_id":128512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:25:12] local.INFO: Extracted packet for processing {"connection_id":128512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976200,"longitude_deg":74.9903488,"latitude_deg":12.59762,"altitude":74,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07823e88","is_valid_coordinates":true} 
[2026-07-11 10:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638806528001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197224638021632,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899808256,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783745358000,"timestamp_ms":1783745358000,"timestamp_seconds":1783745358,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8228b0"} 
[2026-07-11 10:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 10:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638806528001,"66":28148,"89":206,"85":36096,"24":0,"16":345197224638021632,"44":-5575878518899808256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 10:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638806528001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:25:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 10:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197224638021632,"km_value":345197224638021.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899808256,"description":"Unknown IO ID 44"} 
[2026-07-11 10:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638806528001,"power":28148,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899808256}} 
[2026-07-11 10:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":128512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:25:12] local.INFO: GPS data processed {"connection_id":128512,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:25:12] local.INFO: Acknowledgment sent {"connection_id":128512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:25:37] local.INFO: TCP Data received {"connection_id":129220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f85af08012d1822800721a558004d008c28..."} 
[2026-07-11 10:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f85af08012d1822800721a558004d008c28..."} 
[2026-07-11 10:25:37] local.INFO: Processing buffer {"connection_id":129220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f85af08012d1822800721a558004d008c28..."} 
[2026-07-11 10:25:37] local.INFO: Packet analysis {"connection_id":129220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:25:37] local.INFO: Extracted packet for processing {"connection_id":129220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119645528,"longitude_deg":75.6556416,"latitude_deg":11.9645528,"altitude":77,"angle":140,"satellites":40,"speed":12,"hex_longitude":"2d182280","hex_latitude":"0721a558","is_valid_coordinates":true} 
[2026-07-11 10:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638870016001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5545610232987648,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794432512,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745589000,"timestamp_ms":1783745589000,"timestamp_seconds":1783745589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f85af08"} 
[2026-07-11 10:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-11 10:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638870016001,"66":14070,"105":206,"83":41984,"24":12,"16":5545610232987648,"45":1738389486794432512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638870016001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:25:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5545610232987648,"km_value":5545610232987.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794432512,"description":"Unknown IO ID 45"} 
[2026-07-11 10:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638870016001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1738389486794432512}} 
[2026-07-11 10:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":129220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:25:37] local.INFO: GPS data processed {"connection_id":129220,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:25:37] local.INFO: Acknowledgment sent {"connection_id":129220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:25:43] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8276d0012cb29e8007823eb8004b00ab2a..."} 
[2026-07-11 10:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8276d0012cb29e8007823eb8004b00ab2a..."} 
[2026-07-11 10:25:43] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8276d0012cb29e8007823eb8004b00ab2a..."} 
[2026-07-11 10:25:43] local.INFO: Packet analysis {"connection_id":128512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:25:43] local.INFO: Extracted packet for processing {"connection_id":128512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976248,"longitude_deg":74.9903488,"latitude_deg":12.5976248,"altitude":75,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07823eb8","is_valid_coordinates":true} 
[2026-07-11 10:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638811648001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197228932988928,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899832832,"note":"Value kept but may cause issues"} 
[2026-07-11 10:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783745378000,"timestamp_ms":1783745378000,"timestamp_seconds":1783745378,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8276d0"} 
[2026-07-11 10:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-11 10:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638811648001,"66":28137,"89":206,"85":36096,"24":0,"16":345197228932988928,"44":-5575878518899832832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 10:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638811648001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:25:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 10:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197228932988928,"km_value":345197228932988.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899832832,"description":"Unknown IO ID 44"} 
[2026-07-11 10:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638811648001,"power":28137,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899832832}} 
[2026-07-11 10:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":128512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:25:43] local.INFO: GPS data processed {"connection_id":128512,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:25:43] local.INFO: Acknowledgment sent {"connection_id":128512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:25:45] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:25:45] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:25:45] local.INFO: IMEI packet received {"connection_id":130466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":130466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:26:00] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:00] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:00] local.INFO: IMEI packet received {"connection_id":130467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":130467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:26:04] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:04] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:04] local.INFO: IMEI packet received {"connection_id":130467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":130467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:26:04] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:04] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:04] local.INFO: IMEI packet received {"connection_id":130467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":130467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:26:04] local.INFO: TCP Data received {"connection_id":130468,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:26:04] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:26:04] local.INFO: IMEI packet received {"connection_id":130468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":130468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:26:05] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:05] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:26:05] local.INFO: IMEI packet received {"connection_id":130467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":130467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:26:05] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f879b38012d18908007217dd8004b00732b..."} 
[2026-07-11 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f879b38012d18908007217dd8004b00732b..."} 
[2026-07-11 10:26:05] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f879b38012d18908007217dd8004b00732b..."} 
[2026-07-11 10:26:05] local.INFO: Packet analysis {"connection_id":130467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:26:05] local.INFO: Extracted packet for processing {"connection_id":130467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756584576,"raw_latitude":119635416,"longitude_deg":75.6584576,"latitude_deg":11.9635416,"altitude":75,"angle":115,"satellites":43,"speed":30,"hex_longitude":"2d189080","hex_latitude":"07217dd8","is_valid_coordinates":true} 
[2026-07-11 10:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638902016001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5547083406770176,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766748090695555072,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:05] 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-07-11 10:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783745715000,"timestamp_ms":1783745715000,"timestamp_seconds":1783745715,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f879b38"} 
[2026-07-11 10:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:26: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-07-11 10:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-11 10:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638902016001,"66":14374,"106":206,"83":41984,"24":30,"16":5547083406770176,"45":1766748090695555072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 10:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638902016001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 10:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5547083406770176,"km_value":5547083406770.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766748090695555072,"description":"Unknown IO ID 45"} 
[2026-07-11 10:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638902016001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1766748090695555072}} 
[2026-07-11 10:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":130467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:26:06] local.INFO: GPS data processed {"connection_id":130467,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:26:06] local.INFO: Acknowledgment sent {"connection_id":130467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:26:10] local.INFO: TCP Data received {"connection_id":130468,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:26:10] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:26:10] local.INFO: IMEI packet received {"connection_id":130468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":130468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:26:10] local.INFO: TCP Data received {"connection_id":130468,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8276d0012cb29e8007823eb8004b00ab2a..."} 
[2026-07-11 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8276d0012cb29e8007823eb8004b00ab2a..."} 
[2026-07-11 10:26:10] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8276d0012cb29e8007823eb8004b00ab2a..."} 
[2026-07-11 10:26:10] local.INFO: Packet analysis {"connection_id":130468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:26:10] local.INFO: Extracted packet for processing {"connection_id":130468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f82"} 
[2026-07-11 10:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976248,"longitude_deg":74.9903488,"latitude_deg":12.5976248,"altitude":75,"angle":171,"satellites":42,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07823eb8","is_valid_coordinates":true} 
[2026-07-11 10:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638816768001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197228932988928,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899820544,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783745378000,"timestamp_ms":1783745378000,"timestamp_seconds":1783745378,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8276d0"} 
[2026-07-11 10:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 10:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638816768001,"66":28137,"89":206,"85":36096,"24":0,"16":345197228932988928,"44":-5575878518899820544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 10:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638816768001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:26:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 10:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197228932988928,"km_value":345197228932988.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899820544,"description":"Unknown IO ID 44"} 
[2026-07-11 10:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638816768001,"power":28137,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899820544}} 
[2026-07-11 10:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":130468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:26:10] local.INFO: GPS data processed {"connection_id":130468,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:26:10] local.INFO: Acknowledgment sent {"connection_id":130468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:26:11] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f87be60012d18acc0072171980049008629..."} 
[2026-07-11 10:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f87be60012d18acc0072171980049008629..."} 
[2026-07-11 10:26:11] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f87be60012d18acc0072171980049008629..."} 
[2026-07-11 10:26:11] local.INFO: Packet analysis {"connection_id":130467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:26:11] local.INFO: Extracted packet for processing {"connection_id":130467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756591808,"raw_latitude":119632280,"longitude_deg":75.6591808,"latitude_deg":11.963228,"altitude":73,"angle":134,"satellites":41,"speed":33,"hex_longitude":"2d18acc0","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-07-11 10:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638903040001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5547461363892224,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770055421671626752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783745724000,"timestamp_ms":1783745724000,"timestamp_seconds":1783745724,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f87be60"} 
[2026-07-11 10:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 10:26:11] 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-07-11 10:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638903040001,"66":14265,"106":206,"83":41984,"24":33,"16":5547461363892224,"45":1770055421671626752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 10:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638903040001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 10:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5547461363892224,"km_value":5547461363892.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770055421671626752,"description":"Unknown IO ID 45"} 
[2026-07-11 10:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638903040001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1770055421671626752}} 
[2026-07-11 10:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":130467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:26:11] local.INFO: GPS data processed {"connection_id":130467,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:26:11] local.INFO: Acknowledgment sent {"connection_id":130467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:26:41] local.INFO: TCP Data received {"connection_id":130468,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f85e1d0012cb29c0007823f40004b00ab29..."} 
[2026-07-11 10:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f85e1d0012cb29c0007823f40004b00ab29..."} 
[2026-07-11 10:26:41] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f85e1d0012cb29c0007823f40004b00ab29..."} 
[2026-07-11 10:26:41] local.INFO: Packet analysis {"connection_id":130468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:26:41] local.INFO: Extracted packet for processing {"connection_id":130468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f85"} 
[2026-07-11 10:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125976384,"longitude_deg":74.9902848,"latitude_deg":12.5976384,"altitude":75,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823f40","is_valid_coordinates":true} 
[2026-07-11 10:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638816768001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197228932988928,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899820544,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783745602000,"timestamp_ms":1783745602000,"timestamp_seconds":1783745602,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f85e1d0"} 
[2026-07-11 10:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-11 10:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638816768001,"66":26376,"89":206,"85":36096,"24":0,"16":345197228932988928,"44":-5575878518899820544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 10:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638816768001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:26:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 10:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197228932988928,"km_value":345197228932988.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899820544,"description":"Unknown IO ID 44"} 
[2026-07-11 10:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638816768001,"power":26376,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899820544}} 
[2026-07-11 10:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":130468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:26:41] local.INFO: GPS data processed {"connection_id":130468,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:26:41] local.INFO: Acknowledgment sent {"connection_id":130468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:26:42] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f87c630012d18b14007216c580049009129..."} 
[2026-07-11 10:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f87c630012d18b14007216c580049009129..."} 
[2026-07-11 10:26:42] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f87c630012d18b14007216c580049009129..."} 
[2026-07-11 10:26:42] local.INFO: Packet analysis {"connection_id":130467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:26:42] local.INFO: Extracted packet for processing {"connection_id":130467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756592960,"raw_latitude":119630936,"longitude_deg":75.659296,"latitude_deg":11.9630936,"altitude":73,"angle":145,"satellites":41,"speed":35,"hex_longitude":"2d18b140","hex_latitude":"07216c58","is_valid_coordinates":true} 
[2026-07-11 10:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638905344001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5547547263238144,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778007089762899968,"note":"Value kept but may cause issues"} 
[2026-07-11 10:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783745726000,"timestamp_ms":1783745726000,"timestamp_seconds":1783745726,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f87c630"} 
[2026-07-11 10:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 10:26:42] 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-07-11 10:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638905344001,"66":14298,"106":206,"83":41984,"24":35,"16":5547547263238144,"45":1778007089762899968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 10:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638905344001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:26:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 10:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5547547263238144,"km_value":5547547263238.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778007089762899968,"description":"Unknown IO ID 45"} 
[2026-07-11 10:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638905344001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1778007089762899968}} 
[2026-07-11 10:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":130467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:26:42] local.INFO: GPS data processed {"connection_id":130467,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:26:42] local.INFO: Acknowledgment sent {"connection_id":130467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:27:00] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:27:00] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:27:00] local.INFO: IMEI packet received {"connection_id":128514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":128514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:27:04] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:27:04] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:27:04] local.INFO: IMEI packet received {"connection_id":128514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":128514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:27:05] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:27:05] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:27:05] local.INFO: IMEI packet received {"connection_id":128514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":128514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:27:06] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f87e958012d18c3c007215158004400a22a..."} 
[2026-07-11 10:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f87e958012d18c3c007215158004400a22a..."} 
[2026-07-11 10:27:06] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f87e958012d18c3c007215158004400a22a..."} 
[2026-07-11 10:27:06] local.INFO: Packet analysis {"connection_id":128514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:27:06] local.INFO: Extracted packet for processing {"connection_id":128514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119624024,"longitude_deg":75.6597696,"latitude_deg":11.9624024,"altitude":68,"angle":162,"satellites":42,"speed":36,"hex_longitude":"2d18c3c0","hex_latitude":"07215158","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638905856001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5547950990163968,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779273727157753856,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745735000,"timestamp_ms":1783745735000,"timestamp_seconds":1783745735,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f87e958"} 
[2026-07-11 10:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 10:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638905856001,"66":14233,"106":206,"83":41984,"24":36,"16":5547950990163968,"45":1779273727157753856},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 10:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638905856001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:27:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 10:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5547950990163968,"km_value":5547950990163.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779273727157753856,"description":"Unknown IO ID 45"} 
[2026-07-11 10:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638905856001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1779273727157753856}} 
[2026-07-11 10:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":128514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:27:06] local.INFO: GPS data processed {"connection_id":128514,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:27:06] local.INFO: Acknowledgment sent {"connection_id":128514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:27:10] local.INFO: TCP Data received {"connection_id":129221,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:27:10] local.INFO: Processing buffer {"connection_id":129221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:27:10] local.INFO: IMEI packet received {"connection_id":129221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":129221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:27:10] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f87f128012d18c4c007214a60004300b12b..."} 
[2026-07-11 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f87f128012d18c4c007214a60004300b12b..."} 
[2026-07-11 10:27:10] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f87f128012d18c4c007214a60004300b12b..."} 
[2026-07-11 10:27:10] local.INFO: Packet analysis {"connection_id":128514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:27:10] local.INFO: Extracted packet for processing {"connection_id":128514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119622240,"longitude_deg":75.6597952,"latitude_deg":11.962224,"altitude":67,"angle":177,"satellites":43,"speed":35,"hex_longitude":"2d18c4c0","hex_latitude":"07214a60","is_valid_coordinates":true} 
[2026-07-11 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5548036889509888,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225131520,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783745737000,"timestamp_ms":1783745737000,"timestamp_seconds":1783745737,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f87f128"} 
[2026-07-11 10:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-11 10:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638908160001,"66":14211,"106":206,"83":41984,"24":35,"16":5548036889509888,"45":1784481014225131520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 10:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:27:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 10:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5548036889509888,"km_value":5548036889509.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225131520,"description":"Unknown IO ID 45"} 
[2026-07-11 10:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638908160001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784481014225131520}} 
[2026-07-11 10:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":128514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:27:11] local.INFO: GPS data processed {"connection_id":128514,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:27:11] local.INFO: Acknowledgment sent {"connection_id":128514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:27:15] local.INFO: TCP Data received {"connection_id":129221,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:27:15] local.INFO: Processing buffer {"connection_id":129221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:27:15] local.INFO: IMEI packet received {"connection_id":129221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":129221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:27:15] local.INFO: TCP Data received {"connection_id":129221,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f864378012cb29d8007823f58004b00ab29..."} 
[2026-07-11 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f864378012cb29d8007823f58004b00ab29..."} 
[2026-07-11 10:27:15] local.INFO: Processing buffer {"connection_id":129221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f864378012cb29d8007823f58004b00ab29..."} 
[2026-07-11 10:27:15] local.INFO: Packet analysis {"connection_id":129221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:27:15] local.INFO: Extracted packet for processing {"connection_id":129221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":749903232,"raw_latitude":125976408,"longitude_deg":74.9903232,"latitude_deg":12.5976408,"altitude":75,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2cb29d80","hex_latitude":"07823f58","is_valid_coordinates":true} 
[2026-07-11 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638874112001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197241817890816,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341562368,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783745627000,"timestamp_ms":1783745627000,"timestamp_seconds":1783745627,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f864378"} 
[2026-07-11 10:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-11 10:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638874112001,"66":27995,"89":206,"85":36096,"24":0,"16":345197241817890816,"44":-5576582206341562368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 10:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638874112001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:27:15] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 10:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197241817890816,"km_value":345197241817890.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341562368,"description":"Unknown IO ID 44"} 
[2026-07-11 10:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638874112001,"power":27995,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341562368}} 
[2026-07-11 10:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":129221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:27:15] local.INFO: GPS data processed {"connection_id":129221,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:27:15] local.INFO: Acknowledgment sent {"connection_id":129221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:27:20] local.INFO: TCP Data received {"connection_id":129221,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f869198012cb29e0007823fd0004b00ab29..."} 
[2026-07-11 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f869198012cb29e0007823fd0004b00ab29..."} 
[2026-07-11 10:27:20] local.INFO: Processing buffer {"connection_id":129221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f869198012cb29e0007823fd0004b00ab29..."} 
[2026-07-11 10:27:20] local.INFO: Packet analysis {"connection_id":129221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:27:20] local.INFO: Extracted packet for processing {"connection_id":129221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":749903360,"raw_latitude":125976528,"longitude_deg":74.990336,"latitude_deg":12.5976528,"altitude":75,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2cb29e00","hex_latitude":"07823fd0","is_valid_coordinates":true} 
[2026-07-11 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638880512001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197250407825408,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576159993876490240,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783745647000,"timestamp_ms":1783745647000,"timestamp_seconds":1783745647,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f869198"} 
[2026-07-11 10:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 10:27:20] 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-07-11 10:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638880512001,"66":28093,"221":206,"85":36864,"24":0,"16":345197250407825408,"44":-5576159993876490240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638880512001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:27:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197250407825408,"km_value":345197250407825.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576159993876490240,"description":"Unknown IO ID 44"} 
[2026-07-11 10:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638880512001,"power":28093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576159993876490240}} 
[2026-07-11 10:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":129221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:27:20] local.INFO: GPS data processed {"connection_id":129221,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:27:20] local.INFO: Acknowledgment sent {"connection_id":129221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:27:41] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f88f2f8012d1956400720ab08002f005624..."} 
[2026-07-11 10:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f88f2f8012d1956400720ab08002f005624..."} 
[2026-07-11 10:27:41] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f88f2f8012d1956400720ab08002f005624..."} 
[2026-07-11 10:27:41] local.INFO: Packet analysis {"connection_id":128514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f88"} 
[2026-07-11 10:27:41] local.INFO: Extracted packet for processing {"connection_id":128514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f88"} 
[2026-07-11 10:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756635200,"raw_latitude":119581448,"longitude_deg":75.66352,"latitude_deg":11.9581448,"altitude":47,"angle":86,"satellites":36,"speed":31,"hex_longitude":"2d195640","hex_latitude":"0720ab08","is_valid_coordinates":true} 
[2026-07-11 10:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638925056001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5550940287401984,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823887510953764864,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783745803000,"timestamp_ms":1783745803000,"timestamp_seconds":1783745803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f88f2f8"} 
[2026-07-11 10:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6967756863,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":59393,"corrected_to":0} 
[2026-07-11 10:27:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":8192,"corrected_to":0} 
[2026-07-11 10:27:41] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13465703,"corrected_to":0} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503684298440704,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2289176577,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4074242110,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3067543552,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84751261433798925,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.WARNING: Large IO value detected {"io_id":208,"raw_value":17733632890248960,"note":"Value kept but may cause issues"} 
[2026-07-11 10:27:41] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,103,83,24,241,157,16,184,159,203,45,64,186,47,36,10,66,176,200,53,40,183,149,1,240,246,227,79,32,4,113,205,27,90,218,88,41,239,56,2,19,7,63,23,206,72,208],"length":529,"final_offset":659,"validated_count":47,"validation_warnings":[{"io_id":203,"original":59393,"validated":0},{"io_id":200,"original":8192,"validated":0},{"io_id":246,"original":13465703,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-11 10:27:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314763833869991936,"timestamp_seconds":3314763833869992.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638925056001,"66":14428,"103":206,"83":41984,"24":31,"16":5550940287401984,"45":1823887510953764864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638925056001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:27:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5550940287401984,"km_value":5550940287401.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823887510953764864,"description":"Unknown IO ID 45"} 
[2026-07-11 10:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638925056001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1823887510953764864}} 
[2026-07-11 10:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":128514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:27:41] local.INFO: GPS data processed {"connection_id":128514,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:27:41] local.INFO: Acknowledgment sent {"connection_id":128514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:28:00] local.INFO: TCP Data received {"connection_id":130469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:28:00] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:28:00] local.INFO: IMEI packet received {"connection_id":130469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":130469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:28:00] local.INFO: TCP Data received {"connection_id":130469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:28:00] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:28:00] local.INFO: IMEI packet received {"connection_id":130469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":130469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:28:05] local.INFO: TCP Data received {"connection_id":129223,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:28:05] local.INFO: Processing buffer {"connection_id":129223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:28:05] local.INFO: IMEI packet received {"connection_id":129223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":129223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:28:05] local.INFO: TCP Data received {"connection_id":130469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:28:05] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:28:05] local.INFO: IMEI packet received {"connection_id":130469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":130469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:28:06] local.INFO: TCP Data received {"connection_id":130469,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f890e50012d196e800720ae180032004a23..."} 
[2026-07-11 10:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f890e50012d196e800720ae180032004a23..."} 
[2026-07-11 10:28:06] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f890e50012d196e800720ae180032004a23..."} 
[2026-07-11 10:28:06] local.INFO: Packet analysis {"connection_id":130469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f89"} 
[2026-07-11 10:28:06] local.INFO: Extracted packet for processing {"connection_id":130469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f89"} 
[2026-07-11 10:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119582232,"longitude_deg":75.6641408,"latitude_deg":11.9582232,"altitude":50,"angle":74,"satellites":35,"speed":36,"hex_longitude":"2d196e80","hex_latitude":"0720ae18","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638925568001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5551236640145408,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825717098302343168,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783745810000,"timestamp_ms":1783745810000,"timestamp_seconds":1783745810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f890e50"} 
[2026-07-11 10:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 10:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638925568001,"66":14276,"103":206,"83":41984,"24":36,"16":5551236640145408,"45":1825717098302343168},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638925568001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:28:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5551236640145408,"km_value":5551236640145.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825717098302343168,"description":"Unknown IO ID 45"} 
[2026-07-11 10:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638925568001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1825717098302343168}} 
[2026-07-11 10:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":130469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:28:06] local.INFO: GPS data processed {"connection_id":130469,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:28:06] local.INFO: Acknowledgment sent {"connection_id":130469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:28:10] local.INFO: TCP Data received {"connection_id":129223,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:28:10] local.INFO: Processing buffer {"connection_id":129223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:28:10] local.INFO: IMEI packet received {"connection_id":129223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":129223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:28:11] local.INFO: TCP Data received {"connection_id":129223,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f86acf0012cb29e00078240e8004b000928..."} 
[2026-07-11 10:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f86acf0012cb29e00078240e8004b000928..."} 
[2026-07-11 10:28:11] local.INFO: Processing buffer {"connection_id":129223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f86acf0012cb29e00078240e8004b000928..."} 
[2026-07-11 10:28:11] local.INFO: Packet analysis {"connection_id":129223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:28:11] local.INFO: Extracted packet for processing {"connection_id":129223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749903360,"raw_latitude":125976808,"longitude_deg":74.990336,"latitude_deg":12.5976808,"altitude":75,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2cb29e00","hex_latitude":"078240e8","is_valid_coordinates":true} 
[2026-07-11 10:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638885632001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197263292727296,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576019256388104192,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783745654000,"timestamp_ms":1783745654000,"timestamp_seconds":1783745654,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f86acf0"} 
[2026-07-11 10:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-11 10:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638885632001,"66":27974,"221":206,"85":36864,"24":0,"16":345197263292727296,"44":-5576019256388104192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638885632001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197263292727296,"km_value":345197263292727.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576019256388104192,"description":"Unknown IO ID 44"} 
[2026-07-11 10:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638885632001,"power":27974,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576019256388104192}} 
[2026-07-11 10:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":129223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:28:11] local.INFO: GPS data processed {"connection_id":129223,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:28:11] local.INFO: Acknowledgment sent {"connection_id":129223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:28:15] local.INFO: TCP Data received {"connection_id":129223,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f86cc30012cb29ec0078243c0004a001629..."} 
[2026-07-11 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f86cc30012cb29ec0078243c0004a001629..."} 
[2026-07-11 10:28:15] local.INFO: Processing buffer {"connection_id":129223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f86cc30012cb29ec0078243c0004a001629..."} 
[2026-07-11 10:28:15] local.INFO: Packet analysis {"connection_id":129223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:28:15] local.INFO: Extracted packet for processing {"connection_id":129223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":749903552,"raw_latitude":125977536,"longitude_deg":74.9903552,"latitude_deg":12.5977536,"altitude":74,"angle":22,"satellites":41,"speed":7,"hex_longitude":"2cb29ec0","hex_latitude":"078243c0","is_valid_coordinates":true} 
[2026-07-11 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638887424001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197301947432960,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576019256388032512,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783745662000,"timestamp_ms":1783745662000,"timestamp_seconds":1783745662,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f86cc30"} 
[2026-07-11 10:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 10:28:15] 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-07-11 10:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638887424001,"66":28148,"221":206,"85":36864,"24":7,"16":345197301947432960,"44":-5576019256388032512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638887424001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:28:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197301947432960,"km_value":345197301947432.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576019256388032512,"description":"Unknown IO ID 44"} 
[2026-07-11 10:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638887424001,"power":28148,"unknown_221":206,"unknown_85":36864,"ignition":7,"odometer":null,"unknown_44":-5576019256388032512}} 
[2026-07-11 10:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":129223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:28:15] local.INFO: GPS data processed {"connection_id":129223,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:28:15] local.INFO: Acknowledgment sent {"connection_id":129223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:28:37] local.INFO: TCP Data received {"connection_id":130469,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8a0468012d19ae8007209250003000c729..."} 
[2026-07-11 10:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8a0468012d19ae8007209250003000c729..."} 
[2026-07-11 10:28:37] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8a0468012d19ae8007209250003000c729..."} 
[2026-07-11 10:28:37] local.INFO: Packet analysis {"connection_id":130469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:28:37] local.INFO: Extracted packet for processing {"connection_id":130469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119575120,"longitude_deg":75.6657792,"latitude_deg":11.957512,"altitude":48,"angle":199,"satellites":41,"speed":28,"hex_longitude":"2d19ae80","hex_latitude":"07209250","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638941952001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5552563785039872,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484363264,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745873000,"timestamp_ms":1783745873000,"timestamp_seconds":1783745873,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8a0468"} 
[2026-07-11 10:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:28: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-07-11 10: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 10:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638941952001,"66":14102,"103":206,"83":41984,"24":28,"16":5552563785039872,"45":1853723858484363264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638941952001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:28:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5552563785039872,"km_value":5552563785039.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484363264,"description":"Unknown IO ID 45"} 
[2026-07-11 10:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638941952001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1853723858484363264}} 
[2026-07-11 10:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":130469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:28:37] local.INFO: GPS data processed {"connection_id":130469,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:28:37] local.INFO: Acknowledgment sent {"connection_id":130469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:28:46] local.INFO: TCP Data received {"connection_id":129223,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f86eb70012cb29f80078243f8004800b32a..."} 
[2026-07-11 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f86eb70012cb29f80078243f8004800b32a..."} 
[2026-07-11 10:28:46] local.INFO: Processing buffer {"connection_id":129223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f86eb70012cb29f80078243f8004800b32a..."} 
[2026-07-11 10:28:46] local.INFO: Packet analysis {"connection_id":129223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:28:46] local.INFO: Extracted packet for processing {"connection_id":129223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125977592,"longitude_deg":74.9903744,"latitude_deg":12.5977592,"altitude":72,"angle":179,"satellites":42,"speed":1,"hex_longitude":"2cb29f80","hex_latitude":"078243f8","is_valid_coordinates":true} 
[2026-07-11 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638889472001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197319127302144,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155313152,"note":"Value kept but may cause issues"} 
[2026-07-11 10:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783745670000,"timestamp_ms":1783745670000,"timestamp_seconds":1783745670,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f86eb70"} 
[2026-07-11 10:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-11 10:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638889472001,"66":27691,"221":206,"85":36864,"24":1,"16":345197319127302144,"44":-5575808150155313152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638889472001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:28:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197319127302144,"km_value":345197319127302.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:28:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155313152,"description":"Unknown IO ID 44"} 
[2026-07-11 10:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638889472001,"power":27691,"unknown_221":206,"unknown_85":36864,"ignition":1,"odometer":null,"unknown_44":-5575808150155313152}} 
[2026-07-11 10:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":129223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:28:46] local.INFO: GPS data processed {"connection_id":129223,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:28:46] local.INFO: Acknowledgment sent {"connection_id":129223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:29:03] local.INFO: TCP Data received {"connection_id":128322,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:03] local.INFO: Processing buffer {"connection_id":128322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:03] local.INFO: IMEI packet received {"connection_id":128322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":128322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:29:05] local.INFO: TCP Data received {"connection_id":128323,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:29:05] local.INFO: Processing buffer {"connection_id":128323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:29:05] local.INFO: IMEI packet received {"connection_id":128323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":128323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:29:05] local.INFO: TCP Data received {"connection_id":128322,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:05] local.INFO: Processing buffer {"connection_id":128322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:05] local.INFO: IMEI packet received {"connection_id":128322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":128322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:29:05] local.INFO: TCP Data received {"connection_id":128322,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:05] local.INFO: Processing buffer {"connection_id":128322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:05] local.INFO: IMEI packet received {"connection_id":128322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":128322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:29:10] local.INFO: TCP Data received {"connection_id":128323,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:29:10] local.INFO: Processing buffer {"connection_id":128323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:29:10] local.INFO: IMEI packet received {"connection_id":128323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":128323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:29:10] local.INFO: TCP Data received {"connection_id":128322,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:10] local.INFO: Processing buffer {"connection_id":128322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:10] local.INFO: IMEI packet received {"connection_id":128322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":128322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:29:10] local.INFO: TCP Data received {"connection_id":128323,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f86ef58012cb29f80078243a0004800c42a..."} 
[2026-07-11 10:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f86ef58012cb29f80078243a0004800c42a..."} 
[2026-07-11 10:29:10] local.INFO: Processing buffer {"connection_id":128323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f86ef58012cb29f80078243a0004800c42a..."} 
[2026-07-11 10:29:10] local.INFO: Packet analysis {"connection_id":128323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:29:10] local.INFO: Extracted packet for processing {"connection_id":128323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f86"} 
[2026-07-11 10:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125977504,"longitude_deg":74.9903744,"latitude_deg":12.5977504,"altitude":72,"angle":196,"satellites":42,"speed":3,"hex_longitude":"2cb29f80","hex_latitude":"078243a0","is_valid_coordinates":true} 
[2026-07-11 10:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638891520001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197323422269440,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575597043922765824,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783745671000,"timestamp_ms":1783745671000,"timestamp_seconds":1783745671,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f86ef58"} 
[2026-07-11 10:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 10:29:10] 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-07-11 10:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638891520001,"66":27691,"221":206,"85":36864,"24":3,"16":345197323422269440,"44":-5575597043922765824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638891520001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:29:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197323422269440,"km_value":345197323422269.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575597043922765824,"description":"Unknown IO ID 44"} 
[2026-07-11 10:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638891520001,"power":27691,"unknown_221":206,"unknown_85":36864,"ignition":3,"odometer":null,"unknown_44":-5575597043922765824}} 
[2026-07-11 10:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":128323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:29:10] local.INFO: GPS data processed {"connection_id":128323,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:29:10] local.INFO: Acknowledgment sent {"connection_id":128323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:29:11] local.INFO: TCP Data received {"connection_id":128322,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8a0850012d19ae4007208f58003000b629..."} 
[2026-07-11 10:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8a0850012d19ae4007208f58003000b629..."} 
[2026-07-11 10:29:11] local.INFO: Processing buffer {"connection_id":128322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8a0850012d19ae4007208f58003000b629..."} 
[2026-07-11 10:29:11] local.INFO: Packet analysis {"connection_id":128322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:29:11] local.INFO: Extracted packet for processing {"connection_id":128322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574360,"longitude_deg":75.6657728,"latitude_deg":11.957436,"altitude":48,"angle":182,"satellites":41,"speed":30,"hex_longitude":"2d19ae40","hex_latitude":"07208f58","is_valid_coordinates":true} 
[2026-07-11 10:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638943488001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5552602439745536,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995438592,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783745874000,"timestamp_ms":1783745874000,"timestamp_seconds":1783745874,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8a0850"} 
[2026-07-11 10:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 10:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638943488001,"66":14102,"103":206,"83":41984,"24":30,"16":5552602439745536,"45":1850557264995438592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638943488001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:29:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5552602439745536,"km_value":5552602439745.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995438592,"description":"Unknown IO ID 45"} 
[2026-07-11 10:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638943488001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1850557264995438592}} 
[2026-07-11 10:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":128322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:29:11] local.INFO: GPS data processed {"connection_id":128322,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:29:11] local.INFO: Acknowledgment sent {"connection_id":128322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:29:12] local.INFO: TCP Data received {"connection_id":128322,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8a1020012d19aec0072088a0002f00a828..."} 
[2026-07-11 10:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8a1020012d19aec0072088a0002f00a828..."} 
[2026-07-11 10:29:12] local.INFO: Processing buffer {"connection_id":128322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8a1020012d19aec0072088a0002f00a828..."} 
[2026-07-11 10:29:12] local.INFO: Packet analysis {"connection_id":128322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:29:12] local.INFO: Extracted packet for processing {"connection_id":128322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119572640,"longitude_deg":75.6657856,"latitude_deg":11.957264,"altitude":47,"angle":168,"satellites":40,"speed":37,"hex_longitude":"2d19aec0","hex_latitude":"072088a0","is_valid_coordinates":true} 
[2026-07-11 10:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638943744001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5552684044124160,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251066368,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783745876000,"timestamp_ms":1783745876000,"timestamp_seconds":1783745876,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8a1020"} 
[2026-07-11 10:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 10:29:12] 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-07-11 10:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638943744001,"66":14004,"103":206,"83":41984,"24":37,"16":5552684044124160,"45":1850486896251066368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638943744001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:29:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5552684044124160,"km_value":5552684044124.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251066368,"description":"Unknown IO ID 45"} 
[2026-07-11 10:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638943744001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1850486896251066368}} 
[2026-07-11 10:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":128322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:29:12] local.INFO: GPS data processed {"connection_id":128322,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:29:12] local.INFO: Acknowledgment sent {"connection_id":128322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:29:13] local.INFO: TCP Data received {"connection_id":128322,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8a2790012d19b5c007206f30002d009b24..."} 
[2026-07-11 10:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8a2790012d19b5c007206f30002d009b24..."} 
[2026-07-11 10:29:13] local.INFO: Processing buffer {"connection_id":128322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8a2790012d19b5c007206f30002d009b24..."} 
[2026-07-11 10:29:13] local.INFO: Packet analysis {"connection_id":128322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:29:13] local.INFO: Extracted packet for processing {"connection_id":128322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119566128,"longitude_deg":75.6659648,"latitude_deg":11.9566128,"altitude":45,"angle":155,"satellites":36,"speed":46,"hex_longitude":"2d19b5c0","hex_latitude":"07206f30","is_valid_coordinates":true} 
[2026-07-11 10:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638944256001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5553014756605952,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633738981376,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783745882000,"timestamp_ms":1783745882000,"timestamp_seconds":1783745882,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8a2790"} 
[2026-07-11 10:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 10:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638944256001,"66":14265,"103":206,"83":41984,"24":46,"16":5553014756605952,"45":1850627633738981376},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638944256001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:29:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5553014756605952,"km_value":5553014756605.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633738981376,"description":"Unknown IO ID 45"} 
[2026-07-11 10:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638944256001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1850627633738981376}} 
[2026-07-11 10:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":128322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:29:13] local.INFO: GPS data processed {"connection_id":128322,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:29:13] local.INFO: Acknowledgment sent {"connection_id":128322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:29:41] local.INFO: TCP Data received {"connection_id":128323,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f872220012cb29e8007824070004700b328..."} 
[2026-07-11 10:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f872220012cb29e8007824070004700b328..."} 
[2026-07-11 10:29:41] local.INFO: Processing buffer {"connection_id":128323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f872220012cb29e8007824070004700b328..."} 
[2026-07-11 10:29:41] local.INFO: Packet analysis {"connection_id":128323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:29:41] local.INFO: Extracted packet for processing {"connection_id":128323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976688,"longitude_deg":74.9903488,"latitude_deg":12.5976688,"altitude":71,"angle":179,"satellites":40,"speed":1,"hex_longitude":"2cb29e80","hex_latitude":"07824070","is_valid_coordinates":true} 
[2026-07-11 10:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638891776001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197370666909696,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575597043922788352,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783745684000,"timestamp_ms":1783745684000,"timestamp_seconds":1783745684,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f872220"} 
[2026-07-11 10:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 10:29:41] 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-07-11 10:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638891776001,"66":27930,"221":206,"85":36864,"24":1,"16":345197370666909696,"44":-5575597043922788352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638891776001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:29:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197370666909696,"km_value":345197370666909.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575597043922788352,"description":"Unknown IO ID 44"} 
[2026-07-11 10:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638891776001,"power":27930,"unknown_221":206,"unknown_85":36864,"ignition":1,"odometer":null,"unknown_44":-5575597043922788352}} 
[2026-07-11 10:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":128323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:29:41] local.INFO: GPS data processed {"connection_id":128323,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:29:41] local.INFO: Acknowledgment sent {"connection_id":128323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:29:44] local.INFO: TCP Data received {"connection_id":128322,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8ae6f8012d19c880071ff2a8002c00fb2b..."} 
[2026-07-11 10:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8ae6f8012d19c880071ff2a8002c00fb2b..."} 
[2026-07-11 10:29:44] local.INFO: Processing buffer {"connection_id":128322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8ae6f8012d19c880071ff2a8002c00fb2b..."} 
[2026-07-11 10:29:44] local.INFO: Packet analysis {"connection_id":128322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:29:44] local.INFO: Extracted packet for processing {"connection_id":128322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119534248,"longitude_deg":75.6664448,"latitude_deg":11.9534248,"altitude":44,"angle":251,"satellites":43,"speed":17,"hex_longitude":"2d19c880","hex_latitude":"071ff2a8","is_valid_coordinates":true} 
[2026-07-11 10:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638958080001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5554853002608640,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844563456,"note":"Value kept but may cause issues"} 
[2026-07-11 10:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783745931000,"timestamp_ms":1783745931000,"timestamp_seconds":1783745931,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8ae6f8"} 
[2026-07-11 10:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 10:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638958080001,"66":13852,"101":206,"83":41984,"24":17,"16":5554853002608640,"45":1858297826844563456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638958080001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:29:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5554853002608640,"km_value":5554853002608.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844563456,"description":"Unknown IO ID 45"} 
[2026-07-11 10:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638958080001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858297826844563456}} 
[2026-07-11 10:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":128322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:29:44] local.INFO: GPS data processed {"connection_id":128322,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:29:44] local.INFO: Acknowledgment sent {"connection_id":128322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:29:59] local.INFO: TCP Data received {"connection_id":129225,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:59] local.INFO: Processing buffer {"connection_id":129225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:29:59] local.INFO: IMEI packet received {"connection_id":129225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":129225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:30:00] local.INFO: TCP Data received {"connection_id":129225,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:30:00] local.INFO: Processing buffer {"connection_id":129225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:30:00] local.INFO: IMEI packet received {"connection_id":129225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":129225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:30:01] local.INFO: TCP Data received {"connection_id":129225,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:30:01] local.INFO: Processing buffer {"connection_id":129225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:30:01] local.INFO: IMEI packet received {"connection_id":129225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":129225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:30:04] local.INFO: TCP Data received {"connection_id":129225,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:30:04] local.INFO: Processing buffer {"connection_id":129225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:30:04] local.INFO: IMEI packet received {"connection_id":129225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":129225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:30:04] local.INFO: TCP Data received {"connection_id":129226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:30:04] local.INFO: Processing buffer {"connection_id":129226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:30:04] local.INFO: IMEI packet received {"connection_id":129226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":129226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:30:04] local.INFO: TCP Data received {"connection_id":129225,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8aeec8012d19c480071ff208002d010629..."} 
[2026-07-11 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8aeec8012d19c480071ff208002d010629..."} 
[2026-07-11 10:30:04] local.INFO: Processing buffer {"connection_id":129225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8aeec8012d19c480071ff208002d010629..."} 
[2026-07-11 10:30:04] local.INFO: Packet analysis {"connection_id":129225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:30:04] local.INFO: Extracted packet for processing {"connection_id":129225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8a"} 
[2026-07-11 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119534088,"longitude_deg":75.6663424,"latitude_deg":11.9534088,"altitude":45,"angle":262,"satellites":41,"speed":21,"hex_longitude":"2d19c480","hex_latitude":"071ff208","is_valid_coordinates":true} 
[2026-07-11 10:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638958336001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5554900247248896,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379452416,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783745933000,"timestamp_ms":1783745933000,"timestamp_seconds":1783745933,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8aeec8"} 
[2026-07-11 10:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-11 10:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":129225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":129225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":129225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638958336001,"66":14048,"101":206,"83":41984,"24":21,"16":5554900247248896,"45":1857875614379452416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638958336001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:30:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5554900247248896,"km_value":5554900247248.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379452416,"description":"Unknown IO ID 45"} 
[2026-07-11 10:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638958336001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1857875614379452416}} 
[2026-07-11 10:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":129225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:30:04] local.INFO: GPS data processed {"connection_id":129225,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:30:04] local.INFO: Acknowledgment sent {"connection_id":129225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:30:05] local.INFO: TCP Data received {"connection_id":129225,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8b11f0012d19af00071ff098002f011926..."} 
[2026-07-11 10:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8b11f0012d19af00071ff098002f011926..."} 
[2026-07-11 10:30:05] local.INFO: Processing buffer {"connection_id":129225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8b11f0012d19af00071ff098002f011926..."} 
[2026-07-11 10:30:05] local.INFO: Packet analysis {"connection_id":129225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:30:05] local.INFO: Extracted packet for processing {"connection_id":129225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119533720,"longitude_deg":75.665792,"latitude_deg":11.953372,"altitude":47,"angle":281,"satellites":38,"speed":24,"hex_longitude":"2d19af00","hex_latitude":"071ff098","is_valid_coordinates":true} 
[2026-07-11 10:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638958848001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5555162240253952,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714472568832,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783745942000,"timestamp_ms":1783745942000,"timestamp_seconds":1783745942,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8b11f0"} 
[2026-07-11 10:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:30: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-07-11 10:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 10:30:05] 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-07-11 10:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638958848001,"66":14428,"101":206,"83":41984,"24":24,"16":5555162240253952,"45":1856749714472568832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638958848001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:30:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5555162240253952,"km_value":5555162240253.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714472568832,"description":"Unknown IO ID 45"} 
[2026-07-11 10:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638958848001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1856749714472568832}} 
[2026-07-11 10:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":129225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:30:05] local.INFO: GPS data processed {"connection_id":129225,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:30:05] local.INFO: Acknowledgment sent {"connection_id":129225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:30:10] local.INFO: TCP Data received {"connection_id":129226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:30:10] local.INFO: Processing buffer {"connection_id":129226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:30:10] local.INFO: IMEI packet received {"connection_id":129226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":129226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:30:10] local.INFO: TCP Data received {"connection_id":129226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8729f0012cb29e8007824000004700be27..."} 
[2026-07-11 10:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8729f0012cb29e8007824000004700be27..."} 
[2026-07-11 10:30:10] local.INFO: Processing buffer {"connection_id":129226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8729f0012cb29e8007824000004700be27..."} 
[2026-07-11 10:30:10] local.INFO: Packet analysis {"connection_id":129226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:30:10] local.INFO: Extracted packet for processing {"connection_id":129226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f87"} 
[2026-07-11 10:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976576,"longitude_deg":74.9903488,"latitude_deg":12.5976576,"altitude":71,"angle":190,"satellites":39,"speed":2,"hex_longitude":"2cb29e80","hex_latitude":"07824000","is_valid_coordinates":true} 
[2026-07-11 10:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895104001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899707904,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783745686000,"timestamp_ms":1783745686000,"timestamp_seconds":1783745686,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8729f0"} 
[2026-07-11 10:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 10:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895104001,"66":27919,"199":206,"85":36096,"24":2,"16":345197374961876992,"44":-5575878518899707904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,44]} 
[2026-07-11 10:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895104001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:30:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-11 10:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899707904,"description":"Unknown IO ID 44"} 
[2026-07-11 10:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895104001,"power":27919,"trip_odometer":0.206,"unknown_85":36096,"ignition":2,"odometer":null,"unknown_44":-5575878518899707904}} 
[2026-07-11 10:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":129226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:30:10] local.INFO: GPS data processed {"connection_id":129226,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:30:10] local.INFO: Acknowledgment sent {"connection_id":129226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:30:37] local.INFO: TCP Data received {"connection_id":129225,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bd928012d199a40071fc008003a00d127..."} 
[2026-07-11 10:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bd928012d199a40071fc008003a00d127..."} 
[2026-07-11 10:30:37] local.INFO: Processing buffer {"connection_id":129225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bd928012d199a40071fc008003a00d127..."} 
[2026-07-11 10:30:37] local.INFO: Packet analysis {"connection_id":129225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:30:37] local.INFO: Extracted packet for processing {"connection_id":129225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756652608,"raw_latitude":119521288,"longitude_deg":75.6652608,"latitude_deg":11.9521288,"altitude":58,"angle":209,"satellites":39,"speed":9,"hex_longitude":"2d199a40","hex_latitude":"071fc008","is_valid_coordinates":true} 
[2026-07-11 10:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638973952001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5556042708549632,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844998134191673344,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783745993000,"timestamp_ms":1783745993000,"timestamp_seconds":1783745993,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bd928"} 
[2026-07-11 10:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 10:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638973952001,"66":14407,"101":206,"83":41984,"24":9,"16":5556042708549632,"45":1844998134191673344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638973952001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:30:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5556042708549632,"km_value":5556042708549.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844998134191673344,"description":"Unknown IO ID 45"} 
[2026-07-11 10:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638973952001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1844998134191673344}} 
[2026-07-11 10:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":129225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:30:37] local.INFO: GPS data processed {"connection_id":129225,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:30:37] local.INFO: Acknowledgment sent {"connection_id":129225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:30:41] local.INFO: TCP Data received {"connection_id":129226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:30:42] local.INFO: Processing buffer {"connection_id":129226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:30:42] local.INFO: Packet analysis {"connection_id":129226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:30:42] local.INFO: Extracted packet for processing {"connection_id":129226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:30:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":129226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:30:42] local.INFO: GPS data processed {"connection_id":129226,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:30:42] local.INFO: Acknowledgment sent {"connection_id":129226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:31:00] local.INFO: TCP Data received {"connection_id":128325,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:00] local.INFO: Processing buffer {"connection_id":128325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:00] local.INFO: IMEI packet received {"connection_id":128325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":128325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:31:01] local.INFO: TCP Data received {"connection_id":128325,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:01] local.INFO: Processing buffer {"connection_id":128325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:01] local.INFO: IMEI packet received {"connection_id":128325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":128325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:31:01] local.INFO: TCP Data received {"connection_id":128324,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:31:01] local.INFO: Processing buffer {"connection_id":128324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:31:01] local.INFO: IMEI packet received {"connection_id":128324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":128324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:31:01] local.INFO: TCP Data received {"connection_id":128325,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:01] local.INFO: Processing buffer {"connection_id":128325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:01] local.INFO: IMEI packet received {"connection_id":128325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":128325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:31:03] local.INFO: TCP Data received {"connection_id":128325,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:03] local.INFO: Processing buffer {"connection_id":128325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:31:03] local.INFO: IMEI packet received {"connection_id":128325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":128325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:31:04] local.INFO: TCP Data received {"connection_id":128325,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bdd10012d199a00071fbf20003a00b327..."} 
[2026-07-11 10:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bdd10012d199a00071fbf20003a00b327..."} 
[2026-07-11 10:31:04] local.INFO: Processing buffer {"connection_id":128325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bdd10012d199a00071fbf20003a00b327..."} 
[2026-07-11 10:31:04] local.INFO: Packet analysis {"connection_id":128325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:31:04] local.INFO: Extracted packet for processing {"connection_id":128325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756652544,"raw_latitude":119521056,"longitude_deg":75.6652544,"latitude_deg":11.9521056,"altitude":58,"angle":179,"satellites":39,"speed":9,"hex_longitude":"2d199a00","hex_latitude":"071fbf20","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638974208001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5556055593451520,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844857396703266816,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783745994000,"timestamp_ms":1783745994000,"timestamp_seconds":1783745994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bdd10"} 
[2026-07-11 10:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 10:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":128325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":128325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":128325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638974208001,"66":14407,"101":206,"83":41984,"24":9,"16":5556055593451520,"45":1844857396703266816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638974208001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:31:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5556055593451520,"km_value":5556055593451.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844857396703266816,"description":"Unknown IO ID 45"} 
[2026-07-11 10:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638974208001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1844857396703266816}} 
[2026-07-11 10:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":128325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:31:04] local.INFO: GPS data processed {"connection_id":128325,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:31:04] local.INFO: Acknowledgment sent {"connection_id":128325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:31:15] local.INFO: TCP Data received {"connection_id":130470,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:31:15] local.INFO: Processing buffer {"connection_id":130470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:31:15] local.INFO: IMEI packet received {"connection_id":130470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":130470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:31:20] local.INFO: TCP Data received {"connection_id":130470,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:31:20] local.INFO: Processing buffer {"connection_id":130470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:31:20] local.INFO: IMEI packet received {"connection_id":130470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":130470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:31:20] local.INFO: TCP Data received {"connection_id":130470,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:31:20] local.INFO: Processing buffer {"connection_id":130470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:31:20] local.INFO: Packet analysis {"connection_id":130470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:31:20] local.INFO: Extracted packet for processing {"connection_id":130470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:31:20] 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-07-11 10:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:31:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":130470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:31:20] local.INFO: GPS data processed {"connection_id":130470,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:31:20] local.INFO: Acknowledgment sent {"connection_id":130470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:31:25] local.INFO: TCP Data received {"connection_id":130470,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:31:25] local.INFO: Processing buffer {"connection_id":130470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:31:25] local.INFO: Packet analysis {"connection_id":130470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:31:25] local.INFO: Extracted packet for processing {"connection_id":130470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:31:25] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:31:25] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":130470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:31:25] local.INFO: GPS data processed {"connection_id":130470,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:31:25] local.INFO: Acknowledgment sent {"connection_id":130470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:31:35] local.INFO: TCP Data received {"connection_id":128325,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8c7950012d19b8c0071f88600040005629..."} 
[2026-07-11 10:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8c7950012d19b8c0071f88600040005629..."} 
[2026-07-11 10:31:35] local.INFO: Processing buffer {"connection_id":128325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8c7950012d19b8c0071f88600040005629..."} 
[2026-07-11 10:31:35] local.INFO: Packet analysis {"connection_id":128325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8c"} 
[2026-07-11 10:31:35] local.INFO: Extracted packet for processing {"connection_id":128325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8c"} 
[2026-07-11 10:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119507040,"longitude_deg":75.6660416,"latitude_deg":11.950704,"altitude":64,"angle":86,"satellites":41,"speed":16,"hex_longitude":"2d19b8c0","hex_latitude":"071f8860","is_valid_coordinates":true} 
[2026-07-11 10:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638984448001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5556893112074240,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171024230400,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783746034000,"timestamp_ms":1783746034000,"timestamp_seconds":1783746034,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8c7950"} 
[2026-07-11 10:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 10:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":128325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":128325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":128325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638984448001,"66":14113,"101":206,"83":41984,"24":16,"16":5556893112074240,"45":1853020171024230400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638984448001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:31:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5556893112074240,"km_value":5556893112074.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171024230400,"description":"Unknown IO ID 45"} 
[2026-07-11 10:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638984448001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1853020171024230400}} 
[2026-07-11 10:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":128325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:31:35] local.INFO: GPS data processed {"connection_id":128325,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:31:35] local.INFO: Acknowledgment sent {"connection_id":128325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:31:45] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:31:45] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:31:45] local.INFO: IMEI packet received {"connection_id":130471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":130471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:31:51] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:31:51] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:31:51] local.INFO: IMEI packet received {"connection_id":130471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 10:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":130471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:31:52] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f7710d8012cfefc00070031a8000800d32b..."} 
[2026-07-11 10:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f7710d8012cfefc00070031a8000800d32b..."} 
[2026-07-11 10:31:52] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f7710d8012cfefc00070031a8000800d32b..."} 
[2026-07-11 10:31:52] local.INFO: Packet analysis {"connection_id":130471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f77"} 
[2026-07-11 10:31:52] local.INFO: Extracted packet for processing {"connection_id":130471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f77"} 
[2026-07-11 10:31:52] local.INFO: GPS Element Parsed {"raw_longitude":754908160,"raw_latitude":117453224,"longitude_deg":75.490816,"latitude_deg":11.7453224,"altitude":8,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2cfefc00","hex_latitude":"070031a8","is_valid_coordinates":true} 
[2026-07-11 10:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638620160001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135069488734273536,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73183463876745216,"note":"Value kept but may cause issues"} 
[2026-07-11 10:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783744631000,"timestamp_ms":1783744631000,"timestamp_seconds":1783744631,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f7710d8"} 
[2026-07-11 10:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 10:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 10:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 10:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 10:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 10:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638620160001,"66":28300,"141":206,"94":10240,"24":0,"16":135069488734273536,"44":-73183463876745216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-11 10:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 10:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 10:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638620160001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:31:52] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-11 10:31:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 10:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135069488734273536,"km_value":135069488734273.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:31:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73183463876745216,"description":"Unknown IO ID 44"} 
[2026-07-11 10:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638620160001,"power":28300,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73183463876745216}} 
[2026-07-11 10:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":130471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:31:52] local.INFO: GPS data processed {"connection_id":130471,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:31:52] local.INFO: Acknowledgment sent {"connection_id":130471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:32:00] local.INFO: TCP Data received {"connection_id":128326,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:32:00] local.INFO: Processing buffer {"connection_id":128326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:32:00] local.INFO: IMEI packet received {"connection_id":128326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":128326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:32:05] local.INFO: TCP Data received {"connection_id":128516,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:32:05] local.INFO: Processing buffer {"connection_id":128516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:32:05] local.INFO: IMEI packet received {"connection_id":128516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":128516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:32:05] local.INFO: TCP Data received {"connection_id":128326,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:32:05] local.INFO: Processing buffer {"connection_id":128326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:32:05] local.INFO: IMEI packet received {"connection_id":128326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":128326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:32:06] local.INFO: TCP Data received {"connection_id":128326,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8c7d38012d19ba80071f88b80040004929..."} 
[2026-07-11 10:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8c7d38012d19ba80071f88b80040004929..."} 
[2026-07-11 10:32:06] local.INFO: Processing buffer {"connection_id":128326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8c7d38012d19ba80071f88b80040004929..."} 
[2026-07-11 10:32:06] local.INFO: Packet analysis {"connection_id":128326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8c"} 
[2026-07-11 10:32:06] local.INFO: Extracted packet for processing {"connection_id":128326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8c"} 
[2026-07-11 10:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119507128,"longitude_deg":75.6660864,"latitude_deg":11.9507128,"altitude":64,"angle":73,"satellites":41,"speed":16,"hex_longitude":"2d19ba80","hex_latitude":"071f88b8","is_valid_coordinates":true} 
[2026-07-11 10:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638984704001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5556914586910720,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383489294336,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783746035000,"timestamp_ms":1783746035000,"timestamp_seconds":1783746035,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8c7d38"} 
[2026-07-11 10:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 10:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638984704001,"66":14004,"101":206,"83":41984,"24":16,"16":5556914586910720,"45":1853442383489294336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638984704001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:32:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5556914586910720,"km_value":5556914586910.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383489294336,"description":"Unknown IO ID 45"} 
[2026-07-11 10:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638984704001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1853442383489294336}} 
[2026-07-11 10:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":128326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:32:06] local.INFO: GPS data processed {"connection_id":128326,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:32:06] local.INFO: Acknowledgment sent {"connection_id":128326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:32:10] local.INFO: TCP Data received {"connection_id":128516,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:32:10] local.INFO: Processing buffer {"connection_id":128516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:32:10] local.INFO: IMEI packet received {"connection_id":128516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":128516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:32:10] local.INFO: TCP Data received {"connection_id":128516,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:32:10] local.INFO: Processing buffer {"connection_id":128516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:32:10] local.INFO: Packet analysis {"connection_id":128516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:32:10] local.INFO: Extracted packet for processing {"connection_id":128516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:32:10] local.INFO: GPS data processed {"connection_id":128516,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:32:10] local.INFO: Acknowledgment sent {"connection_id":128516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:32:36] local.INFO: TCP Data received {"connection_id":129227,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:32:36] local.INFO: Processing buffer {"connection_id":129227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:32:36] local.INFO: IMEI packet received {"connection_id":129227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":129227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:32:37] local.INFO: TCP Data received {"connection_id":128326,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8da618012d19b640071f8790003e012c26..."} 
[2026-07-11 10:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8da618012d19b640071f8790003e012c26..."} 
[2026-07-11 10:32:37] local.INFO: Processing buffer {"connection_id":128326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8da618012d19b640071f8790003e012c26..."} 
[2026-07-11 10:32:37] local.INFO: Packet analysis {"connection_id":128326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8d"} 
[2026-07-11 10:32:37] local.INFO: Extracted packet for processing {"connection_id":128326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8d"} 
[2026-07-11 10:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119506832,"longitude_deg":75.6659776,"latitude_deg":11.9506832,"altitude":62,"angle":300,"satellites":38,"speed":11,"hex_longitude":"2d19b640","hex_latitude":"071f8790","is_valid_coordinates":true} 
[2026-07-11 10:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639004160001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5557245299392512,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539768320000,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783746111000,"timestamp_ms":1783746111000,"timestamp_seconds":1783746111,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8da618"} 
[2026-07-11 10:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 10:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639004160001,"66":14374,"101":206,"83":41984,"24":11,"16":5557245299392512,"45":1853090539768320000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639004160001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:32:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5557245299392512,"km_value":5557245299392.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539768320000,"description":"Unknown IO ID 45"} 
[2026-07-11 10:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639004160001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1853090539768320000}} 
[2026-07-11 10:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":128326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:32:37] local.INFO: GPS data processed {"connection_id":128326,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:32:37] local.INFO: Acknowledgment sent {"connection_id":128326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:32:42] local.INFO: TCP Data received {"connection_id":128516,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:32:42] local.INFO: Processing buffer {"connection_id":128516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:32:42] local.INFO: Packet analysis {"connection_id":128516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:32:42] local.INFO: Extracted packet for processing {"connection_id":128516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:32:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:32:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":128516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:32:42] local.INFO: GPS data processed {"connection_id":128516,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:32:42] local.INFO: Acknowledgment sent {"connection_id":128516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:33:00] local.INFO: TCP Data received {"connection_id":129228,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:33:00] local.INFO: Processing buffer {"connection_id":129228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:33:00] local.INFO: IMEI packet received {"connection_id":129228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":129228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:33:00] local.INFO: TCP Data received {"connection_id":129228,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:33:00] local.INFO: Processing buffer {"connection_id":129228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:33:00] local.INFO: IMEI packet received {"connection_id":129228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":129228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:33:05] local.INFO: TCP Data received {"connection_id":128517,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:33:05] local.INFO: Processing buffer {"connection_id":128517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:33:05] local.INFO: IMEI packet received {"connection_id":128517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":128517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:33:05] local.INFO: TCP Data received {"connection_id":129228,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:33:05] local.INFO: Processing buffer {"connection_id":129228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:33:05] local.INFO: IMEI packet received {"connection_id":129228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":129228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:33:06] local.INFO: TCP Data received {"connection_id":129228,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8dade8012d19b480071f8930003e013d26..."} 
[2026-07-11 10:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8dade8012d19b480071f8930003e013d26..."} 
[2026-07-11 10:33:06] local.INFO: Processing buffer {"connection_id":129228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8dade8012d19b480071f8930003e013d26..."} 
[2026-07-11 10:33:06] local.INFO: Packet analysis {"connection_id":129228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8d"} 
[2026-07-11 10:33:06] local.INFO: Extracted packet for processing {"connection_id":129228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8d"} 
[2026-07-11 10:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756659328,"raw_latitude":119507248,"longitude_deg":75.6659328,"latitude_deg":11.9507248,"altitude":62,"angle":317,"satellites":38,"speed":12,"hex_longitude":"2d19b480","hex_latitude":"071f8930","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639004416001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5557271069196288,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696047464448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783746113000,"timestamp_ms":1783746113000,"timestamp_seconds":1783746113,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8dade8"} 
[2026-07-11 10:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 10:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639004416001,"66":14363,"101":206,"83":41984,"24":12,"16":5557271069196288,"45":1852738696047464448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639004416001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:33:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5557271069196288,"km_value":5557271069196.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696047464448,"description":"Unknown IO ID 45"} 
[2026-07-11 10:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639004416001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1852738696047464448}} 
[2026-07-11 10:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":129228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:33:06] local.INFO: GPS data processed {"connection_id":129228,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:33:06] local.INFO: Acknowledgment sent {"connection_id":129228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:33:10] local.INFO: TCP Data received {"connection_id":128517,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:33:10] local.INFO: Processing buffer {"connection_id":128517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:33:10] local.INFO: IMEI packet received {"connection_id":128517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":128517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:33:10] local.INFO: TCP Data received {"connection_id":128517,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:33:10] local.INFO: Processing buffer {"connection_id":128517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:33:10] local.INFO: Packet analysis {"connection_id":128517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:33:10] local.INFO: Extracted packet for processing {"connection_id":128517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:33:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":128517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:33:10] local.INFO: GPS data processed {"connection_id":128517,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:33:10] local.INFO: Acknowledgment sent {"connection_id":128517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:33:37] local.INFO: TCP Data received {"connection_id":129228,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8e8c90012d19a440071fd5700031015b27..."} 
[2026-07-11 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8e8c90012d19a440071fd5700031015b27..."} 
[2026-07-11 10:33:37] local.INFO: Processing buffer {"connection_id":129228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8e8c90012d19a440071fd5700031015b27..."} 
[2026-07-11 10:33:37] local.INFO: Packet analysis {"connection_id":129228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8e"} 
[2026-07-11 10:33:37] local.INFO: Extracted packet for processing {"connection_id":129228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8e"} 
[2026-07-11 10:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756655168,"raw_latitude":119526768,"longitude_deg":75.6655168,"latitude_deg":11.9526768,"altitude":49,"angle":347,"satellites":39,"speed":22,"hex_longitude":"2d19a440","hex_latitude":"071fd570","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639017984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5558422120431616,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252703344640,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783746170000,"timestamp_ms":1783746170000,"timestamp_seconds":1783746170,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8e8c90"} 
[2026-07-11 10:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2389016577,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3227516981,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3205431296,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,191,159,113,45,192,196,52,40,10,66,109,194,53,39,105,1,240,60,227,79,31,4,205,19,93,184,239,54,2,7,13],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-11 10:33:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3746995057477353472,"timestamp_seconds":3746995057477353.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639017984001,"66":14483,"101":206,"83":41984,"24":22,"16":5558422120431616,"45":1847883252703344640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639017984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:33:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5558422120431616,"km_value":5558422120431.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252703344640,"description":"Unknown IO ID 45"} 
[2026-07-11 10:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639017984001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1847883252703344640}} 
[2026-07-11 10:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":129228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:33:37] local.INFO: GPS data processed {"connection_id":129228,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:33:37] local.INFO: Acknowledgment sent {"connection_id":129228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:33:42] local.INFO: TCP Data received {"connection_id":128517,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:33:42] local.INFO: Processing buffer {"connection_id":128517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:33:42] local.INFO: Packet analysis {"connection_id":128517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:33:42] local.INFO: Extracted packet for processing {"connection_id":128517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:33:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":128517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:33:42] local.INFO: GPS data processed {"connection_id":128517,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:33:42] local.INFO: Acknowledgment sent {"connection_id":128517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:34:00] local.INFO: TCP Data received {"connection_id":129229,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:34:00] local.INFO: Processing buffer {"connection_id":129229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:34:00] local.INFO: IMEI packet received {"connection_id":129229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":129229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:34:04] local.INFO: TCP Data received {"connection_id":129229,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:34:04] local.INFO: Processing buffer {"connection_id":129229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:34:04] local.INFO: IMEI packet received {"connection_id":129229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":129229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:34:05] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:34:05] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:34:05] local.INFO: IMEI packet received {"connection_id":130472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":130472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:34:05] local.INFO: TCP Data received {"connection_id":129229,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:34:05] local.INFO: Processing buffer {"connection_id":129229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:34:05] local.INFO: IMEI packet received {"connection_id":129229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":129229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:34:06] local.INFO: TCP Data received {"connection_id":129229,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8e9460012d19a2c0071fd9480030014d27..."} 
[2026-07-11 10:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8e9460012d19a2c0071fd9480030014d27..."} 
[2026-07-11 10:34:06] local.INFO: Processing buffer {"connection_id":129229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8e9460012d19a2c0071fd9480030014d27..."} 
[2026-07-11 10:34:06] local.INFO: Packet analysis {"connection_id":129229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8e"} 
[2026-07-11 10:34:06] local.INFO: Extracted packet for processing {"connection_id":129229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8e"} 
[2026-07-11 10:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119527752,"longitude_deg":75.6654784,"latitude_deg":11.9527752,"altitude":48,"angle":333,"satellites":39,"speed":18,"hex_longitude":"2d19a2c0","hex_latitude":"071fd948","is_valid_coordinates":true} 
[2026-07-11 10:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639019520001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5558473660039168,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146471776256,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783746172000,"timestamp_ms":1783746172000,"timestamp_seconds":1783746172,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8e9460"} 
[2026-07-11 10:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 10:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639019520001,"66":14341,"101":206,"83":41984,"24":18,"16":5558473660039168,"45":1847672146471776256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639019520001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:34:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5558473660039168,"km_value":5558473660039.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146471776256,"description":"Unknown IO ID 45"} 
[2026-07-11 10:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639019520001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1847672146471776256}} 
[2026-07-11 10:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":129229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:34:06] local.INFO: GPS data processed {"connection_id":129229,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:34:06] local.INFO: Acknowledgment sent {"connection_id":129229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:34:07] local.INFO: TCP Data received {"connection_id":129229,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8ea400012d19a180071fdd38002f015a26..."} 
[2026-07-11 10:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8ea400012d19a180071fdd38002f015a26..."} 
[2026-07-11 10:34:07] local.INFO: Processing buffer {"connection_id":129229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8ea400012d19a180071fdd38002f015a26..."} 
[2026-07-11 10:34:07] local.INFO: Packet analysis {"connection_id":129229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8e"} 
[2026-07-11 10:34:07] local.INFO: Extracted packet for processing {"connection_id":129229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8e"} 
[2026-07-11 10:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756654464,"raw_latitude":119528760,"longitude_deg":75.6654464,"latitude_deg":11.952876,"altitude":47,"angle":346,"satellites":38,"speed":9,"hex_longitude":"2d19a180","hex_latitude":"071fdd38","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639020032001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5558525199646720,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934006962176,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783746176000,"timestamp_ms":1783746176000,"timestamp_seconds":1783746176,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8ea400"} 
[2026-07-11 10:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6967758429,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503684437835776,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2389528577,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3268935733,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692353,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84752132238417855,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.WARNING: Large IO value detected {"io_id":184,"raw_value":14918526607298560,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:07] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,191,159,140,45,64,213,49,39,10,66,117,198,52,113,192,1,240,227,79,31,4,205,18,105,162,104,239,56,2,19,7,53,206,176,184],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-11 10:34:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459130818697494528,"timestamp_seconds":3459130818697494.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639020032001,"66":14428,"101":206,"83":41984,"24":9,"16":5558525199646720,"45":1847249934006962176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 10:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639020032001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:34:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 10:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5558525199646720,"km_value":5558525199646.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934006962176,"description":"Unknown IO ID 45"} 
[2026-07-11 10:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639020032001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1847249934006962176}} 
[2026-07-11 10:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":129229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:34:07] local.INFO: GPS data processed {"connection_id":129229,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:34:07] local.INFO: Acknowledgment sent {"connection_id":129229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:34:10] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:34:10] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:34:10] local.INFO: IMEI packet received {"connection_id":130472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":130472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:34:10] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:34:10] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:34:10] local.INFO: Packet analysis {"connection_id":130472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:34:10] local.INFO: Extracted packet for processing {"connection_id":130472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:34:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":130472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:34:10] local.INFO: GPS data processed {"connection_id":130472,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:34:10] local.INFO: Acknowledgment sent {"connection_id":130472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:34:38] local.INFO: TCP Data received {"connection_id":129229,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8f7ec0012d19d3c0072010f0002c013429..."} 
[2026-07-11 10:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8f7ec0012d19d3c0072010f0002c013429..."} 
[2026-07-11 10:34:38] local.INFO: Processing buffer {"connection_id":129229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8f7ec0012d19d3c0072010f0002c013429..."} 
[2026-07-11 10:34:38] local.INFO: Packet analysis {"connection_id":129229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8f"} 
[2026-07-11 10:34:38] local.INFO: Extracted packet for processing {"connection_id":129229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8f"} 
[2026-07-11 10:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756667328,"raw_latitude":119542000,"longitude_deg":75.6667328,"latitude_deg":11.9542,"altitude":44,"angle":308,"satellites":41,"speed":26,"hex_longitude":"2d19d3c0","hex_latitude":"072010f0","is_valid_coordinates":true} 
[2026-07-11 10:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639034112001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5559822279770112,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863575482659516416,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34: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-07-11 10:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783746232000,"timestamp_ms":1783746232000,"timestamp_seconds":1783746232,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8f7ec0"} 
[2026-07-11 10:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 10:34: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-07-11 10:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639034112001,"66":14102,"103":206,"83":41984,"24":26,"16":5559822279770112,"45":1863575482659516416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639034112001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:34:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5559822279770112,"km_value":5559822279770.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863575482659516416,"description":"Unknown IO ID 45"} 
[2026-07-11 10:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639034112001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1863575482659516416}} 
[2026-07-11 10:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":129229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:34:38] local.INFO: GPS data processed {"connection_id":129229,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:34:38] local.INFO: Acknowledgment sent {"connection_id":129229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:34:42] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:34:42] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:34:42] local.INFO: Packet analysis {"connection_id":130472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:34:42] local.INFO: Extracted packet for processing {"connection_id":130472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:34:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":130472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:34:42] local.INFO: GPS data processed {"connection_id":130472,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:34:42] local.INFO: Acknowledgment sent {"connection_id":130472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:35:01] local.INFO: TCP Data received {"connection_id":128329,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:35:01] local.INFO: Processing buffer {"connection_id":128329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:35:01] local.INFO: IMEI packet received {"connection_id":128329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":128329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:35:04] local.INFO: TCP Data received {"connection_id":128518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:35:04] local.INFO: Processing buffer {"connection_id":128518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:35:04] local.INFO: IMEI packet received {"connection_id":128518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:35:05] local.INFO: TCP Data received {"connection_id":128329,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:35:05] local.INFO: Processing buffer {"connection_id":128329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:35:05] local.INFO: IMEI packet received {"connection_id":128329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":128329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:35:06] local.INFO: TCP Data received {"connection_id":128329,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 10:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128329,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 10:35:06] local.INFO: Processing buffer {"connection_id":128329,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 10:35:06] local.INFO: IMEI packet received {"connection_id":128329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":128329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:35:10] local.INFO: TCP Data received {"connection_id":128518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:35:10] local.INFO: Processing buffer {"connection_id":128518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:35:10] local.INFO: IMEI packet received {"connection_id":128518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":128518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:35:10] local.INFO: TCP Data received {"connection_id":128518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:35:10] local.INFO: Processing buffer {"connection_id":128518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f8bc5a0012cb29c0007823c60004600b32b..."} 
[2026-07-11 10:35:10] local.INFO: Packet analysis {"connection_id":128518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:35:10] local.INFO: Extracted packet for processing {"connection_id":128518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f8b"} 
[2026-07-11 10:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638895616001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899736576,"note":"Value kept but may cause issues"} 
[2026-07-11 10:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783745988000,"timestamp_ms":1783745988000,"timestamp_seconds":1783745988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f8bc5a0"} 
[2026-07-11 10:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 10:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638895616001,"66":26267,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5575878518899736576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 10:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638895616001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:35:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 10:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 10:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899736576,"description":"Unknown IO ID 44"} 
[2026-07-11 10:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638895616001,"power":26267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575878518899736576}} 
[2026-07-11 10:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":128518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:35:10] local.INFO: GPS data processed {"connection_id":128518,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:35:10] local.INFO: Acknowledgment sent {"connection_id":128518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:35:42] local.INFO: TCP Data received {"connection_id":128518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:35:42] local.INFO: Processing buffer {"connection_id":128518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:35:42] local.INFO: Packet analysis {"connection_id":128518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:35:42] local.INFO: Extracted packet for processing {"connection_id":128518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:35:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:35:42] 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-07-11 10:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:35:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":128518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:35:42] local.INFO: GPS data processed {"connection_id":128518,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:35:42] local.INFO: Acknowledgment sent {"connection_id":128518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:36:10] local.INFO: TCP Data received {"connection_id":129231,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:36:10] local.INFO: Processing buffer {"connection_id":129231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:36:10] local.INFO: IMEI packet received {"connection_id":129231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":129231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:36:15] local.INFO: TCP Data received {"connection_id":129231,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:36:15] local.INFO: Processing buffer {"connection_id":129231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:36:15] local.INFO: IMEI packet received {"connection_id":129231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":129231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:36:15] local.INFO: TCP Data received {"connection_id":129231,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:36:15] local.INFO: Processing buffer {"connection_id":129231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:36:15] local.INFO: Packet analysis {"connection_id":129231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:36:15] local.INFO: Extracted packet for processing {"connection_id":129231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:36:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:36:15] 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-07-11 10:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:36:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":129231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:36:15] local.INFO: GPS data processed {"connection_id":129231,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:36:15] local.INFO: Acknowledgment sent {"connection_id":129231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:36:20] local.INFO: TCP Data received {"connection_id":129231,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:36:20] local.INFO: Processing buffer {"connection_id":129231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:36:20] local.INFO: Packet analysis {"connection_id":129231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:36:20] local.INFO: Extracted packet for processing {"connection_id":129231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:36:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:36:20] 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-07-11 10:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:36:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":129231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:36:20] local.INFO: GPS data processed {"connection_id":129231,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:36:20] local.INFO: Acknowledgment sent {"connection_id":129231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:37:05] local.INFO: TCP Data received {"connection_id":128519,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:37:05] local.INFO: Processing buffer {"connection_id":128519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:37:05] local.INFO: IMEI packet received {"connection_id":128519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":128519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:37:10] local.INFO: TCP Data received {"connection_id":128519,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:37:10] local.INFO: Processing buffer {"connection_id":128519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:37:10] local.INFO: IMEI packet received {"connection_id":128519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":128519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:37:10] local.INFO: TCP Data received {"connection_id":128519,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:37:10] local.INFO: Processing buffer {"connection_id":128519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:37:10] local.INFO: Packet analysis {"connection_id":128519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:37:10] local.INFO: Extracted packet for processing {"connection_id":128519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:37:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:37: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-07-11 10: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:37:10] 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-07-11 10:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:37:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":128519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:37:10] local.INFO: GPS data processed {"connection_id":128519,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:37:10] local.INFO: Acknowledgment sent {"connection_id":128519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:37:42] local.INFO: TCP Data received {"connection_id":128519,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:37:42] local.INFO: Processing buffer {"connection_id":128519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:37:42] local.INFO: Packet analysis {"connection_id":128519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:37:42] local.INFO: Extracted packet for processing {"connection_id":128519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:37:42] 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-07-11 10:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":128519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:37:42] local.INFO: GPS data processed {"connection_id":128519,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:37:42] local.INFO: Acknowledgment sent {"connection_id":128519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:38:01] local.INFO: TCP Data received {"connection_id":128331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:38:01] local.INFO: Processing buffer {"connection_id":128331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:38:01] local.INFO: IMEI packet received {"connection_id":128331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":128331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:38:05] local.INFO: TCP Data received {"connection_id":128332,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:38:05] local.INFO: Processing buffer {"connection_id":128332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:38:05] local.INFO: IMEI packet received {"connection_id":128332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:38:10] local.INFO: TCP Data received {"connection_id":128332,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:38:10] local.INFO: Processing buffer {"connection_id":128332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:38:10] local.INFO: IMEI packet received {"connection_id":128332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":128332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:38:10] local.INFO: TCP Data received {"connection_id":128332,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:38:10] local.INFO: Processing buffer {"connection_id":128332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:38:10] local.INFO: Packet analysis {"connection_id":128332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:38:10] local.INFO: Extracted packet for processing {"connection_id":128332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:38: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-07-11 10:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:38:10] 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-07-11 10:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:38:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":128332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:38:10] local.INFO: GPS data processed {"connection_id":128332,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:38:10] local.INFO: Acknowledgment sent {"connection_id":128332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:38:41] local.INFO: TCP Data received {"connection_id":128332,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:38:41] local.INFO: Processing buffer {"connection_id":128332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:38:41] local.INFO: Packet analysis {"connection_id":128332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:38:41] local.INFO: Extracted packet for processing {"connection_id":128332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:38:41] 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-07-11 10:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:38:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":128332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:38:41] local.INFO: GPS data processed {"connection_id":128332,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:38:41] local.INFO: Acknowledgment sent {"connection_id":128332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:39:05] local.INFO: TCP Data received {"connection_id":129234,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:39:05] local.INFO: Processing buffer {"connection_id":129234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:39:05] local.INFO: IMEI packet received {"connection_id":129234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":129234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:39:10] local.INFO: TCP Data received {"connection_id":129234,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:39:10] local.INFO: Processing buffer {"connection_id":129234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:39:10] local.INFO: IMEI packet received {"connection_id":129234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":129234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:39:11] local.INFO: TCP Data received {"connection_id":129234,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:39:11] local.INFO: Processing buffer {"connection_id":129234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:39:11] local.INFO: Packet analysis {"connection_id":129234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:39:11] local.INFO: Extracted packet for processing {"connection_id":129234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:39:11] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:39:11] 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-07-11 10:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:39:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":129234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:39:11] local.INFO: GPS data processed {"connection_id":129234,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:39:11] local.INFO: Acknowledgment sent {"connection_id":129234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:39:42] local.INFO: TCP Data received {"connection_id":129234,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:39:42] local.INFO: Processing buffer {"connection_id":129234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:39:42] local.INFO: Packet analysis {"connection_id":129234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:39:42] local.INFO: Extracted packet for processing {"connection_id":129234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:39:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:39:42] 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-07-11 10:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:39:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":129234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:39:42] local.INFO: GPS data processed {"connection_id":129234,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:39:42] local.INFO: Acknowledgment sent {"connection_id":129234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:40:04] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:40:04] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:40:04] local.INFO: IMEI packet received {"connection_id":130475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":130475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:40:10] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:40:10] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:40:10] local.INFO: IMEI packet received {"connection_id":130475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":130475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:40:10] local.INFO: TCP Data received {"connection_id":128335,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:40:10] local.INFO: Processing buffer {"connection_id":128335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:40:10] local.INFO: IMEI packet received {"connection_id":128335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":128335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:40:10] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:40:10] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f905d68012cb29c0007823c60004800b329..."} 
[2026-07-11 10:40:10] local.INFO: Packet analysis {"connection_id":130475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:40:10] local.INFO: Extracted packet for processing {"connection_id":130475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f90"} 
[2026-07-11 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456638972928001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746289000,"timestamp_ms":1783746289000,"timestamp_seconds":1783746289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f905d68"} 
[2026-07-11 10:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:40: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-07-11 10:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 10:40:10] 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-07-11 10:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456638972928001,"66":26115,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456638972928001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:40:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456638972928001,"power":26115,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":130475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:40:10] local.INFO: GPS data processed {"connection_id":130475,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:40:10] local.INFO: Acknowledgment sent {"connection_id":130475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:40:11] local.INFO: TCP Data received {"connection_id":128335,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9391b8012d1810c007219878004b00222b..."} 
[2026-07-11 10:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9391b8012d1810c007219878004b00222b..."} 
[2026-07-11 10:40:11] local.INFO: Processing buffer {"connection_id":128335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9391b8012d1810c007219878004b00222b..."} 
[2026-07-11 10:40:11] local.INFO: Packet analysis {"connection_id":128335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:40:11] local.INFO: Extracted packet for processing {"connection_id":128335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756551872,"raw_latitude":119642232,"longitude_deg":75.6551872,"latitude_deg":11.9642232,"altitude":75,"angle":34,"satellites":43,"speed":11,"hex_longitude":"2d1810c0","hex_latitude":"07219878","is_valid_coordinates":true} 
[2026-07-11 10:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639103232001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5568841711091712,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733885887165941760,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783746499000,"timestamp_ms":1783746499000,"timestamp_seconds":1783746499,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9391b8"} 
[2026-07-11 10:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-11 10:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639103232001,"66":14461,"105":206,"83":41984,"24":11,"16":5568841711091712,"45":1733885887165941760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639103232001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:40:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5568841711091712,"km_value":5568841711091.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733885887165941760,"description":"Unknown IO ID 45"} 
[2026-07-11 10:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639103232001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1733885887165941760}} 
[2026-07-11 10:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":128335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:40:11] local.INFO: GPS data processed {"connection_id":128335,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:40:11] local.INFO: Acknowledgment sent {"connection_id":128335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:40:42] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:40:42] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:40:42] local.INFO: Packet analysis {"connection_id":130475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:40:42] local.INFO: Extracted packet for processing {"connection_id":130475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:40:42] 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-07-11 10:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":130475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:40:42] local.INFO: GPS data processed {"connection_id":130475,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:40:42] local.INFO: Acknowledgment sent {"connection_id":130475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:40:42] local.INFO: TCP Data received {"connection_id":128335,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f93e3c0012d1823800721b5a8004c001b2b..."} 
[2026-07-11 10:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f93e3c0012d1823800721b5a8004c001b2b..."} 
[2026-07-11 10:40:42] local.INFO: Processing buffer {"connection_id":128335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f93e3c0012d1823800721b5a8004c001b2b..."} 
[2026-07-11 10:40:42] local.INFO: Packet analysis {"connection_id":128335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:40:42] local.INFO: Extracted packet for processing {"connection_id":128335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649704,"longitude_deg":75.6556672,"latitude_deg":11.9649704,"altitude":76,"angle":27,"satellites":43,"speed":12,"hex_longitude":"2d182380","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-07-11 10:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639103744001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569271207821312,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734096993398585344,"note":"Value kept but may cause issues"} 
[2026-07-11 10:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746520000,"timestamp_ms":1783746520000,"timestamp_seconds":1783746520,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f93e3c0"} 
[2026-07-11 10:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 10:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639103744001,"66":13102,"105":206,"83":41984,"24":12,"16":5569271207821312,"45":1734096993398585344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639103744001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:40:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569271207821312,"km_value":5569271207821.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734096993398585344,"description":"Unknown IO ID 45"} 
[2026-07-11 10:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639103744001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1734096993398585344}} 
[2026-07-11 10:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":128335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:40:42] local.INFO: GPS data processed {"connection_id":128335,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:40:42] local.INFO: Acknowledgment sent {"connection_id":128335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:41:00] local.INFO: TCP Data received {"connection_id":129236,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:41:00] local.INFO: Processing buffer {"connection_id":129236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:41:00] local.INFO: IMEI packet received {"connection_id":129236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":129236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:41:05] local.INFO: TCP Data received {"connection_id":129236,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:41:05] local.INFO: Processing buffer {"connection_id":129236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:41:05] local.INFO: IMEI packet received {"connection_id":129236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":129236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:41:06] local.INFO: TCP Data received {"connection_id":129236,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f93e7a8012d1824000721b6c8004c00082a..."} 
[2026-07-11 10:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f93e7a8012d1824000721b6c8004c00082a..."} 
[2026-07-11 10:41:06] local.INFO: Processing buffer {"connection_id":129236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f93e7a8012d1824000721b6c8004c00082a..."} 
[2026-07-11 10:41:06] local.INFO: Packet analysis {"connection_id":129236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:41:06] local.INFO: Extracted packet for processing {"connection_id":129236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649992,"longitude_deg":75.65568,"latitude_deg":11.9649992,"altitude":76,"angle":8,"satellites":42,"speed":10,"hex_longitude":"2d182400","hex_latitude":"0721b6c8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639109120001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569284092723200,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213822976,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783746521000,"timestamp_ms":1783746521000,"timestamp_seconds":1783746521,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f93e7a8"} 
[2026-07-11 10:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 10:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639109120001,"66":13091,"105":206,"83":41984,"24":10,"16":5569284092723200,"45":1739374649213822976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639109120001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:41:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569284092723200,"km_value":5569284092723.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213822976,"description":"Unknown IO ID 45"} 
[2026-07-11 10:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639109120001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1739374649213822976}} 
[2026-07-11 10:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":129236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:41:06] local.INFO: GPS data processed {"connection_id":129236,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:41:06] local.INFO: Acknowledgment sent {"connection_id":129236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:41:10] local.INFO: TCP Data received {"connection_id":129237,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:41:10] local.INFO: Processing buffer {"connection_id":129237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:41:10] local.INFO: IMEI packet received {"connection_id":129237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":129237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:41:15] local.INFO: TCP Data received {"connection_id":129237,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:41:15] local.INFO: Processing buffer {"connection_id":129237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:41:15] local.INFO: IMEI packet received {"connection_id":129237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":129237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:41:15] local.INFO: TCP Data received {"connection_id":129237,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:41:15] local.INFO: Processing buffer {"connection_id":129237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:41:15] local.INFO: Packet analysis {"connection_id":129237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:41:15] local.INFO: Extracted packet for processing {"connection_id":129237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:41:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:41:15] 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-07-11 10:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:41:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":129237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:41:15] local.INFO: GPS data processed {"connection_id":129237,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:41:15] local.INFO: Acknowledgment sent {"connection_id":129237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:41:20] local.INFO: TCP Data received {"connection_id":129237,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:41:20] local.INFO: Processing buffer {"connection_id":129237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:41:20] local.INFO: Packet analysis {"connection_id":129237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:41:20] local.INFO: Extracted packet for processing {"connection_id":129237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:41:20] 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-07-11 10:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:41:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":129237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:41:20] local.INFO: GPS data processed {"connection_id":129237,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:41:20] local.INFO: Acknowledgment sent {"connection_id":129237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:41:37] local.INFO: TCP Data received {"connection_id":129236,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f93eb90012d1824000721b7b8004c01562a..."} 
[2026-07-11 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f93eb90012d1824000721b7b8004c01562a..."} 
[2026-07-11 10:41:37] local.INFO: Processing buffer {"connection_id":129236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f93eb90012d1824000721b7b8004c01562a..."} 
[2026-07-11 10:41:37] local.INFO: Packet analysis {"connection_id":129236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:41:37] local.INFO: Extracted packet for processing {"connection_id":129236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650232,"longitude_deg":75.65568,"latitude_deg":11.9650232,"altitude":76,"angle":342,"satellites":42,"speed":7,"hex_longitude":"2d182400","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-07-11 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639109376001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569296977625088,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702252032,"note":"Value kept but may cause issues"} 
[2026-07-11 10:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783746522000,"timestamp_ms":1783746522000,"timestamp_seconds":1783746522,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f93eb90"} 
[2026-07-11 10:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 10:41: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-07-11 10:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639109376001,"66":13091,"105":206,"83":41984,"24":7,"16":5569296977625088,"45":1739515386702252032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639109376001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:41:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569296977625088,"km_value":5569296977625.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702252032,"description":"Unknown IO ID 45"} 
[2026-07-11 10:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639109376001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739515386702252032}} 
[2026-07-11 10:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":129236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:41:37] local.INFO: GPS data processed {"connection_id":129236,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:41:37] local.INFO: Acknowledgment sent {"connection_id":129236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:42:00] local.INFO: TCP Data received {"connection_id":129238,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:42:00] local.INFO: Processing buffer {"connection_id":129238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:42:00] local.INFO: IMEI packet received {"connection_id":129238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":129238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:42:05] local.INFO: TCP Data received {"connection_id":128337,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:42:05] local.INFO: Processing buffer {"connection_id":128337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:42:05] local.INFO: IMEI packet received {"connection_id":128337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":128337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:42:05] local.INFO: TCP Data received {"connection_id":129238,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:42:05] local.INFO: Processing buffer {"connection_id":129238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:42:05] local.INFO: IMEI packet received {"connection_id":129238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":129238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:42:06] local.INFO: TCP Data received {"connection_id":129238,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f93ef78012d1823400721b838004d012a2a..."} 
[2026-07-11 10:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f93ef78012d1823400721b838004d012a2a..."} 
[2026-07-11 10:42:06] local.INFO: Processing buffer {"connection_id":129238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f93ef78012d1823400721b838004d012a2a..."} 
[2026-07-11 10:42:06] local.INFO: Packet analysis {"connection_id":129238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:42:06] local.INFO: Extracted packet for processing {"connection_id":129238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f93"} 
[2026-07-11 10:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650360,"longitude_deg":75.6556608,"latitude_deg":11.965036,"altitude":77,"angle":298,"satellites":42,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639109632001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569305567559680,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702313472,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783746523000,"timestamp_ms":1783746523000,"timestamp_seconds":1783746523,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f93ef78"} 
[2026-07-11 10:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 10:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639109632001,"66":13080,"105":206,"83":41984,"24":6,"16":5569305567559680,"45":1739515386702313472},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639109632001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:42:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569305567559680,"km_value":5569305567559.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702313472,"description":"Unknown IO ID 45"} 
[2026-07-11 10:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639109632001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739515386702313472}} 
[2026-07-11 10:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":129238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:42:06] local.INFO: GPS data processed {"connection_id":129238,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:42:06] local.INFO: Acknowledgment sent {"connection_id":129238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:42:10] local.INFO: TCP Data received {"connection_id":128337,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:42:10] local.INFO: Processing buffer {"connection_id":128337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:42:10] local.INFO: IMEI packet received {"connection_id":128337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":128337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:42:11] local.INFO: TCP Data received {"connection_id":128337,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:42:11] local.INFO: Processing buffer {"connection_id":128337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:42:11] local.INFO: Packet analysis {"connection_id":128337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:42:11] local.INFO: Extracted packet for processing {"connection_id":128337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":128337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:42:11] local.INFO: GPS data processed {"connection_id":128337,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:42:11] local.INFO: Acknowledgment sent {"connection_id":128337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:42:37] local.INFO: TCP Data received {"connection_id":129238,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f944180012d1823000721b890004c012a2b..."} 
[2026-07-11 10:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f944180012d1823000721b890004c012a2b..."} 
[2026-07-11 10:42:37] local.INFO: Processing buffer {"connection_id":129238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f944180012d1823000721b890004c012a2b..."} 
[2026-07-11 10:42:37] local.INFO: Packet analysis {"connection_id":129238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:42:37] local.INFO: Extracted packet for processing {"connection_id":129238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650448,"longitude_deg":75.6556544,"latitude_deg":11.9650448,"altitude":76,"angle":298,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639109888001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569352812199936,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469813248,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783746544000,"timestamp_ms":1783746544000,"timestamp_seconds":1783746544,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f944180"} 
[2026-07-11 10:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-11 10:42:37] 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-07-11 10: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-07-11 10:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639109888001,"66":12939,"105":206,"83":41984,"24":0,"16":5569352812199936,"45":1739304280469813248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639109888001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:42:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569352812199936,"km_value":5569352812199.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469813248,"description":"Unknown IO ID 45"} 
[2026-07-11 10:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639109888001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469813248}} 
[2026-07-11 10:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":129238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:42:37] local.INFO: GPS data processed {"connection_id":129238,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:42:37] local.INFO: Acknowledgment sent {"connection_id":129238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:42:43] local.INFO: TCP Data received {"connection_id":128337,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:42:43] local.INFO: Processing buffer {"connection_id":128337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:42:43] local.INFO: Packet analysis {"connection_id":128337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:42:43] local.INFO: Extracted packet for processing {"connection_id":128337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:42:43] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:42:43] 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-07-11 10:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:42:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:42:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":128337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:42:43] local.INFO: GPS data processed {"connection_id":128337,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:42:43] local.INFO: Acknowledgment sent {"connection_id":128337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:43:00] local.INFO: TCP Data received {"connection_id":129239,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:43:00] local.INFO: Processing buffer {"connection_id":129239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:43:00] local.INFO: IMEI packet received {"connection_id":129239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":129239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:43:05] local.INFO: TCP Data received {"connection_id":129240,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:43:05] local.INFO: Processing buffer {"connection_id":129240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:43:05] local.INFO: IMEI packet received {"connection_id":129240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":129240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:43:05] local.INFO: TCP Data received {"connection_id":129239,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:43:05] local.INFO: Processing buffer {"connection_id":129239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:43:05] local.INFO: IMEI packet received {"connection_id":129239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":129239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:43:06] local.INFO: TCP Data received {"connection_id":129239,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f949388012d1823000721b890004c012a2b..."} 
[2026-07-11 10:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f949388012d1823000721b890004c012a2b..."} 
[2026-07-11 10:43:06] local.INFO: Processing buffer {"connection_id":129239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f949388012d1823000721b890004c012a2b..."} 
[2026-07-11 10:43:06] local.INFO: Packet analysis {"connection_id":129239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:43:06] local.INFO: Extracted packet for processing {"connection_id":129239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650448,"longitude_deg":75.6556544,"latitude_deg":11.9650448,"altitude":76,"angle":298,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639115264001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569352812199936,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725658112,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783746565000,"timestamp_ms":1783746565000,"timestamp_seconds":1783746565,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f949388"} 
[2026-07-11 10:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639115264001,"66":12722,"105":206,"83":41984,"24":0,"16":5569352812199936,"45":1739233911725658112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639115264001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:43:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569352812199936,"km_value":5569352812199.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725658112,"description":"Unknown IO ID 45"} 
[2026-07-11 10:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639115264001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725658112}} 
[2026-07-11 10:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":129239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:43:06] local.INFO: GPS data processed {"connection_id":129239,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:43:06] local.INFO: Acknowledgment sent {"connection_id":129239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:43:10] local.INFO: TCP Data received {"connection_id":129240,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:43:10] local.INFO: Processing buffer {"connection_id":129240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:43:10] local.INFO: IMEI packet received {"connection_id":129240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":129240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:43:11] local.INFO: TCP Data received {"connection_id":129240,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:43:11] local.INFO: Processing buffer {"connection_id":129240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:43:11] local.INFO: Packet analysis {"connection_id":129240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:43:11] local.INFO: Extracted packet for processing {"connection_id":129240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":129240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:43:11] local.INFO: GPS data processed {"connection_id":129240,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:43:11] local.INFO: Acknowledgment sent {"connection_id":129240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:43:37] local.INFO: TCP Data received {"connection_id":129239,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94e590012d1823000721b890004c012a2c..."} 
[2026-07-11 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94e590012d1823000721b890004c012a2c..."} 
[2026-07-11 10:43:37] local.INFO: Processing buffer {"connection_id":129239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94e590012d1823000721b890004c012a2c..."} 
[2026-07-11 10:43:37] local.INFO: Packet analysis {"connection_id":129239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:43:37] local.INFO: Extracted packet for processing {"connection_id":129239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650448,"longitude_deg":75.6556544,"latitude_deg":11.9650448,"altitude":76,"angle":298,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-07-11 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639120640001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569352812199936,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725658112,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783746586000,"timestamp_ms":1783746586000,"timestamp_seconds":1783746586,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94e590"} 
[2026-07-11 10:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 10:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639120640001,"66":12776,"105":206,"83":41984,"24":0,"16":5569352812199936,"45":1739233911725658112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639120640001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:43:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569352812199936,"km_value":5569352812199.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725658112,"description":"Unknown IO ID 45"} 
[2026-07-11 10:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639120640001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725658112}} 
[2026-07-11 10:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":129239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:43:37] local.INFO: GPS data processed {"connection_id":129239,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:43:37] local.INFO: Acknowledgment sent {"connection_id":129239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:43:42] local.INFO: TCP Data received {"connection_id":129240,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:43:42] local.INFO: Processing buffer {"connection_id":129240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:43:42] local.INFO: Packet analysis {"connection_id":129240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:43:42] local.INFO: Extracted packet for processing {"connection_id":129240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:43:42] 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-07-11 10:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:43:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":129240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:43:42] local.INFO: GPS data processed {"connection_id":129240,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:43:42] local.INFO: Acknowledgment sent {"connection_id":129240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:43:47] local.INFO: TCP Data received {"connection_id":128520,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:43:47] local.INFO: Processing buffer {"connection_id":128520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:43:47] local.INFO: IMEI packet received {"connection_id":128520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":128520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:44:05] local.INFO: TCP Data received {"connection_id":130476,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:44:05] local.INFO: Processing buffer {"connection_id":130476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:44:05] local.INFO: IMEI packet received {"connection_id":130476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":130476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:44:06] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:44:06] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:44:06] local.INFO: IMEI packet received {"connection_id":130477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":130477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:44:10] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:44:10] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:44:10] local.INFO: IMEI packet received {"connection_id":130477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":130477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:44:10] local.INFO: TCP Data received {"connection_id":130476,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:44:10] local.INFO: Processing buffer {"connection_id":130476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:44:10] local.INFO: IMEI packet received {"connection_id":130476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":130476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:44:10] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:44:10] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:44:10] local.INFO: Packet analysis {"connection_id":130477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:44:10] local.INFO: Extracted packet for processing {"connection_id":130477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:44: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-07-11 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:44:10] 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-07-11 10:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:44:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":130477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:44:10] local.INFO: GPS data processed {"connection_id":130477,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:44:10] local.INFO: Acknowledgment sent {"connection_id":130477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:44:11] local.INFO: TCP Data received {"connection_id":130476,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f953798012d1823000721b890004c012a2c..."} 
[2026-07-11 10:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f953798012d1823000721b890004c012a2c..."} 
[2026-07-11 10:44:11] local.INFO: Processing buffer {"connection_id":130476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f953798012d1823000721b890004c012a2c..."} 
[2026-07-11 10:44:11] local.INFO: Packet analysis {"connection_id":130476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f95"} 
[2026-07-11 10:44:11] local.INFO: Extracted packet for processing {"connection_id":130476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f95"} 
[2026-07-11 10:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650448,"longitude_deg":75.6556544,"latitude_deg":11.9650448,"altitude":76,"angle":298,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-07-11 10:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126016001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569352812199936,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725658112,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783746607000,"timestamp_ms":1783746607000,"timestamp_seconds":1783746607,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f953798"} 
[2026-07-11 10:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 10:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126016001,"66":12776,"105":206,"83":41984,"24":0,"16":5569352812199936,"45":1739233911725658112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126016001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:44:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569352812199936,"km_value":5569352812199.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725658112,"description":"Unknown IO ID 45"} 
[2026-07-11 10:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126016001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725658112}} 
[2026-07-11 10:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":130476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:44:11] local.INFO: GPS data processed {"connection_id":130476,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:44:11] local.INFO: Acknowledgment sent {"connection_id":130476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:44:15] local.INFO: TCP Data received {"connection_id":130476,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9589a0012d1822c00721b718004b012a29..."} 
[2026-07-11 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9589a0012d1822c00721b718004b012a29..."} 
[2026-07-11 10:44:15] local.INFO: Processing buffer {"connection_id":130476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9589a0012d1822c00721b718004b012a29..."} 
[2026-07-11 10:44:15] local.INFO: Packet analysis {"connection_id":130476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f95"} 
[2026-07-11 10:44:15] local.INFO: Extracted packet for processing {"connection_id":130476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f95"} 
[2026-07-11 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650072,"longitude_deg":75.655648,"latitude_deg":11.9650072,"altitude":75,"angle":298,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b718","is_valid_coordinates":true} 
[2026-07-11 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639131392001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569369992069120,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725658112,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783746628000,"timestamp_ms":1783746628000,"timestamp_seconds":1783746628,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9589a0"} 
[2026-07-11 10:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 10:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639131392001,"66":12765,"105":206,"83":41984,"24":0,"16":5569369992069120,"45":1739233911725658112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639131392001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:44:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569369992069120,"km_value":5569369992069.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725658112,"description":"Unknown IO ID 45"} 
[2026-07-11 10:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639131392001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725658112}} 
[2026-07-11 10:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":130476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:44:16] local.INFO: GPS data processed {"connection_id":130476,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:44:16] local.INFO: Acknowledgment sent {"connection_id":130476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:44:41] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:44:41] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:44:41] local.INFO: Packet analysis {"connection_id":130477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:44:41] local.INFO: Extracted packet for processing {"connection_id":130477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:44:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":130477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:44:41] local.INFO: GPS data processed {"connection_id":130477,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:44:41] local.INFO: Acknowledgment sent {"connection_id":130477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:45:00] local.INFO: TCP Data received {"connection_id":128339,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:45:00] local.INFO: Processing buffer {"connection_id":128339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:45:00] local.INFO: IMEI packet received {"connection_id":128339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":128339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:45:01] local.INFO: TCP Data received {"connection_id":128339,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:45:01] local.INFO: Processing buffer {"connection_id":128339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:45:01] local.INFO: IMEI packet received {"connection_id":128339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":128339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:45:04] local.INFO: TCP Data received {"connection_id":128340,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:45:04] local.INFO: Processing buffer {"connection_id":128340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:45:04] local.INFO: IMEI packet received {"connection_id":128340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:45:05] local.INFO: TCP Data received {"connection_id":128339,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:45:05] local.INFO: Processing buffer {"connection_id":128339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:45:05] local.INFO: IMEI packet received {"connection_id":128339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":128339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:45:06] local.INFO: TCP Data received {"connection_id":128339,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f95dba8012d1822c00721b718004b012a2b..."} 
[2026-07-11 10:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f95dba8012d1822c00721b718004b012a2b..."} 
[2026-07-11 10:45:06] local.INFO: Processing buffer {"connection_id":128339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f95dba8012d1822c00721b718004b012a2b..."} 
[2026-07-11 10:45:06] local.INFO: Packet analysis {"connection_id":128339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f95"} 
[2026-07-11 10:45:06] local.INFO: Extracted packet for processing {"connection_id":128339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f95"} 
[2026-07-11 10:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650072,"longitude_deg":75.655648,"latitude_deg":11.9650072,"altitude":75,"angle":298,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b718","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639136768001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569369992069120,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981384192,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783746649000,"timestamp_ms":1783746649000,"timestamp_seconds":1783746649,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f95dba8"} 
[2026-07-11 10:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 10:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639136768001,"66":12722,"105":206,"83":41984,"24":0,"16":5569369992069120,"45":1739163542981384192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639136768001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:45:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569369992069120,"km_value":5569369992069.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981384192,"description":"Unknown IO ID 45"} 
[2026-07-11 10:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639136768001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981384192}} 
[2026-07-11 10:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":128339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:45:06] local.INFO: GPS data processed {"connection_id":128339,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:45:06] local.INFO: Acknowledgment sent {"connection_id":128339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:45:10] local.INFO: TCP Data received {"connection_id":128340,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:45:10] local.INFO: Processing buffer {"connection_id":128340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:45:10] local.INFO: IMEI packet received {"connection_id":128340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":128340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:45:10] local.INFO: TCP Data received {"connection_id":128340,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:45:10] local.INFO: Processing buffer {"connection_id":128340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f94f148012cb29c0007823c60004800b32b..."} 
[2026-07-11 10:45:10] local.INFO: Packet analysis {"connection_id":128340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:45:10] local.INFO: Extracted packet for processing {"connection_id":128340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f94"} 
[2026-07-11 10:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639049984001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746589000,"timestamp_ms":1783746589000,"timestamp_seconds":1783746589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f94f148"} 
[2026-07-11 10:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 10:45:10] 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-07-11 10:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639049984001,"66":26006,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639049984001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:45:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639049984001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":128340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:45:10] local.INFO: GPS data processed {"connection_id":128340,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:45:10] local.INFO: Acknowledgment sent {"connection_id":128340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:45:10] local.INFO: TCP Data received {"connection_id":128339,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f962db0012d1822c00721b718004b012a2a..."} 
[2026-07-11 10:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f962db0012d1822c00721b718004b012a2a..."} 
[2026-07-11 10:45:10] local.INFO: Processing buffer {"connection_id":128339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f962db0012d1822c00721b718004b012a2a..."} 
[2026-07-11 10:45:10] local.INFO: Packet analysis {"connection_id":128339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f96"} 
[2026-07-11 10:45:10] local.INFO: Extracted packet for processing {"connection_id":128339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f96"} 
[2026-07-11 10:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650072,"longitude_deg":75.655648,"latitude_deg":11.9650072,"altitude":75,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b718","is_valid_coordinates":true} 
[2026-07-11 10:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639142144001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569369992069120,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981384192,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746670000,"timestamp_ms":1783746670000,"timestamp_seconds":1783746670,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f962db0"} 
[2026-07-11 10:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 10:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639142144001,"66":12689,"105":206,"83":41984,"24":0,"16":5569369992069120,"45":1739163542981384192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639142144001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:45:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569369992069120,"km_value":5569369992069.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981384192,"description":"Unknown IO ID 45"} 
[2026-07-11 10:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639142144001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981384192}} 
[2026-07-11 10:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":128339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:45:10] local.INFO: GPS data processed {"connection_id":128339,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:45:10] local.INFO: Acknowledgment sent {"connection_id":128339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:45:42] local.INFO: TCP Data received {"connection_id":128339,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f963d50012d1821400721b548004800c02a..."} 
[2026-07-11 10:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f963d50012d1821400721b548004800c02a..."} 
[2026-07-11 10:45:42] local.INFO: Processing buffer {"connection_id":128339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f963d50012d1821400721b548004800c02a..."} 
[2026-07-11 10:45:42] local.INFO: Packet analysis {"connection_id":128339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f96"} 
[2026-07-11 10:45:42] local.INFO: Extracted packet for processing {"connection_id":128339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f96"} 
[2026-07-11 10:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649608,"longitude_deg":75.6556096,"latitude_deg":11.9649608,"altitude":72,"angle":192,"satellites":42,"speed":1,"hex_longitude":"2d182140","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-07-11 10:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639147520001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569400056840192,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981384192,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746674000,"timestamp_ms":1783746674000,"timestamp_seconds":1783746674,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f963d50"} 
[2026-07-11 10:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 10:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639147520001,"66":12667,"105":206,"83":41984,"24":1,"16":5569400056840192,"45":1739163542981384192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639147520001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:45:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569400056840192,"km_value":5569400056840.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981384192,"description":"Unknown IO ID 45"} 
[2026-07-11 10:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639147520001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739163542981384192}} 
[2026-07-11 10:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":128339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:45:42] local.INFO: GPS data processed {"connection_id":128339,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:45:42] local.INFO: Acknowledgment sent {"connection_id":128339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:45:42] local.INFO: TCP Data received {"connection_id":128340,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:45:42] local.INFO: Processing buffer {"connection_id":128340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:45:42] local.INFO: Packet analysis {"connection_id":128340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:45:42] local.INFO: Extracted packet for processing {"connection_id":128340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":128340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:45:42] local.INFO: GPS data processed {"connection_id":128340,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:45:42] local.INFO: Acknowledgment sent {"connection_id":128340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:46:00] local.INFO: TCP Data received {"connection_id":128342,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:46:00] local.INFO: Processing buffer {"connection_id":128342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:46:00] local.INFO: IMEI packet received {"connection_id":128342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":128342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:46:04] local.INFO: TCP Data received {"connection_id":128342,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:46:04] local.INFO: Processing buffer {"connection_id":128342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:46:04] local.INFO: IMEI packet received {"connection_id":128342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":128342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:46:05] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:46:05] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:46:05] local.INFO: IMEI packet received {"connection_id":130478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":130478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:46:05] local.INFO: TCP Data received {"connection_id":128342,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f968f58012d1821400721b530004800c02a..."} 
[2026-07-11 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f968f58012d1821400721b530004800c02a..."} 
[2026-07-11 10:46:05] local.INFO: Processing buffer {"connection_id":128342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f968f58012d1821400721b530004800c02a..."} 
[2026-07-11 10:46:05] local.INFO: Packet analysis {"connection_id":128342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f96"} 
[2026-07-11 10:46:05] local.INFO: Extracted packet for processing {"connection_id":128342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f96"} 
[2026-07-11 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649584,"longitude_deg":75.6556096,"latitude_deg":11.9649584,"altitude":72,"angle":192,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b530","is_valid_coordinates":true} 
[2026-07-11 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639148544001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569400056840192,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516199424,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783746695000,"timestamp_ms":1783746695000,"timestamp_seconds":1783746695,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f968f58"} 
[2026-07-11 10:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 10:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639148544001,"66":12113,"105":206,"83":41984,"24":0,"16":5569400056840192,"45":1738741330516199424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639148544001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:46:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569400056840192,"km_value":5569400056840.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516199424,"description":"Unknown IO ID 45"} 
[2026-07-11 10:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639148544001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516199424}} 
[2026-07-11 10:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":128342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:46:05] local.INFO: GPS data processed {"connection_id":128342,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:46:05] local.INFO: Acknowledgment sent {"connection_id":128342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:46:10] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:46:10] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:46:10] local.INFO: IMEI packet received {"connection_id":130478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":130478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:46:10] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:46:10] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:46:10] local.INFO: Packet analysis {"connection_id":130478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:46:10] local.INFO: Extracted packet for processing {"connection_id":130478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:46: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-07-11 10:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:46:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":130478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:46:10] local.INFO: GPS data processed {"connection_id":130478,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:46:10] local.INFO: Acknowledgment sent {"connection_id":130478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:46:36] local.INFO: TCP Data received {"connection_id":128342,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f96e160012d1821400721b530004800c028..."} 
[2026-07-11 10:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f96e160012d1821400721b530004800c028..."} 
[2026-07-11 10:46:36] local.INFO: Processing buffer {"connection_id":128342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f96e160012d1821400721b530004800c028..."} 
[2026-07-11 10:46:36] local.INFO: Packet analysis {"connection_id":128342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f96"} 
[2026-07-11 10:46:36] local.INFO: Extracted packet for processing {"connection_id":128342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f96"} 
[2026-07-11 10:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649584,"longitude_deg":75.6556096,"latitude_deg":11.9649584,"altitude":72,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b530","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639153920001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569400056840192,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516193280,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783746716000,"timestamp_ms":1783746716000,"timestamp_seconds":1783746716,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f96e160"} 
[2026-07-11 10:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-11 10:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639153920001,"66":12558,"105":206,"83":41984,"24":0,"16":5569400056840192,"45":1738741330516193280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639153920001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569400056840192,"km_value":5569400056840.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516193280,"description":"Unknown IO ID 45"} 
[2026-07-11 10:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639153920001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516193280}} 
[2026-07-11 10:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":128342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:46:36] local.INFO: GPS data processed {"connection_id":128342,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:46:36] local.INFO: Acknowledgment sent {"connection_id":128342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:46:41] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:46:41] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:46:41] local.INFO: Packet analysis {"connection_id":130478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:46:41] local.INFO: Extracted packet for processing {"connection_id":130478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:46:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":130478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:46:41] local.INFO: GPS data processed {"connection_id":130478,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:46:41] local.INFO: Acknowledgment sent {"connection_id":130478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:47:00] local.INFO: TCP Data received {"connection_id":128343,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:47:00] local.INFO: Processing buffer {"connection_id":128343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:47:00] local.INFO: IMEI packet received {"connection_id":128343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":128343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:47:04] local.INFO: TCP Data received {"connection_id":128343,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:47:04] local.INFO: Processing buffer {"connection_id":128343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:47:04] local.INFO: IMEI packet received {"connection_id":128343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:47:05] local.INFO: TCP Data received {"connection_id":128522,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:47:05] local.INFO: Processing buffer {"connection_id":128522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:47:05] local.INFO: IMEI packet received {"connection_id":128522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:47:05] local.INFO: TCP Data received {"connection_id":128343,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9a67b8012d1821400721b530004800c025..."} 
[2026-07-11 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9a67b8012d1821400721b530004800c025..."} 
[2026-07-11 10:47:05] local.INFO: Processing buffer {"connection_id":128343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9a67b8012d1821400721b530004800c025..."} 
[2026-07-11 10:47:05] local.INFO: Packet analysis {"connection_id":128343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9a"} 
[2026-07-11 10:47:05] local.INFO: Extracted packet for processing {"connection_id":128343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9a"} 
[2026-07-11 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649584,"longitude_deg":75.6556096,"latitude_deg":11.9649584,"altitude":72,"angle":192,"satellites":37,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b530","is_valid_coordinates":true} 
[2026-07-11 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639213056001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569400056840192,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516193280,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783746947000,"timestamp_ms":1783746947000,"timestamp_seconds":1783746947,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9a67b8"} 
[2026-07-11 10:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-11 10:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639213056001,"66":12809,"105":206,"83":41984,"24":0,"16":5569400056840192,"45":1738741330516193280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639213056001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:47:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569400056840192,"km_value":5569400056840.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516193280,"description":"Unknown IO ID 45"} 
[2026-07-11 10:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639213056001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516193280}} 
[2026-07-11 10:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":128343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:47:05] local.INFO: GPS data processed {"connection_id":128343,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:47:05] local.INFO: Acknowledgment sent {"connection_id":128343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:47:10] local.INFO: TCP Data received {"connection_id":128522,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:47:10] local.INFO: Processing buffer {"connection_id":128522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:47:10] local.INFO: IMEI packet received {"connection_id":128522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":128522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:47:10] local.INFO: TCP Data received {"connection_id":128522,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:47:10] local.INFO: Processing buffer {"connection_id":128522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:47:10] local.INFO: Packet analysis {"connection_id":128522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:47:10] local.INFO: Extracted packet for processing {"connection_id":128522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:47: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-07-11 10:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:47:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":128522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:47:10] local.INFO: GPS data processed {"connection_id":128522,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:47:10] local.INFO: Acknowledgment sent {"connection_id":128522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:47:36] local.INFO: TCP Data received {"connection_id":128343,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9ab9c0012d1821400721b530004800c029..."} 
[2026-07-11 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9ab9c0012d1821400721b530004800c029..."} 
[2026-07-11 10:47:36] local.INFO: Processing buffer {"connection_id":128343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9ab9c0012d1821400721b530004800c029..."} 
[2026-07-11 10:47:36] local.INFO: Packet analysis {"connection_id":128343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9a"} 
[2026-07-11 10:47:36] local.INFO: Extracted packet for processing {"connection_id":128343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9a"} 
[2026-07-11 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649584,"longitude_deg":75.6556096,"latitude_deg":11.9649584,"altitude":72,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b530","is_valid_coordinates":true} 
[2026-07-11 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639218432001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569400056840192,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516193280,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783746968000,"timestamp_ms":1783746968000,"timestamp_seconds":1783746968,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9ab9c0"} 
[2026-07-11 10:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":79,"raw_value":-7482308563359489728,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2415996184,"corrected_to":0} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-5980554448236130733,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3377922048,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428900351802392618,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,201,159,21,45,64,181,72,42,10,66,195,41,113,1,240,173,227,79,33,4,205,48,44,239,2,19,7,164,87],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2415996184,"validated":0}]} 
[2026-07-11 10:47:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188358035877134336,"timestamp_seconds":5188358035877134.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639218432001,"66":13961,"105":206,"83":41984,"24":0,"16":5569400056840192,"45":1738741330516193280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639218432001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:47:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569400056840192,"km_value":5569400056840.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516193280,"description":"Unknown IO ID 45"} 
[2026-07-11 10:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639218432001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516193280}} 
[2026-07-11 10:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":128343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:47:36] local.INFO: GPS data processed {"connection_id":128343,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:47:36] local.INFO: Acknowledgment sent {"connection_id":128343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:47:42] local.INFO: TCP Data received {"connection_id":128522,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:47:42] local.INFO: Processing buffer {"connection_id":128522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:47:42] local.INFO: Packet analysis {"connection_id":128522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:47:42] local.INFO: Extracted packet for processing {"connection_id":128522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":128522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:47:42] local.INFO: GPS data processed {"connection_id":128522,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:47:42] local.INFO: Acknowledgment sent {"connection_id":128522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:48:00] local.INFO: TCP Data received {"connection_id":128523,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:48:00] local.INFO: Processing buffer {"connection_id":128523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:48:00] local.INFO: IMEI packet received {"connection_id":128523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":128523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:48:00] local.INFO: TCP Data received {"connection_id":128523,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:48:00] local.INFO: Processing buffer {"connection_id":128523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:48:00] local.INFO: IMEI packet received {"connection_id":128523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":128523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:48:05] local.INFO: TCP Data received {"connection_id":128345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:48:05] local.INFO: Processing buffer {"connection_id":128345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:48:05] local.INFO: IMEI packet received {"connection_id":128345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":128345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:48:05] local.INFO: TCP Data received {"connection_id":128523,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:48:05] local.INFO: Processing buffer {"connection_id":128523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:48:05] local.INFO: IMEI packet received {"connection_id":128523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":128523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:48:05] local.INFO: TCP Data received {"connection_id":128523,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9b0010012d181fc00721b2b0004a00cd2c..."} 
[2026-07-11 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9b0010012d181fc00721b2b0004a00cd2c..."} 
[2026-07-11 10:48:05] local.INFO: Processing buffer {"connection_id":128523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9b0010012d181fc00721b2b0004a00cd2c..."} 
[2026-07-11 10:48:05] local.INFO: Packet analysis {"connection_id":128523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9b"} 
[2026-07-11 10:48:05] local.INFO: Extracted packet for processing {"connection_id":128523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9b"} 
[2026-07-11 10:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648944,"longitude_deg":75.6555712,"latitude_deg":11.9648944,"altitude":74,"angle":205,"satellites":44,"speed":2,"hex_longitude":"2d181fc0","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-07-11 10:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639223808001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569438711545856,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516193280,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783746986000,"timestamp_ms":1783746986000,"timestamp_seconds":1783746986,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9b0010"} 
[2026-07-11 10:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 10:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639223808001,"66":13928,"105":206,"83":41984,"24":2,"16":5569438711545856,"45":1738741330516193280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639223808001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:48:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569438711545856,"km_value":5569438711545.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516193280,"description":"Unknown IO ID 45"} 
[2026-07-11 10:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639223808001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738741330516193280}} 
[2026-07-11 10:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":128523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:48:05] local.INFO: GPS data processed {"connection_id":128523,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:48:05] local.INFO: Acknowledgment sent {"connection_id":128523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:48:10] local.INFO: TCP Data received {"connection_id":128345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:48:10] local.INFO: Processing buffer {"connection_id":128345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:48:10] local.INFO: IMEI packet received {"connection_id":128345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":128345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:48:10] local.INFO: TCP Data received {"connection_id":128345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:48:10] local.INFO: Processing buffer {"connection_id":128345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:48:10] local.INFO: Packet analysis {"connection_id":128345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:48:10] local.INFO: Extracted packet for processing {"connection_id":128345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:48:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":128345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:48:10] local.INFO: GPS data processed {"connection_id":128345,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:48:10] local.INFO: Acknowledgment sent {"connection_id":128345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:48:36] local.INFO: TCP Data received {"connection_id":128523,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9c2cd8012d181ec00721a788004b00702a..."} 
[2026-07-11 10:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9c2cd8012d181ec00721a788004b00702a..."} 
[2026-07-11 10:48:36] local.INFO: Processing buffer {"connection_id":128523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9c2cd8012d181ec00721a788004b00702a..."} 
[2026-07-11 10:48:36] local.INFO: Packet analysis {"connection_id":128523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:48:36] local.INFO: Extracted packet for processing {"connection_id":128523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646088,"longitude_deg":75.6555456,"latitude_deg":11.9646088,"altitude":75,"angle":112,"satellites":42,"speed":9,"hex_longitude":"2d181ec0","hex_latitude":"0721a788","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639247872001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569975582457856,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096823296,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783747063000,"timestamp_ms":1783747063000,"timestamp_seconds":1783747063,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9c2cd8"} 
[2026-07-11 10:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-07-11 10:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639247872001,"66":13972,"105":206,"83":41984,"24":9,"16":5569975582457856,"45":1737756168096823296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639247872001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:48:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569975582457856,"km_value":5569975582457.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096823296,"description":"Unknown IO ID 45"} 
[2026-07-11 10:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639247872001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737756168096823296}} 
[2026-07-11 10:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":128523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:48:36] local.INFO: GPS data processed {"connection_id":128523,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:48:36] local.INFO: Acknowledgment sent {"connection_id":128523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:48:42] local.INFO: TCP Data received {"connection_id":128345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:48:42] local.INFO: Processing buffer {"connection_id":128345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:48:42] local.INFO: Packet analysis {"connection_id":128345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:48:42] local.INFO: Extracted packet for processing {"connection_id":128345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:48:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:48:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":128345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:48:42] local.INFO: GPS data processed {"connection_id":128345,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:48:42] local.INFO: Acknowledgment sent {"connection_id":128345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:49:01] local.INFO: TCP Data received {"connection_id":129242,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:01] local.INFO: Processing buffer {"connection_id":129242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:01] local.INFO: IMEI packet received {"connection_id":129242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":129242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:49:05] local.INFO: TCP Data received {"connection_id":129242,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:05] local.INFO: Processing buffer {"connection_id":129242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:05] local.INFO: IMEI packet received {"connection_id":129242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":129242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:49:05] local.INFO: TCP Data received {"connection_id":130480,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:49:05] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:49:05] local.INFO: IMEI packet received {"connection_id":130480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":130480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:49:10] local.INFO: TCP Data received {"connection_id":130480,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:49:10] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:49:10] local.INFO: IMEI packet received {"connection_id":130480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":130480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:49:10] local.INFO: TCP Data received {"connection_id":129242,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:10] local.INFO: Processing buffer {"connection_id":129242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:10] local.INFO: IMEI packet received {"connection_id":129242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":129242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:49:10] local.INFO: TCP Data received {"connection_id":130480,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:49:10] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:49:10] local.INFO: Packet analysis {"connection_id":130480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:49:10] local.INFO: Extracted packet for processing {"connection_id":130480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:49:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":130480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:49:10] local.INFO: GPS data processed {"connection_id":130480,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:49:10] local.INFO: Acknowledgment sent {"connection_id":130480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:49:10] local.INFO: TCP Data received {"connection_id":129242,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9c30c0012d181f800721a710004b007f2a..."} 
[2026-07-11 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9c30c0012d181f800721a710004b007f2a..."} 
[2026-07-11 10:49:10] local.INFO: Processing buffer {"connection_id":129242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9c30c0012d181f800721a710004b007f2a..."} 
[2026-07-11 10:49:10] local.INFO: Packet analysis {"connection_id":129242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:49:10] local.INFO: Extracted packet for processing {"connection_id":129242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645968,"longitude_deg":75.6555648,"latitude_deg":11.9645968,"altitude":75,"angle":127,"satellites":42,"speed":9,"hex_longitude":"2d181f80","hex_latitude":"0721a710","is_valid_coordinates":true} 
[2026-07-11 10:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639248128001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5569984172392448,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073521664,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747064000,"timestamp_ms":1783747064000,"timestamp_seconds":1783747064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9c30c0"} 
[2026-07-11 10:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-11 10:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639248128001,"66":13972,"105":206,"83":41984,"24":9,"16":5569984172392448,"45":1738037643073521664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639248128001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:49:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5569984172392448,"km_value":5569984172392.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073521664,"description":"Unknown IO ID 45"} 
[2026-07-11 10:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639248128001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738037643073521664}} 
[2026-07-11 10:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":129242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:49:11] local.INFO: GPS data processed {"connection_id":129242,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:49:11] local.INFO: Acknowledgment sent {"connection_id":129242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:49:16] local.INFO: TCP Data received {"connection_id":129242,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9c6388012d182b4007219c90004d00922a..."} 
[2026-07-11 10:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9c6388012d182b4007219c90004d00922a..."} 
[2026-07-11 10:49:16] local.INFO: Processing buffer {"connection_id":129242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9c6388012d182b4007219c90004d00922a..."} 
[2026-07-11 10:49:16] local.INFO: Packet analysis {"connection_id":129242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:49:16] local.INFO: Extracted packet for processing {"connection_id":129242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119643280,"longitude_deg":75.6558656,"latitude_deg":11.964328,"altitude":77,"angle":146,"satellites":42,"speed":9,"hex_longitude":"2d182b40","hex_latitude":"07219c90","is_valid_coordinates":true} 
[2026-07-11 10:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639248384001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5570181740888064,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306023936,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783747077000,"timestamp_ms":1783747077000,"timestamp_seconds":1783747077,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9c6388"} 
[2026-07-11 10:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-11 10:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639248384001,"66":14070,"105":206,"83":41984,"24":9,"16":5570181740888064,"45":1738248749306023936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639248384001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:49:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5570181740888064,"km_value":5570181740888.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306023936,"description":"Unknown IO ID 45"} 
[2026-07-11 10:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639248384001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738248749306023936}} 
[2026-07-11 10:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":129242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:49:16] local.INFO: GPS data processed {"connection_id":129242,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:49:16] local.INFO: Acknowledgment sent {"connection_id":129242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:49:16] local.INFO: TCP Data received {"connection_id":130479,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:49:16] local.INFO: Processing buffer {"connection_id":130479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:49:16] local.INFO: IMEI packet received {"connection_id":130479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":130479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:49:42] local.INFO: TCP Data received {"connection_id":130480,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:49:42] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:49:42] local.INFO: Packet analysis {"connection_id":130480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:49:42] local.INFO: Extracted packet for processing {"connection_id":130480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":130480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:49:42] local.INFO: GPS data processed {"connection_id":130480,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:49:42] local.INFO: Acknowledgment sent {"connection_id":130480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:49:51] local.INFO: TCP Data received {"connection_id":128346,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:49:51] local.INFO: Processing buffer {"connection_id":128346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:49:51] local.INFO: IMEI packet received {"connection_id":128346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":128346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:49:57] local.INFO: TCP Data received {"connection_id":129243,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:57] local.INFO: Processing buffer {"connection_id":129243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:49:57] local.INFO: IMEI packet received {"connection_id":129243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":129243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:50:00] local.INFO: TCP Data received {"connection_id":129243,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:50:00] local.INFO: Processing buffer {"connection_id":129243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:50:00] local.INFO: IMEI packet received {"connection_id":129243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":129243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:50:03] local.INFO: TCP Data received {"connection_id":129243,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:50:03] local.INFO: Processing buffer {"connection_id":129243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:50:03] local.INFO: IMEI packet received {"connection_id":129243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":129243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:50:04] local.INFO: TCP Data received {"connection_id":129243,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9c6f40012d182cc007219a70004d00862a..."} 
[2026-07-11 10:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9c6f40012d182cc007219a70004d00862a..."} 
[2026-07-11 10:50:04] local.INFO: Processing buffer {"connection_id":129243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9c6f40012d182cc007219a70004d00862a..."} 
[2026-07-11 10:50:04] local.INFO: Packet analysis {"connection_id":129243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:50:04] local.INFO: Extracted packet for processing {"connection_id":129243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756559040,"raw_latitude":119642736,"longitude_deg":75.655904,"latitude_deg":11.9642736,"altitude":77,"angle":134,"satellites":42,"speed":7,"hex_longitude":"2d182cc0","hex_latitude":"07219a70","is_valid_coordinates":true} 
[2026-07-11 10:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639251712001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5570216100626432,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281686016,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50: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-07-11 10:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783747080000,"timestamp_ms":1783747080000,"timestamp_seconds":1783747080,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9c6f40"} 
[2026-07-11 10:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 10:50:04] 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-07-11 10:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":129243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":129243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":129243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639251712001,"66":13993,"105":206,"83":41984,"24":7,"16":5570216100626432,"45":1741556080281686016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639251712001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:50:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5570216100626432,"km_value":5570216100626.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281686016,"description":"Unknown IO ID 45"} 
[2026-07-11 10:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639251712001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1741556080281686016}} 
[2026-07-11 10:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":129243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:50:04] local.INFO: GPS data processed {"connection_id":129243,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:50:04] local.INFO: Acknowledgment sent {"connection_id":129243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:50:04] local.INFO: TCP Data received {"connection_id":128524,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:50:04] local.INFO: Processing buffer {"connection_id":128524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:50:04] local.INFO: IMEI packet received {"connection_id":128524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":128524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:50:10] local.INFO: TCP Data received {"connection_id":128524,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:50:10] local.INFO: Processing buffer {"connection_id":128524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:50:10] local.INFO: IMEI packet received {"connection_id":128524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":128524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:50:10] local.INFO: TCP Data received {"connection_id":128524,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:50:10] local.INFO: Processing buffer {"connection_id":128524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f998910012cb29c0007823c60004b00b32a..."} 
[2026-07-11 10:50:10] local.INFO: Packet analysis {"connection_id":128524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:50:10] local.INFO: Extracted packet for processing {"connection_id":128524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f99"} 
[2026-07-11 10:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639126784001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783746890000,"timestamp_ms":1783746890000,"timestamp_seconds":1783746890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f998910"} 
[2026-07-11 10:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639126784001,"66":25995,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639126784001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:50:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639126784001,"power":25995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":128524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:50:10] local.INFO: GPS data processed {"connection_id":128524,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:50:10] local.INFO: Acknowledgment sent {"connection_id":128524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:50:35] local.INFO: TCP Data received {"connection_id":129243,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9c7710012d182dc0072199b0004d00792a..."} 
[2026-07-11 10:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9c7710012d182dc0072199b0004d00792a..."} 
[2026-07-11 10:50:35] local.INFO: Processing buffer {"connection_id":129243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9c7710012d182dc0072199b0004d00792a..."} 
[2026-07-11 10:50:35] local.INFO: Packet analysis {"connection_id":129243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:50:35] local.INFO: Extracted packet for processing {"connection_id":129243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9c"} 
[2026-07-11 10:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642544,"longitude_deg":75.6559296,"latitude_deg":11.9642544,"altitude":77,"angle":121,"satellites":42,"speed":5,"hex_longitude":"2d182dc0","hex_latitude":"072199b0","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639252480001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5570228985528320,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741978292746612736,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783747082000,"timestamp_ms":1783747082000,"timestamp_seconds":1783747082,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9c7710"} 
[2026-07-11 10:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 10:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":129243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":129243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":129243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639252480001,"66":14048,"105":206,"83":41984,"24":5,"16":5570228985528320,"45":1741978292746612736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639252480001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:50:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5570228985528320,"km_value":5570228985528.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741978292746612736,"description":"Unknown IO ID 45"} 
[2026-07-11 10:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639252480001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741978292746612736}} 
[2026-07-11 10:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":129243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:50:36] local.INFO: GPS data processed {"connection_id":129243,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:50:36] local.INFO: Acknowledgment sent {"connection_id":129243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:50:42] local.INFO: TCP Data received {"connection_id":128524,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:50:42] local.INFO: Processing buffer {"connection_id":128524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:50:42] local.INFO: Packet analysis {"connection_id":128524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:50:42] local.INFO: Extracted packet for processing {"connection_id":128524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":128524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:50:42] local.INFO: GPS data processed {"connection_id":128524,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:50:42] local.INFO: Acknowledgment sent {"connection_id":128524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:51:00] local.INFO: TCP Data received {"connection_id":128527,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:51:00] local.INFO: Processing buffer {"connection_id":128527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:51:00] local.INFO: IMEI packet received {"connection_id":128527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":128527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:51:03] local.INFO: TCP Data received {"connection_id":128527,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:51:03] local.INFO: Processing buffer {"connection_id":128527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:51:03] local.INFO: IMEI packet received {"connection_id":128527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":128527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:51:05] local.INFO: TCP Data received {"connection_id":130481,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:51:05] local.INFO: Processing buffer {"connection_id":130481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:51:05] local.INFO: IMEI packet received {"connection_id":130481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":130481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:51:05] local.INFO: TCP Data received {"connection_id":128527,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e4400012d187640072181e0004c014c25..."} 
[2026-07-11 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e4400012d187640072181e0004c014c25..."} 
[2026-07-11 10:51:05] local.INFO: Processing buffer {"connection_id":128527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e4400012d187640072181e0004c014c25..."} 
[2026-07-11 10:51:05] local.INFO: Packet analysis {"connection_id":128527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:51:05] local.INFO: Extracted packet for processing {"connection_id":128527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636448,"longitude_deg":75.6577856,"latitude_deg":11.9636448,"altitude":76,"angle":332,"satellites":37,"speed":2,"hex_longitude":"2d187640","hex_latitude":"072181e0","is_valid_coordinates":true} 
[2026-07-11 10:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639281920001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5571216828006400,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021474816,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:05] 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-07-11 10:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783747200000,"timestamp_ms":1783747200000,"timestamp_seconds":1783747200,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e4400"} 
[2026-07-11 10:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-11 10:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639281920001,"66":13276,"106":206,"83":41984,"24":2,"16":5571216828006400,"45":1762807441021474816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 10:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639281920001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:51:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 10:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5571216828006400,"km_value":5571216828006.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021474816,"description":"Unknown IO ID 45"} 
[2026-07-11 10:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639281920001,"power":13276,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1762807441021474816}} 
[2026-07-11 10:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":128527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:51:05] local.INFO: GPS data processed {"connection_id":128527,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:51:05] local.INFO: Acknowledgment sent {"connection_id":128527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:51:10] local.INFO: TCP Data received {"connection_id":130481,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:51:10] local.INFO: Processing buffer {"connection_id":130481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:51:10] local.INFO: IMEI packet received {"connection_id":130481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":130481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:51:10] local.INFO: TCP Data received {"connection_id":130481,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:51:10] local.INFO: Processing buffer {"connection_id":130481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:51:10] local.INFO: Packet analysis {"connection_id":130481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:51:10] local.INFO: Extracted packet for processing {"connection_id":130481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:51: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-07-11 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:51:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":130481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:51:10] local.INFO: GPS data processed {"connection_id":130481,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:51:10] local.INFO: Acknowledgment sent {"connection_id":130481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:51:37] local.INFO: TCP Data received {"connection_id":128527,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9eff80012d18d2c0072128d0003e00a228..."} 
[2026-07-11 10:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9eff80012d18d2c0072128d0003e00a228..."} 
[2026-07-11 10:51:37] local.INFO: Processing buffer {"connection_id":128527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9eff80012d18d2c0072128d0003e00a228..."} 
[2026-07-11 10:51:37] local.INFO: Packet analysis {"connection_id":128527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:51:37] local.INFO: Extracted packet for processing {"connection_id":128527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119613648,"longitude_deg":75.6601536,"latitude_deg":11.9613648,"altitude":62,"angle":162,"satellites":40,"speed":39,"hex_longitude":"2d18d2c0","hex_latitude":"072128d0","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639294464001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5572999239434240,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786662445292855296,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747248000,"timestamp_ms":1783747248000,"timestamp_seconds":1783747248,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9eff80"} 
[2026-07-11 10:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 10:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639294464001,"66":13091,"103":206,"83":41984,"24":39,"16":5572999239434240,"45":1786662445292855296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639294464001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:51:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5572999239434240,"km_value":5572999239434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786662445292855296,"description":"Unknown IO ID 45"} 
[2026-07-11 10:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639294464001,"power":13091,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1786662445292855296}} 
[2026-07-11 10:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":128527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:51:37] local.INFO: GPS data processed {"connection_id":128527,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:51:37] local.INFO: Acknowledgment sent {"connection_id":128527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:51:41] local.INFO: TCP Data received {"connection_id":130481,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:51:41] local.INFO: Processing buffer {"connection_id":130481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:51:41] local.INFO: Packet analysis {"connection_id":130481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:51:41] local.INFO: Extracted packet for processing {"connection_id":130481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:51:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":130481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:51:41] local.INFO: GPS data processed {"connection_id":130481,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:51:41] local.INFO: Acknowledgment sent {"connection_id":130481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:51:58] local.INFO: TCP Data received {"connection_id":129245,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:51:58] local.INFO: Processing buffer {"connection_id":129245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:51:58] local.INFO: IMEI packet received {"connection_id":129245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":129245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:52:00] local.INFO: TCP Data received {"connection_id":129245,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:52:00] local.INFO: Processing buffer {"connection_id":129245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:52:00] local.INFO: IMEI packet received {"connection_id":129245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":129245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:52:05] local.INFO: TCP Data received {"connection_id":128528,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:52:05] local.INFO: Processing buffer {"connection_id":128528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:52:05] local.INFO: IMEI packet received {"connection_id":128528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":128528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:52:05] local.INFO: TCP Data received {"connection_id":129245,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:52:05] local.INFO: Processing buffer {"connection_id":129245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:52:05] local.INFO: IMEI packet received {"connection_id":129245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":129245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:52:06] local.INFO: TCP Data received {"connection_id":129245,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9f0750012d18d38007212148003d00b329..."} 
[2026-07-11 10:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9f0750012d18d38007212148003d00b329..."} 
[2026-07-11 10:52:06] local.INFO: Processing buffer {"connection_id":129245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9f0750012d18d38007212148003d00b329..."} 
[2026-07-11 10:52:06] local.INFO: Packet analysis {"connection_id":129245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9f"} 
[2026-07-11 10:52:06] local.INFO: Extracted packet for processing {"connection_id":129245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9f"} 
[2026-07-11 10:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119611720,"longitude_deg":75.6601728,"latitude_deg":11.961172,"altitude":61,"angle":179,"satellites":41,"speed":38,"hex_longitude":"2d18d380","hex_latitude":"07212148","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639295488001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5573093728714752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138873135104,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747250000,"timestamp_ms":1783747250000,"timestamp_seconds":1783747250,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9f0750"} 
[2026-07-11 10:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 10:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639295488001,"66":13048,"103":206,"83":41984,"24":38,"16":5573093728714752,"45":1788703138873135104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639295488001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:52:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5573093728714752,"km_value":5573093728714.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138873135104,"description":"Unknown IO ID 45"} 
[2026-07-11 10:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639295488001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1788703138873135104}} 
[2026-07-11 10:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":129245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:52:06] local.INFO: GPS data processed {"connection_id":129245,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:52:06] local.INFO: Acknowledgment sent {"connection_id":129245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:52:10] local.INFO: TCP Data received {"connection_id":128528,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:52:10] local.INFO: Processing buffer {"connection_id":128528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:52:10] local.INFO: IMEI packet received {"connection_id":128528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":128528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:52:10] local.INFO: TCP Data received {"connection_id":128528,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:52:10] local.INFO: Processing buffer {"connection_id":128528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:52:10] local.INFO: Packet analysis {"connection_id":128528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:52:10] local.INFO: Extracted packet for processing {"connection_id":128528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:52:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":128528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:52:10] local.INFO: GPS data processed {"connection_id":128528,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:52:10] local.INFO: Acknowledgment sent {"connection_id":128528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:52:37] local.INFO: TCP Data received {"connection_id":129245,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9f1ad8012d18d44007210de0003a00a629..."} 
[2026-07-11 10:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9f1ad8012d18d44007210de0003a00a629..."} 
[2026-07-11 10:52:37] local.INFO: Processing buffer {"connection_id":129245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9f1ad8012d18d44007210de0003a00a629..."} 
[2026-07-11 10:52:37] local.INFO: Packet analysis {"connection_id":129245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9f"} 
[2026-07-11 10:52:37] local.INFO: Extracted packet for processing {"connection_id":129245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9f"} 
[2026-07-11 10:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119606752,"longitude_deg":75.660192,"latitude_deg":11.9606752,"altitude":58,"angle":166,"satellites":41,"speed":39,"hex_longitude":"2d18d440","hex_latitude":"07210de0","is_valid_coordinates":true} 
[2026-07-11 10:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639296000001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5573338541850624,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245105174528,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747255000,"timestamp_ms":1783747255000,"timestamp_seconds":1783747255,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9f1ad8"} 
[2026-07-11 10:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 10:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639296000001,"66":12950,"103":206,"83":41984,"24":39,"16":5573338541850624,"45":1788914245105174528},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639296000001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:52:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5573338541850624,"km_value":5573338541850.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245105174528,"description":"Unknown IO ID 45"} 
[2026-07-11 10:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639296000001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1788914245105174528}} 
[2026-07-11 10:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":129245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:52:37] local.INFO: GPS data processed {"connection_id":129245,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:52:37] local.INFO: Acknowledgment sent {"connection_id":129245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:52:41] local.INFO: TCP Data received {"connection_id":128528,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:52:41] local.INFO: Processing buffer {"connection_id":128528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:52:41] local.INFO: Packet analysis {"connection_id":128528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:52:41] local.INFO: Extracted packet for processing {"connection_id":128528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:52:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":128528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:52:41] local.INFO: GPS data processed {"connection_id":128528,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:52:41] local.INFO: Acknowledgment sent {"connection_id":128528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:53:00] local.INFO: TCP Data received {"connection_id":129246,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:53:00] local.INFO: Processing buffer {"connection_id":129246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:53:00] local.INFO: IMEI packet received {"connection_id":129246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":129246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:53:05] local.INFO: TCP Data received {"connection_id":128347,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:53:05] local.INFO: Processing buffer {"connection_id":128347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:53:05] local.INFO: IMEI packet received {"connection_id":128347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":128347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:53:05] local.INFO: TCP Data received {"connection_id":129246,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:53:05] local.INFO: Processing buffer {"connection_id":129246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:53:05] local.INFO: IMEI packet received {"connection_id":129246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":129246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:53:06] local.INFO: TCP Data received {"connection_id":129246,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9f2a78012d18d9000720ff200039009829..."} 
[2026-07-11 10:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9f2a78012d18d9000720ff200039009829..."} 
[2026-07-11 10:53:06] local.INFO: Processing buffer {"connection_id":129246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9f2a78012d18d9000720ff200039009829..."} 
[2026-07-11 10:53:06] local.INFO: Packet analysis {"connection_id":129246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9f"} 
[2026-07-11 10:53:06] local.INFO: Extracted packet for processing {"connection_id":129246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9f"} 
[2026-07-11 10:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756603136,"raw_latitude":119602976,"longitude_deg":75.6603136,"latitude_deg":11.9602976,"altitude":57,"angle":152,"satellites":41,"speed":38,"hex_longitude":"2d18d900","hex_latitude":"0720ff20","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639297280001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5573527520411648,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336435712,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747259000,"timestamp_ms":1783747259000,"timestamp_seconds":1783747259,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9f2a78"} 
[2026-07-11 10:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 10:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639297280001,"66":12852,"103":206,"83":41984,"24":38,"16":5573527520411648,"45":1789125351336435712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639297280001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:53:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5573527520411648,"km_value":5573527520411.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336435712,"description":"Unknown IO ID 45"} 
[2026-07-11 10:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639297280001,"power":12852,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1789125351336435712}} 
[2026-07-11 10:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":129246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:53:06] local.INFO: GPS data processed {"connection_id":129246,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:53:06] local.INFO: Acknowledgment sent {"connection_id":129246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:53:10] local.INFO: TCP Data received {"connection_id":128347,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:53:10] local.INFO: Processing buffer {"connection_id":128347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:53:10] local.INFO: IMEI packet received {"connection_id":128347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":128347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:53:10] local.INFO: TCP Data received {"connection_id":128347,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:53:10] local.INFO: Processing buffer {"connection_id":128347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:53:10] local.INFO: Packet analysis {"connection_id":128347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:53:10] local.INFO: Extracted packet for processing {"connection_id":128347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:53:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:53:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":128347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:53:10] local.INFO: GPS data processed {"connection_id":128347,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:53:10] local.INFO: Acknowledgment sent {"connection_id":128347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:53:37] local.INFO: TCP Data received {"connection_id":129246,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa0ad30012d196f800720aea00034004828..."} 
[2026-07-11 10:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa0ad30012d196f800720aea00034004828..."} 
[2026-07-11 10:53:37] local.INFO: Processing buffer {"connection_id":129246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa0ad30012d196f800720aea00034004828..."} 
[2026-07-11 10:53:37] local.INFO: Packet analysis {"connection_id":129246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa0"} 
[2026-07-11 10:53:37] local.INFO: Extracted packet for processing {"connection_id":129246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa0"} 
[2026-07-11 10:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119582368,"longitude_deg":75.6641664,"latitude_deg":11.9582368,"altitude":52,"angle":72,"satellites":40,"speed":28,"hex_longitude":"2d196f80","hex_latitude":"0720aea0","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639322368001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5575786673209344,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829517010488020992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747358000,"timestamp_ms":1783747358000,"timestamp_seconds":1783747358,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa0ad30"} 
[2026-07-11 10:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 10:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639322368001,"66":14265,"103":206,"83":41984,"24":28,"16":5575786673209344,"45":1829517010488020992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639322368001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:53:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5575786673209344,"km_value":5575786673209.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829517010488020992,"description":"Unknown IO ID 45"} 
[2026-07-11 10:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639322368001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1829517010488020992}} 
[2026-07-11 10:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":129246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:53:37] local.INFO: GPS data processed {"connection_id":129246,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:53:37] local.INFO: Acknowledgment sent {"connection_id":129246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:53:42] local.INFO: TCP Data received {"connection_id":128347,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:53:42] local.INFO: Processing buffer {"connection_id":128347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:53:42] local.INFO: Packet analysis {"connection_id":128347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:53:42] local.INFO: Extracted packet for processing {"connection_id":128347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:53:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":128347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:53:42] local.INFO: GPS data processed {"connection_id":128347,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:53:42] local.INFO: Acknowledgment sent {"connection_id":128347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:54:00] local.INFO: TCP Data received {"connection_id":128348,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:54:00] local.INFO: Processing buffer {"connection_id":128348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:54:00] local.INFO: IMEI packet received {"connection_id":128348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":128348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:54:00] local.INFO: TCP Data received {"connection_id":128348,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:54:00] local.INFO: Processing buffer {"connection_id":128348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:54:00] local.INFO: IMEI packet received {"connection_id":128348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":128348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:54:05] local.INFO: TCP Data received {"connection_id":129247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:54:05] local.INFO: Processing buffer {"connection_id":129247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:54:05] local.INFO: IMEI packet received {"connection_id":129247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":129247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:54:05] local.INFO: TCP Data received {"connection_id":128348,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:54:05] local.INFO: Processing buffer {"connection_id":128348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:54:05] local.INFO: IMEI packet received {"connection_id":128348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":128348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:54:06] local.INFO: TCP Data received {"connection_id":128348,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa139d0012d19b9c00720a8780034015229..."} 
[2026-07-11 10:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa139d0012d19b9c00720a8780034015229..."} 
[2026-07-11 10:54:06] local.INFO: Processing buffer {"connection_id":128348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa139d0012d19b9c00720a8780034015229..."} 
[2026-07-11 10:54:06] local.INFO: Packet analysis {"connection_id":128348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa1"} 
[2026-07-11 10:54:06] local.INFO: Extracted packet for processing {"connection_id":128348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa1"} 
[2026-07-11 10:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119580792,"longitude_deg":75.6660672,"latitude_deg":11.9580792,"altitude":52,"angle":338,"satellites":41,"speed":13,"hex_longitude":"2d19b9c0","hex_latitude":"0720a878","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639332608001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5576830350262272,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964717340672,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747394000,"timestamp_ms":1783747394000,"timestamp_seconds":1783747394,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa139d0"} 
[2026-07-11 10:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 10:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639332608001,"66":13961,"103":206,"83":41984,"24":13,"16":5576830350262272,"45":1853934964717340672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639332608001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:54:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5576830350262272,"km_value":5576830350262.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964717340672,"description":"Unknown IO ID 45"} 
[2026-07-11 10:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639332608001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1853934964717340672}} 
[2026-07-11 10:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":128348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:54:06] local.INFO: GPS data processed {"connection_id":128348,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:54:06] local.INFO: Acknowledgment sent {"connection_id":128348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:54:10] local.INFO: TCP Data received {"connection_id":129247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:54:10] local.INFO: Processing buffer {"connection_id":129247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:54:10] local.INFO: IMEI packet received {"connection_id":129247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":129247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:54:10] local.INFO: TCP Data received {"connection_id":129247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:54:10] local.INFO: Processing buffer {"connection_id":129247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:54:10] local.INFO: Packet analysis {"connection_id":129247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:54:10] local.INFO: Extracted packet for processing {"connection_id":129247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:54:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":129247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:54:10] local.INFO: GPS data processed {"connection_id":129247,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:54:10] local.INFO: Acknowledgment sent {"connection_id":129247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:54:37] local.INFO: TCP Data received {"connection_id":128348,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa13db8012d19b9000720a9b80035013a29..."} 
[2026-07-11 10:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa13db8012d19b9000720a9b80035013a29..."} 
[2026-07-11 10:54:37] local.INFO: Processing buffer {"connection_id":128348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa13db8012d19b9000720a9b80035013a29..."} 
[2026-07-11 10:54:37] local.INFO: Packet analysis {"connection_id":128348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa1"} 
[2026-07-11 10:54:37] local.INFO: Extracted packet for processing {"connection_id":128348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa1"} 
[2026-07-11 10:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119581112,"longitude_deg":75.666048,"latitude_deg":11.9581112,"altitude":53,"angle":314,"satellites":41,"speed":16,"hex_longitude":"2d19b900","hex_latitude":"0720a9b8","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639332864001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5576851825098752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484885504,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747395000,"timestamp_ms":1783747395000,"timestamp_seconds":1783747395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa13db8"} 
[2026-07-11 10:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 10:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639332864001,"66":13993,"103":206,"83":41984,"24":16,"16":5576851825098752,"45":1853723858484885504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639332864001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:54:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5576851825098752,"km_value":5576851825098.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484885504,"description":"Unknown IO ID 45"} 
[2026-07-11 10:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639332864001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1853723858484885504}} 
[2026-07-11 10:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":128348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:54:37] local.INFO: GPS data processed {"connection_id":128348,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:54:37] local.INFO: Acknowledgment sent {"connection_id":128348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:54:42] local.INFO: TCP Data received {"connection_id":129247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:54:42] local.INFO: Processing buffer {"connection_id":129247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:54:42] local.INFO: Packet analysis {"connection_id":129247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:54:42] local.INFO: Extracted packet for processing {"connection_id":129247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:54:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:54:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":129247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:54:42] local.INFO: GPS data processed {"connection_id":129247,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:54:42] local.INFO: Acknowledgment sent {"connection_id":129247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:55:03] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:03] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:03] local.INFO: IMEI packet received {"connection_id":128349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":128349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:55:04] local.INFO: TCP Data received {"connection_id":129249,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:55:04] local.INFO: Processing buffer {"connection_id":129249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:55:04] local.INFO: IMEI packet received {"connection_id":129249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":129249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:55:06] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:06] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:06] local.INFO: IMEI packet received {"connection_id":128349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":128349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:55:10] local.INFO: TCP Data received {"connection_id":129249,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:55:10] local.INFO: Processing buffer {"connection_id":129249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:55:10] local.INFO: IMEI packet received {"connection_id":129249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":129249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:55:10] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:10] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:10] local.INFO: IMEI packet received {"connection_id":128349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":128349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:55:10] local.INFO: TCP Data received {"connection_id":129249,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:55:10] local.INFO: Processing buffer {"connection_id":129249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4f9e20d8012cb29c0007823c60004a00b328..."} 
[2026-07-11 10:55:10] local.INFO: Packet analysis {"connection_id":129249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:55:10] local.INFO: Extracted packet for processing {"connection_id":129249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4f9e"} 
[2026-07-11 10:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639203840001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747191000,"timestamp_ms":1783747191000,"timestamp_seconds":1783747191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4f9e20d8"} 
[2026-07-11 10:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:55: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-07-11 10:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 10:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639203840001,"66":25941,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639203840001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:55:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639203840001,"power":25941,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":129249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:55:10] local.INFO: GPS data processed {"connection_id":129249,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:55:10] local.INFO: Acknowledgment sent {"connection_id":129249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:55:11] local.INFO: TCP Data received {"connection_id":129248,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:55:11] local.INFO: Processing buffer {"connection_id":129248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:55:11] local.INFO: IMEI packet received {"connection_id":129248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":129248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:55:11] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa141a0012d19b7800720aac00035012b29..."} 
[2026-07-11 10:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa141a0012d19b7800720aac00035012b29..."} 
[2026-07-11 10:55:11] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa141a0012d19b7800720aac00035012b29..."} 
[2026-07-11 10:55:11] local.INFO: Packet analysis {"connection_id":128349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa1"} 
[2026-07-11 10:55:11] local.INFO: Extracted packet for processing {"connection_id":128349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa1"} 
[2026-07-11 10:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119581376,"longitude_deg":75.6660096,"latitude_deg":11.9581376,"altitude":53,"angle":299,"satellites":41,"speed":19,"hex_longitude":"2d19b780","hex_latitude":"0720aac0","is_valid_coordinates":true} 
[2026-07-11 10:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639333120001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5576873299935232,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752252434432,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783747396000,"timestamp_ms":1783747396000,"timestamp_seconds":1783747396,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa141a0"} 
[2026-07-11 10:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 10:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639333120001,"66":13993,"103":206,"83":41984,"24":19,"16":5576873299935232,"45":1853512752252434432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639333120001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:55:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5576873299935232,"km_value":5576873299935.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752252434432,"description":"Unknown IO ID 45"} 
[2026-07-11 10:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639333120001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853512752252434432}} 
[2026-07-11 10:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":128349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:55:11] local.INFO: GPS data processed {"connection_id":128349,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:55:11] local.INFO: Acknowledgment sent {"connection_id":128349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:55:13] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa15910012d19abc00720afc00037011f2a..."} 
[2026-07-11 10:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa15910012d19abc00720afc00037011f2a..."} 
[2026-07-11 10:55:13] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa15910012d19abc00720afc00037011f2a..."} 
[2026-07-11 10:55:13] local.INFO: Packet analysis {"connection_id":128349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa1"} 
[2026-07-11 10:55:13] local.INFO: Extracted packet for processing {"connection_id":128349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa1"} 
[2026-07-11 10:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756657088,"raw_latitude":119582656,"longitude_deg":75.6657088,"latitude_deg":11.9582656,"altitude":55,"angle":287,"satellites":42,"speed":23,"hex_longitude":"2d19abc0","hex_latitude":"0720afc0","is_valid_coordinates":true} 
[2026-07-11 10:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639333376001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5577027918757888,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539787436032,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783747402000,"timestamp_ms":1783747402000,"timestamp_seconds":1783747402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa15910"} 
[2026-07-11 10:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 10:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639333376001,"66":13820,"103":206,"83":41984,"24":23,"16":5577027918757888,"45":1853090539787436032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639333376001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:55:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5577027918757888,"km_value":5577027918757.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539787436032,"description":"Unknown IO ID 45"} 
[2026-07-11 10:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639333376001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1853090539787436032}} 
[2026-07-11 10:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":128349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:55:13] local.INFO: GPS data processed {"connection_id":128349,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:55:13] local.INFO: Acknowledgment sent {"connection_id":128349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:55:41] local.INFO: TCP Data received {"connection_id":129249,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:55:41] local.INFO: Processing buffer {"connection_id":129249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:55:41] local.INFO: Packet analysis {"connection_id":129249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:55:41] local.INFO: Extracted packet for processing {"connection_id":129249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:55:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 10:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 10:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:55:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":129249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:55:41] local.INFO: GPS data processed {"connection_id":129249,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:55:41] local.INFO: Acknowledgment sent {"connection_id":129249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:55:44] local.INFO: TCP Data received {"connection_id":128349,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2ace8012d18d64007210178003d014c29..."} 
[2026-07-11 10:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2ace8012d18d64007210178003d014c29..."} 
[2026-07-11 10:55:44] local.INFO: Processing buffer {"connection_id":128349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2ace8012d18d64007210178003d014c29..."} 
[2026-07-11 10:55:44] local.INFO: Packet analysis {"connection_id":128349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:55:44] local.INFO: Extracted packet for processing {"connection_id":128349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119603576,"longitude_deg":75.6602432,"latitude_deg":11.9603576,"altitude":61,"angle":332,"satellites":41,"speed":39,"hex_longitude":"2d18d640","hex_latitude":"07210178","is_valid_coordinates":true} 
[2026-07-11 10:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639356416001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5580055870701568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791728994869610496,"note":"Value kept but may cause issues"} 
[2026-07-11 10:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783747489000,"timestamp_ms":1783747489000,"timestamp_seconds":1783747489,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2ace8"} 
[2026-07-11 10:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 10:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639356416001,"66":14341,"103":206,"83":41984,"24":39,"16":5580055870701568,"45":1791728994869610496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639356416001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:55:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5580055870701568,"km_value":5580055870701.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791728994869610496,"description":"Unknown IO ID 45"} 
[2026-07-11 10:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639356416001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1791728994869610496}} 
[2026-07-11 10:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":128349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:55:45] local.INFO: GPS data processed {"connection_id":128349,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:55:45] local.INFO: Acknowledgment sent {"connection_id":128349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:55:56] local.INFO: TCP Data received {"connection_id":128529,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:55:56] local.INFO: Processing buffer {"connection_id":128529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 10:55:56] local.INFO: IMEI packet received {"connection_id":128529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 10:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":128529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:55:57] local.INFO: TCP Data received {"connection_id":128530,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:57] local.INFO: Processing buffer {"connection_id":128530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:55:57] local.INFO: IMEI packet received {"connection_id":128530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":128530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:56:00] local.INFO: TCP Data received {"connection_id":128530,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:00] local.INFO: Processing buffer {"connection_id":128530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:00] local.INFO: IMEI packet received {"connection_id":128530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":128530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:56:01] local.INFO: TCP Data received {"connection_id":128530,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:01] local.INFO: Processing buffer {"connection_id":128530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:01] local.INFO: IMEI packet received {"connection_id":128530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":128530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:56:05] local.INFO: TCP Data received {"connection_id":129250,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:56:05] local.INFO: Processing buffer {"connection_id":129250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:56:05] local.INFO: IMEI packet received {"connection_id":129250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":129250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:56:05] local.INFO: TCP Data received {"connection_id":128530,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:05] local.INFO: Processing buffer {"connection_id":128530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:05] local.INFO: IMEI packet received {"connection_id":128530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":128530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:56:06] local.INFO: TCP Data received {"connection_id":128530,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b4b8012d18d380072108f8003d015928..."} 
[2026-07-11 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b4b8012d18d380072108f8003d015928..."} 
[2026-07-11 10:56:06] local.INFO: Processing buffer {"connection_id":128530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b4b8012d18d380072108f8003d015928..."} 
[2026-07-11 10:56:06] local.INFO: Packet analysis {"connection_id":128530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:56:06] local.INFO: Extracted packet for processing {"connection_id":128530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119605496,"longitude_deg":75.6601728,"latitude_deg":11.9605496,"altitude":61,"angle":345,"satellites":40,"speed":40,"hex_longitude":"2d18d380","hex_latitude":"072108f8","is_valid_coordinates":true} 
[2026-07-11 10:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357184001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5580154654949376,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301289043968,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747491000,"timestamp_ms":1783747491000,"timestamp_seconds":1783747491,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b4b8"} 
[2026-07-11 10:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6967763460,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":14356581709776128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84751710257881267,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503684748410880,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2722840577,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2147950778,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951480,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3518496768,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:06] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,211,159,161,45,128,248,60,42,10,66,210,126,222,37,118,64,1,240,148,227,79,32,4,113,205,29,47,176,41,239,54,2,19,7,51,18,206],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-11 10:56:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395878450270240768,"timestamp_seconds":4395878450270241.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357184001,"66":13450,"103":206,"83":41984,"24":40,"16":5580154654949376,"45":1789688301289043968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357184001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:56:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5580154654949376,"km_value":5580154654949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301289043968,"description":"Unknown IO ID 45"} 
[2026-07-11 10:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357184001,"power":13450,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1789688301289043968}} 
[2026-07-11 10:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":128530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:56:06] local.INFO: GPS data processed {"connection_id":128530,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:56:06] local.INFO: Acknowledgment sent {"connection_id":128530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:56:07] local.INFO: TCP Data received {"connection_id":128530,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2c840012d18d0c007211980003f016429..."} 
[2026-07-11 10:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2c840012d18d0c007211980003f016429..."} 
[2026-07-11 10:56:07] local.INFO: Processing buffer {"connection_id":128530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2c840012d18d0c007211980003f016429..."} 
[2026-07-11 10:56:07] local.INFO: Packet analysis {"connection_id":128530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:56:07] local.INFO: Extracted packet for processing {"connection_id":128530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119609728,"longitude_deg":75.6601024,"latitude_deg":11.9609728,"altitude":63,"angle":356,"satellites":41,"speed":25,"hex_longitude":"2d18d0c0","hex_latitude":"07211980","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357696001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5580365108346880,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245103581184,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783747496000,"timestamp_ms":1783747496000,"timestamp_seconds":1783747496,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2c840"} 
[2026-07-11 10:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-11 10:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357696001,"66":13961,"103":206,"83":41984,"24":25,"16":5580365108346880,"45":1788914245103581184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357696001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:56:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5580365108346880,"km_value":5580365108346.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245103581184,"description":"Unknown IO ID 45"} 
[2026-07-11 10:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357696001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788914245103581184}} 
[2026-07-11 10:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":128530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:56:07] local.INFO: GPS data processed {"connection_id":128530,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:56:07] local.INFO: Acknowledgment sent {"connection_id":128530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:56:10] local.INFO: TCP Data received {"connection_id":129250,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:56:10] local.INFO: Processing buffer {"connection_id":129250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:56:10] local.INFO: IMEI packet received {"connection_id":129250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":129250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:56:10] local.INFO: TCP Data received {"connection_id":129250,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:56:10] local.INFO: Processing buffer {"connection_id":129250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:56:10] local.INFO: Packet analysis {"connection_id":129250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:56:10] local.INFO: Extracted packet for processing {"connection_id":129250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 10:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:56: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-07-11 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 10:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:56:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":129250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:56:10] local.INFO: GPS data processed {"connection_id":129250,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:56:10] local.INFO: Acknowledgment sent {"connection_id":129250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:56:38] local.INFO: TCP Data received {"connection_id":128530,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa306c0012d18d10007211ef00040000a28..."} 
[2026-07-11 10:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa306c0012d18d10007211ef00040000a28..."} 
[2026-07-11 10:56:38] local.INFO: Processing buffer {"connection_id":128530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa306c0012d18d10007211ef00040000a28..."} 
[2026-07-11 10:56:38] local.INFO: Packet analysis {"connection_id":128530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa3"} 
[2026-07-11 10:56:38] local.INFO: Extracted packet for processing {"connection_id":128530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa3"} 
[2026-07-11 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119611120,"longitude_deg":75.6601088,"latitude_deg":11.961112,"altitude":64,"angle":10,"satellites":40,"speed":6,"hex_longitude":"2d18d100","hex_latitude":"07211ef0","is_valid_coordinates":true} 
[2026-07-11 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639358976001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5580433827823616,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188918710272,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56: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-07-11 10:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783747512000,"timestamp_ms":1783747512000,"timestamp_seconds":1783747512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa306c0"} 
[2026-07-11 10:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 10:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639358976001,"66":14341,"103":206,"83":41984,"24":6,"16":5580433827823616,"45":1788140188918710272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639358976001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:56:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5580433827823616,"km_value":5580433827823.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188918710272,"description":"Unknown IO ID 45"} 
[2026-07-11 10:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639358976001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1788140188918710272}} 
[2026-07-11 10:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":128530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:56:38] local.INFO: GPS data processed {"connection_id":128530,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:56:38] local.INFO: Acknowledgment sent {"connection_id":128530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:56:41] local.INFO: TCP Data received {"connection_id":129250,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:56:41] local.INFO: Processing buffer {"connection_id":129250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:56:41] local.INFO: Packet analysis {"connection_id":129250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:56:41] local.INFO: Extracted packet for processing {"connection_id":129250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 10:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 10:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:56:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":129250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:56:41] local.INFO: GPS data processed {"connection_id":129250,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:56:41] local.INFO: Acknowledgment sent {"connection_id":129250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:56:57] local.INFO: TCP Data received {"connection_id":128350,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:57] local.INFO: Processing buffer {"connection_id":128350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:56:57] local.INFO: IMEI packet received {"connection_id":128350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":128350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:57:00] local.INFO: TCP Data received {"connection_id":128350,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:57:00] local.INFO: Processing buffer {"connection_id":128350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:57:00] local.INFO: IMEI packet received {"connection_id":128350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":128350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:57:05] local.INFO: TCP Data received {"connection_id":130485,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:57:05] local.INFO: Processing buffer {"connection_id":130485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:57:05] local.INFO: IMEI packet received {"connection_id":130485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":130485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:57:05] local.INFO: TCP Data received {"connection_id":128350,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:57:05] local.INFO: Processing buffer {"connection_id":128350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:57:05] local.INFO: IMEI packet received {"connection_id":128350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":128350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:57:06] local.INFO: TCP Data received {"connection_id":128350,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa31a48012d18d1c0072125c80040016727..."} 
[2026-07-11 10:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa31a48012d18d1c0072125c80040016727..."} 
[2026-07-11 10:57:06] local.INFO: Processing buffer {"connection_id":128350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa31a48012d18d1c0072125c80040016727..."} 
[2026-07-11 10:57:06] local.INFO: Packet analysis {"connection_id":128350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa3"} 
[2026-07-11 10:57:06] local.INFO: Extracted packet for processing {"connection_id":128350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa3"} 
[2026-07-11 10:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119612872,"longitude_deg":75.660128,"latitude_deg":11.9612872,"altitude":64,"angle":359,"satellites":39,"speed":18,"hex_longitude":"2d18d1c0","hex_latitude":"072125c8","is_valid_coordinates":true} 
[2026-07-11 10:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639363072001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5580519727169536,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663244288,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747517000,"timestamp_ms":1783747517000,"timestamp_seconds":1783747517,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa31a48"} 
[2026-07-11 10:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6967763531,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":16385,"corrected_to":0} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84751512689385672,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503684762763264,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2728472577,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4169662524,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422328,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3532259328,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.WARNING: Large IO value detected {"io_id":144,"raw_value":14637979343527168,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:06] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,103,83,24,241,157,16,211,159,200,45,192,25,63,41,10,66,180,128,8,61,40,172,64,1,240,5,227,79,32,4,113,205,38,126,56,37,239,51,2,19,7,59,30,206,144],"length":529,"final_offset":659,"validated_count":46,"validation_warnings":[{"io_id":200,"original":16385,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-11 10:57:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611697185342750720,"timestamp_seconds":4611697185342751.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639363072001,"66":14428,"103":206,"83":41984,"24":18,"16":5580519727169536,"45":1788210557663244288},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 10:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639363072001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:57:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 10:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5580519727169536,"km_value":5580519727169.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663244288,"description":"Unknown IO ID 45"} 
[2026-07-11 10:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639363072001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1788210557663244288}} 
[2026-07-11 10:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":128350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:57:06] local.INFO: GPS data processed {"connection_id":128350,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:57:06] local.INFO: Acknowledgment sent {"connection_id":128350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:57:10] local.INFO: TCP Data received {"connection_id":130485,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:57:10] local.INFO: Processing buffer {"connection_id":130485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:57:10] local.INFO: IMEI packet received {"connection_id":130485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":130485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:57:10] local.INFO: TCP Data received {"connection_id":130485,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:57:10] local.INFO: Processing buffer {"connection_id":130485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:57:10] local.INFO: Packet analysis {"connection_id":130485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:57:10] local.INFO: Extracted packet for processing {"connection_id":130485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 10:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 10:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:57:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":130485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:57:10] local.INFO: GPS data processed {"connection_id":130485,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:57:10] local.INFO: Acknowledgment sent {"connection_id":130485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:57:37] local.INFO: TCP Data received {"connection_id":128350,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa47208012d187bc007218270004b010b27..."} 
[2026-07-11 10:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa47208012d187bc007218270004b010b27..."} 
[2026-07-11 10:57:37] local.INFO: Processing buffer {"connection_id":128350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa47208012d187bc007218270004b010b27..."} 
[2026-07-11 10:57:37] local.INFO: Packet analysis {"connection_id":128350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:57:37] local.INFO: Extracted packet for processing {"connection_id":128350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119636592,"longitude_deg":75.6579264,"latitude_deg":11.9636592,"altitude":75,"angle":267,"satellites":39,"speed":19,"hex_longitude":"2d187bc0","hex_latitude":"07218270","is_valid_coordinates":true} 
[2026-07-11 10:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639385600001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5582233419120640,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766325878230474752,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] 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-07-11 10:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747605000,"timestamp_ms":1783747605000,"timestamp_seconds":1783747605,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa47208"} 
[2026-07-11 10:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2748952577,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3559981056,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,212,159,12,45,64,129,75,35,10,66,245,122,74,38,225,1,240,224,227,79,33,4,113,205,25,178,185,72,41,239,54,2,19,7,65,20],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-11 10:57:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404626484092796928,"timestamp_seconds":5404626484092797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 10:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639385600001,"66":14026,"106":206,"83":41984,"24":19,"16":5582233419120640,"45":1766325878230474752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 10:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639385600001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:57:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 10:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5582233419120640,"km_value":5582233419120.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766325878230474752,"description":"Unknown IO ID 45"} 
[2026-07-11 10:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639385600001,"power":14026,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1766325878230474752}} 
[2026-07-11 10:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":128350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:57:38] local.INFO: GPS data processed {"connection_id":128350,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:57:38] local.INFO: Acknowledgment sent {"connection_id":128350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:57:41] local.INFO: TCP Data received {"connection_id":130485,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:57:41] local.INFO: Processing buffer {"connection_id":130485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:57:41] local.INFO: Packet analysis {"connection_id":130485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:57:41] local.INFO: Extracted packet for processing {"connection_id":130485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:57:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 10:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 10:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:57:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:57:41] local.INFO: GPS data processed {"connection_id":130485,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:57:41] local.INFO: Acknowledgment sent {"connection_id":130485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:58:00] local.INFO: TCP Data received {"connection_id":129252,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:58:00] local.INFO: Processing buffer {"connection_id":129252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:58:00] local.INFO: IMEI packet received {"connection_id":129252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":129252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:58:05] local.INFO: TCP Data received {"connection_id":129253,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:58:05] local.INFO: Processing buffer {"connection_id":129253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:58:05] local.INFO: IMEI packet received {"connection_id":129253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":129253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:58:05] local.INFO: TCP Data received {"connection_id":129252,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:58:05] local.INFO: Processing buffer {"connection_id":129252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:58:05] local.INFO: IMEI packet received {"connection_id":129252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":129252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:58:06] local.INFO: TCP Data received {"connection_id":129252,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa49530012d18644007218248004b011b25..."} 
[2026-07-11 10:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa49530012d18644007218248004b011b25..."} 
[2026-07-11 10:58:06] local.INFO: Processing buffer {"connection_id":129252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa49530012d18644007218248004b011b25..."} 
[2026-07-11 10:58:06] local.INFO: Packet analysis {"connection_id":129252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:58:06] local.INFO: Extracted packet for processing {"connection_id":129252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756573248,"raw_latitude":119636552,"longitude_deg":75.6573248,"latitude_deg":11.9636552,"altitude":75,"angle":283,"satellites":37,"speed":31,"hex_longitude":"2d186440","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-07-11 10: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-07-11 10:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639386880001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5582521181929472,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815905181696,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747614000,"timestamp_ms":1783747614000,"timestamp_seconds":1783747614,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa49530"} 
[2026-07-11 10:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-11 10:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10: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-07-11 10:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639386880001,"66":14048,"105":206,"83":41984,"24":31,"16":5582521181929472,"45":1764214815905181696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639386880001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:58:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5582521181929472,"km_value":5582521181929.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815905181696,"description":"Unknown IO ID 45"} 
[2026-07-11 10:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639386880001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1764214815905181696}} 
[2026-07-11 10:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":129252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:58:06] local.INFO: GPS data processed {"connection_id":129252,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:58:06] local.INFO: Acknowledgment sent {"connection_id":129252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:58:10] local.INFO: TCP Data received {"connection_id":129253,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:58:10] local.INFO: Processing buffer {"connection_id":129253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:58:10] local.INFO: IMEI packet received {"connection_id":129253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":129253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:58:10] local.INFO: TCP Data received {"connection_id":129253,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:58:10] local.INFO: Processing buffer {"connection_id":129253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:58:10] local.INFO: Packet analysis {"connection_id":129253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:58:10] local.INFO: Extracted packet for processing {"connection_id":129253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 10:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:58: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-07-11 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 10:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":129253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:58:10] local.INFO: GPS data processed {"connection_id":129253,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:58:10] local.INFO: Acknowledgment sent {"connection_id":129253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:58:37] local.INFO: TCP Data received {"connection_id":129252,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa4a0e8012d185ac0072185c0004c012826..."} 
[2026-07-11 10:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa4a0e8012d185ac0072185c0004c012826..."} 
[2026-07-11 10:58:37] local.INFO: Processing buffer {"connection_id":129252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa4a0e8012d185ac0072185c0004c012826..."} 
[2026-07-11 10:58:37] local.INFO: Packet analysis {"connection_id":129252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:58:37] local.INFO: Extracted packet for processing {"connection_id":129252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119637440,"longitude_deg":75.6570816,"latitude_deg":11.963744,"altitude":76,"angle":296,"satellites":38,"speed":34,"hex_longitude":"2d185ac0","hex_latitude":"072185c0","is_valid_coordinates":true} 
[2026-07-11 10:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639389184001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5582645735981056,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757600153952471040,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747617000,"timestamp_ms":1783747617000,"timestamp_seconds":1783747617,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa4a0e8"} 
[2026-07-11 10:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 10:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639389184001,"66":13993,"105":206,"83":41984,"24":34,"16":5582645735981056,"45":1757600153952471040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639389184001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:58:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5582645735981056,"km_value":5582645735981.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757600153952471040,"description":"Unknown IO ID 45"} 
[2026-07-11 10:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639389184001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1757600153952471040}} 
[2026-07-11 10:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":129252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:58:37] local.INFO: GPS data processed {"connection_id":129252,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:58:37] local.INFO: Acknowledgment sent {"connection_id":129252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:58:41] local.INFO: TCP Data received {"connection_id":129253,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:58:41] local.INFO: Processing buffer {"connection_id":129253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:58:41] local.INFO: Packet analysis {"connection_id":129253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:58:41] local.INFO: Extracted packet for processing {"connection_id":129253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 10:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 10:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:58:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":129253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:58:41] local.INFO: GPS data processed {"connection_id":129253,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:58:41] local.INFO: Acknowledgment sent {"connection_id":129253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:59:01] local.INFO: TCP Data received {"connection_id":128532,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:59:01] local.INFO: Processing buffer {"connection_id":128532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:59:01] local.INFO: IMEI packet received {"connection_id":128532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 10:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":128532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:59:03] local.INFO: TCP Data received {"connection_id":128532,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:59:03] local.INFO: Processing buffer {"connection_id":128532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:59:03] local.INFO: IMEI packet received {"connection_id":128532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":128532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:59:04] local.INFO: TCP Data received {"connection_id":130487,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:59:04] local.INFO: Processing buffer {"connection_id":130487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:59:04] local.INFO: IMEI packet received {"connection_id":130487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 10:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":130487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 10:59:05] local.INFO: TCP Data received {"connection_id":128532,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:59:05] local.INFO: Processing buffer {"connection_id":128532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 10:59:05] local.INFO: IMEI packet received {"connection_id":128532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 10:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":128532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:59:06] local.INFO: TCP Data received {"connection_id":128532,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa4c7f8012d183d80072193d8004e011b23..."} 
[2026-07-11 10:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa4c7f8012d183d80072193d8004e011b23..."} 
[2026-07-11 10:59:06] local.INFO: Processing buffer {"connection_id":128532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa4c7f8012d183d80072193d8004e011b23..."} 
[2026-07-11 10:59:06] local.INFO: Packet analysis {"connection_id":128532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:59:06] local.INFO: Extracted packet for processing {"connection_id":128532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756563328,"raw_latitude":119641048,"longitude_deg":75.6563328,"latitude_deg":11.9641048,"altitude":78,"angle":283,"satellites":35,"speed":29,"hex_longitude":"2d183d80","hex_latitude":"072193d8","is_valid_coordinates":true} 
[2026-07-11 10:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639389952001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583040872972288,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141673947136,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747627000,"timestamp_ms":1783747627000,"timestamp_seconds":1783747627,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa4c7f8"} 
[2026-07-11 10:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 10:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639389952001,"66":13993,"105":206,"83":41984,"24":29,"16":5583040872972288,"45":1754926141673947136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639389952001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:59:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583040872972288,"km_value":5583040872972.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141673947136,"description":"Unknown IO ID 45"} 
[2026-07-11 10:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639389952001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1754926141673947136}} 
[2026-07-11 10:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":128532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:59:06] local.INFO: GPS data processed {"connection_id":128532,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:59:06] local.INFO: Acknowledgment sent {"connection_id":128532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:59:10] local.INFO: TCP Data received {"connection_id":130487,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:59:10] local.INFO: Processing buffer {"connection_id":130487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 10:59:10] local.INFO: IMEI packet received {"connection_id":130487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 10:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":130487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 10:59:10] local.INFO: TCP Data received {"connection_id":130487,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:59:10] local.INFO: Processing buffer {"connection_id":130487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:59:10] local.INFO: Packet analysis {"connection_id":130487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:59:10] local.INFO: Extracted packet for processing {"connection_id":130487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 10:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 10:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:59:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":130487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:59:10] local.INFO: GPS data processed {"connection_id":130487,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:59:10] local.INFO: Acknowledgment sent {"connection_id":130487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:59:10] local.INFO: TCP Data received {"connection_id":128532,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa4d798012d18324007219800004d012824..."} 
[2026-07-11 10:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa4d798012d18324007219800004d012824..."} 
[2026-07-11 10:59:10] local.INFO: Processing buffer {"connection_id":128532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa4d798012d18324007219800004d012824..."} 
[2026-07-11 10:59:10] local.INFO: Packet analysis {"connection_id":128532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:59:10] local.INFO: Extracted packet for processing {"connection_id":128532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756560448,"raw_latitude":119642112,"longitude_deg":75.6560448,"latitude_deg":11.9642112,"altitude":77,"angle":296,"satellites":36,"speed":28,"hex_longitude":"2d183240","hex_latitude":"07219800","is_valid_coordinates":true} 
[2026-07-11 10:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639392512001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583186901860352,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746692998606084096,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747631000,"timestamp_ms":1783747631000,"timestamp_seconds":1783747631,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa4d798"} 
[2026-07-11 10:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 10:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639392512001,"66":14004,"105":206,"83":41984,"24":28,"16":5583186901860352,"45":1746692998606084096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639392512001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:59:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583186901860352,"km_value":5583186901860.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746692998606084096,"description":"Unknown IO ID 45"} 
[2026-07-11 10:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639392512001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1746692998606084096}} 
[2026-07-11 10:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":128532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:59:11] local.INFO: GPS data processed {"connection_id":128532,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:59:11] local.INFO: Acknowledgment sent {"connection_id":128532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:59:41] local.INFO: TCP Data received {"connection_id":130487,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:59:41] local.INFO: Processing buffer {"connection_id":130487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 10:59:41] local.INFO: Packet analysis {"connection_id":130487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:59:41] local.INFO: Extracted packet for processing {"connection_id":130487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 10:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 10:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 10:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 10:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 10:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 10:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 10:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 10:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:59:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 10:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 10:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 10:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 10:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":130487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:59:41] local.INFO: GPS data processed {"connection_id":130487,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:59:41] local.INFO: Acknowledgment sent {"connection_id":130487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 10:59:41] local.INFO: TCP Data received {"connection_id":128532,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa4e350012d182b4007219c30004c013324..."} 
[2026-07-11 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa4e350012d182b4007219c30004c013324..."} 
[2026-07-11 10:59:41] local.INFO: Processing buffer {"connection_id":128532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa4e350012d182b4007219c30004c013324..."} 
[2026-07-11 10:59:41] local.INFO: Packet analysis {"connection_id":128532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:59:41] local.INFO: Extracted packet for processing {"connection_id":128532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa4"} 
[2026-07-11 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119643184,"longitude_deg":75.6558656,"latitude_deg":11.9643184,"altitude":76,"angle":307,"satellites":36,"speed":27,"hex_longitude":"2d182b40","hex_latitude":"07219c30","is_valid_coordinates":true} 
[2026-07-11 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 10:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639393536001,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583285686108160,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743526405118361600,"note":"Value kept but may cause issues"} 
[2026-07-11 10:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 10:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747634000,"timestamp_ms":1783747634000,"timestamp_seconds":1783747634,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa4e350"} 
[2026-07-11 10:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 10:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 10:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 10:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 10:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 10:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 10:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 10:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 10:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 10:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 10:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639393536001,"66":14004,"105":206,"83":41984,"24":27,"16":5583285686108160,"45":1743526405118361600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 10:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 10:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 10:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639393536001,"description":"Unknown IO ID 0"} 
[2026-07-11 10:59:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 10:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 10:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583285686108160,"km_value":5583285686108.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 10:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743526405118361600,"description":"Unknown IO ID 45"} 
[2026-07-11 10:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639393536001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1743526405118361600}} 
[2026-07-11 10:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":128532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 10:59:41] local.INFO: GPS data processed {"connection_id":128532,"processed":1,"errors":0,"total":1} 
[2026-07-11 10:59:41] local.INFO: Acknowledgment sent {"connection_id":128532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:00:00] local.INFO: TCP Data received {"connection_id":130489,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:00:00] local.INFO: Processing buffer {"connection_id":130489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:00:00] local.INFO: IMEI packet received {"connection_id":130489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":130489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:00:04] local.INFO: TCP Data received {"connection_id":129254,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:00:04] local.INFO: Processing buffer {"connection_id":129254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:00:04] local.INFO: IMEI packet received {"connection_id":129254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":129254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:00:05] local.INFO: TCP Data received {"connection_id":130489,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:00:05] local.INFO: Processing buffer {"connection_id":130489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:00:05] local.INFO: IMEI packet received {"connection_id":130489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":130489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:00:06] local.INFO: TCP Data received {"connection_id":130489,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa53558012d181e000721a6d0004b012d29..."} 
[2026-07-11 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa53558012d181e000721a6d0004b012d29..."} 
[2026-07-11 11:00:06] local.INFO: Processing buffer {"connection_id":130489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa53558012d181e000721a6d0004b012d29..."} 
[2026-07-11 11:00:06] local.INFO: Packet analysis {"connection_id":130489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa5"} 
[2026-07-11 11:00:06] local.INFO: Extracted packet for processing {"connection_id":130489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa5"} 
[2026-07-11 11:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119645904,"longitude_deg":75.6555264,"latitude_deg":11.9645904,"altitude":75,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721a6d0","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639394304001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583500434472960,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281661440,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747655000,"timestamp_ms":1783747655000,"timestamp_seconds":1783747655,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa53558"} 
[2026-07-11 11:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 11:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639394304001,"66":13917,"105":206,"83":41984,"24":0,"16":5583500434472960,"45":1741556080281661440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639394304001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:00:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583500434472960,"km_value":5583500434472.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281661440,"description":"Unknown IO ID 45"} 
[2026-07-11 11:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639394304001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281661440}} 
[2026-07-11 11:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":130489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:00:06] local.INFO: GPS data processed {"connection_id":130489,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:00:06] local.INFO: Acknowledgment sent {"connection_id":130489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:00:09] local.INFO: TCP Data received {"connection_id":129254,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:00:09] local.INFO: Processing buffer {"connection_id":129254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:00:09] local.INFO: IMEI packet received {"connection_id":129254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":129254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:00:10] local.INFO: TCP Data received {"connection_id":129254,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 11:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 11:00:10] local.INFO: Processing buffer {"connection_id":129254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa2b8a0012cb29c0007823c60004900b327..."} 
[2026-07-11 11:00:10] local.INFO: Packet analysis {"connection_id":129254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 11:00:10] local.INFO: Extracted packet for processing {"connection_id":129254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa2"} 
[2026-07-11 11:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639280896001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747492000,"timestamp_ms":1783747492000,"timestamp_seconds":1783747492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa2b8a0"} 
[2026-07-11 11:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:00: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-07-11 11:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 11:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639280896001,"66":25919,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639280896001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:00:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639280896001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":129254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:00:10] local.INFO: GPS data processed {"connection_id":129254,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:00:10] local.INFO: Acknowledgment sent {"connection_id":129254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:00:37] local.INFO: TCP Data received {"connection_id":130489,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa58760012d181e000721a6d0004b012d2b..."} 
[2026-07-11 11:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa58760012d181e000721a6d0004b012d2b..."} 
[2026-07-11 11:00:37] local.INFO: Processing buffer {"connection_id":130489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa58760012d181e000721a6d0004b012d2b..."} 
[2026-07-11 11:00:37] local.INFO: Packet analysis {"connection_id":130489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa5"} 
[2026-07-11 11:00:37] local.INFO: Extracted packet for processing {"connection_id":130489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa5"} 
[2026-07-11 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119645904,"longitude_deg":75.6555264,"latitude_deg":11.9645904,"altitude":75,"angle":301,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721a6d0","is_valid_coordinates":true} 
[2026-07-11 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639399680001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583500434472960,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840941568,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747676000,"timestamp_ms":1783747676000,"timestamp_seconds":1783747676,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa58760"} 
[2026-07-11 11:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-07-11 11:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639399680001,"66":13254,"105":206,"83":41984,"24":0,"16":5583500434472960,"45":1737826536840941568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639399680001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:00:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583500434472960,"km_value":5583500434472.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840941568,"description":"Unknown IO ID 45"} 
[2026-07-11 11:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639399680001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536840941568}} 
[2026-07-11 11:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":130489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:00:37] local.INFO: GPS data processed {"connection_id":130489,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:00:37] local.INFO: Acknowledgment sent {"connection_id":130489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:00:41] local.INFO: TCP Data received {"connection_id":129254,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:00:41] local.INFO: Processing buffer {"connection_id":129254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:00:41] local.INFO: Packet analysis {"connection_id":129254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:00:41] local.INFO: Extracted packet for processing {"connection_id":129254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:00:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":129254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:00:41] local.INFO: GPS data processed {"connection_id":129254,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:00:41] local.INFO: Acknowledgment sent {"connection_id":129254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:01:04] local.INFO: TCP Data received {"connection_id":128534,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:01:04] local.INFO: Processing buffer {"connection_id":128534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:01:04] local.INFO: IMEI packet received {"connection_id":128534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":128534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:01:05] local.INFO: TCP Data received {"connection_id":128351,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:01:05] local.INFO: Processing buffer {"connection_id":128351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:01:05] local.INFO: IMEI packet received {"connection_id":128351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":128351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:01:09] local.INFO: TCP Data received {"connection_id":128351,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:01:09] local.INFO: Processing buffer {"connection_id":128351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:01:09] local.INFO: IMEI packet received {"connection_id":128351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":128351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:01:09] local.INFO: TCP Data received {"connection_id":128534,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:01:09] local.INFO: Processing buffer {"connection_id":128534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:01:09] local.INFO: IMEI packet received {"connection_id":128534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":128534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:01:10] local.INFO: TCP Data received {"connection_id":128351,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa740c8012d182f4007219960004e007f2a..."} 
[2026-07-11 11:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa740c8012d182f4007219960004e007f2a..."} 
[2026-07-11 11:01:10] local.INFO: Processing buffer {"connection_id":128351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa740c8012d182f4007219960004e007f2a..."} 
[2026-07-11 11:01:10] local.INFO: Packet analysis {"connection_id":128351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:10] local.INFO: Extracted packet for processing {"connection_id":128351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":42,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639428608001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747789000,"timestamp_ms":1783747789000,"timestamp_seconds":1783747789,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa740c8"} 
[2026-07-11 11:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 11:01:10] 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-07-11 11:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639428608001,"66":13080,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639428608001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:01:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639428608001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":128351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:01:10] local.INFO: GPS data processed {"connection_id":128351,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:01:10] local.INFO: Acknowledgment sent {"connection_id":128351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:01:10] local.INFO: TCP Data received {"connection_id":128534,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:01:10] local.INFO: Processing buffer {"connection_id":128534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:01:10] local.INFO: Packet analysis {"connection_id":128534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:10] local.INFO: Extracted packet for processing {"connection_id":128534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:01: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-07-11 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:01:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":128534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:01:10] local.INFO: GPS data processed {"connection_id":128534,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:01:10] local.INFO: Acknowledgment sent {"connection_id":128534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:01:11] local.INFO: TCP Data received {"connection_id":128351,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa792d0012d182f4007219960004e007f2a..."} 
[2026-07-11 11:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa792d0012d182f4007219960004e007f2a..."} 
[2026-07-11 11:01:11] local.INFO: Processing buffer {"connection_id":128351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa792d0012d182f4007219960004e007f2a..."} 
[2026-07-11 11:01:11] local.INFO: Packet analysis {"connection_id":128351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:11] local.INFO: Extracted packet for processing {"connection_id":128351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":42,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639433984001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783747810000,"timestamp_ms":1783747810000,"timestamp_seconds":1783747810,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa792d0"} 
[2026-07-11 11:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-11 11:01:11] 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-07-11 11:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639433984001,"66":13015,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639433984001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:01:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639433984001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":128351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:01:11] local.INFO: GPS data processed {"connection_id":128351,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:01:11] local.INFO: Acknowledgment sent {"connection_id":128351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:01:11] local.INFO: TCP Data received {"connection_id":128533,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:01:11] local.INFO: Processing buffer {"connection_id":128533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:01:11] local.INFO: IMEI packet received {"connection_id":128533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":128533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:01:41] local.INFO: TCP Data received {"connection_id":128534,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:01:41] local.INFO: Processing buffer {"connection_id":128534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:01:41] local.INFO: Packet analysis {"connection_id":128534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:41] local.INFO: Extracted packet for processing {"connection_id":128534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:01:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":128534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:01:41] local.INFO: GPS data processed {"connection_id":128534,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:01:41] local.INFO: Acknowledgment sent {"connection_id":128534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:01:41] local.INFO: TCP Data received {"connection_id":128351,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa7e4d8012d182f4007219960004e007f27..."} 
[2026-07-11 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa7e4d8012d182f4007219960004e007f27..."} 
[2026-07-11 11:01:41] local.INFO: Processing buffer {"connection_id":128351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa7e4d8012d182f4007219960004e007f27..."} 
[2026-07-11 11:01:41] local.INFO: Packet analysis {"connection_id":128351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:41] local.INFO: Extracted packet for processing {"connection_id":128351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":39,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639439360001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747831000,"timestamp_ms":1783747831000,"timestamp_seconds":1783747831,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa7e4d8"} 
[2026-07-11 11:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 11:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639439360001,"66":13004,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639439360001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:01:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639439360001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":128351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:01:41] local.INFO: GPS data processed {"connection_id":128351,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:01:41] local.INFO: Acknowledgment sent {"connection_id":128351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:02:00] local.INFO: TCP Data received {"connection_id":129255,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:02:00] local.INFO: Processing buffer {"connection_id":129255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:02:00] local.INFO: IMEI packet received {"connection_id":129255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":129255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:02:00] local.INFO: TCP Data received {"connection_id":129256,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:02:00] local.INFO: Processing buffer {"connection_id":129256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:02:00] local.INFO: IMEI packet received {"connection_id":129256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":129256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:02:04] local.INFO: TCP Data received {"connection_id":128352,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:02:04] local.INFO: Processing buffer {"connection_id":128352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:02:04] local.INFO: IMEI packet received {"connection_id":128352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":128352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:02:05] local.INFO: TCP Data received {"connection_id":129255,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:02:05] local.INFO: Processing buffer {"connection_id":129255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:02:05] local.INFO: IMEI packet received {"connection_id":129255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":129255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:02:06] local.INFO: TCP Data received {"connection_id":129255,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa836e0012d182f4007219960004e007f28..."} 
[2026-07-11 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa836e0012d182f4007219960004e007f28..."} 
[2026-07-11 11:02:06] local.INFO: Processing buffer {"connection_id":129255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa836e0012d182f4007219960004e007f28..."} 
[2026-07-11 11:02:06] local.INFO: Packet analysis {"connection_id":129255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa8"} 
[2026-07-11 11:02:06] local.INFO: Extracted packet for processing {"connection_id":129255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa8"} 
[2026-07-11 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":40,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639444736001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747852000,"timestamp_ms":1783747852000,"timestamp_seconds":1783747852,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa836e0"} 
[2026-07-11 11:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-11 11:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639444736001,"66":13004,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639444736001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:02:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639444736001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":129255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:02:06] local.INFO: GPS data processed {"connection_id":129255,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:02:06] local.INFO: Acknowledgment sent {"connection_id":129255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:02:09] local.INFO: TCP Data received {"connection_id":128352,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:02:09] local.INFO: Processing buffer {"connection_id":128352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:02:09] local.INFO: IMEI packet received {"connection_id":128352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":128352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:02:10] local.INFO: TCP Data received {"connection_id":128352,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:02:10] local.INFO: Processing buffer {"connection_id":128352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:02:10] local.INFO: Packet analysis {"connection_id":128352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:02:10] local.INFO: Extracted packet for processing {"connection_id":128352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:02: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-07-11 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:02:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":128352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:02:10] local.INFO: GPS data processed {"connection_id":128352,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:02:10] local.INFO: Acknowledgment sent {"connection_id":128352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:02:37] local.INFO: TCP Data received {"connection_id":129255,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa888e8012d182f4007219960004e007f26..."} 
[2026-07-11 11:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa888e8012d182f4007219960004e007f26..."} 
[2026-07-11 11:02:37] local.INFO: Processing buffer {"connection_id":129255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa888e8012d182f4007219960004e007f26..."} 
[2026-07-11 11:02:37] local.INFO: Packet analysis {"connection_id":129255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa8"} 
[2026-07-11 11:02:37] local.INFO: Extracted packet for processing {"connection_id":129255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa8"} 
[2026-07-11 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":38,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639450112001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747873000,"timestamp_ms":1783747873000,"timestamp_seconds":1783747873,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa888e8"} 
[2026-07-11 11:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-11 11:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639450112001,"66":12972,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639450112001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:02:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639450112001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":129255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:02:37] local.INFO: GPS data processed {"connection_id":129255,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:02:37] local.INFO: Acknowledgment sent {"connection_id":129255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:02:41] local.INFO: TCP Data received {"connection_id":128352,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:02:41] local.INFO: Processing buffer {"connection_id":128352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:02:41] local.INFO: Packet analysis {"connection_id":128352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:02:41] local.INFO: Extracted packet for processing {"connection_id":128352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:02:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":128352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:02:41] local.INFO: GPS data processed {"connection_id":128352,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:02:41] local.INFO: Acknowledgment sent {"connection_id":128352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:03:00] local.INFO: TCP Data received {"connection_id":130491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:03:00] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:03:00] local.INFO: IMEI packet received {"connection_id":130491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":130491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:03:04] local.INFO: TCP Data received {"connection_id":129257,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:03:04] local.INFO: Processing buffer {"connection_id":129257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:03:04] local.INFO: IMEI packet received {"connection_id":129257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":129257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:03:05] local.INFO: TCP Data received {"connection_id":130491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:03:05] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:03:05] local.INFO: IMEI packet received {"connection_id":130491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":130491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:03:06] local.INFO: TCP Data received {"connection_id":130491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa8daf0012d182f4007219960004e007f2a..."} 
[2026-07-11 11:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa8daf0012d182f4007219960004e007f2a..."} 
[2026-07-11 11:03:06] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa8daf0012d182f4007219960004e007f2a..."} 
[2026-07-11 11:03:06] local.INFO: Packet analysis {"connection_id":130491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa8"} 
[2026-07-11 11:03:06] local.INFO: Extracted packet for processing {"connection_id":130491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa8"} 
[2026-07-11 11:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":42,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639455488001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747894000,"timestamp_ms":1783747894000,"timestamp_seconds":1783747894,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa8daf0"} 
[2026-07-11 11:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 11:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639455488001,"66":12950,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639455488001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:03:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639455488001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":130491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:03:06] local.INFO: GPS data processed {"connection_id":130491,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:03:06] local.INFO: Acknowledgment sent {"connection_id":130491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:03:09] local.INFO: TCP Data received {"connection_id":129257,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:03:09] local.INFO: Processing buffer {"connection_id":129257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:03:09] local.INFO: IMEI packet received {"connection_id":129257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":129257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:03:10] local.INFO: TCP Data received {"connection_id":129257,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:03:10] local.INFO: Processing buffer {"connection_id":129257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:03:10] local.INFO: Packet analysis {"connection_id":129257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:03:10] local.INFO: Extracted packet for processing {"connection_id":129257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:03:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":129257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:03:10] local.INFO: GPS data processed {"connection_id":129257,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:03:10] local.INFO: Acknowledgment sent {"connection_id":129257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:03:37] local.INFO: TCP Data received {"connection_id":130491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa92cf8012d182f4007219960004e007f2a..."} 
[2026-07-11 11:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa92cf8012d182f4007219960004e007f2a..."} 
[2026-07-11 11:03:37] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa92cf8012d182f4007219960004e007f2a..."} 
[2026-07-11 11:03:37] local.INFO: Packet analysis {"connection_id":130491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa9"} 
[2026-07-11 11:03:37] local.INFO: Extracted packet for processing {"connection_id":130491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa9"} 
[2026-07-11 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":42,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639460864001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747915000,"timestamp_ms":1783747915000,"timestamp_seconds":1783747915,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa92cf8"} 
[2026-07-11 11:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 11:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639460864001,"66":12950,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639460864001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:03:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639460864001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":130491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:03:37] local.INFO: GPS data processed {"connection_id":130491,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:03:37] local.INFO: Acknowledgment sent {"connection_id":130491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:03:41] local.INFO: TCP Data received {"connection_id":129257,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:03:41] local.INFO: Processing buffer {"connection_id":129257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:03:41] local.INFO: Packet analysis {"connection_id":129257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:03:41] local.INFO: Extracted packet for processing {"connection_id":129257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:03:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":129257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:03:41] local.INFO: GPS data processed {"connection_id":129257,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:03:41] local.INFO: Acknowledgment sent {"connection_id":129257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:04:00] local.INFO: TCP Data received {"connection_id":128535,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:04:00] local.INFO: Processing buffer {"connection_id":128535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:04:00] local.INFO: IMEI packet received {"connection_id":128535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":128535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:04:05] local.INFO: TCP Data received {"connection_id":128535,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:04:05] local.INFO: Processing buffer {"connection_id":128535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:04:05] local.INFO: IMEI packet received {"connection_id":128535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:04:06] local.INFO: TCP Data received {"connection_id":128535,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa97f00012d182f4007219960004e007f29..."} 
[2026-07-11 11:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa97f00012d182f4007219960004e007f29..."} 
[2026-07-11 11:04:06] local.INFO: Processing buffer {"connection_id":128535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa97f00012d182f4007219960004e007f29..."} 
[2026-07-11 11:04:06] local.INFO: Packet analysis {"connection_id":128535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa9"} 
[2026-07-11 11:04:06] local.INFO: Extracted packet for processing {"connection_id":128535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa9"} 
[2026-07-11 11:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":41,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639466240001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783747936000,"timestamp_ms":1783747936000,"timestamp_seconds":1783747936,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa97f00"} 
[2026-07-11 11:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 11:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639466240001,"66":12928,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639466240001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639466240001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":128535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:04:06] local.INFO: GPS data processed {"connection_id":128535,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:04:06] local.INFO: Acknowledgment sent {"connection_id":128535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:04:07] local.INFO: TCP Data received {"connection_id":128354,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:04:07] local.INFO: Processing buffer {"connection_id":128354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:04:07] local.INFO: IMEI packet received {"connection_id":128354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":128354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:04:09] local.INFO: TCP Data received {"connection_id":128354,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:04:09] local.INFO: Processing buffer {"connection_id":128354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:04:09] local.INFO: IMEI packet received {"connection_id":128354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":128354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:04:10] local.INFO: TCP Data received {"connection_id":128354,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:04:10] local.INFO: Processing buffer {"connection_id":128354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:04:10] local.INFO: Packet analysis {"connection_id":128354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:04:10] local.INFO: Extracted packet for processing {"connection_id":128354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:04: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-07-11 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:04:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":128354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:04:10] local.INFO: GPS data processed {"connection_id":128354,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:04:10] local.INFO: Acknowledgment sent {"connection_id":128354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:04:37] local.INFO: TCP Data received {"connection_id":128535,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa9d108012d182f4007219960004e007f2b..."} 
[2026-07-11 11:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa9d108012d182f4007219960004e007f2b..."} 
[2026-07-11 11:04:37] local.INFO: Processing buffer {"connection_id":128535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa9d108012d182f4007219960004e007f2b..."} 
[2026-07-11 11:04:37] local.INFO: Packet analysis {"connection_id":128535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa9"} 
[2026-07-11 11:04:37] local.INFO: Extracted packet for processing {"connection_id":128535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa9"} 
[2026-07-11 11:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":43,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639471616001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783747957000,"timestamp_ms":1783747957000,"timestamp_seconds":1783747957,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa9d108"} 
[2026-07-11 11:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-11 11:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639471616001,"66":12885,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639471616001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:04:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639471616001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":128535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:04:37] local.INFO: GPS data processed {"connection_id":128535,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:04:37] local.INFO: Acknowledgment sent {"connection_id":128535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:04:42] local.INFO: TCP Data received {"connection_id":128354,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:04:42] local.INFO: Processing buffer {"connection_id":128354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:04:42] local.INFO: Packet analysis {"connection_id":128354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:04:42] local.INFO: Extracted packet for processing {"connection_id":128354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:04:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:04:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":128354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:04:42] local.INFO: GPS data processed {"connection_id":128354,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:04:42] local.INFO: Acknowledgment sent {"connection_id":128354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:05:00] local.INFO: TCP Data received {"connection_id":129258,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:00] local.INFO: Processing buffer {"connection_id":129258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:00] local.INFO: IMEI packet received {"connection_id":129258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":129258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:05:00] local.INFO: TCP Data received {"connection_id":129258,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:00] local.INFO: Processing buffer {"connection_id":129258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:00] local.INFO: IMEI packet received {"connection_id":129258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":129258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:05:03] local.INFO: TCP Data received {"connection_id":129258,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:03] local.INFO: Processing buffer {"connection_id":129258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:03] local.INFO: IMEI packet received {"connection_id":129258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":129258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:05:05] local.INFO: TCP Data received {"connection_id":129258,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:05] local.INFO: Processing buffer {"connection_id":129258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:05:05] local.INFO: IMEI packet received {"connection_id":129258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":129258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:05:05] local.INFO: TCP Data received {"connection_id":129258,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4faa2310012d182f4007219960004e007f2a..."} 
[2026-07-11 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4faa2310012d182f4007219960004e007f2a..."} 
[2026-07-11 11:05:05] local.INFO: Processing buffer {"connection_id":129258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4faa2310012d182f4007219960004e007f2a..."} 
[2026-07-11 11:05:05] local.INFO: Packet analysis {"connection_id":129258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4faa"} 
[2026-07-11 11:05:05] local.INFO: Extracted packet for processing {"connection_id":129258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4faa"} 
[2026-07-11 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":42,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639476992001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783747978000,"timestamp_ms":1783747978000,"timestamp_seconds":1783747978,"priority":1,"record_length":96,"hex_timestamp":"0000019f4faa2310"} 
[2026-07-11 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 11:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639476992001,"66":12863,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639476992001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:05:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639476992001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":129258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:05:06] local.INFO: GPS data processed {"connection_id":129258,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:05:06] local.INFO: Acknowledgment sent {"connection_id":129258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:05:09] local.INFO: TCP Data received {"connection_id":130492,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:05:09] local.INFO: Processing buffer {"connection_id":130492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:05:09] local.INFO: IMEI packet received {"connection_id":130492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":130492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:05:10] local.INFO: TCP Data received {"connection_id":129258,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4faa7518012d182f4007219960004e007f27..."} 
[2026-07-11 11:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4faa7518012d182f4007219960004e007f27..."} 
[2026-07-11 11:05:10] local.INFO: Processing buffer {"connection_id":129258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4faa7518012d182f4007219960004e007f27..."} 
[2026-07-11 11:05:10] local.INFO: Packet analysis {"connection_id":129258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4faa"} 
[2026-07-11 11:05:10] local.INFO: Extracted packet for processing {"connection_id":129258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4faa"} 
[2026-07-11 11:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642464,"longitude_deg":75.655968,"latitude_deg":11.9642464,"altitude":78,"angle":127,"satellites":39,"speed":0,"hex_longitude":"2d182f40","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-07-11 11:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639482368001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5583805377150976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188319744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783747999000,"timestamp_ms":1783747999000,"timestamp_seconds":1783747999,"priority":1,"record_length":96,"hex_timestamp":"0000019f4faa7518"} 
[2026-07-11 11:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:05:10] 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-07-11 11:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639482368001,"66":13928,"105":206,"83":41984,"24":0,"16":5583805377150976,"45":1742681980188319744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 11:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639482368001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:05:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 11:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5583805377150976,"km_value":5583805377150.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188319744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639482368001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742681980188319744}} 
[2026-07-11 11:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":129258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:05:10] local.INFO: GPS data processed {"connection_id":129258,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:05:10] local.INFO: Acknowledgment sent {"connection_id":129258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:05:14] local.INFO: TCP Data received {"connection_id":130492,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:05:14] local.INFO: Processing buffer {"connection_id":130492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:05:14] local.INFO: IMEI packet received {"connection_id":130492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":130492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:05:15] local.INFO: TCP Data received {"connection_id":130492,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:05:15] local.INFO: Processing buffer {"connection_id":130492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:05:15] local.INFO: Packet analysis {"connection_id":130492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:05:15] local.INFO: Extracted packet for processing {"connection_id":130492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:05:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":130492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:05:15] local.INFO: GPS data processed {"connection_id":130492,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:05:15] local.INFO: Acknowledgment sent {"connection_id":130492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:05:20] local.INFO: TCP Data received {"connection_id":130492,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:05:20] local.INFO: Processing buffer {"connection_id":130492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fa75068012cb29c0007823c60004800b327..."} 
[2026-07-11 11:05:20] local.INFO: Packet analysis {"connection_id":130492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:05:20] local.INFO: Extracted packet for processing {"connection_id":130492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fa7"} 
[2026-07-11 11:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639357952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783747793000,"timestamp_ms":1783747793000,"timestamp_seconds":1783747793,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fa75068"} 
[2026-07-11 11:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639357952001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639357952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:05:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639357952001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":130492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:05:20] local.INFO: GPS data processed {"connection_id":130492,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:05:20] local.INFO: Acknowledgment sent {"connection_id":130492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:05:41] local.INFO: TCP Data received {"connection_id":129258,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe448012d18c900072138f00040009728..."} 
[2026-07-11 11:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe448012d18c900072138f00040009728..."} 
[2026-07-11 11:05:41] local.INFO: Processing buffer {"connection_id":129258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe448012d18c900072138f00040009728..."} 
[2026-07-11 11:05:41] local.INFO: Packet analysis {"connection_id":129258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:05:41] local.INFO: Extracted packet for processing {"connection_id":129258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119617776,"longitude_deg":75.659904,"latitude_deg":11.9617776,"altitude":64,"angle":151,"satellites":40,"speed":34,"hex_longitude":"2d18c900","hex_latitude":"072138f0","is_valid_coordinates":true} 
[2026-07-11 11:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639511296001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5586244918575104,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665726464,"note":"Value kept but may cause issues"} 
[2026-07-11 11:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748093000,"timestamp_ms":1783748093000,"timestamp_seconds":1783748093,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe448"} 
[2026-07-11 11:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 11:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639511296001,"66":14352,"103":206,"83":41984,"24":34,"16":5586244918575104,"45":1785184701665726464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639511296001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:05:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5586244918575104,"km_value":5586244918575.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665726464,"description":"Unknown IO ID 45"} 
[2026-07-11 11:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639511296001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1785184701665726464}} 
[2026-07-11 11:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":129258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:05:41] local.INFO: GPS data processed {"connection_id":129258,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:05:41] local.INFO: Acknowledgment sent {"connection_id":129258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:06:00] local.INFO: TCP Data received {"connection_id":128356,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:06:00] local.INFO: Processing buffer {"connection_id":128356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:06:00] local.INFO: IMEI packet received {"connection_id":128356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":128356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:06:04] local.INFO: TCP Data received {"connection_id":128356,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:06:04] local.INFO: Processing buffer {"connection_id":128356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:06:04] local.INFO: IMEI packet received {"connection_id":128356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":128356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:06:04] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:06:05] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:06:05] local.INFO: IMEI packet received {"connection_id":130493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":130493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:06:05] local.INFO: TCP Data received {"connection_id":128356,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:06:05] local.INFO: Processing buffer {"connection_id":128356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:06:05] local.INFO: IMEI packet received {"connection_id":128356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":128356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:06:05] local.INFO: TCP Data received {"connection_id":128356,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabfbb8012d18d2c007212750003f00a529..."} 
[2026-07-11 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabfbb8012d18d2c007212750003f00a529..."} 
[2026-07-11 11:06:05] local.INFO: Processing buffer {"connection_id":128356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabfbb8012d18d2c007212750003f00a529..."} 
[2026-07-11 11:06:05] local.INFO: Packet analysis {"connection_id":128356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:06:05] local.INFO: Extracted packet for processing {"connection_id":128356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119613264,"longitude_deg":75.6601536,"latitude_deg":11.9613264,"altitude":63,"angle":165,"satellites":41,"speed":34,"hex_longitude":"2d18d2c0","hex_latitude":"07212750","is_valid_coordinates":true} 
[2026-07-11 11:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639511808001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5586494026678272,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757851262976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06: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-07-11 11:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783748099000,"timestamp_ms":1783748099000,"timestamp_seconds":1783748099,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabfbb8"} 
[2026-07-11 11:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733138944,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8286631154863833161,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":61441,"corrected_to":0} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503684848222208,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2880024577,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184842858,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4467834717441687808,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3221692785,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3622961152,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84750926426349954,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:05] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,216,159,220,45,64,63,65,41,10,66,208,128,73,200,1,240,60,227,79,33,4,113,205,35,174,32,42,239,56,106,2,19,7,72,37,206,48],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":200,"original":61441,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-11 11:06:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611852216484102144,"timestamp_seconds":4611852216484102.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 11:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639511808001,"66":14374,"103":206,"83":41984,"24":34,"16":5586494026678272,"45":1785958757851262976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639511808001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:06:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5586494026678272,"km_value":5586494026678.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757851262976,"description":"Unknown IO ID 45"} 
[2026-07-11 11:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639511808001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1785958757851262976}} 
[2026-07-11 11:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":128356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:06:06] local.INFO: GPS data processed {"connection_id":128356,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:06:06] local.INFO: Acknowledgment sent {"connection_id":128356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:06:10] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:06:10] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:06:10] local.INFO: IMEI packet received {"connection_id":130493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":130493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:06:10] local.INFO: TCP Data received {"connection_id":128356,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fac0388012d18d38007212088003d00b529..."} 
[2026-07-11 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fac0388012d18d38007212088003d00b529..."} 
[2026-07-11 11:06:10] local.INFO: Processing buffer {"connection_id":128356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fac0388012d18d38007212088003d00b529..."} 
[2026-07-11 11:06:10] local.INFO: Packet analysis {"connection_id":128356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fac"} 
[2026-07-11 11:06:10] local.INFO: Extracted packet for processing {"connection_id":128356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fac"} 
[2026-07-11 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119611528,"longitude_deg":75.6601728,"latitude_deg":11.9611528,"altitude":61,"angle":181,"satellites":41,"speed":35,"hex_longitude":"2d18d380","hex_latitude":"07212088","is_valid_coordinates":true} 
[2026-07-11 11:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639513344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5586579926024192,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138873036800,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748101000,"timestamp_ms":1783748101000,"timestamp_seconds":1783748101,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fac0388"} 
[2026-07-11 11:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 11:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639513344001,"66":14276,"103":206,"83":41984,"24":35,"16":5586579926024192,"45":1788703138873036800},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639513344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:06:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5586579926024192,"km_value":5586579926024.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138873036800,"description":"Unknown IO ID 45"} 
[2026-07-11 11:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639513344001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788703138873036800}} 
[2026-07-11 11:06:10] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:06:10] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:06:10] local.INFO: Packet analysis {"connection_id":130493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:06:10] local.INFO: Extracted packet for processing {"connection_id":130493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639435008001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748094000,"timestamp_ms":1783748094000,"timestamp_seconds":1783748094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe830"} 
[2026-07-11 11:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:06: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-07-11 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639435008001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639435008001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:06:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639435008001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":130493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:06:10] local.INFO: GPS data processed {"connection_id":130493,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:06:10] local.INFO: Acknowledgment sent {"connection_id":130493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":128356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:06:10] local.INFO: GPS data processed {"connection_id":128356,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:06:10] local.INFO: Acknowledgment sent {"connection_id":128356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:06:41] local.INFO: TCP Data received {"connection_id":128356,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4facc2f0012d1954000720ab68002d006028..."} 
[2026-07-11 11:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4facc2f0012d1954000720ab68002d006028..."} 
[2026-07-11 11:06:41] local.INFO: Processing buffer {"connection_id":128356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4facc2f0012d1954000720ab68002d006028..."} 
[2026-07-11 11:06:41] local.INFO: Packet analysis {"connection_id":128356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fac"} 
[2026-07-11 11:06:41] local.INFO: Extracted packet for processing {"connection_id":128356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fac"} 
[2026-07-11 11:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119581544,"longitude_deg":75.6634624,"latitude_deg":11.9581544,"altitude":45,"angle":96,"satellites":40,"speed":31,"hex_longitude":"2d195400","hex_latitude":"0720ab68","is_valid_coordinates":true} 
[2026-07-11 11:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639525632001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5588877733527552,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822550504814505984,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748150000,"timestamp_ms":1783748150000,"timestamp_seconds":1783748150,"priority":1,"record_length":96,"hex_timestamp":"0000019f4facc2f0"} 
[2026-07-11 11:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 11:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:06:41] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639525632001,"66":14341,"103":206,"83":41984,"24":31,"16":5588877733527552,"45":1822550504814505984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639525632001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:06:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5588877733527552,"km_value":5588877733527.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822550504814505984,"description":"Unknown IO ID 45"} 
[2026-07-11 11:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639525632001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1822550504814505984}} 
[2026-07-11 11:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:06:41] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:06:41] local.INFO: Packet analysis {"connection_id":130493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:06:41] local.INFO: Extracted packet for processing {"connection_id":130493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639435008001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748094000,"timestamp_ms":1783748094000,"timestamp_seconds":1783748094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe830"} 
[2026-07-11 11:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639435008001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639435008001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:06:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639435008001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":130493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:06:41] local.INFO: GPS data processed {"connection_id":130493,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:06:41] local.INFO: Acknowledgment sent {"connection_id":130493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":128356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:06:41] local.INFO: GPS data processed {"connection_id":128356,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:06:41] local.INFO: Acknowledgment sent {"connection_id":128356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:07:00] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:00] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:00] local.INFO: IMEI packet received {"connection_id":130494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":130494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:07:00] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:00] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:00] local.INFO: IMEI packet received {"connection_id":130494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":130494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:07:01] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:01] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:01] local.INFO: IMEI packet received {"connection_id":130494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":130494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:07:02] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:02] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:07:02] local.INFO: IMEI packet received {"connection_id":130494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":130494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:07:05] local.INFO: TCP Data received {"connection_id":128357,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:07:05] local.INFO: Processing buffer {"connection_id":128357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:07:05] local.INFO: IMEI packet received {"connection_id":128357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":128357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:07:09] local.INFO: TCP Data received {"connection_id":128357,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:07:09] local.INFO: Processing buffer {"connection_id":128357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:07:09] local.INFO: IMEI packet received {"connection_id":128357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":128357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:07:10] local.INFO: TCP Data received {"connection_id":128357,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:07:10] local.INFO: Processing buffer {"connection_id":128357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:07:10] local.INFO: Packet analysis {"connection_id":128357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:07:10] local.INFO: Extracted packet for processing {"connection_id":128357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639435008001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748094000,"timestamp_ms":1783748094000,"timestamp_seconds":1783748094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe830"} 
[2026-07-11 11:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:07: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-07-11 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639435008001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639435008001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:07:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639435008001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":128357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:07:10] local.INFO: GPS data processed {"connection_id":128357,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:07:10] local.INFO: Acknowledgment sent {"connection_id":128357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:07:26] local.INFO: TCP Data received {"connection_id":129259,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:07:26] local.INFO: Processing buffer {"connection_id":129259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:07:26] local.INFO: IMEI packet received {"connection_id":129259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":129259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:07:41] local.INFO: TCP Data received {"connection_id":128357,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:07:41] local.INFO: Processing buffer {"connection_id":128357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:07:41] local.INFO: Packet analysis {"connection_id":128357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:07:41] local.INFO: Extracted packet for processing {"connection_id":128357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639435008001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748094000,"timestamp_ms":1783748094000,"timestamp_seconds":1783748094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe830"} 
[2026-07-11 11:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639435008001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639435008001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:07:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639435008001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":128357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:07:41] local.INFO: GPS data processed {"connection_id":128357,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:07:41] local.INFO: Acknowledgment sent {"connection_id":128357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:07:44] local.INFO: TCP Data received {"connection_id":128358,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:07:44] local.INFO: Processing buffer {"connection_id":128358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:07:44] local.INFO: IMEI packet received {"connection_id":128358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":128358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:08:06] local.INFO: TCP Data received {"connection_id":128538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:08:06] local.INFO: Processing buffer {"connection_id":128538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:08:06] local.INFO: IMEI packet received {"connection_id":128538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":128538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:08:10] local.INFO: TCP Data received {"connection_id":128538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:08:10] local.INFO: Processing buffer {"connection_id":128538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:08:10] local.INFO: IMEI packet received {"connection_id":128538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":128538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:08:10] local.INFO: TCP Data received {"connection_id":128538,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:08:10] local.INFO: Processing buffer {"connection_id":128538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:08:10] local.INFO: Packet analysis {"connection_id":128538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:08:10] local.INFO: Extracted packet for processing {"connection_id":128538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639435008001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748094000,"timestamp_ms":1783748094000,"timestamp_seconds":1783748094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe830"} 
[2026-07-11 11:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639435008001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639435008001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:08:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639435008001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":128538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:08:10] local.INFO: GPS data processed {"connection_id":128538,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:08:10] local.INFO: Acknowledgment sent {"connection_id":128538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:08:41] local.INFO: TCP Data received {"connection_id":128538,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:08:41] local.INFO: Processing buffer {"connection_id":128538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:08:41] local.INFO: Packet analysis {"connection_id":128538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:08:41] local.INFO: Extracted packet for processing {"connection_id":128538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639435008001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748094000,"timestamp_ms":1783748094000,"timestamp_seconds":1783748094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe830"} 
[2026-07-11 11:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639435008001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639435008001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:08:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639435008001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":128538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:08:41] local.INFO: GPS data processed {"connection_id":128538,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:08:41] local.INFO: Acknowledgment sent {"connection_id":128538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:09:04] local.INFO: TCP Data received {"connection_id":129260,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:09:04] local.INFO: Processing buffer {"connection_id":129260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:09:04] local.INFO: IMEI packet received {"connection_id":129260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":129260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:09:09] local.INFO: TCP Data received {"connection_id":129260,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:09:09] local.INFO: Processing buffer {"connection_id":129260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:09:09] local.INFO: IMEI packet received {"connection_id":129260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":129260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:09:10] local.INFO: TCP Data received {"connection_id":129260,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:09:10] local.INFO: Processing buffer {"connection_id":129260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:09:10] local.INFO: Packet analysis {"connection_id":129260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:09:10] local.INFO: Extracted packet for processing {"connection_id":129260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639435008001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748094000,"timestamp_ms":1783748094000,"timestamp_seconds":1783748094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe830"} 
[2026-07-11 11:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:09: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-07-11 11:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639435008001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639435008001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:09:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639435008001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":129260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:09:10] local.INFO: GPS data processed {"connection_id":129260,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:09:10] local.INFO: Acknowledgment sent {"connection_id":129260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:09:41] local.INFO: TCP Data received {"connection_id":129260,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:09:41] local.INFO: Processing buffer {"connection_id":129260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:09:41] local.INFO: Packet analysis {"connection_id":129260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:09:41] local.INFO: Extracted packet for processing {"connection_id":129260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639435008001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748094000,"timestamp_ms":1783748094000,"timestamp_seconds":1783748094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe830"} 
[2026-07-11 11:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639435008001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639435008001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:09:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639435008001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":129260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:09:41] local.INFO: GPS data processed {"connection_id":129260,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:09:41] local.INFO: Acknowledgment sent {"connection_id":129260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:10:04] local.INFO: TCP Data received {"connection_id":128363,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:10:04] local.INFO: Processing buffer {"connection_id":128363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:10:04] local.INFO: IMEI packet received {"connection_id":128363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":128363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:10:09] local.INFO: TCP Data received {"connection_id":128363,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:10:09] local.INFO: Processing buffer {"connection_id":128363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:10:09] local.INFO: IMEI packet received {"connection_id":128363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":128363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:10:10] local.INFO: TCP Data received {"connection_id":128363,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:10:10] local.INFO: Processing buffer {"connection_id":128363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fabe830012cb29c0007823c60004700b329..."} 
[2026-07-11 11:10:10] local.INFO: Packet analysis {"connection_id":128363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:10:10] local.INFO: Extracted packet for processing {"connection_id":128363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fab"} 
[2026-07-11 11:10:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639435008001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748094000,"timestamp_ms":1783748094000,"timestamp_seconds":1783748094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fabe830"} 
[2026-07-11 11:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:10: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-07-11 11:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639435008001,"66":25908,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639435008001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:10:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639435008001,"power":25908,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":128363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:10:10] local.INFO: GPS data processed {"connection_id":128363,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:10:10] local.INFO: Acknowledgment sent {"connection_id":128363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:10:41] local.INFO: TCP Data received {"connection_id":128363,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:10:41] local.INFO: Processing buffer {"connection_id":128363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:10:41] local.INFO: Packet analysis {"connection_id":128363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:10:41] local.INFO: Extracted packet for processing {"connection_id":128363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:10:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":128363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:10:42] local.INFO: GPS data processed {"connection_id":128363,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:10:42] local.INFO: Acknowledgment sent {"connection_id":128363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:11:04] local.INFO: TCP Data received {"connection_id":129262,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:11:04] local.INFO: Processing buffer {"connection_id":129262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:11:04] local.INFO: IMEI packet received {"connection_id":129262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":129262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:11:09] local.INFO: TCP Data received {"connection_id":129262,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:11:09] local.INFO: Processing buffer {"connection_id":129262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:11:09] local.INFO: IMEI packet received {"connection_id":129262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":129262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:11:10] local.INFO: TCP Data received {"connection_id":129262,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:11:10] local.INFO: Processing buffer {"connection_id":129262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:11:10] local.INFO: Packet analysis {"connection_id":129262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:11:10] local.INFO: Extracted packet for processing {"connection_id":129262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:11: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-07-11 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:11:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":129262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:11:10] local.INFO: GPS data processed {"connection_id":129262,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:11:10] local.INFO: Acknowledgment sent {"connection_id":129262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:11:41] local.INFO: TCP Data received {"connection_id":129262,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:11:41] local.INFO: Processing buffer {"connection_id":129262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:11:41] local.INFO: Packet analysis {"connection_id":129262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:11:41] local.INFO: Extracted packet for processing {"connection_id":129262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:11:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":129262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:11:41] local.INFO: GPS data processed {"connection_id":129262,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:11:41] local.INFO: Acknowledgment sent {"connection_id":129262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:12:04] local.INFO: TCP Data received {"connection_id":128364,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:12:04] local.INFO: Processing buffer {"connection_id":128364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:12:04] local.INFO: IMEI packet received {"connection_id":128364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":128364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:12:05] local.INFO: TCP Data received {"connection_id":128542,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:12:05] local.INFO: Processing buffer {"connection_id":128542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:12:05] local.INFO: IMEI packet received {"connection_id":128542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":128542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:12:06] local.INFO: TCP Data received {"connection_id":128542,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb179f8012d1a2d40071f5288003b001a27..."} 
[2026-07-11 11:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb179f8012d1a2d40071f5288003b001a27..."} 
[2026-07-11 11:12:06] local.INFO: Processing buffer {"connection_id":128542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb179f8012d1a2d40071f5288003b001a27..."} 
[2026-07-11 11:12:06] local.INFO: Packet analysis {"connection_id":128542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb1"} 
[2026-07-11 11:12:06] local.INFO: Extracted packet for processing {"connection_id":128542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb1"} 
[2026-07-11 11:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756690240,"raw_latitude":119493256,"longitude_deg":75.669024,"latitude_deg":11.9493256,"altitude":59,"angle":26,"satellites":39,"speed":5,"hex_longitude":"2d1a2d40","hex_latitude":"071f5288","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639604736001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5598721798569984,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886023112039925760,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783748459000,"timestamp_ms":1783748459000,"timestamp_seconds":1783748459,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb179f8"} 
[2026-07-11 11:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-11 11:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639604736001,"66":13993,"101":206,"83":41984,"24":5,"16":5598721798569984,"45":1886023112039925760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639604736001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:12:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5598721798569984,"km_value":5598721798569.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886023112039925760,"description":"Unknown IO ID 45"} 
[2026-07-11 11:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639604736001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1886023112039925760}} 
[2026-07-11 11:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":128542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:12:06] local.INFO: GPS data processed {"connection_id":128542,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:12:06] local.INFO: Acknowledgment sent {"connection_id":128542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:12:09] local.INFO: TCP Data received {"connection_id":128364,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:12:09] local.INFO: Processing buffer {"connection_id":128364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:12:09] local.INFO: IMEI packet received {"connection_id":128364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":128364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:12:10] local.INFO: TCP Data received {"connection_id":128364,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:12:10] local.INFO: Processing buffer {"connection_id":128364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:12:10] local.INFO: Packet analysis {"connection_id":128364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:12:10] local.INFO: Extracted packet for processing {"connection_id":128364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:12: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-07-11 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":128364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:12:10] local.INFO: GPS data processed {"connection_id":128364,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:12:10] local.INFO: Acknowledgment sent {"connection_id":128364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:12:38] local.INFO: TCP Data received {"connection_id":128542,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb185b0012d1a2e00071f53c8003b002728..."} 
[2026-07-11 11:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb185b0012d1a2e00071f53c8003b002728..."} 
[2026-07-11 11:12:38] local.INFO: Processing buffer {"connection_id":128542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb185b0012d1a2e00071f53c8003b002728..."} 
[2026-07-11 11:12:38] local.INFO: Packet analysis {"connection_id":128542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb1"} 
[2026-07-11 11:12:38] local.INFO: Extracted packet for processing {"connection_id":128542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb1"} 
[2026-07-11 11:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756690432,"raw_latitude":119493576,"longitude_deg":75.6690432,"latitude_deg":11.9493576,"altitude":59,"angle":39,"satellites":40,"speed":5,"hex_longitude":"2d1a2e00","hex_latitude":"071f53c8","is_valid_coordinates":true} 
[2026-07-11 11:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639605504001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5598738978439168,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886234218272557056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783748462000,"timestamp_ms":1783748462000,"timestamp_seconds":1783748462,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb185b0"} 
[2026-07-11 11:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:12: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-07-11 11:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 11:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639605504001,"66":13656,"101":206,"83":41984,"24":5,"16":5598738978439168,"45":1886234218272557056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639605504001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:12:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5598738978439168,"km_value":5598738978439.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886234218272557056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639605504001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1886234218272557056}} 
[2026-07-11 11:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":128542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:12:38] local.INFO: GPS data processed {"connection_id":128542,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:12:38] local.INFO: Acknowledgment sent {"connection_id":128542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:12:42] local.INFO: TCP Data received {"connection_id":128364,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:12:42] local.INFO: Processing buffer {"connection_id":128364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:12:42] local.INFO: Packet analysis {"connection_id":128364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:12:42] local.INFO: Extracted packet for processing {"connection_id":128364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:12:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:12:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":128364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:12:42] local.INFO: GPS data processed {"connection_id":128364,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:12:42] local.INFO: Acknowledgment sent {"connection_id":128364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:13:00] local.INFO: TCP Data received {"connection_id":129263,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:13:00] local.INFO: Processing buffer {"connection_id":129263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:13:00] local.INFO: IMEI packet received {"connection_id":129263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":129263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:13:05] local.INFO: TCP Data received {"connection_id":129263,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:13:05] local.INFO: Processing buffer {"connection_id":129263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:13:05] local.INFO: IMEI packet received {"connection_id":129263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":129263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:13:06] local.INFO: TCP Data received {"connection_id":128365,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:13:06] local.INFO: Processing buffer {"connection_id":128365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:13:06] local.INFO: IMEI packet received {"connection_id":128365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":128365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:13:06] local.INFO: TCP Data received {"connection_id":128543,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:13:06] local.INFO: Processing buffer {"connection_id":128543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:13:06] local.INFO: IMEI packet received {"connection_id":128543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":128543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:13:06] local.INFO: TCP Data received {"connection_id":129263,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb18d80012d1a2e40071f54a0003c001829..."} 
[2026-07-11 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb18d80012d1a2e40071f54a0003c001829..."} 
[2026-07-11 11:13:06] local.INFO: Processing buffer {"connection_id":129263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb18d80012d1a2e40071f54a0003c001829..."} 
[2026-07-11 11:13:06] local.INFO: Packet analysis {"connection_id":129263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb1"} 
[2026-07-11 11:13:06] local.INFO: Extracted packet for processing {"connection_id":129263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb1"} 
[2026-07-11 11:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756690496,"raw_latitude":119493792,"longitude_deg":75.6690496,"latitude_deg":11.9493792,"altitude":60,"angle":24,"satellites":41,"speed":5,"hex_longitude":"2d1a2e40","hex_latitude":"071f54a0","is_valid_coordinates":true} 
[2026-07-11 11:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639606272001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5598751863341056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886445324505171968,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783748464000,"timestamp_ms":1783748464000,"timestamp_seconds":1783748464,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb18d80"} 
[2026-07-11 11:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-11 11:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639606272001,"66":13156,"101":206,"83":41984,"24":5,"16":5598751863341056,"45":1886445324505171968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639606272001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:13:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5598751863341056,"km_value":5598751863341.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886445324505171968,"description":"Unknown IO ID 45"} 
[2026-07-11 11:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639606272001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1886445324505171968}} 
[2026-07-11 11:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":129263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:13:06] local.INFO: GPS data processed {"connection_id":129263,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:13:06] local.INFO: Acknowledgment sent {"connection_id":129263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:13:09] local.INFO: TCP Data received {"connection_id":128365,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:13:09] local.INFO: Processing buffer {"connection_id":128365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:13:09] local.INFO: IMEI packet received {"connection_id":128365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":128365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:13:10] local.INFO: TCP Data received {"connection_id":128365,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:13:10] local.INFO: Processing buffer {"connection_id":128365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:13:10] local.INFO: Packet analysis {"connection_id":128365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:13:10] local.INFO: Extracted packet for processing {"connection_id":128365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:13: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-07-11 11:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:13:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":128365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:13:10] local.INFO: GPS data processed {"connection_id":128365,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:13:10] local.INFO: Acknowledgment sent {"connection_id":128365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:13:37] local.INFO: TCP Data received {"connection_id":129263,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb1cfe8012d1a31c0071f5eb8003f000c2a..."} 
[2026-07-11 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb1cfe8012d1a31c0071f5eb8003f000c2a..."} 
[2026-07-11 11:13:37] local.INFO: Processing buffer {"connection_id":129263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb1cfe8012d1a31c0071f5eb8003f000c2a..."} 
[2026-07-11 11:13:37] local.INFO: Packet analysis {"connection_id":129263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb1"} 
[2026-07-11 11:13:37] local.INFO: Extracted packet for processing {"connection_id":129263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb1"} 
[2026-07-11 11:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756691392,"raw_latitude":119496376,"longitude_deg":75.6691392,"latitude_deg":11.9496376,"altitude":63,"angle":12,"satellites":42,"speed":7,"hex_longitude":"2d1a31c0","hex_latitude":"071f5eb8","is_valid_coordinates":true} 
[2026-07-11 11:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639606784001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5598889302294528,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886515693249404928,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783748481000,"timestamp_ms":1783748481000,"timestamp_seconds":1783748481,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb1cfe8"} 
[2026-07-11 11:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-11 11:13:37] 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-07-11 11:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639606784001,"66":12461,"101":206,"83":41984,"24":7,"16":5598889302294528,"45":1886515693249404928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639606784001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:13:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5598889302294528,"km_value":5598889302294.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886515693249404928,"description":"Unknown IO ID 45"} 
[2026-07-11 11:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639606784001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1886515693249404928}} 
[2026-07-11 11:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":129263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:13:37] local.INFO: GPS data processed {"connection_id":129263,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:13:37] local.INFO: Acknowledgment sent {"connection_id":129263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:13:42] local.INFO: TCP Data received {"connection_id":128365,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:13:42] local.INFO: Processing buffer {"connection_id":128365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:13:42] local.INFO: Packet analysis {"connection_id":128365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:13:42] local.INFO: Extracted packet for processing {"connection_id":128365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":128365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:13:42] local.INFO: GPS data processed {"connection_id":128365,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:13:42] local.INFO: Acknowledgment sent {"connection_id":128365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:13:45] local.INFO: TCP Data received {"connection_id":128544,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:13:45] local.INFO: Processing buffer {"connection_id":128544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:13:45] local.INFO: IMEI packet received {"connection_id":128544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":128544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:14:00] local.INFO: TCP Data received {"connection_id":129264,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:14:00] local.INFO: Processing buffer {"connection_id":129264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:14:00] local.INFO: IMEI packet received {"connection_id":129264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":129264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:14:04] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:14:04] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:14:04] local.INFO: IMEI packet received {"connection_id":130495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":130495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:14:05] local.INFO: TCP Data received {"connection_id":129264,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:14:05] local.INFO: Processing buffer {"connection_id":129264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:14:05] local.INFO: IMEI packet received {"connection_id":129264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":129264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:14:06] local.INFO: TCP Data received {"connection_id":129264,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb202b0012d1a3380071f66d80040016227..."} 
[2026-07-11 11:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb202b0012d1a3380071f66d80040016227..."} 
[2026-07-11 11:14:06] local.INFO: Processing buffer {"connection_id":129264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb202b0012d1a3380071f66d80040016227..."} 
[2026-07-11 11:14:06] local.INFO: Packet analysis {"connection_id":129264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb2"} 
[2026-07-11 11:14:06] local.INFO: Extracted packet for processing {"connection_id":129264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb2"} 
[2026-07-11 11:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756691840,"raw_latitude":119498456,"longitude_deg":75.669184,"latitude_deg":11.9498456,"altitude":64,"angle":354,"satellites":39,"speed":7,"hex_longitude":"2d1a3380","hex_latitude":"071f66d8","is_valid_coordinates":true} 
[2026-07-11 11:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639611136001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5598996676476928,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887500855668553728,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783748494000,"timestamp_ms":1783748494000,"timestamp_seconds":1783748494,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb202b0"} 
[2026-07-11 11:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 11:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639611136001,"66":13156,"101":206,"83":41984,"24":7,"16":5598996676476928,"45":1887500855668553728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639611136001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:14:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5598996676476928,"km_value":5598996676476.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887500855668553728,"description":"Unknown IO ID 45"} 
[2026-07-11 11:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639611136001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1887500855668553728}} 
[2026-07-11 11:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":129264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:14:06] local.INFO: GPS data processed {"connection_id":129264,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:14:06] local.INFO: Acknowledgment sent {"connection_id":129264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:14:10] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:14:10] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:14:10] local.INFO: IMEI packet received {"connection_id":130495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":130495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:14:10] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:14:10] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:14:10] local.INFO: Packet analysis {"connection_id":130495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:14:10] local.INFO: Extracted packet for processing {"connection_id":130495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:14: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-07-11 11:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:14:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":130495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:14:10] local.INFO: GPS data processed {"connection_id":130495,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:14:10] local.INFO: Acknowledgment sent {"connection_id":130495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:14:37] local.INFO: TCP Data received {"connection_id":129264,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb20a80012d1a33c0071f68480041000527..."} 
[2026-07-11 11:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb20a80012d1a33c0071f68480041000527..."} 
[2026-07-11 11:14:37] local.INFO: Processing buffer {"connection_id":129264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb20a80012d1a33c0071f68480041000527..."} 
[2026-07-11 11:14:37] local.INFO: Packet analysis {"connection_id":129264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb2"} 
[2026-07-11 11:14:37] local.INFO: Extracted packet for processing {"connection_id":129264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb2"} 
[2026-07-11 11:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756691904,"raw_latitude":119498824,"longitude_deg":75.6691904,"latitude_deg":11.9498824,"altitude":65,"angle":5,"satellites":39,"speed":7,"hex_longitude":"2d1a33c0","hex_latitude":"071f6848","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639614464001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5599013856346112,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887993436878329856,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783748496000,"timestamp_ms":1783748496000,"timestamp_seconds":1783748496,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb20a80"} 
[2026-07-11 11:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-11 11:14:37] 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-07-11 11: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-07-11 11:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639614464001,"66":13135,"101":206,"83":41984,"24":7,"16":5599013856346112,"45":1887993436878329856},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639614464001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:14:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5599013856346112,"km_value":5599013856346.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887993436878329856,"description":"Unknown IO ID 45"} 
[2026-07-11 11:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639614464001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1887993436878329856}} 
[2026-07-11 11:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":129264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:14:37] local.INFO: GPS data processed {"connection_id":129264,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:14:37] local.INFO: Acknowledgment sent {"connection_id":129264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:14:42] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:14:42] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:14:42] local.INFO: Packet analysis {"connection_id":130495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:14:42] local.INFO: Extracted packet for processing {"connection_id":130495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:14:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:14:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":130495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:14:42] local.INFO: GPS data processed {"connection_id":130495,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:14:42] local.INFO: Acknowledgment sent {"connection_id":130495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:15:04] local.INFO: TCP Data received {"connection_id":129265,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:15:04] local.INFO: Processing buffer {"connection_id":129265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:15:04] local.INFO: IMEI packet received {"connection_id":129265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:15:05] local.INFO: TCP Data received {"connection_id":128546,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:05] local.INFO: Processing buffer {"connection_id":128546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:05] local.INFO: IMEI packet received {"connection_id":128546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":128546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:15:06] local.INFO: TCP Data received {"connection_id":128546,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:06] local.INFO: Processing buffer {"connection_id":128546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:06] local.INFO: IMEI packet received {"connection_id":128546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":128546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:15:07] local.INFO: TCP Data received {"connection_id":128546,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb44ca0012d1a3400071f66e0003d00a525..."} 
[2026-07-11 11:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb44ca0012d1a3400071f66e0003d00a525..."} 
[2026-07-11 11:15:07] local.INFO: Processing buffer {"connection_id":128546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb44ca0012d1a3400071f66e0003d00a525..."} 
[2026-07-11 11:15:07] local.INFO: Packet analysis {"connection_id":128546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb4"} 
[2026-07-11 11:15:07] local.INFO: Extracted packet for processing {"connection_id":128546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb4"} 
[2026-07-11 11:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756691968,"raw_latitude":119498464,"longitude_deg":75.6691968,"latitude_deg":11.9498464,"altitude":61,"angle":165,"satellites":37,"speed":4,"hex_longitude":"2d1a3400","hex_latitude":"071f66e0","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639652352001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5599134115430400,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888063805622577152,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783748644000,"timestamp_ms":1783748644000,"timestamp_seconds":1783748644,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb44ca0"} 
[2026-07-11 11:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 11:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639652352001,"66":14363,"101":206,"83":41984,"24":4,"16":5599134115430400,"45":1888063805622577152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639652352001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:15:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5599134115430400,"km_value":5599134115430.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888063805622577152,"description":"Unknown IO ID 45"} 
[2026-07-11 11:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639652352001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1888063805622577152}} 
[2026-07-11 11:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":128546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:15:07] local.INFO: GPS data processed {"connection_id":128546,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:15:07] local.INFO: Acknowledgment sent {"connection_id":128546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:15:09] local.INFO: TCP Data received {"connection_id":129265,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:15:09] local.INFO: Processing buffer {"connection_id":129265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:15:09] local.INFO: IMEI packet received {"connection_id":129265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":129265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:15:11] local.INFO: TCP Data received {"connection_id":128546,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb45088012d1a3400071f6660003d00b325..."} 
[2026-07-11 11:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb45088012d1a3400071f6660003d00b325..."} 
[2026-07-11 11:15:11] local.INFO: Processing buffer {"connection_id":128546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb45088012d1a3400071f6660003d00b325..."} 
[2026-07-11 11:15:11] local.INFO: Packet analysis {"connection_id":128546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb4"} 
[2026-07-11 11:15:11] local.INFO: Extracted packet for processing {"connection_id":128546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb4"} 
[2026-07-11 11:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756691968,"raw_latitude":119498336,"longitude_deg":75.6691968,"latitude_deg":11.9498336,"altitude":61,"angle":179,"satellites":37,"speed":5,"hex_longitude":"2d1a3400","hex_latitude":"071f6660","is_valid_coordinates":true} 
[2026-07-11 11:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639652864001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5599142705364992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888134174366687232,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783748645000,"timestamp_ms":1783748645000,"timestamp_seconds":1783748645,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb45088"} 
[2026-07-11 11:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 11:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639652864001,"66":14396,"101":206,"83":41984,"24":5,"16":5599142705364992,"45":1888134174366687232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639652864001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:15:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5599142705364992,"km_value":5599142705364.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888134174366687232,"description":"Unknown IO ID 45"} 
[2026-07-11 11:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639652864001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1888134174366687232}} 
[2026-07-11 11:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":128546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:15:11] local.INFO: GPS data processed {"connection_id":128546,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:15:11] local.INFO: Acknowledgment sent {"connection_id":128546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:15:15] local.INFO: TCP Data received {"connection_id":129265,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:15:15] local.INFO: Processing buffer {"connection_id":129265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb07ff8012cb29c0007823c60004400b32b..."} 
[2026-07-11 11:15:15] local.INFO: Packet analysis {"connection_id":129265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:15:15] local.INFO: Extracted packet for processing {"connection_id":129265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb0"} 
[2026-07-11 11:15:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639512064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783748395000,"timestamp_ms":1783748395000,"timestamp_seconds":1783748395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb07ff8"} 
[2026-07-11 11:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 11:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639512064001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639512064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:15:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:15:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639512064001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":129265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:15:15] local.INFO: GPS data processed {"connection_id":129265,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:15:15] local.INFO: Acknowledgment sent {"connection_id":129265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:15:41] local.INFO: TCP Data received {"connection_id":128546,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb50c08012d1a4540071f4de00039005e28..."} 
[2026-07-11 11:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb50c08012d1a4540071f4de00039005e28..."} 
[2026-07-11 11:15:41] local.INFO: Processing buffer {"connection_id":128546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb50c08012d1a4540071f4de00039005e28..."} 
[2026-07-11 11:15:41] local.INFO: Packet analysis {"connection_id":128546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:15:41] local.INFO: Extracted packet for processing {"connection_id":128546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756696384,"raw_latitude":119492064,"longitude_deg":75.6696384,"latitude_deg":11.9492064,"altitude":57,"angle":94,"satellites":40,"speed":17,"hex_longitude":"2d1a4540","hex_latitude":"071f4de0","is_valid_coordinates":true} 
[2026-07-11 11:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639664128001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5599765475622912,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890174867946180608,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748693000,"timestamp_ms":1783748693000,"timestamp_seconds":1783748693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb50c08"} 
[2026-07-11 11:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 11:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639664128001,"66":14374,"101":206,"83":41984,"24":17,"16":5599765475622912,"45":1890174867946180608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639664128001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:15:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5599765475622912,"km_value":5599765475622.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890174867946180608,"description":"Unknown IO ID 45"} 
[2026-07-11 11:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639664128001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1890174867946180608}} 
[2026-07-11 11:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":128546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:15:42] local.INFO: GPS data processed {"connection_id":128546,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:15:42] local.INFO: Acknowledgment sent {"connection_id":128546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:15:48] local.INFO: TCP Data received {"connection_id":129265,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:15:48] local.INFO: Processing buffer {"connection_id":129265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:15:48] local.INFO: Packet analysis {"connection_id":129265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:15:48] local.INFO: Extracted packet for processing {"connection_id":129265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:15:48] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":129265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":129265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":129265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:15:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:15:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:15:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":129265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:15:48] local.INFO: GPS data processed {"connection_id":129265,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:15:48] local.INFO: Acknowledgment sent {"connection_id":129265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:15:56] local.INFO: TCP Data received {"connection_id":129266,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:56] local.INFO: Processing buffer {"connection_id":129266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:56] local.INFO: IMEI packet received {"connection_id":129266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":129266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:15:59] local.INFO: TCP Data received {"connection_id":129266,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:59] local.INFO: Processing buffer {"connection_id":129266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:15:59] local.INFO: IMEI packet received {"connection_id":129266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":129266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:16:01] local.INFO: TCP Data received {"connection_id":129266,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:16:01] local.INFO: Processing buffer {"connection_id":129266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:16:01] local.INFO: IMEI packet received {"connection_id":129266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":129266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:16:05] local.INFO: TCP Data received {"connection_id":129266,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:16:05] local.INFO: Processing buffer {"connection_id":129266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:16:05] local.INFO: IMEI packet received {"connection_id":129266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":129266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:16:06] local.INFO: TCP Data received {"connection_id":129266,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb52378012d1a5000071f4b20003a006b27..."} 
[2026-07-11 11:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb52378012d1a5000071f4b20003a006b27..."} 
[2026-07-11 11:16:06] local.INFO: Processing buffer {"connection_id":129266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb52378012d1a5000071f4b20003a006b27..."} 
[2026-07-11 11:16:06] local.INFO: Packet analysis {"connection_id":129266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:06] local.INFO: Extracted packet for processing {"connection_id":129266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756699136,"raw_latitude":119491360,"longitude_deg":75.6699136,"latitude_deg":11.949136,"altitude":58,"angle":107,"satellites":39,"speed":19,"hex_longitude":"2d1a5000","hex_latitude":"071f4b20","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639665408001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5599902914576384,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892989617713307648,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783748699000,"timestamp_ms":1783748699000,"timestamp_seconds":1783748699,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb52378"} 
[2026-07-11 11:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 11:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639665408001,"66":14004,"101":206,"83":41984,"24":19,"16":5599902914576384,"45":1892989617713307648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639665408001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:16:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5599902914576384,"km_value":5599902914576.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892989617713307648,"description":"Unknown IO ID 45"} 
[2026-07-11 11:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639665408001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1892989617713307648}} 
[2026-07-11 11:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":129266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:16:06] local.INFO: GPS data processed {"connection_id":129266,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:16:06] local.INFO: Acknowledgment sent {"connection_id":129266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:16:07] local.INFO: TCP Data received {"connection_id":129266,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb53318012d1a5840071f4768003b007727..."} 
[2026-07-11 11:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb53318012d1a5840071f4768003b007727..."} 
[2026-07-11 11:16:07] local.INFO: Processing buffer {"connection_id":129266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb53318012d1a5840071f4768003b007727..."} 
[2026-07-11 11:16:07] local.INFO: Packet analysis {"connection_id":129266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:07] local.INFO: Extracted packet for processing {"connection_id":129266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756701248,"raw_latitude":119490408,"longitude_deg":75.6701248,"latitude_deg":11.9490408,"altitude":59,"angle":119,"satellites":39,"speed":24,"hex_longitude":"2d1a5840","hex_latitude":"071f4768","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666944001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5600014583726080,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896015473712766976,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783748703000,"timestamp_ms":1783748703000,"timestamp_seconds":1783748703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb53318"} 
[2026-07-11 11:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 11:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666944001,"66":12863,"101":206,"83":41984,"24":24,"16":5600014583726080,"45":1896015473712766976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666944001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:16:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5600014583726080,"km_value":5600014583726.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896015473712766976,"description":"Unknown IO ID 45"} 
[2026-07-11 11:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666944001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1896015473712766976}} 
[2026-07-11 11:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":129266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:16:07] local.INFO: GPS data processed {"connection_id":129266,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:16:07] local.INFO: Acknowledgment sent {"connection_id":129266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:16:09] local.INFO: TCP Data received {"connection_id":128367,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:16:09] local.INFO: Processing buffer {"connection_id":128367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:16:09] local.INFO: IMEI packet received {"connection_id":128367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":128367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:16:15] local.INFO: TCP Data received {"connection_id":128367,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:16:15] local.INFO: Processing buffer {"connection_id":128367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:16:15] local.INFO: IMEI packet received {"connection_id":128367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":128367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:16:16] local.INFO: TCP Data received {"connection_id":128367,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:16:16] local.INFO: Processing buffer {"connection_id":128367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:16:16] local.INFO: Packet analysis {"connection_id":128367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:16] local.INFO: Extracted packet for processing {"connection_id":128367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:16:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:16:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":128367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:16:16] local.INFO: GPS data processed {"connection_id":128367,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:16:16] local.INFO: Acknowledgment sent {"connection_id":128367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:16:38] local.INFO: TCP Data received {"connection_id":129266,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb54e70012d1a6680071f3f98003f009223..."} 
[2026-07-11 11:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb54e70012d1a6680071f3f98003f009223..."} 
[2026-07-11 11:16:38] local.INFO: Processing buffer {"connection_id":129266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb54e70012d1a6680071f3f98003f009223..."} 
[2026-07-11 11:16:38] local.INFO: Packet analysis {"connection_id":129266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:38] local.INFO: Extracted packet for processing {"connection_id":129266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756704896,"raw_latitude":119488408,"longitude_deg":75.6704896,"latitude_deg":11.9488408,"altitude":63,"angle":146,"satellites":35,"speed":18,"hex_longitude":"2d1a6680","hex_latitude":"071f3f98","is_valid_coordinates":true} 
[2026-07-11 11:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639667968001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5600207857254400,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898337642270386176,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783748710000,"timestamp_ms":1783748710000,"timestamp_seconds":1783748710,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb54e70"} 
[2026-07-11 11:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 11:16:38] 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-07-11 11:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639667968001,"66":13830,"101":206,"83":41984,"24":18,"16":5600207857254400,"45":1898337642270386176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639667968001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:16:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5600207857254400,"km_value":5600207857254.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898337642270386176,"description":"Unknown IO ID 45"} 
[2026-07-11 11:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639667968001,"power":13830,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1898337642270386176}} 
[2026-07-11 11:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":129266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:16:38] local.INFO: GPS data processed {"connection_id":129266,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:16:38] local.INFO: Acknowledgment sent {"connection_id":129266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:16:47] local.INFO: TCP Data received {"connection_id":128367,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:16:47] local.INFO: Processing buffer {"connection_id":128367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:16:47] local.INFO: Packet analysis {"connection_id":128367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:47] local.INFO: Extracted packet for processing {"connection_id":128367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:16:47] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:16:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:16:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:16:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":128367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:16:47] local.INFO: GPS data processed {"connection_id":128367,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:16:47] local.INFO: Acknowledgment sent {"connection_id":128367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:17:00] local.INFO: TCP Data received {"connection_id":128547,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:17:00] local.INFO: Processing buffer {"connection_id":128547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:17:00] local.INFO: IMEI packet received {"connection_id":128547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":128547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:17:04] local.INFO: TCP Data received {"connection_id":128548,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:17:04] local.INFO: Processing buffer {"connection_id":128548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:17:04] local.INFO: IMEI packet received {"connection_id":128548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":128548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:17:05] local.INFO: TCP Data received {"connection_id":128547,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:17:05] local.INFO: Processing buffer {"connection_id":128547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:17:05] local.INFO: IMEI packet received {"connection_id":128547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":128547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:17:05] local.INFO: TCP Data received {"connection_id":128547,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb60220012d1aa5c0071f35d00044005d29..."} 
[2026-07-11 11:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb60220012d1aa5c0071f35d00044005d29..."} 
[2026-07-11 11:17:05] local.INFO: Processing buffer {"connection_id":128547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb60220012d1aa5c0071f35d00044005d29..."} 
[2026-07-11 11:17:05] local.INFO: Packet analysis {"connection_id":128547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb6"} 
[2026-07-11 11:17:05] local.INFO: Extracted packet for processing {"connection_id":128547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb6"} 
[2026-07-11 11:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756721088,"raw_latitude":119485904,"longitude_deg":75.6721088,"latitude_deg":11.9485904,"altitude":68,"angle":93,"satellites":41,"speed":12,"hex_longitude":"2d1aa5c0","hex_latitude":"071f35d0","is_valid_coordinates":true} 
[2026-07-11 11:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639680768001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5601028196007936,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919096421801680896,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783748756000,"timestamp_ms":1783748756000,"timestamp_seconds":1783748756,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb60220"} 
[2026-07-11 11:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 11:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639680768001,"66":14363,"101":206,"83":41984,"24":12,"16":5601028196007936,"45":1919096421801680896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639680768001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:17:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5601028196007936,"km_value":5601028196007.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919096421801680896,"description":"Unknown IO ID 45"} 
[2026-07-11 11:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639680768001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1919096421801680896}} 
[2026-07-11 11:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":128547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:17:06] local.INFO: GPS data processed {"connection_id":128547,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:17:06] local.INFO: Acknowledgment sent {"connection_id":128547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:17:09] local.INFO: TCP Data received {"connection_id":128548,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:17:09] local.INFO: Processing buffer {"connection_id":128548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:17:09] local.INFO: IMEI packet received {"connection_id":128548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":128548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:17:10] local.INFO: TCP Data received {"connection_id":128548,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:17:10] local.INFO: Processing buffer {"connection_id":128548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:17:10] local.INFO: Packet analysis {"connection_id":128548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:17:10] local.INFO: Extracted packet for processing {"connection_id":128548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:17:10] 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-07-11 11:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:17:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":128548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:17:10] local.INFO: GPS data processed {"connection_id":128548,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:17:10] local.INFO: Acknowledgment sent {"connection_id":128548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:17:36] local.INFO: TCP Data received {"connection_id":128547,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb6e4b0012d1ac080071f9370003801352a..."} 
[2026-07-11 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb6e4b0012d1ac080071f9370003801352a..."} 
[2026-07-11 11:17:36] local.INFO: Processing buffer {"connection_id":128547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb6e4b0012d1ac080071f9370003801352a..."} 
[2026-07-11 11:17:36] local.INFO: Packet analysis {"connection_id":128547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb6"} 
[2026-07-11 11:17:36] local.INFO: Extracted packet for processing {"connection_id":128547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb6"} 
[2026-07-11 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756727936,"raw_latitude":119509872,"longitude_deg":75.6727936,"latitude_deg":11.9509872,"altitude":56,"angle":309,"satellites":42,"speed":25,"hex_longitude":"2d1ac080","hex_latitude":"071f9370","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639696128001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5602454125150208,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928244358550761472,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783748814000,"timestamp_ms":1783748814000,"timestamp_seconds":1783748814,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb6e4b0"} 
[2026-07-11 11:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 11:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639696128001,"66":14363,"101":206,"83":41984,"24":25,"16":5602454125150208,"45":1928244358550761472},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639696128001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:17:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5602454125150208,"km_value":5602454125150.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928244358550761472,"description":"Unknown IO ID 45"} 
[2026-07-11 11:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639696128001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1928244358550761472}} 
[2026-07-11 11:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":128547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:17:36] local.INFO: GPS data processed {"connection_id":128547,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:17:36] local.INFO: Acknowledgment sent {"connection_id":128547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:17:42] local.INFO: TCP Data received {"connection_id":128548,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:17:42] local.INFO: Processing buffer {"connection_id":128548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:17:42] local.INFO: Packet analysis {"connection_id":128548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:17:42] local.INFO: Extracted packet for processing {"connection_id":128548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":128548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:17:42] local.INFO: GPS data processed {"connection_id":128548,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:17:42] local.INFO: Acknowledgment sent {"connection_id":128548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:18:00] local.INFO: TCP Data received {"connection_id":128369,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:18:00] local.INFO: Processing buffer {"connection_id":128369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:18:00] local.INFO: IMEI packet received {"connection_id":128369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":128369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:18:04] local.INFO: TCP Data received {"connection_id":130498,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:18:04] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:18:04] local.INFO: IMEI packet received {"connection_id":130498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":130498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:18:05] local.INFO: TCP Data received {"connection_id":128369,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:18:05] local.INFO: Processing buffer {"connection_id":128369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:18:05] local.INFO: IMEI packet received {"connection_id":128369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":128369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:18:05] local.INFO: TCP Data received {"connection_id":128369,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb6e898012d1abd80071f94980038012629..."} 
[2026-07-11 11:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb6e898012d1abd80071f94980038012629..."} 
[2026-07-11 11:18:05] local.INFO: Processing buffer {"connection_id":128369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb6e898012d1abd80071f94980038012629..."} 
[2026-07-11 11:18:05] local.INFO: Packet analysis {"connection_id":128369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb6"} 
[2026-07-11 11:18:05] local.INFO: Extracted packet for processing {"connection_id":128369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb6"} 
[2026-07-11 11:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756727168,"raw_latitude":119510168,"longitude_deg":75.6727168,"latitude_deg":11.9510168,"altitude":56,"angle":294,"satellites":41,"speed":30,"hex_longitude":"2d1abd80","hex_latitude":"071f9498","is_valid_coordinates":true} 
[2026-07-11 11:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639696384001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5602492779855872,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927681408597454848,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783748815000,"timestamp_ms":1783748815000,"timestamp_seconds":1783748815,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb6e898"} 
[2026-07-11 11:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 11:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639696384001,"66":13993,"101":206,"83":41984,"24":30,"16":5602492779855872,"45":1927681408597454848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639696384001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:18:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5602492779855872,"km_value":5602492779855.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927681408597454848,"description":"Unknown IO ID 45"} 
[2026-07-11 11:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639696384001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1927681408597454848}} 
[2026-07-11 11:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":128369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:18:05] local.INFO: GPS data processed {"connection_id":128369,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:18:05] local.INFO: Acknowledgment sent {"connection_id":128369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:18:09] local.INFO: TCP Data received {"connection_id":130498,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:18:09] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:18:09] local.INFO: IMEI packet received {"connection_id":130498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":130498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:18:10] local.INFO: TCP Data received {"connection_id":130498,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:18:10] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:18:10] local.INFO: Packet analysis {"connection_id":130498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:18:10] local.INFO: Extracted packet for processing {"connection_id":130498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:18:10] 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-07-11 11:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":130498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:18:10] local.INFO: GPS data processed {"connection_id":130498,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:18:10] local.INFO: Acknowledgment sent {"connection_id":130498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:18:37] local.INFO: TCP Data received {"connection_id":128369,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb6f068012d1ab740071f9648003801182a..."} 
[2026-07-11 11:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb6f068012d1ab740071f9648003801182a..."} 
[2026-07-11 11:18:37] local.INFO: Processing buffer {"connection_id":128369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb6f068012d1ab740071f9648003801182a..."} 
[2026-07-11 11:18:37] local.INFO: Packet analysis {"connection_id":128369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb6"} 
[2026-07-11 11:18:37] local.INFO: Extracted packet for processing {"connection_id":128369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb6"} 
[2026-07-11 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756725568,"raw_latitude":119510600,"longitude_deg":75.6725568,"latitude_deg":11.95106,"altitude":56,"angle":280,"satellites":42,"speed":31,"hex_longitude":"2d1ab740","hex_latitude":"071f9648","is_valid_coordinates":true} 
[2026-07-11 11:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639696640001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5602570089267200,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926836983667398656,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783748817000,"timestamp_ms":1783748817000,"timestamp_seconds":1783748817,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb6f068"} 
[2026-07-11 11:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 11:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639696640001,"66":14298,"101":206,"83":41984,"24":31,"16":5602570089267200,"45":1926836983667398656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639696640001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:18:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5602570089267200,"km_value":5602570089267.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926836983667398656,"description":"Unknown IO ID 45"} 
[2026-07-11 11:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639696640001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1926836983667398656}} 
[2026-07-11 11:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":128369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:18:37] local.INFO: GPS data processed {"connection_id":128369,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:18:37] local.INFO: Acknowledgment sent {"connection_id":128369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:18:42] local.INFO: TCP Data received {"connection_id":130498,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:18:42] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:18:42] local.INFO: Packet analysis {"connection_id":130498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:18:42] local.INFO: Extracted packet for processing {"connection_id":130498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:18:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":130498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:18:42] local.INFO: GPS data processed {"connection_id":130498,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:18:42] local.INFO: Acknowledgment sent {"connection_id":130498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:18:58] local.INFO: TCP Data received {"connection_id":129268,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:18:58] local.INFO: Processing buffer {"connection_id":129268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:18:58] local.INFO: IMEI packet received {"connection_id":129268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":129268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:19:00] local.INFO: TCP Data received {"connection_id":129268,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:19:00] local.INFO: Processing buffer {"connection_id":129268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:19:00] local.INFO: IMEI packet received {"connection_id":129268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":129268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:19:01] local.INFO: TCP Data received {"connection_id":129267,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:19:01] local.INFO: Processing buffer {"connection_id":129267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:19:01] local.INFO: IMEI packet received {"connection_id":129267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":129267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:19:04] local.INFO: TCP Data received {"connection_id":130499,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:19:04] local.INFO: Processing buffer {"connection_id":130499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:19:04] local.INFO: IMEI packet received {"connection_id":130499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":130499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:19:04] local.INFO: TCP Data received {"connection_id":129268,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:19:04] local.INFO: Processing buffer {"connection_id":129268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:19:04] local.INFO: IMEI packet received {"connection_id":129268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":129268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:19:05] local.INFO: TCP Data received {"connection_id":129268,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb7d6e0012d1a24c0071fef10002e011e29..."} 
[2026-07-11 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb7d6e0012d1a24c0071fef10002e011e29..."} 
[2026-07-11 11:19:05] local.INFO: Processing buffer {"connection_id":129268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb7d6e0012d1a24c0071fef10002e011e29..."} 
[2026-07-11 11:19:05] local.INFO: Packet analysis {"connection_id":129268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb7"} 
[2026-07-11 11:19:05] local.INFO: Extracted packet for processing {"connection_id":129268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb7"} 
[2026-07-11 11:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756688064,"raw_latitude":119533328,"longitude_deg":75.6688064,"latitude_deg":11.9533328,"altitude":46,"angle":286,"satellites":41,"speed":40,"hex_longitude":"2d1a24c0","hex_latitude":"071fef10","is_valid_coordinates":true} 
[2026-07-11 11:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639709952001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5604773407490048,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894256255118442496,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783748876000,"timestamp_ms":1783748876000,"timestamp_seconds":1783748876,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb7d6e0"} 
[2026-07-11 11:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 11:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639709952001,"66":14428,"101":206,"83":41984,"24":40,"16":5604773407490048,"45":1894256255118442496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639709952001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:19:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5604773407490048,"km_value":5604773407490.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894256255118442496,"description":"Unknown IO ID 45"} 
[2026-07-11 11:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639709952001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1894256255118442496}} 
[2026-07-11 11:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":129268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:19:05] local.INFO: GPS data processed {"connection_id":129268,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:19:05] local.INFO: Acknowledgment sent {"connection_id":129268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:19:09] local.INFO: TCP Data received {"connection_id":130499,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:19:09] local.INFO: Processing buffer {"connection_id":130499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:19:09] local.INFO: IMEI packet received {"connection_id":130499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":130499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:19:10] local.INFO: TCP Data received {"connection_id":130499,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:19:10] local.INFO: Processing buffer {"connection_id":130499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:19:10] local.INFO: Packet analysis {"connection_id":130499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:19:10] local.INFO: Extracted packet for processing {"connection_id":130499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:19: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-07-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:19:10] 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-07-11 11:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:19:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":130499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:19:10] local.INFO: GPS data processed {"connection_id":130499,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:19:10] local.INFO: Acknowledgment sent {"connection_id":130499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:19:36] local.INFO: TCP Data received {"connection_id":129268,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb801d8012d1a01c0071ff9f0002e012429..."} 
[2026-07-11 11:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb801d8012d1a01c0071ff9f0002e012429..."} 
[2026-07-11 11:19:37] local.INFO: Processing buffer {"connection_id":129268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb801d8012d1a01c0071ff9f0002e012429..."} 
[2026-07-11 11:19:37] local.INFO: Packet analysis {"connection_id":129268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb8"} 
[2026-07-11 11:19:37] local.INFO: Extracted packet for processing {"connection_id":129268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb8"} 
[2026-07-11 11:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756679104,"raw_latitude":119536112,"longitude_deg":75.6679104,"latitude_deg":11.9536112,"altitude":46,"angle":292,"satellites":41,"speed":23,"hex_longitude":"2d1a01c0","hex_latitude":"071ff9f0","is_valid_coordinates":true} 
[2026-07-11 11:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639712256001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5605220084088832,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883841680980774912,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783748887000,"timestamp_ms":1783748887000,"timestamp_seconds":1783748887,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb801d8"} 
[2026-07-11 11:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 11:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639712256001,"66":14374,"101":206,"83":41984,"24":23,"16":5605220084088832,"45":1883841680980774912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639712256001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:19:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5605220084088832,"km_value":5605220084088.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883841680980774912,"description":"Unknown IO ID 45"} 
[2026-07-11 11:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639712256001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1883841680980774912}} 
[2026-07-11 11:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":129268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:19:37] local.INFO: GPS data processed {"connection_id":129268,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:19:37] local.INFO: Acknowledgment sent {"connection_id":129268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:19:42] local.INFO: TCP Data received {"connection_id":130499,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:19:42] local.INFO: Processing buffer {"connection_id":130499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:19:42] local.INFO: Packet analysis {"connection_id":130499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:19:42] local.INFO: Extracted packet for processing {"connection_id":130499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":130499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:19:42] local.INFO: GPS data processed {"connection_id":130499,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:19:42] local.INFO: Acknowledgment sent {"connection_id":130499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:19:45] local.INFO: TCP Data received {"connection_id":128370,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:19:45] local.INFO: Processing buffer {"connection_id":128370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:19:45] local.INFO: IMEI packet received {"connection_id":128370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":128370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:20:00] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:00] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:00] local.INFO: IMEI packet received {"connection_id":128549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":128549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:20:01] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:01] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:01] local.INFO: IMEI packet received {"connection_id":128549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":128549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:20:02] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:02] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:02] local.INFO: IMEI packet received {"connection_id":128549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":128549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:20:05] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:05] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:20:05] local.INFO: IMEI packet received {"connection_id":128549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":128549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:20:06] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb8b970012d19c94007201f28002f015227..."} 
[2026-07-11 11:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb8b970012d19c94007201f28002f015227..."} 
[2026-07-11 11:20:06] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb8b970012d19c94007201f28002f015227..."} 
[2026-07-11 11:20:06] local.INFO: Packet analysis {"connection_id":128549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb8"} 
[2026-07-11 11:20:06] local.INFO: Extracted packet for processing {"connection_id":128549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb8"} 
[2026-07-11 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119545640,"longitude_deg":75.666464,"latitude_deg":11.954564,"altitude":47,"angle":338,"satellites":39,"speed":9,"hex_longitude":"2d19c940","hex_latitude":"07201f28","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639722496001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5606113437286400,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620521310208,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783748934000,"timestamp_ms":1783748934000,"timestamp_seconds":1783748934,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb8b970"} 
[2026-07-11 11:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 11:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639722496001,"66":14483,"103":206,"83":41984,"24":9,"16":5606113437286400,"45":1859212620521310208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639722496001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:20:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5606113437286400,"km_value":5606113437286.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620521310208,"description":"Unknown IO ID 45"} 
[2026-07-11 11:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639722496001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1859212620521310208}} 
[2026-07-11 11:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":128549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:20:06] local.INFO: GPS data processed {"connection_id":128549,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:20:06] local.INFO: Acknowledgment sent {"connection_id":128549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:20:09] local.INFO: TCP Data received {"connection_id":129269,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:20:09] local.INFO: Processing buffer {"connection_id":129269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:20:09] local.INFO: IMEI packet received {"connection_id":129269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":129269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:20:14] local.INFO: TCP Data received {"connection_id":129269,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:20:14] local.INFO: Processing buffer {"connection_id":129269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:20:14] local.INFO: IMEI packet received {"connection_id":129269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":129269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:20:15] local.INFO: TCP Data received {"connection_id":129269,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:20:15] local.INFO: Processing buffer {"connection_id":129269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:20:15] local.INFO: Packet analysis {"connection_id":129269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:20:15] local.INFO: Extracted packet for processing {"connection_id":129269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:20:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:20:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:20:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":129269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:20:15] local.INFO: GPS data processed {"connection_id":129269,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:20:15] local.INFO: Acknowledgment sent {"connection_id":129269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:20:20] local.INFO: TCP Data received {"connection_id":129269,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:20:20] local.INFO: Processing buffer {"connection_id":129269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb517c0012cb29c0007823c60004c00b32b..."} 
[2026-07-11 11:20:20] local.INFO: Packet analysis {"connection_id":129269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:20:20] local.INFO: Extracted packet for processing {"connection_id":129269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb5"} 
[2026-07-11 11:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639589120001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783748696000,"timestamp_ms":1783748696000,"timestamp_seconds":1783748696,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb517c0"} 
[2026-07-11 11:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639589120001,"66":25875,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639589120001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:20:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639589120001,"power":25875,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":129269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:20:20] local.INFO: GPS data processed {"connection_id":129269,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:20:20] local.INFO: Acknowledgment sent {"connection_id":129269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:20:37] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb8f408012d19bcc007203f80002e015f27..."} 
[2026-07-11 11:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb8f408012d19bcc007203f80002e015f27..."} 
[2026-07-11 11:20:37] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb8f408012d19bcc007203f80002e015f27..."} 
[2026-07-11 11:20:37] local.INFO: Packet analysis {"connection_id":128549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb8"} 
[2026-07-11 11:20:37] local.INFO: Extracted packet for processing {"connection_id":128549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb8"} 
[2026-07-11 11:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119553920,"longitude_deg":75.666144,"latitude_deg":11.955392,"altitude":46,"angle":351,"satellites":39,"speed":27,"hex_longitude":"2d19bcc0","hex_latitude":"07203f80","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639727104001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5606542934016000,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720614901760,"note":"Value kept but may cause issues"} 
[2026-07-11 11:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783748949000,"timestamp_ms":1783748949000,"timestamp_seconds":1783748949,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb8f408"} 
[2026-07-11 11:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 11:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639727104001,"66":14026,"103":206,"83":41984,"24":27,"16":5606542934016000,"45":1858086720614901760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639727104001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:20:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5606542934016000,"km_value":5606542934016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720614901760,"description":"Unknown IO ID 45"} 
[2026-07-11 11:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639727104001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1858086720614901760}} 
[2026-07-11 11:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":128549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:20:37] local.INFO: GPS data processed {"connection_id":128549,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:20:37] local.INFO: Acknowledgment sent {"connection_id":128549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:21:00] local.INFO: TCP Data received {"connection_id":128551,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:21:00] local.INFO: Processing buffer {"connection_id":128551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:21:00] local.INFO: IMEI packet received {"connection_id":128551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":128551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:21:04] local.INFO: TCP Data received {"connection_id":128371,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:21:04] local.INFO: Processing buffer {"connection_id":128371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:21:04] local.INFO: IMEI packet received {"connection_id":128371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":128371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:21:05] local.INFO: TCP Data received {"connection_id":128551,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:21:05] local.INFO: Processing buffer {"connection_id":128551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:21:05] local.INFO: IMEI packet received {"connection_id":128551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":128551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:21:06] local.INFO: TCP Data received {"connection_id":128551,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9bb40012d19bcc00720a7580036006028..."} 
[2026-07-11 11:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9bb40012d19bcc00720a7580036006028..."} 
[2026-07-11 11:21:06] local.INFO: Processing buffer {"connection_id":128551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9bb40012d19bcc00720a7580036006028..."} 
[2026-07-11 11:21:06] local.INFO: Packet analysis {"connection_id":128551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:21:06] local.INFO: Extracted packet for processing {"connection_id":128551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119580504,"longitude_deg":75.666144,"latitude_deg":11.9580504,"altitude":54,"angle":96,"satellites":40,"speed":10,"hex_longitude":"2d19bcc0","hex_latitude":"0720a758","is_valid_coordinates":true} 
[2026-07-11 11:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743744001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5607947388321792,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182414848,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749000000,"timestamp_ms":1783749000000,"timestamp_seconds":1783749000,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9bb40"} 
[2026-07-11 11:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 11:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743744001,"66":12461,"103":206,"83":41984,"24":10,"16":5607947388321792,"45":1854357177182414848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743744001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:21:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5607947388321792,"km_value":5607947388321.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182414848,"description":"Unknown IO ID 45"} 
[2026-07-11 11:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743744001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1854357177182414848}} 
[2026-07-11 11:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":128551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:21:06] local.INFO: GPS data processed {"connection_id":128551,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:21:06] local.INFO: Acknowledgment sent {"connection_id":128551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:21:09] local.INFO: TCP Data received {"connection_id":128371,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:21:09] local.INFO: Processing buffer {"connection_id":128371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:21:09] local.INFO: IMEI packet received {"connection_id":128371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":128371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:21:10] local.INFO: TCP Data received {"connection_id":128371,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:21:10] local.INFO: Processing buffer {"connection_id":128371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:21:10] local.INFO: Packet analysis {"connection_id":128371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:21:10] local.INFO: Extracted packet for processing {"connection_id":128371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:21:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:21:10] 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-07-11 11:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:21:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":128371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:21:10] local.INFO: GPS data processed {"connection_id":128371,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:21:10] local.INFO: Acknowledgment sent {"connection_id":128371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:21:37] local.INFO: TCP Data received {"connection_id":128551,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9e250012d19ca000720a528003400532a..."} 
[2026-07-11 11:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9e250012d19ca000720a528003400532a..."} 
[2026-07-11 11:21:37] local.INFO: Processing buffer {"connection_id":128551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9e250012d19ca000720a528003400532a..."} 
[2026-07-11 11:21:37] local.INFO: Packet analysis {"connection_id":128551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:21:37] local.INFO: Extracted packet for processing {"connection_id":128551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119579944,"longitude_deg":75.6664832,"latitude_deg":11.9579944,"altitude":52,"angle":83,"satellites":42,"speed":7,"hex_longitude":"2d19ca00","hex_latitude":"0720a528","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639744000001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608110597079040,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414943744,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783749010000,"timestamp_ms":1783749010000,"timestamp_seconds":1783749010,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9e250"} 
[2026-07-11 11:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 11:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639744000001,"66":12689,"103":206,"83":41984,"24":7,"16":5608110597079040,"45":1854568283414943744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639744000001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:21:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608110597079040,"km_value":5608110597079.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414943744,"description":"Unknown IO ID 45"} 
[2026-07-11 11:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639744000001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1854568283414943744}} 
[2026-07-11 11:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":128551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:21:37] local.INFO: GPS data processed {"connection_id":128551,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:21:37] local.INFO: Acknowledgment sent {"connection_id":128551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:21:41] local.INFO: TCP Data received {"connection_id":128371,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:21:41] local.INFO: Processing buffer {"connection_id":128371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:21:41] local.INFO: Packet analysis {"connection_id":128371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:21:41] local.INFO: Extracted packet for processing {"connection_id":128371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:21:41] 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-07-11 11:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:21:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":128371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:21:41] local.INFO: GPS data processed {"connection_id":128371,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:21:41] local.INFO: Acknowledgment sent {"connection_id":128371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:22:04] local.INFO: TCP Data received {"connection_id":128372,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:22:04] local.INFO: Processing buffer {"connection_id":128372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:22:04] local.INFO: IMEI packet received {"connection_id":128372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":128372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:22:05] local.INFO: TCP Data received {"connection_id":129272,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:22:05] local.INFO: Processing buffer {"connection_id":129272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:22:05] local.INFO: IMEI packet received {"connection_id":129272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":129272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:22:09] local.INFO: TCP Data received {"connection_id":128372,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:22:09] local.INFO: Processing buffer {"connection_id":128372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:22:09] local.INFO: IMEI packet received {"connection_id":128372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:22:10] local.INFO: TCP Data received {"connection_id":129272,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:22:10] local.INFO: Processing buffer {"connection_id":129272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:22:10] local.INFO: IMEI packet received {"connection_id":129272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":129272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:22:10] local.INFO: TCP Data received {"connection_id":128372,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:22:10] local.INFO: Processing buffer {"connection_id":128372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:22:10] local.INFO: Packet analysis {"connection_id":128372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:22:10] local.INFO: Extracted packet for processing {"connection_id":128372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:22:10] 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-07-11 11:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:22:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:22:10] local.INFO: GPS data processed {"connection_id":128372,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:22:10] local.INFO: Acknowledgment sent {"connection_id":128372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:22:10] local.INFO: TCP Data received {"connection_id":129272,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9e638012d19ca800720a550003400462b..."} 
[2026-07-11 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9e638012d19ca800720a550003400462b..."} 
[2026-07-11 11:22:10] local.INFO: Processing buffer {"connection_id":129272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9e638012d19ca800720a550003400462b..."} 
[2026-07-11 11:22:10] local.INFO: Packet analysis {"connection_id":129272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:22:10] local.INFO: Extracted packet for processing {"connection_id":129272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119579984,"longitude_deg":75.666496,"latitude_deg":11.9579984,"altitude":52,"angle":70,"satellites":43,"speed":6,"hex_longitude":"2d19ca80","hex_latitude":"0720a550","is_valid_coordinates":true} 
[2026-07-11 11:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639746560001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608119187013632,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826856216576,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749011000,"timestamp_ms":1783749011000,"timestamp_seconds":1783749011,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9e638"} 
[2026-07-11 11:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 11:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639746560001,"66":13254,"103":206,"83":41984,"24":6,"16":5608119187013632,"45":1858297826856216576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639746560001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:22:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608119187013632,"km_value":5608119187013.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826856216576,"description":"Unknown IO ID 45"} 
[2026-07-11 11:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639746560001,"power":13254,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1858297826856216576}} 
[2026-07-11 11:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":129272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:22:11] local.INFO: GPS data processed {"connection_id":129272,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:22:11] local.INFO: Acknowledgment sent {"connection_id":129272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:22:13] local.INFO: TCP Data received {"connection_id":129272,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fba3840012d19cb000720a598003400462a..."} 
[2026-07-11 11:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fba3840012d19cb000720a598003400462a..."} 
[2026-07-11 11:22:13] local.INFO: Processing buffer {"connection_id":129272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fba3840012d19cb000720a598003400462a..."} 
[2026-07-11 11:22:13] local.INFO: Packet analysis {"connection_id":129272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fba"} 
[2026-07-11 11:22:13] local.INFO: Extracted packet for processing {"connection_id":129272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fba"} 
[2026-07-11 11:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564344582144,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783749032000,"timestamp_ms":1783749032000,"timestamp_seconds":1783749032,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fba3840"} 
[2026-07-11 11:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 11:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639746816001,"66":13243,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858438564344582144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:22:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564344582144,"description":"Unknown IO ID 45"} 
[2026-07-11 11:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639746816001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858438564344582144}} 
[2026-07-11 11:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":129272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:22:13] local.INFO: GPS data processed {"connection_id":129272,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:22:13] local.INFO: Acknowledgment sent {"connection_id":129272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:22:41] local.INFO: TCP Data received {"connection_id":128372,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:22:41] local.INFO: Processing buffer {"connection_id":128372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:22:41] local.INFO: Packet analysis {"connection_id":128372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:22:41] local.INFO: Extracted packet for processing {"connection_id":128372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:22:41] 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-07-11 11:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:22:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":128372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:22:41] local.INFO: GPS data processed {"connection_id":128372,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:22:41] local.INFO: Acknowledgment sent {"connection_id":128372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:22:44] local.INFO: TCP Data received {"connection_id":129272,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fba8a48012d19cb000720a5980034004625..."} 
[2026-07-11 11:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fba8a48012d19cb000720a5980034004625..."} 
[2026-07-11 11:22:44] local.INFO: Processing buffer {"connection_id":129272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fba8a48012d19cb000720a5980034004625..."} 
[2026-07-11 11:22:44] local.INFO: Packet analysis {"connection_id":129272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fba"} 
[2026-07-11 11:22:44] local.INFO: Extracted packet for processing {"connection_id":129272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fba"} 
[2026-07-11 11:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639752192001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783749053000,"timestamp_ms":1783749053000,"timestamp_seconds":1783749053,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fba8a48"} 
[2026-07-11 11:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 11:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639752192001,"66":12298,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639752192001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:22:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639752192001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":129272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:22:45] local.INFO: GPS data processed {"connection_id":129272,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:22:45] local.INFO: Acknowledgment sent {"connection_id":129272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:23:00] local.INFO: TCP Data received {"connection_id":128552,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:23:00] local.INFO: Processing buffer {"connection_id":128552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:23:00] local.INFO: IMEI packet received {"connection_id":128552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":128552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:23:05] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:23:05] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:23:05] local.INFO: IMEI packet received {"connection_id":130500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":130500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:23:05] local.INFO: TCP Data received {"connection_id":128552,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:23:05] local.INFO: Processing buffer {"connection_id":128552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:23:05] local.INFO: IMEI packet received {"connection_id":128552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":128552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:23:06] local.INFO: TCP Data received {"connection_id":128552,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbadc50012d19cb000720a5980034004628..."} 
[2026-07-11 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbadc50012d19cb000720a5980034004628..."} 
[2026-07-11 11:23:06] local.INFO: Processing buffer {"connection_id":128552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbadc50012d19cb000720a5980034004628..."} 
[2026-07-11 11:23:06] local.INFO: Packet analysis {"connection_id":128552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fba"} 
[2026-07-11 11:23:06] local.INFO: Extracted packet for processing {"connection_id":128552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fba"} 
[2026-07-11 11:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639757568001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749074000,"timestamp_ms":1783749074000,"timestamp_seconds":1783749074,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbadc50"} 
[2026-07-11 11:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263092862464,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185619,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":236,"raw_value":6989586621679009793,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5744777143652260281,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3752062322041356494,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3116056577,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2807562294,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510968,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3965976576,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":19747228952297472,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513592017460461595,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3377699721183236,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,236,159,56,45,165,52,42,10,66,230,128,43,226,1,240,145,227,79,32,4,113,205,183,188,104,40,239,48,2,19,7,55,192,39],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-11 11:23:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747072014699986944,"timestamp_seconds":3747072014699987.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 11:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639757568001,"66":13135,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639757568001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:23:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639757568001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":128552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:23:06] local.INFO: GPS data processed {"connection_id":128552,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:23:06] local.INFO: Acknowledgment sent {"connection_id":128552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:23:09] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:23:09] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:23:09] local.INFO: IMEI packet received {"connection_id":130500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":130500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:23:11] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:23:11] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:23:11] local.INFO: Packet analysis {"connection_id":130500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:23:11] local.INFO: Extracted packet for processing {"connection_id":130500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":130500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:23:11] local.INFO: GPS data processed {"connection_id":130500,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:23:11] local.INFO: Acknowledgment sent {"connection_id":130500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:23:37] local.INFO: TCP Data received {"connection_id":128552,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbb2e58012d19cb000720a5980034004626..."} 
[2026-07-11 11:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbb2e58012d19cb000720a5980034004626..."} 
[2026-07-11 11:23:37] local.INFO: Processing buffer {"connection_id":128552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbb2e58012d19cb000720a5980034004626..."} 
[2026-07-11 11:23:37] local.INFO: Packet analysis {"connection_id":128552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbb"} 
[2026-07-11 11:23:37] local.INFO: Extracted packet for processing {"connection_id":128552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbb"} 
[2026-07-11 11:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639762944001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783749095000,"timestamp_ms":1783749095000,"timestamp_seconds":1783749095,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbb2e58"} 
[2026-07-11 11:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-11 11:23:37] 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-07-11 11:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639762944001,"66":13124,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639762944001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:23:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639762944001,"power":13124,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":128552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:23:37] local.INFO: GPS data processed {"connection_id":128552,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:23:37] local.INFO: Acknowledgment sent {"connection_id":128552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:23:42] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:23:42] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:23:42] local.INFO: Packet analysis {"connection_id":130500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:23:42] local.INFO: Extracted packet for processing {"connection_id":130500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":130500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:23:42] local.INFO: GPS data processed {"connection_id":130500,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:23:42] local.INFO: Acknowledgment sent {"connection_id":130500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:23:58] local.INFO: TCP Data received {"connection_id":128373,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:23:58] local.INFO: Processing buffer {"connection_id":128373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:23:58] local.INFO: IMEI packet received {"connection_id":128373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":128373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:24:01] local.INFO: TCP Data received {"connection_id":128373,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:24:01] local.INFO: Processing buffer {"connection_id":128373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:24:01] local.INFO: IMEI packet received {"connection_id":128373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":128373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:24:04] local.INFO: TCP Data received {"connection_id":128554,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:24:04] local.INFO: Processing buffer {"connection_id":128554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:24:04] local.INFO: IMEI packet received {"connection_id":128554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":128554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:24:05] local.INFO: TCP Data received {"connection_id":128373,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:24:05] local.INFO: Processing buffer {"connection_id":128373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:24:05] local.INFO: IMEI packet received {"connection_id":128373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":128373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:24:06] local.INFO: TCP Data received {"connection_id":128373,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbb8060012d19cb000720a5980034004629..."} 
[2026-07-11 11:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbb8060012d19cb000720a5980034004629..."} 
[2026-07-11 11:24:06] local.INFO: Processing buffer {"connection_id":128373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbb8060012d19cb000720a5980034004629..."} 
[2026-07-11 11:24:06] local.INFO: Packet analysis {"connection_id":128373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbb"} 
[2026-07-11 11:24:06] local.INFO: Extracted packet for processing {"connection_id":128373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbb"} 
[2026-07-11 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639768320001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749116000,"timestamp_ms":1783749116000,"timestamp_seconds":1783749116,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbb8060"} 
[2026-07-11 11:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-11 11:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639768320001,"66":13080,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639768320001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:24:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639768320001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":128373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:24:06] local.INFO: GPS data processed {"connection_id":128373,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:24:06] local.INFO: Acknowledgment sent {"connection_id":128373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:24:09] local.INFO: TCP Data received {"connection_id":128554,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:24:09] local.INFO: Processing buffer {"connection_id":128554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:24:09] local.INFO: IMEI packet received {"connection_id":128554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":128554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:24:10] local.INFO: TCP Data received {"connection_id":128554,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:24:10] local.INFO: Processing buffer {"connection_id":128554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:24:10] local.INFO: Packet analysis {"connection_id":128554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:24:10] local.INFO: Extracted packet for processing {"connection_id":128554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:24:10] 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-07-11 11:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:24:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":128554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:24:10] local.INFO: GPS data processed {"connection_id":128554,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:24:10] local.INFO: Acknowledgment sent {"connection_id":128554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:24:37] local.INFO: TCP Data received {"connection_id":128373,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbbd268012d19cb000720a5980034004627..."} 
[2026-07-11 11:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbbd268012d19cb000720a5980034004627..."} 
[2026-07-11 11:24:37] local.INFO: Processing buffer {"connection_id":128373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbbd268012d19cb000720a5980034004627..."} 
[2026-07-11 11:24:37] local.INFO: Packet analysis {"connection_id":128373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbb"} 
[2026-07-11 11:24:37] local.INFO: Extracted packet for processing {"connection_id":128373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbb"} 
[2026-07-11 11:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639773696001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783749137000,"timestamp_ms":1783749137000,"timestamp_seconds":1783749137,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbbd268"} 
[2026-07-11 11:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-11 11:24:37] 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-07-11 11: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-07-11 11:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639773696001,"66":13048,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639773696001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:24:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639773696001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":128373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:24:37] local.INFO: GPS data processed {"connection_id":128373,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:24:37] local.INFO: Acknowledgment sent {"connection_id":128373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:24:42] local.INFO: TCP Data received {"connection_id":128554,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:24:42] local.INFO: Processing buffer {"connection_id":128554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:24:42] local.INFO: Packet analysis {"connection_id":128554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:24:42] local.INFO: Extracted packet for processing {"connection_id":128554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:24:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":128554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:24:42] local.INFO: GPS data processed {"connection_id":128554,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:24:42] local.INFO: Acknowledgment sent {"connection_id":128554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:24:50] local.INFO: TCP Data received {"connection_id":130501,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:24:50] local.INFO: Processing buffer {"connection_id":130501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:24:50] local.INFO: IMEI packet received {"connection_id":130501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":130501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:25:00] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:25:00] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:25:00] local.INFO: IMEI packet received {"connection_id":130502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":130502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:25:01] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:25:01] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:25:01] local.INFO: IMEI packet received {"connection_id":130502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":130502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:25:05] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:25:05] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:25:05] local.INFO: IMEI packet received {"connection_id":130502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":130502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:25:06] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbc2470012d19cb000720a5980034004627..."} 
[2026-07-11 11:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbc2470012d19cb000720a5980034004627..."} 
[2026-07-11 11:25:06] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbc2470012d19cb000720a5980034004627..."} 
[2026-07-11 11:25:06] local.INFO: Packet analysis {"connection_id":130502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbc"} 
[2026-07-11 11:25:06] local.INFO: Extracted packet for processing {"connection_id":130502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbc"} 
[2026-07-11 11:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639779072001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749158000,"timestamp_ms":1783749158000,"timestamp_seconds":1783749158,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbc2470"} 
[2026-07-11 11:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 11:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639779072001,"66":13015,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639779072001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:25:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639779072001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":130502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:25:06] local.INFO: GPS data processed {"connection_id":130502,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:25:06] local.INFO: Acknowledgment sent {"connection_id":130502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:25:09] local.INFO: TCP Data received {"connection_id":129274,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:25:09] local.INFO: Processing buffer {"connection_id":129274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:25:09] local.INFO: IMEI packet received {"connection_id":129274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":129274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:25:14] local.INFO: TCP Data received {"connection_id":129274,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:25:14] local.INFO: Processing buffer {"connection_id":129274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:25:14] local.INFO: IMEI packet received {"connection_id":129274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":129274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:25:15] local.INFO: TCP Data received {"connection_id":129274,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:25:15] local.INFO: Processing buffer {"connection_id":129274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:25:15] local.INFO: Packet analysis {"connection_id":129274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:25:15] local.INFO: Extracted packet for processing {"connection_id":129274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:25:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:25:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":129274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:25:15] local.INFO: GPS data processed {"connection_id":129274,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:25:15] local.INFO: Acknowledgment sent {"connection_id":129274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:25:20] local.INFO: TCP Data received {"connection_id":129274,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:25:20] local.INFO: Processing buffer {"connection_id":129274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fb9af88012cb29c0007823c60004800b32a..."} 
[2026-07-11 11:25:20] local.INFO: Packet analysis {"connection_id":129274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:25:20] local.INFO: Extracted packet for processing {"connection_id":129274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fb9"} 
[2026-07-11 11:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639666176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783748997000,"timestamp_ms":1783748997000,"timestamp_seconds":1783748997,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fb9af88"} 
[2026-07-11 11:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 11:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639666176001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639666176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:25:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639666176001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":129274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:25:20] local.INFO: GPS data processed {"connection_id":129274,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:25:20] local.INFO: Acknowledgment sent {"connection_id":129274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:25:37] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbc7678012d19cb000720a5980034004626..."} 
[2026-07-11 11:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbc7678012d19cb000720a5980034004626..."} 
[2026-07-11 11:25:37] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbc7678012d19cb000720a5980034004626..."} 
[2026-07-11 11:25:37] local.INFO: Packet analysis {"connection_id":130502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbc"} 
[2026-07-11 11:25:37] local.INFO: Extracted packet for processing {"connection_id":130502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbc"} 
[2026-07-11 11:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639784448001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783749179000,"timestamp_ms":1783749179000,"timestamp_seconds":1783749179,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbc7678"} 
[2026-07-11 11:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 11:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639784448001,"66":13004,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639784448001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:25:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639784448001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":130502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:25:37] local.INFO: GPS data processed {"connection_id":130502,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:25:37] local.INFO: Acknowledgment sent {"connection_id":130502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:26:00] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:26:00] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:26:00] local.INFO: IMEI packet received {"connection_id":128556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":128556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:26:04] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:26:04] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:26:04] local.INFO: IMEI packet received {"connection_id":128556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":128556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:26:04] local.INFO: TCP Data received {"connection_id":129275,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:26:04] local.INFO: Processing buffer {"connection_id":129275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:26:04] local.INFO: IMEI packet received {"connection_id":129275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":129275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:26:05] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbcc880012d19cb000720a5980034004623..."} 
[2026-07-11 11:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbcc880012d19cb000720a5980034004623..."} 
[2026-07-11 11:26:05] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbcc880012d19cb000720a5980034004623..."} 
[2026-07-11 11:26:05] local.INFO: Packet analysis {"connection_id":128556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbc"} 
[2026-07-11 11:26:05] local.INFO: Extracted packet for processing {"connection_id":128556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbc"} 
[2026-07-11 11:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":35,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639789824001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26: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-07-11 11:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783749200000,"timestamp_ms":1783749200000,"timestamp_seconds":1783749200,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbcc880"} 
[2026-07-11 11:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-11 11:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639789824001,"66":12504,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639789824001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:26:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639789824001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":128556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:26:05] local.INFO: GPS data processed {"connection_id":128556,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:26:05] local.INFO: Acknowledgment sent {"connection_id":128556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:26:09] local.INFO: TCP Data received {"connection_id":129275,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:26:09] local.INFO: Processing buffer {"connection_id":129275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:26:09] local.INFO: IMEI packet received {"connection_id":129275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":129275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:26:10] local.INFO: TCP Data received {"connection_id":129275,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:26:10] local.INFO: Processing buffer {"connection_id":129275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:26:10] local.INFO: Packet analysis {"connection_id":129275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:26:10] local.INFO: Extracted packet for processing {"connection_id":129275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749298000,"timestamp_ms":1783749298000,"timestamp_seconds":1783749298,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbe4750"} 
[2026-07-11 11:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:26: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-07-11 11:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743232001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:26:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743232001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":129275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:26:10] local.INFO: GPS data processed {"connection_id":129275,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:26:10] local.INFO: Acknowledgment sent {"connection_id":129275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:26:36] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbd1a88012d19cb000720a5980034004628..."} 
[2026-07-11 11:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbd1a88012d19cb000720a5980034004628..."} 
[2026-07-11 11:26:36] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbd1a88012d19cb000720a5980034004628..."} 
[2026-07-11 11:26:36] local.INFO: Packet analysis {"connection_id":128556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbd"} 
[2026-07-11 11:26:36] local.INFO: Extracted packet for processing {"connection_id":128556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbd"} 
[2026-07-11 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639795200001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783749221000,"timestamp_ms":1783749221000,"timestamp_seconds":1783749221,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbd1a88"} 
[2026-07-11 11:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 11:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639795200001,"66":12972,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639795200001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:26:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639795200001,"power":12972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":128556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:26:36] local.INFO: GPS data processed {"connection_id":128556,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:26:36] local.INFO: Acknowledgment sent {"connection_id":128556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:26:41] local.INFO: TCP Data received {"connection_id":129275,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:26:41] local.INFO: Processing buffer {"connection_id":129275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:26:41] local.INFO: Packet analysis {"connection_id":129275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:26:41] local.INFO: Extracted packet for processing {"connection_id":129275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783749298000,"timestamp_ms":1783749298000,"timestamp_seconds":1783749298,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbe4750"} 
[2026-07-11 11:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743232001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:26:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743232001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":129275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:26:41] local.INFO: GPS data processed {"connection_id":129275,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:26:41] local.INFO: Acknowledgment sent {"connection_id":129275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:27:00] local.INFO: TCP Data received {"connection_id":128374,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:27:00] local.INFO: Processing buffer {"connection_id":128374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:27:00] local.INFO: IMEI packet received {"connection_id":128374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":128374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:27:04] local.INFO: TCP Data received {"connection_id":128557,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:27:04] local.INFO: Processing buffer {"connection_id":128557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:27:04] local.INFO: IMEI packet received {"connection_id":128557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":128557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:27:05] local.INFO: TCP Data received {"connection_id":128374,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:27:05] local.INFO: Processing buffer {"connection_id":128374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:27:05] local.INFO: IMEI packet received {"connection_id":128374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":128374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:27:06] local.INFO: TCP Data received {"connection_id":128374,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbd6c90012d19cb000720a5980034004629..."} 
[2026-07-11 11:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbd6c90012d19cb000720a5980034004629..."} 
[2026-07-11 11:27:06] local.INFO: Processing buffer {"connection_id":128374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbd6c90012d19cb000720a5980034004629..."} 
[2026-07-11 11:27:06] local.INFO: Packet analysis {"connection_id":128374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbd"} 
[2026-07-11 11:27:06] local.INFO: Extracted packet for processing {"connection_id":128374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbd"} 
[2026-07-11 11:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119580056,"longitude_deg":75.6665088,"latitude_deg":11.9580056,"altitude":52,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d19cb00","hex_latitude":"0720a598","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639800576001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608127776948224,"note":"Value kept but may cause issues"} 
[2026-07-11 11:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832955904,"note":"Value kept but may cause issues"} 
[2026-07-11 11:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749242000,"timestamp_ms":1783749242000,"timestamp_seconds":1783749242,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbd6c90"} 
[2026-07-11 11:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 11:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639800576001,"66":12928,"103":206,"83":41984,"24":0,"16":5608127776948224,"45":1858579301832955904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639800576001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:27:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608127776948224,"km_value":5608127776948.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832955904,"description":"Unknown IO ID 45"} 
[2026-07-11 11:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639800576001,"power":12928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858579301832955904}} 
[2026-07-11 11:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":128374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:27:06] local.INFO: GPS data processed {"connection_id":128374,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:27:06] local.INFO: Acknowledgment sent {"connection_id":128374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:27:09] local.INFO: TCP Data received {"connection_id":128557,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:27:09] local.INFO: Processing buffer {"connection_id":128557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:27:09] local.INFO: IMEI packet received {"connection_id":128557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":128557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:27:10] local.INFO: TCP Data received {"connection_id":128557,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:27:10] local.INFO: Processing buffer {"connection_id":128557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:27:10] local.INFO: Packet analysis {"connection_id":128557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:27:10] local.INFO: Extracted packet for processing {"connection_id":128557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749298000,"timestamp_ms":1783749298000,"timestamp_seconds":1783749298,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbe4750"} 
[2026-07-11 11:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:27: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-07-11 11: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743232001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:27:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743232001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":128557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:27:10] local.INFO: GPS data processed {"connection_id":128557,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:27:10] local.INFO: Acknowledgment sent {"connection_id":128557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:27:37] local.INFO: TCP Data received {"connection_id":128374,"ip":"42.106.6.41","data_length":93,"data_hex":"00000000000000518e010000019f4fbfd9a8012d19e6c00720b2100031008b2a..."} 
[2026-07-11 11:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128374,"packet_length":93,"packet_hex":"00000000000000518e010000019f4fbfd9a8012d19e6c00720b2100031008b2a..."} 
[2026-07-11 11:27:37] local.INFO: Processing buffer {"connection_id":128374,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f4fbfd9a8012d19e6c00720b2100031008b2a..."} 
[2026-07-11 11:27:37] local.INFO: Packet analysis {"connection_id":128374,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f4fbf"} 
[2026-07-11 11:27:37] local.INFO: Extracted packet for processing {"connection_id":128374,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f4fbf"} 
[2026-07-11 11:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756672192,"raw_latitude":119583248,"longitude_deg":75.6672192,"latitude_deg":11.9583248,"altitude":49,"angle":139,"satellites":42,"speed":6,"hex_longitude":"2d19e6c0","hex_latitude":"0720b210","is_valid_coordinates":true} 
[2026-07-11 11: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":93,"current_offset":40} 
[2026-07-11 11:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:27:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:27:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 11:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128374,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-11 11:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128374,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 11:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128374,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 11:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 11:27:37] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 11:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":128374,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 11:27:37] local.ERROR: GPS data processing failed {"connection_id":128374,"error":"No valid data to process"} 
[2026-07-11 11:27:37] local.INFO: Acknowledgment sent {"connection_id":128374,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 11:27:42] local.INFO: TCP Data received {"connection_id":128557,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:27:42] local.INFO: Processing buffer {"connection_id":128557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:27:42] local.INFO: Packet analysis {"connection_id":128557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:27:42] local.INFO: Extracted packet for processing {"connection_id":128557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783749298000,"timestamp_ms":1783749298000,"timestamp_seconds":1783749298,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbe4750"} 
[2026-07-11 11:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743232001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743232001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":128557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:27:42] local.INFO: GPS data processed {"connection_id":128557,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:27:42] local.INFO: Acknowledgment sent {"connection_id":128557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:28:00] local.INFO: TCP Data received {"connection_id":128375,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:28:00] local.INFO: Processing buffer {"connection_id":128375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:28:00] local.INFO: IMEI packet received {"connection_id":128375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":128375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:28:05] local.INFO: TCP Data received {"connection_id":128375,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:28:05] local.INFO: Processing buffer {"connection_id":128375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:28:05] local.INFO: IMEI packet received {"connection_id":128375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":128375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:28:06] local.INFO: TCP Data received {"connection_id":128558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:28:06] local.INFO: Processing buffer {"connection_id":128558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:28:06] local.INFO: IMEI packet received {"connection_id":128558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":128558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:28:06] local.INFO: TCP Data received {"connection_id":128375,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbfdd90012d19e7000720b188003000a42a..."} 
[2026-07-11 11:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbfdd90012d19e7000720b188003000a42a..."} 
[2026-07-11 11:28:06] local.INFO: Processing buffer {"connection_id":128375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbfdd90012d19e7000720b188003000a42a..."} 
[2026-07-11 11:28:06] local.INFO: Packet analysis {"connection_id":128375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbf"} 
[2026-07-11 11:28:06] local.INFO: Extracted packet for processing {"connection_id":128375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbf"} 
[2026-07-11 11:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756672256,"raw_latitude":119583112,"longitude_deg":75.6672256,"latitude_deg":11.9583112,"altitude":48,"angle":164,"satellites":42,"speed":5,"hex_longitude":"2d19e700","hex_latitude":"0720b188","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639846656001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5608548683743232,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866390232437493760,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749402000,"timestamp_ms":1783749402000,"timestamp_seconds":1783749402,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbfdd90"} 
[2026-07-11 11:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 11:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639846656001,"66":14298,"103":206,"83":41984,"24":5,"16":5608548683743232,"45":1866390232437493760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639846656001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:28:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5608548683743232,"km_value":5608548683743.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866390232437493760,"description":"Unknown IO ID 45"} 
[2026-07-11 11:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639846656001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1866390232437493760}} 
[2026-07-11 11:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":128375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:28:06] local.INFO: GPS data processed {"connection_id":128375,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:28:06] local.INFO: Acknowledgment sent {"connection_id":128375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:28:09] local.INFO: TCP Data received {"connection_id":128558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:28:09] local.INFO: Processing buffer {"connection_id":128558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:28:09] local.INFO: IMEI packet received {"connection_id":128558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":128558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:28:10] local.INFO: TCP Data received {"connection_id":128558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:28:10] local.INFO: Processing buffer {"connection_id":128558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:28:10] local.INFO: Packet analysis {"connection_id":128558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:28:10] local.INFO: Extracted packet for processing {"connection_id":128558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749298000,"timestamp_ms":1783749298000,"timestamp_seconds":1783749298,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbe4750"} 
[2026-07-11 11:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:28: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-07-11 11: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743232001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:28:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743232001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":128558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:28:10] local.INFO: GPS data processed {"connection_id":128558,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:28:10] local.INFO: Acknowledgment sent {"connection_id":128558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:28:37] local.INFO: TCP Data received {"connection_id":128375,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc0e348012d1a3fc00720f798003a008929..."} 
[2026-07-11 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc0e348012d1a3fc00720f798003a008929..."} 
[2026-07-11 11:28:37] local.INFO: Processing buffer {"connection_id":128375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc0e348012d1a3fc00720f798003a008929..."} 
[2026-07-11 11:28:37] local.INFO: Packet analysis {"connection_id":128375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc0"} 
[2026-07-11 11:28:37] local.INFO: Extracted packet for processing {"connection_id":128375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc0"} 
[2026-07-11 11:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119601048,"longitude_deg":75.6694976,"latitude_deg":11.9601048,"altitude":58,"angle":137,"satellites":41,"speed":6,"hex_longitude":"2d1a3fc0","hex_latitude":"0720f798","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639863808001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5610043332362240,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891230399136794624,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783749469000,"timestamp_ms":1783749469000,"timestamp_seconds":1783749469,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc0e348"} 
[2026-07-11 11:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-11 11:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639863808001,"66":13798,"103":206,"83":41984,"24":6,"16":5610043332362240,"45":1891230399136794624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639863808001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:28:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5610043332362240,"km_value":5610043332362.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891230399136794624,"description":"Unknown IO ID 45"} 
[2026-07-11 11:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639863808001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1891230399136794624}} 
[2026-07-11 11:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":128375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:28:37] local.INFO: GPS data processed {"connection_id":128375,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:28:37] local.INFO: Acknowledgment sent {"connection_id":128375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:28:41] local.INFO: TCP Data received {"connection_id":128558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:28:41] local.INFO: Processing buffer {"connection_id":128558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:28:41] local.INFO: Packet analysis {"connection_id":128558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:28:41] local.INFO: Extracted packet for processing {"connection_id":128558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783749298000,"timestamp_ms":1783749298000,"timestamp_seconds":1783749298,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbe4750"} 
[2026-07-11 11:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743232001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:28:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743232001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":128558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:28:41] local.INFO: GPS data processed {"connection_id":128558,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:28:41] local.INFO: Acknowledgment sent {"connection_id":128558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:29:04] local.INFO: TCP Data received {"connection_id":128559,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:29:04] local.INFO: Processing buffer {"connection_id":128559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:29:04] local.INFO: IMEI packet received {"connection_id":128559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":128559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:29:05] local.INFO: TCP Data received {"connection_id":128376,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:29:05] local.INFO: Processing buffer {"connection_id":128376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:29:05] local.INFO: IMEI packet received {"connection_id":128376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":128376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:29:06] local.INFO: TCP Data received {"connection_id":128376,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:29:06] local.INFO: Processing buffer {"connection_id":128376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:29:06] local.INFO: IMEI packet received {"connection_id":128376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":128376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:29:06] local.INFO: TCP Data received {"connection_id":128376,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc0fea0012d1a43c00720f2e0003a007528..."} 
[2026-07-11 11:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc0fea0012d1a43c00720f2e0003a007528..."} 
[2026-07-11 11:29:06] local.INFO: Processing buffer {"connection_id":128376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc0fea0012d1a43c00720f2e0003a007528..."} 
[2026-07-11 11:29:06] local.INFO: Packet analysis {"connection_id":128376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc0"} 
[2026-07-11 11:29:06] local.INFO: Extracted packet for processing {"connection_id":128376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc0"} 
[2026-07-11 11:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756696000,"raw_latitude":119599840,"longitude_deg":75.6696,"latitude_deg":11.959984,"altitude":58,"angle":117,"satellites":40,"speed":11,"hex_longitude":"2d1a43c0","hex_latitude":"0720f2e0","is_valid_coordinates":true} 
[2026-07-11 11:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639864064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5610124936740864,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505369298944,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749476000,"timestamp_ms":1783749476000,"timestamp_seconds":1783749476,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc0fea0"} 
[2026-07-11 11:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-11 11:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639864064001,"66":14559,"103":206,"83":41984,"24":11,"16":5610124936740864,"45":1891441505369298944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639864064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:29:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5610124936740864,"km_value":5610124936740.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505369298944,"description":"Unknown IO ID 45"} 
[2026-07-11 11:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639864064001,"power":14559,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1891441505369298944}} 
[2026-07-11 11:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":128376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:29:07] local.INFO: GPS data processed {"connection_id":128376,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:29:07] local.INFO: Acknowledgment sent {"connection_id":128376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:29:09] local.INFO: TCP Data received {"connection_id":128376,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc10288012d1a44c00720f288003a006828..."} 
[2026-07-11 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc10288012d1a44c00720f288003a006828..."} 
[2026-07-11 11:29:09] local.INFO: Processing buffer {"connection_id":128376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc10288012d1a44c00720f288003a006828..."} 
[2026-07-11 11:29:09] local.INFO: Packet analysis {"connection_id":128376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:29:09] local.INFO: Extracted packet for processing {"connection_id":128376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756696256,"raw_latitude":119599752,"longitude_deg":75.6696256,"latitude_deg":11.9599752,"altitude":58,"angle":104,"satellites":40,"speed":11,"hex_longitude":"2d1a44c0","hex_latitude":"0720f288","is_valid_coordinates":true} 
[2026-07-11 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639865856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5610133526675456,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892567405275832320,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783749477000,"timestamp_ms":1783749477000,"timestamp_seconds":1783749477,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc10288"} 
[2026-07-11 11:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-11 11:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639865856001,"66":14494,"103":206,"83":41984,"24":11,"16":5610133526675456,"45":1892567405275832320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639865856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:29:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5610133526675456,"km_value":5610133526675.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892567405275832320,"description":"Unknown IO ID 45"} 
[2026-07-11 11:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639865856001,"power":14494,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1892567405275832320}} 
[2026-07-11 11:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":128376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:29:09] local.INFO: GPS data processed {"connection_id":128376,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:29:09] local.INFO: Acknowledgment sent {"connection_id":128376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:29:09] local.INFO: TCP Data received {"connection_id":128559,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:29:09] local.INFO: Processing buffer {"connection_id":128559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:29:09] local.INFO: IMEI packet received {"connection_id":128559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":128559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:29:10] local.INFO: TCP Data received {"connection_id":128559,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:29:10] local.INFO: Processing buffer {"connection_id":128559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:29:10] local.INFO: Packet analysis {"connection_id":128559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:29:10] local.INFO: Extracted packet for processing {"connection_id":128559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749298000,"timestamp_ms":1783749298000,"timestamp_seconds":1783749298,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbe4750"} 
[2026-07-11 11:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743232001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:29:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743232001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":128559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:29:10] local.INFO: GPS data processed {"connection_id":128559,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:29:10] local.INFO: Acknowledgment sent {"connection_id":128559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:29:41] local.INFO: TCP Data received {"connection_id":128376,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc10e40012d1a48400720f150003b007728..."} 
[2026-07-11 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc10e40012d1a48400720f150003b007728..."} 
[2026-07-11 11:29:41] local.INFO: Processing buffer {"connection_id":128376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc10e40012d1a48400720f150003b007728..."} 
[2026-07-11 11:29:41] local.INFO: Packet analysis {"connection_id":128376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:29:41] local.INFO: Extracted packet for processing {"connection_id":128376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756697152,"raw_latitude":119599440,"longitude_deg":75.6697152,"latitude_deg":11.959944,"altitude":59,"angle":119,"satellites":40,"speed":12,"hex_longitude":"2d1a4840","hex_latitude":"0720f150","is_valid_coordinates":true} 
[2026-07-11 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639866112001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5610180771315712,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892848880252520448,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783749480000,"timestamp_ms":1783749480000,"timestamp_seconds":1783749480,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc10e40"} 
[2026-07-11 11:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-11 11:29:41] 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-07-11 11:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639866112001,"66":14396,"103":206,"83":41984,"24":12,"16":5610180771315712,"45":1892848880252520448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639866112001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:29:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5610180771315712,"km_value":5610180771315.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892848880252520448,"description":"Unknown IO ID 45"} 
[2026-07-11 11:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639866112001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1892848880252520448}} 
[2026-07-11 11:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":128376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:29:41] local.INFO: GPS data processed {"connection_id":128376,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:29:41] local.INFO: Acknowledgment sent {"connection_id":128376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:29:41] local.INFO: TCP Data received {"connection_id":128559,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:29:41] local.INFO: Processing buffer {"connection_id":128559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:29:41] local.INFO: Packet analysis {"connection_id":128559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:29:41] local.INFO: Extracted packet for processing {"connection_id":128559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783749298000,"timestamp_ms":1783749298000,"timestamp_seconds":1783749298,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbe4750"} 
[2026-07-11 11:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743232001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:29:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743232001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":128559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:29:41] local.INFO: GPS data processed {"connection_id":128559,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:29:41] local.INFO: Acknowledgment sent {"connection_id":128559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:30:01] local.INFO: TCP Data received {"connection_id":129277,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:30:01] local.INFO: Processing buffer {"connection_id":129277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:30:01] local.INFO: IMEI packet received {"connection_id":129277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":129277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:30:04] local.INFO: TCP Data received {"connection_id":129278,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:30:04] local.INFO: Processing buffer {"connection_id":129278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:30:04] local.INFO: IMEI packet received {"connection_id":129278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":129278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:30:05] local.INFO: TCP Data received {"connection_id":129277,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:30:05] local.INFO: Processing buffer {"connection_id":129277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:30:05] local.INFO: IMEI packet received {"connection_id":129277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":129277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:30:06] local.INFO: TCP Data received {"connection_id":129277,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc144f0012d1a59c00720e5e0003c008329..."} 
[2026-07-11 11:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc144f0012d1a59c00720e5e0003c008329..."} 
[2026-07-11 11:30:06] local.INFO: Processing buffer {"connection_id":129277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc144f0012d1a59c00720e5e0003c008329..."} 
[2026-07-11 11:30:06] local.INFO: Packet analysis {"connection_id":129277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:30:06] local.INFO: Extracted packet for processing {"connection_id":129277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756701632,"raw_latitude":119596512,"longitude_deg":75.6701632,"latitude_deg":11.9596512,"altitude":60,"angle":131,"satellites":41,"speed":17,"hex_longitude":"2d1a59c0","hex_latitude":"0720e5e0","is_valid_coordinates":true} 
[2026-07-11 11:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639866880001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5610438469353472,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893834042670927872,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749494000,"timestamp_ms":1783749494000,"timestamp_seconds":1783749494,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc144f0"} 
[2026-07-11 11:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 11:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639866880001,"66":14102,"103":206,"83":41984,"24":17,"16":5610438469353472,"45":1893834042670927872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639866880001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:30:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5610438469353472,"km_value":5610438469353.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893834042670927872,"description":"Unknown IO ID 45"} 
[2026-07-11 11:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639866880001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1893834042670927872}} 
[2026-07-11 11:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":129277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:30:06] local.INFO: GPS data processed {"connection_id":129277,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:30:06] local.INFO: Acknowledgment sent {"connection_id":129277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:30:09] local.INFO: TCP Data received {"connection_id":129278,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:30:09] local.INFO: Processing buffer {"connection_id":129278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:30:09] local.INFO: IMEI packet received {"connection_id":129278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":129278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:30:10] local.INFO: TCP Data received {"connection_id":129278,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:30:10] local.INFO: Processing buffer {"connection_id":129278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fbe4750012cb29c0007823c60004300b328..."} 
[2026-07-11 11:30:10] local.INFO: Packet analysis {"connection_id":129278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:30:10] local.INFO: Extracted packet for processing {"connection_id":129278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fbe"} 
[2026-07-11 11:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639743232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749298000,"timestamp_ms":1783749298000,"timestamp_seconds":1783749298,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fbe4750"} 
[2026-07-11 11:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:30: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-07-11 11:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639743232001,"66":25843,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639743232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:30:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639743232001,"power":25843,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":129278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:30:10] local.INFO: GPS data processed {"connection_id":129278,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:30:10] local.INFO: Acknowledgment sent {"connection_id":129278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:30:10] local.INFO: TCP Data received {"connection_id":129277,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc17ba0012d1a6b800720d500003c009123..."} 
[2026-07-11 11:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc17ba0012d1a6b800720d500003c009123..."} 
[2026-07-11 11:30:10] local.INFO: Processing buffer {"connection_id":129277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc17ba0012d1a6b800720d500003c009123..."} 
[2026-07-11 11:30:10] local.INFO: Packet analysis {"connection_id":129277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:30:10] local.INFO: Extracted packet for processing {"connection_id":129277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119592192,"longitude_deg":75.6706176,"latitude_deg":11.9592192,"altitude":60,"angle":145,"satellites":35,"speed":10,"hex_longitude":"2d1a6b80","hex_latitude":"0720d500","is_valid_coordinates":true} 
[2026-07-11 11:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639870464001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5610739117064192,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898759854762614784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749508000,"timestamp_ms":1783749508000,"timestamp_seconds":1783749508,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc17ba0"} 
[2026-07-11 11:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 11:30:10] 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-07-11 11:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639870464001,"66":14233,"103":206,"83":41984,"24":10,"16":5610739117064192,"45":1898759854762614784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639870464001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:30:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5610739117064192,"km_value":5610739117064.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898759854762614784,"description":"Unknown IO ID 45"} 
[2026-07-11 11:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639870464001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1898759854762614784}} 
[2026-07-11 11:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":129277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:30:11] local.INFO: GPS data processed {"connection_id":129277,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:30:11] local.INFO: Acknowledgment sent {"connection_id":129277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:30:26] local.INFO: TCP Data received {"connection_id":129276,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:30:26] local.INFO: Processing buffer {"connection_id":129276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:30:26] local.INFO: IMEI packet received {"connection_id":129276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":129276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:30:41] local.INFO: TCP Data received {"connection_id":129278,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:30:41] local.INFO: Processing buffer {"connection_id":129278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:30:41] local.INFO: Packet analysis {"connection_id":129278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:30:41] local.INFO: Extracted packet for processing {"connection_id":129278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:30:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":129278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:30:41] local.INFO: GPS data processed {"connection_id":129278,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:30:41] local.INFO: Acknowledgment sent {"connection_id":129278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:30:42] local.INFO: TCP Data received {"connection_id":129277,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc18758012d1a6c400720d2e0003d00ad24..."} 
[2026-07-11 11:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc18758012d1a6c400720d2e0003d00ad24..."} 
[2026-07-11 11:30:42] local.INFO: Processing buffer {"connection_id":129277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc18758012d1a6c400720d2e0003d00ad24..."} 
[2026-07-11 11:30:42] local.INFO: Packet analysis {"connection_id":129277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:30:42] local.INFO: Extracted packet for processing {"connection_id":129277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc1"} 
[2026-07-11 11:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756706368,"raw_latitude":119591648,"longitude_deg":75.6706368,"latitude_deg":11.9591648,"altitude":61,"angle":173,"satellites":36,"speed":7,"hex_longitude":"2d1a6c40","hex_latitude":"0720d2e0","is_valid_coordinates":true} 
[2026-07-11 11:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639874048001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5610764886867968,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035598123008,"note":"Value kept but may cause issues"} 
[2026-07-11 11:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783749511000,"timestamp_ms":1783749511000,"timestamp_seconds":1783749511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc18758"} 
[2026-07-11 11:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-11 11:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639874048001,"66":14363,"103":206,"83":41984,"24":7,"16":5610764886867968,"45":1903756035598123008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639874048001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:30:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5610764886867968,"km_value":5610764886867.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035598123008,"description":"Unknown IO ID 45"} 
[2026-07-11 11:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639874048001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1903756035598123008}} 
[2026-07-11 11:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":129277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:30:42] local.INFO: GPS data processed {"connection_id":129277,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:30:42] local.INFO: Acknowledgment sent {"connection_id":129277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:30:45] local.INFO: TCP Data received {"connection_id":128560,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:30:45] local.INFO: Processing buffer {"connection_id":128560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:30:45] local.INFO: IMEI packet received {"connection_id":128560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":128560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:30:57] local.INFO: TCP Data received {"connection_id":128377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:30:57] local.INFO: Processing buffer {"connection_id":128377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:30:57] local.INFO: IMEI packet received {"connection_id":128377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":128377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:31:00] local.INFO: TCP Data received {"connection_id":128377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:31:00] local.INFO: Processing buffer {"connection_id":128377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:31:00] local.INFO: IMEI packet received {"connection_id":128377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":128377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:31:01] local.INFO: TCP Data received {"connection_id":128377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:31:01] local.INFO: Processing buffer {"connection_id":128377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:31:01] local.INFO: IMEI packet received {"connection_id":128377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":128377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:31:04] local.INFO: TCP Data received {"connection_id":128377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:31:04] local.INFO: Processing buffer {"connection_id":128377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:31:04] local.INFO: IMEI packet received {"connection_id":128377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":128377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:31:05] local.INFO: TCP Data received {"connection_id":128377,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2e300012d1a73c00720b5a00034005f20..."} 
[2026-07-11 11:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2e300012d1a73c00720b5a00034005f20..."} 
[2026-07-11 11:31:05] local.INFO: Processing buffer {"connection_id":128377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2e300012d1a73c00720b5a00034005f20..."} 
[2026-07-11 11:31:05] local.INFO: Packet analysis {"connection_id":128377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:31:05] local.INFO: Extracted packet for processing {"connection_id":128377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756708288,"raw_latitude":119584160,"longitude_deg":75.6708288,"latitude_deg":11.958416,"altitude":52,"angle":95,"satellites":32,"speed":0,"hex_longitude":"2d1a73c0","hex_latitude":"0720b5a0","is_valid_coordinates":true} 
[2026-07-11 11:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639892224001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5611228743335936,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906078204153929728,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31: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-07-11 11:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783749600000,"timestamp_ms":1783749600000,"timestamp_seconds":1783749600,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2e300"} 
[2026-07-11 11:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 11:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639892224001,"66":14374,"103":206,"83":41984,"24":0,"16":5611228743335936,"45":1906078204153929728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639892224001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:31:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5611228743335936,"km_value":5611228743335.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906078204153929728,"description":"Unknown IO ID 45"} 
[2026-07-11 11:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639892224001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906078204153929728}} 
[2026-07-11 11:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":128377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:31:05] local.INFO: GPS data processed {"connection_id":128377,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:31:05] local.INFO: Acknowledgment sent {"connection_id":128377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:31:09] local.INFO: TCP Data received {"connection_id":128561,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:31:09] local.INFO: Processing buffer {"connection_id":128561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:31:09] local.INFO: IMEI packet received {"connection_id":128561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":128561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:31:14] local.INFO: TCP Data received {"connection_id":128561,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:31:14] local.INFO: Processing buffer {"connection_id":128561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:31:14] local.INFO: IMEI packet received {"connection_id":128561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":128561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:31:15] local.INFO: TCP Data received {"connection_id":128561,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:31:15] local.INFO: Processing buffer {"connection_id":128561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:31:15] local.INFO: Packet analysis {"connection_id":128561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:31:15] local.INFO: Extracted packet for processing {"connection_id":128561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:31:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:31:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":128561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:31:15] local.INFO: GPS data processed {"connection_id":128561,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:31:15] local.INFO: Acknowledgment sent {"connection_id":128561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:31:37] local.INFO: TCP Data received {"connection_id":128377,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc38328012d1a6b800720ba980034000b29..."} 
[2026-07-11 11:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc38328012d1a6b800720ba980034000b29..."} 
[2026-07-11 11:31:37] local.INFO: Processing buffer {"connection_id":128377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc38328012d1a6b800720ba980034000b29..."} 
[2026-07-11 11:31:37] local.INFO: Packet analysis {"connection_id":128377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc3"} 
[2026-07-11 11:31:37] local.INFO: Extracted packet for processing {"connection_id":128377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc3"} 
[2026-07-11 11:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119585432,"longitude_deg":75.6706176,"latitude_deg":11.9585432,"altitude":52,"angle":11,"satellites":41,"speed":5,"hex_longitude":"2d1a6b80","hex_latitude":"0720ba98","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639907584001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5611396247060480,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666852155392,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783749641000,"timestamp_ms":1783749641000,"timestamp_seconds":1783749641,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc38328"} 
[2026-07-11 11:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 11:31:37] 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-07-11 11: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-07-11 11:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639907584001,"66":13906,"103":206,"83":41984,"24":5,"16":5611396247060480,"45":1903685666852155392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639907584001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:31:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5611396247060480,"km_value":5611396247060.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666852155392,"description":"Unknown IO ID 45"} 
[2026-07-11 11:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639907584001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1903685666852155392}} 
[2026-07-11 11:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":128377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:31:37] local.INFO: GPS data processed {"connection_id":128377,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:31:37] local.INFO: Acknowledgment sent {"connection_id":128377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:31:46] local.INFO: TCP Data received {"connection_id":128561,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:31:46] local.INFO: Processing buffer {"connection_id":128561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:31:46] local.INFO: Packet analysis {"connection_id":128561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:31:46] local.INFO: Extracted packet for processing {"connection_id":128561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:31:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:31:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:31:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":128561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:31:46] local.INFO: GPS data processed {"connection_id":128561,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:31:46] local.INFO: Acknowledgment sent {"connection_id":128561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:32:00] local.INFO: TCP Data received {"connection_id":130507,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:32:00] local.INFO: Processing buffer {"connection_id":130507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:32:00] local.INFO: IMEI packet received {"connection_id":130507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":130507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:32:04] local.INFO: TCP Data received {"connection_id":128562,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:32:04] local.INFO: Processing buffer {"connection_id":128562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:32:04] local.INFO: IMEI packet received {"connection_id":128562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":128562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:32:05] local.INFO: TCP Data received {"connection_id":130507,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:32:05] local.INFO: Processing buffer {"connection_id":130507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:32:05] local.INFO: IMEI packet received {"connection_id":130507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":130507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:32:06] local.INFO: TCP Data received {"connection_id":130507,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc396b0012d1a6b800720bcf80036016128..."} 
[2026-07-11 11:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc396b0012d1a6b800720bcf80036016128..."} 
[2026-07-11 11:32:06] local.INFO: Processing buffer {"connection_id":130507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc396b0012d1a6b800720bcf80036016128..."} 
[2026-07-11 11:32:06] local.INFO: Packet analysis {"connection_id":130507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc3"} 
[2026-07-11 11:32:06] local.INFO: Extracted packet for processing {"connection_id":130507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc3"} 
[2026-07-11 11:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119586040,"longitude_deg":75.6706176,"latitude_deg":11.958604,"altitude":54,"angle":353,"satellites":40,"speed":4,"hex_longitude":"2d1a6b80","hex_latitude":"0720bcf8","is_valid_coordinates":true} 
[2026-07-11 11:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639908096001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5611426311831552,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035596392448,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749646000,"timestamp_ms":1783749646000,"timestamp_seconds":1783749646,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc396b0"} 
[2026-07-11 11:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-11 11:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639908096001,"66":14102,"103":206,"83":41984,"24":4,"16":5611426311831552,"45":1903756035596392448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639908096001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:32:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5611426311831552,"km_value":5611426311831.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035596392448,"description":"Unknown IO ID 45"} 
[2026-07-11 11:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639908096001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1903756035596392448}} 
[2026-07-11 11:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":130507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:32:06] local.INFO: GPS data processed {"connection_id":130507,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:32:06] local.INFO: Acknowledgment sent {"connection_id":130507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:32:09] local.INFO: TCP Data received {"connection_id":128562,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:32:09] local.INFO: Processing buffer {"connection_id":128562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:32:09] local.INFO: IMEI packet received {"connection_id":128562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":128562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:32:10] local.INFO: TCP Data received {"connection_id":128562,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:32:10] local.INFO: Processing buffer {"connection_id":128562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:32:10] local.INFO: Packet analysis {"connection_id":128562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:32:10] local.INFO: Extracted packet for processing {"connection_id":128562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:32:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:32:10] local.INFO: GPS data processed {"connection_id":128562,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:32:10] local.INFO: Acknowledgment sent {"connection_id":128562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:32:37] local.INFO: TCP Data received {"connection_id":130507,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc484f8012d1a4dc00720ed48003a013027..."} 
[2026-07-11 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc484f8012d1a4dc00720ed48003a013027..."} 
[2026-07-11 11:32:37] local.INFO: Processing buffer {"connection_id":130507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc484f8012d1a4dc00720ed48003a013027..."} 
[2026-07-11 11:32:37] local.INFO: Packet analysis {"connection_id":130507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc4"} 
[2026-07-11 11:32:37] local.INFO: Extracted packet for processing {"connection_id":130507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc4"} 
[2026-07-11 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756698560,"raw_latitude":119598408,"longitude_deg":75.669856,"latitude_deg":11.9598408,"altitude":58,"angle":304,"satellites":39,"speed":14,"hex_longitude":"2d1a4dc0","hex_latitude":"0720ed48","is_valid_coordinates":true} 
[2026-07-11 11:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639922176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5612220880781312,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898900592250937344,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783749707000,"timestamp_ms":1783749707000,"timestamp_seconds":1783749707,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc484f8"} 
[2026-07-11 11:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 11:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639922176001,"66":14070,"103":206,"83":41984,"24":14,"16":5612220880781312,"45":1898900592250937344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639922176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:32:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5612220880781312,"km_value":5612220880781.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898900592250937344,"description":"Unknown IO ID 45"} 
[2026-07-11 11:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639922176001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1898900592250937344}} 
[2026-07-11 11:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":130507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:32:37] local.INFO: GPS data processed {"connection_id":130507,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:32:37] local.INFO: Acknowledgment sent {"connection_id":130507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:32:41] local.INFO: TCP Data received {"connection_id":128562,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:32:41] local.INFO: Processing buffer {"connection_id":128562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:32:41] local.INFO: Packet analysis {"connection_id":128562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:32:41] local.INFO: Extracted packet for processing {"connection_id":128562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:32:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":128562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:32:41] local.INFO: GPS data processed {"connection_id":128562,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:32:41] local.INFO: Acknowledgment sent {"connection_id":128562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:33:00] local.INFO: TCP Data received {"connection_id":130508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:33:00] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:33:00] local.INFO: IMEI packet received {"connection_id":130508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":130508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:33:00] local.INFO: TCP Data received {"connection_id":130508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:33:00] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:33:00] local.INFO: IMEI packet received {"connection_id":130508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":130508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:33:05] local.INFO: TCP Data received {"connection_id":128379,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:33:05] local.INFO: Processing buffer {"connection_id":128379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:33:05] local.INFO: IMEI packet received {"connection_id":128379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":128379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:33:05] local.INFO: TCP Data received {"connection_id":130508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:33:05] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:33:05] local.INFO: IMEI packet received {"connection_id":130508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":130508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:33:06] local.INFO: TCP Data received {"connection_id":130508,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc49498012d1a48800720f028003a011d27..."} 
[2026-07-11 11:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc49498012d1a48800720f028003a011d27..."} 
[2026-07-11 11:33:06] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc49498012d1a48800720f028003a011d27..."} 
[2026-07-11 11:33:06] local.INFO: Packet analysis {"connection_id":130508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc4"} 
[2026-07-11 11:33:06] local.INFO: Extracted packet for processing {"connection_id":130508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc4"} 
[2026-07-11 11:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756697216,"raw_latitude":119599144,"longitude_deg":75.6697216,"latitude_deg":11.9599144,"altitude":58,"angle":285,"satellites":39,"speed":13,"hex_longitude":"2d1a4880","hex_latitude":"0720f028","is_valid_coordinates":true} 
[2026-07-11 11:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639924992001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5612293895225344,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895382155042572288,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783749711000,"timestamp_ms":1783749711000,"timestamp_seconds":1783749711,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc49498"} 
[2026-07-11 11:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 11:33:06] 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-07-11 11:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639924992001,"66":14048,"103":206,"83":41984,"24":13,"16":5612293895225344,"45":1895382155042572288},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639924992001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:33:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5612293895225344,"km_value":5612293895225.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895382155042572288,"description":"Unknown IO ID 45"} 
[2026-07-11 11:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639924992001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1895382155042572288}} 
[2026-07-11 11:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":130508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:33:06] local.INFO: GPS data processed {"connection_id":130508,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:33:06] local.INFO: Acknowledgment sent {"connection_id":130508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:33:09] local.INFO: TCP Data received {"connection_id":128379,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:33:09] local.INFO: Processing buffer {"connection_id":128379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:33:09] local.INFO: IMEI packet received {"connection_id":128379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":128379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:33:10] local.INFO: TCP Data received {"connection_id":128379,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:33:10] local.INFO: Processing buffer {"connection_id":128379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:33:10] local.INFO: Packet analysis {"connection_id":128379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:33:10] local.INFO: Extracted packet for processing {"connection_id":128379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:33:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":128379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:33:10] local.INFO: GPS data processed {"connection_id":128379,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:33:10] local.INFO: Acknowledgment sent {"connection_id":128379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:33:37] local.INFO: TCP Data received {"connection_id":130508,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc557e8012d1a04400720bce0003200f429..."} 
[2026-07-11 11:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc557e8012d1a04400720bce0003200f429..."} 
[2026-07-11 11:33:37] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc557e8012d1a04400720bce0003200f429..."} 
[2026-07-11 11:33:37] local.INFO: Packet analysis {"connection_id":130508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc5"} 
[2026-07-11 11:33:37] local.INFO: Extracted packet for processing {"connection_id":130508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc5"} 
[2026-07-11 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756679744,"raw_latitude":119586016,"longitude_deg":75.6679744,"latitude_deg":11.9586016,"altitude":50,"angle":244,"satellites":41,"speed":27,"hex_longitude":"2d1a0440","hex_latitude":"0720bce0","is_valid_coordinates":true} 
[2026-07-11 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639937792001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5613479306199040,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877508494018662400,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783749761000,"timestamp_ms":1783749761000,"timestamp_seconds":1783749761,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc557e8"} 
[2026-07-11 11:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 11:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639937792001,"66":14591,"103":206,"83":41984,"24":27,"16":5613479306199040,"45":1877508494018662400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 11:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639937792001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:33:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 11:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5613479306199040,"km_value":5613479306199.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877508494018662400,"description":"Unknown IO ID 45"} 
[2026-07-11 11:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639937792001,"power":14591,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1877508494018662400}} 
[2026-07-11 11:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":130508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:33:37] local.INFO: GPS data processed {"connection_id":130508,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:33:37] local.INFO: Acknowledgment sent {"connection_id":130508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:33:42] local.INFO: TCP Data received {"connection_id":128379,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:33:42] local.INFO: Processing buffer {"connection_id":128379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:33:42] local.INFO: Packet analysis {"connection_id":128379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:33:42] local.INFO: Extracted packet for processing {"connection_id":128379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":128379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:33:42] local.INFO: GPS data processed {"connection_id":128379,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:33:42] local.INFO: Acknowledgment sent {"connection_id":128379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:34:00] local.INFO: TCP Data received {"connection_id":128563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:00] local.INFO: Processing buffer {"connection_id":128563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:00] local.INFO: IMEI packet received {"connection_id":128563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":128563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:34:02] local.INFO: TCP Data received {"connection_id":128563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:02] local.INFO: Processing buffer {"connection_id":128563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:02] local.INFO: IMEI packet received {"connection_id":128563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":128563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:34:03] local.INFO: TCP Data received {"connection_id":128563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:03] local.INFO: Processing buffer {"connection_id":128563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:03] local.INFO: IMEI packet received {"connection_id":128563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":128563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:34:04] local.INFO: TCP Data received {"connection_id":128563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:04] local.INFO: Processing buffer {"connection_id":128563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:34:04] local.INFO: IMEI packet received {"connection_id":128563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":128563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:34:04] local.INFO: TCP Data received {"connection_id":129280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:34:04] local.INFO: Processing buffer {"connection_id":129280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:34:04] local.INFO: IMEI packet received {"connection_id":129280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":129280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:34:09] local.INFO: TCP Data received {"connection_id":129280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:34:09] local.INFO: Processing buffer {"connection_id":129280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:34:09] local.INFO: IMEI packet received {"connection_id":129280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":129280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:34:10] local.INFO: TCP Data received {"connection_id":129280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:34:10] local.INFO: Processing buffer {"connection_id":129280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:34:10] local.INFO: Packet analysis {"connection_id":129280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:34:10] local.INFO: Extracted packet for processing {"connection_id":129280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:34: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-07-11 11: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:34:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":129280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:34:10] local.INFO: GPS data processed {"connection_id":129280,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:34:10] local.INFO: Acknowledgment sent {"connection_id":129280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:34:41] local.INFO: TCP Data received {"connection_id":129280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:34:41] local.INFO: Processing buffer {"connection_id":129280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:34:41] local.INFO: Packet analysis {"connection_id":129280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:34:41] local.INFO: Extracted packet for processing {"connection_id":129280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:34:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":129280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:34:41] local.INFO: GPS data processed {"connection_id":129280,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:34:41] local.INFO: Acknowledgment sent {"connection_id":129280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:35:04] local.INFO: TCP Data received {"connection_id":130509,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:35:04] local.INFO: Processing buffer {"connection_id":130509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:35:04] local.INFO: IMEI packet received {"connection_id":130509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":130509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:35:09] local.INFO: TCP Data received {"connection_id":130509,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:35:09] local.INFO: Processing buffer {"connection_id":130509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:35:09] local.INFO: IMEI packet received {"connection_id":130509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":130509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:35:10] local.INFO: TCP Data received {"connection_id":130509,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:35:10] local.INFO: Processing buffer {"connection_id":130509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc2df18012cb29c0007823c60004300b329..."} 
[2026-07-11 11:35:10] local.INFO: Packet analysis {"connection_id":130509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:35:10] local.INFO: Extracted packet for processing {"connection_id":130509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc2"} 
[2026-07-11 11:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639820288001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749599000,"timestamp_ms":1783749599000,"timestamp_seconds":1783749599,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc2df18"} 
[2026-07-11 11:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:35: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-07-11 11:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-11 11:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639820288001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639820288001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:35:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639820288001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":130509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:35:10] local.INFO: GPS data processed {"connection_id":130509,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:35:10] local.INFO: Acknowledgment sent {"connection_id":130509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:35:41] local.INFO: TCP Data received {"connection_id":130509,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:35:41] local.INFO: Processing buffer {"connection_id":130509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:35:41] local.INFO: Packet analysis {"connection_id":130509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:35:41] local.INFO: Extracted packet for processing {"connection_id":130509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639897344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783749900000,"timestamp_ms":1783749900000,"timestamp_seconds":1783749900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc776e0"} 
[2026-07-11 11:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639897344001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639897344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:35:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639897344001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":130509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:35:41] local.INFO: GPS data processed {"connection_id":130509,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:35:41] local.INFO: Acknowledgment sent {"connection_id":130509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:36:09] local.INFO: TCP Data received {"connection_id":128381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:36:09] local.INFO: Processing buffer {"connection_id":128381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:36:09] local.INFO: IMEI packet received {"connection_id":128381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":128381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:36:11] local.INFO: TCP Data received {"connection_id":129281,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:36:11] local.INFO: Processing buffer {"connection_id":129281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:36:11] local.INFO: IMEI packet received {"connection_id":129281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":129281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:36:14] local.INFO: TCP Data received {"connection_id":128381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:36:14] local.INFO: Processing buffer {"connection_id":128381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:36:14] local.INFO: IMEI packet received {"connection_id":128381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":128381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:36:15] local.INFO: TCP Data received {"connection_id":128381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:36:15] local.INFO: Processing buffer {"connection_id":128381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:36:15] local.INFO: Packet analysis {"connection_id":128381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:36:15] local.INFO: Extracted packet for processing {"connection_id":128381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:36:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639897344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783749900000,"timestamp_ms":1783749900000,"timestamp_seconds":1783749900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc776e0"} 
[2026-07-11 11:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639897344001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639897344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:36:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639897344001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":128381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:36:15] local.INFO: GPS data processed {"connection_id":128381,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:36:15] local.INFO: Acknowledgment sent {"connection_id":128381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:36:46] local.INFO: TCP Data received {"connection_id":128566,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:36:46] local.INFO: Processing buffer {"connection_id":128566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:36:46] local.INFO: IMEI packet received {"connection_id":128566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":128566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:37:20] local.INFO: TCP Data received {"connection_id":129283,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:37:20] local.INFO: Processing buffer {"connection_id":129283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:37:20] local.INFO: IMEI packet received {"connection_id":129283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":129283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:37:24] local.INFO: TCP Data received {"connection_id":129283,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:37:24] local.INFO: Processing buffer {"connection_id":129283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:37:24] local.INFO: IMEI packet received {"connection_id":129283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":129283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:37:25] local.INFO: TCP Data received {"connection_id":129283,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:37:25] local.INFO: Processing buffer {"connection_id":129283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:37:25] local.INFO: Packet analysis {"connection_id":129283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:37:25] local.INFO: Extracted packet for processing {"connection_id":129283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:37:25] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639897344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783749900000,"timestamp_ms":1783749900000,"timestamp_seconds":1783749900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc776e0"} 
[2026-07-11 11:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":129283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":129283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":129283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639897344001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639897344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:37:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639897344001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":129283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:37:25] local.INFO: GPS data processed {"connection_id":129283,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:37:25] local.INFO: Acknowledgment sent {"connection_id":129283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:38:04] local.INFO: TCP Data received {"connection_id":128383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:38:04] local.INFO: Processing buffer {"connection_id":128383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:38:04] local.INFO: IMEI packet received {"connection_id":128383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":128383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:38:09] local.INFO: TCP Data received {"connection_id":128383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:38:09] local.INFO: Processing buffer {"connection_id":128383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:38:09] local.INFO: IMEI packet received {"connection_id":128383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":128383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:38:10] local.INFO: TCP Data received {"connection_id":128383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:38:10] local.INFO: Processing buffer {"connection_id":128383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:38:10] local.INFO: Packet analysis {"connection_id":128383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:38:10] local.INFO: Extracted packet for processing {"connection_id":128383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639897344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749900000,"timestamp_ms":1783749900000,"timestamp_seconds":1783749900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc776e0"} 
[2026-07-11 11:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:38: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-07-11 11:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639897344001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639897344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:38:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639897344001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":128383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:38:10] local.INFO: GPS data processed {"connection_id":128383,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:38:10] local.INFO: Acknowledgment sent {"connection_id":128383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:38:42] local.INFO: TCP Data received {"connection_id":128383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:38:42] local.INFO: Processing buffer {"connection_id":128383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:38:42] local.INFO: Packet analysis {"connection_id":128383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:38:42] local.INFO: Extracted packet for processing {"connection_id":128383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639897344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783749900000,"timestamp_ms":1783749900000,"timestamp_seconds":1783749900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc776e0"} 
[2026-07-11 11:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639897344001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639897344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:38:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639897344001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":128383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:38:42] local.INFO: GPS data processed {"connection_id":128383,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:38:42] local.INFO: Acknowledgment sent {"connection_id":128383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:39:04] local.INFO: TCP Data received {"connection_id":129285,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:39:04] local.INFO: Processing buffer {"connection_id":129285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:39:04] local.INFO: IMEI packet received {"connection_id":129285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":129285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:39:05] local.INFO: TCP Data received {"connection_id":128568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:39:05] local.INFO: Processing buffer {"connection_id":128568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:39:05] local.INFO: IMEI packet received {"connection_id":128568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":128568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:39:06] local.INFO: TCP Data received {"connection_id":128568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc920a8012d1a9c40071f3690003e011d26..."} 
[2026-07-11 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc920a8012d1a9c40071f3690003e011d26..."} 
[2026-07-11 11:39:06] local.INFO: Processing buffer {"connection_id":128568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc920a8012d1a9c40071f3690003e011d26..."} 
[2026-07-11 11:39:06] local.INFO: Packet analysis {"connection_id":128568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc9"} 
[2026-07-11 11:39:06] local.INFO: Extracted packet for processing {"connection_id":128568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc9"} 
[2026-07-11 11:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756718656,"raw_latitude":119486096,"longitude_deg":75.6718656,"latitude_deg":11.9486096,"altitude":62,"angle":285,"satellites":38,"speed":13,"hex_longitude":"2d1a9c40","hex_latitude":"071f3690","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640000256001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5621450765500416,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920292690452658176,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750009000,"timestamp_ms":1783750009000,"timestamp_seconds":1783750009,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc920a8"} 
[2026-07-11 11:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640000256001,"66":14559,"101":206,"83":41984,"24":13,"16":5621450765500416,"45":1920292690452658176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640000256001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:39:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5621450765500416,"km_value":5621450765500.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920292690452658176,"description":"Unknown IO ID 45"} 
[2026-07-11 11:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640000256001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1920292690452658176}} 
[2026-07-11 11:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":128568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:39:06] local.INFO: GPS data processed {"connection_id":128568,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:39:06] local.INFO: Acknowledgment sent {"connection_id":128568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:39:09] local.INFO: TCP Data received {"connection_id":129285,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:39:09] local.INFO: Processing buffer {"connection_id":129285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:39:09] local.INFO: IMEI packet received {"connection_id":129285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":129285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:39:10] local.INFO: TCP Data received {"connection_id":129285,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:39:10] local.INFO: Processing buffer {"connection_id":129285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:39:10] local.INFO: Packet analysis {"connection_id":129285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:39:10] local.INFO: Extracted packet for processing {"connection_id":129285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639897344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783749900000,"timestamp_ms":1783749900000,"timestamp_seconds":1783749900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc776e0"} 
[2026-07-11 11:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639897344001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639897344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:39:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639897344001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":129285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:39:10] local.INFO: GPS data processed {"connection_id":129285,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:39:10] local.INFO: Acknowledgment sent {"connection_id":129285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:39:41] local.INFO: TCP Data received {"connection_id":129285,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:39:41] local.INFO: Processing buffer {"connection_id":129285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:39:41] local.INFO: Packet analysis {"connection_id":129285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:39:41] local.INFO: Extracted packet for processing {"connection_id":129285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639897344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783749900000,"timestamp_ms":1783749900000,"timestamp_seconds":1783749900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc776e0"} 
[2026-07-11 11:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639897344001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639897344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:39:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639897344001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":129285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:39:41] local.INFO: GPS data processed {"connection_id":129285,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:39:41] local.INFO: Acknowledgment sent {"connection_id":129285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:39:47] local.INFO: TCP Data received {"connection_id":128568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fca5928012d1a5440071f48b80039012e22..."} 
[2026-07-11 11:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fca5928012d1a5440071f48b80039012e22..."} 
[2026-07-11 11:39:47] local.INFO: Processing buffer {"connection_id":128568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fca5928012d1a5440071f48b80039012e22..."} 
[2026-07-11 11:39:47] local.INFO: Packet analysis {"connection_id":128568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fca"} 
[2026-07-11 11:39:47] local.INFO: Extracted packet for processing {"connection_id":128568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fca"} 
[2026-07-11 11:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756700224,"raw_latitude":119490744,"longitude_deg":75.6700224,"latitude_deg":11.9490744,"altitude":57,"angle":302,"satellites":34,"speed":0,"hex_longitude":"2d1a5440","hex_latitude":"071f48b8","is_valid_coordinates":true} 
[2026-07-11 11:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640017408001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5622395658305536,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897211742363629568,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783750089000,"timestamp_ms":1783750089000,"timestamp_seconds":1783750089,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fca5928"} 
[2026-07-11 11:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":864691128622908416,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":79,"raw_value":-3936383563781733056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2415996186,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2147950395,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746768972997931437,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":19,"raw_value":4181590016,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2248888308035819304,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-07-11 11:39:47] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,249,159,181,45,128,64,59,40,10,66,177,192,63,173,1,240,69,227,79,31,4,113,205,12,161,106,104,41,239,50,2,19,7,62,14,164,57],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-11 11:39:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107615067292303360,"timestamp_seconds":4107615067292303.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 11:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640017408001,"66":11906,"102":206,"83":41984,"24":0,"16":5622395658305536,"45":1897211742363629568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 11:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640017408001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:39:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5622395658305536,"km_value":5622395658305.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897211742363629568,"description":"Unknown IO ID 45"} 
[2026-07-11 11:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640017408001,"power":11906,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1897211742363629568}} 
[2026-07-11 11:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":128568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:39:48] local.INFO: GPS data processed {"connection_id":128568,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:39:48] local.INFO: Acknowledgment sent {"connection_id":128568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:40:09] local.INFO: TCP Data received {"connection_id":130511,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:40:09] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:40:09] local.INFO: IMEI packet received {"connection_id":130511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":130511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:40:11] local.INFO: TCP Data received {"connection_id":129286,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:11] local.INFO: Processing buffer {"connection_id":129286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:11] local.INFO: IMEI packet received {"connection_id":129286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":129286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:40:14] local.INFO: TCP Data received {"connection_id":130511,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:40:14] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:40:14] local.INFO: IMEI packet received {"connection_id":130511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":130511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:40:15] local.INFO: TCP Data received {"connection_id":129286,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:15] local.INFO: Processing buffer {"connection_id":129286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:15] local.INFO: IMEI packet received {"connection_id":129286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":129286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:40:15] local.INFO: TCP Data received {"connection_id":130511,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:40:15] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:40:15] local.INFO: Packet analysis {"connection_id":130511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:40:15] local.INFO: Extracted packet for processing {"connection_id":130511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:40:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639897344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783749900000,"timestamp_ms":1783749900000,"timestamp_seconds":1783749900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc776e0"} 
[2026-07-11 11:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639897344001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639897344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:40:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639897344001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":130511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:40:15] local.INFO: GPS data processed {"connection_id":130511,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:40:15] local.INFO: Acknowledgment sent {"connection_id":130511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:40:20] local.INFO: TCP Data received {"connection_id":130511,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:40:20] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fc776e0012cb29c0007823c60004500b327..."} 
[2026-07-11 11:40:20] local.INFO: Packet analysis {"connection_id":130511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:40:20] local.INFO: Extracted packet for processing {"connection_id":130511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fc7"} 
[2026-07-11 11:40:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639897344001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783749900000,"timestamp_ms":1783749900000,"timestamp_seconds":1783749900,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fc776e0"} 
[2026-07-11 11:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639897344001,"66":25778,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639897344001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:40:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639897344001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":130511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:40:20] local.INFO: GPS data processed {"connection_id":130511,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:40:20] local.INFO: Acknowledgment sent {"connection_id":130511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:40:20] local.INFO: TCP Data received {"connection_id":129286,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:20] local.INFO: Processing buffer {"connection_id":129286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:20] local.INFO: IMEI packet received {"connection_id":129286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":129286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:40:23] local.INFO: TCP Data received {"connection_id":129286,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcaab30012d1a5440071f48b80039012e24..."} 
[2026-07-11 11:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcaab30012d1a5440071f48b80039012e24..."} 
[2026-07-11 11:40:23] local.INFO: Processing buffer {"connection_id":129286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcaab30012d1a5440071f48b80039012e24..."} 
[2026-07-11 11:40:23] local.INFO: Packet analysis {"connection_id":129286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fca"} 
[2026-07-11 11:40:23] local.INFO: Extracted packet for processing {"connection_id":129286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fca"} 
[2026-07-11 11:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756700224,"raw_latitude":119490744,"longitude_deg":75.6700224,"latitude_deg":11.9490744,"altitude":57,"angle":302,"satellites":36,"speed":0,"hex_longitude":"2d1a5440","hex_latitude":"071f48b8","is_valid_coordinates":true} 
[2026-07-11 11:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640022784001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5622395658305536,"note":"Value kept but may cause issues"} 
[2026-07-11 11:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897211742363629568,"note":"Value kept but may cause issues"} 
[2026-07-11 11:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783750110000,"timestamp_ms":1783750110000,"timestamp_seconds":1783750110,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcaab30"} 
[2026-07-11 11:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-11 11:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640022784001,"66":11678,"101":206,"83":41984,"24":0,"16":5622395658305536,"45":1897211742363629568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640022784001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:40:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5622395658305536,"km_value":5622395658305.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897211742363629568,"description":"Unknown IO ID 45"} 
[2026-07-11 11:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640022784001,"power":11678,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1897211742363629568}} 
[2026-07-11 11:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":129286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:40:23] local.INFO: GPS data processed {"connection_id":129286,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:40:23] local.INFO: Acknowledgment sent {"connection_id":129286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:40:58] local.INFO: TCP Data received {"connection_id":129287,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:58] local.INFO: Processing buffer {"connection_id":129287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:40:58] local.INFO: IMEI packet received {"connection_id":129287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":129287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:41:00] local.INFO: TCP Data received {"connection_id":129287,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:41:00] local.INFO: Processing buffer {"connection_id":129287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:41:00] local.INFO: IMEI packet received {"connection_id":129287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":129287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:41:04] local.INFO: TCP Data received {"connection_id":129288,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:41:04] local.INFO: Processing buffer {"connection_id":129288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:41:04] local.INFO: IMEI packet received {"connection_id":129288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":129288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:41:05] local.INFO: TCP Data received {"connection_id":129287,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:41:05] local.INFO: Processing buffer {"connection_id":129287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:41:05] local.INFO: IMEI packet received {"connection_id":129287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":129287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:41:06] local.INFO: TCP Data received {"connection_id":129287,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcafd38012d1a5440071f48b80039012e23..."} 
[2026-07-11 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcafd38012d1a5440071f48b80039012e23..."} 
[2026-07-11 11:41:06] local.INFO: Processing buffer {"connection_id":129287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcafd38012d1a5440071f48b80039012e23..."} 
[2026-07-11 11:41:06] local.INFO: Packet analysis {"connection_id":129287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fca"} 
[2026-07-11 11:41:06] local.INFO: Extracted packet for processing {"connection_id":129287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fca"} 
[2026-07-11 11:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756700224,"raw_latitude":119490744,"longitude_deg":75.6700224,"latitude_deg":11.9490744,"altitude":57,"angle":302,"satellites":35,"speed":0,"hex_longitude":"2d1a5440","hex_latitude":"071f48b8","is_valid_coordinates":true} 
[2026-07-11 11:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640028160001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5622395658305536,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897211742363629568,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750131000,"timestamp_ms":1783750131000,"timestamp_seconds":1783750131,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcafd38"} 
[2026-07-11 11:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-11 11:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640028160001,"66":12385,"101":206,"83":41984,"24":0,"16":5622395658305536,"45":1897211742363629568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640028160001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:41:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5622395658305536,"km_value":5622395658305.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897211742363629568,"description":"Unknown IO ID 45"} 
[2026-07-11 11:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640028160001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1897211742363629568}} 
[2026-07-11 11:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":129287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:41:06] local.INFO: GPS data processed {"connection_id":129287,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:41:06] local.INFO: Acknowledgment sent {"connection_id":129287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:41:09] local.INFO: TCP Data received {"connection_id":129288,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:41:09] local.INFO: Processing buffer {"connection_id":129288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:41:09] local.INFO: IMEI packet received {"connection_id":129288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":129288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:41:10] local.INFO: TCP Data received {"connection_id":129288,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:41:10] local.INFO: Processing buffer {"connection_id":129288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:41:10] local.INFO: Packet analysis {"connection_id":129288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:41:10] local.INFO: Extracted packet for processing {"connection_id":129288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:41:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:41:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":129288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:41:10] local.INFO: GPS data processed {"connection_id":129288,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:41:10] local.INFO: Acknowledgment sent {"connection_id":129288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:41:37] local.INFO: TCP Data received {"connection_id":129287,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcb4f40012d1a5440071f48b80039012e23..."} 
[2026-07-11 11:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcb4f40012d1a5440071f48b80039012e23..."} 
[2026-07-11 11:41:37] local.INFO: Processing buffer {"connection_id":129287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcb4f40012d1a5440071f48b80039012e23..."} 
[2026-07-11 11:41:37] local.INFO: Packet analysis {"connection_id":129287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcb"} 
[2026-07-11 11:41:37] local.INFO: Extracted packet for processing {"connection_id":129287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcb"} 
[2026-07-11 11:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756700224,"raw_latitude":119490744,"longitude_deg":75.6700224,"latitude_deg":11.9490744,"altitude":57,"angle":302,"satellites":35,"speed":0,"hex_longitude":"2d1a5440","hex_latitude":"071f48b8","is_valid_coordinates":true} 
[2026-07-11 11:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640033536001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5622395658305536,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897211742363629568,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783750152000,"timestamp_ms":1783750152000,"timestamp_seconds":1783750152,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcb4f40"} 
[2026-07-11 11:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 11:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640033536001,"66":11515,"101":206,"83":41984,"24":0,"16":5622395658305536,"45":1897211742363629568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640033536001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:41:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5622395658305536,"km_value":5622395658305.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897211742363629568,"description":"Unknown IO ID 45"} 
[2026-07-11 11:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640033536001,"power":11515,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1897211742363629568}} 
[2026-07-11 11:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":129287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:41:37] local.INFO: GPS data processed {"connection_id":129287,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:41:37] local.INFO: Acknowledgment sent {"connection_id":129287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:41:41] local.INFO: TCP Data received {"connection_id":129288,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:41:41] local.INFO: Processing buffer {"connection_id":129288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:41:41] local.INFO: Packet analysis {"connection_id":129288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:41:41] local.INFO: Extracted packet for processing {"connection_id":129288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:41:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:41:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":129288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:41:41] local.INFO: GPS data processed {"connection_id":129288,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:41:41] local.INFO: Acknowledgment sent {"connection_id":129288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:41:58] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:41:58] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:41:58] local.INFO: IMEI packet received {"connection_id":130513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":130513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:42:00] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:42:00] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:42:00] local.INFO: IMEI packet received {"connection_id":130513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":130513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:42:02] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:42:02] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:42:02] local.INFO: IMEI packet received {"connection_id":130513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":130513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:42:04] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:42:04] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:42:04] local.INFO: IMEI packet received {"connection_id":130513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":130513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:42:04] local.INFO: TCP Data received {"connection_id":128386,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:42:04] local.INFO: Processing buffer {"connection_id":128386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:42:04] local.INFO: IMEI packet received {"connection_id":128386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":128386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:42:05] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fccc258012d1a1f40071f4be0003c013826..."} 
[2026-07-11 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fccc258012d1a1f40071f4be0003c013826..."} 
[2026-07-11 11:42:05] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fccc258012d1a1f40071f4be0003c013826..."} 
[2026-07-11 11:42:05] local.INFO: Packet analysis {"connection_id":130513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:42:05] local.INFO: Extracted packet for processing {"connection_id":130513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119491552,"longitude_deg":75.6686656,"latitude_deg":11.9491552,"altitude":60,"angle":312,"satellites":38,"speed":15,"hex_longitude":"2d1a1f40","hex_latitude":"071f4be0","is_valid_coordinates":true} 
[2026-07-11 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640062976001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5623061378236416,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882575043574818816,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783750247000,"timestamp_ms":1783750247000,"timestamp_seconds":1783750247,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fccc258"} 
[2026-07-11 11:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-11 11:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640062976001,"66":13939,"101":206,"83":41984,"24":15,"16":5623061378236416,"45":1882575043574818816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640062976001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:42:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5623061378236416,"km_value":5623061378236.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882575043574818816,"description":"Unknown IO ID 45"} 
[2026-07-11 11:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640062976001,"power":13939,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1882575043574818816}} 
[2026-07-11 11:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":130513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:42:05] local.INFO: GPS data processed {"connection_id":130513,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:42:05] local.INFO: Acknowledgment sent {"connection_id":130513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:42:06] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fccf908012d1a1080071f5c00003f014428..."} 
[2026-07-11 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fccf908012d1a1080071f5c00003f014428..."} 
[2026-07-11 11:42:06] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fccf908012d1a1080071f5c00003f014428..."} 
[2026-07-11 11:42:06] local.INFO: Packet analysis {"connection_id":130513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:42:06] local.INFO: Extracted packet for processing {"connection_id":130513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756682880,"raw_latitude":119495680,"longitude_deg":75.668288,"latitude_deg":11.949568,"altitude":63,"angle":324,"satellites":40,"speed":16,"hex_longitude":"2d1a1080","hex_latitude":"071f5c00","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640063232001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5623327666208768,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568598171648,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750261000,"timestamp_ms":1783750261000,"timestamp_seconds":1783750261,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fccf908"} 
[2026-07-11 11:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-11 11:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640063232001,"66":14048,"101":206,"83":41984,"24":16,"16":5623327666208768,"45":1882293568598171648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640063232001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:42:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5623327666208768,"km_value":5623327666208.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568598171648,"description":"Unknown IO ID 45"} 
[2026-07-11 11:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640063232001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1882293568598171648}} 
[2026-07-11 11:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":130513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:42:06] local.INFO: GPS data processed {"connection_id":130513,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:42:06] local.INFO: Acknowledgment sent {"connection_id":130513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:42:09] local.INFO: TCP Data received {"connection_id":128386,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:42:09] local.INFO: Processing buffer {"connection_id":128386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:42:09] local.INFO: IMEI packet received {"connection_id":128386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":128386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:42:10] local.INFO: TCP Data received {"connection_id":128386,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:42:10] local.INFO: Processing buffer {"connection_id":128386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:42:10] local.INFO: Packet analysis {"connection_id":128386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:42:10] local.INFO: Extracted packet for processing {"connection_id":128386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:42: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-07-11 11:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:42:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":128386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:42:10] local.INFO: GPS data processed {"connection_id":128386,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:42:10] local.INFO: Acknowledgment sent {"connection_id":128386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:42:11] local.INFO: TCP Data received {"connection_id":130512,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:42:11] local.INFO: Processing buffer {"connection_id":130512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:42:11] local.INFO: IMEI packet received {"connection_id":130512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":130512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:42:37] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcd6e38012d19fa40071f77f0003f000f26..."} 
[2026-07-11 11:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcd6e38012d19fa40071f77f0003f000f26..."} 
[2026-07-11 11:42:37] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcd6e38012d19fa40071f77f0003f000f26..."} 
[2026-07-11 11:42:37] local.INFO: Packet analysis {"connection_id":130513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcd"} 
[2026-07-11 11:42:37] local.INFO: Extracted packet for processing {"connection_id":130513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcd"} 
[2026-07-11 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756677184,"raw_latitude":119502832,"longitude_deg":75.6677184,"latitude_deg":11.9502832,"altitude":63,"angle":15,"satellites":38,"speed":13,"hex_longitude":"2d19fa40","hex_latitude":"071f77f0","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640074240001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5623825882415104,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871808625718509568,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783750291000,"timestamp_ms":1783750291000,"timestamp_seconds":1783750291,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcd6e38"} 
[2026-07-11 11:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 11:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640074240001,"66":14483,"101":206,"83":41984,"24":13,"16":5623825882415104,"45":1871808625718509568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640074240001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:42:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5623825882415104,"km_value":5623825882415.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871808625718509568,"description":"Unknown IO ID 45"} 
[2026-07-11 11:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640074240001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1871808625718509568}} 
[2026-07-11 11:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":130513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:42:37] local.INFO: GPS data processed {"connection_id":130513,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:42:37] local.INFO: Acknowledgment sent {"connection_id":130513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:42:42] local.INFO: TCP Data received {"connection_id":128386,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:42:42] local.INFO: Processing buffer {"connection_id":128386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:42:42] local.INFO: Packet analysis {"connection_id":128386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:42:42] local.INFO: Extracted packet for processing {"connection_id":128386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":128386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:42:42] local.INFO: GPS data processed {"connection_id":128386,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:42:42] local.INFO: Acknowledgment sent {"connection_id":128386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:42:45] local.INFO: TCP Data received {"connection_id":129289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:42:45] local.INFO: Processing buffer {"connection_id":129289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:42:45] local.INFO: IMEI packet received {"connection_id":129289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":129289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:43:00] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:00] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:00] local.INFO: IMEI packet received {"connection_id":130514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":130514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:43:02] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:03] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:03] local.INFO: IMEI packet received {"connection_id":130514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":130514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:43:03] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:03] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:03] local.INFO: IMEI packet received {"connection_id":130514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":130514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:43:04] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:04] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:43:04] local.INFO: IMEI packet received {"connection_id":130514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":130514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:43:04] local.INFO: TCP Data received {"connection_id":129290,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:43:04] local.INFO: Processing buffer {"connection_id":129290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:43:04] local.INFO: IMEI packet received {"connection_id":129290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":129290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:43:04] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcda4e8012d19fdc0071f8db80039000026..."} 
[2026-07-11 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcda4e8012d19fdc0071f8db80039000026..."} 
[2026-07-11 11:43:04] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcda4e8012d19fdc0071f8db80039000026..."} 
[2026-07-11 11:43:04] local.INFO: Packet analysis {"connection_id":130514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcd"} 
[2026-07-11 11:43:04] local.INFO: Extracted packet for processing {"connection_id":130514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcd"} 
[2026-07-11 11:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756678080,"raw_latitude":119508408,"longitude_deg":75.667808,"latitude_deg":11.9508408,"altitude":57,"angle":0,"satellites":38,"speed":6,"hex_longitude":"2d19fdc0","hex_latitude":"071f8db8","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640074496001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5624100760322048,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871878994462765056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783750305000,"timestamp_ms":1783750305000,"timestamp_seconds":1783750305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcda4e8"} 
[2026-07-11 11:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 11:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640074496001,"66":14461,"101":206,"83":41984,"24":6,"16":5624100760322048,"45":1871878994462765056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640074496001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:43:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5624100760322048,"km_value":5624100760322.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871878994462765056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640074496001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1871878994462765056}} 
[2026-07-11 11:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":130514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:43:04] local.INFO: GPS data processed {"connection_id":130514,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:43:04] local.INFO: Acknowledgment sent {"connection_id":130514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:43:05] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcdd3c8012d19fe00071f9b000036015e26..."} 
[2026-07-11 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcdd3c8012d19fe00071f9b000036015e26..."} 
[2026-07-11 11:43:05] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcdd3c8012d19fe00071f9b000036015e26..."} 
[2026-07-11 11:43:05] local.INFO: Packet analysis {"connection_id":130514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcd"} 
[2026-07-11 11:43:05] local.INFO: Extracted packet for processing {"connection_id":130514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcd"} 
[2026-07-11 11:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756678144,"raw_latitude":119511808,"longitude_deg":75.6678144,"latitude_deg":11.9511808,"altitude":54,"angle":350,"satellites":38,"speed":12,"hex_longitude":"2d19fe00","hex_latitude":"071f9b00","is_valid_coordinates":true} 
[2026-07-11 11:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640078080001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5624268264046592,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872864156882679808,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783750317000,"timestamp_ms":1783750317000,"timestamp_seconds":1783750317,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcdd3c8"} 
[2026-07-11 11:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 11:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640078080001,"66":14450,"101":206,"83":41984,"24":12,"16":5624268264046592,"45":1872864156882679808},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640078080001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:43:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5624268264046592,"km_value":5624268264046.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872864156882679808,"description":"Unknown IO ID 45"} 
[2026-07-11 11:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640078080001,"power":14450,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1872864156882679808}} 
[2026-07-11 11:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":130514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:43:05] local.INFO: GPS data processed {"connection_id":130514,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:43:05] local.INFO: Acknowledgment sent {"connection_id":130514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:43:09] local.INFO: TCP Data received {"connection_id":129290,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:43:09] local.INFO: Processing buffer {"connection_id":129290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:43:09] local.INFO: IMEI packet received {"connection_id":129290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":129290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:43:10] local.INFO: TCP Data received {"connection_id":129290,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:43:10] local.INFO: Processing buffer {"connection_id":129290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:43:10] local.INFO: Packet analysis {"connection_id":129290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:43:10] local.INFO: Extracted packet for processing {"connection_id":129290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:43:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":129290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:43:10] local.INFO: GPS data processed {"connection_id":129290,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:43:10] local.INFO: Acknowledgment sent {"connection_id":129290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:43:36] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcdf308012d19fc80071fa5180034000126..."} 
[2026-07-11 11:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcdf308012d19fc80071fa5180034000126..."} 
[2026-07-11 11:43:36] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcdf308012d19fc80071fa5180034000126..."} 
[2026-07-11 11:43:36] local.INFO: Packet analysis {"connection_id":130514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcd"} 
[2026-07-11 11:43:36] local.INFO: Extracted packet for processing {"connection_id":130514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcd"} 
[2026-07-11 11:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756677760,"raw_latitude":119514392,"longitude_deg":75.667776,"latitude_deg":11.9514392,"altitude":52,"angle":1,"satellites":38,"speed":12,"hex_longitude":"2d19fc80","hex_latitude":"071fa518","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640081152001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5624397113065472,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872934525627727872,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783750325000,"timestamp_ms":1783750325000,"timestamp_seconds":1783750325,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcdf308"} 
[2026-07-11 11:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-11 11:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640081152001,"66":14461,"101":206,"83":41984,"24":12,"16":5624397113065472,"45":1872934525627727872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640081152001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:43:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5624397113065472,"km_value":5624397113065.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872934525627727872,"description":"Unknown IO ID 45"} 
[2026-07-11 11:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640081152001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1872934525627727872}} 
[2026-07-11 11:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":130514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:43:36] local.INFO: GPS data processed {"connection_id":130514,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:43:36] local.INFO: Acknowledgment sent {"connection_id":130514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:43:41] local.INFO: TCP Data received {"connection_id":129290,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:43:41] local.INFO: Processing buffer {"connection_id":129290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:43:41] local.INFO: Packet analysis {"connection_id":129290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:43:41] local.INFO: Extracted packet for processing {"connection_id":129290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:43:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":129290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:43:42] local.INFO: GPS data processed {"connection_id":129290,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:43:42] local.INFO: Acknowledgment sent {"connection_id":129290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:44:00] local.INFO: TCP Data received {"connection_id":128387,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:00] local.INFO: Processing buffer {"connection_id":128387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:00] local.INFO: IMEI packet received {"connection_id":128387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":128387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:44:00] local.INFO: TCP Data received {"connection_id":128387,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:00] local.INFO: Processing buffer {"connection_id":128387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:00] local.INFO: IMEI packet received {"connection_id":128387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":128387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:44:02] local.INFO: TCP Data received {"connection_id":128387,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:02] local.INFO: Processing buffer {"connection_id":128387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:02] local.INFO: IMEI packet received {"connection_id":128387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":128387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:44:04] local.INFO: TCP Data received {"connection_id":128388,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:44:04] local.INFO: Processing buffer {"connection_id":128388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:44:04] local.INFO: IMEI packet received {"connection_id":128388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":128388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:44:05] local.INFO: TCP Data received {"connection_id":128387,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:05] local.INFO: Processing buffer {"connection_id":128387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:44:05] local.INFO: IMEI packet received {"connection_id":128387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":128387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:44:06] local.INFO: TCP Data received {"connection_id":128387,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fce3d40012d19fc80071fbb200039014d27..."} 
[2026-07-11 11:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fce3d40012d19fc80071fbb200039014d27..."} 
[2026-07-11 11:44:06] local.INFO: Processing buffer {"connection_id":128387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fce3d40012d19fc80071fbb200039014d27..."} 
[2026-07-11 11:44:06] local.INFO: Packet analysis {"connection_id":128387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fce"} 
[2026-07-11 11:44:06] local.INFO: Extracted packet for processing {"connection_id":128387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fce"} 
[2026-07-11 11:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756677760,"raw_latitude":119520032,"longitude_deg":75.667776,"latitude_deg":11.9520032,"altitude":57,"angle":333,"satellites":39,"speed":12,"hex_longitude":"2d19fc80","hex_latitude":"071fbb20","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640083200001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5624671990972416,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872512313163323392,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750344000,"timestamp_ms":1783750344000,"timestamp_seconds":1783750344,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fce3d40"} 
[2026-07-11 11:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 11:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640083200001,"66":14483,"101":206,"83":41984,"24":12,"16":5624671990972416,"45":1872512313163323392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640083200001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:44:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5624671990972416,"km_value":5624671990972.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872512313163323392,"description":"Unknown IO ID 45"} 
[2026-07-11 11:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640083200001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1872512313163323392}} 
[2026-07-11 11:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":128387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:44:06] local.INFO: GPS data processed {"connection_id":128387,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:44:06] local.INFO: Acknowledgment sent {"connection_id":128387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:44:09] local.INFO: TCP Data received {"connection_id":128388,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:44:09] local.INFO: Processing buffer {"connection_id":128388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:44:09] local.INFO: IMEI packet received {"connection_id":128388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":128388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:44:10] local.INFO: TCP Data received {"connection_id":128388,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:44:10] local.INFO: Processing buffer {"connection_id":128388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:44:10] local.INFO: Packet analysis {"connection_id":128388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:44:10] local.INFO: Extracted packet for processing {"connection_id":128388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:44: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-07-11 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:44:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":128388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:44:10] local.INFO: GPS data processed {"connection_id":128388,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:44:10] local.INFO: Acknowledgment sent {"connection_id":128388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:44:37] local.INFO: TCP Data received {"connection_id":128387,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcf8d30012d19a700071fc310003d015f26..."} 
[2026-07-11 11:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcf8d30012d19a700071fc310003d015f26..."} 
[2026-07-11 11:44:37] local.INFO: Processing buffer {"connection_id":128387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcf8d30012d19a700071fc310003d015f26..."} 
[2026-07-11 11:44:37] local.INFO: Packet analysis {"connection_id":128387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:44:37] local.INFO: Extracted packet for processing {"connection_id":128387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756655872,"raw_latitude":119522064,"longitude_deg":75.6655872,"latitude_deg":11.9522064,"altitude":61,"angle":351,"satellites":38,"speed":9,"hex_longitude":"2d19a700","hex_latitude":"071fc310","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640109824001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5625900351619072,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848516571400646656,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783750430000,"timestamp_ms":1783750430000,"timestamp_seconds":1783750430,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcf8d30"} 
[2026-07-11 11:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 11:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640109824001,"66":14407,"101":206,"83":41984,"24":9,"16":5625900351619072,"45":1848516571400646656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640109824001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:44:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5625900351619072,"km_value":5625900351619.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848516571400646656,"description":"Unknown IO ID 45"} 
[2026-07-11 11:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640109824001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1848516571400646656}} 
[2026-07-11 11:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":128387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:44:37] local.INFO: GPS data processed {"connection_id":128387,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:44:37] local.INFO: Acknowledgment sent {"connection_id":128387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:44:41] local.INFO: TCP Data received {"connection_id":128388,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:44:41] local.INFO: Processing buffer {"connection_id":128388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:44:41] local.INFO: Packet analysis {"connection_id":128388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:44:41] local.INFO: Extracted packet for processing {"connection_id":128388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:44:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":128388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:44:41] local.INFO: GPS data processed {"connection_id":128388,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:44:41] local.INFO: Acknowledgment sent {"connection_id":128388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:45:05] local.INFO: TCP Data received {"connection_id":130515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:45:05] local.INFO: Processing buffer {"connection_id":130515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:45:05] local.INFO: IMEI packet received {"connection_id":130515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":130515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:45:07] local.INFO: TCP Data received {"connection_id":130515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:45:07] local.INFO: Processing buffer {"connection_id":130515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:45:07] local.INFO: IMEI packet received {"connection_id":130515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":130515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:45:08] local.INFO: TCP Data received {"connection_id":130515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcf9500012d19a6c0071fc4f0003c000526..."} 
[2026-07-11 11:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcf9500012d19a6c0071fc4f0003c000526..."} 
[2026-07-11 11:45:08] local.INFO: Processing buffer {"connection_id":130515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcf9500012d19a6c0071fc4f0003c000526..."} 
[2026-07-11 11:45:08] local.INFO: Packet analysis {"connection_id":130515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:45:08] local.INFO: Extracted packet for processing {"connection_id":130515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756655808,"raw_latitude":119522544,"longitude_deg":75.6655808,"latitude_deg":11.9522544,"altitude":60,"angle":5,"satellites":38,"speed":9,"hex_longitude":"2d19a6c0","hex_latitude":"071fc4f0","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640110080001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5625926121422848,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848446202656526336,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783750432000,"timestamp_ms":1783750432000,"timestamp_seconds":1783750432,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcf9500"} 
[2026-07-11 11:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 11:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640110080001,"66":13896,"101":206,"83":41984,"24":9,"16":5625926121422848,"45":1848446202656526336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640110080001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:45:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5625926121422848,"km_value":5625926121422.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848446202656526336,"description":"Unknown IO ID 45"} 
[2026-07-11 11:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640110080001,"power":13896,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1848446202656526336}} 
[2026-07-11 11:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":130515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:45:08] local.INFO: GPS data processed {"connection_id":130515,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:45:08] local.INFO: Acknowledgment sent {"connection_id":130515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:45:08] local.INFO: TCP Data received {"connection_id":130515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcfa888012d19a640071fca00003a016226..."} 
[2026-07-11 11:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcfa888012d19a640071fca00003a016226..."} 
[2026-07-11 11:45:08] local.INFO: Processing buffer {"connection_id":130515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcfa888012d19a640071fca00003a016226..."} 
[2026-07-11 11:45:08] local.INFO: Packet analysis {"connection_id":130515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:45:08] local.INFO: Extracted packet for processing {"connection_id":130515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756655680,"raw_latitude":119523840,"longitude_deg":75.665568,"latitude_deg":11.952384,"altitude":58,"angle":354,"satellites":38,"speed":10,"hex_longitude":"2d19a640","hex_latitude":"071fca00","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640110592001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5625990545932288,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848375833912471552,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783750437000,"timestamp_ms":1783750437000,"timestamp_seconds":1783750437,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcfa888"} 
[2026-07-11 11:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-07-11 11:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640110592001,"66":14483,"101":206,"83":41984,"24":10,"16":5625990545932288,"45":1848375833912471552},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640110592001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:45:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5625990545932288,"km_value":5625990545932.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848375833912471552,"description":"Unknown IO ID 45"} 
[2026-07-11 11:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640110592001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1848375833912471552}} 
[2026-07-11 11:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":130515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:45:08] local.INFO: GPS data processed {"connection_id":130515,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:45:08] local.INFO: Acknowledgment sent {"connection_id":130515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:45:09] local.INFO: TCP Data received {"connection_id":128571,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:45:09] local.INFO: Processing buffer {"connection_id":128571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:45:09] local.INFO: IMEI packet received {"connection_id":128571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":128571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:45:14] local.INFO: TCP Data received {"connection_id":128571,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:45:14] local.INFO: Processing buffer {"connection_id":128571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:45:14] local.INFO: IMEI packet received {"connection_id":128571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":128571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:45:15] local.INFO: TCP Data received {"connection_id":128571,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:45:15] local.INFO: Processing buffer {"connection_id":128571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:45:15] local.INFO: Packet analysis {"connection_id":128571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:45:15] local.INFO: Extracted packet for processing {"connection_id":128571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:45:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:45:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:45:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":128571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:45:15] local.INFO: GPS data processed {"connection_id":128571,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:45:15] local.INFO: Acknowledgment sent {"connection_id":128571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:45:20] local.INFO: TCP Data received {"connection_id":128571,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:45:20] local.INFO: Processing buffer {"connection_id":128571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcc0ea8012cb29c0007823c60004900b326..."} 
[2026-07-11 11:45:20] local.INFO: Packet analysis {"connection_id":128571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:45:20] local.INFO: Extracted packet for processing {"connection_id":128571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcc"} 
[2026-07-11 11:45:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456639974400001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783750201000,"timestamp_ms":1783750201000,"timestamp_seconds":1783750201,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcc0ea8"} 
[2026-07-11 11:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 11:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456639974400001,"66":25756,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456639974400001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:45:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456639974400001,"power":25756,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":128571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:45:20] local.INFO: GPS data processed {"connection_id":128571,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:45:20] local.INFO: Acknowledgment sent {"connection_id":128571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:45:39] local.INFO: TCP Data received {"connection_id":130515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcfcbb0012d19a500071fd4a00035015624..."} 
[2026-07-11 11:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcfcbb0012d19a500071fd4a00035015624..."} 
[2026-07-11 11:45:39] local.INFO: Processing buffer {"connection_id":130515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcfcbb0012d19a500071fd4a00035015624..."} 
[2026-07-11 11:45:39] local.INFO: Packet analysis {"connection_id":130515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:45:39] local.INFO: Extracted packet for processing {"connection_id":130515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:45:39] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119526560,"longitude_deg":75.665536,"latitude_deg":11.952656,"altitude":53,"angle":342,"satellites":36,"speed":10,"hex_longitude":"2d19a500","hex_latitude":"071fd4a0","is_valid_coordinates":true} 
[2026-07-11 11:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640111872001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626123689918464,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096424448000,"note":"Value kept but may cause issues"} 
[2026-07-11 11:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783750446000,"timestamp_ms":1783750446000,"timestamp_seconds":1783750446,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcfcbb0"} 
[2026-07-11 11:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 11:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640111872001,"66":14483,"101":206,"83":41984,"24":10,"16":5626123689918464,"45":1848235096424448000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640111872001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:45:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:45:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626123689918464,"km_value":5626123689918.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096424448000,"description":"Unknown IO ID 45"} 
[2026-07-11 11:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640111872001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1848235096424448000}} 
[2026-07-11 11:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":130515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:45:40] local.INFO: GPS data processed {"connection_id":130515,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:45:40] local.INFO: Acknowledgment sent {"connection_id":130515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:46:04] local.INFO: TCP Data received {"connection_id":128389,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:46:04] local.INFO: Processing buffer {"connection_id":128389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:46:04] local.INFO: IMEI packet received {"connection_id":128389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":128389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:46:09] local.INFO: TCP Data received {"connection_id":128389,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:46:09] local.INFO: Processing buffer {"connection_id":128389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:46:09] local.INFO: IMEI packet received {"connection_id":128389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":128389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:46:10] local.INFO: TCP Data received {"connection_id":128389,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:46:10] local.INFO: Processing buffer {"connection_id":128389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:46:10] local.INFO: Packet analysis {"connection_id":128389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:46:10] local.INFO: Extracted packet for processing {"connection_id":128389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:46: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-07-11 11:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:46:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":128389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:46:10] local.INFO: GPS data processed {"connection_id":128389,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:46:10] local.INFO: Acknowledgment sent {"connection_id":128389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:46:15] local.INFO: TCP Data received {"connection_id":128573,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:46:15] local.INFO: Processing buffer {"connection_id":128573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:46:15] local.INFO: IMEI packet received {"connection_id":128573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":128573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:46:20] local.INFO: TCP Data received {"connection_id":128573,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:46:20] local.INFO: Processing buffer {"connection_id":128573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:46:20] local.INFO: IMEI packet received {"connection_id":128573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":128573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:46:21] local.INFO: TCP Data received {"connection_id":128573,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcfdb50012d19a340071fd8880034014924..."} 
[2026-07-11 11:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcfdb50012d19a340071fd8880034014924..."} 
[2026-07-11 11:46:21] local.INFO: Processing buffer {"connection_id":128573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcfdb50012d19a340071fd8880034014924..."} 
[2026-07-11 11:46:21] local.INFO: Packet analysis {"connection_id":128573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:46:21] local.INFO: Extracted packet for processing {"connection_id":128573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:46:21] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119527560,"longitude_deg":75.6654912,"latitude_deg":11.952756,"altitude":52,"angle":329,"satellites":36,"speed":10,"hex_longitude":"2d19a340","hex_latitude":"071fd888","is_valid_coordinates":true} 
[2026-07-11 11:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640114176001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626175229526016,"note":"Value kept but may cause issues"} 
[2026-07-11 11:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252704256000,"note":"Value kept but may cause issues"} 
[2026-07-11 11:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783750450000,"timestamp_ms":1783750450000,"timestamp_seconds":1783750450,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcfdb50"} 
[2026-07-11 11:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 11:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640114176001,"66":14461,"101":206,"83":41984,"24":10,"16":5626175229526016,"45":1847883252704256000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640114176001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:46:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626175229526016,"km_value":5626175229526.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252704256000,"description":"Unknown IO ID 45"} 
[2026-07-11 11:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640114176001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1847883252704256000}} 
[2026-07-11 11:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":128573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:46:21] local.INFO: GPS data processed {"connection_id":128573,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:46:21] local.INFO: Acknowledgment sent {"connection_id":128573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:46:41] local.INFO: TCP Data received {"connection_id":128389,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:46:41] local.INFO: Processing buffer {"connection_id":128389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:46:41] local.INFO: Packet analysis {"connection_id":128389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:46:41] local.INFO: Extracted packet for processing {"connection_id":128389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:46:41] 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-07-11 11:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:46:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":128389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:46:41] local.INFO: GPS data processed {"connection_id":128389,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:46:41] local.INFO: Acknowledgment sent {"connection_id":128389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:47:00] local.INFO: TCP Data received {"connection_id":129291,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:47:00] local.INFO: Processing buffer {"connection_id":129291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:47:00] local.INFO: IMEI packet received {"connection_id":129291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":129291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:47:04] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:47:04] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:47:04] local.INFO: IMEI packet received {"connection_id":130516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":130516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:47:05] local.INFO: TCP Data received {"connection_id":129291,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:47:05] local.INFO: Processing buffer {"connection_id":129291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:47:05] local.INFO: IMEI packet received {"connection_id":129291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":129291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:47:06] local.INFO: TCP Data received {"connection_id":129291,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcfe708012d19a200071fdb380033015725..."} 
[2026-07-11 11:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcfe708012d19a200071fdb380033015725..."} 
[2026-07-11 11:47:06] local.INFO: Processing buffer {"connection_id":129291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcfe708012d19a200071fdb380033015725..."} 
[2026-07-11 11:47:06] local.INFO: Packet analysis {"connection_id":129291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:47:06] local.INFO: Extracted packet for processing {"connection_id":129291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119528248,"longitude_deg":75.6654592,"latitude_deg":11.9528248,"altitude":51,"angle":343,"satellites":37,"speed":9,"hex_longitude":"2d19a200","hex_latitude":"071fdb38","is_valid_coordinates":true} 
[2026-07-11 11:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640115200001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626213884231680,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671495268352,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750453000,"timestamp_ms":1783750453000,"timestamp_seconds":1783750453,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcfe708"} 
[2026-07-11 11:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 11:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:47:06] 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-07-11 11:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640115200001,"66":14428,"101":206,"83":41984,"24":9,"16":5626213884231680,"45":1847390671495268352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640115200001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:47:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626213884231680,"km_value":5626213884231.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671495268352,"description":"Unknown IO ID 45"} 
[2026-07-11 11:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640115200001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1847390671495268352}} 
[2026-07-11 11:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":129291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:47:06] local.INFO: GPS data processed {"connection_id":129291,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:47:06] local.INFO: Acknowledgment sent {"connection_id":129291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:47:09] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:47:09] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:47:09] local.INFO: IMEI packet received {"connection_id":130516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":130516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:47:10] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:47:10] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:47:10] local.INFO: Packet analysis {"connection_id":130516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:47:10] local.INFO: Extracted packet for processing {"connection_id":130516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:47: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-07-11 11:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:47:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":130516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:47:10] local.INFO: GPS data processed {"connection_id":130516,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:47:10] local.INFO: Acknowledgment sent {"connection_id":130516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:47:37] local.INFO: TCP Data received {"connection_id":129291,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fcff6a8012d19a180071fdff80034016626..."} 
[2026-07-11 11:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fcff6a8012d19a180071fdff80034016626..."} 
[2026-07-11 11:47:37] local.INFO: Processing buffer {"connection_id":129291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fcff6a8012d19a180071fdff80034016626..."} 
[2026-07-11 11:47:37] local.INFO: Packet analysis {"connection_id":129291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:47:37] local.INFO: Extracted packet for processing {"connection_id":129291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fcf"} 
[2026-07-11 11:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756654464,"raw_latitude":119529464,"longitude_deg":75.6654464,"latitude_deg":11.9529464,"altitude":52,"angle":358,"satellites":38,"speed":14,"hex_longitude":"2d19a180","hex_latitude":"071fdff8","is_valid_coordinates":true} 
[2026-07-11 11:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640115968001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626274013773824,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827774556160,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783750457000,"timestamp_ms":1783750457000,"timestamp_seconds":1783750457,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fcff6a8"} 
[2026-07-11 11:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 11:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:47:37] 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-07-11 11:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640115968001,"66":14483,"101":206,"83":41984,"24":14,"16":5626274013773824,"45":1847038827774556160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640115968001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:47:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626274013773824,"km_value":5626274013773.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827774556160,"description":"Unknown IO ID 45"} 
[2026-07-11 11:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640115968001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1847038827774556160}} 
[2026-07-11 11:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":129291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:47:37] local.INFO: GPS data processed {"connection_id":129291,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:47:37] local.INFO: Acknowledgment sent {"connection_id":129291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:47:41] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:47:41] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:47:41] local.INFO: Packet analysis {"connection_id":130516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:47:41] local.INFO: Extracted packet for processing {"connection_id":130516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:47:41] 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-07-11 11:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:47:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":130516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:47:41] local.INFO: GPS data processed {"connection_id":130516,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:47:41] local.INFO: Acknowledgment sent {"connection_id":130516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:48:00] local.INFO: TCP Data received {"connection_id":128392,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:48:00] local.INFO: Processing buffer {"connection_id":128392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:48:00] local.INFO: IMEI packet received {"connection_id":128392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":128392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:48:04] local.INFO: TCP Data received {"connection_id":129292,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:48:04] local.INFO: Processing buffer {"connection_id":129292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:48:04] local.INFO: IMEI packet received {"connection_id":129292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":129292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:48:05] local.INFO: TCP Data received {"connection_id":128392,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:48:05] local.INFO: Processing buffer {"connection_id":128392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:48:05] local.INFO: IMEI packet received {"connection_id":128392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":128392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:48:06] local.INFO: TCP Data received {"connection_id":128392,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd02588012d19a100071fed400035015627..."} 
[2026-07-11 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd02588012d19a100071fed400035015627..."} 
[2026-07-11 11:48:06] local.INFO: Processing buffer {"connection_id":128392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd02588012d19a100071fed400035015627..."} 
[2026-07-11 11:48:06] local.INFO: Packet analysis {"connection_id":128392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:48:06] local.INFO: Extracted packet for processing {"connection_id":128392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756654336,"raw_latitude":119532864,"longitude_deg":75.6654336,"latitude_deg":11.9532864,"altitude":53,"angle":342,"satellites":39,"speed":8,"hex_longitude":"2d19a100","hex_latitude":"071fed40","is_valid_coordinates":true} 
[2026-07-11 11:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640116992001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626441517498368,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846898090286512128,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750469000,"timestamp_ms":1783750469000,"timestamp_seconds":1783750469,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd02588"} 
[2026-07-11 11:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 11:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:48:06] 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-07-11 11:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640116992001,"66":14559,"101":206,"83":41984,"24":8,"16":5626441517498368,"45":1846898090286512128},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640116992001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:48:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626441517498368,"km_value":5626441517498.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846898090286512128,"description":"Unknown IO ID 45"} 
[2026-07-11 11:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640116992001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1846898090286512128}} 
[2026-07-11 11:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":128392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:48:06] local.INFO: GPS data processed {"connection_id":128392,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:48:06] local.INFO: Acknowledgment sent {"connection_id":128392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:48:09] local.INFO: TCP Data received {"connection_id":129292,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:48:09] local.INFO: Processing buffer {"connection_id":129292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:48:09] local.INFO: IMEI packet received {"connection_id":129292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":129292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:48:10] local.INFO: TCP Data received {"connection_id":129292,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:48:10] local.INFO: Processing buffer {"connection_id":129292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:48:10] local.INFO: Packet analysis {"connection_id":129292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:48:10] local.INFO: Extracted packet for processing {"connection_id":129292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:48:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":129292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:48:10] local.INFO: GPS data processed {"connection_id":129292,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:48:10] local.INFO: Acknowledgment sent {"connection_id":129292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:48:16] local.INFO: TCP Data received {"connection_id":128391,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:48:16] local.INFO: Processing buffer {"connection_id":128391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:48:16] local.INFO: IMEI packet received {"connection_id":128391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":128391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:48:37] local.INFO: TCP Data received {"connection_id":128392,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd02970012d19a080071fedd00035013227..."} 
[2026-07-11 11:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd02970012d19a080071fedd00035013227..."} 
[2026-07-11 11:48:37] local.INFO: Processing buffer {"connection_id":128392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd02970012d19a080071fedd00035013227..."} 
[2026-07-11 11:48:37] local.INFO: Packet analysis {"connection_id":128392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:48:37] local.INFO: Extracted packet for processing {"connection_id":128392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756654208,"raw_latitude":119533008,"longitude_deg":75.6654208,"latitude_deg":11.9533008,"altitude":53,"angle":306,"satellites":39,"speed":8,"hex_longitude":"2d19a080","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-11 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640120064001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626450107432960,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352799027200,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783750470000,"timestamp_ms":1783750470000,"timestamp_seconds":1783750470,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd02970"} 
[2026-07-11 11:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-11 11:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:48:37] 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-07-11 11:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640120064001,"66":14559,"101":206,"83":41984,"24":8,"16":5626450107432960,"45":1846757352799027200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640120064001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:48:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626450107432960,"km_value":5626450107432.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352799027200,"description":"Unknown IO ID 45"} 
[2026-07-11 11:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640120064001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1846757352799027200}} 
[2026-07-11 11:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":128392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:48:37] local.INFO: GPS data processed {"connection_id":128392,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:48:37] local.INFO: Acknowledgment sent {"connection_id":128392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:48:41] local.INFO: TCP Data received {"connection_id":129292,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:48:41] local.INFO: Processing buffer {"connection_id":129292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:48:41] local.INFO: Packet analysis {"connection_id":129292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:48:41] local.INFO: Extracted packet for processing {"connection_id":129292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:48:41] 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-07-11 11:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:48:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":129292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:48:41] local.INFO: GPS data processed {"connection_id":129292,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:48:41] local.INFO: Acknowledgment sent {"connection_id":129292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:48:45] local.INFO: TCP Data received {"connection_id":130517,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:48:45] local.INFO: Processing buffer {"connection_id":130517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:48:45] local.INFO: IMEI packet received {"connection_id":130517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":130517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:49:00] local.INFO: TCP Data received {"connection_id":128393,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:49:00] local.INFO: Processing buffer {"connection_id":128393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:49:00] local.INFO: IMEI packet received {"connection_id":128393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":128393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:49:04] local.INFO: TCP Data received {"connection_id":129293,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:49:04] local.INFO: Processing buffer {"connection_id":129293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:49:04] local.INFO: IMEI packet received {"connection_id":129293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":129293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:49:05] local.INFO: TCP Data received {"connection_id":128393,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:49:05] local.INFO: Processing buffer {"connection_id":128393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:49:05] local.INFO: IMEI packet received {"connection_id":128393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":128393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:49:08] local.INFO: TCP Data received {"connection_id":128393,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd02d58012d19a000071fee200036012428..."} 
[2026-07-11 11:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd02d58012d19a000071fee200036012428..."} 
[2026-07-11 11:49:08] local.INFO: Processing buffer {"connection_id":128393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd02d58012d19a000071fee200036012428..."} 
[2026-07-11 11:49:08] local.INFO: Packet analysis {"connection_id":128393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:49:08] local.INFO: Extracted packet for processing {"connection_id":128393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756654080,"raw_latitude":119533088,"longitude_deg":75.665408,"latitude_deg":11.9533088,"altitude":54,"angle":292,"satellites":40,"speed":8,"hex_longitude":"2d19a000","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640120320001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626458697367552,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846616615310708736,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783750471000,"timestamp_ms":1783750471000,"timestamp_seconds":1783750471,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd02d58"} 
[2026-07-11 11:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-11 11:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:49:08] 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-07-11 11:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640120320001,"66":14211,"101":206,"83":41984,"24":8,"16":5626458697367552,"45":1846616615310708736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640120320001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:49:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626458697367552,"km_value":5626458697367.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846616615310708736,"description":"Unknown IO ID 45"} 
[2026-07-11 11:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640120320001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1846616615310708736}} 
[2026-07-11 11:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":128393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:49:09] local.INFO: GPS data processed {"connection_id":128393,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:49:09] local.INFO: Acknowledgment sent {"connection_id":128393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:49:09] local.INFO: TCP Data received {"connection_id":129293,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:49:09] local.INFO: Processing buffer {"connection_id":129293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:49:09] local.INFO: IMEI packet received {"connection_id":129293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":129293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:49:10] local.INFO: TCP Data received {"connection_id":129293,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:49:10] local.INFO: Processing buffer {"connection_id":129293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:49:10] local.INFO: Packet analysis {"connection_id":129293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:49:10] local.INFO: Extracted packet for processing {"connection_id":129293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:49:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":129293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:49:10] local.INFO: GPS data processed {"connection_id":129293,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:49:10] local.INFO: Acknowledgment sent {"connection_id":129293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:49:41] local.INFO: TCP Data received {"connection_id":129293,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:49:41] local.INFO: Processing buffer {"connection_id":129293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:49:41] local.INFO: Packet analysis {"connection_id":129293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:49:41] local.INFO: Extracted packet for processing {"connection_id":129293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:49:41] 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-07-11 11:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:49:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":129293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:49:41] local.INFO: GPS data processed {"connection_id":129293,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:49:41] local.INFO: Acknowledgment sent {"connection_id":129293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:49:42] local.INFO: TCP Data received {"connection_id":128393,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd03140012d199f40071fee380036011128..."} 
[2026-07-11 11:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd03140012d199f40071fee380036011128..."} 
[2026-07-11 11:49:42] local.INFO: Processing buffer {"connection_id":128393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd03140012d199f40071fee380036011128..."} 
[2026-07-11 11:49:42] local.INFO: Packet analysis {"connection_id":128393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:49:42] local.INFO: Extracted packet for processing {"connection_id":128393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":119533112,"longitude_deg":75.6653888,"latitude_deg":11.9533112,"altitude":54,"angle":273,"satellites":40,"speed":9,"hex_longitude":"2d199f40","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-07-11 11:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640120576001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626467287302144,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846475877822373888,"note":"Value kept but may cause issues"} 
[2026-07-11 11:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783750472000,"timestamp_ms":1783750472000,"timestamp_seconds":1783750472,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd03140"} 
[2026-07-11 11:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 11:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:49:42] 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-07-11 11:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640120576001,"66":14211,"101":206,"83":41984,"24":9,"16":5626467287302144,"45":1846475877822373888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640120576001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:49:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626467287302144,"km_value":5626467287302.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846475877822373888,"description":"Unknown IO ID 45"} 
[2026-07-11 11:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640120576001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1846475877822373888}} 
[2026-07-11 11:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":128393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:49:43] local.INFO: GPS data processed {"connection_id":128393,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:49:43] local.INFO: Acknowledgment sent {"connection_id":128393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:50:00] local.INFO: TCP Data received {"connection_id":128574,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:50:00] local.INFO: Processing buffer {"connection_id":128574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:50:00] local.INFO: IMEI packet received {"connection_id":128574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":128574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:50:05] local.INFO: TCP Data received {"connection_id":128574,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:50:05] local.INFO: Processing buffer {"connection_id":128574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:50:05] local.INFO: IMEI packet received {"connection_id":128574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":128574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:50:06] local.INFO: TCP Data received {"connection_id":128574,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd040e0012d1999c0071feea00038011028..."} 
[2026-07-11 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd040e0012d1999c0071feea00038011028..."} 
[2026-07-11 11:50:06] local.INFO: Processing buffer {"connection_id":128574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd040e0012d1999c0071feea00038011028..."} 
[2026-07-11 11:50:06] local.INFO: Packet analysis {"connection_id":128574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:50:06] local.INFO: Extracted packet for processing {"connection_id":128574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756652480,"raw_latitude":119533216,"longitude_deg":75.665248,"latitude_deg":11.9533216,"altitude":56,"angle":272,"satellites":40,"speed":15,"hex_longitude":"2d1999c0","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-07-11 11:50: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-07-11 11:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640120832001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846264771589847040,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750476000,"timestamp_ms":1783750476000,"timestamp_seconds":1783750476,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd040e0"} 
[2026-07-11 11:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 11:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 11:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:50:06] 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-07-11 11:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640120832001,"66":14113,"101":206,"83":41984,"24":15,"16":5626536006778880,"45":1846264771589847040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640120832001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:50:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846264771589847040,"description":"Unknown IO ID 45"} 
[2026-07-11 11:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640120832001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846264771589847040}} 
[2026-07-11 11:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":128574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:50:06] local.INFO: GPS data processed {"connection_id":128574,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:50:06] local.INFO: Acknowledgment sent {"connection_id":128574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:50:09] local.INFO: TCP Data received {"connection_id":129294,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:50:09] local.INFO: Processing buffer {"connection_id":129294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:50:09] local.INFO: IMEI packet received {"connection_id":129294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":129294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:50:14] local.INFO: TCP Data received {"connection_id":129294,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:50:14] local.INFO: Processing buffer {"connection_id":129294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:50:14] local.INFO: IMEI packet received {"connection_id":129294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":129294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:50:15] local.INFO: TCP Data received {"connection_id":129294,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:50:15] local.INFO: Processing buffer {"connection_id":129294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:50:15] local.INFO: Packet analysis {"connection_id":129294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:50:15] local.INFO: Extracted packet for processing {"connection_id":129294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:50:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:50:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":129294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:50:15] local.INFO: GPS data processed {"connection_id":129294,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:50:15] local.INFO: Acknowledgment sent {"connection_id":129294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:50:20] local.INFO: TCP Data received {"connection_id":129294,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:50:20] local.INFO: Processing buffer {"connection_id":129294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd0a670012cb29c0007823c60004500b328..."} 
[2026-07-11 11:50:20] local.INFO: Packet analysis {"connection_id":129294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:50:20] local.INFO: Extracted packet for processing {"connection_id":129294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:50:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640051456001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783750502000,"timestamp_ms":1783750502000,"timestamp_seconds":1783750502,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd0a670"} 
[2026-07-11 11:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-11 11:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640051456001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640051456001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:50:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640051456001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":129294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:50:20] local.INFO: GPS data processed {"connection_id":129294,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:50:20] local.INFO: Acknowledgment sent {"connection_id":129294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:50:36] local.INFO: TCP Data received {"connection_id":128574,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd040e0012d1999c0071feea00038011028..."} 
[2026-07-11 11:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd040e0012d1999c0071feea00038011028..."} 
[2026-07-11 11:50:36] local.INFO: Processing buffer {"connection_id":128574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd040e0012d1999c0071feea00038011028..."} 
[2026-07-11 11:50:36] local.INFO: Packet analysis {"connection_id":128574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:50:36] local.INFO: Extracted packet for processing {"connection_id":128574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756652480,"raw_latitude":119533216,"longitude_deg":75.665248,"latitude_deg":11.9533216,"altitude":56,"angle":272,"satellites":40,"speed":15,"hex_longitude":"2d1999c0","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-07-11 11:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783750476000,"timestamp_ms":1783750476000,"timestamp_seconds":1783750476,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd040e0"} 
[2026-07-11 11:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:50:36] 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-07-11 11:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":14113,"101":206,"83":41984,"24":15,"16":5626536006778880,"45":1844716659217965056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:50:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":128574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:50:37] local.INFO: GPS data processed {"connection_id":128574,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:50:37] local.INFO: Acknowledgment sent {"connection_id":128574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:51:00] local.INFO: TCP Data received {"connection_id":130518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:51:00] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:51:00] local.INFO: IMEI packet received {"connection_id":130518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":130518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:51:04] local.INFO: TCP Data received {"connection_id":129296,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:51:04] local.INFO: Processing buffer {"connection_id":129296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:51:04] local.INFO: IMEI packet received {"connection_id":129296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":129296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:51:05] local.INFO: TCP Data received {"connection_id":130518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:51:05] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:51:05] local.INFO: IMEI packet received {"connection_id":130518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":130518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:51:06] local.INFO: TCP Data received {"connection_id":130518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd040e0012d1999c0071feea00038011028..."} 
[2026-07-11 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd040e0012d1999c0071feea00038011028..."} 
[2026-07-11 11:51:06] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd040e0012d1999c0071feea00038011028..."} 
[2026-07-11 11:51:06] local.INFO: Packet analysis {"connection_id":130518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:51:06] local.INFO: Extracted packet for processing {"connection_id":130518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd0"} 
[2026-07-11 11:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756652480,"raw_latitude":119533216,"longitude_deg":75.665248,"latitude_deg":11.9533216,"altitude":56,"angle":272,"satellites":40,"speed":15,"hex_longitude":"2d1999c0","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-07-11 11:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750476000,"timestamp_ms":1783750476000,"timestamp_seconds":1783750476,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd040e0"} 
[2026-07-11 11:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:51:06] 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-07-11 11:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":14113,"101":206,"83":41984,"24":15,"16":5626536006778880,"45":1844716659217965056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 11:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:51:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 11:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":130518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:51:06] local.INFO: GPS data processed {"connection_id":130518,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:51:06] local.INFO: Acknowledgment sent {"connection_id":130518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:51:09] local.INFO: TCP Data received {"connection_id":129296,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:51:09] local.INFO: Processing buffer {"connection_id":129296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:51:09] local.INFO: IMEI packet received {"connection_id":129296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":129296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:51:10] local.INFO: TCP Data received {"connection_id":129296,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:51:10] local.INFO: Processing buffer {"connection_id":129296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:51:10] local.INFO: Packet analysis {"connection_id":129296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:51:10] local.INFO: Extracted packet for processing {"connection_id":129296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:51: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-07-11 11:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:51:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":129296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:51:10] local.INFO: GPS data processed {"connection_id":129296,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:51:10] local.INFO: Acknowledgment sent {"connection_id":129296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:51:37] local.INFO: TCP Data received {"connection_id":130518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:51:37] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:51:37] local.INFO: Packet analysis {"connection_id":130518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:51:37] local.INFO: Extracted packet for processing {"connection_id":130518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51: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-07-11 11:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783750778000,"timestamp_ms":1783750778000,"timestamp_seconds":1783750778,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd4dc90"} 
[2026-07-11 11:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:51:37] 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-07-11 11:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1844716659217965056},"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-07-11 11:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:51:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":130518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:51:37] local.INFO: GPS data processed {"connection_id":130518,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:51:37] local.INFO: Acknowledgment sent {"connection_id":130518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:51:42] local.INFO: TCP Data received {"connection_id":129296,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:51:42] local.INFO: Processing buffer {"connection_id":129296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:51:42] local.INFO: Packet analysis {"connection_id":129296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:51:42] local.INFO: Extracted packet for processing {"connection_id":129296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:51:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":129296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:51:42] local.INFO: GPS data processed {"connection_id":129296,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:51:42] local.INFO: Acknowledgment sent {"connection_id":129296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:52:00] local.INFO: TCP Data received {"connection_id":130519,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:52:00] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:52:00] local.INFO: IMEI packet received {"connection_id":130519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":130519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:52:04] local.INFO: TCP Data received {"connection_id":129297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:52:04] local.INFO: Processing buffer {"connection_id":129297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:52:04] local.INFO: IMEI packet received {"connection_id":129297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":129297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:52:05] local.INFO: TCP Data received {"connection_id":130519,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:52:05] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:52:05] local.INFO: IMEI packet received {"connection_id":130519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":130519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:52:06] local.INFO: TCP Data received {"connection_id":130519,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:52:06] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:52:06] local.INFO: Packet analysis {"connection_id":130519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:52:06] local.INFO: Extracted packet for processing {"connection_id":130519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750778000,"timestamp_ms":1783750778000,"timestamp_seconds":1783750778,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd4dc90"} 
[2026-07-11 11:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1844716659217965056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 11:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:52:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":130519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:52:06] local.INFO: GPS data processed {"connection_id":130519,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:52:06] local.INFO: Acknowledgment sent {"connection_id":130519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:52:09] local.INFO: TCP Data received {"connection_id":129297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:52:09] local.INFO: Processing buffer {"connection_id":129297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:52:09] local.INFO: IMEI packet received {"connection_id":129297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":129297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:52:10] local.INFO: TCP Data received {"connection_id":129297,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:52:10] local.INFO: Processing buffer {"connection_id":129297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:52:10] local.INFO: Packet analysis {"connection_id":129297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:52:10] local.INFO: Extracted packet for processing {"connection_id":129297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:52:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":129297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:52:10] local.INFO: GPS data processed {"connection_id":129297,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:52:10] local.INFO: Acknowledgment sent {"connection_id":129297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:52:37] local.INFO: TCP Data received {"connection_id":130519,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:52:37] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:52:37] local.INFO: Packet analysis {"connection_id":130519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:52:37] local.INFO: Extracted packet for processing {"connection_id":130519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52: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-07-11 11:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783750778000,"timestamp_ms":1783750778000,"timestamp_seconds":1783750778,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd4dc90"} 
[2026-07-11 11:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1844716659217965056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 11:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:52:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":130519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:52:37] local.INFO: GPS data processed {"connection_id":130519,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:52:37] local.INFO: Acknowledgment sent {"connection_id":130519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:52:41] local.INFO: TCP Data received {"connection_id":129297,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:52:41] local.INFO: Processing buffer {"connection_id":129297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:52:41] local.INFO: Packet analysis {"connection_id":129297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:52:41] local.INFO: Extracted packet for processing {"connection_id":129297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:52:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":129297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:52:41] local.INFO: GPS data processed {"connection_id":129297,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:52:41] local.INFO: Acknowledgment sent {"connection_id":129297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:53:00] local.INFO: TCP Data received {"connection_id":128577,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:53:00] local.INFO: Processing buffer {"connection_id":128577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:53:00] local.INFO: IMEI packet received {"connection_id":128577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":128577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:53:05] local.INFO: TCP Data received {"connection_id":128395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:53:05] local.INFO: Processing buffer {"connection_id":128395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:53:05] local.INFO: IMEI packet received {"connection_id":128395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":128395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:53:05] local.INFO: TCP Data received {"connection_id":128577,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:53:05] local.INFO: Processing buffer {"connection_id":128577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:53:05] local.INFO: IMEI packet received {"connection_id":128577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":128577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:53:06] local.INFO: TCP Data received {"connection_id":128577,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:53:06] local.INFO: Processing buffer {"connection_id":128577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:53:06] local.INFO: Packet analysis {"connection_id":128577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:53:06] local.INFO: Extracted packet for processing {"connection_id":128577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750778000,"timestamp_ms":1783750778000,"timestamp_seconds":1783750778,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd4dc90"} 
[2026-07-11 11:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:53:06] 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-07-11 11:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1844716659217965056},"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-07-11 11:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:53:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":128577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:53:06] local.INFO: GPS data processed {"connection_id":128577,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:53:06] local.INFO: Acknowledgment sent {"connection_id":128577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:53:09] local.INFO: TCP Data received {"connection_id":128395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:53:09] local.INFO: Processing buffer {"connection_id":128395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:53:09] local.INFO: IMEI packet received {"connection_id":128395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":128395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:53:10] local.INFO: TCP Data received {"connection_id":128395,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:53:10] local.INFO: Processing buffer {"connection_id":128395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:53:10] local.INFO: Packet analysis {"connection_id":128395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:53:10] local.INFO: Extracted packet for processing {"connection_id":128395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:53:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":128395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:53:10] local.INFO: GPS data processed {"connection_id":128395,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:53:10] local.INFO: Acknowledgment sent {"connection_id":128395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:53:37] local.INFO: TCP Data received {"connection_id":128577,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:53:37] local.INFO: Processing buffer {"connection_id":128577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:53:37] local.INFO: Packet analysis {"connection_id":128577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:53:37] local.INFO: Extracted packet for processing {"connection_id":128577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53: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-07-11 11:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783750778000,"timestamp_ms":1783750778000,"timestamp_seconds":1783750778,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd4dc90"} 
[2026-07-11 11:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:53:37] 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-07-11 11:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1844716659217965056},"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-07-11 11:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:53:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":128577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:53:37] local.INFO: GPS data processed {"connection_id":128577,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:53:37] local.INFO: Acknowledgment sent {"connection_id":128577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:53:42] local.INFO: TCP Data received {"connection_id":128395,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:53:42] local.INFO: Processing buffer {"connection_id":128395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:53:42] local.INFO: Packet analysis {"connection_id":128395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:53:42] local.INFO: Extracted packet for processing {"connection_id":128395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:53:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":128395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:53:42] local.INFO: GPS data processed {"connection_id":128395,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:53:42] local.INFO: Acknowledgment sent {"connection_id":128395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:54:04] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:54:04] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:54:04] local.INFO: IMEI packet received {"connection_id":130520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":130520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:54:05] local.INFO: TCP Data received {"connection_id":129299,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:54:05] local.INFO: Processing buffer {"connection_id":129299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:54:05] local.INFO: IMEI packet received {"connection_id":129299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":129299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:54:09] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:54:09] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:54:09] local.INFO: IMEI packet received {"connection_id":130520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":130520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:54:10] local.INFO: TCP Data received {"connection_id":129299,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:54:10] local.INFO: Processing buffer {"connection_id":129299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:54:10] local.INFO: IMEI packet received {"connection_id":129299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":129299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:54:10] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:54:10] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:54:10] local.INFO: Packet analysis {"connection_id":130520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:54:10] local.INFO: Extracted packet for processing {"connection_id":130520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:54:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":130520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:54:10] local.INFO: GPS data processed {"connection_id":130520,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:54:10] local.INFO: Acknowledgment sent {"connection_id":130520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:54:11] local.INFO: TCP Data received {"connection_id":129298,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:54:11] local.INFO: Processing buffer {"connection_id":129298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:54:11] local.INFO: IMEI packet received {"connection_id":129298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":129298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:54:11] local.INFO: TCP Data received {"connection_id":129299,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:54:11] local.INFO: Processing buffer {"connection_id":129299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:54:11] local.INFO: Packet analysis {"connection_id":129299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:54:11] local.INFO: Extracted packet for processing {"connection_id":129299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783750778000,"timestamp_ms":1783750778000,"timestamp_seconds":1783750778,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd4dc90"} 
[2026-07-11 11:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:54:11] 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-07-11 11:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1844716659217965056},"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-07-11 11:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:54:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":129299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:54:11] local.INFO: GPS data processed {"connection_id":129299,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:54:11] local.INFO: Acknowledgment sent {"connection_id":129299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:54:15] local.INFO: TCP Data received {"connection_id":129299,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:54:15] local.INFO: Processing buffer {"connection_id":129299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:54:15] local.INFO: Packet analysis {"connection_id":129299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:54:15] local.INFO: Extracted packet for processing {"connection_id":129299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783750778000,"timestamp_ms":1783750778000,"timestamp_seconds":1783750778,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd4dc90"} 
[2026-07-11 11:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:54:15] 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-07-11 11:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1844716659217965056},"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-07-11 11:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:54:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":129299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:54:15] local.INFO: GPS data processed {"connection_id":129299,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:54:15] local.INFO: Acknowledgment sent {"connection_id":129299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:54:43] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:54:43] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:54:43] local.INFO: Packet analysis {"connection_id":130520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:54:43] local.INFO: Extracted packet for processing {"connection_id":130520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:54:43] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:54:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":130520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:54:43] local.INFO: GPS data processed {"connection_id":130520,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:54:43] local.INFO: Acknowledgment sent {"connection_id":130520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:54:46] local.INFO: TCP Data received {"connection_id":129300,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:54:46] local.INFO: Processing buffer {"connection_id":129300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 11:54:46] local.INFO: IMEI packet received {"connection_id":129300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 11:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":129300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:55:00] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:55:00] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:55:00] local.INFO: IMEI packet received {"connection_id":128396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":128396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:55:04] local.INFO: TCP Data received {"connection_id":128578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:55:04] local.INFO: Processing buffer {"connection_id":128578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:55:04] local.INFO: IMEI packet received {"connection_id":128578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":128578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:55:05] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:55:05] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:55:05] local.INFO: IMEI packet received {"connection_id":128396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":128396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:55:06] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:55:06] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd4dc90012d197680071fee200039011726..."} 
[2026-07-11 11:55:06] local.INFO: Packet analysis {"connection_id":128396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:55:06] local.INFO: Extracted packet for processing {"connection_id":128396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd4"} 
[2026-07-11 11:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640121856001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659217965056,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783750778000,"timestamp_ms":1783750778000,"timestamp_seconds":1783750778,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd4dc90"} 
[2026-07-11 11:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 11:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:55:06] 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-07-11 11:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640121856001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1844716659217965056},"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-07-11 11:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640121856001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:55:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659217965056,"description":"Unknown IO ID 45"} 
[2026-07-11 11:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640121856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844716659217965056}} 
[2026-07-11 11:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":128396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:55:06] local.INFO: GPS data processed {"connection_id":128396,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:55:06] local.INFO: Acknowledgment sent {"connection_id":128396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:55:09] local.INFO: TCP Data received {"connection_id":128578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:55:09] local.INFO: Processing buffer {"connection_id":128578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:55:09] local.INFO: IMEI packet received {"connection_id":128578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":128578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:55:10] local.INFO: TCP Data received {"connection_id":128578,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:55:10] local.INFO: Processing buffer {"connection_id":128578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:55:10] local.INFO: Packet analysis {"connection_id":128578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:55:10] local.INFO: Extracted packet for processing {"connection_id":128578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:55: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-07-11 11:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:55:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":128578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:55:10] local.INFO: GPS data processed {"connection_id":128578,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:55:10] local.INFO: Acknowledgment sent {"connection_id":128578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:55:37] local.INFO: TCP Data received {"connection_id":128396,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:55:37] local.INFO: Processing buffer {"connection_id":128396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:55:37] local.INFO: Packet analysis {"connection_id":128396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:55:37] local.INFO: Extracted packet for processing {"connection_id":128396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55: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-07-11 11:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 11:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 11:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:55:37] 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-07-11 11:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 11:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:55:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 11:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 11:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":128396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:55:37] local.INFO: GPS data processed {"connection_id":128396,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:55:37] local.INFO: Acknowledgment sent {"connection_id":128396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:55:41] local.INFO: TCP Data received {"connection_id":128578,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:55:41] local.INFO: Processing buffer {"connection_id":128578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd53e38012cb29c0007823c60004600b326..."} 
[2026-07-11 11:55:41] local.INFO: Packet analysis {"connection_id":128578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:55:41] local.INFO: Extracted packet for processing {"connection_id":128578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd5"} 
[2026-07-11 11:55:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640128512001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783750803000,"timestamp_ms":1783750803000,"timestamp_seconds":1783750803,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd53e38"} 
[2026-07-11 11:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640128512001,"66":25734,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640128512001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:55:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640128512001,"power":25734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":128578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:55:41] local.INFO: GPS data processed {"connection_id":128578,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:55:41] local.INFO: Acknowledgment sent {"connection_id":128578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:56:00] local.INFO: TCP Data received {"connection_id":128397,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:56:00] local.INFO: Processing buffer {"connection_id":128397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:56:00] local.INFO: IMEI packet received {"connection_id":128397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":128397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:56:05] local.INFO: TCP Data received {"connection_id":128397,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:56:05] local.INFO: Processing buffer {"connection_id":128397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:56:05] local.INFO: IMEI packet received {"connection_id":128397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":128397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:56:06] local.INFO: TCP Data received {"connection_id":128397,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:56:06] local.INFO: Processing buffer {"connection_id":128397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:56:06] local.INFO: Packet analysis {"connection_id":128397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:56:06] local.INFO: Extracted packet for processing {"connection_id":128397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 11:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 11:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:56:06] 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-07-11 11:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 11:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:56:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 11:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 11:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":128397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:56:06] local.INFO: GPS data processed {"connection_id":128397,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:56:06] local.INFO: Acknowledgment sent {"connection_id":128397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:56:09] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:56:09] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:56:09] local.INFO: IMEI packet received {"connection_id":130522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":130522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:56:14] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:56:14] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:56:14] local.INFO: IMEI packet received {"connection_id":130522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":130522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:56:15] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:56:15] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:56:15] local.INFO: Packet analysis {"connection_id":130522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:56:15] local.INFO: Extracted packet for processing {"connection_id":130522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 11:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:56:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":130522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:56:15] local.INFO: GPS data processed {"connection_id":130522,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:56:15] local.INFO: Acknowledgment sent {"connection_id":130522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:56:37] local.INFO: TCP Data received {"connection_id":128397,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:56:37] local.INFO: Processing buffer {"connection_id":128397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:56:37] local.INFO: Packet analysis {"connection_id":128397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:56:37] local.INFO: Extracted packet for processing {"connection_id":128397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56: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-07-11 11:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 11:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 11:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:56:37] 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-07-11 11:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 11:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:56:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 11:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 11:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":128397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:56:37] local.INFO: GPS data processed {"connection_id":128397,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:56:37] local.INFO: Acknowledgment sent {"connection_id":128397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:56:46] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:56:46] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:56:46] local.INFO: Packet analysis {"connection_id":130522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:56:46] local.INFO: Extracted packet for processing {"connection_id":130522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:56:46] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 11:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:56:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":130522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:56:46] local.INFO: GPS data processed {"connection_id":130522,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:56:46] local.INFO: Acknowledgment sent {"connection_id":130522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:57:00] local.INFO: TCP Data received {"connection_id":129301,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:57:00] local.INFO: Processing buffer {"connection_id":129301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:57:00] local.INFO: IMEI packet received {"connection_id":129301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":129301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:57:04] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:57:04] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:57:04] local.INFO: IMEI packet received {"connection_id":130523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":130523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:57:05] local.INFO: TCP Data received {"connection_id":129301,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:57:05] local.INFO: Processing buffer {"connection_id":129301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:57:05] local.INFO: IMEI packet received {"connection_id":129301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":129301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:57:06] local.INFO: TCP Data received {"connection_id":129301,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:57:06] local.INFO: Processing buffer {"connection_id":129301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:57:06] local.INFO: Packet analysis {"connection_id":129301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:57:06] local.INFO: Extracted packet for processing {"connection_id":129301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 11:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 11:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:57:06] 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-07-11 11:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 11:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 11:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 11:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":129301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:57:06] local.INFO: GPS data processed {"connection_id":129301,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:57:06] local.INFO: Acknowledgment sent {"connection_id":129301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:57:09] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:57:09] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:57:09] local.INFO: IMEI packet received {"connection_id":130523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":130523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:57:10] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:57:10] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:57:10] local.INFO: Packet analysis {"connection_id":130523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:57:10] local.INFO: Extracted packet for processing {"connection_id":130523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 11:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:57:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":130523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:57:10] local.INFO: GPS data processed {"connection_id":130523,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:57:10] local.INFO: Acknowledgment sent {"connection_id":130523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:57:37] local.INFO: TCP Data received {"connection_id":129301,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:57:37] local.INFO: Processing buffer {"connection_id":129301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:57:37] local.INFO: Packet analysis {"connection_id":129301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:57:37] local.INFO: Extracted packet for processing {"connection_id":129301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57: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-07-11 11:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 11:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 11:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:57:37] 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-07-11 11:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 11:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:57:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 11:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 11:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":129301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:57:37] local.INFO: GPS data processed {"connection_id":129301,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:57:37] local.INFO: Acknowledgment sent {"connection_id":129301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:57:41] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:57:41] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:57:41] local.INFO: Packet analysis {"connection_id":130523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:57:41] local.INFO: Extracted packet for processing {"connection_id":130523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 11:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:57:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:57:41] local.INFO: GPS data processed {"connection_id":130523,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:57:41] local.INFO: Acknowledgment sent {"connection_id":130523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:58:00] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:58:00] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:58:00] local.INFO: IMEI packet received {"connection_id":130524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":130524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:58:05] local.INFO: TCP Data received {"connection_id":128580,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:58:05] local.INFO: Processing buffer {"connection_id":128580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:58:05] local.INFO: IMEI packet received {"connection_id":128580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:58:05] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:58:05] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:58:05] local.INFO: IMEI packet received {"connection_id":130524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":130524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:58:06] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:58:06] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:58:06] local.INFO: Packet analysis {"connection_id":130524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:58:06] local.INFO: Extracted packet for processing {"connection_id":130524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 11:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 11:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:58:06] 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-07-11 11:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 11:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 11:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 11:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":130524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:58:06] local.INFO: GPS data processed {"connection_id":130524,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:58:06] local.INFO: Acknowledgment sent {"connection_id":130524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:58:09] local.INFO: TCP Data received {"connection_id":128580,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:58:09] local.INFO: Processing buffer {"connection_id":128580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:58:09] local.INFO: IMEI packet received {"connection_id":128580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":128580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:58:10] local.INFO: TCP Data received {"connection_id":128580,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:58:10] local.INFO: Processing buffer {"connection_id":128580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:58:10] local.INFO: Packet analysis {"connection_id":128580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:58:10] local.INFO: Extracted packet for processing {"connection_id":128580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 11:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:58: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-07-11 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":128580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:58:10] local.INFO: GPS data processed {"connection_id":128580,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:58:10] local.INFO: Acknowledgment sent {"connection_id":128580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:58:37] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:58:37] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:58:37] local.INFO: Packet analysis {"connection_id":130524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:58:37] local.INFO: Extracted packet for processing {"connection_id":130524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58: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-07-11 11:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 11:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 11:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:58:37] 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-07-11 11:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 11:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:58:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 11:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 11:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":130524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:58:37] local.INFO: GPS data processed {"connection_id":130524,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:58:37] local.INFO: Acknowledgment sent {"connection_id":130524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:58:41] local.INFO: TCP Data received {"connection_id":128580,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:58:41] local.INFO: Processing buffer {"connection_id":128580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:58:41] local.INFO: Packet analysis {"connection_id":128580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:58:41] local.INFO: Extracted packet for processing {"connection_id":128580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 11:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:58:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":128580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:58:41] local.INFO: GPS data processed {"connection_id":128580,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:58:41] local.INFO: Acknowledgment sent {"connection_id":128580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:59:00] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:59:00] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:59:00] local.INFO: IMEI packet received {"connection_id":130525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 11:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":130525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:59:04] local.INFO: TCP Data received {"connection_id":129303,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:59:04] local.INFO: Processing buffer {"connection_id":129303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:59:04] local.INFO: IMEI packet received {"connection_id":129303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 11:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":129303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 11:59:05] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:59:05] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 11:59:05] local.INFO: IMEI packet received {"connection_id":130525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 11:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":130525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:59:06] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:59:06] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:59:06] local.INFO: Packet analysis {"connection_id":130525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:59:06] local.INFO: Extracted packet for processing {"connection_id":130525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11: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-07-11 11:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 11:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 11:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11: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-07-11 11:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:59:06] 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-07-11 11:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 11:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 11:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 11:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":130525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:59:06] local.INFO: GPS data processed {"connection_id":130525,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:59:06] local.INFO: Acknowledgment sent {"connection_id":130525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:59:09] local.INFO: TCP Data received {"connection_id":129303,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:59:09] local.INFO: Processing buffer {"connection_id":129303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 11:59:09] local.INFO: IMEI packet received {"connection_id":129303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":129303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 11:59:10] local.INFO: TCP Data received {"connection_id":129303,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:59:10] local.INFO: Processing buffer {"connection_id":129303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:59:10] local.INFO: Packet analysis {"connection_id":129303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:59:10] local.INFO: Extracted packet for processing {"connection_id":129303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 11:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:59:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":129303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:59:10] local.INFO: GPS data processed {"connection_id":129303,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:59:10] local.INFO: Acknowledgment sent {"connection_id":129303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:59:37] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:59:37] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 11:59:37] local.INFO: Packet analysis {"connection_id":130525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:59:37] local.INFO: Extracted packet for processing {"connection_id":130525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 11:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59: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-07-11 11:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 11:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 11:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 11:59:37] 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-07-11 11:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 11:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 11:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 11:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 11:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 11:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:59:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 11:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 11:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 11:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 11:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":130525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:59:37] local.INFO: GPS data processed {"connection_id":130525,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:59:37] local.INFO: Acknowledgment sent {"connection_id":130525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 11:59:41] local.INFO: TCP Data received {"connection_id":129303,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:59:41] local.INFO: Processing buffer {"connection_id":129303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 11:59:41] local.INFO: Packet analysis {"connection_id":129303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:59:41] local.INFO: Extracted packet for processing {"connection_id":129303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 11:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 11:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 11:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 11:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 11:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 11:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 11:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 11:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 11:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 11:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 11:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 11:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 11:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 11:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 11:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 11:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 11:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 11:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 11:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 11:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 11:59:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 11:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 11:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 11:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 11:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 11:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":129303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 11:59:41] local.INFO: GPS data processed {"connection_id":129303,"processed":1,"errors":0,"total":1} 
[2026-07-11 11:59:41] local.INFO: Acknowledgment sent {"connection_id":129303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:00:01] local.INFO: TCP Data received {"connection_id":128399,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:00:01] local.INFO: Processing buffer {"connection_id":128399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:00:01] local.INFO: IMEI packet received {"connection_id":128399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":128399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:00:04] local.INFO: TCP Data received {"connection_id":129304,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:00:04] local.INFO: Processing buffer {"connection_id":129304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:00:04] local.INFO: IMEI packet received {"connection_id":129304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":129304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:00:05] local.INFO: TCP Data received {"connection_id":128581,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:00:05] local.INFO: Processing buffer {"connection_id":128581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:00:05] local.INFO: IMEI packet received {"connection_id":128581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":128581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:00:09] local.INFO: TCP Data received {"connection_id":129304,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:00:09] local.INFO: Processing buffer {"connection_id":129304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:00:09] local.INFO: IMEI packet received {"connection_id":129304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":129304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:00:10] local.INFO: TCP Data received {"connection_id":128581,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:00:10] local.INFO: Processing buffer {"connection_id":128581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:00:10] local.INFO: IMEI packet received {"connection_id":128581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":128581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:00:10] local.INFO: TCP Data received {"connection_id":129304,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 12:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 12:00:10] local.INFO: Processing buffer {"connection_id":129304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 12:00:10] local.INFO: Packet analysis {"connection_id":129304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 12:00:10] local.INFO: Extracted packet for processing {"connection_id":129304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 12:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 12:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:00: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-07-11 12:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 12:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:00:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":129304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:00:10] local.INFO: GPS data processed {"connection_id":129304,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:00:10] local.INFO: Acknowledgment sent {"connection_id":129304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:00:11] local.INFO: TCP Data received {"connection_id":128581,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 12:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 12:00:11] local.INFO: Processing buffer {"connection_id":128581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd97458012d197680071fee200039011727..."} 
[2026-07-11 12:00:11] local.INFO: Packet analysis {"connection_id":128581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 12:00:11] local.INFO: Extracted packet for processing {"connection_id":128581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 12:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640199168001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783751079000,"timestamp_ms":1783751079000,"timestamp_seconds":1783751079,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd97458"} 
[2026-07-11 12:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:00:11] 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-07-11 12:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640199168001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640199168001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:00:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640199168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":128581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:00:11] local.INFO: GPS data processed {"connection_id":128581,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:00:11] local.INFO: Acknowledgment sent {"connection_id":128581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:00:41] local.INFO: TCP Data received {"connection_id":128581,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:00:41] local.INFO: Processing buffer {"connection_id":128581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:00:41] local.INFO: Packet analysis {"connection_id":128581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:00:41] local.INFO: Extracted packet for processing {"connection_id":128581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:00:41] 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-07-11 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:00:41] 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-07-11 12:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:00:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:00:41] local.INFO: TCP Data received {"connection_id":129304,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 12:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 12:00:41] local.INFO: Processing buffer {"connection_id":129304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fd9d600012cb29c0007823c60004300b326..."} 
[2026-07-11 12:00:41] local.INFO: Packet analysis {"connection_id":129304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 12:00:41] local.INFO: Extracted packet for processing {"connection_id":129304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fd9"} 
[2026-07-11 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640205568001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751104000,"timestamp_ms":1783751104000,"timestamp_seconds":1783751104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fd9d600"} 
[2026-07-11 12:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 12:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640205568001,"66":25691,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640205568001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:00:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640205568001,"power":25691,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":129304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:00:41] local.INFO: GPS data processed {"connection_id":129304,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:00:41] local.INFO: Acknowledgment sent {"connection_id":129304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":128581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:00:42] local.INFO: GPS data processed {"connection_id":128581,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:00:42] local.INFO: Acknowledgment sent {"connection_id":128581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:00:51] local.INFO: TCP Data received {"connection_id":128582,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:00:51] local.INFO: Processing buffer {"connection_id":128582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:00:51] local.INFO: IMEI packet received {"connection_id":128582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":128582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:01:00] local.INFO: TCP Data received {"connection_id":130526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:01:00] local.INFO: Processing buffer {"connection_id":130526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:01:00] local.INFO: IMEI packet received {"connection_id":130526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":130526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:01:05] local.INFO: TCP Data received {"connection_id":130526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:01:05] local.INFO: Processing buffer {"connection_id":130526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:01:05] local.INFO: IMEI packet received {"connection_id":130526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":130526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:01:06] local.INFO: TCP Data received {"connection_id":130526,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:01:06] local.INFO: Processing buffer {"connection_id":130526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:01:06] local.INFO: Packet analysis {"connection_id":130526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:01:06] local.INFO: Extracted packet for processing {"connection_id":130526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:01:06] 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-07-11 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:01:06] 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-07-11 12:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:01:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":130526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:01:06] local.INFO: GPS data processed {"connection_id":130526,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:01:06] local.INFO: Acknowledgment sent {"connection_id":130526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:01:09] local.INFO: TCP Data received {"connection_id":130527,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:01:09] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:01:09] local.INFO: IMEI packet received {"connection_id":130527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":130527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:01:14] local.INFO: TCP Data received {"connection_id":130527,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:01:14] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:01:14] local.INFO: IMEI packet received {"connection_id":130527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":130527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:01:15] local.INFO: TCP Data received {"connection_id":130527,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:01:15] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:01:15] local.INFO: Packet analysis {"connection_id":130527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:01:15] local.INFO: Extracted packet for processing {"connection_id":130527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:01:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:01:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":130527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:01:15] local.INFO: GPS data processed {"connection_id":130527,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:01:15] local.INFO: Acknowledgment sent {"connection_id":130527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:01:37] local.INFO: TCP Data received {"connection_id":130526,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:01:37] local.INFO: Processing buffer {"connection_id":130526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:01:37] local.INFO: Packet analysis {"connection_id":130526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:01:37] local.INFO: Extracted packet for processing {"connection_id":130526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01: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-07-11 12:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:01:37] 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-07-11 12: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:01:37] 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-07-11 12:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:01:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":130526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:01:37] local.INFO: GPS data processed {"connection_id":130526,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:01:37] local.INFO: Acknowledgment sent {"connection_id":130526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:01:46] local.INFO: TCP Data received {"connection_id":130527,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:01:46] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:01:46] local.INFO: Packet analysis {"connection_id":130527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:01:46] local.INFO: Extracted packet for processing {"connection_id":130527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:01:46] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:01:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:01:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":130527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:01:46] local.INFO: GPS data processed {"connection_id":130527,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:01:46] local.INFO: Acknowledgment sent {"connection_id":130527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:02:00] local.INFO: TCP Data received {"connection_id":128400,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:02:00] local.INFO: Processing buffer {"connection_id":128400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:02:00] local.INFO: IMEI packet received {"connection_id":128400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":128400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:02:04] local.INFO: TCP Data received {"connection_id":129305,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:02:04] local.INFO: Processing buffer {"connection_id":129305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:02:04] local.INFO: IMEI packet received {"connection_id":129305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":129305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:02:05] local.INFO: TCP Data received {"connection_id":128400,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:02:05] local.INFO: Processing buffer {"connection_id":128400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:02:05] local.INFO: IMEI packet received {"connection_id":128400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":128400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:02:06] local.INFO: TCP Data received {"connection_id":128400,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:02:06] local.INFO: Processing buffer {"connection_id":128400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:02:06] local.INFO: Packet analysis {"connection_id":128400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:02:06] local.INFO: Extracted packet for processing {"connection_id":128400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:02:06] 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-07-11 12:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:02:06] 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-07-11 12:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":128400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:02:06] local.INFO: GPS data processed {"connection_id":128400,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:02:06] local.INFO: Acknowledgment sent {"connection_id":128400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:02:09] local.INFO: TCP Data received {"connection_id":129305,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:02:09] local.INFO: Processing buffer {"connection_id":129305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:02:09] local.INFO: IMEI packet received {"connection_id":129305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":129305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:02:10] local.INFO: TCP Data received {"connection_id":129305,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:02:10] local.INFO: Processing buffer {"connection_id":129305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:02:10] local.INFO: Packet analysis {"connection_id":129305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:02:10] local.INFO: Extracted packet for processing {"connection_id":129305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:02: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-07-11 12: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:02:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":129305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:02:10] local.INFO: GPS data processed {"connection_id":129305,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:02:10] local.INFO: Acknowledgment sent {"connection_id":129305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:02:37] local.INFO: TCP Data received {"connection_id":128400,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:02:37] local.INFO: Processing buffer {"connection_id":128400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:02:37] local.INFO: Packet analysis {"connection_id":128400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:02:37] local.INFO: Extracted packet for processing {"connection_id":128400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02: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-07-11 12:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:02:37] 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-07-11 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:02:37] 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-07-11 12:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:02:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":128400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:02:37] local.INFO: GPS data processed {"connection_id":128400,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:02:37] local.INFO: Acknowledgment sent {"connection_id":128400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:02:41] local.INFO: TCP Data received {"connection_id":129305,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:02:41] local.INFO: Processing buffer {"connection_id":129305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:02:41] local.INFO: Packet analysis {"connection_id":129305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:02:41] local.INFO: Extracted packet for processing {"connection_id":129305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:02:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":129305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:02:41] local.INFO: GPS data processed {"connection_id":129305,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:02:41] local.INFO: Acknowledgment sent {"connection_id":129305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:03:00] local.INFO: TCP Data received {"connection_id":128401,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:03:00] local.INFO: Processing buffer {"connection_id":128401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:03:00] local.INFO: IMEI packet received {"connection_id":128401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":128401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:03:05] local.INFO: TCP Data received {"connection_id":128401,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:03:05] local.INFO: Processing buffer {"connection_id":128401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:03:05] local.INFO: IMEI packet received {"connection_id":128401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:03:06] local.INFO: TCP Data received {"connection_id":128401,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:03:06] local.INFO: Processing buffer {"connection_id":128401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:03:06] local.INFO: Packet analysis {"connection_id":128401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:03:06] local.INFO: Extracted packet for processing {"connection_id":128401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:03:06] 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-07-11 12:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:03:06] 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-07-11 12:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:03:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":128401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:03:06] local.INFO: GPS data processed {"connection_id":128401,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:03:06] local.INFO: Acknowledgment sent {"connection_id":128401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:03:06] local.INFO: TCP Data received {"connection_id":130530,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:03:06] local.INFO: Processing buffer {"connection_id":130530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:03:06] local.INFO: IMEI packet received {"connection_id":130530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":130530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:03:09] local.INFO: TCP Data received {"connection_id":130530,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:03:09] local.INFO: Processing buffer {"connection_id":130530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:03:09] local.INFO: IMEI packet received {"connection_id":130530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":130530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:03:10] local.INFO: TCP Data received {"connection_id":130530,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:03:10] local.INFO: Processing buffer {"connection_id":130530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:03:10] local.INFO: Packet analysis {"connection_id":130530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:03:10] local.INFO: Extracted packet for processing {"connection_id":130530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:03:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":130530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:03:10] local.INFO: GPS data processed {"connection_id":130530,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:03:10] local.INFO: Acknowledgment sent {"connection_id":130530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:03:37] local.INFO: TCP Data received {"connection_id":128401,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:03:37] local.INFO: Processing buffer {"connection_id":128401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:03:37] local.INFO: Packet analysis {"connection_id":128401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:03:37] local.INFO: Extracted packet for processing {"connection_id":128401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03: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-07-11 12:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:03:37] 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-07-11 12:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:03:37] 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-07-11 12:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:03:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":128401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:03:37] local.INFO: GPS data processed {"connection_id":128401,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:03:37] local.INFO: Acknowledgment sent {"connection_id":128401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:03:41] local.INFO: TCP Data received {"connection_id":130530,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:03:41] local.INFO: Processing buffer {"connection_id":130530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:03:41] local.INFO: Packet analysis {"connection_id":130530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:03:41] local.INFO: Extracted packet for processing {"connection_id":130530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:03:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":130530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:03:42] local.INFO: GPS data processed {"connection_id":130530,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:03:42] local.INFO: Acknowledgment sent {"connection_id":130530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:04:00] local.INFO: TCP Data received {"connection_id":128584,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:04:00] local.INFO: Processing buffer {"connection_id":128584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:04:00] local.INFO: IMEI packet received {"connection_id":128584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":128584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:04:04] local.INFO: TCP Data received {"connection_id":129306,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:04:04] local.INFO: Processing buffer {"connection_id":129306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:04:04] local.INFO: IMEI packet received {"connection_id":129306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":129306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:04:05] local.INFO: TCP Data received {"connection_id":128584,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:04:05] local.INFO: Processing buffer {"connection_id":128584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:04:05] local.INFO: IMEI packet received {"connection_id":128584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:04:06] local.INFO: TCP Data received {"connection_id":128584,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:04:06] local.INFO: Processing buffer {"connection_id":128584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:04:06] local.INFO: Packet analysis {"connection_id":128584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:04:06] local.INFO: Extracted packet for processing {"connection_id":128584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:04:06] 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-07-11 12:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:04:06] 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-07-11 12:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":128584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:04:06] local.INFO: GPS data processed {"connection_id":128584,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:04:06] local.INFO: Acknowledgment sent {"connection_id":128584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:04:11] local.INFO: TCP Data received {"connection_id":129306,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:04:11] local.INFO: Processing buffer {"connection_id":129306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:04:11] local.INFO: IMEI packet received {"connection_id":129306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":129306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:04:12] local.INFO: TCP Data received {"connection_id":129306,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:04:12] local.INFO: Processing buffer {"connection_id":129306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:04:12] local.INFO: Packet analysis {"connection_id":129306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:04:12] local.INFO: Extracted packet for processing {"connection_id":129306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:04:12] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:04:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":129306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:04:12] local.INFO: GPS data processed {"connection_id":129306,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:04:12] local.INFO: Acknowledgment sent {"connection_id":129306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:04:37] local.INFO: TCP Data received {"connection_id":128584,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:04:37] local.INFO: Processing buffer {"connection_id":128584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:04:37] local.INFO: Packet analysis {"connection_id":128584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:04:37] local.INFO: Extracted packet for processing {"connection_id":128584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04: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-07-11 12:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:04:37] 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-07-11 12: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:04:37] 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-07-11 12:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:04:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":128584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:04:37] local.INFO: GPS data processed {"connection_id":128584,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:04:37] local.INFO: Acknowledgment sent {"connection_id":128584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:04:43] local.INFO: TCP Data received {"connection_id":129306,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:04:43] local.INFO: Processing buffer {"connection_id":129306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:04:43] local.INFO: Packet analysis {"connection_id":129306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:04:43] local.INFO: Extracted packet for processing {"connection_id":129306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:04:43] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:04:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":129306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:04:43] local.INFO: GPS data processed {"connection_id":129306,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:04:43] local.INFO: Acknowledgment sent {"connection_id":129306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:05:04] local.INFO: TCP Data received {"connection_id":128404,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:05:04] local.INFO: Processing buffer {"connection_id":128404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:05:04] local.INFO: IMEI packet received {"connection_id":128404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":128404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:05:05] local.INFO: TCP Data received {"connection_id":128403,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:05:05] local.INFO: Processing buffer {"connection_id":128403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:05:05] local.INFO: IMEI packet received {"connection_id":128403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":128403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:05:10] local.INFO: TCP Data received {"connection_id":128403,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:05:10] local.INFO: Processing buffer {"connection_id":128403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:05:10] local.INFO: IMEI packet received {"connection_id":128403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":128403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:05:10] local.INFO: TCP Data received {"connection_id":128404,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:05:10] local.INFO: Processing buffer {"connection_id":128404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:05:10] local.INFO: IMEI packet received {"connection_id":128404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":128404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:05:11] local.INFO: TCP Data received {"connection_id":128403,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:05:11] local.INFO: Processing buffer {"connection_id":128403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:05:11] local.INFO: Packet analysis {"connection_id":128403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:05:11] local.INFO: Extracted packet for processing {"connection_id":128403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:05:11] 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-07-11 12:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:05:11] 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-07-11 12:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:05:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":128403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:05:11] local.INFO: GPS data processed {"connection_id":128403,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:05:11] local.INFO: Acknowledgment sent {"connection_id":128403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:05:11] local.INFO: TCP Data received {"connection_id":128404,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:05:11] local.INFO: Processing buffer {"connection_id":128404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:05:11] local.INFO: Packet analysis {"connection_id":128404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:05:11] local.INFO: Extracted packet for processing {"connection_id":128404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":128404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:05:11] local.INFO: GPS data processed {"connection_id":128404,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:05:11] local.INFO: Acknowledgment sent {"connection_id":128404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:05:15] local.INFO: TCP Data received {"connection_id":128403,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:05:15] local.INFO: Processing buffer {"connection_id":128403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde0c20012d197680071fee200039011726..."} 
[2026-07-11 12:05:15] local.INFO: Packet analysis {"connection_id":128403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:05:15] local.INFO: Extracted packet for processing {"connection_id":128403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640276224001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783751380000,"timestamp_ms":1783751380000,"timestamp_seconds":1783751380,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde0c20"} 
[2026-07-11 12:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:05:15] 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-07-11 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:05:15] 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-07-11 12:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640276224001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640276224001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:05:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640276224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":128403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:05:15] local.INFO: GPS data processed {"connection_id":128403,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:05:15] local.INFO: Acknowledgment sent {"connection_id":128403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:05:42] local.INFO: TCP Data received {"connection_id":128404,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:05:42] local.INFO: Processing buffer {"connection_id":128404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fde6dc8012cb29c0007823c60004500b327..."} 
[2026-07-11 12:05:42] local.INFO: Packet analysis {"connection_id":128404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:05:42] local.INFO: Extracted packet for processing {"connection_id":128404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fde"} 
[2026-07-11 12:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640282624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783751405000,"timestamp_ms":1783751405000,"timestamp_seconds":1783751405,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fde6dc8"} 
[2026-07-11 12:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 12:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640282624001,"66":25615,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640282624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:05:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640282624001,"power":25615,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":128404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:05:42] local.INFO: GPS data processed {"connection_id":128404,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:05:42] local.INFO: Acknowledgment sent {"connection_id":128404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:06:00] local.INFO: TCP Data received {"connection_id":130532,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:06:00] local.INFO: Processing buffer {"connection_id":130532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:06:00] local.INFO: IMEI packet received {"connection_id":130532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":130532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:06:04] local.INFO: TCP Data received {"connection_id":129308,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:06:04] local.INFO: Processing buffer {"connection_id":129308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:06:04] local.INFO: IMEI packet received {"connection_id":129308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":129308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:06:05] local.INFO: TCP Data received {"connection_id":130532,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:06:05] local.INFO: Processing buffer {"connection_id":130532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:06:05] local.INFO: IMEI packet received {"connection_id":130532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":130532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:06:06] local.INFO: TCP Data received {"connection_id":130532,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:06:06] local.INFO: Processing buffer {"connection_id":130532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:06:06] local.INFO: Packet analysis {"connection_id":130532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:06:06] local.INFO: Extracted packet for processing {"connection_id":130532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:06:06] 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-07-11 12:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:06:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":130532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:06:06] local.INFO: GPS data processed {"connection_id":130532,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:06:06] local.INFO: Acknowledgment sent {"connection_id":130532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:06:09] local.INFO: TCP Data received {"connection_id":129308,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:06:09] local.INFO: Processing buffer {"connection_id":129308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:06:09] local.INFO: IMEI packet received {"connection_id":129308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":129308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:06:10] local.INFO: TCP Data received {"connection_id":129308,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:06:10] local.INFO: Processing buffer {"connection_id":129308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:06:10] local.INFO: Packet analysis {"connection_id":129308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:06:10] local.INFO: Extracted packet for processing {"connection_id":129308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:06: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-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:06:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":129308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:06:10] local.INFO: GPS data processed {"connection_id":129308,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:06:10] local.INFO: Acknowledgment sent {"connection_id":129308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:06:16] local.INFO: TCP Data received {"connection_id":129307,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:06:16] local.INFO: Processing buffer {"connection_id":129307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:06:16] local.INFO: IMEI packet received {"connection_id":129307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":129307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:06:37] local.INFO: TCP Data received {"connection_id":130532,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:06:37] local.INFO: Processing buffer {"connection_id":130532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:06:37] local.INFO: Packet analysis {"connection_id":130532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:06:37] local.INFO: Extracted packet for processing {"connection_id":130532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06: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-07-11 12:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:06:37] 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-07-11 12:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:06:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":130532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:06:37] local.INFO: GPS data processed {"connection_id":130532,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:06:37] local.INFO: Acknowledgment sent {"connection_id":130532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:06:41] local.INFO: TCP Data received {"connection_id":129308,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:06:41] local.INFO: Processing buffer {"connection_id":129308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:06:41] local.INFO: Packet analysis {"connection_id":129308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:06:41] local.INFO: Extracted packet for processing {"connection_id":129308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:06:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":129308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:06:41] local.INFO: GPS data processed {"connection_id":129308,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:06:41] local.INFO: Acknowledgment sent {"connection_id":129308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:06:45] local.INFO: TCP Data received {"connection_id":129309,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:06:45] local.INFO: Processing buffer {"connection_id":129309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:06:45] local.INFO: IMEI packet received {"connection_id":129309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":129309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:07:00] local.INFO: TCP Data received {"connection_id":128585,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:07:00] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:07:00] local.INFO: IMEI packet received {"connection_id":128585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":128585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:07:04] local.INFO: TCP Data received {"connection_id":128405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:07:04] local.INFO: Processing buffer {"connection_id":128405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:07:04] local.INFO: IMEI packet received {"connection_id":128405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":128405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:07:05] local.INFO: TCP Data received {"connection_id":128585,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:07:05] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:07:05] local.INFO: IMEI packet received {"connection_id":128585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":128585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:07:06] local.INFO: TCP Data received {"connection_id":128585,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:07:06] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:07:06] local.INFO: Packet analysis {"connection_id":128585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:07:06] local.INFO: Extracted packet for processing {"connection_id":128585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:07:06] 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-07-11 12:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":128585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:07:06] local.INFO: GPS data processed {"connection_id":128585,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:07:06] local.INFO: Acknowledgment sent {"connection_id":128585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:07:09] local.INFO: TCP Data received {"connection_id":128405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:07:09] local.INFO: Processing buffer {"connection_id":128405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:07:09] local.INFO: IMEI packet received {"connection_id":128405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":128405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:07:10] local.INFO: TCP Data received {"connection_id":128405,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:07:10] local.INFO: Processing buffer {"connection_id":128405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:07:10] local.INFO: Packet analysis {"connection_id":128405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:07:10] local.INFO: Extracted packet for processing {"connection_id":128405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:07: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-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:07:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":128405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:07:10] local.INFO: GPS data processed {"connection_id":128405,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:07:10] local.INFO: Acknowledgment sent {"connection_id":128405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:07:37] local.INFO: TCP Data received {"connection_id":128585,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:07:37] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:07:37] local.INFO: Packet analysis {"connection_id":128585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:07:37] local.INFO: Extracted packet for processing {"connection_id":128585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07: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-07-11 12:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:07:37] 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-07-11 12:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:07:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":128585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:07:37] local.INFO: GPS data processed {"connection_id":128585,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:07:37] local.INFO: Acknowledgment sent {"connection_id":128585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:07:41] local.INFO: TCP Data received {"connection_id":128405,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:07:41] local.INFO: Processing buffer {"connection_id":128405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:07:41] local.INFO: Packet analysis {"connection_id":128405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:07:41] local.INFO: Extracted packet for processing {"connection_id":128405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:07:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":128405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:07:41] local.INFO: GPS data processed {"connection_id":128405,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:07:41] local.INFO: Acknowledgment sent {"connection_id":128405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:08:00] local.INFO: TCP Data received {"connection_id":128587,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:08:00] local.INFO: Processing buffer {"connection_id":128587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:08:00] local.INFO: IMEI packet received {"connection_id":128587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":128587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:08:04] local.INFO: TCP Data received {"connection_id":129310,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:08:04] local.INFO: Processing buffer {"connection_id":129310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:08:04] local.INFO: IMEI packet received {"connection_id":129310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":129310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:08:05] local.INFO: TCP Data received {"connection_id":128587,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:08:05] local.INFO: Processing buffer {"connection_id":128587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:08:05] local.INFO: IMEI packet received {"connection_id":128587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":128587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:08:06] local.INFO: TCP Data received {"connection_id":128587,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:08:06] local.INFO: Processing buffer {"connection_id":128587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:08:06] local.INFO: Packet analysis {"connection_id":128587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:08:06] local.INFO: Extracted packet for processing {"connection_id":128587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:08:06] 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-07-11 12:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:08:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":128587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:08:06] local.INFO: GPS data processed {"connection_id":128587,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:08:06] local.INFO: Acknowledgment sent {"connection_id":128587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:08:09] local.INFO: TCP Data received {"connection_id":129310,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:08:09] local.INFO: Processing buffer {"connection_id":129310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:08:09] local.INFO: IMEI packet received {"connection_id":129310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":129310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:08:10] local.INFO: TCP Data received {"connection_id":129310,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:08:10] local.INFO: Processing buffer {"connection_id":129310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:08:10] local.INFO: Packet analysis {"connection_id":129310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:08:10] local.INFO: Extracted packet for processing {"connection_id":129310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:08:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":129310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:08:10] local.INFO: GPS data processed {"connection_id":129310,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:08:10] local.INFO: Acknowledgment sent {"connection_id":129310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:08:37] local.INFO: TCP Data received {"connection_id":128587,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:08:37] local.INFO: Processing buffer {"connection_id":128587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:08:37] local.INFO: Packet analysis {"connection_id":128587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:08:37] local.INFO: Extracted packet for processing {"connection_id":128587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08: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-07-11 12:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:08:37] 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-07-11 12:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:08:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":128587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:08:37] local.INFO: GPS data processed {"connection_id":128587,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:08:37] local.INFO: Acknowledgment sent {"connection_id":128587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:08:41] local.INFO: TCP Data received {"connection_id":129310,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:08:41] local.INFO: Processing buffer {"connection_id":129310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:08:41] local.INFO: Packet analysis {"connection_id":129310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:08:41] local.INFO: Extracted packet for processing {"connection_id":129310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:08:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":129310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:08:41] local.INFO: GPS data processed {"connection_id":129310,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:08:41] local.INFO: Acknowledgment sent {"connection_id":129310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:09:00] local.INFO: TCP Data received {"connection_id":128406,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:09:00] local.INFO: Processing buffer {"connection_id":128406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:09:00] local.INFO: IMEI packet received {"connection_id":128406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":128406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:09:05] local.INFO: TCP Data received {"connection_id":128406,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:09:05] local.INFO: Processing buffer {"connection_id":128406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:09:05] local.INFO: IMEI packet received {"connection_id":128406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":128406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:09:06] local.INFO: TCP Data received {"connection_id":128406,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:09:06] local.INFO: Processing buffer {"connection_id":128406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:09:06] local.INFO: Packet analysis {"connection_id":128406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:09:06] local.INFO: Extracted packet for processing {"connection_id":128406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:09:06] 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-07-11 12:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:09:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":128406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:09:06] local.INFO: GPS data processed {"connection_id":128406,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:09:06] local.INFO: Acknowledgment sent {"connection_id":128406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:09:09] local.INFO: TCP Data received {"connection_id":128588,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:09:09] local.INFO: Processing buffer {"connection_id":128588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:09:09] local.INFO: IMEI packet received {"connection_id":128588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":128588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:09:14] local.INFO: TCP Data received {"connection_id":128588,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:09:14] local.INFO: Processing buffer {"connection_id":128588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:09:14] local.INFO: IMEI packet received {"connection_id":128588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":128588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:09:15] local.INFO: TCP Data received {"connection_id":128588,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:09:15] local.INFO: Processing buffer {"connection_id":128588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:09:15] local.INFO: Packet analysis {"connection_id":128588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:09:15] local.INFO: Extracted packet for processing {"connection_id":128588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:09:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:09:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:09:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":128588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:09:15] local.INFO: GPS data processed {"connection_id":128588,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:09:15] local.INFO: Acknowledgment sent {"connection_id":128588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:09:37] local.INFO: TCP Data received {"connection_id":128406,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:09:37] local.INFO: Processing buffer {"connection_id":128406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:09:37] local.INFO: Packet analysis {"connection_id":128406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:09:37] local.INFO: Extracted packet for processing {"connection_id":128406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09: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-07-11 12:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:09:37] 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-07-11 12:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:09:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":128406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:09:37] local.INFO: GPS data processed {"connection_id":128406,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:09:37] local.INFO: Acknowledgment sent {"connection_id":128406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:09:46] local.INFO: TCP Data received {"connection_id":128588,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:09:46] local.INFO: Processing buffer {"connection_id":128588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:09:46] local.INFO: Packet analysis {"connection_id":128588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:09:46] local.INFO: Extracted packet for processing {"connection_id":128588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:09:46] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:09:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":128588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:09:46] local.INFO: GPS data processed {"connection_id":128588,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:09:46] local.INFO: Acknowledgment sent {"connection_id":128588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:10:04] local.INFO: TCP Data received {"connection_id":129312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:10:04] local.INFO: Processing buffer {"connection_id":129312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:10:04] local.INFO: IMEI packet received {"connection_id":129312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":129312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:10:05] local.INFO: TCP Data received {"connection_id":129311,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:10:05] local.INFO: Processing buffer {"connection_id":129311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:10:05] local.INFO: IMEI packet received {"connection_id":129311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":129311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:10:09] local.INFO: TCP Data received {"connection_id":129312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:10:09] local.INFO: Processing buffer {"connection_id":129312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:10:09] local.INFO: IMEI packet received {"connection_id":129312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":129312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:10:10] local.INFO: TCP Data received {"connection_id":129311,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:10:10] local.INFO: Processing buffer {"connection_id":129311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:10:10] local.INFO: IMEI packet received {"connection_id":129311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":129311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:10:10] local.INFO: TCP Data received {"connection_id":129312,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:10:10] local.INFO: Processing buffer {"connection_id":129312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:10:10] local.INFO: Packet analysis {"connection_id":129312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:10:10] local.INFO: Extracted packet for processing {"connection_id":129312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:10:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:10: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-07-11 12:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:10:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":129312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:10:10] local.INFO: GPS data processed {"connection_id":129312,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:10:10] local.INFO: Acknowledgment sent {"connection_id":129312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:10:11] local.INFO: TCP Data received {"connection_id":129311,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:10:11] local.INFO: Processing buffer {"connection_id":129311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:10:11] local.INFO: Packet analysis {"connection_id":129311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:10:11] local.INFO: Extracted packet for processing {"connection_id":129311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:10:11] 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-07-11 12:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:10:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":129311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:10:11] local.INFO: GPS data processed {"connection_id":129311,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:10:11] local.INFO: Acknowledgment sent {"connection_id":129311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:10:15] local.INFO: TCP Data received {"connection_id":129311,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:10:15] local.INFO: Processing buffer {"connection_id":129311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe2a3e8012d197680071fee200039011727..."} 
[2026-07-11 12:10:15] local.INFO: Packet analysis {"connection_id":129311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:10:15] local.INFO: Extracted packet for processing {"connection_id":129311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe2"} 
[2026-07-11 12:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640353280001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783751681000,"timestamp_ms":1783751681000,"timestamp_seconds":1783751681,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe2a3e8"} 
[2026-07-11 12:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:10:15] 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-07-11 12:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640353280001,"66":2155,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640353280001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640353280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":129311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:10:15] local.INFO: GPS data processed {"connection_id":129311,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:10:15] local.INFO: Acknowledgment sent {"connection_id":129311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:10:41] local.INFO: TCP Data received {"connection_id":129312,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:10:41] local.INFO: Processing buffer {"connection_id":129312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe30590012cb29c0007823c60004400b327..."} 
[2026-07-11 12:10:41] local.INFO: Packet analysis {"connection_id":129312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:10:41] local.INFO: Extracted packet for processing {"connection_id":129312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe3"} 
[2026-07-11 12:10:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640359680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783751706000,"timestamp_ms":1783751706000,"timestamp_seconds":1783751706,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe30590"} 
[2026-07-11 12:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640359680001,"66":25625,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640359680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:10:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640359680001,"power":25625,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":129312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:10:41] local.INFO: GPS data processed {"connection_id":129312,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:10:41] local.INFO: Acknowledgment sent {"connection_id":129312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:11:00] local.INFO: TCP Data received {"connection_id":128408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:11:00] local.INFO: Processing buffer {"connection_id":128408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:11:00] local.INFO: IMEI packet received {"connection_id":128408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":128408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:11:04] local.INFO: TCP Data received {"connection_id":128590,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:11:04] local.INFO: Processing buffer {"connection_id":128590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:11:04] local.INFO: IMEI packet received {"connection_id":128590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":128590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:11:05] local.INFO: TCP Data received {"connection_id":128408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:11:05] local.INFO: Processing buffer {"connection_id":128408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:11:05] local.INFO: IMEI packet received {"connection_id":128408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":128408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:11:06] local.INFO: TCP Data received {"connection_id":128408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:11:06] local.INFO: Processing buffer {"connection_id":128408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:11:06] local.INFO: Packet analysis {"connection_id":128408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:11:06] local.INFO: Extracted packet for processing {"connection_id":128408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640430336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751982000,"timestamp_ms":1783751982000,"timestamp_seconds":1783751982,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe73bb0"} 
[2026-07-11 12:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:11:06] 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-07-11 12:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640430336001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640430336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:11:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640430336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":128408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:11:06] local.INFO: GPS data processed {"connection_id":128408,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:11:06] local.INFO: Acknowledgment sent {"connection_id":128408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:11:09] local.INFO: TCP Data received {"connection_id":128590,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:11:09] local.INFO: Processing buffer {"connection_id":128590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:11:09] local.INFO: IMEI packet received {"connection_id":128590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":128590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:11:10] local.INFO: TCP Data received {"connection_id":128590,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:11:10] local.INFO: Processing buffer {"connection_id":128590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:11:10] local.INFO: Packet analysis {"connection_id":128590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:11:10] local.INFO: Extracted packet for processing {"connection_id":128590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:11: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-07-11 12:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:11:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":128590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:11:10] local.INFO: GPS data processed {"connection_id":128590,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:11:10] local.INFO: Acknowledgment sent {"connection_id":128590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:11:37] local.INFO: TCP Data received {"connection_id":128408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:11:37] local.INFO: Processing buffer {"connection_id":128408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:11:37] local.INFO: Packet analysis {"connection_id":128408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:11:37] local.INFO: Extracted packet for processing {"connection_id":128408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640430336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11: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-07-11 12:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751982000,"timestamp_ms":1783751982000,"timestamp_seconds":1783751982,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe73bb0"} 
[2026-07-11 12:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:11:37] 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-07-11 12:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640430336001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640430336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:11:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640430336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":128408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:11:37] local.INFO: GPS data processed {"connection_id":128408,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:11:37] local.INFO: Acknowledgment sent {"connection_id":128408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:11:41] local.INFO: TCP Data received {"connection_id":128590,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:11:41] local.INFO: Processing buffer {"connection_id":128590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:11:41] local.INFO: Packet analysis {"connection_id":128590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:11:41] local.INFO: Extracted packet for processing {"connection_id":128590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:11:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":128590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:11:41] local.INFO: GPS data processed {"connection_id":128590,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:11:41] local.INFO: Acknowledgment sent {"connection_id":128590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:12:00] local.INFO: TCP Data received {"connection_id":130534,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:12:00] local.INFO: Processing buffer {"connection_id":130534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:12:00] local.INFO: IMEI packet received {"connection_id":130534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":130534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:12:04] local.INFO: TCP Data received {"connection_id":130535,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:12:04] local.INFO: Processing buffer {"connection_id":130535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:12:04] local.INFO: IMEI packet received {"connection_id":130535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":130535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:12:05] local.INFO: TCP Data received {"connection_id":130534,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:12:05] local.INFO: Processing buffer {"connection_id":130534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:12:05] local.INFO: IMEI packet received {"connection_id":130534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":130534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:12:06] local.INFO: TCP Data received {"connection_id":130534,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:12:06] local.INFO: Processing buffer {"connection_id":130534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:12:06] local.INFO: Packet analysis {"connection_id":130534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:12:06] local.INFO: Extracted packet for processing {"connection_id":130534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640430336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751982000,"timestamp_ms":1783751982000,"timestamp_seconds":1783751982,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe73bb0"} 
[2026-07-11 12:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:12:06] 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-07-11 12:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640430336001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640430336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640430336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":130534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:12:06] local.INFO: GPS data processed {"connection_id":130534,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:12:06] local.INFO: Acknowledgment sent {"connection_id":130534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:12:09] local.INFO: TCP Data received {"connection_id":130535,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:12:09] local.INFO: Processing buffer {"connection_id":130535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:12:09] local.INFO: IMEI packet received {"connection_id":130535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":130535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:12:10] local.INFO: TCP Data received {"connection_id":130535,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:12:10] local.INFO: Processing buffer {"connection_id":130535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:12:10] local.INFO: Packet analysis {"connection_id":130535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:12:10] local.INFO: Extracted packet for processing {"connection_id":130535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:12: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-07-11 12:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":130535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:12:10] local.INFO: GPS data processed {"connection_id":130535,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:12:10] local.INFO: Acknowledgment sent {"connection_id":130535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:12:10] local.INFO: TCP Data received {"connection_id":128591,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:12:10] local.INFO: Processing buffer {"connection_id":128591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:12:10] local.INFO: IMEI packet received {"connection_id":128591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":128591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:12:37] local.INFO: TCP Data received {"connection_id":130534,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:12:37] local.INFO: Processing buffer {"connection_id":130534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:12:37] local.INFO: Packet analysis {"connection_id":130534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:12:37] local.INFO: Extracted packet for processing {"connection_id":130534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640430336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12: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-07-11 12:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751982000,"timestamp_ms":1783751982000,"timestamp_seconds":1783751982,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe73bb0"} 
[2026-07-11 12:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:12:37] 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-07-11 12:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640430336001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640430336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:12:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640430336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":130534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:12:37] local.INFO: GPS data processed {"connection_id":130534,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:12:37] local.INFO: Acknowledgment sent {"connection_id":130534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:12:41] local.INFO: TCP Data received {"connection_id":130535,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:12:41] local.INFO: Processing buffer {"connection_id":130535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:12:41] local.INFO: Packet analysis {"connection_id":130535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:12:41] local.INFO: Extracted packet for processing {"connection_id":130535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:12:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":130535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:12:41] local.INFO: GPS data processed {"connection_id":130535,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:12:41] local.INFO: Acknowledgment sent {"connection_id":130535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:12:51] local.INFO: TCP Data received {"connection_id":128409,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:12:51] local.INFO: Processing buffer {"connection_id":128409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:12:51] local.INFO: IMEI packet received {"connection_id":128409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":128409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:13:00] local.INFO: TCP Data received {"connection_id":128592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:13:00] local.INFO: Processing buffer {"connection_id":128592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:13:00] local.INFO: IMEI packet received {"connection_id":128592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":128592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:13:04] local.INFO: TCP Data received {"connection_id":128410,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:13:04] local.INFO: Processing buffer {"connection_id":128410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:13:04] local.INFO: IMEI packet received {"connection_id":128410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":128410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:13:05] local.INFO: TCP Data received {"connection_id":128592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:13:05] local.INFO: Processing buffer {"connection_id":128592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:13:05] local.INFO: IMEI packet received {"connection_id":128592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":128592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:13:06] local.INFO: TCP Data received {"connection_id":128592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:13:06] local.INFO: Processing buffer {"connection_id":128592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:13:06] local.INFO: Packet analysis {"connection_id":128592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:13:06] local.INFO: Extracted packet for processing {"connection_id":128592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640430336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751982000,"timestamp_ms":1783751982000,"timestamp_seconds":1783751982,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe73bb0"} 
[2026-07-11 12:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:13:06] 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-07-11 12:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640430336001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640430336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640430336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":128592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:13:06] local.INFO: GPS data processed {"connection_id":128592,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:13:06] local.INFO: Acknowledgment sent {"connection_id":128592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:13:09] local.INFO: TCP Data received {"connection_id":128410,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:13:09] local.INFO: Processing buffer {"connection_id":128410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:13:09] local.INFO: IMEI packet received {"connection_id":128410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":128410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:13:14] local.INFO: TCP Data received {"connection_id":128410,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:13:14] local.INFO: Processing buffer {"connection_id":128410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:13:14] local.INFO: Packet analysis {"connection_id":128410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:13:14] local.INFO: Extracted packet for processing {"connection_id":128410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:13:14] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:13:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:13:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:13:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":128410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:13:14] local.INFO: GPS data processed {"connection_id":128410,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:13:14] local.INFO: Acknowledgment sent {"connection_id":128410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:13:37] local.INFO: TCP Data received {"connection_id":128592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:13:37] local.INFO: Processing buffer {"connection_id":128592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:13:37] local.INFO: Packet analysis {"connection_id":128592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:13:37] local.INFO: Extracted packet for processing {"connection_id":128592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640430336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13: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-07-11 12:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783751982000,"timestamp_ms":1783751982000,"timestamp_seconds":1783751982,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe73bb0"} 
[2026-07-11 12:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:13:37] 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-07-11 12:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640430336001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640430336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:13:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640430336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":128592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:13:37] local.INFO: GPS data processed {"connection_id":128592,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:13:37] local.INFO: Acknowledgment sent {"connection_id":128592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:13:45] local.INFO: TCP Data received {"connection_id":128410,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:13:45] local.INFO: Processing buffer {"connection_id":128410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:13:45] local.INFO: Packet analysis {"connection_id":128410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:13:45] local.INFO: Extracted packet for processing {"connection_id":128410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:13:45] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:13:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:13:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:13:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":128410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:13:45] local.INFO: GPS data processed {"connection_id":128410,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:13:45] local.INFO: Acknowledgment sent {"connection_id":128410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:14:05] local.INFO: TCP Data received {"connection_id":130536,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:14:05] local.INFO: Processing buffer {"connection_id":130536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:14:05] local.INFO: IMEI packet received {"connection_id":130536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":130536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:14:09] local.INFO: TCP Data received {"connection_id":128593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:14:09] local.INFO: Processing buffer {"connection_id":128593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:14:09] local.INFO: IMEI packet received {"connection_id":128593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":128593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:14:10] local.INFO: TCP Data received {"connection_id":130536,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:14:10] local.INFO: Processing buffer {"connection_id":130536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:14:10] local.INFO: IMEI packet received {"connection_id":130536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":130536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:14:11] local.INFO: TCP Data received {"connection_id":130536,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:14:11] local.INFO: Processing buffer {"connection_id":130536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:14:11] local.INFO: Packet analysis {"connection_id":130536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:14:11] local.INFO: Extracted packet for processing {"connection_id":130536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640430336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783751982000,"timestamp_ms":1783751982000,"timestamp_seconds":1783751982,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe73bb0"} 
[2026-07-11 12:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:14:11] 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-07-11 12:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640430336001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640430336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:14:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640430336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":130536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:14:11] local.INFO: GPS data processed {"connection_id":130536,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:14:11] local.INFO: Acknowledgment sent {"connection_id":130536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:14:14] local.INFO: TCP Data received {"connection_id":128593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:14:14] local.INFO: Processing buffer {"connection_id":128593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:14:14] local.INFO: IMEI packet received {"connection_id":128593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":128593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:14:15] local.INFO: TCP Data received {"connection_id":128593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:14:15] local.INFO: Processing buffer {"connection_id":128593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:14:15] local.INFO: Packet analysis {"connection_id":128593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:14:15] local.INFO: Extracted packet for processing {"connection_id":128593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:14:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":128593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:14:15] local.INFO: GPS data processed {"connection_id":128593,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:14:15] local.INFO: Acknowledgment sent {"connection_id":128593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:14:15] local.INFO: TCP Data received {"connection_id":130536,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:14:15] local.INFO: Processing buffer {"connection_id":130536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:14:15] local.INFO: Packet analysis {"connection_id":130536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:14:15] local.INFO: Extracted packet for processing {"connection_id":130536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640430336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783751982000,"timestamp_ms":1783751982000,"timestamp_seconds":1783751982,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe73bb0"} 
[2026-07-11 12:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:14:15] 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-07-11 12:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640430336001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640430336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:14:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640430336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":130536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:14:15] local.INFO: GPS data processed {"connection_id":130536,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:14:15] local.INFO: Acknowledgment sent {"connection_id":130536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:14:20] local.INFO: TCP Data received {"connection_id":128593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:14:20] local.INFO: Processing buffer {"connection_id":128593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:14:20] local.INFO: Packet analysis {"connection_id":128593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:14:20] local.INFO: Extracted packet for processing {"connection_id":128593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:14:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":128593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:14:20] local.INFO: GPS data processed {"connection_id":128593,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:14:20] local.INFO: Acknowledgment sent {"connection_id":128593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:15:00] local.INFO: TCP Data received {"connection_id":129314,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:15:00] local.INFO: Processing buffer {"connection_id":129314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:15:00] local.INFO: IMEI packet received {"connection_id":129314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":129314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:15:04] local.INFO: TCP Data received {"connection_id":130538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:15:04] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:15:04] local.INFO: IMEI packet received {"connection_id":130538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":130538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:15:05] local.INFO: TCP Data received {"connection_id":129314,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:15:05] local.INFO: Processing buffer {"connection_id":129314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:15:05] local.INFO: IMEI packet received {"connection_id":129314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":129314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:15:06] local.INFO: TCP Data received {"connection_id":129314,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:15:06] local.INFO: Processing buffer {"connection_id":129314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe73bb0012d197680071fee200039011727..."} 
[2026-07-11 12:15:06] local.INFO: Packet analysis {"connection_id":129314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:15:06] local.INFO: Extracted packet for processing {"connection_id":129314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640430336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783751982000,"timestamp_ms":1783751982000,"timestamp_seconds":1783751982,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe73bb0"} 
[2026-07-11 12:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 12:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:15:06] 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-07-11 12:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640430336001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640430336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:15:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640430336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":129314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:15:06] local.INFO: GPS data processed {"connection_id":129314,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:15:06] local.INFO: Acknowledgment sent {"connection_id":129314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:15:09] local.INFO: TCP Data received {"connection_id":130538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:15:09] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:15:09] local.INFO: IMEI packet received {"connection_id":130538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":130538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:15:10] local.INFO: TCP Data received {"connection_id":130538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:15:10] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:15:10] local.INFO: Packet analysis {"connection_id":130538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:15:10] local.INFO: Extracted packet for processing {"connection_id":130538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12: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-07-11 12:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:15:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":130538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:15:10] local.INFO: GPS data processed {"connection_id":130538,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:15:10] local.INFO: Acknowledgment sent {"connection_id":130538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:15:37] local.INFO: TCP Data received {"connection_id":129314,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:15:37] local.INFO: Processing buffer {"connection_id":129314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:15:37] local.INFO: Packet analysis {"connection_id":129314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:15:37] local.INFO: Extracted packet for processing {"connection_id":129314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12: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-07-11 12:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:15:37] 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-07-11 12:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:15:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":129314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:15:37] local.INFO: GPS data processed {"connection_id":129314,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:15:37] local.INFO: Acknowledgment sent {"connection_id":129314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:15:41] local.INFO: TCP Data received {"connection_id":130538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:15:41] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fe79d58012cb29c0007823c60004900b326..."} 
[2026-07-11 12:15:41] local.INFO: Packet analysis {"connection_id":130538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:15:41] local.INFO: Extracted packet for processing {"connection_id":130538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fe7"} 
[2026-07-11 12:15:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640436736001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752007000,"timestamp_ms":1783752007000,"timestamp_seconds":1783752007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fe79d58"} 
[2026-07-11 12:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640436736001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640436736001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:15:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640436736001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":130538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:15:41] local.INFO: GPS data processed {"connection_id":130538,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:15:41] local.INFO: Acknowledgment sent {"connection_id":130538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:16:00] local.INFO: TCP Data received {"connection_id":128411,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:16:00] local.INFO: Processing buffer {"connection_id":128411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:16:00] local.INFO: IMEI packet received {"connection_id":128411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":128411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:16:04] local.INFO: TCP Data received {"connection_id":128412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:16:04] local.INFO: Processing buffer {"connection_id":128412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:16:04] local.INFO: IMEI packet received {"connection_id":128412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":128412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:16:05] local.INFO: TCP Data received {"connection_id":128411,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:16:05] local.INFO: Processing buffer {"connection_id":128411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:16:05] local.INFO: IMEI packet received {"connection_id":128411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":128411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:16:06] local.INFO: TCP Data received {"connection_id":128411,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:16:06] local.INFO: Processing buffer {"connection_id":128411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:16:06] local.INFO: Packet analysis {"connection_id":128411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:16:06] local.INFO: Extracted packet for processing {"connection_id":128411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 12:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:16:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":128411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:16:06] local.INFO: GPS data processed {"connection_id":128411,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:16:06] local.INFO: Acknowledgment sent {"connection_id":128411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:16:09] local.INFO: TCP Data received {"connection_id":128412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:16:09] local.INFO: Processing buffer {"connection_id":128412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:16:09] local.INFO: IMEI packet received {"connection_id":128412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":128412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:16:10] local.INFO: TCP Data received {"connection_id":128412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:16:10] local.INFO: Processing buffer {"connection_id":128412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:16:10] local.INFO: Packet analysis {"connection_id":128412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:16:10] local.INFO: Extracted packet for processing {"connection_id":128412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:16: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-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:16:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":128412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:16:10] local.INFO: GPS data processed {"connection_id":128412,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:16:10] local.INFO: Acknowledgment sent {"connection_id":128412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:16:38] local.INFO: TCP Data received {"connection_id":128411,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:16:38] local.INFO: Processing buffer {"connection_id":128411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:16:38] local.INFO: Packet analysis {"connection_id":128411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:16:38] local.INFO: Extracted packet for processing {"connection_id":128411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16: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-07-11 12:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 12:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:16:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":128411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:16:39] local.INFO: GPS data processed {"connection_id":128411,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:16:39] local.INFO: Acknowledgment sent {"connection_id":128411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:16:41] local.INFO: TCP Data received {"connection_id":128412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:16:41] local.INFO: Processing buffer {"connection_id":128412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:16:41] local.INFO: Packet analysis {"connection_id":128412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:16:41] local.INFO: Extracted packet for processing {"connection_id":128412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:16:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":128412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:16:41] local.INFO: GPS data processed {"connection_id":128412,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:16:41] local.INFO: Acknowledgment sent {"connection_id":128412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:17:00] local.INFO: TCP Data received {"connection_id":129315,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:17:00] local.INFO: Processing buffer {"connection_id":129315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:17:00] local.INFO: IMEI packet received {"connection_id":129315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":129315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:17:04] local.INFO: TCP Data received {"connection_id":128596,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:17:04] local.INFO: Processing buffer {"connection_id":128596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:17:04] local.INFO: IMEI packet received {"connection_id":128596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":128596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:17:05] local.INFO: TCP Data received {"connection_id":129315,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:17:05] local.INFO: Processing buffer {"connection_id":129315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:17:05] local.INFO: IMEI packet received {"connection_id":129315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":129315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:17:06] local.INFO: TCP Data received {"connection_id":129315,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:17:06] local.INFO: Processing buffer {"connection_id":129315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:17:06] local.INFO: Packet analysis {"connection_id":129315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:17:06] local.INFO: Extracted packet for processing {"connection_id":129315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:17:06] 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-07-11 12:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":129315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:17:06] local.INFO: GPS data processed {"connection_id":129315,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:17:06] local.INFO: Acknowledgment sent {"connection_id":129315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:17:09] local.INFO: TCP Data received {"connection_id":128596,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:17:09] local.INFO: Processing buffer {"connection_id":128596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:17:09] local.INFO: IMEI packet received {"connection_id":128596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":128596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:17:10] local.INFO: TCP Data received {"connection_id":128596,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:17:10] local.INFO: Processing buffer {"connection_id":128596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:17:10] local.INFO: Packet analysis {"connection_id":128596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:17:10] local.INFO: Extracted packet for processing {"connection_id":128596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:17:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":128596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:17:10] local.INFO: GPS data processed {"connection_id":128596,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:17:10] local.INFO: Acknowledgment sent {"connection_id":128596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:17:37] local.INFO: TCP Data received {"connection_id":129315,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:17:37] local.INFO: Processing buffer {"connection_id":129315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:17:37] local.INFO: Packet analysis {"connection_id":129315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:17:37] local.INFO: Extracted packet for processing {"connection_id":129315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17: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-07-11 12:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:17:37] 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-07-11 12:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:17:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":129315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:17:37] local.INFO: GPS data processed {"connection_id":129315,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:17:37] local.INFO: Acknowledgment sent {"connection_id":129315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:17:41] local.INFO: TCP Data received {"connection_id":128596,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:17:41] local.INFO: Processing buffer {"connection_id":128596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:17:41] local.INFO: Packet analysis {"connection_id":128596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:17:41] local.INFO: Extracted packet for processing {"connection_id":128596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:17:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:17:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":128596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:17:41] local.INFO: GPS data processed {"connection_id":128596,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:17:41] local.INFO: Acknowledgment sent {"connection_id":128596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:18:04] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:18:04] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:18:04] local.INFO: IMEI packet received {"connection_id":130541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":130541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:18:05] local.INFO: TCP Data received {"connection_id":130540,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:18:05] local.INFO: Processing buffer {"connection_id":130540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:18:05] local.INFO: IMEI packet received {"connection_id":130540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":130540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:18:09] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:18:09] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:18:09] local.INFO: IMEI packet received {"connection_id":130541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":130541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:18:10] local.INFO: TCP Data received {"connection_id":130540,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:18:10] local.INFO: Processing buffer {"connection_id":130540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:18:10] local.INFO: IMEI packet received {"connection_id":130540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":130540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:18:10] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:18:10] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:18:10] local.INFO: Packet analysis {"connection_id":130541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:18:10] local.INFO: Extracted packet for processing {"connection_id":130541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":130541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:18:10] local.INFO: GPS data processed {"connection_id":130541,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:18:10] local.INFO: Acknowledgment sent {"connection_id":130541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:18:11] local.INFO: TCP Data received {"connection_id":130540,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:18:11] local.INFO: Processing buffer {"connection_id":130540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:18:11] local.INFO: Packet analysis {"connection_id":130540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:18:11] local.INFO: Extracted packet for processing {"connection_id":130540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:18:11] 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-07-11 12:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:18:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":130540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:18:11] local.INFO: GPS data processed {"connection_id":130540,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:18:11] local.INFO: Acknowledgment sent {"connection_id":130540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:18:15] local.INFO: TCP Data received {"connection_id":130540,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:18:15] local.INFO: Processing buffer {"connection_id":130540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:18:15] local.INFO: Packet analysis {"connection_id":130540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:18:15] local.INFO: Extracted packet for processing {"connection_id":130540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:18:15] 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-07-11 12:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:18:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":130540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:18:16] local.INFO: GPS data processed {"connection_id":130540,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:18:16] local.INFO: Acknowledgment sent {"connection_id":130540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:18:21] local.INFO: TCP Data received {"connection_id":130539,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:18:21] local.INFO: Processing buffer {"connection_id":130539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:18:21] local.INFO: IMEI packet received {"connection_id":130539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":130539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:18:41] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:18:41] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:18:41] local.INFO: Packet analysis {"connection_id":130541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:18:41] local.INFO: Extracted packet for processing {"connection_id":130541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:18:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":130541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:18:41] local.INFO: GPS data processed {"connection_id":130541,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:18:41] local.INFO: Acknowledgment sent {"connection_id":130541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:18:45] local.INFO: TCP Data received {"connection_id":129316,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:18:45] local.INFO: Processing buffer {"connection_id":129316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:18:45] local.INFO: IMEI packet received {"connection_id":129316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":129316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:19:00] local.INFO: TCP Data received {"connection_id":128413,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:19:00] local.INFO: Processing buffer {"connection_id":128413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:19:00] local.INFO: IMEI packet received {"connection_id":128413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":128413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:19:05] local.INFO: TCP Data received {"connection_id":128413,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:19:05] local.INFO: Processing buffer {"connection_id":128413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:19:05] local.INFO: IMEI packet received {"connection_id":128413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":128413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:19:06] local.INFO: TCP Data received {"connection_id":128413,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:19:06] local.INFO: Processing buffer {"connection_id":128413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:19:06] local.INFO: Packet analysis {"connection_id":128413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:19:06] local.INFO: Extracted packet for processing {"connection_id":128413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:19:06] 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-07-11 12:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":128413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:19:06] local.INFO: GPS data processed {"connection_id":128413,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:19:06] local.INFO: Acknowledgment sent {"connection_id":128413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:19:09] local.INFO: TCP Data received {"connection_id":128597,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:19:09] local.INFO: Processing buffer {"connection_id":128597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:19:09] local.INFO: IMEI packet received {"connection_id":128597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":128597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:19:14] local.INFO: TCP Data received {"connection_id":128597,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:19:14] local.INFO: Processing buffer {"connection_id":128597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:19:14] local.INFO: IMEI packet received {"connection_id":128597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":128597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:19:15] local.INFO: TCP Data received {"connection_id":128597,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:19:15] local.INFO: Processing buffer {"connection_id":128597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:19:15] local.INFO: Packet analysis {"connection_id":128597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:19:15] local.INFO: Extracted packet for processing {"connection_id":128597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:19:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:19:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:19:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":128597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:19:15] local.INFO: GPS data processed {"connection_id":128597,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:19:15] local.INFO: Acknowledgment sent {"connection_id":128597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:19:20] local.INFO: TCP Data received {"connection_id":128597,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:19:20] local.INFO: Processing buffer {"connection_id":128597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:19:20] local.INFO: Packet analysis {"connection_id":128597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:19:20] local.INFO: Extracted packet for processing {"connection_id":128597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:19:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:19:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":128597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:19:20] local.INFO: GPS data processed {"connection_id":128597,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:19:20] local.INFO: Acknowledgment sent {"connection_id":128597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:19:37] local.INFO: TCP Data received {"connection_id":128413,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:19:37] local.INFO: Processing buffer {"connection_id":128413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:19:37] local.INFO: Packet analysis {"connection_id":128413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:19:37] local.INFO: Extracted packet for processing {"connection_id":128413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:19: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-07-11 12:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:19:37] 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-07-11 12:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:19:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":128413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:19:37] local.INFO: GPS data processed {"connection_id":128413,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:19:37] local.INFO: Acknowledgment sent {"connection_id":128413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:20:00] local.INFO: TCP Data received {"connection_id":128415,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:20:00] local.INFO: Processing buffer {"connection_id":128415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:20:00] local.INFO: IMEI packet received {"connection_id":128415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":128415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:20:04] local.INFO: TCP Data received {"connection_id":129317,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:20:04] local.INFO: Processing buffer {"connection_id":129317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:20:04] local.INFO: IMEI packet received {"connection_id":129317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":129317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:20:05] local.INFO: TCP Data received {"connection_id":128415,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:20:05] local.INFO: Processing buffer {"connection_id":128415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:20:05] local.INFO: IMEI packet received {"connection_id":128415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":128415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:20:06] local.INFO: TCP Data received {"connection_id":128415,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:20:06] local.INFO: Processing buffer {"connection_id":128415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4febd378012d197680071fee200039011726..."} 
[2026-07-11 12:20:06] local.INFO: Packet analysis {"connection_id":128415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:20:06] local.INFO: Extracted packet for processing {"connection_id":128415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4feb"} 
[2026-07-11 12:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640507392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752283000,"timestamp_ms":1783752283000,"timestamp_seconds":1783752283,"priority":1,"record_length":96,"hex_timestamp":"0000019f4febd378"} 
[2026-07-11 12:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640507392001,"66":2166,"102":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640507392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640507392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":128415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:20:06] local.INFO: GPS data processed {"connection_id":128415,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:20:06] local.INFO: Acknowledgment sent {"connection_id":128415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:20:09] local.INFO: TCP Data received {"connection_id":129317,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:20:09] local.INFO: Processing buffer {"connection_id":129317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:20:09] local.INFO: IMEI packet received {"connection_id":129317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":129317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:20:10] local.INFO: TCP Data received {"connection_id":129317,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:20:10] local.INFO: Processing buffer {"connection_id":129317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:20:10] local.INFO: Packet analysis {"connection_id":129317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:20:10] local.INFO: Extracted packet for processing {"connection_id":129317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:20: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-07-11 12:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:20:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":129317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:20:10] local.INFO: GPS data processed {"connection_id":129317,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:20:10] local.INFO: Acknowledgment sent {"connection_id":129317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:20:37] local.INFO: TCP Data received {"connection_id":128415,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:20:37] local.INFO: Processing buffer {"connection_id":128415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:20:37] local.INFO: Packet analysis {"connection_id":128415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:20:37] local.INFO: Extracted packet for processing {"connection_id":128415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:20:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":128415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:20:37] local.INFO: GPS data processed {"connection_id":128415,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:20:37] local.INFO: Acknowledgment sent {"connection_id":128415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:20:41] local.INFO: TCP Data received {"connection_id":129317,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:20:41] local.INFO: Processing buffer {"connection_id":129317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fec3520012cb29c0007823c60004300b326..."} 
[2026-07-11 12:20:41] local.INFO: Packet analysis {"connection_id":129317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:20:41] local.INFO: Extracted packet for processing {"connection_id":129317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fec"} 
[2026-07-11 12:20:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640513792001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752308000,"timestamp_ms":1783752308000,"timestamp_seconds":1783752308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fec3520"} 
[2026-07-11 12:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640513792001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640513792001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:20:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640513792001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":129317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:20:41] local.INFO: GPS data processed {"connection_id":129317,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:20:41] local.INFO: Acknowledgment sent {"connection_id":129317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:21:00] local.INFO: TCP Data received {"connection_id":128598,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:21:00] local.INFO: Processing buffer {"connection_id":128598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:21:00] local.INFO: IMEI packet received {"connection_id":128598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":128598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:21:04] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:21:04] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:21:04] local.INFO: IMEI packet received {"connection_id":130542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":130542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:21:05] local.INFO: TCP Data received {"connection_id":128598,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:21:05] local.INFO: Processing buffer {"connection_id":128598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:21:05] local.INFO: IMEI packet received {"connection_id":128598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":128598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:21:06] local.INFO: TCP Data received {"connection_id":128598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:21:06] local.INFO: Processing buffer {"connection_id":128598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:21:06] local.INFO: Packet analysis {"connection_id":128598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:21:06] local.INFO: Extracted packet for processing {"connection_id":128598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:21:06] 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-07-11 12:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:21:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":128598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:21:06] local.INFO: GPS data processed {"connection_id":128598,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:21:06] local.INFO: Acknowledgment sent {"connection_id":128598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:21:09] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:21:09] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:21:09] local.INFO: IMEI packet received {"connection_id":130542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":130542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:21:10] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:21:10] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:21:10] local.INFO: Packet analysis {"connection_id":130542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:21:10] local.INFO: Extracted packet for processing {"connection_id":130542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:21:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:21:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":130542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:21:10] local.INFO: GPS data processed {"connection_id":130542,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:21:10] local.INFO: Acknowledgment sent {"connection_id":130542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:21:37] local.INFO: TCP Data received {"connection_id":128598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:21:37] local.INFO: Processing buffer {"connection_id":128598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:21:37] local.INFO: Packet analysis {"connection_id":128598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:21:37] local.INFO: Extracted packet for processing {"connection_id":128598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:21:37] 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-07-11 12:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:21:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":128598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:21:37] local.INFO: GPS data processed {"connection_id":128598,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:21:37] local.INFO: Acknowledgment sent {"connection_id":128598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:21:41] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:21:41] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:21:41] local.INFO: Packet analysis {"connection_id":130542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:21:41] local.INFO: Extracted packet for processing {"connection_id":130542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:21:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":130542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:21:41] local.INFO: GPS data processed {"connection_id":130542,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:21:41] local.INFO: Acknowledgment sent {"connection_id":130542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:22:00] local.INFO: TCP Data received {"connection_id":129318,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:22:00] local.INFO: Processing buffer {"connection_id":129318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:22:00] local.INFO: IMEI packet received {"connection_id":129318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":129318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:22:05] local.INFO: TCP Data received {"connection_id":129318,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:22:05] local.INFO: Processing buffer {"connection_id":129318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:22:05] local.INFO: IMEI packet received {"connection_id":129318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":129318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:22:06] local.INFO: TCP Data received {"connection_id":129318,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:22:06] local.INFO: Processing buffer {"connection_id":129318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:22:06] local.INFO: Packet analysis {"connection_id":129318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:22:06] local.INFO: Extracted packet for processing {"connection_id":129318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:22:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":129318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:22:06] local.INFO: GPS data processed {"connection_id":129318,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:22:06] local.INFO: Acknowledgment sent {"connection_id":129318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:22:09] local.INFO: TCP Data received {"connection_id":128417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:22:09] local.INFO: Processing buffer {"connection_id":128417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:22:09] local.INFO: IMEI packet received {"connection_id":128417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:22:14] local.INFO: TCP Data received {"connection_id":128417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:22:14] local.INFO: Processing buffer {"connection_id":128417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:22:14] local.INFO: IMEI packet received {"connection_id":128417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":128417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:22:15] local.INFO: TCP Data received {"connection_id":128417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:22:15] local.INFO: Processing buffer {"connection_id":128417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:22:15] local.INFO: Packet analysis {"connection_id":128417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:22:15] local.INFO: Extracted packet for processing {"connection_id":128417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:22:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:22:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":128417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:22:15] local.INFO: GPS data processed {"connection_id":128417,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:22:15] local.INFO: Acknowledgment sent {"connection_id":128417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:22:37] local.INFO: TCP Data received {"connection_id":129318,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:22:37] local.INFO: Processing buffer {"connection_id":129318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:22:37] local.INFO: Packet analysis {"connection_id":129318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:22:37] local.INFO: Extracted packet for processing {"connection_id":129318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:22:37] 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-07-11 12:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:22:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":129318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:22:37] local.INFO: GPS data processed {"connection_id":129318,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:22:37] local.INFO: Acknowledgment sent {"connection_id":129318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:22:47] local.INFO: TCP Data received {"connection_id":128417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:22:47] local.INFO: Processing buffer {"connection_id":128417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:22:47] local.INFO: Packet analysis {"connection_id":128417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:22:47] local.INFO: Extracted packet for processing {"connection_id":128417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:22:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:22:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:22:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":128417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:22:47] local.INFO: GPS data processed {"connection_id":128417,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:22:47] local.INFO: Acknowledgment sent {"connection_id":128417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:23:04] local.INFO: TCP Data received {"connection_id":129319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:23:04] local.INFO: Processing buffer {"connection_id":129319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:23:04] local.INFO: IMEI packet received {"connection_id":129319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":129319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:23:05] local.INFO: TCP Data received {"connection_id":128600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:23:05] local.INFO: Processing buffer {"connection_id":128600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:23:05] local.INFO: IMEI packet received {"connection_id":128600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":128600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:23:09] local.INFO: TCP Data received {"connection_id":129319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:23:09] local.INFO: Processing buffer {"connection_id":129319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:23:09] local.INFO: IMEI packet received {"connection_id":129319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":129319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:23:10] local.INFO: TCP Data received {"connection_id":128600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:23:10] local.INFO: Processing buffer {"connection_id":128600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:23:10] local.INFO: IMEI packet received {"connection_id":128600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":128600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:23:10] local.INFO: TCP Data received {"connection_id":129319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:23:10] local.INFO: Processing buffer {"connection_id":129319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:23:10] local.INFO: Packet analysis {"connection_id":129319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:23:10] local.INFO: Extracted packet for processing {"connection_id":129319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:23: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-07-11 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:23:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":129319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:23:10] local.INFO: GPS data processed {"connection_id":129319,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:23:10] local.INFO: Acknowledgment sent {"connection_id":129319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:23:11] local.INFO: TCP Data received {"connection_id":128600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:23:11] local.INFO: Processing buffer {"connection_id":128600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:23:11] local.INFO: Packet analysis {"connection_id":128600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:23:11] local.INFO: Extracted packet for processing {"connection_id":128600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:23:11] 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-07-11 12:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:23:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":128600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:23:11] local.INFO: GPS data processed {"connection_id":128600,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:23:11] local.INFO: Acknowledgment sent {"connection_id":128600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:23:15] local.INFO: TCP Data received {"connection_id":128600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:23:15] local.INFO: Processing buffer {"connection_id":128600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:23:15] local.INFO: Packet analysis {"connection_id":128600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:23:15] local.INFO: Extracted packet for processing {"connection_id":128600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:23:15] 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-07-11 12:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:23:15] 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-07-11 12:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:23:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":128600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:23:15] local.INFO: GPS data processed {"connection_id":128600,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:23:15] local.INFO: Acknowledgment sent {"connection_id":128600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:23:41] local.INFO: TCP Data received {"connection_id":129319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:23:41] local.INFO: Processing buffer {"connection_id":129319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:23:41] local.INFO: Packet analysis {"connection_id":129319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:23:41] local.INFO: Extracted packet for processing {"connection_id":129319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:23:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:23:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":129319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:23:41] local.INFO: GPS data processed {"connection_id":129319,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:23:41] local.INFO: Acknowledgment sent {"connection_id":129319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:24:00] local.INFO: TCP Data received {"connection_id":129321,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:24:00] local.INFO: Processing buffer {"connection_id":129321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:24:00] local.INFO: IMEI packet received {"connection_id":129321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":129321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:24:05] local.INFO: TCP Data received {"connection_id":129321,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:24:05] local.INFO: Processing buffer {"connection_id":129321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:24:05] local.INFO: IMEI packet received {"connection_id":129321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":129321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:24:06] local.INFO: TCP Data received {"connection_id":129321,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:24:06] local.INFO: Processing buffer {"connection_id":129321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:24:06] local.INFO: Packet analysis {"connection_id":129321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:24:06] local.INFO: Extracted packet for processing {"connection_id":129321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:24:06] 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-07-11 12:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:24:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":129321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:24:06] local.INFO: GPS data processed {"connection_id":129321,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:24:06] local.INFO: Acknowledgment sent {"connection_id":129321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:24:09] local.INFO: TCP Data received {"connection_id":130544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:24:09] local.INFO: Processing buffer {"connection_id":130544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:24:09] local.INFO: IMEI packet received {"connection_id":130544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":130544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:24:11] local.INFO: TCP Data received {"connection_id":129320,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:24:11] local.INFO: Processing buffer {"connection_id":129320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:24:11] local.INFO: IMEI packet received {"connection_id":129320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":129320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:24:14] local.INFO: TCP Data received {"connection_id":130544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:24:14] local.INFO: Processing buffer {"connection_id":130544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:24:14] local.INFO: IMEI packet received {"connection_id":130544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":130544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:24:15] local.INFO: TCP Data received {"connection_id":130544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:24:15] local.INFO: Processing buffer {"connection_id":130544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:24:15] local.INFO: Packet analysis {"connection_id":130544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:24:15] local.INFO: Extracted packet for processing {"connection_id":130544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:24:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:24:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":130544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:24:15] local.INFO: GPS data processed {"connection_id":130544,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:24:15] local.INFO: Acknowledgment sent {"connection_id":130544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:24:20] local.INFO: TCP Data received {"connection_id":130544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:24:20] local.INFO: Processing buffer {"connection_id":130544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:24:20] local.INFO: Packet analysis {"connection_id":130544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:24:20] local.INFO: Extracted packet for processing {"connection_id":130544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:24:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":130544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:24:20] local.INFO: GPS data processed {"connection_id":130544,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:24:20] local.INFO: Acknowledgment sent {"connection_id":130544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:24:36] local.INFO: TCP Data received {"connection_id":129321,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:24:36] local.INFO: Processing buffer {"connection_id":129321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:24:36] local.INFO: Packet analysis {"connection_id":129321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:24:36] local.INFO: Extracted packet for processing {"connection_id":129321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:24:36] 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-07-11 12:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:24:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":129321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:24:36] local.INFO: GPS data processed {"connection_id":129321,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:24:36] local.INFO: Acknowledgment sent {"connection_id":129321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:25:00] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:25:00] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:25:00] local.INFO: IMEI packet received {"connection_id":130545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":130545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:25:04] local.INFO: TCP Data received {"connection_id":128418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:25:04] local.INFO: Processing buffer {"connection_id":128418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:25:04] local.INFO: IMEI packet received {"connection_id":128418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":128418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:25:05] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:25:05] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:25:05] local.INFO: IMEI packet received {"connection_id":130545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":130545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:25:06] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:25:06] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff06b40012d197680071fee200039011726..."} 
[2026-07-11 12:25:06] local.INFO: Packet analysis {"connection_id":130545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:25:06] local.INFO: Extracted packet for processing {"connection_id":130545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640584448001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752584000,"timestamp_ms":1783752584000,"timestamp_seconds":1783752584,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff06b40"} 
[2026-07-11 12:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640584448001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640584448001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:25:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640584448001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":130545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:25:06] local.INFO: GPS data processed {"connection_id":130545,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:25:06] local.INFO: Acknowledgment sent {"connection_id":130545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:25:09] local.INFO: TCP Data received {"connection_id":128418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:25:09] local.INFO: Processing buffer {"connection_id":128418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:25:09] local.INFO: IMEI packet received {"connection_id":128418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":128418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:25:10] local.INFO: TCP Data received {"connection_id":128418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:25:10] local.INFO: Processing buffer {"connection_id":128418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:25:10] local.INFO: Packet analysis {"connection_id":128418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:25:10] local.INFO: Extracted packet for processing {"connection_id":128418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:25:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":128418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:25:10] local.INFO: GPS data processed {"connection_id":128418,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:25:10] local.INFO: Acknowledgment sent {"connection_id":128418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:25:11] local.INFO: TCP Data received {"connection_id":128419,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:25:11] local.INFO: Processing buffer {"connection_id":128419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:25:11] local.INFO: IMEI packet received {"connection_id":128419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":128419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:25:36] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:25:36] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:25:36] local.INFO: Packet analysis {"connection_id":130545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:25:36] local.INFO: Extracted packet for processing {"connection_id":130545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:25:36] 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-07-11 12:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:25:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":130545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:25:36] local.INFO: GPS data processed {"connection_id":130545,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:25:36] local.INFO: Acknowledgment sent {"connection_id":130545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:25:41] local.INFO: TCP Data received {"connection_id":128418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:25:41] local.INFO: Processing buffer {"connection_id":128418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff0cce8012cb29c0007823c60004000b327..."} 
[2026-07-11 12:25:41] local.INFO: Packet analysis {"connection_id":128418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:25:41] local.INFO: Extracted packet for processing {"connection_id":128418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff0"} 
[2026-07-11 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640590848001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752609000,"timestamp_ms":1783752609000,"timestamp_seconds":1783752609,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff0cce8"} 
[2026-07-11 12:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640590848001,"66":25647,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 12:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640590848001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:25:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 12:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 12:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640590848001,"power":25647,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":128418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:25:41] local.INFO: GPS data processed {"connection_id":128418,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:25:41] local.INFO: Acknowledgment sent {"connection_id":128418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:26:00] local.INFO: TCP Data received {"connection_id":128601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:26:00] local.INFO: Processing buffer {"connection_id":128601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:26:00] local.INFO: IMEI packet received {"connection_id":128601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":128601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:26:04] local.INFO: TCP Data received {"connection_id":129322,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:26:04] local.INFO: Processing buffer {"connection_id":129322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:26:04] local.INFO: IMEI packet received {"connection_id":129322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":129322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:26:05] local.INFO: TCP Data received {"connection_id":128601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:26:05] local.INFO: Processing buffer {"connection_id":128601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:26:05] local.INFO: IMEI packet received {"connection_id":128601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":128601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:26:06] local.INFO: TCP Data received {"connection_id":128601,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:26:06] local.INFO: Processing buffer {"connection_id":128601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:26:06] local.INFO: Packet analysis {"connection_id":128601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:26:06] local.INFO: Extracted packet for processing {"connection_id":128601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:26:06] 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-07-11 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:26:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":128601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:26:06] local.INFO: GPS data processed {"connection_id":128601,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:26:06] local.INFO: Acknowledgment sent {"connection_id":128601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:26:09] local.INFO: TCP Data received {"connection_id":129322,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:26:09] local.INFO: Processing buffer {"connection_id":129322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:26:09] local.INFO: IMEI packet received {"connection_id":129322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":129322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:26:10] local.INFO: TCP Data received {"connection_id":129322,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:26:10] local.INFO: Processing buffer {"connection_id":129322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:26:10] local.INFO: Packet analysis {"connection_id":129322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:26:10] local.INFO: Extracted packet for processing {"connection_id":129322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:26: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-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:26:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":129322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:26:10] local.INFO: GPS data processed {"connection_id":129322,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:26:10] local.INFO: Acknowledgment sent {"connection_id":129322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:26:37] local.INFO: TCP Data received {"connection_id":128601,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:26:37] local.INFO: Processing buffer {"connection_id":128601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:26:37] local.INFO: Packet analysis {"connection_id":128601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:26:37] local.INFO: Extracted packet for processing {"connection_id":128601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:26:37] 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-07-11 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:26:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":128601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:26:37] local.INFO: GPS data processed {"connection_id":128601,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:26:37] local.INFO: Acknowledgment sent {"connection_id":128601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:26:41] local.INFO: TCP Data received {"connection_id":129322,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:26:41] local.INFO: Processing buffer {"connection_id":129322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:26:41] local.INFO: Packet analysis {"connection_id":129322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:26:41] local.INFO: Extracted packet for processing {"connection_id":129322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:26:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":129322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:26:41] local.INFO: GPS data processed {"connection_id":129322,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:26:41] local.INFO: Acknowledgment sent {"connection_id":129322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:27:00] local.INFO: TCP Data received {"connection_id":128420,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:27:00] local.INFO: Processing buffer {"connection_id":128420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:27:00] local.INFO: IMEI packet received {"connection_id":128420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":128420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:27:04] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:27:04] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:27:04] local.INFO: IMEI packet received {"connection_id":130547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":130547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:27:05] local.INFO: TCP Data received {"connection_id":128420,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:27:05] local.INFO: Processing buffer {"connection_id":128420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:27:05] local.INFO: IMEI packet received {"connection_id":128420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":128420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:27:06] local.INFO: TCP Data received {"connection_id":128420,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:27:06] local.INFO: Processing buffer {"connection_id":128420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:27:06] local.INFO: Packet analysis {"connection_id":128420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:27:06] local.INFO: Extracted packet for processing {"connection_id":128420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:27:06] 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-07-11 12:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:27:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":128420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:27:06] local.INFO: GPS data processed {"connection_id":128420,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:27:06] local.INFO: Acknowledgment sent {"connection_id":128420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:27:09] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:27:09] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:27:09] local.INFO: IMEI packet received {"connection_id":130547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":130547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:27:10] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:27:10] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:27:10] local.INFO: Packet analysis {"connection_id":130547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:27:10] local.INFO: Extracted packet for processing {"connection_id":130547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:27: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-07-11 12:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:27:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":130547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:27:10] local.INFO: GPS data processed {"connection_id":130547,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:27:10] local.INFO: Acknowledgment sent {"connection_id":130547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:27:36] local.INFO: TCP Data received {"connection_id":128420,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:27:36] local.INFO: Processing buffer {"connection_id":128420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:27:36] local.INFO: Packet analysis {"connection_id":128420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:27:36] local.INFO: Extracted packet for processing {"connection_id":128420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:27:36] 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-07-11 12:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:27:36] 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-07-11 12:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:27:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":128420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:27:36] local.INFO: GPS data processed {"connection_id":128420,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:27:36] local.INFO: Acknowledgment sent {"connection_id":128420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:27:41] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:27:41] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:27:41] local.INFO: Packet analysis {"connection_id":130547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:27:41] local.INFO: Extracted packet for processing {"connection_id":130547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:27:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":130547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:27:41] local.INFO: GPS data processed {"connection_id":130547,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:27:41] local.INFO: Acknowledgment sent {"connection_id":130547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:28:05] local.INFO: TCP Data received {"connection_id":128421,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:28:05] local.INFO: Processing buffer {"connection_id":128421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:28:05] local.INFO: IMEI packet received {"connection_id":128421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":128421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:28:09] local.INFO: TCP Data received {"connection_id":129324,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:28:09] local.INFO: Processing buffer {"connection_id":129324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:28:09] local.INFO: IMEI packet received {"connection_id":129324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":129324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:28:10] local.INFO: TCP Data received {"connection_id":128421,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:28:10] local.INFO: Processing buffer {"connection_id":128421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:28:10] local.INFO: IMEI packet received {"connection_id":128421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":128421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:28:11] local.INFO: TCP Data received {"connection_id":128421,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:28:11] local.INFO: Processing buffer {"connection_id":128421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:28:11] local.INFO: Packet analysis {"connection_id":128421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:28:11] local.INFO: Extracted packet for processing {"connection_id":128421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:28:11] 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-07-11 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:28:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":128421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:28:11] local.INFO: GPS data processed {"connection_id":128421,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:28:11] local.INFO: Acknowledgment sent {"connection_id":128421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:28:14] local.INFO: TCP Data received {"connection_id":129324,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:28:14] local.INFO: Processing buffer {"connection_id":129324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:28:14] local.INFO: IMEI packet received {"connection_id":129324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":129324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:28:15] local.INFO: TCP Data received {"connection_id":129324,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:28:15] local.INFO: Processing buffer {"connection_id":129324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:28:15] local.INFO: Packet analysis {"connection_id":129324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:28:15] local.INFO: Extracted packet for processing {"connection_id":129324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:28:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":129324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:28:15] local.INFO: GPS data processed {"connection_id":129324,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:28:15] local.INFO: Acknowledgment sent {"connection_id":129324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:28:15] local.INFO: TCP Data received {"connection_id":128421,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:28:15] local.INFO: Processing buffer {"connection_id":128421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:28:15] local.INFO: Packet analysis {"connection_id":128421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:28:15] local.INFO: Extracted packet for processing {"connection_id":128421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:28:15] 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-07-11 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"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-07-11 12:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:28:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":128421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:28:15] local.INFO: GPS data processed {"connection_id":128421,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:28:15] local.INFO: Acknowledgment sent {"connection_id":128421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:28:46] local.INFO: TCP Data received {"connection_id":129324,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:28:46] local.INFO: Processing buffer {"connection_id":129324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:28:46] local.INFO: Packet analysis {"connection_id":129324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:28:46] local.INFO: Extracted packet for processing {"connection_id":129324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:28:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:28:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":129324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:28:46] local.INFO: GPS data processed {"connection_id":129324,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:28:46] local.INFO: Acknowledgment sent {"connection_id":129324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:29:00] local.INFO: TCP Data received {"connection_id":130548,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:29:00] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:29:00] local.INFO: IMEI packet received {"connection_id":130548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":130548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:29:04] local.INFO: TCP Data received {"connection_id":130549,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:29:04] local.INFO: Processing buffer {"connection_id":130549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:29:04] local.INFO: IMEI packet received {"connection_id":130549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":130549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:29:05] local.INFO: TCP Data received {"connection_id":130548,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:29:05] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:29:05] local.INFO: IMEI packet received {"connection_id":130548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":130548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:29:06] local.INFO: TCP Data received {"connection_id":130548,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:29:06] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:29:06] local.INFO: Packet analysis {"connection_id":130548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:29:06] local.INFO: Extracted packet for processing {"connection_id":130548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:29:06] 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-07-11 12:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:29:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":130548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:29:06] local.INFO: GPS data processed {"connection_id":130548,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:29:06] local.INFO: Acknowledgment sent {"connection_id":130548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:29:09] local.INFO: TCP Data received {"connection_id":130549,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:29:09] local.INFO: Processing buffer {"connection_id":130549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:29:09] local.INFO: IMEI packet received {"connection_id":130549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":130549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:29:10] local.INFO: TCP Data received {"connection_id":130549,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:29:10] local.INFO: Processing buffer {"connection_id":130549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:29:10] local.INFO: Packet analysis {"connection_id":130549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:29:10] local.INFO: Extracted packet for processing {"connection_id":130549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:29:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":130549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:29:10] local.INFO: GPS data processed {"connection_id":130549,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:29:10] local.INFO: Acknowledgment sent {"connection_id":130549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:29:36] local.INFO: TCP Data received {"connection_id":130548,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:29:36] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:29:36] local.INFO: Packet analysis {"connection_id":130548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:29:36] local.INFO: Extracted packet for processing {"connection_id":130548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:29:36] 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-07-11 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:29:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":130548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:29:37] local.INFO: GPS data processed {"connection_id":130548,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:29:37] local.INFO: Acknowledgment sent {"connection_id":130548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:29:41] local.INFO: TCP Data received {"connection_id":130549,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:29:41] local.INFO: Processing buffer {"connection_id":130549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:29:41] local.INFO: Packet analysis {"connection_id":130549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:29:41] local.INFO: Extracted packet for processing {"connection_id":130549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:29:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":130549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:29:41] local.INFO: GPS data processed {"connection_id":130549,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:29:41] local.INFO: Acknowledgment sent {"connection_id":130549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:30:00] local.INFO: TCP Data received {"connection_id":129325,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:30:00] local.INFO: Processing buffer {"connection_id":129325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:30:00] local.INFO: IMEI packet received {"connection_id":129325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":129325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:30:04] local.INFO: TCP Data received {"connection_id":128603,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:30:04] local.INFO: Processing buffer {"connection_id":128603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:30:04] local.INFO: IMEI packet received {"connection_id":128603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":128603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:30:05] local.INFO: TCP Data received {"connection_id":129325,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:30:05] local.INFO: Processing buffer {"connection_id":129325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:30:05] local.INFO: IMEI packet received {"connection_id":129325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":129325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:30:06] local.INFO: TCP Data received {"connection_id":129325,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:30:06] local.INFO: Processing buffer {"connection_id":129325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff50308012d197680071fee200039011727..."} 
[2026-07-11 12:30:06] local.INFO: Packet analysis {"connection_id":129325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:30:06] local.INFO: Extracted packet for processing {"connection_id":129325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":57,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640661504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783752885000,"timestamp_ms":1783752885000,"timestamp_seconds":1783752885,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff50308"} 
[2026-07-11 12:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:30:06] 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-07-11 12:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640661504001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640661504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:30:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640661504001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":129325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:30:06] local.INFO: GPS data processed {"connection_id":129325,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:30:06] local.INFO: Acknowledgment sent {"connection_id":129325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:30:09] local.INFO: TCP Data received {"connection_id":128603,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:30:09] local.INFO: Processing buffer {"connection_id":128603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:30:09] local.INFO: IMEI packet received {"connection_id":128603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":128603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:30:10] local.INFO: TCP Data received {"connection_id":128603,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:30:10] local.INFO: Processing buffer {"connection_id":128603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:30:10] local.INFO: Packet analysis {"connection_id":128603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:30:10] local.INFO: Extracted packet for processing {"connection_id":128603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:30: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-07-11 12:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:30:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":128603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:30:10] local.INFO: GPS data processed {"connection_id":128603,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:30:10] local.INFO: Acknowledgment sent {"connection_id":128603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:30:37] local.INFO: TCP Data received {"connection_id":129325,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:30:37] local.INFO: Processing buffer {"connection_id":129325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:30:37] local.INFO: Packet analysis {"connection_id":129325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:30:37] local.INFO: Extracted packet for processing {"connection_id":129325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640738560001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783753186000,"timestamp_ms":1783753186000,"timestamp_seconds":1783753186,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff99ad0"} 
[2026-07-11 12:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640738560001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640738560001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:30:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640738560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":129325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:30:37] local.INFO: GPS data processed {"connection_id":129325,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:30:37] local.INFO: Acknowledgment sent {"connection_id":129325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:30:41] local.INFO: TCP Data received {"connection_id":128603,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:30:41] local.INFO: Processing buffer {"connection_id":128603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff564b0012cb29c0007823c60004c00b328..."} 
[2026-07-11 12:30:41] local.INFO: Packet analysis {"connection_id":128603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:30:41] local.INFO: Extracted packet for processing {"connection_id":128603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff5"} 
[2026-07-11 12:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783752910000,"timestamp_ms":1783752910000,"timestamp_seconds":1783752910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff564b0"} 
[2026-07-11 12:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640667904001,"66":25647,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:30:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640667904001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":128603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:30:41] local.INFO: GPS data processed {"connection_id":128603,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:30:41] local.INFO: Acknowledgment sent {"connection_id":128603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:30:49] local.INFO: TCP Data received {"connection_id":128604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:30:49] local.INFO: Processing buffer {"connection_id":128604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:30:49] local.INFO: IMEI packet received {"connection_id":128604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":128604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:31:00] local.INFO: TCP Data received {"connection_id":129326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:31:00] local.INFO: Processing buffer {"connection_id":129326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:31:00] local.INFO: IMEI packet received {"connection_id":129326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":129326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:31:04] local.INFO: TCP Data received {"connection_id":129327,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:31:04] local.INFO: Processing buffer {"connection_id":129327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:31:04] local.INFO: IMEI packet received {"connection_id":129327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":129327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:31:05] local.INFO: TCP Data received {"connection_id":129326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:31:05] local.INFO: Processing buffer {"connection_id":129326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:31:05] local.INFO: IMEI packet received {"connection_id":129326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":129326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:31:06] local.INFO: TCP Data received {"connection_id":129326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:31:06] local.INFO: Processing buffer {"connection_id":129326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:31:06] local.INFO: Packet analysis {"connection_id":129326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:31:06] local.INFO: Extracted packet for processing {"connection_id":129326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640738560001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783753186000,"timestamp_ms":1783753186000,"timestamp_seconds":1783753186,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff99ad0"} 
[2026-07-11 12:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:31:06] 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-07-11 12:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640738560001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640738560001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:31:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640738560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":129326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:31:06] local.INFO: GPS data processed {"connection_id":129326,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:31:06] local.INFO: Acknowledgment sent {"connection_id":129326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:31:09] local.INFO: TCP Data received {"connection_id":129327,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:31:09] local.INFO: Processing buffer {"connection_id":129327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:31:09] local.INFO: IMEI packet received {"connection_id":129327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":129327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:31:10] local.INFO: TCP Data received {"connection_id":129327,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:31:10] local.INFO: Processing buffer {"connection_id":129327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:31:10] local.INFO: Packet analysis {"connection_id":129327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:31:10] local.INFO: Extracted packet for processing {"connection_id":129327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:31: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-07-11 12:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:31:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":129327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:31:10] local.INFO: GPS data processed {"connection_id":129327,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:31:10] local.INFO: Acknowledgment sent {"connection_id":129327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:31:37] local.INFO: TCP Data received {"connection_id":129326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:31:37] local.INFO: Processing buffer {"connection_id":129326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:31:37] local.INFO: Packet analysis {"connection_id":129326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:31:37] local.INFO: Extracted packet for processing {"connection_id":129326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640738560001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783753186000,"timestamp_ms":1783753186000,"timestamp_seconds":1783753186,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff99ad0"} 
[2026-07-11 12:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:31:37] 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-07-11 12:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640738560001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640738560001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:31:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640738560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":129326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:31:37] local.INFO: GPS data processed {"connection_id":129326,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:31:37] local.INFO: Acknowledgment sent {"connection_id":129326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:31:41] local.INFO: TCP Data received {"connection_id":129327,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:31:41] local.INFO: Processing buffer {"connection_id":129327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:31:41] local.INFO: Packet analysis {"connection_id":129327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:31:41] local.INFO: Extracted packet for processing {"connection_id":129327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:31:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":129327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:31:41] local.INFO: GPS data processed {"connection_id":129327,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:31:41] local.INFO: Acknowledgment sent {"connection_id":129327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:32:00] local.INFO: TCP Data received {"connection_id":128605,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:32:00] local.INFO: Processing buffer {"connection_id":128605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:32:00] local.INFO: IMEI packet received {"connection_id":128605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":128605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:32:04] local.INFO: TCP Data received {"connection_id":128606,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:32:04] local.INFO: Processing buffer {"connection_id":128606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:32:04] local.INFO: IMEI packet received {"connection_id":128606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":128606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:32:05] local.INFO: TCP Data received {"connection_id":128605,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:32:05] local.INFO: Processing buffer {"connection_id":128605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:32:05] local.INFO: IMEI packet received {"connection_id":128605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":128605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:32:06] local.INFO: TCP Data received {"connection_id":128605,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:32:06] local.INFO: Processing buffer {"connection_id":128605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:32:06] local.INFO: Packet analysis {"connection_id":128605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:32:06] local.INFO: Extracted packet for processing {"connection_id":128605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640738560001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783753186000,"timestamp_ms":1783753186000,"timestamp_seconds":1783753186,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff99ad0"} 
[2026-07-11 12:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:32:06] 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-07-11 12:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640738560001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640738560001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:32:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640738560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":128605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:32:06] local.INFO: GPS data processed {"connection_id":128605,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:32:06] local.INFO: Acknowledgment sent {"connection_id":128605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:32:09] local.INFO: TCP Data received {"connection_id":128606,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:32:09] local.INFO: Processing buffer {"connection_id":128606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:32:09] local.INFO: IMEI packet received {"connection_id":128606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":128606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:32:10] local.INFO: TCP Data received {"connection_id":128606,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:32:10] local.INFO: Processing buffer {"connection_id":128606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:32:10] local.INFO: Packet analysis {"connection_id":128606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:32:10] local.INFO: Extracted packet for processing {"connection_id":128606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:32:10] local.INFO: GPS data processed {"connection_id":128606,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:32:10] local.INFO: Acknowledgment sent {"connection_id":128606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:32:37] local.INFO: TCP Data received {"connection_id":128605,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:32:37] local.INFO: Processing buffer {"connection_id":128605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:32:37] local.INFO: Packet analysis {"connection_id":128605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:32:37] local.INFO: Extracted packet for processing {"connection_id":128605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640738560001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783753186000,"timestamp_ms":1783753186000,"timestamp_seconds":1783753186,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff99ad0"} 
[2026-07-11 12:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:32:37] 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-07-11 12:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640738560001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640738560001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:32:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640738560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":128605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:32:37] local.INFO: GPS data processed {"connection_id":128605,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:32:37] local.INFO: Acknowledgment sent {"connection_id":128605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:32:41] local.INFO: TCP Data received {"connection_id":128606,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:32:41] local.INFO: Processing buffer {"connection_id":128606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:32:41] local.INFO: Packet analysis {"connection_id":128606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:32:41] local.INFO: Extracted packet for processing {"connection_id":128606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:32:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":128606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:32:41] local.INFO: GPS data processed {"connection_id":128606,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:32:41] local.INFO: Acknowledgment sent {"connection_id":128606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:33:05] local.INFO: TCP Data received {"connection_id":128608,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:33:05] local.INFO: Processing buffer {"connection_id":128608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:33:05] local.INFO: IMEI packet received {"connection_id":128608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":128608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:33:05] local.INFO: TCP Data received {"connection_id":128607,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:33:05] local.INFO: Processing buffer {"connection_id":128607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:33:05] local.INFO: IMEI packet received {"connection_id":128607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":128607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:33:09] local.INFO: TCP Data received {"connection_id":128608,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:33:09] local.INFO: Processing buffer {"connection_id":128608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:33:09] local.INFO: IMEI packet received {"connection_id":128608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":128608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:33:10] local.INFO: TCP Data received {"connection_id":128607,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:33:10] local.INFO: Processing buffer {"connection_id":128607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:33:10] local.INFO: IMEI packet received {"connection_id":128607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":128607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:33:10] local.INFO: TCP Data received {"connection_id":128608,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:33:10] local.INFO: Processing buffer {"connection_id":128608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:33:10] local.INFO: Packet analysis {"connection_id":128608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:33:10] local.INFO: Extracted packet for processing {"connection_id":128608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:33:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":128608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:33:10] local.INFO: GPS data processed {"connection_id":128608,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:33:10] local.INFO: Acknowledgment sent {"connection_id":128608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:33:11] local.INFO: TCP Data received {"connection_id":128607,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:33:11] local.INFO: Processing buffer {"connection_id":128607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:33:11] local.INFO: Packet analysis {"connection_id":128607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:33:11] local.INFO: Extracted packet for processing {"connection_id":128607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640738560001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783753186000,"timestamp_ms":1783753186000,"timestamp_seconds":1783753186,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff99ad0"} 
[2026-07-11 12:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:33:11] 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-07-11 12:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640738560001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640738560001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:33:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640738560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":128607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:33:11] local.INFO: GPS data processed {"connection_id":128607,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:33:11] local.INFO: Acknowledgment sent {"connection_id":128607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:33:15] local.INFO: TCP Data received {"connection_id":128607,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:33:15] local.INFO: Processing buffer {"connection_id":128607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:33:15] local.INFO: Packet analysis {"connection_id":128607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:33:15] local.INFO: Extracted packet for processing {"connection_id":128607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640738560001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783753186000,"timestamp_ms":1783753186000,"timestamp_seconds":1783753186,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff99ad0"} 
[2026-07-11 12:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:33:15] 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-07-11 12:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640738560001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640738560001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:33:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640738560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":128607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:33:15] local.INFO: GPS data processed {"connection_id":128607,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:33:15] local.INFO: Acknowledgment sent {"connection_id":128607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:33:41] local.INFO: TCP Data received {"connection_id":128608,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:33:41] local.INFO: Processing buffer {"connection_id":128608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:33:41] local.INFO: Packet analysis {"connection_id":128608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:33:41] local.INFO: Extracted packet for processing {"connection_id":128608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:33:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:33:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":128608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:33:41] local.INFO: GPS data processed {"connection_id":128608,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:33:41] local.INFO: Acknowledgment sent {"connection_id":128608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:34:00] local.INFO: TCP Data received {"connection_id":130550,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:34:00] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:34:00] local.INFO: IMEI packet received {"connection_id":130550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":130550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:34:04] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:34:04] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:34:04] local.INFO: IMEI packet received {"connection_id":130551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":130551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:34:05] local.INFO: TCP Data received {"connection_id":130550,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:34:05] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:34:05] local.INFO: IMEI packet received {"connection_id":130550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":130550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:34:06] local.INFO: TCP Data received {"connection_id":130550,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:34:06] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff99ad0012d197680071fee20003f011729..."} 
[2026-07-11 12:34:06] local.INFO: Packet analysis {"connection_id":130550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:34:06] local.INFO: Extracted packet for processing {"connection_id":130550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640738560001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783753186000,"timestamp_ms":1783753186000,"timestamp_seconds":1783753186,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff99ad0"} 
[2026-07-11 12:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:34:06] 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-07-11 12:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640738560001,"66":2166,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640738560001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:34:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640738560001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":130550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:34:06] local.INFO: GPS data processed {"connection_id":130550,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:34:06] local.INFO: Acknowledgment sent {"connection_id":130550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:34:09] local.INFO: TCP Data received {"connection_id":130550,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffd09b8012d197680071fee20003f011728..."} 
[2026-07-11 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffd09b8012d197680071fee20003f011728..."} 
[2026-07-11 12:34:09] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffd09b8012d197680071fee20003f011728..."} 
[2026-07-11 12:34:09] local.INFO: Packet analysis {"connection_id":130550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffd"} 
[2026-07-11 12:34:09] local.INFO: Extracted packet for processing {"connection_id":130550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffd"} 
[2026-07-11 12:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640815616001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783753411000,"timestamp_ms":1783753411000,"timestamp_seconds":1783753411,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffd09b8"} 
[2026-07-11 12:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 12:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:34:09] 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-07-11 12:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640815616001,"66":12645,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640815616001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:34:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640815616001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":130550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:34:09] local.INFO: GPS data processed {"connection_id":130550,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:34:09] local.INFO: Acknowledgment sent {"connection_id":130550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:34:09] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:34:09] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:34:09] local.INFO: IMEI packet received {"connection_id":130551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":130551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:34:10] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:34:10] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:34:10] local.INFO: Packet analysis {"connection_id":130551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:34:10] local.INFO: Extracted packet for processing {"connection_id":130551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:34: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-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:34:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":130551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:34:10] local.INFO: GPS data processed {"connection_id":130551,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:34:10] local.INFO: Acknowledgment sent {"connection_id":130551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:34:40] local.INFO: TCP Data received {"connection_id":130550,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffd09b8012d197680071fee20003f011728..."} 
[2026-07-11 12:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffd09b8012d197680071fee20003f011728..."} 
[2026-07-11 12:34:40] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffd09b8012d197680071fee20003f011728..."} 
[2026-07-11 12:34:40] local.INFO: Packet analysis {"connection_id":130550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffd"} 
[2026-07-11 12:34:40] local.INFO: Extracted packet for processing {"connection_id":130550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffd"} 
[2026-07-11 12:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640873216001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783753411000,"timestamp_ms":1783753411000,"timestamp_seconds":1783753411,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffd09b8"} 
[2026-07-11 12:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 12:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:34:40] 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-07-11 12:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640873216001,"66":12645,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640873216001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:34:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640873216001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":130550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:34:40] local.INFO: GPS data processed {"connection_id":130550,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:34:40] local.INFO: Acknowledgment sent {"connection_id":130550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:34:41] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:34:41] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:34:41] local.INFO: Packet analysis {"connection_id":130551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:34:41] local.INFO: Extracted packet for processing {"connection_id":130551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:34:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":130551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:34:41] local.INFO: GPS data processed {"connection_id":130551,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:34:41] local.INFO: Acknowledgment sent {"connection_id":130551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:34:59] local.INFO: TCP Data received {"connection_id":129329,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:34:59] local.INFO: Processing buffer {"connection_id":129329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:34:59] local.INFO: IMEI packet received {"connection_id":129329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":129329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:35:00] local.INFO: TCP Data received {"connection_id":129329,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:35:00] local.INFO: Processing buffer {"connection_id":129329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:35:00] local.INFO: IMEI packet received {"connection_id":129329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":129329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:35:04] local.INFO: TCP Data received {"connection_id":128610,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:35:04] local.INFO: Processing buffer {"connection_id":128610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:35:04] local.INFO: IMEI packet received {"connection_id":128610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:35:05] local.INFO: TCP Data received {"connection_id":129329,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:35:05] local.INFO: Processing buffer {"connection_id":129329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:35:05] local.INFO: IMEI packet received {"connection_id":129329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":129329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:35:06] local.INFO: TCP Data received {"connection_id":129329,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffd09b8012d197680071fee20003f011728..."} 
[2026-07-11 12:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffd09b8012d197680071fee20003f011728..."} 
[2026-07-11 12:35:06] local.INFO: Processing buffer {"connection_id":129329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffd09b8012d197680071fee20003f011728..."} 
[2026-07-11 12:35:06] local.INFO: Packet analysis {"connection_id":129329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffd"} 
[2026-07-11 12:35:06] local.INFO: Extracted packet for processing {"connection_id":129329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffd"} 
[2026-07-11 12:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119533088,"longitude_deg":75.6643456,"latitude_deg":11.9533088,"altitude":63,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d197680","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-07-11 12:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640873216001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626536006778880,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288881664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783753411000,"timestamp_ms":1783753411000,"timestamp_seconds":1783753411,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffd09b8"} 
[2026-07-11 12:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 12:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:35:06] 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-07-11 12:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640873216001,"66":12645,"103":206,"83":41984,"24":0,"16":5626536006778880,"45":1834794666288881664},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640873216001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:35:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626536006778880,"km_value":5626536006778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288881664,"description":"Unknown IO ID 45"} 
[2026-07-11 12:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640873216001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288881664}} 
[2026-07-11 12:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":129329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:35:06] local.INFO: GPS data processed {"connection_id":129329,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:35:06] local.INFO: Acknowledgment sent {"connection_id":129329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:35:09] local.INFO: TCP Data received {"connection_id":128610,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:35:09] local.INFO: Processing buffer {"connection_id":128610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:35:09] local.INFO: IMEI packet received {"connection_id":128610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":128610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:35:10] local.INFO: TCP Data received {"connection_id":128610,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:35:10] local.INFO: Processing buffer {"connection_id":128610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:35:10] local.INFO: Packet analysis {"connection_id":128610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:35:10] local.INFO: Extracted packet for processing {"connection_id":128610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:35: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-07-11 12:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:35:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":128610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:35:10] local.INFO: GPS data processed {"connection_id":128610,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:35:10] local.INFO: Acknowledgment sent {"connection_id":128610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:35:37] local.INFO: TCP Data received {"connection_id":129329,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe2eb0012d196c40071fed780037006227..."} 
[2026-07-11 12:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe2eb0012d196c40071fed780037006227..."} 
[2026-07-11 12:35:37] local.INFO: Processing buffer {"connection_id":129329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe2eb0012d196c40071fed780037006227..."} 
[2026-07-11 12:35:37] local.INFO: Packet analysis {"connection_id":129329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:35:37] local.INFO: Extracted packet for processing {"connection_id":129329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119532920,"longitude_deg":75.6640832,"latitude_deg":11.953292,"altitude":55,"angle":98,"satellites":39,"speed":7,"hex_longitude":"2d196c40","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-07-11 12:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640892160001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626634791026688,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289199104,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35: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-07-11 12:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783753486000,"timestamp_ms":1783753486000,"timestamp_seconds":1783753486,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe2eb0"} 
[2026-07-11 12:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 12:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:35:37] 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-07-11 12:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640892160001,"66":13961,"102":206,"83":41984,"24":7,"16":5626634791026688,"45":1831768810289199104},"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-07-11 12:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640892160001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:35:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626634791026688,"km_value":5626634791026.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289199104,"description":"Unknown IO ID 45"} 
[2026-07-11 12:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640892160001,"power":13961,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1831768810289199104}} 
[2026-07-11 12:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":129329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:35:37] local.INFO: GPS data processed {"connection_id":129329,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:35:37] local.INFO: Acknowledgment sent {"connection_id":129329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:35:41] local.INFO: TCP Data received {"connection_id":128610,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:35:41] local.INFO: Processing buffer {"connection_id":128610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ff9fc78012cb29c0007823c60004600b32a..."} 
[2026-07-11 12:35:41] local.INFO: Packet analysis {"connection_id":128610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:35:41] local.INFO: Extracted packet for processing {"connection_id":128610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ff9"} 
[2026-07-11 12:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640744960001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753211000,"timestamp_ms":1783753211000,"timestamp_seconds":1783753211,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ff9fc78"} 
[2026-07-11 12:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 12:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640744960001,"66":25625,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640744960001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:35:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640744960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":128610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:35:41] local.INFO: GPS data processed {"connection_id":128610,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:35:41] local.INFO: Acknowledgment sent {"connection_id":128610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:36:00] local.INFO: TCP Data received {"connection_id":129330,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:36:00] local.INFO: Processing buffer {"connection_id":129330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:36:00] local.INFO: IMEI packet received {"connection_id":129330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":129330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:36:04] local.INFO: TCP Data received {"connection_id":130553,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:36:04] local.INFO: Processing buffer {"connection_id":130553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:36:04] local.INFO: IMEI packet received {"connection_id":130553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":130553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:36:05] local.INFO: TCP Data received {"connection_id":129330,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:36:05] local.INFO: Processing buffer {"connection_id":129330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:36:05] local.INFO: IMEI packet received {"connection_id":129330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":129330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:36:05] local.INFO: TCP Data received {"connection_id":129330,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe4620012d197040071fecc00036006e27..."} 
[2026-07-11 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe4620012d197040071fecc00036006e27..."} 
[2026-07-11 12:36:05] local.INFO: Processing buffer {"connection_id":129330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe4620012d197040071fecc00036006e27..."} 
[2026-07-11 12:36:05] local.INFO: Packet analysis {"connection_id":129330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:36:05] local.INFO: Extracted packet for processing {"connection_id":129330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756641856,"raw_latitude":119532736,"longitude_deg":75.6641856,"latitude_deg":11.9532736,"altitude":54,"angle":110,"satellites":39,"speed":7,"hex_longitude":"2d197040","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640892416001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5626682035666944,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547777554432,"note":"Value kept but may cause issues"} 
[2026-07-11 12: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-07-11 12:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783753492000,"timestamp_ms":1783753492000,"timestamp_seconds":1783753492,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe4620"} 
[2026-07-11 12:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 12:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:36:05] 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-07-11 12:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640892416001,"66":14070,"102":206,"83":41984,"24":7,"16":5626682035666944,"45":1831909547777554432},"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-07-11 12:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640892416001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:36:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 12:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5626682035666944,"km_value":5626682035666.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547777554432,"description":"Unknown IO ID 45"} 
[2026-07-11 12:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640892416001,"power":14070,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1831909547777554432}} 
[2026-07-11 12:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":129330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:36:06] local.INFO: GPS data processed {"connection_id":129330,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:36:06] local.INFO: Acknowledgment sent {"connection_id":129330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:36:09] local.INFO: TCP Data received {"connection_id":130553,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:36:09] local.INFO: Processing buffer {"connection_id":130553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:36:09] local.INFO: IMEI packet received {"connection_id":130553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":130553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:36:10] local.INFO: TCP Data received {"connection_id":130553,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:36:10] local.INFO: Processing buffer {"connection_id":130553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:36:10] local.INFO: Packet analysis {"connection_id":130553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:36:10] local.INFO: Extracted packet for processing {"connection_id":130553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 12:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:36: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-07-11 12:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:36:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":130553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:36:10] local.INFO: GPS data processed {"connection_id":130553,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:36:10] local.INFO: Acknowledgment sent {"connection_id":130553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:36:11] local.INFO: TCP Data received {"connection_id":130552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:36:11] local.INFO: Processing buffer {"connection_id":130552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:36:11] local.INFO: IMEI packet received {"connection_id":130552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":130552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:36:38] local.INFO: TCP Data received {"connection_id":129330,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fff3850012d19ca40071ff2b00022002426..."} 
[2026-07-11 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fff3850012d19ca40071ff2b00022002426..."} 
[2026-07-11 12:36:38] local.INFO: Processing buffer {"connection_id":129330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fff3850012d19ca40071ff2b00022002426..."} 
[2026-07-11 12:36:38] local.INFO: Packet analysis {"connection_id":129330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fff"} 
[2026-07-11 12:36:38] local.INFO: Extracted packet for processing {"connection_id":129330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fff"} 
[2026-07-11 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119534256,"longitude_deg":75.6664896,"latitude_deg":11.9534256,"altitude":34,"angle":36,"satellites":38,"speed":11,"hex_longitude":"2d19ca40","hex_latitude":"071ff2b0","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640909568001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5627815907033088,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351867738112,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783753554000,"timestamp_ms":1783753554000,"timestamp_seconds":1783753554,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fff3850"} 
[2026-07-11 12:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6967787226,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503685493096448,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":79,"raw_value":4277016577,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4071096366,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":19,"raw_value":4261806080,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84752140828352496,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":13229603749367040,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:38] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,254,159,48,45,192,240,34,37,10,66,9,64,239,39,40,242,1,71,227,79,31,4,113,205,13,230,162,96,55,2,19,7,46,11,206,144,160],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-11 12:36:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450021032661942272,"timestamp_seconds":2450021032661942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 12:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:36:38] 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-07-11 12:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640909568001,"66":14341,"101":206,"83":41984,"24":11,"16":5627815907033088,"45":1858016351867738112},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 12:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640909568001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:36:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 12:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5627815907033088,"km_value":5627815907033.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351867738112,"description":"Unknown IO ID 45"} 
[2026-07-11 12:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640909568001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1858016351867738112}} 
[2026-07-11 12:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":129330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:36:38] local.INFO: GPS data processed {"connection_id":129330,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:36:38] local.INFO: Acknowledgment sent {"connection_id":129330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:36:41] local.INFO: TCP Data received {"connection_id":130553,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:36:41] local.INFO: Processing buffer {"connection_id":130553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:36:41] local.INFO: Packet analysis {"connection_id":130553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:36:41] local.INFO: Extracted packet for processing {"connection_id":130553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 12:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:36:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":130553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:36:41] local.INFO: GPS data processed {"connection_id":130553,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:36:41] local.INFO: Acknowledgment sent {"connection_id":130553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:36:51] local.INFO: TCP Data received {"connection_id":128611,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:36:51] local.INFO: Processing buffer {"connection_id":128611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:36:51] local.INFO: IMEI packet received {"connection_id":128611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":128611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:37:00] local.INFO: TCP Data received {"connection_id":129331,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:37:00] local.INFO: Processing buffer {"connection_id":129331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:37:00] local.INFO: IMEI packet received {"connection_id":129331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":129331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:37:03] local.INFO: TCP Data received {"connection_id":129331,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:37:03] local.INFO: Processing buffer {"connection_id":129331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:37:03] local.INFO: IMEI packet received {"connection_id":129331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":129331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:37:04] local.INFO: TCP Data received {"connection_id":130555,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:37:04] local.INFO: Processing buffer {"connection_id":130555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:37:04] local.INFO: IMEI packet received {"connection_id":130555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":130555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:37:05] local.INFO: TCP Data received {"connection_id":129331,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:37:05] local.INFO: Processing buffer {"connection_id":129331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:37:05] local.INFO: IMEI packet received {"connection_id":129331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":129331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:37:05] local.INFO: TCP Data received {"connection_id":129331,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fff3c38012d19cac0071ff3d80023001626..."} 
[2026-07-11 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fff3c38012d19cac0071ff3d80023001626..."} 
[2026-07-11 12:37:05] local.INFO: Processing buffer {"connection_id":129331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fff3c38012d19cac0071ff3d80023001626..."} 
[2026-07-11 12:37:05] local.INFO: Packet analysis {"connection_id":129331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fff"} 
[2026-07-11 12:37:05] local.INFO: Extracted packet for processing {"connection_id":129331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fff"} 
[2026-07-11 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119534552,"longitude_deg":75.6665024,"latitude_deg":11.9534552,"altitude":35,"angle":22,"satellites":38,"speed":12,"hex_longitude":"2d19cac0","hex_latitude":"071ff3d8","is_valid_coordinates":true} 
[2026-07-11 12:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640909824001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5627833086902272,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588698112,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783753555000,"timestamp_ms":1783753555000,"timestamp_seconds":1783753555,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fff3c38"} 
[2026-07-11 12:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6967787230,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503685493555200,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":79,"raw_value":4277272577,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4063756333,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":19,"raw_value":4262264832,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84752146197061617,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.WARNING: Large IO value detected {"io_id":96,"raw_value":12948047168277248,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:05] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,254,159,52,45,34,38,10,66,48,192,240,37,9,64,1,71,227,79,31,4,113,205,238,165,168,39,239,56,2,19,7,47,12,206,120,96],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-11 12:37:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2449997942917627904,"timestamp_seconds":2449997942917628.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 12:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:37:05] 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-07-11 12:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640909824001,"66":13580,"101":206,"83":41984,"24":12,"16":5627833086902272,"45":1858368195588698112},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 12:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640909824001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:37:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 12:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5627833086902272,"km_value":5627833086902.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588698112,"description":"Unknown IO ID 45"} 
[2026-07-11 12:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640909824001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1858368195588698112}} 
[2026-07-11 12:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":129331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:37:06] local.INFO: GPS data processed {"connection_id":129331,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:37:06] local.INFO: Acknowledgment sent {"connection_id":129331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:37:09] local.INFO: TCP Data received {"connection_id":130555,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:37:09] local.INFO: Processing buffer {"connection_id":130555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:37:09] local.INFO: IMEI packet received {"connection_id":130555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":130555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:37:10] local.INFO: TCP Data received {"connection_id":130555,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:37:10] local.INFO: Processing buffer {"connection_id":130555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:37:10] local.INFO: Packet analysis {"connection_id":130555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:37:10] local.INFO: Extracted packet for processing {"connection_id":130555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:37:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 12:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 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-07-11 12:37: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-07-11 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 12:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:37:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":130555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:37:10] local.INFO: GPS data processed {"connection_id":130555,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:37:10] local.INFO: Acknowledgment sent {"connection_id":130555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:37:37] local.INFO: TCP Data received {"connection_id":129331,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4fffc8d8012d19c90007201e200024015128..."} 
[2026-07-11 12:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4fffc8d8012d19c90007201e200024015128..."} 
[2026-07-11 12:37:37] local.INFO: Processing buffer {"connection_id":129331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4fffc8d8012d19c90007201e200024015128..."} 
[2026-07-11 12:37:37] local.INFO: Packet analysis {"connection_id":129331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fff"} 
[2026-07-11 12:37:37] local.INFO: Extracted packet for processing {"connection_id":129331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fff"} 
[2026-07-11 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756664576,"raw_latitude":119545376,"longitude_deg":75.6664576,"latitude_deg":11.9545376,"altitude":36,"angle":337,"satellites":40,"speed":23,"hex_longitude":"2d19c900","hex_latitude":"07201e20","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640918784001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5628601886048256,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301823799296,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783753591000,"timestamp_ms":1783753591000,"timestamp_seconds":1783753591,"priority":1,"record_length":96,"hex_timestamp":"0000019f4fffc8d8"} 
[2026-07-11 12:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-11 12:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:37:37] 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-07-11 12:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640918784001,"66":14396,"103":206,"83":41984,"24":23,"16":5628601886048256,"45":1858579301823799296},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640918784001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:37:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5628601886048256,"km_value":5628601886048.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301823799296,"description":"Unknown IO ID 45"} 
[2026-07-11 12:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640918784001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1858579301823799296}} 
[2026-07-11 12:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":129331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:37:37] local.INFO: GPS data processed {"connection_id":129331,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:37:37] local.INFO: Acknowledgment sent {"connection_id":129331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:37:41] local.INFO: TCP Data received {"connection_id":130555,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:37:41] local.INFO: Processing buffer {"connection_id":130555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:37:41] local.INFO: Packet analysis {"connection_id":130555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:37:41] local.INFO: Extracted packet for processing {"connection_id":130555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:37:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 12:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:37:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":130555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:37:41] local.INFO: GPS data processed {"connection_id":130555,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:37:41] local.INFO: Acknowledgment sent {"connection_id":130555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:38:02] local.INFO: TCP Data received {"connection_id":128426,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:02] local.INFO: Processing buffer {"connection_id":128426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:02] local.INFO: IMEI packet received {"connection_id":128426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":128426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:38:03] local.INFO: TCP Data received {"connection_id":128426,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:03] local.INFO: Processing buffer {"connection_id":128426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:03] local.INFO: IMEI packet received {"connection_id":128426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":128426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:38:04] local.INFO: TCP Data received {"connection_id":128426,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:04] local.INFO: Processing buffer {"connection_id":128426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:04] local.INFO: IMEI packet received {"connection_id":128426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":128426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:38:05] local.INFO: TCP Data received {"connection_id":128426,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:05] local.INFO: Processing buffer {"connection_id":128426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:05] local.INFO: IMEI packet received {"connection_id":128426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:38:05] local.INFO: TCP Data received {"connection_id":128427,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:38:05] local.INFO: Processing buffer {"connection_id":128427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:38:05] local.INFO: IMEI packet received {"connection_id":128427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:38:05] local.INFO: TCP Data received {"connection_id":128426,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffffba0012d19bd8007203d580023015e29..."} 
[2026-07-11 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffffba0012d19bd8007203d580023015e29..."} 
[2026-07-11 12:38:05] local.INFO: Processing buffer {"connection_id":128426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffffba0012d19bd8007203d580023015e29..."} 
[2026-07-11 12:38:05] local.INFO: Packet analysis {"connection_id":128426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4fff"} 
[2026-07-11 12:38:05] local.INFO: Extracted packet for processing {"connection_id":128426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4fff"} 
[2026-07-11 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119553368,"longitude_deg":75.6661632,"latitude_deg":11.9553368,"altitude":35,"angle":350,"satellites":41,"speed":27,"hex_longitude":"2d19bd80","hex_latitude":"07203d58","is_valid_coordinates":true} 
[2026-07-11 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640919296001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5629014202908672,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351870656512,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38: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-07-11 12:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783753604000,"timestamp_ms":1783753604000,"timestamp_seconds":1783753604,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffffba0"} 
[2026-07-11 12:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 12:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:38:05] 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-07-11 12:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640919296001,"66":14461,"103":206,"83":41984,"24":27,"16":5629014202908672,"45":1858016351870656512},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640919296001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:38:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5629014202908672,"km_value":5629014202908.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351870656512,"description":"Unknown IO ID 45"} 
[2026-07-11 12:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640919296001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1858016351870656512}} 
[2026-07-11 12:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":128426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:38:05] local.INFO: GPS data processed {"connection_id":128426,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:38:05] local.INFO: Acknowledgment sent {"connection_id":128426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:38:09] local.INFO: TCP Data received {"connection_id":128427,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:38:09] local.INFO: Processing buffer {"connection_id":128427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:38:09] local.INFO: IMEI packet received {"connection_id":128427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":128427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:38:10] local.INFO: TCP Data received {"connection_id":128427,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:38:10] local.INFO: Processing buffer {"connection_id":128427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:38:10] local.INFO: Packet analysis {"connection_id":128427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:38:10] local.INFO: Extracted packet for processing {"connection_id":128427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 12:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:38: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-07-11 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:38:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":128427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:38:10] local.INFO: GPS data processed {"connection_id":128427,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:38:10] local.INFO: Acknowledgment sent {"connection_id":128427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:38:36] local.INFO: TCP Data received {"connection_id":128426,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5000e600012d198cc00720b3280030010a28..."} 
[2026-07-11 12:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5000e600012d198cc00720b3280030010a28..."} 
[2026-07-11 12:38:36] local.INFO: Processing buffer {"connection_id":128426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5000e600012d198cc00720b3280030010a28..."} 
[2026-07-11 12:38:36] local.INFO: Packet analysis {"connection_id":128426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5000"} 
[2026-07-11 12:38:36] local.INFO: Extracted packet for processing {"connection_id":128426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5000"} 
[2026-07-11 12:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756649152,"raw_latitude":119583528,"longitude_deg":75.6649152,"latitude_deg":11.9583528,"altitude":48,"angle":266,"satellites":40,"speed":28,"hex_longitude":"2d198cc0","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640935680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5631019952635904,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096439543808,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783753664000,"timestamp_ms":1783753664000,"timestamp_seconds":1783753664,"priority":1,"record_length":96,"hex_timestamp":"0000019f5000e600"} 
[2026-07-11 12:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 12:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:38:36] 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-07-11 12:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640935680001,"66":14428,"103":206,"83":41984,"24":28,"16":5631019952635904,"45":1848235096439543808},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640935680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:38:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5631019952635904,"km_value":5631019952635.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096439543808,"description":"Unknown IO ID 45"} 
[2026-07-11 12:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640935680001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1848235096439543808}} 
[2026-07-11 12:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":128426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:38:36] local.INFO: GPS data processed {"connection_id":128426,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:38:36] local.INFO: Acknowledgment sent {"connection_id":128426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:38:41] local.INFO: TCP Data received {"connection_id":128427,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:38:41] local.INFO: Processing buffer {"connection_id":128427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:38:41] local.INFO: Packet analysis {"connection_id":128427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:38:41] local.INFO: Extracted packet for processing {"connection_id":128427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 12:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:38:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":128427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:38:41] local.INFO: GPS data processed {"connection_id":128427,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:38:41] local.INFO: Acknowledgment sent {"connection_id":128427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:38:56] local.INFO: TCP Data received {"connection_id":129333,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:56] local.INFO: Processing buffer {"connection_id":129333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:38:56] local.INFO: IMEI packet received {"connection_id":129333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":129333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:39:00] local.INFO: TCP Data received {"connection_id":129333,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:00] local.INFO: Processing buffer {"connection_id":129333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:00] local.INFO: IMEI packet received {"connection_id":129333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":129333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:39:04] local.INFO: TCP Data received {"connection_id":129333,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:04] local.INFO: Processing buffer {"connection_id":129333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:04] local.INFO: IMEI packet received {"connection_id":129333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":129333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:39:04] local.INFO: TCP Data received {"connection_id":130556,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:39:04] local.INFO: Processing buffer {"connection_id":130556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:39:04] local.INFO: IMEI packet received {"connection_id":130556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":130556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:39:05] local.INFO: TCP Data received {"connection_id":129333,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50010158012d1978000720af90002f00fd27..."} 
[2026-07-11 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50010158012d1978000720af90002f00fd27..."} 
[2026-07-11 12:39:05] local.INFO: Processing buffer {"connection_id":129333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50010158012d1978000720af90002f00fd27..."} 
[2026-07-11 12:39:05] local.INFO: Packet analysis {"connection_id":129333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5001"} 
[2026-07-11 12:39:05] local.INFO: Extracted packet for processing {"connection_id":129333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5001"} 
[2026-07-11 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756643840,"raw_latitude":119582608,"longitude_deg":75.664384,"latitude_deg":11.9582608,"altitude":47,"angle":253,"satellites":39,"speed":31,"hex_longitude":"2d197800","hex_latitude":"0720af90","is_valid_coordinates":true} 
[2026-07-11 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640937984001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5631277650673664,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841057484533606400,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783753671000,"timestamp_ms":1783753671000,"timestamp_seconds":1783753671,"priority":1,"record_length":96,"hex_timestamp":"0000019f50010158"} 
[2026-07-11 12:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:39: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-07-11 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 12:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:39:05] 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-07-11 12:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640937984001,"66":14494,"103":206,"83":41984,"24":31,"16":5631277650673664,"45":1841057484533606400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640937984001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:39:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5631277650673664,"km_value":5631277650673.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841057484533606400,"description":"Unknown IO ID 45"} 
[2026-07-11 12:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640937984001,"power":14494,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1841057484533606400}} 
[2026-07-11 12:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":129333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:39:05] local.INFO: GPS data processed {"connection_id":129333,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:39:05] local.INFO: Acknowledgment sent {"connection_id":129333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:39:09] local.INFO: TCP Data received {"connection_id":130556,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:39:09] local.INFO: Processing buffer {"connection_id":130556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:39:09] local.INFO: IMEI packet received {"connection_id":130556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":130556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:39:10] local.INFO: TCP Data received {"connection_id":130556,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:39:10] local.INFO: Processing buffer {"connection_id":130556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:39:10] local.INFO: Packet analysis {"connection_id":130556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:39:10] local.INFO: Extracted packet for processing {"connection_id":130556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 12:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:39:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":130556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:39:10] local.INFO: GPS data processed {"connection_id":130556,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:39:10] local.INFO: Acknowledgment sent {"connection_id":130556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:39:35] local.INFO: TCP Data received {"connection_id":129333,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500118c8012d1965000720ab58002d010927..."} 
[2026-07-11 12:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500118c8012d1965000720ab58002d010927..."} 
[2026-07-11 12:39:35] local.INFO: Processing buffer {"connection_id":129333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500118c8012d1965000720ab58002d010927..."} 
[2026-07-11 12:39:35] local.INFO: Packet analysis {"connection_id":129333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5001"} 
[2026-07-11 12:39:35] local.INFO: Extracted packet for processing {"connection_id":129333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5001"} 
[2026-07-11 12:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119581528,"longitude_deg":75.6638976,"latitude_deg":11.9581528,"altitude":45,"angle":265,"satellites":39,"speed":33,"hex_longitude":"2d196500","hex_latitude":"0720ab58","is_valid_coordinates":true} 
[2026-07-11 12:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640939776001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5631513873874944,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835216878766624768,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783753677000,"timestamp_ms":1783753677000,"timestamp_seconds":1783753677,"priority":1,"record_length":96,"hex_timestamp":"0000019f500118c8"} 
[2026-07-11 12:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-11 12:39:35] 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-07-11 12:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":129333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":129333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":129333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:39:35] 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-07-11 12:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640939776001,"66":14483,"103":206,"83":41984,"24":33,"16":5631513873874944,"45":1835216878766624768},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640939776001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:39:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5631513873874944,"km_value":5631513873874.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835216878766624768,"description":"Unknown IO ID 45"} 
[2026-07-11 12:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640939776001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1835216878766624768}} 
[2026-07-11 12:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":129333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:39:35] local.INFO: GPS data processed {"connection_id":129333,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:39:35] local.INFO: Acknowledgment sent {"connection_id":129333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:39:41] local.INFO: TCP Data received {"connection_id":130556,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:39:41] local.INFO: Processing buffer {"connection_id":130556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:39:41] local.INFO: Packet analysis {"connection_id":130556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:39:41] local.INFO: Extracted packet for processing {"connection_id":130556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 12:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:39:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":130556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:39:41] local.INFO: GPS data processed {"connection_id":130556,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:39:41] local.INFO: Acknowledgment sent {"connection_id":130556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:39:57] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:57] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:57] local.INFO: IMEI packet received {"connection_id":128613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":128613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:39:59] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:59] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:39:59] local.INFO: IMEI packet received {"connection_id":128613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":128613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:40:00] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:40:00] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:40:00] local.INFO: IMEI packet received {"connection_id":128613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":128613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:40:04] local.INFO: TCP Data received {"connection_id":128614,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:40:04] local.INFO: Processing buffer {"connection_id":128614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:40:04] local.INFO: IMEI packet received {"connection_id":128614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":128614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:40:05] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:40:05] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:40:05] local.INFO: IMEI packet received {"connection_id":128613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":128613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:40:06] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50020328012d18d240072112b0003c016224..."} 
[2026-07-11 12:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50020328012d18d240072112b0003c016224..."} 
[2026-07-11 12:40:06] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50020328012d18d240072112b0003c016224..."} 
[2026-07-11 12:40:06] local.INFO: Packet analysis {"connection_id":128613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5002"} 
[2026-07-11 12:40:06] local.INFO: Extracted packet for processing {"connection_id":128613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5002"} 
[2026-07-11 12:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119607984,"longitude_deg":75.6601408,"latitude_deg":11.9607984,"altitude":60,"angle":354,"satellites":36,"speed":30,"hex_longitude":"2d18d240","hex_latitude":"072112b0","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640955392001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5633871810920448,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563800856576,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783753737000,"timestamp_ms":1783753737000,"timestamp_seconds":1783753737,"priority":1,"record_length":96,"hex_timestamp":"0000019f50020328"} 
[2026-07-11 12:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 12:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:40:06] 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-07-11 12:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640955392001,"66":14428,"103":206,"83":41984,"24":30,"16":5633871810920448,"45":1789547563800856576},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640955392001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:40:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5633871810920448,"km_value":5633871810920.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563800856576,"description":"Unknown IO ID 45"} 
[2026-07-11 12:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640955392001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1789547563800856576}} 
[2026-07-11 12:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":128613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:40:06] local.INFO: GPS data processed {"connection_id":128613,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:40:06] local.INFO: Acknowledgment sent {"connection_id":128613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:40:09] local.INFO: TCP Data received {"connection_id":128614,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:40:09] local.INFO: Processing buffer {"connection_id":128614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:40:09] local.INFO: IMEI packet received {"connection_id":128614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":128614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:40:10] local.INFO: TCP Data received {"connection_id":128614,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:40:10] local.INFO: Processing buffer {"connection_id":128614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:40:10] local.INFO: Packet analysis {"connection_id":128614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:40:10] local.INFO: Extracted packet for processing {"connection_id":128614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 12:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:40: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-07-11 12:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:40:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":128614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:40:10] local.INFO: GPS data processed {"connection_id":128614,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:40:10] local.INFO: Acknowledgment sent {"connection_id":128614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:40:37] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50022268012d18d0c007212a88003e015324..."} 
[2026-07-11 12:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50022268012d18d0c007212a88003e015324..."} 
[2026-07-11 12:40:37] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50022268012d18d0c007212a88003e015324..."} 
[2026-07-11 12:40:37] local.INFO: Packet analysis {"connection_id":128613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5002"} 
[2026-07-11 12:40:37] local.INFO: Extracted packet for processing {"connection_id":128613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5002"} 
[2026-07-11 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119614088,"longitude_deg":75.6601024,"latitude_deg":11.9614088,"altitude":62,"angle":339,"satellites":36,"speed":30,"hex_longitude":"2d18d0c0","hex_latitude":"07212a88","is_valid_coordinates":true} 
[2026-07-11 12:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640956672001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5634168163663872,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401383329792,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783753745000,"timestamp_ms":1783753745000,"timestamp_seconds":1783753745,"priority":1,"record_length":96,"hex_timestamp":"0000019f50022268"} 
[2026-07-11 12:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 12:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:40:37] 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-07-11 12:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640956672001,"66":14494,"103":206,"83":41984,"24":30,"16":5634168163663872,"45":1788562401383329792},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 12:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640956672001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:40:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 12:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5634168163663872,"km_value":5634168163663.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401383329792,"description":"Unknown IO ID 45"} 
[2026-07-11 12:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640956672001,"power":14494,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1788562401383329792}} 
[2026-07-11 12:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":128613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:40:37] local.INFO: GPS data processed {"connection_id":128613,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:40:37] local.INFO: Acknowledgment sent {"connection_id":128613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:40:41] local.INFO: TCP Data received {"connection_id":128614,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:40:41] local.INFO: Processing buffer {"connection_id":128614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4ffe9440012cb29c0007823c60004900b32a..."} 
[2026-07-11 12:40:41] local.INFO: Packet analysis {"connection_id":128614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:40:41] local.INFO: Extracted packet for processing {"connection_id":128614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4ffe"} 
[2026-07-11 12:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640822016001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753512000,"timestamp_ms":1783753512000,"timestamp_seconds":1783753512,"priority":1,"record_length":96,"hex_timestamp":"0000019f4ffe9440"} 
[2026-07-11 12:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 12:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640822016001,"66":25615,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640822016001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:40:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640822016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":128614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:40:41] local.INFO: GPS data processed {"connection_id":128614,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:40:41] local.INFO: Acknowledgment sent {"connection_id":128614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:41:00] local.INFO: TCP Data received {"connection_id":128429,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:41:00] local.INFO: Processing buffer {"connection_id":128429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:41:00] local.INFO: IMEI packet received {"connection_id":128429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":128429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:41:04] local.INFO: TCP Data received {"connection_id":130558,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:41:04] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:41:04] local.INFO: IMEI packet received {"connection_id":130558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":130558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:41:05] local.INFO: TCP Data received {"connection_id":128429,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:41:05] local.INFO: Processing buffer {"connection_id":128429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:41:05] local.INFO: IMEI packet received {"connection_id":128429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":128429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:41:06] local.INFO: TCP Data received {"connection_id":128429,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5002f170012d185d80072183d00049012628..."} 
[2026-07-11 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5002f170012d185d80072183d00049012628..."} 
[2026-07-11 12:41:06] local.INFO: Processing buffer {"connection_id":128429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5002f170012d185d80072183d00049012628..."} 
[2026-07-11 12:41:06] local.INFO: Packet analysis {"connection_id":128429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5002"} 
[2026-07-11 12:41:06] local.INFO: Extracted packet for processing {"connection_id":128429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5002"} 
[2026-07-11 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756571520,"raw_latitude":119636944,"longitude_deg":75.657152,"latitude_deg":11.9636944,"altitude":73,"angle":294,"satellites":40,"speed":34,"hex_longitude":"2d185d80","hex_latitude":"072183d0","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640971776001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5636178208358400,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757459416464082944,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783753798000,"timestamp_ms":1783753798000,"timestamp_seconds":1783753798,"priority":1,"record_length":96,"hex_timestamp":"0000019f5002f170"} 
[2026-07-11 12:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-11 12:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:41:06] 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-07-11 12:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640971776001,"66":14559,"106":206,"83":41984,"24":34,"16":5636178208358400,"45":1757459416464082944},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 12:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640971776001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:41:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 12:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5636178208358400,"km_value":5636178208358.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757459416464082944,"description":"Unknown IO ID 45"} 
[2026-07-11 12:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640971776001,"power":14559,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1757459416464082944}} 
[2026-07-11 12:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":128429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:41:06] local.INFO: GPS data processed {"connection_id":128429,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:41:06] local.INFO: Acknowledgment sent {"connection_id":128429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:41:09] local.INFO: TCP Data received {"connection_id":130558,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:41:09] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:41:09] local.INFO: IMEI packet received {"connection_id":130558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":130558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:41:10] local.INFO: TCP Data received {"connection_id":130558,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:41:10] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:41:10] local.INFO: Packet analysis {"connection_id":130558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:41:10] local.INFO: Extracted packet for processing {"connection_id":130558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:41:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:41:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":130558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:41:10] local.INFO: GPS data processed {"connection_id":130558,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:41:10] local.INFO: Acknowledgment sent {"connection_id":130558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:41:36] local.INFO: TCP Data received {"connection_id":129334,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-11 12:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129334,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-11 12:41:36] local.INFO: Processing buffer {"connection_id":129334,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-11 12:41:36] local.INFO: Packet analysis {"connection_id":129334,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-11 12:41:36] local.INFO: Extracted packet for processing {"connection_id":129334,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-11 12:41:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 12:41:36] 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-07-11 12:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:36] 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-07-11 12:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-11 12:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-11 12:41:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129334,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-11 12:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129334,"device_imei":null,"avl_records_count":1} 
[2026-07-11 12:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129334,"device_imei":null,"avl_records_count":1} 
[2026-07-11 12:41:36] 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-07-11 12:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":129334,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 12:41:36] local.INFO: GPS data processed {"connection_id":129334,"processed":0,"errors":0,"total":1} 
[2026-07-11 12:41:36] local.INFO: Acknowledgment sent {"connection_id":129334,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:41:38] local.INFO: TCP Data received {"connection_id":128429,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032050012d183b40072193b8004b012228..."} 
[2026-07-11 12:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032050012d183b40072193b8004b012228..."} 
[2026-07-11 12:41:38] local.INFO: Processing buffer {"connection_id":128429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032050012d183b40072193b8004b012228..."} 
[2026-07-11 12:41:38] local.INFO: Packet analysis {"connection_id":128429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:41:38] local.INFO: Extracted packet for processing {"connection_id":128429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756562752,"raw_latitude":119641016,"longitude_deg":75.6562752,"latitude_deg":11.9641016,"altitude":75,"angle":290,"satellites":40,"speed":26,"hex_longitude":"2d183b40","hex_latitude":"072193b8","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640972288001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5636637769859072,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755700197859774464,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783753810000,"timestamp_ms":1783753810000,"timestamp_seconds":1783753810,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032050"} 
[2026-07-11 12:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-11 12:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:41:38] 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-07-11 12:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640972288001,"66":14483,"107":206,"83":41984,"24":26,"16":5636637769859072,"45":1755700197859774464},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 12:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640972288001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:41:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 12:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5636637769859072,"km_value":5636637769859.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755700197859774464,"description":"Unknown IO ID 45"} 
[2026-07-11 12:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640972288001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1755700197859774464}} 
[2026-07-11 12:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":128429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:41:38] local.INFO: GPS data processed {"connection_id":128429,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:41:38] local.INFO: Acknowledgment sent {"connection_id":128429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:41:41] local.INFO: TCP Data received {"connection_id":130558,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:41:41] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:41:41] local.INFO: Packet analysis {"connection_id":130558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:41:41] local.INFO: Extracted packet for processing {"connection_id":130558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:41:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:41:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":130558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:41:41] local.INFO: GPS data processed {"connection_id":130558,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:41:41] local.INFO: Acknowledgment sent {"connection_id":130558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:42:00] local.INFO: TCP Data received {"connection_id":128430,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:42:00] local.INFO: Processing buffer {"connection_id":128430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:42:00] local.INFO: IMEI packet received {"connection_id":128430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":128430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:42:04] local.INFO: TCP Data received {"connection_id":130559,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:42:04] local.INFO: Processing buffer {"connection_id":130559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:42:04] local.INFO: IMEI packet received {"connection_id":130559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":130559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:42:05] local.INFO: TCP Data received {"connection_id":128430,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:42:05] local.INFO: Processing buffer {"connection_id":128430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:42:05] local.INFO: IMEI packet received {"connection_id":128430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":128430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:42:06] local.INFO: TCP Data received {"connection_id":128430,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500333d8012d18318007219738004b013326..."} 
[2026-07-11 12:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500333d8012d18318007219738004b013326..."} 
[2026-07-11 12:42:06] local.INFO: Processing buffer {"connection_id":128430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500333d8012d18318007219738004b013326..."} 
[2026-07-11 12:42:06] local.INFO: Packet analysis {"connection_id":128430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:42:06] local.INFO: Extracted packet for processing {"connection_id":128430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119641912,"longitude_deg":75.6560256,"latitude_deg":11.9641912,"altitude":75,"angle":307,"satellites":38,"speed":17,"hex_longitude":"2d183180","hex_latitude":"07219738","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640975360001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5636762323910656,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746059679908476928,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:06] 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-07-11 12:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783753815000,"timestamp_ms":1783753815000,"timestamp_seconds":1783753815,"priority":1,"record_length":96,"hex_timestamp":"0000019f500333d8"} 
[2026-07-11 12:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 12:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12: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-07-11 12:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:42:06] 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-07-11 12:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640975360001,"66":14494,"107":206,"83":41984,"24":17,"16":5636762323910656,"45":1746059679908476928},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 12:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640975360001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:42:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 12:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5636762323910656,"km_value":5636762323910.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746059679908476928,"description":"Unknown IO ID 45"} 
[2026-07-11 12:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640975360001,"power":14494,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1746059679908476928}} 
[2026-07-11 12:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":128430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:42:06] local.INFO: GPS data processed {"connection_id":128430,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:42:06] local.INFO: Acknowledgment sent {"connection_id":128430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:42:09] local.INFO: TCP Data received {"connection_id":130559,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:42:09] local.INFO: Processing buffer {"connection_id":130559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:42:09] local.INFO: IMEI packet received {"connection_id":130559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":130559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:42:10] local.INFO: TCP Data received {"connection_id":130559,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:42:10] local.INFO: Processing buffer {"connection_id":130559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:42:10] local.INFO: Packet analysis {"connection_id":130559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:42:10] local.INFO: Extracted packet for processing {"connection_id":130559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:42:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":130559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:42:10] local.INFO: GPS data processed {"connection_id":130559,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:42:10] local.INFO: Acknowledgment sent {"connection_id":130559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:42:16] local.INFO: TCP Data received {"connection_id":128615,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:42:16] local.INFO: Processing buffer {"connection_id":128615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:42:16] local.INFO: IMEI packet received {"connection_id":128615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":128615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:42:37] local.INFO: TCP Data received {"connection_id":128430,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50037a28012d181e400721a758004a000027..."} 
[2026-07-11 12:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50037a28012d181e400721a758004a000027..."} 
[2026-07-11 12:42:37] local.INFO: Processing buffer {"connection_id":128430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50037a28012d181e400721a758004a000027..."} 
[2026-07-11 12:42:37] local.INFO: Packet analysis {"connection_id":128430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:42:37] local.INFO: Extracted packet for processing {"connection_id":128430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646040,"longitude_deg":75.6555328,"latitude_deg":11.964604,"altitude":74,"angle":0,"satellites":39,"speed":7,"hex_longitude":"2d181e40","hex_latitude":"0721a758","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976640001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5637075856523264,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743315298885777408,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:37] 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-07-11 12:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783753833000,"timestamp_ms":1783753833000,"timestamp_seconds":1783753833,"priority":1,"record_length":96,"hex_timestamp":"0000019f50037a28"} 
[2026-07-11 12:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-11 12:42:37] 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-07-11 12: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-07-11 12:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:42:37] 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-07-11 12:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976640001,"66":14483,"107":206,"83":41984,"24":7,"16":5637075856523264,"45":1743315298885777408},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-11 12:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976640001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:42:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 12:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5637075856523264,"km_value":5637075856523.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743315298885777408,"description":"Unknown IO ID 45"} 
[2026-07-11 12:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976640001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1743315298885777408}} 
[2026-07-11 12:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":128430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:42:38] local.INFO: GPS data processed {"connection_id":128430,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:42:38] local.INFO: Acknowledgment sent {"connection_id":128430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:42:41] local.INFO: TCP Data received {"connection_id":130559,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:42:41] local.INFO: Processing buffer {"connection_id":130559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:42:41] local.INFO: Packet analysis {"connection_id":130559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:42:41] local.INFO: Extracted packet for processing {"connection_id":130559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:42:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":130559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:42:41] local.INFO: GPS data processed {"connection_id":130559,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:42:41] local.INFO: Acknowledgment sent {"connection_id":130559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:42:45] local.INFO: TCP Data received {"connection_id":128616,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:42:45] local.INFO: Processing buffer {"connection_id":128616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:42:45] local.INFO: IMEI packet received {"connection_id":128616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":128616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:43:04] local.INFO: TCP Data received {"connection_id":130560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:43:04] local.INFO: Processing buffer {"connection_id":130560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:43:04] local.INFO: IMEI packet received {"connection_id":130560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":130560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:43:09] local.INFO: TCP Data received {"connection_id":130560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:43:09] local.INFO: Processing buffer {"connection_id":130560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:43:09] local.INFO: IMEI packet received {"connection_id":130560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":130560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:43:10] local.INFO: TCP Data received {"connection_id":130560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:43:10] local.INFO: Processing buffer {"connection_id":130560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:43:10] local.INFO: Packet analysis {"connection_id":130560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:43:10] local.INFO: Extracted packet for processing {"connection_id":130560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":130560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:43:10] local.INFO: GPS data processed {"connection_id":130560,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:43:10] local.INFO: Acknowledgment sent {"connection_id":130560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:43:34] local.INFO: TCP Data received {"connection_id":128617,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:43:34] local.INFO: Processing buffer {"connection_id":128617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:43:34] local.INFO: IMEI packet received {"connection_id":128617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":128617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:43:41] local.INFO: TCP Data received {"connection_id":130560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:43:41] local.INFO: Processing buffer {"connection_id":130560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:43:41] local.INFO: Packet analysis {"connection_id":130560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:43:41] local.INFO: Extracted packet for processing {"connection_id":130560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:43:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":130560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:43:41] local.INFO: GPS data processed {"connection_id":130560,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:43:41] local.INFO: Acknowledgment sent {"connection_id":130560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:44:04] local.INFO: TCP Data received {"connection_id":128618,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:44:04] local.INFO: Processing buffer {"connection_id":128618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:44:04] local.INFO: IMEI packet received {"connection_id":128618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":128618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:44:09] local.INFO: TCP Data received {"connection_id":128618,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:44:09] local.INFO: Processing buffer {"connection_id":128618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:44:09] local.INFO: IMEI packet received {"connection_id":128618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":128618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:44:10] local.INFO: TCP Data received {"connection_id":128618,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:44:10] local.INFO: Processing buffer {"connection_id":128618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:44:10] local.INFO: Packet analysis {"connection_id":128618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:44:10] local.INFO: Extracted packet for processing {"connection_id":128618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:44:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":128618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:44:10] local.INFO: GPS data processed {"connection_id":128618,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:44:10] local.INFO: Acknowledgment sent {"connection_id":128618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:44:41] local.INFO: TCP Data received {"connection_id":128618,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:44:41] local.INFO: Processing buffer {"connection_id":128618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:44:41] local.INFO: Packet analysis {"connection_id":128618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:44:41] local.INFO: Extracted packet for processing {"connection_id":128618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:44:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":128618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:44:41] local.INFO: GPS data processed {"connection_id":128618,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:44:41] local.INFO: Acknowledgment sent {"connection_id":128618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:45:04] local.INFO: TCP Data received {"connection_id":128432,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:45:04] local.INFO: Processing buffer {"connection_id":128432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:45:04] local.INFO: IMEI packet received {"connection_id":128432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:45:09] local.INFO: TCP Data received {"connection_id":128432,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:45:09] local.INFO: Processing buffer {"connection_id":128432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:45:09] local.INFO: IMEI packet received {"connection_id":128432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":128432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:45:10] local.INFO: TCP Data received {"connection_id":128432,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:45:10] local.INFO: Processing buffer {"connection_id":128432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:45:10] local.INFO: Packet analysis {"connection_id":128432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:45:10] local.INFO: Extracted packet for processing {"connection_id":128432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":128432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:45:10] local.INFO: GPS data processed {"connection_id":128432,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:45:10] local.INFO: Acknowledgment sent {"connection_id":128432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:45:41] local.INFO: TCP Data received {"connection_id":128432,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:45:41] local.INFO: Processing buffer {"connection_id":128432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50032c08012cb29c0007823c60004500b328..."} 
[2026-07-11 12:45:41] local.INFO: Packet analysis {"connection_id":128432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:45:41] local.INFO: Extracted packet for processing {"connection_id":128432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5003"} 
[2026-07-11 12:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640899072001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783753813000,"timestamp_ms":1783753813000,"timestamp_seconds":1783753813,"priority":1,"record_length":96,"hex_timestamp":"0000019f50032c08"} 
[2026-07-11 12:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 12:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640899072001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640899072001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:45:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640899072001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":128432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:45:41] local.INFO: GPS data processed {"connection_id":128432,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:45:41] local.INFO: Acknowledgment sent {"connection_id":128432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:46:04] local.INFO: TCP Data received {"connection_id":129339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:46:04] local.INFO: Processing buffer {"connection_id":129339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:46:04] local.INFO: IMEI packet received {"connection_id":129339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":129339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:46:09] local.INFO: TCP Data received {"connection_id":129339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:46:09] local.INFO: Processing buffer {"connection_id":129339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:46:09] local.INFO: IMEI packet received {"connection_id":129339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":129339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:46:10] local.INFO: TCP Data received {"connection_id":129339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:46:10] local.INFO: Processing buffer {"connection_id":129339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:46:10] local.INFO: Packet analysis {"connection_id":129339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:46:10] local.INFO: Extracted packet for processing {"connection_id":129339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:46: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-07-11 12:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:46:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":129339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:46:10] local.INFO: GPS data processed {"connection_id":129339,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:46:10] local.INFO: Acknowledgment sent {"connection_id":129339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:46:41] local.INFO: TCP Data received {"connection_id":129339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:46:41] local.INFO: Processing buffer {"connection_id":129339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:46:41] local.INFO: Packet analysis {"connection_id":129339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:46:41] local.INFO: Extracted packet for processing {"connection_id":129339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:46: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-07-11 12:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:46:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":129339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:46:41] local.INFO: GPS data processed {"connection_id":129339,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:46:41] local.INFO: Acknowledgment sent {"connection_id":129339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:47:04] local.INFO: TCP Data received {"connection_id":128433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:47:04] local.INFO: Processing buffer {"connection_id":128433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:47:04] local.INFO: IMEI packet received {"connection_id":128433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:47:09] local.INFO: TCP Data received {"connection_id":128433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:47:09] local.INFO: Processing buffer {"connection_id":128433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:47:09] local.INFO: IMEI packet received {"connection_id":128433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":128433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:47:10] local.INFO: TCP Data received {"connection_id":128433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:47:10] local.INFO: Processing buffer {"connection_id":128433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:47:10] local.INFO: Packet analysis {"connection_id":128433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:47:10] local.INFO: Extracted packet for processing {"connection_id":128433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:47: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-07-11 12:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:47:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":128433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:47:10] local.INFO: GPS data processed {"connection_id":128433,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:47:10] local.INFO: Acknowledgment sent {"connection_id":128433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:47:41] local.INFO: TCP Data received {"connection_id":128433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:47:41] local.INFO: Processing buffer {"connection_id":128433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:47:41] local.INFO: Packet analysis {"connection_id":128433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:47:41] local.INFO: Extracted packet for processing {"connection_id":128433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:47: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-07-11 12:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:47:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":128433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:47:41] local.INFO: GPS data processed {"connection_id":128433,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:47:41] local.INFO: Acknowledgment sent {"connection_id":128433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:48:04] local.INFO: TCP Data received {"connection_id":128434,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:48:04] local.INFO: Processing buffer {"connection_id":128434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:48:04] local.INFO: IMEI packet received {"connection_id":128434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":128434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:48:05] local.INFO: TCP Data received {"connection_id":130562,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:48:05] local.INFO: Processing buffer {"connection_id":130562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:48:05] local.INFO: IMEI packet received {"connection_id":130562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":130562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:48:09] local.INFO: TCP Data received {"connection_id":128434,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:48:09] local.INFO: Processing buffer {"connection_id":128434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:48:09] local.INFO: IMEI packet received {"connection_id":128434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":128434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:48:10] local.INFO: TCP Data received {"connection_id":128434,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:48:10] local.INFO: Processing buffer {"connection_id":128434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:48:10] local.INFO: Packet analysis {"connection_id":128434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:48:10] local.INFO: Extracted packet for processing {"connection_id":128434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:48: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-07-11 12:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:48:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":128434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:48:10] local.INFO: GPS data processed {"connection_id":128434,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:48:10] local.INFO: Acknowledgment sent {"connection_id":128434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:48:30] local.INFO: TCP Data received {"connection_id":128621,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:48:30] local.INFO: Processing buffer {"connection_id":128621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:48:30] local.INFO: IMEI packet received {"connection_id":128621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":128621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:48:30] local.INFO: TCP Data received {"connection_id":128621,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5008c988012d1af340072468380027002727..."} 
[2026-07-11 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5008c988012d1af340072468380027002727..."} 
[2026-07-11 12:48:30] local.INFO: Processing buffer {"connection_id":128621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5008c988012d1af340072468380027002727..."} 
[2026-07-11 12:48:30] local.INFO: Packet analysis {"connection_id":128621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5008"} 
[2026-07-11 12:48:30] local.INFO: Extracted packet for processing {"connection_id":128621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5008"} 
[2026-07-11 12:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756740928,"raw_latitude":119826488,"longitude_deg":75.6740928,"latitude_deg":11.9826488,"altitude":39,"angle":39,"satellites":39,"speed":19,"hex_longitude":"2d1af340","hex_latitude":"07246838","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641066496001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5650806866968576,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675409920,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783754181000,"timestamp_ms":1783754181000,"timestamp_seconds":1783754181,"priority":1,"record_length":96,"hex_timestamp":"0000019f5008c988"} 
[2026-07-11 12:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:48: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-07-11 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 12:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84752938618528757,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503685818679296,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-11 12:48:30] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:30] local.WARNING: Large IO value detected {"io_id":96,"raw_value":13229479161766144,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:30] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,176,83,24,241,157,16,18,159,131,45,192,66,35,10,107,64,57,40,72,1,240,38,227,80,36,4,113,205,31,234,117,232,239,55,137,2,20,7,46,32,206,96],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-11 12:48:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242622672652992512,"timestamp_seconds":3242622672652992.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 12:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":128621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":128621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":128621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:48:30] 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-07-11 12:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641066496001,"66":14374,"176":206,"83":42752,"24":19,"16":5650806866968576,"45":1936758976675409920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-11 12:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641066496001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:48:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 12:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5650806866968576,"km_value":5650806866968.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675409920,"description":"Unknown IO ID 45"} 
[2026-07-11 12:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641066496001,"power":14374,"unknown_176":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1936758976675409920}} 
[2026-07-11 12:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":128621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:48:30] local.INFO: GPS data processed {"connection_id":128621,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:48:30] local.INFO: Acknowledgment sent {"connection_id":128621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:48:41] local.INFO: TCP Data received {"connection_id":128434,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:48:41] local.INFO: Processing buffer {"connection_id":128434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:48:41] local.INFO: Packet analysis {"connection_id":128434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:48:41] local.INFO: Extracted packet for processing {"connection_id":128434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:48: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-07-11 12:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:48:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":128434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:48:41] local.INFO: GPS data processed {"connection_id":128434,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:48:41] local.INFO: Acknowledgment sent {"connection_id":128434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:48:50] local.INFO: TCP Data received {"connection_id":130563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:48:50] local.INFO: Processing buffer {"connection_id":130563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:48:50] local.INFO: IMEI packet received {"connection_id":130563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":130563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:49:00] local.INFO: TCP Data received {"connection_id":129340,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:00] local.INFO: Processing buffer {"connection_id":129340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:00] local.INFO: IMEI packet received {"connection_id":129340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":129340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:49:02] local.INFO: TCP Data received {"connection_id":129340,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:02] local.INFO: Processing buffer {"connection_id":129340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:02] local.INFO: IMEI packet received {"connection_id":129340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":129340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:49:04] local.INFO: TCP Data received {"connection_id":129341,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:49:04] local.INFO: Processing buffer {"connection_id":129341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:49:04] local.INFO: IMEI packet received {"connection_id":129341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":129341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:49:06] local.INFO: TCP Data received {"connection_id":129340,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:06] local.INFO: Processing buffer {"connection_id":129340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:06] local.INFO: IMEI packet received {"connection_id":129340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":129340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:49:07] local.INFO: TCP Data received {"connection_id":129340,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50091b90012d1b05c007247bc00027002c27..."} 
[2026-07-11 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50091b90012d1b05c007247bc00027002c27..."} 
[2026-07-11 12:49:07] local.INFO: Processing buffer {"connection_id":129340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50091b90012d1b05c007247bc00027002c27..."} 
[2026-07-11 12:49:07] local.INFO: Packet analysis {"connection_id":129340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5009"} 
[2026-07-11 12:49:07] local.INFO: Extracted packet for processing {"connection_id":129340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5009"} 
[2026-07-11 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756745664,"raw_latitude":119831488,"longitude_deg":75.6745664,"latitude_deg":11.9831488,"altitude":39,"angle":44,"satellites":39,"speed":13,"hex_longitude":"2d1b05c0","hex_latitude":"07247bc0","is_valid_coordinates":true} 
[2026-07-11 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641070336001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5651137579450368,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941966263746574336,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783754202000,"timestamp_ms":1783754202000,"timestamp_seconds":1783754202,"priority":1,"record_length":96,"hex_timestamp":"0000019f50091b90"} 
[2026-07-11 12:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 12:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:49:07] 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-07-11 12:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641070336001,"66":14428,"136":206,"83":42752,"24":13,"16":5651137579450368,"45":1941966263746574336},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-11 12:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641070336001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:49:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-11 12:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5651137579450368,"km_value":5651137579450.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941966263746574336,"description":"Unknown IO ID 45"} 
[2026-07-11 12:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641070336001,"power":14428,"unknown_136":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1941966263746574336}} 
[2026-07-11 12:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":129340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:49:07] local.INFO: GPS data processed {"connection_id":129340,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:49:07] local.INFO: Acknowledgment sent {"connection_id":129340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:49:09] local.INFO: TCP Data received {"connection_id":129341,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:49:09] local.INFO: Processing buffer {"connection_id":129341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:49:09] local.INFO: IMEI packet received {"connection_id":129341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":129341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:49:10] local.INFO: TCP Data received {"connection_id":129341,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:49:10] local.INFO: Processing buffer {"connection_id":129341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:49:10] local.INFO: Packet analysis {"connection_id":129341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:49:10] local.INFO: Extracted packet for processing {"connection_id":129341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:49: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-07-11 12:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:49:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":129341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:49:10] local.INFO: GPS data processed {"connection_id":129341,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:49:10] local.INFO: Acknowledgment sent {"connection_id":129341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:49:39] local.INFO: TCP Data received {"connection_id":129340,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50095df8012d1b2140072494a00027003728..."} 
[2026-07-11 12:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50095df8012d1b2140072494a00027003728..."} 
[2026-07-11 12:49:39] local.INFO: Processing buffer {"connection_id":129340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50095df8012d1b2140072494a00027003728..."} 
[2026-07-11 12:49:39] local.INFO: Packet analysis {"connection_id":129340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5009"} 
[2026-07-11 12:49:39] local.INFO: Extracted packet for processing {"connection_id":129340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5009"} 
[2026-07-11 12:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756752704,"raw_latitude":119837856,"longitude_deg":75.6752704,"latitude_deg":11.9837856,"altitude":39,"angle":55,"satellites":40,"speed":27,"hex_longitude":"2d1b2140","hex_latitude":"072494a0","is_valid_coordinates":true} 
[2026-07-11 12:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641075712001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5651592845983744,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947173550817001472,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783754219000,"timestamp_ms":1783754219000,"timestamp_seconds":1783754219,"priority":1,"record_length":96,"hex_timestamp":"0000019f50095df8"} 
[2026-07-11 12:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 12:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:49:39] 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-07-11 12:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641075712001,"66":14461,"136":206,"83":42752,"24":27,"16":5651592845983744,"45":1947173550817001472},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-11 12:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641075712001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:49:39] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-11 12:49:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5651592845983744,"km_value":5651592845983.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947173550817001472,"description":"Unknown IO ID 45"} 
[2026-07-11 12:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641075712001,"power":14461,"unknown_136":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1947173550817001472}} 
[2026-07-11 12:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":129340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:49:39] local.INFO: GPS data processed {"connection_id":129340,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:49:39] local.INFO: Acknowledgment sent {"connection_id":129340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:49:41] local.INFO: TCP Data received {"connection_id":129341,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:49:41] local.INFO: Processing buffer {"connection_id":129341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:49:41] local.INFO: Packet analysis {"connection_id":129341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:49:41] local.INFO: Extracted packet for processing {"connection_id":129341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:49: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-07-11 12:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:49:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":129341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:49:41] local.INFO: GPS data processed {"connection_id":129341,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:49:41] local.INFO: Acknowledgment sent {"connection_id":129341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:49:59] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:59] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:49:59] local.INFO: IMEI packet received {"connection_id":130565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":130565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:50:04] local.INFO: TCP Data received {"connection_id":128622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:50:04] local.INFO: Processing buffer {"connection_id":128622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:50:04] local.INFO: IMEI packet received {"connection_id":128622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":128622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:50:05] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:50:05] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:50:05] local.INFO: IMEI packet received {"connection_id":130565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":130565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:50:06] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5009a060012d1b3f400724ab280027003522..."} 
[2026-07-11 12:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5009a060012d1b3f400724ab280027003522..."} 
[2026-07-11 12:50:06] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5009a060012d1b3f400724ab280027003522..."} 
[2026-07-11 12:50:06] local.INFO: Packet analysis {"connection_id":130565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5009"} 
[2026-07-11 12:50:06] local.INFO: Extracted packet for processing {"connection_id":130565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5009"} 
[2026-07-11 12:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119843624,"longitude_deg":75.6760384,"latitude_deg":11.9843624,"altitude":39,"angle":53,"satellites":34,"speed":25,"hex_longitude":"2d1b3f40","hex_latitude":"0724ab28","is_valid_coordinates":true} 
[2026-07-11 12:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641080064001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5652052407484416,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954914112678174720,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783754236000,"timestamp_ms":1783754236000,"timestamp_seconds":1783754236,"priority":1,"record_length":96,"hex_timestamp":"0000019f5009a060"} 
[2026-07-11 12:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 12:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:50:06] 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-07-11 12:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641080064001,"66":14548,"136":206,"83":42752,"24":25,"16":5652052407484416,"45":1954914112678174720},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-11 12:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641080064001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:50:06] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-11 12:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5652052407484416,"km_value":5652052407484.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1954914112678174720,"description":"Unknown IO ID 45"} 
[2026-07-11 12:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641080064001,"power":14548,"unknown_136":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1954914112678174720}} 
[2026-07-11 12:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":130565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:50:06] local.INFO: GPS data processed {"connection_id":130565,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:50:06] local.INFO: Acknowledgment sent {"connection_id":130565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:50:09] local.INFO: TCP Data received {"connection_id":128622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:50:09] local.INFO: Processing buffer {"connection_id":128622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:50:09] local.INFO: IMEI packet received {"connection_id":128622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":128622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:50:10] local.INFO: TCP Data received {"connection_id":128622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:50:10] local.INFO: Processing buffer {"connection_id":128622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:50:10] local.INFO: Packet analysis {"connection_id":128622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:50:10] local.INFO: Extracted packet for processing {"connection_id":128622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 12:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:50: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-07-11 12:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:50:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":128622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:50:10] local.INFO: GPS data processed {"connection_id":128622,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:50:10] local.INFO: Acknowledgment sent {"connection_id":128622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:50:38] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500b7520012d1b66c0072557b8002600182a..."} 
[2026-07-11 12:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500b7520012d1b66c0072557b8002600182a..."} 
[2026-07-11 12:50:38] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500b7520012d1b66c0072557b8002600182a..."} 
[2026-07-11 12:50:38] local.INFO: Packet analysis {"connection_id":130565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500b"} 
[2026-07-11 12:50:38] local.INFO: Extracted packet for processing {"connection_id":130565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500b"} 
[2026-07-11 12:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756770496,"raw_latitude":119887800,"longitude_deg":75.6770496,"latitude_deg":11.98878,"altitude":38,"angle":24,"satellites":42,"speed":18,"hex_longitude":"2d1b66c0","hex_latitude":"072557b8","is_valid_coordinates":true} 
[2026-07-11 12:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641110784001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5654341625053184,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972858142454523904,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783754356000,"timestamp_ms":1783754356000,"timestamp_seconds":1783754356,"priority":1,"record_length":96,"hex_timestamp":"0000019f500b7520"} 
[2026-07-11 12:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 12:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:50:38] 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-07-11 12:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641110784001,"66":14080,"43":206,"83":41984,"24":18,"16":5654341625053184,"45":1972858142454523904},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-11 12:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641110784001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:50:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 12:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 12:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5654341625053184,"km_value":5654341625053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972858142454523904,"description":"Unknown IO ID 45"} 
[2026-07-11 12:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641110784001,"power":14080,"unknown_43":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1972858142454523904}} 
[2026-07-11 12:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":130565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:50:38] local.INFO: GPS data processed {"connection_id":130565,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:50:38] local.INFO: Acknowledgment sent {"connection_id":130565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:50:41] local.INFO: TCP Data received {"connection_id":128622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:50:41] local.INFO: Processing buffer {"connection_id":128622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5007c3d0012cb29c0007823c60004700b32b..."} 
[2026-07-11 12:50:41] local.INFO: Packet analysis {"connection_id":128622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:50:41] local.INFO: Extracted packet for processing {"connection_id":128622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5007"} 
[2026-07-11 12:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456640976128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754114000,"timestamp_ms":1783754114000,"timestamp_seconds":1783754114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5007c3d0"} 
[2026-07-11 12:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:50: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-07-11 12:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456640976128001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456640976128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:50:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456640976128001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":128622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:50:41] local.INFO: GPS data processed {"connection_id":128622,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:50:41] local.INFO: Acknowledgment sent {"connection_id":128622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:51:05] local.INFO: TCP Data received {"connection_id":129343,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:51:05] local.INFO: Processing buffer {"connection_id":129343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:51:05] local.INFO: IMEI packet received {"connection_id":129343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":129343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:51:09] local.INFO: TCP Data received {"connection_id":129344,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:51:09] local.INFO: Processing buffer {"connection_id":129344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:51:09] local.INFO: IMEI packet received {"connection_id":129344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":129344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:51:10] local.INFO: TCP Data received {"connection_id":129343,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:51:10] local.INFO: Processing buffer {"connection_id":129343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:51:10] local.INFO: IMEI packet received {"connection_id":129343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":129343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:51:11] local.INFO: TCP Data received {"connection_id":129343,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500bbb70012d1b6d80072567400026000726..."} 
[2026-07-11 12:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500bbb70012d1b6d80072567400026000726..."} 
[2026-07-11 12:51:11] local.INFO: Processing buffer {"connection_id":129343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500bbb70012d1b6d80072567400026000726..."} 
[2026-07-11 12:51:11] local.INFO: Packet analysis {"connection_id":129343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500b"} 
[2026-07-11 12:51:11] local.INFO: Extracted packet for processing {"connection_id":129343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500b"} 
[2026-07-11 12:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756772224,"raw_latitude":119891776,"longitude_deg":75.6772224,"latitude_deg":11.9891776,"altitude":38,"angle":7,"satellites":38,"speed":17,"hex_longitude":"2d1b6d80","hex_latitude":"07256740","is_valid_coordinates":true} 
[2026-07-11 12:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641115136001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5654552078450688,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974476623572350976,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783754374000,"timestamp_ms":1783754374000,"timestamp_seconds":1783754374,"priority":1,"record_length":96,"hex_timestamp":"0000019f500bbb70"} 
[2026-07-11 12:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 12:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3442158592,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:11] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-07-11 12:51:11] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,43,83,24,241,157,16,22,159,50,45,61,40,38,10,66,248,192,25,41,39,44,21,216,64,1,240,54,227,80,37,4,113,205,19,170,87,239,55,2,20,7,14],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-07-11 12:51:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738215142110134272,"timestamp_seconds":2738215142110134.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 12:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:51:11] 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-07-11 12:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641115136001,"66":13972,"216":206,"83":42752,"24":17,"16":5654552078450688,"45":1974476623572350976},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 12:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641115136001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:51:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 12:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5654552078450688,"km_value":5654552078450.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974476623572350976,"description":"Unknown IO ID 45"} 
[2026-07-11 12:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641115136001,"power":13972,"unknown_216":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1974476623572350976}} 
[2026-07-11 12:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":129343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:51:11] local.INFO: GPS data processed {"connection_id":129343,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:51:11] local.INFO: Acknowledgment sent {"connection_id":129343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:51:14] local.INFO: TCP Data received {"connection_id":129343,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500be280012d1b6f80072578780025001226..."} 
[2026-07-11 12:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500be280012d1b6f80072578780025001226..."} 
[2026-07-11 12:51:14] local.INFO: Processing buffer {"connection_id":129343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500be280012d1b6f80072578780025001226..."} 
[2026-07-11 12:51:14] local.INFO: Packet analysis {"connection_id":129343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500b"} 
[2026-07-11 12:51:14] local.INFO: Extracted packet for processing {"connection_id":129343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500b"} 
[2026-07-11 12:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756772736,"raw_latitude":119896184,"longitude_deg":75.6772736,"latitude_deg":11.9896184,"altitude":37,"angle":18,"satellites":38,"speed":11,"hex_longitude":"2d1b6f80","hex_latitude":"07257878","is_valid_coordinates":true} 
[2026-07-11 12:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641119744001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5654766826815488,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976376579666165760,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783754384000,"timestamp_ms":1783754384000,"timestamp_seconds":1783754384,"priority":1,"record_length":96,"hex_timestamp":"0000019f500be280"} 
[2026-07-11 12:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-11 12:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:51:14] 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-07-11 12:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641119744001,"66":14048,"216":206,"83":42752,"24":11,"16":5654766826815488,"45":1976376579666165760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 12:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641119744001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:51:14] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 12:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5654766826815488,"km_value":5654766826815.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976376579666165760,"description":"Unknown IO ID 45"} 
[2026-07-11 12:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641119744001,"power":14048,"unknown_216":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1976376579666165760}} 
[2026-07-11 12:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":129343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:51:14] local.INFO: GPS data processed {"connection_id":129343,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:51:14] local.INFO: Acknowledgment sent {"connection_id":129343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:51:14] local.INFO: TCP Data received {"connection_id":129344,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:51:14] local.INFO: Processing buffer {"connection_id":129344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:51:14] local.INFO: IMEI packet received {"connection_id":129344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":129344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:51:15] local.INFO: TCP Data received {"connection_id":129344,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:51:15] local.INFO: Processing buffer {"connection_id":129344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:51:15] local.INFO: Packet analysis {"connection_id":129344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:51:15] local.INFO: Extracted packet for processing {"connection_id":129344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:51:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:51:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":129344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:51:15] local.INFO: GPS data processed {"connection_id":129344,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:51:15] local.INFO: Acknowledgment sent {"connection_id":129344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:51:20] local.INFO: TCP Data received {"connection_id":129344,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:51:20] local.INFO: Processing buffer {"connection_id":129344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:51:20] local.INFO: Packet analysis {"connection_id":129344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:51:20] local.INFO: Extracted packet for processing {"connection_id":129344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:51:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":129344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:51:20] local.INFO: GPS data processed {"connection_id":129344,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:51:20] local.INFO: Acknowledgment sent {"connection_id":129344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:51:56] local.INFO: TCP Data received {"connection_id":128623,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:51:56] local.INFO: Processing buffer {"connection_id":128623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:51:56] local.INFO: IMEI packet received {"connection_id":128623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":128623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:52:00] local.INFO: TCP Data received {"connection_id":128623,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:00] local.INFO: Processing buffer {"connection_id":128623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:00] local.INFO: IMEI packet received {"connection_id":128623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":128623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:52:05] local.INFO: TCP Data received {"connection_id":128623,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:05] local.INFO: Processing buffer {"connection_id":128623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:05] local.INFO: IMEI packet received {"connection_id":128623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":128623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:52:06] local.INFO: TCP Data received {"connection_id":128624,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:52:06] local.INFO: Processing buffer {"connection_id":128624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:52:06] local.INFO: IMEI packet received {"connection_id":128624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":128624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:52:07] local.INFO: TCP Data received {"connection_id":128623,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c3488012d1b77c007258f700024001826..."} 
[2026-07-11 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c3488012d1b77c007258f700024001826..."} 
[2026-07-11 12:52:07] local.INFO: Processing buffer {"connection_id":128623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c3488012d1b77c007258f700024001826..."} 
[2026-07-11 12:52:07] local.INFO: Packet analysis {"connection_id":128623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:07] local.INFO: Extracted packet for processing {"connection_id":128623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756774848,"raw_latitude":119902064,"longitude_deg":75.6774848,"latitude_deg":11.9902064,"altitude":36,"angle":24,"satellites":38,"speed":5,"hex_longitude":"2d1b77c0","hex_latitude":"07258f70","is_valid_coordinates":true} 
[2026-07-11 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641122304001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655076064460800,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976939529620715520,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783754405000,"timestamp_ms":1783754405000,"timestamp_seconds":1783754405,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c3488"} 
[2026-07-11 12:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 12:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:52:07] 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-07-11 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641122304001,"66":13243,"216":206,"83":42752,"24":5,"16":5655076064460800,"45":1976939529620715520},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641122304001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:52:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 12:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655076064460800,"km_value":5655076064460.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976939529620715520,"description":"Unknown IO ID 45"} 
[2026-07-11 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641122304001,"power":13243,"unknown_216":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1976939529620715520}} 
[2026-07-11 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":128623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:52:07] local.INFO: GPS data processed {"connection_id":128623,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:52:07] local.INFO: Acknowledgment sent {"connection_id":128623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:52:09] local.INFO: TCP Data received {"connection_id":128624,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:52:09] local.INFO: Processing buffer {"connection_id":128624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:52:09] local.INFO: IMEI packet received {"connection_id":128624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":128624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:52:10] local.INFO: TCP Data received {"connection_id":128624,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:52:10] local.INFO: Processing buffer {"connection_id":128624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:52:10] local.INFO: Packet analysis {"connection_id":128624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:10] local.INFO: Extracted packet for processing {"connection_id":128624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:52: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-07-11 12:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:52:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":128624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:52:10] local.INFO: GPS data processed {"connection_id":128624,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:52:10] local.INFO: Acknowledgment sent {"connection_id":128624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:52:15] local.INFO: TCP Data received {"connection_id":128624,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:52:15] local.INFO: Processing buffer {"connection_id":128624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:52:15] local.INFO: Packet analysis {"connection_id":128624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:15] local.INFO: Extracted packet for processing {"connection_id":128624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:52:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:52:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":128624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:52:15] local.INFO: GPS data processed {"connection_id":128624,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:52:15] local.INFO: Acknowledgment sent {"connection_id":128624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:52:38] local.INFO: TCP Data received {"connection_id":128623,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c4428012d1b7840072591500024000d27..."} 
[2026-07-11 12:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c4428012d1b7840072591500024000d27..."} 
[2026-07-11 12:52:38] local.INFO: Processing buffer {"connection_id":128623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c4428012d1b7840072591500024000d27..."} 
[2026-07-11 12:52:38] local.INFO: Packet analysis {"connection_id":128623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:38] local.INFO: Extracted packet for processing {"connection_id":128623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119902544,"longitude_deg":75.6774976,"latitude_deg":11.9902544,"altitude":36,"angle":13,"satellites":39,"speed":5,"hex_longitude":"2d1b7840","hex_latitude":"07259150","is_valid_coordinates":true} 
[2026-07-11 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641127680001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655097539297280,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979261698180083712,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783754409000,"timestamp_ms":1783754409000,"timestamp_seconds":1783754409,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c4428"} 
[2026-07-11 12:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 12:52:38] 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-07-11 12:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:52:38] 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-07-11 12:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641127680001,"66":13156,"216":206,"83":42752,"24":5,"16":5655097539297280,"45":1979261698180083712},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 12:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641127680001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:52:38] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 12:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655097539297280,"km_value":5655097539297.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979261698180083712,"description":"Unknown IO ID 45"} 
[2026-07-11 12:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641127680001,"power":13156,"unknown_216":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1979261698180083712}} 
[2026-07-11 12:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":128623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:52:38] local.INFO: GPS data processed {"connection_id":128623,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:52:38] local.INFO: Acknowledgment sent {"connection_id":128623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:52:46] local.INFO: TCP Data received {"connection_id":128624,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:52:46] local.INFO: Processing buffer {"connection_id":128624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:52:46] local.INFO: Packet analysis {"connection_id":128624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:46] local.INFO: Extracted packet for processing {"connection_id":128624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:52:46] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:52:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:52:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:52:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":128624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:52:46] local.INFO: GPS data processed {"connection_id":128624,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:52:46] local.INFO: Acknowledgment sent {"connection_id":128624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:52:59] local.INFO: TCP Data received {"connection_id":128437,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:59] local.INFO: Processing buffer {"connection_id":128437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:59] local.INFO: IMEI packet received {"connection_id":128437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":128437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:52:59] local.INFO: TCP Data received {"connection_id":128437,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:59] local.INFO: Processing buffer {"connection_id":128437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:52:59] local.INFO: IMEI packet received {"connection_id":128437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":128437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:53:04] local.INFO: TCP Data received {"connection_id":128625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:53:04] local.INFO: Processing buffer {"connection_id":128625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:53:04] local.INFO: IMEI packet received {"connection_id":128625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":128625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:53:05] local.INFO: TCP Data received {"connection_id":128437,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:53:05] local.INFO: Processing buffer {"connection_id":128437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:53:05] local.INFO: IMEI packet received {"connection_id":128437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":128437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:53:06] local.INFO: TCP Data received {"connection_id":128437,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012d1b76c0072593e00024013726..."} 
[2026-07-11 12:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012d1b76c0072593e00024013726..."} 
[2026-07-11 12:53:06] local.INFO: Processing buffer {"connection_id":128437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012d1b76c0072593e00024013726..."} 
[2026-07-11 12:53:06] local.INFO: Packet analysis {"connection_id":128437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:53:06] local.INFO: Extracted packet for processing {"connection_id":128437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119903200,"longitude_deg":75.6774592,"latitude_deg":11.99032,"altitude":36,"angle":311,"satellites":38,"speed":5,"hex_longitude":"2d1b76c0","hex_latitude":"072593e0","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641128704001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655140488970240,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435668561920,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-11 12:53:06] 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-07-11 12: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-07-11 12:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:53:06] 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-07-11 12:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641128704001,"66":13222,"216":206,"83":42752,"24":5,"16":5655140488970240,"45":1979402435668561920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 12:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641128704001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:53:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 12:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655140488970240,"km_value":5655140488970.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435668561920,"description":"Unknown IO ID 45"} 
[2026-07-11 12:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641128704001,"power":13222,"unknown_216":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1979402435668561920}} 
[2026-07-11 12:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":128437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:53:06] local.INFO: GPS data processed {"connection_id":128437,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:53:06] local.INFO: Acknowledgment sent {"connection_id":128437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:53:09] local.INFO: TCP Data received {"connection_id":128625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:53:09] local.INFO: Processing buffer {"connection_id":128625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:53:09] local.INFO: IMEI packet received {"connection_id":128625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":128625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:53:10] local.INFO: TCP Data received {"connection_id":128625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:53:10] local.INFO: Processing buffer {"connection_id":128625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:53:10] local.INFO: Packet analysis {"connection_id":128625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:53:10] local.INFO: Extracted packet for processing {"connection_id":128625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:53:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:53: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-07-11 12:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:53:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":128625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:53:10] local.INFO: GPS data processed {"connection_id":128625,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:53:10] local.INFO: Acknowledgment sent {"connection_id":128625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:53:37] local.INFO: TCP Data received {"connection_id":128437,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500cada0012d1b7100072598200025013828..."} 
[2026-07-11 12:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500cada0012d1b7100072598200025013828..."} 
[2026-07-11 12:53:37] local.INFO: Processing buffer {"connection_id":128437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500cada0012d1b7100072598200025013828..."} 
[2026-07-11 12:53:37] local.INFO: Packet analysis {"connection_id":128437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:53:37] local.INFO: Extracted packet for processing {"connection_id":128437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223203663872,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783754436000,"timestamp_ms":1783754436000,"timestamp_seconds":1783754436,"priority":1,"record_length":96,"hex_timestamp":"0000019f500cada0"} 
[2026-07-11 12:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:53: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-07-11 12:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 12:53:37] 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-07-11 12: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-07-11 12:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:53:37] 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-07-11 12:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":13102,"216":206,"83":42752,"24":0,"16":5655230683283456,"45":1978980223203663872},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 12:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:53:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 12:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223203663872,"description":"Unknown IO ID 45"} 
[2026-07-11 12:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":13102,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223203663872}} 
[2026-07-11 12:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":128437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:53:37] local.INFO: GPS data processed {"connection_id":128437,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:53:37] local.INFO: Acknowledgment sent {"connection_id":128437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:53:41] local.INFO: TCP Data received {"connection_id":128625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:53:41] local.INFO: Processing buffer {"connection_id":128625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:53:41] local.INFO: Packet analysis {"connection_id":128625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:53:41] local.INFO: Extracted packet for processing {"connection_id":128625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:53:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:53:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":128625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:53:41] local.INFO: GPS data processed {"connection_id":128625,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:53:41] local.INFO: Acknowledgment sent {"connection_id":128625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:54:00] local.INFO: TCP Data received {"connection_id":128627,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:54:00] local.INFO: Processing buffer {"connection_id":128627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:54:00] local.INFO: IMEI packet received {"connection_id":128627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":128627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:54:02] local.INFO: TCP Data received {"connection_id":128627,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:54:02] local.INFO: Processing buffer {"connection_id":128627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:54:02] local.INFO: IMEI packet received {"connection_id":128627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":128627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:54:04] local.INFO: TCP Data received {"connection_id":130566,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:54:04] local.INFO: Processing buffer {"connection_id":130566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:54:04] local.INFO: IMEI packet received {"connection_id":130566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":130566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:54:05] local.INFO: TCP Data received {"connection_id":128627,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:54:05] local.INFO: Processing buffer {"connection_id":128627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:54:05] local.INFO: IMEI packet received {"connection_id":128627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":128627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:54:05] local.INFO: TCP Data received {"connection_id":128627,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500cffa8012d1b7100072598200025013828..."} 
[2026-07-11 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500cffa8012d1b7100072598200025013828..."} 
[2026-07-11 12:54:05] local.INFO: Processing buffer {"connection_id":128627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500cffa8012d1b7100072598200025013828..."} 
[2026-07-11 12:54:05] local.INFO: Packet analysis {"connection_id":128627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:54:05] local.INFO: Extracted packet for processing {"connection_id":128627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641135616001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783754457000,"timestamp_ms":1783754457000,"timestamp_seconds":1783754457,"priority":1,"record_length":96,"hex_timestamp":"0000019f500cffa8"} 
[2026-07-11 12:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 12:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:54:05] 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-07-11 12:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641135616001,"66":13048,"216":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 12:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641135616001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:54:05] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 12:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641135616001,"power":13048,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":128627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:54:06] local.INFO: GPS data processed {"connection_id":128627,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:54:06] local.INFO: Acknowledgment sent {"connection_id":128627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:54:06] local.INFO: TCP Data received {"connection_id":128626,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:54:06] local.INFO: Processing buffer {"connection_id":128626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:54:06] local.INFO: IMEI packet received {"connection_id":128626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":128626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:54:09] local.INFO: TCP Data received {"connection_id":130566,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:54:09] local.INFO: Processing buffer {"connection_id":130566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:54:09] local.INFO: IMEI packet received {"connection_id":130566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":130566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:54:10] local.INFO: TCP Data received {"connection_id":130566,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:54:10] local.INFO: Processing buffer {"connection_id":130566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:54:10] local.INFO: Packet analysis {"connection_id":130566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:54:10] local.INFO: Extracted packet for processing {"connection_id":130566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 12:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:54: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-07-11 12:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:54:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":130566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:54:10] local.INFO: GPS data processed {"connection_id":130566,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:54:10] local.INFO: Acknowledgment sent {"connection_id":130566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:54:10] local.INFO: TCP Data received {"connection_id":128627,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500d51b0012d1b7100072598200025013829..."} 
[2026-07-11 12:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500d51b0012d1b7100072598200025013829..."} 
[2026-07-11 12:54:10] local.INFO: Processing buffer {"connection_id":128627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500d51b0012d1b7100072598200025013829..."} 
[2026-07-11 12:54:10] local.INFO: Packet analysis {"connection_id":128627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500d"} 
[2026-07-11 12:54:10] local.INFO: Extracted packet for processing {"connection_id":128627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500d"} 
[2026-07-11 12:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 12:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641140992001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754478000,"timestamp_ms":1783754478000,"timestamp_seconds":1783754478,"priority":1,"record_length":96,"hex_timestamp":"0000019f500d51b0"} 
[2026-07-11 12:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 12:54:10] 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-07-11 12:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:54:10] 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-07-11 12:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641140992001,"66":12961,"216":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 12:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641140992001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:54:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 12:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641140992001,"power":12961,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":128627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:54:10] local.INFO: GPS data processed {"connection_id":128627,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:54:10] local.INFO: Acknowledgment sent {"connection_id":128627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:54:41] local.INFO: TCP Data received {"connection_id":130566,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:54:41] local.INFO: Processing buffer {"connection_id":130566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:54:41] local.INFO: Packet analysis {"connection_id":130566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:54:41] local.INFO: Extracted packet for processing {"connection_id":130566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:54:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":130566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:54:41] local.INFO: GPS data processed {"connection_id":130566,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:54:41] local.INFO: Acknowledgment sent {"connection_id":130566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:54:41] local.INFO: TCP Data received {"connection_id":128627,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500da3b8012d1b7100072598200025013821..."} 
[2026-07-11 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500da3b8012d1b7100072598200025013821..."} 
[2026-07-11 12:54:41] local.INFO: Processing buffer {"connection_id":128627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500da3b8012d1b7100072598200025013821..."} 
[2026-07-11 12:54:41] local.INFO: Packet analysis {"connection_id":128627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500d"} 
[2026-07-11 12:54:41] local.INFO: Extracted packet for processing {"connection_id":128627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500d"} 
[2026-07-11 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641146368001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754499000,"timestamp_ms":1783754499000,"timestamp_seconds":1783754499,"priority":1,"record_length":96,"hex_timestamp":"0000019f500da3b8"} 
[2026-07-11 12:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 12:54:41] 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-07-11 12:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:54:41] 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-07-11 12:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641146368001,"66":12950,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641146368001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:54:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641146368001,"power":12950,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":128627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:54:41] local.INFO: GPS data processed {"connection_id":128627,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:54:41] local.INFO: Acknowledgment sent {"connection_id":128627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:54:47] local.INFO: TCP Data received {"connection_id":130567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:54:47] local.INFO: Processing buffer {"connection_id":130567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 12:54:47] local.INFO: IMEI packet received {"connection_id":130567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 12:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":130567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:55:00] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:55:00] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:55:00] local.INFO: IMEI packet received {"connection_id":130568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":130568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:55:04] local.INFO: TCP Data received {"connection_id":128628,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:55:04] local.INFO: Processing buffer {"connection_id":128628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:55:04] local.INFO: IMEI packet received {"connection_id":128628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":128628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:55:05] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:55:05] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:55:05] local.INFO: IMEI packet received {"connection_id":130568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":130568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:55:06] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500df5c0012d1b7100072598200025013822..."} 
[2026-07-11 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500df5c0012d1b7100072598200025013822..."} 
[2026-07-11 12:55:06] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500df5c0012d1b7100072598200025013822..."} 
[2026-07-11 12:55:06] local.INFO: Packet analysis {"connection_id":130568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500d"} 
[2026-07-11 12:55:06] local.INFO: Extracted packet for processing {"connection_id":130568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500d"} 
[2026-07-11 12:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641151744001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783754520000,"timestamp_ms":1783754520000,"timestamp_seconds":1783754520,"priority":1,"record_length":96,"hex_timestamp":"0000019f500df5c0"} 
[2026-07-11 12:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 12:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:55:06] 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-07-11 12:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641151744001,"66":12917,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641151744001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:55:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641151744001,"power":12917,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":130568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:55:06] local.INFO: GPS data processed {"connection_id":130568,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:55:06] local.INFO: Acknowledgment sent {"connection_id":130568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:55:09] local.INFO: TCP Data received {"connection_id":128628,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:55:09] local.INFO: Processing buffer {"connection_id":128628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:55:09] local.INFO: IMEI packet received {"connection_id":128628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":128628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:55:10] local.INFO: TCP Data received {"connection_id":128628,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:55:10] local.INFO: Processing buffer {"connection_id":128628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:55:10] local.INFO: Packet analysis {"connection_id":128628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:55:10] local.INFO: Extracted packet for processing {"connection_id":128628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:55: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-07-11 12:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:55:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":128628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:55:10] local.INFO: GPS data processed {"connection_id":128628,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:55:10] local.INFO: Acknowledgment sent {"connection_id":128628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:55:37] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500e47c8012d1b7100072598200025013824..."} 
[2026-07-11 12:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500e47c8012d1b7100072598200025013824..."} 
[2026-07-11 12:55:37] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500e47c8012d1b7100072598200025013824..."} 
[2026-07-11 12:55:37] local.INFO: Packet analysis {"connection_id":130568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500e"} 
[2026-07-11 12:55:37] local.INFO: Extracted packet for processing {"connection_id":130568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500e"} 
[2026-07-11 12:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641157120001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783754541000,"timestamp_ms":1783754541000,"timestamp_seconds":1783754541,"priority":1,"record_length":96,"hex_timestamp":"0000019f500e47c8"} 
[2026-07-11 12:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:55: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-07-11 12:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 12:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:55:37] 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-07-11 12:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641157120001,"66":12841,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641157120001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:55:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641157120001,"power":12841,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":130568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:55:37] local.INFO: GPS data processed {"connection_id":130568,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:55:37] local.INFO: Acknowledgment sent {"connection_id":130568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:55:41] local.INFO: TCP Data received {"connection_id":128628,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:55:41] local.INFO: Processing buffer {"connection_id":128628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500c5b98012cb29c0007823c60004600b327..."} 
[2026-07-11 12:55:41] local.INFO: Packet analysis {"connection_id":128628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:55:41] local.INFO: Extracted packet for processing {"connection_id":128628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500c"} 
[2026-07-11 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754415000,"timestamp_ms":1783754415000,"timestamp_seconds":1783754415,"priority":1,"record_length":96,"hex_timestamp":"0000019f500c5b98"} 
[2026-07-11 12:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641053184001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:55:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641053184001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":128628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:55:41] local.INFO: GPS data processed {"connection_id":128628,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:55:41] local.INFO: Acknowledgment sent {"connection_id":128628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:55:59] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:55:59] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:55:59] local.INFO: IMEI packet received {"connection_id":130569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":130569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:56:05] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:56:05] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:56:05] local.INFO: IMEI packet received {"connection_id":130569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":130569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:56:06] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500e99d0012d1b7100072598200025013823..."} 
[2026-07-11 12:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500e99d0012d1b7100072598200025013823..."} 
[2026-07-11 12:56:06] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500e99d0012d1b7100072598200025013823..."} 
[2026-07-11 12:56:06] local.INFO: Packet analysis {"connection_id":130569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500e"} 
[2026-07-11 12:56:06] local.INFO: Extracted packet for processing {"connection_id":130569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500e"} 
[2026-07-11 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641162496001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783754562000,"timestamp_ms":1783754562000,"timestamp_seconds":1783754562,"priority":1,"record_length":96,"hex_timestamp":"0000019f500e99d0"} 
[2026-07-11 12:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 12:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:56:06] 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-07-11 12:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641162496001,"66":12841,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641162496001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:56:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641162496001,"power":12841,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":130569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:56:06] local.INFO: GPS data processed {"connection_id":130569,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:56:06] local.INFO: Acknowledgment sent {"connection_id":130569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:56:09] local.INFO: TCP Data received {"connection_id":128629,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:56:09] local.INFO: Processing buffer {"connection_id":128629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:56:09] local.INFO: IMEI packet received {"connection_id":128629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":128629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:56:14] local.INFO: TCP Data received {"connection_id":128629,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:56:14] local.INFO: Processing buffer {"connection_id":128629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:56:14] local.INFO: IMEI packet received {"connection_id":128629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":128629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:56:15] local.INFO: TCP Data received {"connection_id":128629,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:56:15] local.INFO: Processing buffer {"connection_id":128629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:56:15] local.INFO: Packet analysis {"connection_id":128629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:56:15] local.INFO: Extracted packet for processing {"connection_id":128629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:56:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 12:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:56:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":128629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:56:15] local.INFO: GPS data processed {"connection_id":128629,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:56:15] local.INFO: Acknowledgment sent {"connection_id":128629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:56:19] local.INFO: TCP Data received {"connection_id":128629,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:56:19] local.INFO: Processing buffer {"connection_id":128629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:56:19] local.INFO: Packet analysis {"connection_id":128629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:56:19] local.INFO: Extracted packet for processing {"connection_id":128629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:56:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 12:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:56:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:56:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":128629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:56:19] local.INFO: GPS data processed {"connection_id":128629,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:56:19] local.INFO: Acknowledgment sent {"connection_id":128629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:56:37] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500eebd8012d1b7100072598200025013825..."} 
[2026-07-11 12:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500eebd8012d1b7100072598200025013825..."} 
[2026-07-11 12:56:37] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500eebd8012d1b7100072598200025013825..."} 
[2026-07-11 12:56:37] local.INFO: Packet analysis {"connection_id":130569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500e"} 
[2026-07-11 12:56:37] local.INFO: Extracted packet for processing {"connection_id":130569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500e"} 
[2026-07-11 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641167872001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783754583000,"timestamp_ms":1783754583000,"timestamp_seconds":1783754583,"priority":1,"record_length":96,"hex_timestamp":"0000019f500eebd8"} 
[2026-07-11 12:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 12:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:56:37] 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-07-11 12:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641167872001,"66":12776,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641167872001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:56:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641167872001,"power":12776,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":130569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:56:37] local.INFO: GPS data processed {"connection_id":130569,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:56:37] local.INFO: Acknowledgment sent {"connection_id":130569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:56:59] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:56:59] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:56:59] local.INFO: IMEI packet received {"connection_id":130571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":130571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:57:05] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:57:05] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:57:05] local.INFO: IMEI packet received {"connection_id":130571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":130571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:57:06] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500f3de0012d1b7100072598200025013824..."} 
[2026-07-11 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500f3de0012d1b7100072598200025013824..."} 
[2026-07-11 12:57:06] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500f3de0012d1b7100072598200025013824..."} 
[2026-07-11 12:57:06] local.INFO: Packet analysis {"connection_id":130571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500f"} 
[2026-07-11 12:57:06] local.INFO: Extracted packet for processing {"connection_id":130571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500f"} 
[2026-07-11 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641173248001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783754604000,"timestamp_ms":1783754604000,"timestamp_seconds":1783754604,"priority":1,"record_length":96,"hex_timestamp":"0000019f500f3de0"} 
[2026-07-11 12:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 12:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:57:06] 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-07-11 12:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641173248001,"66":12689,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641173248001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:57:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641173248001,"power":12689,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":130571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:57:06] local.INFO: GPS data processed {"connection_id":130571,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:57:06] local.INFO: Acknowledgment sent {"connection_id":130571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:57:06] local.INFO: TCP Data received {"connection_id":130572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:57:06] local.INFO: Processing buffer {"connection_id":130572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:57:06] local.INFO: IMEI packet received {"connection_id":130572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":130572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:57:09] local.INFO: TCP Data received {"connection_id":130572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:57:09] local.INFO: Processing buffer {"connection_id":130572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:57:09] local.INFO: IMEI packet received {"connection_id":130572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":130572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:57:10] local.INFO: TCP Data received {"connection_id":130572,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:57:10] local.INFO: Processing buffer {"connection_id":130572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:57:10] local.INFO: Packet analysis {"connection_id":130572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:57:10] local.INFO: Extracted packet for processing {"connection_id":130572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 12:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:57: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-07-11 12:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:57: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-07-11 12:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:57:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":130572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:57:10] local.INFO: GPS data processed {"connection_id":130572,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:57:10] local.INFO: Acknowledgment sent {"connection_id":130572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:57:15] local.INFO: TCP Data received {"connection_id":130572,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:57:15] local.INFO: Processing buffer {"connection_id":130572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:57:15] local.INFO: Packet analysis {"connection_id":130572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:57:15] local.INFO: Extracted packet for processing {"connection_id":130572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:57:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 12:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:57:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":130572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:57:15] local.INFO: GPS data processed {"connection_id":130572,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:57:15] local.INFO: Acknowledgment sent {"connection_id":130572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:57:37] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500f8fe8012d1b7100072598200025013823..."} 
[2026-07-11 12:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500f8fe8012d1b7100072598200025013823..."} 
[2026-07-11 12:57:37] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500f8fe8012d1b7100072598200025013823..."} 
[2026-07-11 12:57:37] local.INFO: Packet analysis {"connection_id":130571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500f"} 
[2026-07-11 12:57:37] local.INFO: Extracted packet for processing {"connection_id":130571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500f"} 
[2026-07-11 12:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641178624001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783754625000,"timestamp_ms":1783754625000,"timestamp_seconds":1783754625,"priority":1,"record_length":96,"hex_timestamp":"0000019f500f8fe8"} 
[2026-07-11 12:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 12:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:57:37] 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-07-11 12:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641178624001,"66":12667,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641178624001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:57:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641178624001,"power":12667,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":130571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:57:37] local.INFO: GPS data processed {"connection_id":130571,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:57:37] local.INFO: Acknowledgment sent {"connection_id":130571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:57:45] local.INFO: TCP Data received {"connection_id":130572,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:57:45] local.INFO: Processing buffer {"connection_id":130572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:57:45] local.INFO: Packet analysis {"connection_id":130572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:57:45] local.INFO: Extracted packet for processing {"connection_id":130572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 12:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:57: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-07-11 12: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-07-11 12:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:57:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:57:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":130572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:57:45] local.INFO: GPS data processed {"connection_id":130572,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:57:45] local.INFO: Acknowledgment sent {"connection_id":130572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:58:04] local.INFO: TCP Data received {"connection_id":128441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:58:04] local.INFO: Processing buffer {"connection_id":128441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:58:04] local.INFO: IMEI packet received {"connection_id":128441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":128441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:58:05] local.INFO: TCP Data received {"connection_id":128440,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:58:05] local.INFO: Processing buffer {"connection_id":128440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:58:05] local.INFO: IMEI packet received {"connection_id":128440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:58:09] local.INFO: TCP Data received {"connection_id":128441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:58:09] local.INFO: Processing buffer {"connection_id":128441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:58:09] local.INFO: IMEI packet received {"connection_id":128441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":128441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:58:10] local.INFO: TCP Data received {"connection_id":128440,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:58:10] local.INFO: Processing buffer {"connection_id":128440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:58:10] local.INFO: IMEI packet received {"connection_id":128440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:58:10] local.INFO: TCP Data received {"connection_id":128441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:58:10] local.INFO: Processing buffer {"connection_id":128441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:58:10] local.INFO: Packet analysis {"connection_id":128441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:58:10] local.INFO: Extracted packet for processing {"connection_id":128441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 12:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 12:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:58: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-07-11 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:58: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-07-11 12:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:58:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":128441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:58:10] local.INFO: GPS data processed {"connection_id":128441,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:58:10] local.INFO: Acknowledgment sent {"connection_id":128441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:58:11] local.INFO: TCP Data received {"connection_id":128440,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f500fe1f0012d1b7100072598200025013825..."} 
[2026-07-11 12:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f500fe1f0012d1b7100072598200025013825..."} 
[2026-07-11 12:58:11] local.INFO: Processing buffer {"connection_id":128440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f500fe1f0012d1b7100072598200025013825..."} 
[2026-07-11 12:58:11] local.INFO: Packet analysis {"connection_id":128440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f500f"} 
[2026-07-11 12:58:11] local.INFO: Extracted packet for processing {"connection_id":128440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f500f"} 
[2026-07-11 12:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641184000001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783754646000,"timestamp_ms":1783754646000,"timestamp_seconds":1783754646,"priority":1,"record_length":96,"hex_timestamp":"0000019f500fe1f0"} 
[2026-07-11 12:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 12:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:58:11] 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-07-11 12:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641184000001,"66":12667,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641184000001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:58:11] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641184000001,"power":12667,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":128440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:58:11] local.INFO: GPS data processed {"connection_id":128440,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:58:11] local.INFO: Acknowledgment sent {"connection_id":128440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:58:14] local.INFO: TCP Data received {"connection_id":128440,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501033f8012d1b7100072598200025013826..."} 
[2026-07-11 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501033f8012d1b7100072598200025013826..."} 
[2026-07-11 12:58:14] local.INFO: Processing buffer {"connection_id":128440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501033f8012d1b7100072598200025013826..."} 
[2026-07-11 12:58:14] local.INFO: Packet analysis {"connection_id":128440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:58:14] local.INFO: Extracted packet for processing {"connection_id":128440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":38,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641189376001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783754667000,"timestamp_ms":1783754667000,"timestamp_seconds":1783754667,"priority":1,"record_length":96,"hex_timestamp":"0000019f501033f8"} 
[2026-07-11 12:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 12:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:58:14] 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-07-11 12:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641189376001,"66":12645,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641189376001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:58:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641189376001,"power":12645,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":128440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:58:14] local.INFO: GPS data processed {"connection_id":128440,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:58:14] local.INFO: Acknowledgment sent {"connection_id":128440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:58:41] local.INFO: TCP Data received {"connection_id":128441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:58:41] local.INFO: Processing buffer {"connection_id":128441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:58:41] local.INFO: Packet analysis {"connection_id":128441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:58:41] local.INFO: Extracted packet for processing {"connection_id":128441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 12:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 12: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":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:58: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-07-11 12:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:58:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":128441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:58:41] local.INFO: GPS data processed {"connection_id":128441,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:58:41] local.INFO: Acknowledgment sent {"connection_id":128441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:58:45] local.INFO: TCP Data received {"connection_id":128440,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50108600012d1b7100072598200025013823..."} 
[2026-07-11 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50108600012d1b7100072598200025013823..."} 
[2026-07-11 12:58:45] local.INFO: Processing buffer {"connection_id":128440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50108600012d1b7100072598200025013823..."} 
[2026-07-11 12:58:45] local.INFO: Packet analysis {"connection_id":128440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:58:45] local.INFO: Extracted packet for processing {"connection_id":128440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641194752001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783754688000,"timestamp_ms":1783754688000,"timestamp_seconds":1783754688,"priority":1,"record_length":96,"hex_timestamp":"0000019f50108600"} 
[2026-07-11 12:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 12:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 12:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:58:45] 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-07-11 12:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641194752001,"66":12558,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641194752001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:58:45] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641194752001,"power":12558,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":128440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:58:45] local.INFO: GPS data processed {"connection_id":128440,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:58:45] local.INFO: Acknowledgment sent {"connection_id":128440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:59:00] local.INFO: TCP Data received {"connection_id":128442,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:00] local.INFO: Processing buffer {"connection_id":128442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:00] local.INFO: IMEI packet received {"connection_id":128442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":128442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:59:04] local.INFO: TCP Data received {"connection_id":130574,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:59:04] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:59:04] local.INFO: IMEI packet received {"connection_id":130574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 12:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":130574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:59:05] local.INFO: TCP Data received {"connection_id":128442,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:05] local.INFO: Processing buffer {"connection_id":128442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:05] local.INFO: IMEI packet received {"connection_id":128442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":128442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:59:06] local.INFO: TCP Data received {"connection_id":128442,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010d808012d1b7100072598200025013823..."} 
[2026-07-11 12:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010d808012d1b7100072598200025013823..."} 
[2026-07-11 12:59:06] local.INFO: Processing buffer {"connection_id":128442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010d808012d1b7100072598200025013823..."} 
[2026-07-11 12:59:06] local.INFO: Packet analysis {"connection_id":128442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:59:06] local.INFO: Extracted packet for processing {"connection_id":128442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12: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-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641200128001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783754709000,"timestamp_ms":1783754709000,"timestamp_seconds":1783754709,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010d808"} 
[2026-07-11 12:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250315801011787808,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3623955739,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366698,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,217,83,24,241,157,16,23,159,51,45,152,37,38,10,66,225,143,1,240,123,227,80,4,113,205,235,32,239,49,2,20,7,106,56,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-07-11 12:59:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666474177355055104,"timestamp_seconds":2666474177355055.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 12:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:59:06] 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-07-11 12:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641200128001,"66":12548,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641200128001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:59:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641200128001,"power":12548,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":128442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:59:06] local.INFO: GPS data processed {"connection_id":128442,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:59:06] local.INFO: Acknowledgment sent {"connection_id":128442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:59:09] local.INFO: TCP Data received {"connection_id":130574,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:59:09] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 12:59:09] local.INFO: IMEI packet received {"connection_id":130574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 12:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":130574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 12:59:10] local.INFO: TCP Data received {"connection_id":130574,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:59:10] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:59:10] local.INFO: Packet analysis {"connection_id":130574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:59:10] local.INFO: Extracted packet for processing {"connection_id":130574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 12:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:59: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-07-11 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:59: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-07-11 12:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:59:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":130574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:59:10] local.INFO: GPS data processed {"connection_id":130574,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:59:10] local.INFO: Acknowledgment sent {"connection_id":130574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:59:37] local.INFO: TCP Data received {"connection_id":128442,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50112a10012d1b7100072598200025013822..."} 
[2026-07-11 12:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50112a10012d1b7100072598200025013822..."} 
[2026-07-11 12:59:37] local.INFO: Processing buffer {"connection_id":128442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50112a10012d1b7100072598200025013822..."} 
[2026-07-11 12:59:37] local.INFO: Packet analysis {"connection_id":128442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5011"} 
[2026-07-11 12:59:37] local.INFO: Extracted packet for processing {"connection_id":128442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5011"} 
[2026-07-11 12:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 12:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641205504001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783754730000,"timestamp_ms":1783754730000,"timestamp_seconds":1783754730,"priority":1,"record_length":96,"hex_timestamp":"0000019f50112a10"} 
[2026-07-11 12:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 12:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3758173467,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,217,83,24,241,157,16,23,159,134,45,152,37,35,10,66,51,38,225,1,240,123,227,80,4,113,205,61,32,36,239,49,2,20,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-07-11 12:59:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666474177355055104,"timestamp_seconds":2666474177355055.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 12:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 12:59:37] 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-07-11 12:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 12:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 12:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641205504001,"66":12504,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 12:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 12:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 12:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641205504001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:59:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 12:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 12:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 12:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641205504001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 12:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":128442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:59:37] local.INFO: GPS data processed {"connection_id":128442,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:59:37] local.INFO: Acknowledgment sent {"connection_id":128442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:59:41] local.INFO: TCP Data received {"connection_id":130574,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:59:41] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 12:59:41] local.INFO: Packet analysis {"connection_id":130574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:59:41] local.INFO: Extracted packet for processing {"connection_id":130574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 12:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 12:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 12:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 12:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 12:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 12:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 12:59: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-07-11 12:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 12:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 12:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 12:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 12:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 12:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 12:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 12:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 12:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 12:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 12:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 12:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 12:59:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 12:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 12:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 12:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 12:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 12:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":130574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 12:59:41] local.INFO: GPS data processed {"connection_id":130574,"processed":1,"errors":0,"total":1} 
[2026-07-11 12:59:41] local.INFO: Acknowledgment sent {"connection_id":130574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 12:59:59] local.INFO: TCP Data received {"connection_id":129347,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:59] local.INFO: Processing buffer {"connection_id":129347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:59] local.INFO: IMEI packet received {"connection_id":129347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 12:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":129347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 12:59:59] local.INFO: TCP Data received {"connection_id":129347,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:59] local.INFO: Processing buffer {"connection_id":129347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 12:59:59] local.INFO: IMEI packet received {"connection_id":129347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 12:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":129347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:00:04] local.INFO: TCP Data received {"connection_id":129348,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:00:04] local.INFO: Processing buffer {"connection_id":129348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:00:04] local.INFO: IMEI packet received {"connection_id":129348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":129348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:00:05] local.INFO: TCP Data received {"connection_id":129347,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:00:05] local.INFO: Processing buffer {"connection_id":129347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:00:05] local.INFO: IMEI packet received {"connection_id":129347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":129347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:00:06] local.INFO: TCP Data received {"connection_id":129347,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50117c18012d1b7100072598200025013824..."} 
[2026-07-11 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50117c18012d1b7100072598200025013824..."} 
[2026-07-11 13:00:06] local.INFO: Processing buffer {"connection_id":129347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50117c18012d1b7100072598200025013824..."} 
[2026-07-11 13:00:06] local.INFO: Packet analysis {"connection_id":129347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5011"} 
[2026-07-11 13:00:06] local.INFO: Extracted packet for processing {"connection_id":129347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5011"} 
[2026-07-11 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 13:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783754751000,"timestamp_ms":1783754751000,"timestamp_seconds":1783754751,"priority":1,"record_length":96,"hex_timestamp":"0000019f50117c18"} 
[2026-07-11 13:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 13:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:00:06] 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-07-11 13:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641210880001,"66":12504,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 13:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:00:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 13:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 13:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641210880001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 13:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":129347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:00:06] local.INFO: GPS data processed {"connection_id":129347,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:00:06] local.INFO: Acknowledgment sent {"connection_id":129347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:00:09] local.INFO: TCP Data received {"connection_id":129348,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:00:09] local.INFO: Processing buffer {"connection_id":129348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:00:09] local.INFO: IMEI packet received {"connection_id":129348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":129348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:00:10] local.INFO: TCP Data received {"connection_id":129348,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 13:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 13:00:10] local.INFO: Processing buffer {"connection_id":129348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 13:00:10] local.INFO: Packet analysis {"connection_id":129348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 13:00:10] local.INFO: Extracted packet for processing {"connection_id":129348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 13:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 13:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:00: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-07-11 13:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:00: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-07-11 13:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:00:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":129348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:00:10] local.INFO: GPS data processed {"connection_id":129348,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:00:10] local.INFO: Acknowledgment sent {"connection_id":129348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:00:15] local.INFO: TCP Data received {"connection_id":128443,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:00:16] local.INFO: Processing buffer {"connection_id":128443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:00:16] local.INFO: IMEI packet received {"connection_id":128443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":128443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:00:37] local.INFO: TCP Data received {"connection_id":129347,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5011ce20012d1b7100072598200025013823..."} 
[2026-07-11 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5011ce20012d1b7100072598200025013823..."} 
[2026-07-11 13:00:37] local.INFO: Processing buffer {"connection_id":129347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5011ce20012d1b7100072598200025013823..."} 
[2026-07-11 13:00:37] local.INFO: Packet analysis {"connection_id":129347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5011"} 
[2026-07-11 13:00:37] local.INFO: Extracted packet for processing {"connection_id":129347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5011"} 
[2026-07-11 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641216256001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783754772000,"timestamp_ms":1783754772000,"timestamp_seconds":1783754772,"priority":1,"record_length":96,"hex_timestamp":"0000019f5011ce20"} 
[2026-07-11 13:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 13:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:00:37] 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-07-11 13:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641216256001,"66":12504,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 13:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641216256001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:00:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 13:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 13:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641216256001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 13:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":129347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:00:37] local.INFO: GPS data processed {"connection_id":129347,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:00:37] local.INFO: Acknowledgment sent {"connection_id":129347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:00:42] local.INFO: TCP Data received {"connection_id":129348,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 13:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 13:00:42] local.INFO: Processing buffer {"connection_id":129348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5010f360012cb29c0007823c60004700b328..."} 
[2026-07-11 13:00:42] local.INFO: Packet analysis {"connection_id":129348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 13:00:42] local.INFO: Extracted packet for processing {"connection_id":129348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5010"} 
[2026-07-11 13:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641130240001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783754716000,"timestamp_ms":1783754716000,"timestamp_seconds":1783754716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5010f360"} 
[2026-07-11 13:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:00:42] 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-07-11 13:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641130240001,"66":25604,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641130240001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:00:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641130240001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":129348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:00:42] local.INFO: GPS data processed {"connection_id":129348,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:00:42] local.INFO: Acknowledgment sent {"connection_id":129348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:00:45] local.INFO: TCP Data received {"connection_id":128444,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:00:45] local.INFO: Processing buffer {"connection_id":128444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:00:45] local.INFO: IMEI packet received {"connection_id":128444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":128444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:01:00] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:01:00] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:01:00] local.INFO: IMEI packet received {"connection_id":128630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":128630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:01:02] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:01:02] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:01:02] local.INFO: IMEI packet received {"connection_id":128630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":128630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:01:05] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:01:05] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:01:05] local.INFO: IMEI packet received {"connection_id":128630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":128630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:01:05] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50122028012d1b7100072598200025013827..."} 
[2026-07-11 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50122028012d1b7100072598200025013827..."} 
[2026-07-11 13:01:05] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50122028012d1b7100072598200025013827..."} 
[2026-07-11 13:01:05] local.INFO: Packet analysis {"connection_id":128630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5012"} 
[2026-07-11 13:01:05] local.INFO: Extracted packet for processing {"connection_id":128630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5012"} 
[2026-07-11 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641221632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783754793000,"timestamp_ms":1783754793000,"timestamp_seconds":1783754793,"priority":1,"record_length":96,"hex_timestamp":"0000019f50122028"} 
[2026-07-11 13:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 13:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:01:05] 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-07-11 13:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641221632001,"66":12461,"216":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641221632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:01:05] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 13:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641221632001,"power":12461,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 13:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":128630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:01:06] local.INFO: GPS data processed {"connection_id":128630,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:01:06] local.INFO: Acknowledgment sent {"connection_id":128630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:01:09] local.INFO: TCP Data received {"connection_id":130575,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:01:09] local.INFO: Processing buffer {"connection_id":130575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:01:09] local.INFO: IMEI packet received {"connection_id":130575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":130575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:01:10] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50127230012d1b7100072598200025013827..."} 
[2026-07-11 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50127230012d1b7100072598200025013827..."} 
[2026-07-11 13:01:10] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50127230012d1b7100072598200025013827..."} 
[2026-07-11 13:01:10] local.INFO: Packet analysis {"connection_id":128630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5012"} 
[2026-07-11 13:01:10] local.INFO: Extracted packet for processing {"connection_id":128630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5012"} 
[2026-07-11 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641227008001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783754814000,"timestamp_ms":1783754814000,"timestamp_seconds":1783754814,"priority":1,"record_length":96,"hex_timestamp":"0000019f50127230"} 
[2026-07-11 13:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 13:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:01:10] 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-07-11 13:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641227008001,"66":12461,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 13:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641227008001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:01:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 13:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 13:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641227008001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 13:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":128630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:01:10] local.INFO: GPS data processed {"connection_id":128630,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:01:10] local.INFO: Acknowledgment sent {"connection_id":128630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:01:14] local.INFO: TCP Data received {"connection_id":130575,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:01:14] local.INFO: Processing buffer {"connection_id":130575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:01:14] local.INFO: IMEI packet received {"connection_id":130575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":130575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:01:15] local.INFO: TCP Data received {"connection_id":130575,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:01:15] local.INFO: Processing buffer {"connection_id":130575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:01:15] local.INFO: Packet analysis {"connection_id":130575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:01:15] local.INFO: Extracted packet for processing {"connection_id":130575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:01:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:01:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":130575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:01:15] local.INFO: GPS data processed {"connection_id":130575,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:01:15] local.INFO: Acknowledgment sent {"connection_id":130575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:01:19] local.INFO: TCP Data received {"connection_id":130575,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:01:19] local.INFO: Processing buffer {"connection_id":130575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:01:19] local.INFO: Packet analysis {"connection_id":130575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:01:19] local.INFO: Extracted packet for processing {"connection_id":130575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:01:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:01:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":130575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:01:19] local.INFO: GPS data processed {"connection_id":130575,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:01:19] local.INFO: Acknowledgment sent {"connection_id":130575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:01:41] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5012c438012d1b7100072598200025013828..."} 
[2026-07-11 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5012c438012d1b7100072598200025013828..."} 
[2026-07-11 13:01:41] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5012c438012d1b7100072598200025013828..."} 
[2026-07-11 13:01:41] local.INFO: Packet analysis {"connection_id":128630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5012"} 
[2026-07-11 13:01:41] local.INFO: Extracted packet for processing {"connection_id":128630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5012"} 
[2026-07-11 13:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 13:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641232384001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783754835000,"timestamp_ms":1783754835000,"timestamp_seconds":1783754835,"priority":1,"record_length":96,"hex_timestamp":"0000019f5012c438"} 
[2026-07-11 13:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 13:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:01:41] 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-07-11 13:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641232384001,"66":12461,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 13:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641232384001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:01:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 13:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 13:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641232384001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 13:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":128630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:01:41] local.INFO: GPS data processed {"connection_id":128630,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:01:41] local.INFO: Acknowledgment sent {"connection_id":128630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:02:00] local.INFO: TCP Data received {"connection_id":128445,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:02:00] local.INFO: Processing buffer {"connection_id":128445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:02:00] local.INFO: IMEI packet received {"connection_id":128445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":128445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:02:04] local.INFO: TCP Data received {"connection_id":129350,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:02:05] local.INFO: Processing buffer {"connection_id":129350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:02:05] local.INFO: IMEI packet received {"connection_id":129350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":129350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:02:05] local.INFO: TCP Data received {"connection_id":128445,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:02:05] local.INFO: Processing buffer {"connection_id":128445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:02:05] local.INFO: IMEI packet received {"connection_id":128445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":128445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:02:06] local.INFO: TCP Data received {"connection_id":128445,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50131640012d1b7100072598200025013828..."} 
[2026-07-11 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50131640012d1b7100072598200025013828..."} 
[2026-07-11 13:02:06] local.INFO: Processing buffer {"connection_id":128445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50131640012d1b7100072598200025013828..."} 
[2026-07-11 13:02:06] local.INFO: Packet analysis {"connection_id":128445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5013"} 
[2026-07-11 13:02:06] local.INFO: Extracted packet for processing {"connection_id":128445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5013"} 
[2026-07-11 13:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 13:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641237760001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783754856000,"timestamp_ms":1783754856000,"timestamp_seconds":1783754856,"priority":1,"record_length":96,"hex_timestamp":"0000019f50131640"} 
[2026-07-11 13:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 13:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:02:06] 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-07-11 13:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641237760001,"66":12428,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 13:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641237760001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:02:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 13:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 13:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641237760001,"power":12428,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 13:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":128445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:02:06] local.INFO: GPS data processed {"connection_id":128445,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:02:06] local.INFO: Acknowledgment sent {"connection_id":128445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:02:09] local.INFO: TCP Data received {"connection_id":129350,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:02:09] local.INFO: Processing buffer {"connection_id":129350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:02:09] local.INFO: IMEI packet received {"connection_id":129350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":129350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:02:10] local.INFO: TCP Data received {"connection_id":129350,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:02:10] local.INFO: Processing buffer {"connection_id":129350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:02:10] local.INFO: Packet analysis {"connection_id":129350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:02:10] local.INFO: Extracted packet for processing {"connection_id":129350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:02: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-07-11 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:02:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":129350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:02:10] local.INFO: GPS data processed {"connection_id":129350,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:02:10] local.INFO: Acknowledgment sent {"connection_id":129350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:02:37] local.INFO: TCP Data received {"connection_id":128445,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50169c98012d1b7100072598200025013824..."} 
[2026-07-11 13:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50169c98012d1b7100072598200025013824..."} 
[2026-07-11 13:02:37] local.INFO: Processing buffer {"connection_id":128445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50169c98012d1b7100072598200025013824..."} 
[2026-07-11 13:02:37] local.INFO: Packet analysis {"connection_id":128445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5016"} 
[2026-07-11 13:02:37] local.INFO: Extracted packet for processing {"connection_id":128445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5016"} 
[2026-07-11 13:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119904288,"longitude_deg":75.677312,"latitude_deg":11.9904288,"altitude":37,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d1b7100","hex_latitude":"07259820","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641296896001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655230683283456,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783755087000,"timestamp_ms":1783755087000,"timestamp_seconds":1783755087,"priority":1,"record_length":96,"hex_timestamp":"0000019f50169c98"} 
[2026-07-11 13:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-11 13:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:02:37] 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-07-11 13:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641296896001,"66":14048,"217":206,"83":42752,"24":0,"16":5655230683283456,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 13:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641296896001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:02:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 13:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655230683283456,"km_value":5655230683283.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 13:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641296896001,"power":14048,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 13:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":128445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:02:37] local.INFO: GPS data processed {"connection_id":128445,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:02:37] local.INFO: Acknowledgment sent {"connection_id":128445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:02:41] local.INFO: TCP Data received {"connection_id":129350,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:02:41] local.INFO: Processing buffer {"connection_id":129350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:02:41] local.INFO: Packet analysis {"connection_id":129350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:02:41] local.INFO: Extracted packet for processing {"connection_id":129350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:02: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-07-11 13:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:02:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":129350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:02:41] local.INFO: GPS data processed {"connection_id":129350,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:02:41] local.INFO: Acknowledgment sent {"connection_id":129350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:02:59] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:02:59] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:02:59] local.INFO: IMEI packet received {"connection_id":128446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":128446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:03:02] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:03:02] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:03:02] local.INFO: IMEI packet received {"connection_id":128446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":128446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:03:04] local.INFO: TCP Data received {"connection_id":128631,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:03:04] local.INFO: Processing buffer {"connection_id":128631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:03:04] local.INFO: IMEI packet received {"connection_id":128631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":128631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:03:05] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:03:05] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:03:05] local.INFO: IMEI packet received {"connection_id":128446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:03:06] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5016e2e8012d1b7500072597e00028006c23..."} 
[2026-07-11 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5016e2e8012d1b7500072597e00028006c23..."} 
[2026-07-11 13:03:06] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5016e2e8012d1b7500072597e00028006c23..."} 
[2026-07-11 13:03:06] local.INFO: Packet analysis {"connection_id":128446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5016"} 
[2026-07-11 13:03:06] local.INFO: Extracted packet for processing {"connection_id":128446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5016"} 
[2026-07-11 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756774144,"raw_latitude":119904224,"longitude_deg":75.6774144,"latitude_deg":11.9904224,"altitude":40,"angle":108,"satellites":35,"speed":1,"hex_longitude":"2d1b7500","hex_latitude":"072597e0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641302272001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655273632956416,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742087856128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783755105000,"timestamp_ms":1783755105000,"timestamp_seconds":1783755105,"priority":1,"record_length":96,"hex_timestamp":"0000019f5016e2e8"} 
[2026-07-11 13:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 13:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:03:06] 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-07-11 13:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641302272001,"66":14004,"217":206,"83":42752,"24":1,"16":5655273632956416,"45":1977361742087856128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-11 13:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641302272001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:03:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 13:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655273632956416,"km_value":5655273632956.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742087856128,"description":"Unknown IO ID 45"} 
[2026-07-11 13:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641302272001,"power":14004,"unknown_217":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1977361742087856128}} 
[2026-07-11 13:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":128446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:03:06] local.INFO: GPS data processed {"connection_id":128446,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:03:06] local.INFO: Acknowledgment sent {"connection_id":128446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:03:09] local.INFO: TCP Data received {"connection_id":128631,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:03:09] local.INFO: Processing buffer {"connection_id":128631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:03:09] local.INFO: IMEI packet received {"connection_id":128631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":128631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:03:10] local.INFO: TCP Data received {"connection_id":128631,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:03:10] local.INFO: Processing buffer {"connection_id":128631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:03:10] local.INFO: Packet analysis {"connection_id":128631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:03:10] local.INFO: Extracted packet for processing {"connection_id":128631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:03:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":128631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:03:10] local.INFO: GPS data processed {"connection_id":128631,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:03:10] local.INFO: Acknowledgment sent {"connection_id":128631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:03:37] local.INFO: TCP Data received {"connection_id":128446,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50179698012d1b7380072585e8002800c824..."} 
[2026-07-11 13:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50179698012d1b7380072585e8002800c824..."} 
[2026-07-11 13:03:37] local.INFO: Processing buffer {"connection_id":128446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50179698012d1b7380072585e8002800c824..."} 
[2026-07-11 13:03:37] local.INFO: Packet analysis {"connection_id":128446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5017"} 
[2026-07-11 13:03:37] local.INFO: Extracted packet for processing {"connection_id":128446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5017"} 
[2026-07-11 13:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899624,"longitude_deg":75.677376,"latitude_deg":11.9899624,"altitude":40,"angle":200,"satellites":36,"speed":3,"hex_longitude":"2d1b7380","hex_latitude":"072585e8","is_valid_coordinates":true} 
[2026-07-11 13:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641318144001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655561395765248,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528487936,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783755151000,"timestamp_ms":1783755151000,"timestamp_seconds":1783755151,"priority":1,"record_length":96,"hex_timestamp":"0000019f50179698"} 
[2026-07-11 13:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 13:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:03:37] 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-07-11 13:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641318144001,"66":12939,"216":206,"83":42752,"24":3,"16":5655561395765248,"45":1978065429528487936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641318144001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:03:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655561395765248,"km_value":5655561395765.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528487936,"description":"Unknown IO ID 45"} 
[2026-07-11 13:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641318144001,"power":12939,"unknown_216":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1978065429528487936}} 
[2026-07-11 13:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":128446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:03:37] local.INFO: GPS data processed {"connection_id":128446,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:03:37] local.INFO: Acknowledgment sent {"connection_id":128446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:03:41] local.INFO: TCP Data received {"connection_id":128631,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:03:41] local.INFO: Processing buffer {"connection_id":128631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:03:41] local.INFO: Packet analysis {"connection_id":128631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:03:41] local.INFO: Extracted packet for processing {"connection_id":128631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:03: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-07-11 13:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:03:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":128631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:03:41] local.INFO: GPS data processed {"connection_id":128631,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:03:41] local.INFO: Acknowledgment sent {"connection_id":128631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:03:59] local.INFO: TCP Data received {"connection_id":128447,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:03:59] local.INFO: Processing buffer {"connection_id":128447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:03:59] local.INFO: IMEI packet received {"connection_id":128447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":128447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:04:04] local.INFO: TCP Data received {"connection_id":128448,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:04:04] local.INFO: Processing buffer {"connection_id":128448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:04:04] local.INFO: IMEI packet received {"connection_id":128448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":128448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:04:05] local.INFO: TCP Data received {"connection_id":128447,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:04:05] local.INFO: Processing buffer {"connection_id":128447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:04:05] local.INFO: IMEI packet received {"connection_id":128447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:04:06] local.INFO: TCP Data received {"connection_id":128447,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50179e68012d1b734007258588002800d927..."} 
[2026-07-11 13:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50179e68012d1b734007258588002800d927..."} 
[2026-07-11 13:04:06] local.INFO: Processing buffer {"connection_id":128447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50179e68012d1b734007258588002800d927..."} 
[2026-07-11 13:04:06] local.INFO: Packet analysis {"connection_id":128447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5017"} 
[2026-07-11 13:04:06] local.INFO: Extracted packet for processing {"connection_id":128447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5017"} 
[2026-07-11 13:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899528,"longitude_deg":75.6773696,"latitude_deg":11.9899528,"altitude":40,"angle":217,"satellites":39,"speed":1,"hex_longitude":"2d1b7340","hex_latitude":"07258588","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641318656001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655565690732544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528438784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783755153000,"timestamp_ms":1783755153000,"timestamp_seconds":1783755153,"priority":1,"record_length":96,"hex_timestamp":"0000019f50179e68"} 
[2026-07-11 13:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 13:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:04:06] 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-07-11 13:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641318656001,"66":12885,"216":206,"83":42752,"24":1,"16":5655565690732544,"45":1978065429528438784},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641318656001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:04:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655565690732544,"km_value":5655565690732.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528438784,"description":"Unknown IO ID 45"} 
[2026-07-11 13:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641318656001,"power":12885,"unknown_216":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1978065429528438784}} 
[2026-07-11 13:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":128447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:04:06] local.INFO: GPS data processed {"connection_id":128447,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:04:06] local.INFO: Acknowledgment sent {"connection_id":128447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:04:09] local.INFO: TCP Data received {"connection_id":128448,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:04:09] local.INFO: Processing buffer {"connection_id":128448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:04:09] local.INFO: IMEI packet received {"connection_id":128448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":128448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:04:10] local.INFO: TCP Data received {"connection_id":128448,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:04:10] local.INFO: Processing buffer {"connection_id":128448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:04:10] local.INFO: Packet analysis {"connection_id":128448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:04:10] local.INFO: Extracted packet for processing {"connection_id":128448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13: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-07-11 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:04:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":128448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:04:10] local.INFO: GPS data processed {"connection_id":128448,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:04:10] local.INFO: Acknowledgment sent {"connection_id":128448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:04:37] local.INFO: TCP Data received {"connection_id":128447,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5017f070012d1b734007258520002900e124..."} 
[2026-07-11 13:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5017f070012d1b734007258520002900e124..."} 
[2026-07-11 13:04:37] local.INFO: Processing buffer {"connection_id":128447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5017f070012d1b734007258520002900e124..."} 
[2026-07-11 13:04:37] local.INFO: Packet analysis {"connection_id":128447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5017"} 
[2026-07-11 13:04:37] local.INFO: Extracted packet for processing {"connection_id":128447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5017"} 
[2026-07-11 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641319168001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784236544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783755174000,"timestamp_ms":1783755174000,"timestamp_seconds":1783755174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5017f070"} 
[2026-07-11 13:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 13:04: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-07-11 13:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:04:37] 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-07-11 13:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641319168001,"66":12972,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784236544},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641319168001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:04:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784236544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641319168001,"power":12972,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784236544}} 
[2026-07-11 13:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":128447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:04:37] local.INFO: GPS data processed {"connection_id":128447,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:04:37] local.INFO: Acknowledgment sent {"connection_id":128447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:04:41] local.INFO: TCP Data received {"connection_id":128448,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:04:41] local.INFO: Processing buffer {"connection_id":128448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:04:41] local.INFO: Packet analysis {"connection_id":128448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:04:41] local.INFO: Extracted packet for processing {"connection_id":128448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:04: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-07-11 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:04:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":128448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:04:41] local.INFO: GPS data processed {"connection_id":128448,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:04:41] local.INFO: Acknowledgment sent {"connection_id":128448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:05:05] local.INFO: TCP Data received {"connection_id":129352,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:05] local.INFO: Processing buffer {"connection_id":129352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:05] local.INFO: IMEI packet received {"connection_id":129352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":129352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:05:09] local.INFO: TCP Data received {"connection_id":128632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:05:09] local.INFO: Processing buffer {"connection_id":128632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:05:09] local.INFO: IMEI packet received {"connection_id":128632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":128632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:05:10] local.INFO: TCP Data received {"connection_id":129352,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:10] local.INFO: Processing buffer {"connection_id":129352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:10] local.INFO: IMEI packet received {"connection_id":129352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":129352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:05:11] local.INFO: TCP Data received {"connection_id":129352,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50184278012d1b734007258520002900e124..."} 
[2026-07-11 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50184278012d1b734007258520002900e124..."} 
[2026-07-11 13:05:11] local.INFO: Processing buffer {"connection_id":129352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50184278012d1b734007258520002900e124..."} 
[2026-07-11 13:05:11] local.INFO: Packet analysis {"connection_id":129352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5018"} 
[2026-07-11 13:05:11] local.INFO: Extracted packet for processing {"connection_id":129352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5018"} 
[2026-07-11 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641324544001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783755195000,"timestamp_ms":1783755195000,"timestamp_seconds":1783755195,"priority":1,"record_length":96,"hex_timestamp":"0000019f50184278"} 
[2026-07-11 13:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 13:05:11] 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-07-11 13:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:05:11] 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-07-11 13:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641324544001,"66":12950,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641324544001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:05:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641324544001,"power":12950,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":129352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:05:11] local.INFO: GPS data processed {"connection_id":129352,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:05:11] local.INFO: Acknowledgment sent {"connection_id":129352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:05:14] local.INFO: TCP Data received {"connection_id":128632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:05:14] local.INFO: Processing buffer {"connection_id":128632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:05:14] local.INFO: IMEI packet received {"connection_id":128632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":128632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:05:15] local.INFO: TCP Data received {"connection_id":129352,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50189480012d1b734007258520002900e126..."} 
[2026-07-11 13:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50189480012d1b734007258520002900e126..."} 
[2026-07-11 13:05:15] local.INFO: Processing buffer {"connection_id":129352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50189480012d1b734007258520002900e126..."} 
[2026-07-11 13:05:15] local.INFO: Packet analysis {"connection_id":129352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5018"} 
[2026-07-11 13:05:15] local.INFO: Extracted packet for processing {"connection_id":129352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5018"} 
[2026-07-11 13:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641329920001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783755216000,"timestamp_ms":1783755216000,"timestamp_seconds":1783755216,"priority":1,"record_length":96,"hex_timestamp":"0000019f50189480"} 
[2026-07-11 13:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 13:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:05:15] 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-07-11 13:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641329920001,"66":12939,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641329920001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:05:15] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641329920001,"power":12939,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":129352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:05:15] local.INFO: GPS data processed {"connection_id":129352,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:05:15] local.INFO: Acknowledgment sent {"connection_id":129352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:05:15] local.INFO: TCP Data received {"connection_id":128632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:05:15] local.INFO: Processing buffer {"connection_id":128632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:05:15] local.INFO: Packet analysis {"connection_id":128632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:05:15] local.INFO: Extracted packet for processing {"connection_id":128632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:05:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:05:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":128632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:05:15] local.INFO: GPS data processed {"connection_id":128632,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:05:15] local.INFO: Acknowledgment sent {"connection_id":128632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:05:20] local.INFO: TCP Data received {"connection_id":128632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:05:20] local.INFO: Processing buffer {"connection_id":128632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50158b28012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:05:20] local.INFO: Packet analysis {"connection_id":128632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:05:20] local.INFO: Extracted packet for processing {"connection_id":128632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5015"} 
[2026-07-11 13:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641207296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783755017000,"timestamp_ms":1783755017000,"timestamp_seconds":1783755017,"priority":1,"record_length":96,"hex_timestamp":"0000019f50158b28"} 
[2026-07-11 13:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641207296001,"66":25582,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641207296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:05:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641207296001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":128632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:05:20] local.INFO: GPS data processed {"connection_id":128632,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:05:20] local.INFO: Acknowledgment sent {"connection_id":128632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:05:59] local.INFO: TCP Data received {"connection_id":128449,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:59] local.INFO: Processing buffer {"connection_id":128449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:59] local.INFO: IMEI packet received {"connection_id":128449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":128449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:05:59] local.INFO: TCP Data received {"connection_id":128449,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:59] local.INFO: Processing buffer {"connection_id":128449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:05:59] local.INFO: IMEI packet received {"connection_id":128449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":128449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:06:04] local.INFO: TCP Data received {"connection_id":128450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:06:04] local.INFO: Processing buffer {"connection_id":128450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:06:04] local.INFO: IMEI packet received {"connection_id":128450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":128450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:06:05] local.INFO: TCP Data received {"connection_id":128449,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:06:05] local.INFO: Processing buffer {"connection_id":128449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:06:05] local.INFO: IMEI packet received {"connection_id":128449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":128449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:06:06] local.INFO: TCP Data received {"connection_id":128449,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5018e688012d1b734007258520002900e125..."} 
[2026-07-11 13:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5018e688012d1b734007258520002900e125..."} 
[2026-07-11 13:06:06] local.INFO: Processing buffer {"connection_id":128449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5018e688012d1b734007258520002900e125..."} 
[2026-07-11 13:06:06] local.INFO: Packet analysis {"connection_id":128449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5018"} 
[2026-07-11 13:06:06] local.INFO: Extracted packet for processing {"connection_id":128449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5018"} 
[2026-07-11 13:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641335296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783755237000,"timestamp_ms":1783755237000,"timestamp_seconds":1783755237,"priority":1,"record_length":96,"hex_timestamp":"0000019f5018e688"} 
[2026-07-11 13:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 13:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:06:06] 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-07-11 13:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641335296001,"66":12841,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641335296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:06:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641335296001,"power":12841,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":128449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:06:06] local.INFO: GPS data processed {"connection_id":128449,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:06:06] local.INFO: Acknowledgment sent {"connection_id":128449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:06:09] local.INFO: TCP Data received {"connection_id":128450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:06:09] local.INFO: Processing buffer {"connection_id":128450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:06:09] local.INFO: IMEI packet received {"connection_id":128450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":128450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:06:10] local.INFO: TCP Data received {"connection_id":128450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:06:10] local.INFO: Processing buffer {"connection_id":128450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:06:10] local.INFO: Packet analysis {"connection_id":128450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:06:10] local.INFO: Extracted packet for processing {"connection_id":128450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:06: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-07-11 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:06:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":128450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:06:10] local.INFO: GPS data processed {"connection_id":128450,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:06:10] local.INFO: Acknowledgment sent {"connection_id":128450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:06:10] local.INFO: TCP Data received {"connection_id":130578,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:06:10] local.INFO: Processing buffer {"connection_id":130578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:06:10] local.INFO: IMEI packet received {"connection_id":130578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":130578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:06:37] local.INFO: TCP Data received {"connection_id":128449,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50193890012d1b734007258520002900e126..."} 
[2026-07-11 13:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50193890012d1b734007258520002900e126..."} 
[2026-07-11 13:06:37] local.INFO: Processing buffer {"connection_id":128449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50193890012d1b734007258520002900e126..."} 
[2026-07-11 13:06:37] local.INFO: Packet analysis {"connection_id":128449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5019"} 
[2026-07-11 13:06:37] local.INFO: Extracted packet for processing {"connection_id":128449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5019"} 
[2026-07-11 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641340672001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783755258000,"timestamp_ms":1783755258000,"timestamp_seconds":1783755258,"priority":1,"record_length":96,"hex_timestamp":"0000019f50193890"} 
[2026-07-11 13:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 13:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:06:37] 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-07-11 13:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641340672001,"66":12841,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641340672001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:06:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641340672001,"power":12841,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":128449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:06:37] local.INFO: GPS data processed {"connection_id":128449,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:06:37] local.INFO: Acknowledgment sent {"connection_id":128449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:06:40] local.INFO: TCP Data received {"connection_id":128450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:06:40] local.INFO: Processing buffer {"connection_id":128450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:06:40] local.INFO: Packet analysis {"connection_id":128450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:06:40] local.INFO: Extracted packet for processing {"connection_id":128450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:06:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":128450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:06:40] local.INFO: GPS data processed {"connection_id":128450,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:06:40] local.INFO: Acknowledgment sent {"connection_id":128450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:06:50] local.INFO: TCP Data received {"connection_id":128451,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:06:50] local.INFO: Processing buffer {"connection_id":128451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:06:50] local.INFO: IMEI packet received {"connection_id":128451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":128451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:06:59] local.INFO: TCP Data received {"connection_id":128633,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:06:59] local.INFO: Processing buffer {"connection_id":128633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:06:59] local.INFO: IMEI packet received {"connection_id":128633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":128633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:07:02] local.INFO: TCP Data received {"connection_id":128633,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:07:02] local.INFO: Processing buffer {"connection_id":128633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:07:02] local.INFO: IMEI packet received {"connection_id":128633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":128633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:07:02] local.INFO: TCP Data received {"connection_id":128633,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f50198a98012d1b734007258520002900e123..."} 
[2026-07-11 13:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50198a98012d1b734007258520002900e123..."} 
[2026-07-11 13:07:02] local.INFO: Processing buffer {"connection_id":128633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50198a98012d1b734007258520002900e123..."} 
[2026-07-11 13:07:02] local.INFO: Packet analysis {"connection_id":128633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5019"} 
[2026-07-11 13:07:02] local.INFO: Extracted packet for processing {"connection_id":128633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5019"} 
[2026-07-11 13:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641346048001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783755279000,"timestamp_ms":1783755279000,"timestamp_seconds":1783755279,"priority":1,"record_length":96,"hex_timestamp":"0000019f50198a98"} 
[2026-07-11 13:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 13:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:07:02] 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-07-11 13:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641346048001,"66":12819,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641346048001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:07:02] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641346048001,"power":12819,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":128633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:07:03] local.INFO: GPS data processed {"connection_id":128633,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:07:03] local.INFO: Acknowledgment sent {"connection_id":128633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:07:04] local.INFO: TCP Data received {"connection_id":130579,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:07:04] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:07:04] local.INFO: IMEI packet received {"connection_id":130579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":130579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:07:09] local.INFO: TCP Data received {"connection_id":130579,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:07:09] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:07:09] local.INFO: IMEI packet received {"connection_id":130579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":130579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:07:10] local.INFO: TCP Data received {"connection_id":130579,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:07:10] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:07:10] local.INFO: Packet analysis {"connection_id":130579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:07:10] local.INFO: Extracted packet for processing {"connection_id":130579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:07: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-07-11 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:07:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":130579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:07:10] local.INFO: GPS data processed {"connection_id":130579,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:07:10] local.INFO: Acknowledgment sent {"connection_id":130579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:07:33] local.INFO: TCP Data received {"connection_id":128633,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5019dca0012d1b734007258520002900e122..."} 
[2026-07-11 13:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5019dca0012d1b734007258520002900e122..."} 
[2026-07-11 13:07:33] local.INFO: Processing buffer {"connection_id":128633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5019dca0012d1b734007258520002900e122..."} 
[2026-07-11 13:07:33] local.INFO: Packet analysis {"connection_id":128633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5019"} 
[2026-07-11 13:07:33] local.INFO: Extracted packet for processing {"connection_id":128633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5019"} 
[2026-07-11 13:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":34,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641351424001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783755300000,"timestamp_ms":1783755300000,"timestamp_seconds":1783755300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5019dca0"} 
[2026-07-11 13:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2233466921,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503685924388864,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":1699713040198103936,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4107546747252048128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7698904449156579352,"corrected_to":0} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182083680731392,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121351998033491,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2703822238674634788,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84754150873048454,"corrected_to":0} 
[2026-07-11 13:07:33] local.WARNING: Large IO value detected {"io_id":168,"raw_value":11259759898395648,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,216,83,24,241,157,16,23,159,56,45,64,133,41,38,10,66,230,37,148,1,240,139,227,80,4,113,205,115,32,36,239,50,2,20,7,40,167,181,69,200,168],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7698904449156579352,"validated":0},{"io_id":200,"original":84754150873048454,"validated":0}]} 
[2026-07-11 13:07:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954608895995150336,"timestamp_seconds":2954608895995150.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":128633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":128633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":128633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:07:33] 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-07-11 13:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641351424001,"66":12841,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641351424001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:07:33] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641351424001,"power":12841,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":128633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:07:33] local.INFO: GPS data processed {"connection_id":128633,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:07:33] local.INFO: Acknowledgment sent {"connection_id":128633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:07:41] local.INFO: TCP Data received {"connection_id":130579,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:07:41] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:07:41] local.INFO: Packet analysis {"connection_id":130579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:07:41] local.INFO: Extracted packet for processing {"connection_id":130579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13: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":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:07:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":130579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:07:41] local.INFO: GPS data processed {"connection_id":130579,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:07:41] local.INFO: Acknowledgment sent {"connection_id":130579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:07:59] local.INFO: TCP Data received {"connection_id":129353,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:07:59] local.INFO: Processing buffer {"connection_id":129353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:07:59] local.INFO: IMEI packet received {"connection_id":129353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":129353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:08:04] local.INFO: TCP Data received {"connection_id":129354,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:08:04] local.INFO: Processing buffer {"connection_id":129354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:08:04] local.INFO: IMEI packet received {"connection_id":129354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":129354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:08:05] local.INFO: TCP Data received {"connection_id":129353,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:08:05] local.INFO: Processing buffer {"connection_id":129353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:08:05] local.INFO: IMEI packet received {"connection_id":129353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":129353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:08:06] local.INFO: TCP Data received {"connection_id":129353,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a2ea8012d1b734007258520002900e125..."} 
[2026-07-11 13:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a2ea8012d1b734007258520002900e125..."} 
[2026-07-11 13:08:06] local.INFO: Processing buffer {"connection_id":129353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a2ea8012d1b734007258520002900e125..."} 
[2026-07-11 13:08:06] local.INFO: Packet analysis {"connection_id":129353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:08:06] local.INFO: Extracted packet for processing {"connection_id":129353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641356800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783755321000,"timestamp_ms":1783755321000,"timestamp_seconds":1783755321,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a2ea8"} 
[2026-07-11 13:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 13:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:08:06] 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-07-11 13:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641356800001,"66":12809,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641356800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:08:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641356800001,"power":12809,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":129353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:08:06] local.INFO: GPS data processed {"connection_id":129353,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:08:06] local.INFO: Acknowledgment sent {"connection_id":129353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:08:09] local.INFO: TCP Data received {"connection_id":129354,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:08:09] local.INFO: Processing buffer {"connection_id":129354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:08:09] local.INFO: IMEI packet received {"connection_id":129354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":129354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:08:10] local.INFO: TCP Data received {"connection_id":129354,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:08:10] local.INFO: Processing buffer {"connection_id":129354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:08:10] local.INFO: Packet analysis {"connection_id":129354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:08:10] local.INFO: Extracted packet for processing {"connection_id":129354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:08: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-07-11 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:08:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":129354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:08:10] local.INFO: GPS data processed {"connection_id":129354,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:08:10] local.INFO: Acknowledgment sent {"connection_id":129354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:08:38] local.INFO: TCP Data received {"connection_id":129353,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a80b0012d1b734007258520002900e123..."} 
[2026-07-11 13:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a80b0012d1b734007258520002900e123..."} 
[2026-07-11 13:08:38] local.INFO: Processing buffer {"connection_id":129353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a80b0012d1b734007258520002900e123..."} 
[2026-07-11 13:08:38] local.INFO: Packet analysis {"connection_id":129353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:08:38] local.INFO: Extracted packet for processing {"connection_id":129353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641362176001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783755342000,"timestamp_ms":1783755342000,"timestamp_seconds":1783755342,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a80b0"} 
[2026-07-11 13:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":9,"data_length":795,"current_offset":136} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":1725001807636951872,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2233466921,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2147560731,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879109246202285,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2703602336365863204,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,23,159,220,45,64,133,41,34,10,66,138,35,56,1,240,227,80,37,4,113,205,148,115,32,38,239,50,2,20,7,167,183],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-07-11 13:08:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954608904585084928,"timestamp_seconds":2954608904585085.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:08:38] 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-07-11 13:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641362176001,"66":12809,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641362176001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:08:38] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641362176001,"power":12809,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":129353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:08:38] local.INFO: GPS data processed {"connection_id":129353,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:08:38] local.INFO: Acknowledgment sent {"connection_id":129353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:08:41] local.INFO: TCP Data received {"connection_id":129354,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:08:41] local.INFO: Processing buffer {"connection_id":129354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:08:41] local.INFO: Packet analysis {"connection_id":129354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:08:41] local.INFO: Extracted packet for processing {"connection_id":129354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:08:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":129354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:08:41] local.INFO: GPS data processed {"connection_id":129354,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:08:41] local.INFO: Acknowledgment sent {"connection_id":129354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:08:59] local.INFO: TCP Data received {"connection_id":128635,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:09:00] local.INFO: Processing buffer {"connection_id":128635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:09:00] local.INFO: IMEI packet received {"connection_id":128635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":128635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:09:04] local.INFO: TCP Data received {"connection_id":129355,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:09:04] local.INFO: Processing buffer {"connection_id":129355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:09:04] local.INFO: IMEI packet received {"connection_id":129355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":129355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:09:05] local.INFO: TCP Data received {"connection_id":128635,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:09:05] local.INFO: Processing buffer {"connection_id":128635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:09:05] local.INFO: IMEI packet received {"connection_id":128635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":128635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:09:06] local.INFO: TCP Data received {"connection_id":128635,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ad2b8012d1b734007258520002900e126..."} 
[2026-07-11 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ad2b8012d1b734007258520002900e126..."} 
[2026-07-11 13:09:06] local.INFO: Processing buffer {"connection_id":128635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ad2b8012d1b734007258520002900e126..."} 
[2026-07-11 13:09:06] local.INFO: Packet analysis {"connection_id":128635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:09:06] local.INFO: Extracted packet for processing {"connection_id":128635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641367552001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783755363000,"timestamp_ms":1783755363000,"timestamp_seconds":1783755363,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ad2b8"} 
[2026-07-11 13:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":80,"raw_value":1748091551820247872,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2281778459,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512643663409581,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2703602336365863204,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,216,83,24,241,157,16,23,159,46,45,64,133,41,37,10,66,220,34,138,1,240,19,227,80,4,113,205,230,115,32,239,50,2,20,7,167,183],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-07-11 13:09:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954608895995150336,"timestamp_seconds":2954608895995150.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:09:06] 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-07-11 13:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641367552001,"66":12776,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641367552001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:09:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641367552001,"power":12776,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":128635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:09:06] local.INFO: GPS data processed {"connection_id":128635,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:09:06] local.INFO: Acknowledgment sent {"connection_id":128635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:09:09] local.INFO: TCP Data received {"connection_id":129355,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:09:09] local.INFO: Processing buffer {"connection_id":129355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:09:09] local.INFO: IMEI packet received {"connection_id":129355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":129355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:09:10] local.INFO: TCP Data received {"connection_id":129355,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:09:10] local.INFO: Processing buffer {"connection_id":129355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:09:10] local.INFO: Packet analysis {"connection_id":129355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:09:10] local.INFO: Extracted packet for processing {"connection_id":129355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:09: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-07-11 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:09:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":129355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:09:10] local.INFO: GPS data processed {"connection_id":129355,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:09:10] local.INFO: Acknowledgment sent {"connection_id":129355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:09:37] local.INFO: TCP Data received {"connection_id":128635,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501b24c0012d1b734007258520002900e121..."} 
[2026-07-11 13:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501b24c0012d1b734007258520002900e121..."} 
[2026-07-11 13:09:37] local.INFO: Processing buffer {"connection_id":128635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501b24c0012d1b734007258520002900e121..."} 
[2026-07-11 13:09:37] local.INFO: Packet analysis {"connection_id":128635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501b"} 
[2026-07-11 13:09:37] local.INFO: Extracted packet for processing {"connection_id":128635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501b"} 
[2026-07-11 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119899424,"longitude_deg":75.6773696,"latitude_deg":11.9899424,"altitude":41,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07258520","is_valid_coordinates":true} 
[2026-07-11 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641372928001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655574280667136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060784209920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783755384000,"timestamp_ms":1783755384000,"timestamp_seconds":1783755384,"priority":1,"record_length":96,"hex_timestamp":"0000019f501b24c0"} 
[2026-07-11 13:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 13:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:09:37] 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-07-11 13:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641372928001,"66":12722,"216":206,"83":42752,"24":0,"16":5655574280667136,"45":1977995060784209920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641372928001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:09:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655574280667136,"km_value":5655574280667.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060784209920,"description":"Unknown IO ID 45"} 
[2026-07-11 13:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641372928001,"power":12722,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977995060784209920}} 
[2026-07-11 13:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":128635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:09:37] local.INFO: GPS data processed {"connection_id":128635,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:09:37] local.INFO: Acknowledgment sent {"connection_id":128635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:09:41] local.INFO: TCP Data received {"connection_id":129355,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:09:41] local.INFO: Processing buffer {"connection_id":129355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:09:41] local.INFO: Packet analysis {"connection_id":129355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:09:41] local.INFO: Extracted packet for processing {"connection_id":129355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:09:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":129355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:09:41] local.INFO: GPS data processed {"connection_id":129355,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:09:41] local.INFO: Acknowledgment sent {"connection_id":129355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:09:59] local.INFO: TCP Data received {"connection_id":129356,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:09:59] local.INFO: Processing buffer {"connection_id":129356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:09:59] local.INFO: IMEI packet received {"connection_id":129356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":129356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:10:04] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:10:04] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:10:04] local.INFO: IMEI packet received {"connection_id":130581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":130581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:10:05] local.INFO: TCP Data received {"connection_id":129356,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:10:05] local.INFO: Processing buffer {"connection_id":129356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:10:05] local.INFO: IMEI packet received {"connection_id":129356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":129356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:10:06] local.INFO: TCP Data received {"connection_id":129356,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501d91d8012d1b7100072580b0002600ca29..."} 
[2026-07-11 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501d91d8012d1b7100072580b0002600ca29..."} 
[2026-07-11 13:10:06] local.INFO: Processing buffer {"connection_id":129356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501d91d8012d1b7100072580b0002600ca29..."} 
[2026-07-11 13:10:06] local.INFO: Packet analysis {"connection_id":129356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501d"} 
[2026-07-11 13:10:06] local.INFO: Extracted packet for processing {"connection_id":129356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501d"} 
[2026-07-11 13:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119898288,"longitude_deg":75.677312,"latitude_deg":11.9898288,"altitude":38,"angle":202,"satellites":41,"speed":8,"hex_longitude":"2d1b7100","hex_latitude":"072580b0","is_valid_coordinates":true} 
[2026-07-11 13:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641418240001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655638705176576,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217063137280,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783755543000,"timestamp_ms":1783755543000,"timestamp_seconds":1783755543,"priority":1,"record_length":96,"hex_timestamp":"0000019f501d91d8"} 
[2026-07-11 13:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 13:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446331392,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:06] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-07-11 13:10:06] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3892391195,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,216,83,24,241,157,16,23,159,130,45,64,37,41,10,66,91,131,38,87,128,1,240,163,227,80,4,113,205,190,115,32,239,54,2,20,7],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-07-11 13:10:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666375247078555648,"timestamp_seconds":2666375247078555.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:10:06] 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-07-11 13:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641418240001,"66":14254,"216":206,"83":42752,"24":8,"16":5655638705176576,"45":1977643217063137280},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641418240001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:10:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655638705176576,"km_value":5655638705176.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217063137280,"description":"Unknown IO ID 45"} 
[2026-07-11 13:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641418240001,"power":14254,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1977643217063137280}} 
[2026-07-11 13:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":129356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:10:06] local.INFO: GPS data processed {"connection_id":129356,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:10:06] local.INFO: Acknowledgment sent {"connection_id":129356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:10:09] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:10:09] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:10:09] local.INFO: IMEI packet received {"connection_id":130581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":130581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:10:10] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:10:10] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:10:10] local.INFO: Packet analysis {"connection_id":130581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:10:10] local.INFO: Extracted packet for processing {"connection_id":130581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:10:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:10: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-07-11 13:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:10:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":130581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:10:10] local.INFO: GPS data processed {"connection_id":130581,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:10:10] local.INFO: Acknowledgment sent {"connection_id":130581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:10:41] local.INFO: TCP Data received {"connection_id":129356,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501d99a8012d1b708007257ea0002600bb29..."} 
[2026-07-11 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501d99a8012d1b708007257ea0002600bb29..."} 
[2026-07-11 13:10:41] local.INFO: Processing buffer {"connection_id":129356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501d99a8012d1b708007257ea0002600bb29..."} 
[2026-07-11 13:10:41] local.INFO: Packet analysis {"connection_id":129356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501d"} 
[2026-07-11 13:10:41] local.INFO: Extracted packet for processing {"connection_id":129356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501d"} 
[2026-07-11 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119897760,"longitude_deg":75.6772992,"latitude_deg":11.989776,"altitude":38,"angle":187,"satellites":41,"speed":11,"hex_longitude":"2d1b7080","hex_latitude":"07257ea0","is_valid_coordinates":true} 
[2026-07-11 13:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641419008001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655664474980352,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742086320128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755545000,"timestamp_ms":1783755545000,"timestamp_seconds":1783755545,"priority":1,"record_length":96,"hex_timestamp":"0000019f501d99a8"} 
[2026-07-11 13:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 13:10:41] 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-07-11 13:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:10:41] 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-07-11 13:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641419008001,"66":14189,"216":206,"83":42752,"24":11,"16":5655664474980352,"45":1977361742086320128},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641419008001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:10:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655664474980352,"km_value":5655664474980.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742086320128,"description":"Unknown IO ID 45"} 
[2026-07-11 13:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641419008001,"power":14189,"unknown_216":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1977361742086320128}} 
[2026-07-11 13:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":129356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:10:41] local.INFO: GPS data processed {"connection_id":129356,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:10:41] local.INFO: Acknowledgment sent {"connection_id":129356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:10:42] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:10:42] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501a22f0012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:10:42] local.INFO: Packet analysis {"connection_id":130581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:10:42] local.INFO: Extracted packet for processing {"connection_id":130581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501a"} 
[2026-07-11 13:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641284352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783755318000,"timestamp_ms":1783755318000,"timestamp_seconds":1783755318,"priority":1,"record_length":96,"hex_timestamp":"0000019f501a22f0"} 
[2026-07-11 13:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641284352001,"66":25538,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641284352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:10:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641284352001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":130581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:10:42] local.INFO: GPS data processed {"connection_id":130581,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:10:42] local.INFO: Acknowledgment sent {"connection_id":130581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:11:05] local.INFO: TCP Data received {"connection_id":128454,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:11:05] local.INFO: Processing buffer {"connection_id":128454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:11:05] local.INFO: IMEI packet received {"connection_id":128454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":128454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:11:08] local.INFO: TCP Data received {"connection_id":128454,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:11:08] local.INFO: Processing buffer {"connection_id":128454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:11:08] local.INFO: IMEI packet received {"connection_id":128454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":128454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:11:09] local.INFO: TCP Data received {"connection_id":128454,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501dc0b8012d1b6f4007257380002800b027..."} 
[2026-07-11 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501dc0b8012d1b6f4007257380002800b027..."} 
[2026-07-11 13:11:09] local.INFO: Processing buffer {"connection_id":128454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501dc0b8012d1b6f4007257380002800b027..."} 
[2026-07-11 13:11:09] local.INFO: Packet analysis {"connection_id":128454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501d"} 
[2026-07-11 13:11:09] local.INFO: Extracted packet for processing {"connection_id":128454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501d"} 
[2026-07-11 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":756772672,"raw_latitude":119894912,"longitude_deg":75.6772672,"latitude_deg":11.9894912,"altitude":40,"angle":176,"satellites":39,"speed":11,"hex_longitude":"2d1b6f40","hex_latitude":"07257380","is_valid_coordinates":true} 
[2026-07-11 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641419520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655806208901120,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004597829632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783755555000,"timestamp_ms":1783755555000,"timestamp_seconds":1783755555,"priority":1,"record_length":96,"hex_timestamp":"0000019f501dc0b8"} 
[2026-07-11 13:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 13:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:11:09] 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-07-11 13:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641419520001,"66":14265,"216":206,"83":42752,"24":11,"16":5655806208901120,"45":1977221004597829632},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641419520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:11:09] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655806208901120,"km_value":5655806208901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004597829632,"description":"Unknown IO ID 45"} 
[2026-07-11 13:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641419520001,"power":14265,"unknown_216":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1977221004597829632}} 
[2026-07-11 13:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":128454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:11:09] local.INFO: GPS data processed {"connection_id":128454,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:11:09] local.INFO: Acknowledgment sent {"connection_id":128454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:11:09] local.INFO: TCP Data received {"connection_id":128636,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:11:09] local.INFO: Processing buffer {"connection_id":128636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:11:09] local.INFO: IMEI packet received {"connection_id":128636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":128636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:11:10] local.INFO: TCP Data received {"connection_id":128454,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501dd058012d1b6f0007256f08002700bd25..."} 
[2026-07-11 13:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501dd058012d1b6f0007256f08002700bd25..."} 
[2026-07-11 13:11:10] local.INFO: Processing buffer {"connection_id":128454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501dd058012d1b6f0007256f08002700bd25..."} 
[2026-07-11 13:11:10] local.INFO: Packet analysis {"connection_id":128454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501d"} 
[2026-07-11 13:11:10] local.INFO: Extracted packet for processing {"connection_id":128454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501d"} 
[2026-07-11 13:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756772608,"raw_latitude":119893768,"longitude_deg":75.6772608,"latitude_deg":11.9893768,"altitude":39,"angle":189,"satellites":37,"speed":10,"hex_longitude":"2d1b6f00","hex_latitude":"07256f08","is_valid_coordinates":true} 
[2026-07-11 13:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655862043475968,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976869160876212224,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755559000,"timestamp_ms":1783755559000,"timestamp_seconds":1783755559,"priority":1,"record_length":96,"hex_timestamp":"0000019f501dd058"} 
[2026-07-11 13:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 13:11:10] 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-07-11 13:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:11:10] 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-07-11 13:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641422080001,"66":14243,"216":206,"83":42752,"24":10,"16":5655862043475968,"45":1976869160876212224},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:11:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655862043475968,"km_value":5655862043475.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976869160876212224,"description":"Unknown IO ID 45"} 
[2026-07-11 13:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641422080001,"power":14243,"unknown_216":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1976869160876212224}} 
[2026-07-11 13:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":128454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:11:10] local.INFO: GPS data processed {"connection_id":128454,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:11:10] local.INFO: Acknowledgment sent {"connection_id":128454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:11:14] local.INFO: TCP Data received {"connection_id":128636,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:11:14] local.INFO: Processing buffer {"connection_id":128636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:11:14] local.INFO: IMEI packet received {"connection_id":128636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":128636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:11:15] local.INFO: TCP Data received {"connection_id":128636,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:11:15] local.INFO: Processing buffer {"connection_id":128636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:11:15] local.INFO: Packet analysis {"connection_id":128636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:11:15] local.INFO: Extracted packet for processing {"connection_id":128636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:11:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:11:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:11:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:11:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":128636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:11:15] local.INFO: GPS data processed {"connection_id":128636,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:11:15] local.INFO: Acknowledgment sent {"connection_id":128636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:11:19] local.INFO: TCP Data received {"connection_id":128636,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:11:19] local.INFO: Processing buffer {"connection_id":128636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:11:19] local.INFO: Packet analysis {"connection_id":128636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:11:19] local.INFO: Extracted packet for processing {"connection_id":128636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:11:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:11:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:11:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":128636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:11:19] local.INFO: GPS data processed {"connection_id":128636,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:11:19] local.INFO: Acknowledgment sent {"connection_id":128636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:11:41] local.INFO: TCP Data received {"connection_id":128454,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501e2260012d1b6e4007256410002600bf27..."} 
[2026-07-11 13:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501e2260012d1b6e4007256410002600bf27..."} 
[2026-07-11 13:11:41] local.INFO: Processing buffer {"connection_id":128454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501e2260012d1b6e4007256410002600bf27..."} 
[2026-07-11 13:11:41] local.INFO: Packet analysis {"connection_id":128454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:11:41] local.INFO: Extracted packet for processing {"connection_id":128454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:11:41] local.INFO: GPS Element Parsed {"raw_longitude":756772416,"raw_latitude":119890960,"longitude_deg":75.6772416,"latitude_deg":11.989096,"altitude":38,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d1b6e40","hex_latitude":"07256410","is_valid_coordinates":true} 
[2026-07-11 13:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641423104001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5655999482429440,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976798792131741696,"note":"Value kept but may cause issues"} 
[2026-07-11 13:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755580000,"timestamp_ms":1783755580000,"timestamp_seconds":1783755580,"priority":1,"record_length":96,"hex_timestamp":"0000019f501e2260"} 
[2026-07-11 13:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-11 13:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:11:41] 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-07-11 13:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641423104001,"66":14265,"216":206,"83":42752,"24":0,"16":5655999482429440,"45":1976798792131741696},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641423104001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:11:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5655999482429440,"km_value":5655999482429.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976798792131741696,"description":"Unknown IO ID 45"} 
[2026-07-11 13:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641423104001,"power":14265,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1976798792131741696}} 
[2026-07-11 13:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":128454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:11:41] local.INFO: GPS data processed {"connection_id":128454,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:11:41] local.INFO: Acknowledgment sent {"connection_id":128454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:12:00] local.INFO: TCP Data received {"connection_id":129357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:00] local.INFO: Processing buffer {"connection_id":129357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:00] local.INFO: IMEI packet received {"connection_id":129357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":129357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:12:01] local.INFO: TCP Data received {"connection_id":129357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:01] local.INFO: Processing buffer {"connection_id":129357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:01] local.INFO: IMEI packet received {"connection_id":129357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":129357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:12:04] local.INFO: TCP Data received {"connection_id":128637,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:12:04] local.INFO: Processing buffer {"connection_id":128637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:12:04] local.INFO: IMEI packet received {"connection_id":128637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":128637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:12:04] local.INFO: TCP Data received {"connection_id":129357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:04] local.INFO: Processing buffer {"connection_id":129357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:04] local.INFO: IMEI packet received {"connection_id":129357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":129357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:12:06] local.INFO: TCP Data received {"connection_id":129357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501e7468012d1b6a8007255538002700bf26..."} 
[2026-07-11 13:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501e7468012d1b6a8007255538002700bf26..."} 
[2026-07-11 13:12:06] local.INFO: Processing buffer {"connection_id":129357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501e7468012d1b6a8007255538002700bf26..."} 
[2026-07-11 13:12:06] local.INFO: Packet analysis {"connection_id":129357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:12:06] local.INFO: Extracted packet for processing {"connection_id":129357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756771456,"raw_latitude":119887160,"longitude_deg":75.6771456,"latitude_deg":11.988716,"altitude":39,"angle":191,"satellites":38,"speed":20,"hex_longitude":"2d1b6a80","hex_latitude":"07255538","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641428480001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5656192755957760,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976587685898489856,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783755601000,"timestamp_ms":1783755601000,"timestamp_seconds":1783755601,"priority":1,"record_length":96,"hex_timestamp":"0000019f501e7468"} 
[2026-07-11 13:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 13:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:12:06] 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-07-11 13:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641428480001,"66":14265,"216":206,"83":42752,"24":20,"16":5656192755957760,"45":1976587685898489856},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641428480001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:12:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5656192755957760,"km_value":5656192755957.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976587685898489856,"description":"Unknown IO ID 45"} 
[2026-07-11 13:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641428480001,"power":14265,"unknown_216":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1976587685898489856}} 
[2026-07-11 13:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":129357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:12:06] local.INFO: GPS data processed {"connection_id":129357,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:12:06] local.INFO: Acknowledgment sent {"connection_id":129357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:12:09] local.INFO: TCP Data received {"connection_id":128637,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:12:09] local.INFO: Processing buffer {"connection_id":128637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:12:09] local.INFO: IMEI packet received {"connection_id":128637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":128637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:12:10] local.INFO: TCP Data received {"connection_id":128637,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:12:10] local.INFO: Processing buffer {"connection_id":128637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:12:10] local.INFO: Packet analysis {"connection_id":128637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:12:10] local.INFO: Extracted packet for processing {"connection_id":128637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:12: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-07-11 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:12: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-07-11 13:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:12:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":128637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:12:10] local.INFO: GPS data processed {"connection_id":128637,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:12:10] local.INFO: Acknowledgment sent {"connection_id":128637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:12:20] local.INFO: TCP Data received {"connection_id":130582,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:12:20] local.INFO: Processing buffer {"connection_id":130582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:12:20] local.INFO: IMEI packet received {"connection_id":130582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":130582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:12:37] local.INFO: TCP Data received {"connection_id":129357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f501eab18012d1b624007253300002800c227..."} 
[2026-07-11 13:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501eab18012d1b624007253300002800c227..."} 
[2026-07-11 13:12:37] local.INFO: Processing buffer {"connection_id":129357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501eab18012d1b624007253300002800c227..."} 
[2026-07-11 13:12:37] local.INFO: Packet analysis {"connection_id":129357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:12:37] local.INFO: Extracted packet for processing {"connection_id":129357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756769344,"raw_latitude":119878400,"longitude_deg":75.6769344,"latitude_deg":11.98784,"altitude":40,"angle":194,"satellites":39,"speed":25,"hex_longitude":"2d1b6240","hex_latitude":"07253300","is_valid_coordinates":true} 
[2026-07-11 13:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641433856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5656630842621952,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975532154734852096,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783755615000,"timestamp_ms":1783755615000,"timestamp_seconds":1783755615,"priority":1,"record_length":96,"hex_timestamp":"0000019f501eab18"} 
[2026-07-11 13:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 13:12:37] 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-07-11 13:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:12:37] 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-07-11 13:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641433856001,"66":14298,"216":206,"83":42752,"24":25,"16":5656630842621952,"45":1975532154734852096},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-11 13:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641433856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:12:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-11 13:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5656630842621952,"km_value":5656630842621.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975532154734852096,"description":"Unknown IO ID 45"} 
[2026-07-11 13:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641433856001,"power":14298,"unknown_216":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1975532154734852096}} 
[2026-07-11 13:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":129357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:12:37] local.INFO: GPS data processed {"connection_id":129357,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:12:37] local.INFO: Acknowledgment sent {"connection_id":129357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:12:41] local.INFO: TCP Data received {"connection_id":128637,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:12:41] local.INFO: Processing buffer {"connection_id":128637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:12:41] local.INFO: Packet analysis {"connection_id":128637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:12:41] local.INFO: Extracted packet for processing {"connection_id":128637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:12: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-07-11 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:12: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-07-11 13:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:12:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":128637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:12:41] local.INFO: GPS data processed {"connection_id":128637,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:12:41] local.INFO: Acknowledgment sent {"connection_id":128637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:12:45] local.INFO: TCP Data received {"connection_id":128455,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:12:45] local.INFO: Processing buffer {"connection_id":128455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:12:45] local.INFO: IMEI packet received {"connection_id":128455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":128455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:12:59] local.INFO: TCP Data received {"connection_id":128456,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:59] local.INFO: Processing buffer {"connection_id":128456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:12:59] local.INFO: IMEI packet received {"connection_id":128456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":128456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:13:04] local.INFO: TCP Data received {"connection_id":128457,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:13:04] local.INFO: Processing buffer {"connection_id":128457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:13:04] local.INFO: IMEI packet received {"connection_id":128457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":128457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:13:04] local.INFO: TCP Data received {"connection_id":128456,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:13:04] local.INFO: Processing buffer {"connection_id":128456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:13:04] local.INFO: IMEI packet received {"connection_id":128456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":128456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:13:06] local.INFO: TCP Data received {"connection_id":128456,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50206c50012d1ae38007244c18002a00d125..."} 
[2026-07-11 13:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50206c50012d1ae38007244c18002a00d125..."} 
[2026-07-11 13:13:06] local.INFO: Processing buffer {"connection_id":128456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50206c50012d1ae38007244c18002a00d125..."} 
[2026-07-11 13:13:06] local.INFO: Packet analysis {"connection_id":128456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5020"} 
[2026-07-11 13:13:06] local.INFO: Extracted packet for processing {"connection_id":128456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5020"} 
[2026-07-11 13:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756736896,"raw_latitude":119819288,"longitude_deg":75.6736896,"latitude_deg":11.9819288,"altitude":42,"angle":209,"satellites":37,"speed":23,"hex_longitude":"2d1ae380","hex_latitude":"07244c18","is_valid_coordinates":true} 
[2026-07-11 13:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641464320001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5660118356066304,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1940840363839248384,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783755730000,"timestamp_ms":1783755730000,"timestamp_seconds":1783755730,"priority":1,"record_length":96,"hex_timestamp":"0000019f50206c50"} 
[2026-07-11 13:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-11 13:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641464320001,"66":13243,"176":206,"83":42752,"24":23,"16":5660118356066304,"45":1940840363839248384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-11 13:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641464320001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:13:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 13:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5660118356066304,"km_value":5660118356066.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1940840363839248384,"description":"Unknown IO ID 45"} 
[2026-07-11 13:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641464320001,"power":13243,"unknown_176":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1940840363839248384}} 
[2026-07-11 13:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":128456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:13:06] local.INFO: GPS data processed {"connection_id":128456,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:13:06] local.INFO: Acknowledgment sent {"connection_id":128456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:13:09] local.INFO: TCP Data received {"connection_id":128457,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:13:09] local.INFO: Processing buffer {"connection_id":128457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:13:09] local.INFO: IMEI packet received {"connection_id":128457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":128457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:13:09] local.INFO: TCP Data received {"connection_id":128457,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:13:09] local.INFO: Processing buffer {"connection_id":128457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:13:09] local.INFO: Packet analysis {"connection_id":128457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:13:09] local.INFO: Extracted packet for processing {"connection_id":128457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:13:09] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13: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-07-11 13: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":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:13: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-07-11 13: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-07-11 13:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:13: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-07-11 13:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:13:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":128457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:13:09] local.INFO: GPS data processed {"connection_id":128457,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:13:09] local.INFO: Acknowledgment sent {"connection_id":128457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:13:37] local.INFO: TCP Data received {"connection_id":128456,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50207038012d1ae24007244a30002a00d325..."} 
[2026-07-11 13:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50207038012d1ae24007244a30002a00d325..."} 
[2026-07-11 13:13:37] local.INFO: Processing buffer {"connection_id":128456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50207038012d1ae24007244a30002a00d325..."} 
[2026-07-11 13:13:37] local.INFO: Packet analysis {"connection_id":128456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5020"} 
[2026-07-11 13:13:37] local.INFO: Extracted packet for processing {"connection_id":128456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5020"} 
[2026-07-11 13:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756736576,"raw_latitude":119818800,"longitude_deg":75.6736576,"latitude_deg":11.98188,"altitude":42,"angle":211,"satellites":37,"speed":22,"hex_longitude":"2d1ae240","hex_latitude":"07244a30","is_valid_coordinates":true} 
[2026-07-11 13:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641466880001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5660118356066304,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937533032861538304,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783755731000,"timestamp_ms":1783755731000,"timestamp_seconds":1783755731,"priority":1,"record_length":96,"hex_timestamp":"0000019f50207038"} 
[2026-07-11 13:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 13:13:37] 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-07-11 13:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:13:37] 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-07-11 13:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641466880001,"66":4590,"176":206,"83":42752,"24":22,"16":5660118356066304,"45":1937533032861538304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-11 13:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641466880001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:13:37] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 13:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5660118356066304,"km_value":5660118356066.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937533032861538304,"description":"Unknown IO ID 45"} 
[2026-07-11 13:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641466880001,"power":4590,"unknown_176":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1937533032861538304}} 
[2026-07-11 13:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":128456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:13:37] local.INFO: GPS data processed {"connection_id":128456,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:13:37] local.INFO: Acknowledgment sent {"connection_id":128456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:13:40] local.INFO: TCP Data received {"connection_id":128457,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:13:40] local.INFO: Processing buffer {"connection_id":128457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:13:40] local.INFO: Packet analysis {"connection_id":128457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:13:40] local.INFO: Extracted packet for processing {"connection_id":128457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:13:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:13: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-07-11 13:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:13: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-07-11 13:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:13:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":128457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:13:41] local.INFO: GPS data processed {"connection_id":128457,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:13:41] local.INFO: Acknowledgment sent {"connection_id":128457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:13:59] local.INFO: TCP Data received {"connection_id":130583,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:13:59] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:13:59] local.INFO: IMEI packet received {"connection_id":130583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":130583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:14:04] local.INFO: TCP Data received {"connection_id":130584,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:14:04] local.INFO: Processing buffer {"connection_id":130584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:14:04] local.INFO: IMEI packet received {"connection_id":130584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":130584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:14:04] local.INFO: TCP Data received {"connection_id":130583,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:14:04] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:14:04] local.INFO: IMEI packet received {"connection_id":130583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":130583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:14:05] local.INFO: TCP Data received {"connection_id":130583,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50207038012d1ae24007244a30002a00d325..."} 
[2026-07-11 13:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50207038012d1ae24007244a30002a00d325..."} 
[2026-07-11 13:14:05] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50207038012d1ae24007244a30002a00d325..."} 
[2026-07-11 13:14:05] local.INFO: Packet analysis {"connection_id":130583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5020"} 
[2026-07-11 13:14:05] local.INFO: Extracted packet for processing {"connection_id":130583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5020"} 
[2026-07-11 13:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756736576,"raw_latitude":119818800,"longitude_deg":75.6736576,"latitude_deg":11.98188,"altitude":42,"angle":211,"satellites":37,"speed":22,"hex_longitude":"2d1ae240","hex_latitude":"07244a30","is_valid_coordinates":true} 
[2026-07-11 13:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641467136001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5660118356066304,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937181189140525056,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783755731000,"timestamp_ms":1783755731000,"timestamp_seconds":1783755731,"priority":1,"record_length":96,"hex_timestamp":"0000019f50207038"} 
[2026-07-11 13:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:14:05] 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-07-11 13:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641467136001,"66":4590,"176":206,"83":42752,"24":22,"16":5660118356066304,"45":1937181189140525056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-11 13:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641467136001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:14:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 13:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5660118356066304,"km_value":5660118356066.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937181189140525056,"description":"Unknown IO ID 45"} 
[2026-07-11 13:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641467136001,"power":4590,"unknown_176":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1937181189140525056}} 
[2026-07-11 13:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":130583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:14:05] local.INFO: GPS data processed {"connection_id":130583,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:14:05] local.INFO: Acknowledgment sent {"connection_id":130583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:14:09] local.INFO: TCP Data received {"connection_id":130584,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:14:09] local.INFO: Processing buffer {"connection_id":130584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:14:09] local.INFO: IMEI packet received {"connection_id":130584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":130584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:14:10] local.INFO: TCP Data received {"connection_id":130584,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:14:10] local.INFO: Processing buffer {"connection_id":130584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:14:10] local.INFO: Packet analysis {"connection_id":130584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:14:10] local.INFO: Extracted packet for processing {"connection_id":130584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:14: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-07-11 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:14: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-07-11 13:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:14:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":130584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:14:10] local.INFO: GPS data processed {"connection_id":130584,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:14:10] local.INFO: Acknowledgment sent {"connection_id":130584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:14:36] local.INFO: TCP Data received {"connection_id":130583,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5021ef08012d1aba0007242af8002c00d623..."} 
[2026-07-11 13:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5021ef08012d1aba0007242af8002c00d623..."} 
[2026-07-11 13:14:36] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5021ef08012d1aba0007242af8002c00d623..."} 
[2026-07-11 13:14:36] local.INFO: Packet analysis {"connection_id":130583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5021"} 
[2026-07-11 13:14:36] local.INFO: Extracted packet for processing {"connection_id":130583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5021"} 
[2026-07-11 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119810808,"longitude_deg":75.6726272,"latitude_deg":11.9810808,"altitude":44,"angle":214,"satellites":35,"speed":0,"hex_longitude":"2d1aba00","hex_latitude":"07242af8","is_valid_coordinates":true} 
[2026-07-11 13:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641467136001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5660118356066304,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937181189140525056,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783755829000,"timestamp_ms":1783755829000,"timestamp_seconds":1783755829,"priority":1,"record_length":96,"hex_timestamp":"0000019f5021ef08"} 
[2026-07-11 13:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 13:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:14:36] 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-07-11 13:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641467136001,"66":2166,"137":206,"83":42752,"24":0,"16":5660118356066304,"45":1937181189140525056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-11 13:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641467136001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:14:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-11 13:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5660118356066304,"km_value":5660118356066.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937181189140525056,"description":"Unknown IO ID 45"} 
[2026-07-11 13:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641467136001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1937181189140525056}} 
[2026-07-11 13:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":130583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:14:36] local.INFO: GPS data processed {"connection_id":130583,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:14:36] local.INFO: Acknowledgment sent {"connection_id":130583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:14:41] local.INFO: TCP Data received {"connection_id":130584,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:14:41] local.INFO: Processing buffer {"connection_id":130584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:14:41] local.INFO: Packet analysis {"connection_id":130584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:14:41] local.INFO: Extracted packet for processing {"connection_id":130584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13: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-07-11 13: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":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:14: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-07-11 13:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:14:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":130584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:14:41] local.INFO: GPS data processed {"connection_id":130584,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:14:41] local.INFO: Acknowledgment sent {"connection_id":130584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:14:59] local.INFO: TCP Data received {"connection_id":128640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:14:59] local.INFO: Processing buffer {"connection_id":128640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:14:59] local.INFO: IMEI packet received {"connection_id":128640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":128640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:15:04] local.INFO: TCP Data received {"connection_id":129358,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:15:04] local.INFO: Processing buffer {"connection_id":129358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:15:04] local.INFO: IMEI packet received {"connection_id":129358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:15:04] local.INFO: TCP Data received {"connection_id":128640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:15:04] local.INFO: Processing buffer {"connection_id":128640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:15:04] local.INFO: IMEI packet received {"connection_id":128640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:15:05] local.INFO: TCP Data received {"connection_id":128640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5021ef08012d1aba0007242af8002c00d623..."} 
[2026-07-11 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5021ef08012d1aba0007242af8002c00d623..."} 
[2026-07-11 13:15:05] local.INFO: Processing buffer {"connection_id":128640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5021ef08012d1aba0007242af8002c00d623..."} 
[2026-07-11 13:15:05] local.INFO: Packet analysis {"connection_id":128640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5021"} 
[2026-07-11 13:15:05] local.INFO: Extracted packet for processing {"connection_id":128640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5021"} 
[2026-07-11 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119810808,"longitude_deg":75.6726272,"latitude_deg":11.9810808,"altitude":44,"angle":214,"satellites":35,"speed":0,"hex_longitude":"2d1aba00","hex_latitude":"07242af8","is_valid_coordinates":true} 
[2026-07-11 13:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641492224001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5660118356066304,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925851821325875200,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783755829000,"timestamp_ms":1783755829000,"timestamp_seconds":1783755829,"priority":1,"record_length":96,"hex_timestamp":"0000019f5021ef08"} 
[2026-07-11 13:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:15: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-07-11 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:15:05] 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-07-11 13:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641492224001,"66":2166,"137":206,"83":42752,"24":0,"16":5660118356066304,"45":1925851821325875200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-11 13:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641492224001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:15:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-11 13:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5660118356066304,"km_value":5660118356066.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925851821325875200,"description":"Unknown IO ID 45"} 
[2026-07-11 13:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641492224001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1925851821325875200}} 
[2026-07-11 13:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":128640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:15:05] local.INFO: GPS data processed {"connection_id":128640,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:15:05] local.INFO: Acknowledgment sent {"connection_id":128640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:15:09] local.INFO: TCP Data received {"connection_id":129358,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:15:09] local.INFO: Processing buffer {"connection_id":129358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:15:09] local.INFO: IMEI packet received {"connection_id":129358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":129358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:15:10] local.INFO: TCP Data received {"connection_id":129358,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:15:10] local.INFO: Processing buffer {"connection_id":129358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:15:10] local.INFO: Packet analysis {"connection_id":129358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:15:10] local.INFO: Extracted packet for processing {"connection_id":129358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:15: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-07-11 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:15: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-07-11 13:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:15:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":129358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:15:10] local.INFO: GPS data processed {"connection_id":129358,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:15:10] local.INFO: Acknowledgment sent {"connection_id":129358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:15:39] local.INFO: TCP Data received {"connection_id":128640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5022c9c8012d1aae0007242760002c010e23..."} 
[2026-07-11 13:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5022c9c8012d1aae0007242760002c010e23..."} 
[2026-07-11 13:15:39] local.INFO: Processing buffer {"connection_id":128640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5022c9c8012d1aae0007242760002c010e23..."} 
[2026-07-11 13:15:39] local.INFO: Packet analysis {"connection_id":128640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5022"} 
[2026-07-11 13:15:39] local.INFO: Extracted packet for processing {"connection_id":128640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5022"} 
[2026-07-11 13:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756723200,"raw_latitude":119809888,"longitude_deg":75.67232,"latitude_deg":11.9809888,"altitude":44,"angle":270,"satellites":35,"speed":9,"hex_longitude":"2d1aae00","hex_latitude":"07242760","is_valid_coordinates":true} 
[2026-07-11 13:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641505536001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5660217140314112,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923318546535208960,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783755885000,"timestamp_ms":1783755885000,"timestamp_seconds":1783755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f5022c9c8"} 
[2026-07-11 13:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-11 13:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:15:39] 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-07-11 13:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641505536001,"66":14265,"43":206,"83":42752,"24":9,"16":5660217140314112,"45":1923318546535208960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-11 13:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641505536001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:15:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 13:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5660217140314112,"km_value":5660217140314.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923318546535208960,"description":"Unknown IO ID 45"} 
[2026-07-11 13:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641505536001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1923318546535208960}} 
[2026-07-11 13:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":128640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:15:39] local.INFO: GPS data processed {"connection_id":128640,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:15:39] local.INFO: Acknowledgment sent {"connection_id":128640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:15:41] local.INFO: TCP Data received {"connection_id":129358,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:15:41] local.INFO: Processing buffer {"connection_id":129358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f501ebab8012cb29c0007823c60004200b329..."} 
[2026-07-11 13:15:41] local.INFO: Packet analysis {"connection_id":129358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:15:41] local.INFO: Extracted packet for processing {"connection_id":129358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f501e"} 
[2026-07-11 13:15:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641361408001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755619000,"timestamp_ms":1783755619000,"timestamp_seconds":1783755619,"priority":1,"record_length":96,"hex_timestamp":"0000019f501ebab8"} 
[2026-07-11 13:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:15: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-07-11 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-11 13:15: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-07-11 13:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641361408001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641361408001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:15:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641361408001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":129358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:15:41] local.INFO: GPS data processed {"connection_id":129358,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:15:41] local.INFO: Acknowledgment sent {"connection_id":129358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:15:59] local.INFO: TCP Data received {"connection_id":129359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:16:00] local.INFO: Processing buffer {"connection_id":129359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:16:00] local.INFO: IMEI packet received {"connection_id":129359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":129359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:16:04] local.INFO: TCP Data received {"connection_id":129359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:16:04] local.INFO: Processing buffer {"connection_id":129359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:16:04] local.INFO: IMEI packet received {"connection_id":129359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":129359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:16:05] local.INFO: TCP Data received {"connection_id":129359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5022d198012d1aac00072426d8002c00fe23..."} 
[2026-07-11 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5022d198012d1aac00072426d8002c00fe23..."} 
[2026-07-11 13:16:05] local.INFO: Processing buffer {"connection_id":129359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5022d198012d1aac00072426d8002c00fe23..."} 
[2026-07-11 13:16:05] local.INFO: Packet analysis {"connection_id":129359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5022"} 
[2026-07-11 13:16:05] local.INFO: Extracted packet for processing {"connection_id":129359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5022"} 
[2026-07-11 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756722688,"raw_latitude":119809752,"longitude_deg":75.6722688,"latitude_deg":11.9809752,"altitude":44,"angle":254,"satellites":35,"speed":12,"hex_longitude":"2d1aac00","hex_latitude":"072426d8","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641506560001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5660238615150592,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922474121605111808,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783755887000,"timestamp_ms":1783755887000,"timestamp_seconds":1783755887,"priority":1,"record_length":96,"hex_timestamp":"0000019f5022d198"} 
[2026-07-11 13:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 13:16:05] 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-07-11 13: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-07-11 13:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:16:05] 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-07-11 13:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641506560001,"66":14265,"43":206,"83":42752,"24":12,"16":5660238615150592,"45":1922474121605111808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-11 13:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641506560001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:16:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 13:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5660238615150592,"km_value":5660238615150.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922474121605111808,"description":"Unknown IO ID 45"} 
[2026-07-11 13:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641506560001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1922474121605111808}} 
[2026-07-11 13:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":129359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:16:05] local.INFO: GPS data processed {"connection_id":129359,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:16:05] local.INFO: Acknowledgment sent {"connection_id":129359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:16:09] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:16:09] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:16:09] local.INFO: IMEI packet received {"connection_id":130585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":130585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:16:14] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:16:14] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:16:14] local.INFO: IMEI packet received {"connection_id":130585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":130585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:16:15] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:16:15] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:16:15] local.INFO: Packet analysis {"connection_id":130585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:16:15] local.INFO: Extracted packet for processing {"connection_id":130585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:16:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:16:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:16:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:16:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":130585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:16:15] local.INFO: GPS data processed {"connection_id":130585,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:16:15] local.INFO: Acknowledgment sent {"connection_id":130585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:16:20] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:16:20] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:16:20] local.INFO: Packet analysis {"connection_id":130585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:16:20] local.INFO: Extracted packet for processing {"connection_id":130585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:16:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":130585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:16:20] local.INFO: GPS data processed {"connection_id":130585,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:16:20] local.INFO: Acknowledgment sent {"connection_id":130585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:16:36] local.INFO: TCP Data received {"connection_id":129359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5022f0d8012d1aa10007242210002d00f324..."} 
[2026-07-11 13:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5022f0d8012d1aa10007242210002d00f324..."} 
[2026-07-11 13:16:36] local.INFO: Processing buffer {"connection_id":129359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5022f0d8012d1aa10007242210002d00f324..."} 
[2026-07-11 13:16:36] local.INFO: Packet analysis {"connection_id":129359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5022"} 
[2026-07-11 13:16:36] local.INFO: Extracted packet for processing {"connection_id":129359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5022"} 
[2026-07-11 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756719872,"raw_latitude":119808528,"longitude_deg":75.6719872,"latitude_deg":11.9808528,"altitude":45,"angle":243,"satellites":36,"speed":18,"hex_longitude":"2d1aa100","hex_latitude":"07242210","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641507072001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5660384644038656,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921911171651655680,"note":"Value kept but may cause issues"} 
[2026-07-11 13:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783755895000,"timestamp_ms":1783755895000,"timestamp_seconds":1783755895,"priority":1,"record_length":96,"hex_timestamp":"0000019f5022f0d8"} 
[2026-07-11 13:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 13:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:16:36] 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-07-11 13:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641507072001,"66":14298,"43":206,"83":42752,"24":18,"16":5660384644038656,"45":1921911171651655680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-11 13:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641507072001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:16:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 13:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5660384644038656,"km_value":5660384644038.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921911171651655680,"description":"Unknown IO ID 45"} 
[2026-07-11 13:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641507072001,"power":14298,"unknown_43":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1921911171651655680}} 
[2026-07-11 13:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":129359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:16:36] local.INFO: GPS data processed {"connection_id":129359,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:16:36] local.INFO: Acknowledgment sent {"connection_id":129359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:17:04] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:17:04] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:17:04] local.INFO: IMEI packet received {"connection_id":130587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":130587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:17:09] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:17:09] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:17:09] local.INFO: IMEI packet received {"connection_id":130587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":130587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:17:10] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:17:10] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:17:10] local.INFO: Packet analysis {"connection_id":130587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:17:10] local.INFO: Extracted packet for processing {"connection_id":130587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:17: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-07-11 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:17: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-07-11 13:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:17:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":130587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:17:10] local.INFO: GPS data processed {"connection_id":130587,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:17:10] local.INFO: Acknowledgment sent {"connection_id":130587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:17:10] local.INFO: TCP Data received {"connection_id":128642,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:17:10] local.INFO: Processing buffer {"connection_id":128642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:17:10] local.INFO: IMEI packet received {"connection_id":128642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":128642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:17:13] local.INFO: TCP Data received {"connection_id":128642,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:17:13] local.INFO: Processing buffer {"connection_id":128642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:17:13] local.INFO: IMEI packet received {"connection_id":128642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":128642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:17:15] local.INFO: TCP Data received {"connection_id":128642,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f502342e0012d1a818007241388002e00f727..."} 
[2026-07-11 13:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502342e0012d1a818007241388002e00f727..."} 
[2026-07-11 13:17:15] local.INFO: Processing buffer {"connection_id":128642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502342e0012d1a818007241388002e00f727..."} 
[2026-07-11 13:17:15] local.INFO: Packet analysis {"connection_id":128642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:17:15] local.INFO: Extracted packet for processing {"connection_id":128642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756711808,"raw_latitude":119804808,"longitude_deg":75.6711808,"latitude_deg":11.9804808,"altitude":46,"angle":247,"satellites":39,"speed":3,"hex_longitude":"2d1a8180","hex_latitude":"07241388","is_valid_coordinates":true} 
[2026-07-11 13:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641509120001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5660809845800960,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918814946907525120,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783755916000,"timestamp_ms":1783755916000,"timestamp_seconds":1783755916,"priority":1,"record_length":96,"hex_timestamp":"0000019f502342e0"} 
[2026-07-11 13:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 13:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:17:15] 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-07-11 13:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641509120001,"66":14461,"43":206,"83":42752,"24":3,"16":5660809845800960,"45":1918814946907525120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-11 13:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641509120001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:17:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 13:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5660809845800960,"km_value":5660809845800.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918814946907525120,"description":"Unknown IO ID 45"} 
[2026-07-11 13:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641509120001,"power":14461,"unknown_43":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1918814946907525120}} 
[2026-07-11 13:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":128642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:17:15] local.INFO: GPS data processed {"connection_id":128642,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:17:15] local.INFO: Acknowledgment sent {"connection_id":128642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:17:16] local.INFO: TCP Data received {"connection_id":128642,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50237990012d1a6f8007240a08002d00eb27..."} 
[2026-07-11 13:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50237990012d1a6f8007240a08002d00eb27..."} 
[2026-07-11 13:17:16] local.INFO: Processing buffer {"connection_id":128642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50237990012d1a6f8007240a08002d00eb27..."} 
[2026-07-11 13:17:16] local.INFO: Packet analysis {"connection_id":128642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:17:16] local.INFO: Extracted packet for processing {"connection_id":128642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756707200,"raw_latitude":119802376,"longitude_deg":75.67072,"latitude_deg":11.9802376,"altitude":45,"angle":235,"satellites":39,"speed":25,"hex_longitude":"2d1a6f80","hex_latitude":"07240a08","is_valid_coordinates":true} 
[2026-07-11 13:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641514496001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5661054658936832,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909948485140187136,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783755930000,"timestamp_ms":1783755930000,"timestamp_seconds":1783755930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50237990"} 
[2026-07-11 13:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 13:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:17:16] 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-07-11 13:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641514496001,"66":14396,"43":206,"83":42752,"24":25,"16":5661054658936832,"45":1909948485140187136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-11 13:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641514496001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:17:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 13:17:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5661054658936832,"km_value":5661054658936.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909948485140187136,"description":"Unknown IO ID 45"} 
[2026-07-11 13:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641514496001,"power":14396,"unknown_43":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1909948485140187136}} 
[2026-07-11 13:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":128642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:17:16] local.INFO: GPS data processed {"connection_id":128642,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:17:16] local.INFO: Acknowledgment sent {"connection_id":128642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:17:41] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:17:41] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:17:41] local.INFO: Packet analysis {"connection_id":130587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:17:41] local.INFO: Extracted packet for processing {"connection_id":130587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:17:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:17: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-07-11 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:17: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-07-11 13:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:17:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":130587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:17:41] local.INFO: GPS data processed {"connection_id":130587,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:17:41] local.INFO: Acknowledgment sent {"connection_id":130587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:18:04] local.INFO: TCP Data received {"connection_id":129360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:18:04] local.INFO: Processing buffer {"connection_id":129360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:18:04] local.INFO: IMEI packet received {"connection_id":129360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":129360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:18:09] local.INFO: TCP Data received {"connection_id":129360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:18:09] local.INFO: Processing buffer {"connection_id":129360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:18:09] local.INFO: IMEI packet received {"connection_id":129360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":129360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:18:10] local.INFO: TCP Data received {"connection_id":129360,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:18:10] local.INFO: Processing buffer {"connection_id":129360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:18:10] local.INFO: Packet analysis {"connection_id":129360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:18:10] local.INFO: Extracted packet for processing {"connection_id":129360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:18: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-07-11 13:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:18: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-07-11 13:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:18:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":129360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:18:10] local.INFO: GPS data processed {"connection_id":129360,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:18:10] local.INFO: Acknowledgment sent {"connection_id":129360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:18:10] local.INFO: TCP Data received {"connection_id":128458,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:18:10] local.INFO: Processing buffer {"connection_id":128458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:18:10] local.INFO: IMEI packet received {"connection_id":128458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":128458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:18:35] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:18:35] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:18:35] local.INFO: IMEI packet received {"connection_id":128643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":128643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:18:37] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:18:37] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:18:37] local.INFO: IMEI packet received {"connection_id":128643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":128643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:18:40] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:18:40] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:18:40] local.INFO: IMEI packet received {"connection_id":128643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":128643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:18:40] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5024cd68012d198500072397f8003b00fd22..."} 
[2026-07-11 13:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5024cd68012d198500072397f8003b00fd22..."} 
[2026-07-11 13:18:40] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5024cd68012d198500072397f8003b00fd22..."} 
[2026-07-11 13:18:40] local.INFO: Packet analysis {"connection_id":128643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5024"} 
[2026-07-11 13:18:40] local.INFO: Extracted packet for processing {"connection_id":128643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5024"} 
[2026-07-11 13:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119773176,"longitude_deg":75.6647168,"latitude_deg":11.9773176,"altitude":59,"angle":253,"satellites":34,"speed":31,"hex_longitude":"2d198500","hex_latitude":"072397f8","is_valid_coordinates":true} 
[2026-07-11 13:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641538304001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5664460568002560,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845701821698150400,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783756017000,"timestamp_ms":1783756017000,"timestamp_seconds":1783756017,"priority":1,"record_length":96,"hex_timestamp":"0000019f5024cd68"} 
[2026-07-11 13:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 13:18:40] 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-07-11 13:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:18:40] 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-07-11 13:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641538304001,"66":14004,"186":206,"83":42752,"24":31,"16":5664460568002560,"45":1845701821698150400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-11 13:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641538304001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:18:40] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-11 13:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5664460568002560,"km_value":5664460568002.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845701821698150400,"description":"Unknown IO ID 45"} 
[2026-07-11 13:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641538304001,"power":14004,"unknown_186":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1845701821698150400}} 
[2026-07-11 13:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":128643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:18:40] local.INFO: GPS data processed {"connection_id":128643,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:18:40] local.INFO: Acknowledgment sent {"connection_id":128643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:18:41] local.INFO: TCP Data received {"connection_id":129360,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:18:41] local.INFO: Processing buffer {"connection_id":129360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:18:41] local.INFO: Packet analysis {"connection_id":129360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:18:41] local.INFO: Extracted packet for processing {"connection_id":129360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13: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-07-11 13: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":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:18: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-07-11 13:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:18:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":129360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:18:41] local.INFO: GPS data processed {"connection_id":129360,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:18:41] local.INFO: Acknowledgment sent {"connection_id":129360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:18:44] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5024dd08012d1979c007239340003c00f123..."} 
[2026-07-11 13:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5024dd08012d1979c007239340003c00f123..."} 
[2026-07-11 13:18:44] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5024dd08012d1979c007239340003c00f123..."} 
[2026-07-11 13:18:44] local.INFO: Packet analysis {"connection_id":128643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5024"} 
[2026-07-11 13:18:44] local.INFO: Extracted packet for processing {"connection_id":128643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5024"} 
[2026-07-11 13:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756644288,"raw_latitude":119771968,"longitude_deg":75.6644288,"latitude_deg":11.9771968,"altitude":60,"angle":241,"satellites":35,"speed":30,"hex_longitude":"2d1979c0","hex_latitude":"07239340","is_valid_coordinates":true} 
[2026-07-11 13:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641540352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5664610891857920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053512648704,"note":"Value kept but may cause issues"} 
[2026-07-11 13:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783756021000,"timestamp_ms":1783756021000,"timestamp_seconds":1783756021,"priority":1,"record_length":96,"hex_timestamp":"0000019f5024dd08"} 
[2026-07-11 13:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 13:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:18:44] 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-07-11 13:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641540352001,"66":14070,"186":206,"83":42752,"24":30,"16":5664610891857920,"45":1838876053512648704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-11 13:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641540352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:18:44] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-11 13:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5664610891857920,"km_value":5664610891857.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053512648704,"description":"Unknown IO ID 45"} 
[2026-07-11 13:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641540352001,"power":14070,"unknown_186":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1838876053512648704}} 
[2026-07-11 13:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":128643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:18:44] local.INFO: GPS data processed {"connection_id":128643,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:18:44] local.INFO: Acknowledgment sent {"connection_id":128643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:18:45] local.INFO: TCP Data received {"connection_id":130588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:18:45] local.INFO: Processing buffer {"connection_id":130588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:18:45] local.INFO: IMEI packet received {"connection_id":130588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":130588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:19:04] local.INFO: TCP Data received {"connection_id":129361,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:19:04] local.INFO: Processing buffer {"connection_id":129361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:19:04] local.INFO: IMEI packet received {"connection_id":129361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":129361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:19:09] local.INFO: TCP Data received {"connection_id":129361,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:19:09] local.INFO: Processing buffer {"connection_id":129361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:19:09] local.INFO: IMEI packet received {"connection_id":129361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":129361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:19:09] local.INFO: TCP Data received {"connection_id":129362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:19:09] local.INFO: Processing buffer {"connection_id":129362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:19:09] local.INFO: IMEI packet received {"connection_id":129362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":129362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:19:10] local.INFO: TCP Data received {"connection_id":129361,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:19:10] local.INFO: Processing buffer {"connection_id":129361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:19:10] local.INFO: Packet analysis {"connection_id":129361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:19:10] local.INFO: Extracted packet for processing {"connection_id":129361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:19: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-07-11 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:19: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-07-11 13:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:19:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":129361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:19:10] local.INFO: GPS data processed {"connection_id":129361,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:19:10] local.INFO: Acknowledgment sent {"connection_id":129361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:19:14] local.INFO: TCP Data received {"connection_id":129362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:19:14] local.INFO: Processing buffer {"connection_id":129362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:19:14] local.INFO: IMEI packet received {"connection_id":129362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":129362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:19:14] local.INFO: TCP Data received {"connection_id":129362,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5025f648012d18e3c00722f980005c012622..."} 
[2026-07-11 13:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5025f648012d18e3c00722f980005c012622..."} 
[2026-07-11 13:19:14] local.INFO: Processing buffer {"connection_id":129362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5025f648012d18e3c00722f980005c012622..."} 
[2026-07-11 13:19:14] local.INFO: Packet analysis {"connection_id":129362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5025"} 
[2026-07-11 13:19:14] local.INFO: Extracted packet for processing {"connection_id":129362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5025"} 
[2026-07-11 13:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756605888,"raw_latitude":119732608,"longitude_deg":75.6605888,"latitude_deg":11.9732608,"altitude":92,"angle":294,"satellites":34,"speed":37,"hex_longitude":"2d18e3c0","hex_latitude":"0722f980","is_valid_coordinates":true} 
[2026-07-11 13:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641559296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5667372555829248,"note":"Value kept but may cause issues"} 
[2026-07-11 13:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795458538344486912,"note":"Value kept but may cause issues"} 
[2026-07-11 13:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783756093000,"timestamp_ms":1783756093000,"timestamp_seconds":1783756093,"priority":1,"record_length":96,"hex_timestamp":"0000019f5025f648"} 
[2026-07-11 13:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 13:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:19:14] 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-07-11 13:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641559296001,"66":14407,"137":206,"83":42752,"24":37,"16":5667372555829248,"45":1795458538344486912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-11 13:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641559296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:19:14] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-11 13:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 13:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5667372555829248,"km_value":5667372555829.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795458538344486912,"description":"Unknown IO ID 45"} 
[2026-07-11 13:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641559296001,"power":14407,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1795458538344486912}} 
[2026-07-11 13:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":129362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:19:14] local.INFO: GPS data processed {"connection_id":129362,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:19:14] local.INFO: Acknowledgment sent {"connection_id":129362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:19:41] local.INFO: TCP Data received {"connection_id":129361,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:19:41] local.INFO: Processing buffer {"connection_id":129361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:19:41] local.INFO: Packet analysis {"connection_id":129361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:19:41] local.INFO: Extracted packet for processing {"connection_id":129361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:19:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:19: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-07-11 13: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":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:19: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-07-11 13:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:19:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":129361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:19:41] local.INFO: GPS data processed {"connection_id":129361,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:19:41] local.INFO: Acknowledgment sent {"connection_id":129361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:19:59] local.INFO: TCP Data received {"connection_id":130590,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:19:59] local.INFO: Processing buffer {"connection_id":130590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:19:59] local.INFO: IMEI packet received {"connection_id":130590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":130590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:20:02] local.INFO: TCP Data received {"connection_id":130590,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:20:02] local.INFO: Processing buffer {"connection_id":130590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:20:02] local.INFO: IMEI packet received {"connection_id":130590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":130590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:20:04] local.INFO: TCP Data received {"connection_id":129363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:20:04] local.INFO: Processing buffer {"connection_id":129363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:20:04] local.INFO: IMEI packet received {"connection_id":129363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":129363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:20:05] local.INFO: TCP Data received {"connection_id":130590,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:20:05] local.INFO: Processing buffer {"connection_id":130590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:20:05] local.INFO: IMEI packet received {"connection_id":130590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":130590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:20:06] local.INFO: TCP Data received {"connection_id":130590,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5026b5b0012d18a94007229350006c00b627..."} 
[2026-07-11 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5026b5b0012d18a94007229350006c00b627..."} 
[2026-07-11 13:20:06] local.INFO: Processing buffer {"connection_id":130590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5026b5b0012d18a94007229350006c00b627..."} 
[2026-07-11 13:20:06] local.INFO: Packet analysis {"connection_id":130590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5026"} 
[2026-07-11 13:20:06] local.INFO: Extracted packet for processing {"connection_id":130590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5026"} 
[2026-07-11 13:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119706448,"longitude_deg":75.6590912,"latitude_deg":11.9706448,"altitude":108,"angle":182,"satellites":39,"speed":30,"hex_longitude":"2d18a940","hex_latitude":"07229350","is_valid_coordinates":true} 
[2026-07-11 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641569280001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5669300996145152,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446249574400,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783756142000,"timestamp_ms":1783756142000,"timestamp_seconds":1783756142,"priority":1,"record_length":96,"hex_timestamp":"0000019f5026b5b0"} 
[2026-07-11 13:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 13:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641569280001,"66":14004,"105":206,"83":41984,"24":30,"16":5669300996145152,"45":1775403446249574400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 13:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641569280001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:20:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 13:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5669300996145152,"km_value":5669300996145.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446249574400,"description":"Unknown IO ID 45"} 
[2026-07-11 13:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641569280001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1775403446249574400}} 
[2026-07-11 13:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":130590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:20:06] local.INFO: GPS data processed {"connection_id":130590,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:20:06] local.INFO: Acknowledgment sent {"connection_id":130590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:20:09] local.INFO: TCP Data received {"connection_id":129363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:20:09] local.INFO: Processing buffer {"connection_id":129363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:20:09] local.INFO: IMEI packet received {"connection_id":129363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":129363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:20:10] local.INFO: TCP Data received {"connection_id":129363,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:20:10] local.INFO: Processing buffer {"connection_id":129363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:20:10] local.INFO: Packet analysis {"connection_id":129363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:20:10] local.INFO: Extracted packet for processing {"connection_id":129363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:20: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-07-11 13:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:20: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-07-11 13:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:20:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":129363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:20:10] local.INFO: GPS data processed {"connection_id":129363,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:20:10] local.INFO: Acknowledgment sent {"connection_id":129363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:20:37] local.INFO: TCP Data received {"connection_id":130590,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5026b5b0012d18a94007229350006c00b627..."} 
[2026-07-11 13:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5026b5b0012d18a94007229350006c00b627..."} 
[2026-07-11 13:20:37] local.INFO: Processing buffer {"connection_id":130590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5026b5b0012d18a94007229350006c00b627..."} 
[2026-07-11 13:20:37] local.INFO: Packet analysis {"connection_id":130590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5026"} 
[2026-07-11 13:20:37] local.INFO: Extracted packet for processing {"connection_id":130590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5026"} 
[2026-07-11 13:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119706448,"longitude_deg":75.6590912,"latitude_deg":11.9706448,"altitude":108,"angle":182,"satellites":39,"speed":30,"hex_longitude":"2d18a940","hex_latitude":"07229350","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641572352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5669300996145152,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927363399680,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783756142000,"timestamp_ms":1783756142000,"timestamp_seconds":1783756142,"priority":1,"record_length":96,"hex_timestamp":"0000019f5026b5b0"} 
[2026-07-11 13:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 13:20:37] 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-07-11 13: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-07-11 13:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:20:37] 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-07-11 13:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641572352001,"66":14004,"105":206,"83":41984,"24":30,"16":5669300996145152,"45":1777021927363399680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 13:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641572352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:20:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 13:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5669300996145152,"km_value":5669300996145.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927363399680,"description":"Unknown IO ID 45"} 
[2026-07-11 13:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641572352001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777021927363399680}} 
[2026-07-11 13:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":130590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:20:37] local.INFO: GPS data processed {"connection_id":130590,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:20:37] local.INFO: Acknowledgment sent {"connection_id":130590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:20:41] local.INFO: TCP Data received {"connection_id":129363,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:20:41] local.INFO: Processing buffer {"connection_id":129363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50235280012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:20:41] local.INFO: Packet analysis {"connection_id":129363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:20:41] local.INFO: Extracted packet for processing {"connection_id":129363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5023"} 
[2026-07-11 13:20:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641438464001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783755920000,"timestamp_ms":1783755920000,"timestamp_seconds":1783755920,"priority":1,"record_length":96,"hex_timestamp":"0000019f50235280"} 
[2026-07-11 13:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:20: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-07-11 13:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:20: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-07-11 13:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641438464001,"66":25549,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641438464001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:20:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641438464001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":129363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:20:41] local.INFO: GPS data processed {"connection_id":129363,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:20:41] local.INFO: Acknowledgment sent {"connection_id":129363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:21:05] local.INFO: TCP Data received {"connection_id":130591,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:05] local.INFO: Processing buffer {"connection_id":130591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:05] local.INFO: IMEI packet received {"connection_id":130591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":130591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:21:09] local.INFO: TCP Data received {"connection_id":129364,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:21:09] local.INFO: Processing buffer {"connection_id":129364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:21:09] local.INFO: IMEI packet received {"connection_id":129364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":129364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:21:10] local.INFO: TCP Data received {"connection_id":130591,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:10] local.INFO: Processing buffer {"connection_id":130591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:10] local.INFO: IMEI packet received {"connection_id":130591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":130591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:21:10] local.INFO: TCP Data received {"connection_id":130591,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5026d108012d18a5c007227df0006b00c226..."} 
[2026-07-11 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5026d108012d18a5c007227df0006b00c226..."} 
[2026-07-11 13:21:10] local.INFO: Processing buffer {"connection_id":130591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5026d108012d18a5c007227df0006b00c226..."} 
[2026-07-11 13:21:10] local.INFO: Packet analysis {"connection_id":130591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5026"} 
[2026-07-11 13:21:10] local.INFO: Extracted packet for processing {"connection_id":130591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5026"} 
[2026-07-11 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756590016,"raw_latitude":119700976,"longitude_deg":75.6590016,"latitude_deg":11.9700976,"altitude":107,"angle":194,"satellites":38,"speed":33,"hex_longitude":"2d18a5c0","hex_latitude":"07227df0","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641572352001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5669571579084800,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927363399680,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756149000,"timestamp_ms":1783756149000,"timestamp_seconds":1783756149,"priority":1,"record_length":96,"hex_timestamp":"0000019f5026d108"} 
[2026-07-11 13:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 13:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:21:10] 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-07-11 13:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641572352001,"66":14070,"105":206,"83":41984,"24":33,"16":5669571579084800,"45":1777021927363399680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 13:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641572352001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:21:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 13:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5669571579084800,"km_value":5669571579084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927363399680,"description":"Unknown IO ID 45"} 
[2026-07-11 13:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641572352001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1777021927363399680}} 
[2026-07-11 13:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":130591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:21:11] local.INFO: GPS data processed {"connection_id":130591,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:21:11] local.INFO: Acknowledgment sent {"connection_id":130591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:21:12] local.INFO: TCP Data received {"connection_id":130591,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5026ec60012d189c4007226730006600d127..."} 
[2026-07-11 13:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5026ec60012d189c4007226730006600d127..."} 
[2026-07-11 13:21:12] local.INFO: Processing buffer {"connection_id":130591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5026ec60012d189c4007226730006600d127..."} 
[2026-07-11 13:21:12] local.INFO: Packet analysis {"connection_id":130591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5026"} 
[2026-07-11 13:21:12] local.INFO: Extracted packet for processing {"connection_id":130591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5026"} 
[2026-07-11 13:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756587584,"raw_latitude":119695152,"longitude_deg":75.6587584,"latitude_deg":11.9695152,"altitude":102,"angle":209,"satellites":39,"speed":40,"hex_longitude":"2d189c40","hex_latitude":"07226730","is_valid_coordinates":true} 
[2026-07-11 13:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641574144001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5669876521762816,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764943511552,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783756156000,"timestamp_ms":1783756156000,"timestamp_seconds":1783756156,"priority":1,"record_length":96,"hex_timestamp":"0000019f5026ec60"} 
[2026-07-11 13:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 13:21:12] 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-07-11 13:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:21:12] 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-07-11 13:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641574144001,"66":14080,"105":206,"83":41984,"24":40,"16":5669876521762816,"45":1776036764943511552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 13:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641574144001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:21:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 13:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5669876521762816,"km_value":5669876521762.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764943511552,"description":"Unknown IO ID 45"} 
[2026-07-11 13:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641574144001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1776036764943511552}} 
[2026-07-11 13:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":130591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:21:12] local.INFO: GPS data processed {"connection_id":130591,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:21:12] local.INFO: Acknowledgment sent {"connection_id":130591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:21:14] local.INFO: TCP Data received {"connection_id":129364,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:21:14] local.INFO: Processing buffer {"connection_id":129364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:21:14] local.INFO: IMEI packet received {"connection_id":129364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":129364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:21:15] local.INFO: TCP Data received {"connection_id":129364,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:21:15] local.INFO: Processing buffer {"connection_id":129364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:21:15] local.INFO: Packet analysis {"connection_id":129364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:21:15] local.INFO: Extracted packet for processing {"connection_id":129364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:21:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:21:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:21:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":129364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:21:15] local.INFO: GPS data processed {"connection_id":129364,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:21:15] local.INFO: Acknowledgment sent {"connection_id":129364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:21:19] local.INFO: TCP Data received {"connection_id":129364,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:21:19] local.INFO: Processing buffer {"connection_id":129364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:21:19] local.INFO: Packet analysis {"connection_id":129364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:21:19] local.INFO: Extracted packet for processing {"connection_id":129364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:21:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:21:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:21:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":129364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:21:19] local.INFO: GPS data processed {"connection_id":129364,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:21:19] local.INFO: Acknowledgment sent {"connection_id":129364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:21:43] local.INFO: TCP Data received {"connection_id":130591,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50270ba0012d18894007224968005d00d528..."} 
[2026-07-11 13:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50270ba0012d18894007224968005d00d528..."} 
[2026-07-11 13:21:43] local.INFO: Processing buffer {"connection_id":130591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50270ba0012d18894007224968005d00d528..."} 
[2026-07-11 13:21:43] local.INFO: Packet analysis {"connection_id":130591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:21:43] local.INFO: Extracted packet for processing {"connection_id":130591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756582720,"raw_latitude":119687528,"longitude_deg":75.658272,"latitude_deg":11.9687528,"altitude":93,"angle":213,"satellites":40,"speed":45,"hex_longitude":"2d188940","hex_latitude":"07224968","is_valid_coordinates":true} 
[2026-07-11 13:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641575936001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5670310313459712,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773362752663269376,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783756164000,"timestamp_ms":1783756164000,"timestamp_seconds":1783756164,"priority":1,"record_length":96,"hex_timestamp":"0000019f50270ba0"} 
[2026-07-11 13:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 13:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:43] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3050307688,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-11 13:21:43] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2147951296,"note":"Value kept but may cause issues"} 
[2026-07-11 13:21:43] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,36,159,209,45,192,125,107,38,10,66,181,64,147,108,39,1,240,180,227,80,34,4,113,205,27,119,162,40,239,54,2,20,7,103,30],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-11 13:21:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7350104557305200640,"timestamp_seconds":7350104557305201.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:21:43] 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-07-11 13:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641575936001,"66":14070,"105":206,"83":41984,"24":45,"16":5670310313459712,"45":1773362752663269376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 13:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641575936001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:21:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 13:21:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5670310313459712,"km_value":5670310313459.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773362752663269376,"description":"Unknown IO ID 45"} 
[2026-07-11 13:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641575936001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1773362752663269376}} 
[2026-07-11 13:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":130591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:21:43] local.INFO: GPS data processed {"connection_id":130591,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:21:43] local.INFO: Acknowledgment sent {"connection_id":130591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:21:58] local.INFO: TCP Data received {"connection_id":130592,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:58] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:58] local.INFO: IMEI packet received {"connection_id":130592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":130592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:21:59] local.INFO: TCP Data received {"connection_id":130592,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:59] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:21:59] local.INFO: IMEI packet received {"connection_id":130592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":130592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:22:03] local.INFO: TCP Data received {"connection_id":130592,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:22:03] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:22:03] local.INFO: IMEI packet received {"connection_id":130592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":130592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:22:04] local.INFO: TCP Data received {"connection_id":130592,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50286f18012d18318007219898004d007325..."} 
[2026-07-11 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50286f18012d18318007219898004d007325..."} 
[2026-07-11 13:22:04] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50286f18012d18318007219898004d007325..."} 
[2026-07-11 13:22:04] local.INFO: Packet analysis {"connection_id":130592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5028"} 
[2026-07-11 13:22:04] local.INFO: Extracted packet for processing {"connection_id":130592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5028"} 
[2026-07-11 13:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119642264,"longitude_deg":75.6560256,"latitude_deg":11.9642264,"altitude":77,"angle":115,"satellites":37,"speed":15,"hex_longitude":"2d183180","hex_latitude":"07219898","is_valid_coordinates":true} 
[2026-07-11 13:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641601280001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5673007552921600,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743315298885867520,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22: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-07-11 13:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783756255000,"timestamp_ms":1783756255000,"timestamp_seconds":1783756255,"priority":1,"record_length":96,"hex_timestamp":"0000019f50286f18"} 
[2026-07-11 13:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 13:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:22:04] 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-07-11 13:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641601280001,"66":14407,"105":206,"83":41984,"24":15,"16":5673007552921600,"45":1743315298885867520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 13:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641601280001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:22:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 13:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5673007552921600,"km_value":5673007552921.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743315298885867520,"description":"Unknown IO ID 45"} 
[2026-07-11 13:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641601280001,"power":14407,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1743315298885867520}} 
[2026-07-11 13:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":130592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:22:04] local.INFO: GPS data processed {"connection_id":130592,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:22:04] local.INFO: Acknowledgment sent {"connection_id":130592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:22:04] local.INFO: TCP Data received {"connection_id":128461,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:22:04] local.INFO: Processing buffer {"connection_id":128461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:22:04] local.INFO: IMEI packet received {"connection_id":128461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":128461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:22:05] local.INFO: TCP Data received {"connection_id":130592,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5028a9b0012d185400072189d8004f007424..."} 
[2026-07-11 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5028a9b0012d185400072189d8004f007424..."} 
[2026-07-11 13:22:05] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5028a9b0012d185400072189d8004f007424..."} 
[2026-07-11 13:22:05] local.INFO: Packet analysis {"connection_id":130592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5028"} 
[2026-07-11 13:22:05] local.INFO: Extracted packet for processing {"connection_id":130592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5028"} 
[2026-07-11 13:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756569088,"raw_latitude":119638488,"longitude_deg":75.6569088,"latitude_deg":11.9638488,"altitude":79,"angle":116,"satellites":36,"speed":30,"hex_longitude":"2d185400","hex_latitude":"072189d8","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641601280001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5673462819454976,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743315298885867520,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:05] 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-07-11 13:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783756270000,"timestamp_ms":1783756270000,"timestamp_seconds":1783756270,"priority":1,"record_length":96,"hex_timestamp":"0000019f5028a9b0"} 
[2026-07-11 13:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 13:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:22:05] 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-07-11 13:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641601280001,"66":14374,"106":206,"83":41984,"24":30,"16":5673462819454976,"45":1743315298885867520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 13:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641601280001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:22:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 13:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5673462819454976,"km_value":5673462819454.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743315298885867520,"description":"Unknown IO ID 45"} 
[2026-07-11 13:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641601280001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1743315298885867520}} 
[2026-07-11 13:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":130592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:22:05] local.INFO: GPS data processed {"connection_id":130592,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:22:05] local.INFO: Acknowledgment sent {"connection_id":130592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:22:09] local.INFO: TCP Data received {"connection_id":128461,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:22:09] local.INFO: Processing buffer {"connection_id":128461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:22:09] local.INFO: IMEI packet received {"connection_id":128461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:22:10] local.INFO: TCP Data received {"connection_id":128461,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:22:10] local.INFO: Processing buffer {"connection_id":128461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:22:10] local.INFO: Packet analysis {"connection_id":128461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:22:10] local.INFO: Extracted packet for processing {"connection_id":128461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:22: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-07-11 13:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:22: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-07-11 13:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:22:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:22:10] local.INFO: GPS data processed {"connection_id":128461,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:22:10] local.INFO: Acknowledgment sent {"connection_id":128461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:22:41] local.INFO: TCP Data received {"connection_id":130592,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5028c120012d1865c0072182c8004f006421..."} 
[2026-07-11 13:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5028c120012d1865c0072182c8004f006421..."} 
[2026-07-11 13:22:41] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5028c120012d1865c0072182c8004f006421..."} 
[2026-07-11 13:22:41] local.INFO: Packet analysis {"connection_id":130592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5028"} 
[2026-07-11 13:22:41] local.INFO: Extracted packet for processing {"connection_id":130592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5028"} 
[2026-07-11 13:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756573632,"raw_latitude":119636680,"longitude_deg":75.6573632,"latitude_deg":11.963668,"altitude":79,"angle":100,"satellites":33,"speed":31,"hex_longitude":"2d1865c0","hex_latitude":"072182c8","is_valid_coordinates":true} 
[2026-07-11 13:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641605120001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5673699042656256,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753026185581418496,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756276000,"timestamp_ms":1783756276000,"timestamp_seconds":1783756276,"priority":1,"record_length":96,"hex_timestamp":"0000019f5028c120"} 
[2026-07-11 13:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 13:22:41] 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-07-11 13:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:22:41] 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-07-11 13:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641605120001,"66":14004,"106":206,"83":41984,"24":31,"16":5673699042656256,"45":1753026185581418496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 13:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641605120001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:22:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 13:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5673699042656256,"km_value":5673699042656.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753026185581418496,"description":"Unknown IO ID 45"} 
[2026-07-11 13:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641605120001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1753026185581418496}} 
[2026-07-11 13:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":130592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:22:41] local.INFO: GPS data processed {"connection_id":130592,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:22:41] local.INFO: Acknowledgment sent {"connection_id":130592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:22:41] local.INFO: TCP Data received {"connection_id":128461,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:22:41] local.INFO: Processing buffer {"connection_id":128461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:22:41] local.INFO: Packet analysis {"connection_id":128461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:22:41] local.INFO: Extracted packet for processing {"connection_id":128461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13: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-07-11 13: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":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:22: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-07-11 13:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:22:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":128461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:22:41] local.INFO: GPS data processed {"connection_id":128461,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:22:41] local.INFO: Acknowledgment sent {"connection_id":128461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:22:58] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:22:58] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:22:58] local.INFO: IMEI packet received {"connection_id":130594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":130594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:23:00] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:23:00] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:23:00] local.INFO: IMEI packet received {"connection_id":130594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":130594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:23:00] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:23:00] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:23:00] local.INFO: IMEI packet received {"connection_id":130594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":130594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:23:04] local.INFO: TCP Data received {"connection_id":128644,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:23:04] local.INFO: Processing buffer {"connection_id":128644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:23:04] local.INFO: IMEI packet received {"connection_id":128644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":128644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:23:05] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:23:05] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:23:05] local.INFO: IMEI packet received {"connection_id":130594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":130594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:23:06] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50299028012d18d2c007212428003f00ae1e..."} 
[2026-07-11 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50299028012d18d2c007212428003f00ae1e..."} 
[2026-07-11 13:23:06] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50299028012d18d2c007212428003f00ae1e..."} 
[2026-07-11 13:23:06] local.INFO: Packet analysis {"connection_id":130594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5029"} 
[2026-07-11 13:23:06] local.INFO: Extracted packet for processing {"connection_id":130594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5029"} 
[2026-07-11 13:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119612456,"longitude_deg":75.6601536,"latitude_deg":11.9612456,"altitude":63,"angle":174,"satellites":30,"speed":32,"hex_longitude":"2d18d2c0","hex_latitude":"07212428","is_valid_coordinates":true} 
[2026-07-11 13:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641618432001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5675691907481600,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757851189248,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783756329000,"timestamp_ms":1783756329000,"timestamp_seconds":1783756329,"priority":1,"record_length":96,"hex_timestamp":"0000019f50299028"} 
[2026-07-11 13:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-11 13:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641618432001,"66":13993,"103":206,"83":41984,"24":32,"16":5675691907481600,"45":1785958757851189248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 13:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641618432001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:23:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 13:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5675691907481600,"km_value":5675691907481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757851189248,"description":"Unknown IO ID 45"} 
[2026-07-11 13:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641618432001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1785958757851189248}} 
[2026-07-11 13:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":130594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:23:06] local.INFO: GPS data processed {"connection_id":130594,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:23:06] local.INFO: Acknowledgment sent {"connection_id":130594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:23:09] local.INFO: TCP Data received {"connection_id":128644,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:23:09] local.INFO: Processing buffer {"connection_id":128644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:23:09] local.INFO: IMEI packet received {"connection_id":128644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":128644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:23:10] local.INFO: TCP Data received {"connection_id":128644,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:23:10] local.INFO: Processing buffer {"connection_id":128644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:23:10] local.INFO: Packet analysis {"connection_id":128644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:23:10] local.INFO: Extracted packet for processing {"connection_id":128644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:23: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-07-11 13:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:23: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-07-11 13:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:23:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":128644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:23:10] local.INFO: GPS data processed {"connection_id":128644,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:23:10] local.INFO: Acknowledgment sent {"connection_id":128644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:23:37] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5029b350012d18d640072104f0003a00a220..."} 
[2026-07-11 13:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5029b350012d18d640072104f0003a00a220..."} 
[2026-07-11 13:23:37] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5029b350012d18d640072104f0003a00a220..."} 
[2026-07-11 13:23:37] local.INFO: Packet analysis {"connection_id":130594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5029"} 
[2026-07-11 13:23:37] local.INFO: Extracted packet for processing {"connection_id":130594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5029"} 
[2026-07-11 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119604464,"longitude_deg":75.6602432,"latitude_deg":11.9604464,"altitude":58,"angle":162,"satellites":32,"speed":36,"hex_longitude":"2d18d640","hex_latitude":"072104f0","is_valid_coordinates":true} 
[2026-07-11 13:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641620224001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5676087044472832,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872829952,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783756338000,"timestamp_ms":1783756338000,"timestamp_seconds":1783756338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5029b350"} 
[2026-07-11 13:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 13:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:23:37] 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-07-11 13:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641620224001,"66":14048,"103":206,"83":41984,"24":36,"16":5676087044472832,"45":1788703138872829952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 13:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641620224001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:23:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 13:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5676087044472832,"km_value":5676087044472.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872829952,"description":"Unknown IO ID 45"} 
[2026-07-11 13:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641620224001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1788703138872829952}} 
[2026-07-11 13:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":130594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:23:37] local.INFO: GPS data processed {"connection_id":130594,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:23:37] local.INFO: Acknowledgment sent {"connection_id":130594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:23:41] local.INFO: TCP Data received {"connection_id":128644,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:23:41] local.INFO: Processing buffer {"connection_id":128644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:23:41] local.INFO: Packet analysis {"connection_id":128644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:23:41] local.INFO: Extracted packet for processing {"connection_id":128644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:23:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:23: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-07-11 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:23: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-07-11 13:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:23:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":128644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:23:41] local.INFO: GPS data processed {"connection_id":128644,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:23:41] local.INFO: Acknowledgment sent {"connection_id":128644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:24:00] local.INFO: TCP Data received {"connection_id":128462,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:24:00] local.INFO: Processing buffer {"connection_id":128462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:24:00] local.INFO: IMEI packet received {"connection_id":128462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":128462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:24:04] local.INFO: TCP Data received {"connection_id":129366,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:24:04] local.INFO: Processing buffer {"connection_id":129366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:24:04] local.INFO: IMEI packet received {"connection_id":129366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":129366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:24:05] local.INFO: TCP Data received {"connection_id":128462,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:24:05] local.INFO: Processing buffer {"connection_id":128462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:24:05] local.INFO: IMEI packet received {"connection_id":128462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":128462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:24:06] local.INFO: TCP Data received {"connection_id":128462,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5029bb20012d18d8c00720fe500039009621..."} 
[2026-07-11 13:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5029bb20012d18d8c00720fe500039009621..."} 
[2026-07-11 13:24:06] local.INFO: Processing buffer {"connection_id":128462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5029bb20012d18d8c00720fe500039009621..."} 
[2026-07-11 13:24:06] local.INFO: Packet analysis {"connection_id":128462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5029"} 
[2026-07-11 13:24:06] local.INFO: Extracted packet for processing {"connection_id":128462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5029"} 
[2026-07-11 13:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119602768,"longitude_deg":75.6603072,"latitude_deg":11.9602768,"altitude":57,"angle":150,"satellites":33,"speed":36,"hex_longitude":"2d18d8c0","hex_latitude":"0720fe50","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641622528001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5676172943818752,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301289271296,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783756340000,"timestamp_ms":1783756340000,"timestamp_seconds":1783756340,"priority":1,"record_length":96,"hex_timestamp":"0000019f5029bb20"} 
[2026-07-11 13:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 13:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641622528001,"66":13820,"103":206,"83":41984,"24":36,"16":5676172943818752,"45":1789688301289271296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 13:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641622528001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:24:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 13:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5676172943818752,"km_value":5676172943818.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301289271296,"description":"Unknown IO ID 45"} 
[2026-07-11 13:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641622528001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1789688301289271296}} 
[2026-07-11 13:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":128462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:24:06] local.INFO: GPS data processed {"connection_id":128462,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:24:06] local.INFO: Acknowledgment sent {"connection_id":128462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:24:08] local.INFO: TCP Data received {"connection_id":129365,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:24:08] local.INFO: Processing buffer {"connection_id":129365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:24:08] local.INFO: IMEI packet received {"connection_id":129365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":129365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:24:09] local.INFO: TCP Data received {"connection_id":129366,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:24:09] local.INFO: Processing buffer {"connection_id":129366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:24:09] local.INFO: IMEI packet received {"connection_id":129366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":129366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:24:10] local.INFO: TCP Data received {"connection_id":129366,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:24:10] local.INFO: Processing buffer {"connection_id":129366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:24:10] local.INFO: Packet analysis {"connection_id":129366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:24:10] local.INFO: Extracted packet for processing {"connection_id":129366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:24: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-07-11 13: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-07-11 13: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-07-11 13:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:24:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":129366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:24:10] local.INFO: GPS data processed {"connection_id":129366,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:24:10] local.INFO: Acknowledgment sent {"connection_id":129366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:24:36] local.INFO: TCP Data received {"connection_id":128462,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f502aefb8012d196c000720ad500026004d22..."} 
[2026-07-11 13:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502aefb8012d196c000720ad500026004d22..."} 
[2026-07-11 13:24:36] local.INFO: Processing buffer {"connection_id":128462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502aefb8012d196c000720ad500026004d22..."} 
[2026-07-11 13:24:36] local.INFO: Packet analysis {"connection_id":128462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502a"} 
[2026-07-11 13:24:36] local.INFO: Extracted packet for processing {"connection_id":128462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502a"} 
[2026-07-11 13:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119582032,"longitude_deg":75.6640768,"latitude_deg":11.9582032,"altitude":38,"angle":77,"satellites":34,"speed":30,"hex_longitude":"2d196c00","hex_latitude":"0720ad50","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641641216001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5678397736878080,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825365254581534720,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783756419000,"timestamp_ms":1783756419000,"timestamp_seconds":1783756419,"priority":1,"record_length":96,"hex_timestamp":"0000019f502aefb8"} 
[2026-07-11 13:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 13:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:24:36] 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-07-11 13:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641641216001,"66":14428,"103":206,"83":41984,"24":30,"16":5678397736878080,"45":1825365254581534720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 13:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641641216001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:24:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 13:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5678397736878080,"km_value":5678397736878.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825365254581534720,"description":"Unknown IO ID 45"} 
[2026-07-11 13:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641641216001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1825365254581534720}} 
[2026-07-11 13:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":128462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:24:36] local.INFO: GPS data processed {"connection_id":128462,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:24:36] local.INFO: Acknowledgment sent {"connection_id":128462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:24:41] local.INFO: TCP Data received {"connection_id":129366,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:24:41] local.INFO: Processing buffer {"connection_id":129366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:24:41] local.INFO: Packet analysis {"connection_id":129366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:24:41] local.INFO: Extracted packet for processing {"connection_id":129366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:24: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-07-11 13:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:24: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-07-11 13:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:24:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":129366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:24:41] local.INFO: GPS data processed {"connection_id":129366,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:24:41] local.INFO: Acknowledgment sent {"connection_id":129366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:24:45] local.INFO: TCP Data received {"connection_id":128463,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:24:45] local.INFO: Processing buffer {"connection_id":128463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:24:45] local.INFO: IMEI packet received {"connection_id":128463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":128463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:24:58] local.INFO: TCP Data received {"connection_id":130595,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:24:58] local.INFO: Processing buffer {"connection_id":130595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:24:58] local.INFO: IMEI packet received {"connection_id":130595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":130595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:25:01] local.INFO: TCP Data received {"connection_id":130595,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:01] local.INFO: Processing buffer {"connection_id":130595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:01] local.INFO: IMEI packet received {"connection_id":130595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":130595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:25:04] local.INFO: TCP Data received {"connection_id":128645,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:25:04] local.INFO: Processing buffer {"connection_id":128645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:25:04] local.INFO: IMEI packet received {"connection_id":128645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":128645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:25:05] local.INFO: TCP Data received {"connection_id":130595,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:05] local.INFO: Processing buffer {"connection_id":130595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:05] local.INFO: IMEI packet received {"connection_id":130595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":130595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:25:06] local.INFO: TCP Data received {"connection_id":130595,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f502b8040012d19ae0007209100002900c023..."} 
[2026-07-11 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502b8040012d19ae0007209100002900c023..."} 
[2026-07-11 13:25:06] local.INFO: Processing buffer {"connection_id":130595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502b8040012d19ae0007209100002900c023..."} 
[2026-07-11 13:25:06] local.INFO: Packet analysis {"connection_id":130595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502b"} 
[2026-07-11 13:25:06] local.INFO: Extracted packet for processing {"connection_id":130595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502b"} 
[2026-07-11 13:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574784,"longitude_deg":75.6657664,"latitude_deg":11.9574784,"altitude":41,"angle":192,"satellites":35,"speed":28,"hex_longitude":"2d19ae00","hex_latitude":"07209100","is_valid_coordinates":true} 
[2026-07-11 13:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641652480001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5679746356609024,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739708416,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783756456000,"timestamp_ms":1783756456000,"timestamp_seconds":1783756456,"priority":1,"record_length":96,"hex_timestamp":"0000019f502b8040"} 
[2026-07-11 13:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 13:25:06] 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-07-11 13:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641652480001,"66":14070,"103":206,"83":41984,"24":28,"16":5679746356609024,"45":1850627633739708416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 13:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641652480001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:25:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 13:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5679746356609024,"km_value":5679746356609.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739708416,"description":"Unknown IO ID 45"} 
[2026-07-11 13:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641652480001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1850627633739708416}} 
[2026-07-11 13:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":130595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:25:06] local.INFO: GPS data processed {"connection_id":130595,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:25:06] local.INFO: Acknowledgment sent {"connection_id":130595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:25:09] local.INFO: TCP Data received {"connection_id":128645,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:25:09] local.INFO: Processing buffer {"connection_id":128645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:25:09] local.INFO: IMEI packet received {"connection_id":128645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":128645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:25:10] local.INFO: TCP Data received {"connection_id":128645,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:25:10] local.INFO: Processing buffer {"connection_id":128645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:25:10] local.INFO: Packet analysis {"connection_id":128645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:25:10] local.INFO: Extracted packet for processing {"connection_id":128645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:25: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-07-11 13:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:25: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-07-11 13:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:25:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":128645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:25:10] local.INFO: GPS data processed {"connection_id":128645,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:25:10] local.INFO: Acknowledgment sent {"connection_id":128645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:25:38] local.INFO: TCP Data received {"connection_id":130595,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f502b8428012d19ad8007208e38002900b321..."} 
[2026-07-11 13:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502b8428012d19ad8007208e38002900b321..."} 
[2026-07-11 13:25:38] local.INFO: Processing buffer {"connection_id":130595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502b8428012d19ad8007208e38002900b321..."} 
[2026-07-11 13:25:38] local.INFO: Packet analysis {"connection_id":130595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502b"} 
[2026-07-11 13:25:38] local.INFO: Extracted packet for processing {"connection_id":130595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502b"} 
[2026-07-11 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119574072,"longitude_deg":75.6657536,"latitude_deg":11.9574072,"altitude":41,"angle":179,"satellites":33,"speed":29,"hex_longitude":"2d19ad80","hex_latitude":"07208e38","is_valid_coordinates":true} 
[2026-07-11 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641652736001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5679780716347392,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506997248,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25: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-07-11 13:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783756457000,"timestamp_ms":1783756457000,"timestamp_seconds":1783756457,"priority":1,"record_length":96,"hex_timestamp":"0000019f502b8428"} 
[2026-07-11 13:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:25: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-07-11 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 13:25: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-07-11 13:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:25:38] 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-07-11 13:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641652736001,"66":13417,"103":206,"83":41984,"24":29,"16":5679780716347392,"45":1850416527506997248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-11 13:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641652736001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:25:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 13:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5679780716347392,"km_value":5679780716347.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506997248,"description":"Unknown IO ID 45"} 
[2026-07-11 13:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641652736001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850416527506997248}} 
[2026-07-11 13:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":130595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:25:38] local.INFO: GPS data processed {"connection_id":130595,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:25:38] local.INFO: Acknowledgment sent {"connection_id":130595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:25:41] local.INFO: TCP Data received {"connection_id":128645,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:25:41] local.INFO: Processing buffer {"connection_id":128645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5027ea48012cb29c0007823c60004900b32c..."} 
[2026-07-11 13:25:41] local.INFO: Packet analysis {"connection_id":128645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:25:41] local.INFO: Extracted packet for processing {"connection_id":128645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5027"} 
[2026-07-11 13:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641515520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756221000,"timestamp_ms":1783756221000,"timestamp_seconds":1783756221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5027ea48"} 
[2026-07-11 13:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:25: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-07-11 13: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":205,"data_length":795,"current_offset":136} 
[2026-07-11 13:25: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-07-11 13:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641515520001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641515520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:25:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641515520001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":128645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:25:41] local.INFO: GPS data processed {"connection_id":128645,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:25:41] local.INFO: Acknowledgment sent {"connection_id":128645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:25:59] local.INFO: TCP Data received {"connection_id":129368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:59] local.INFO: Processing buffer {"connection_id":129368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:59] local.INFO: IMEI packet received {"connection_id":129368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":129368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:25:59] local.INFO: TCP Data received {"connection_id":129368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:59] local.INFO: Processing buffer {"connection_id":129368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:25:59] local.INFO: IMEI packet received {"connection_id":129368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":129368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:26:01] local.INFO: TCP Data received {"connection_id":129368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:26:01] local.INFO: Processing buffer {"connection_id":129368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:26:01] local.INFO: IMEI packet received {"connection_id":129368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":129368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:26:03] local.INFO: TCP Data received {"connection_id":129368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:26:03] local.INFO: Processing buffer {"connection_id":129368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:26:03] local.INFO: IMEI packet received {"connection_id":129368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":129368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:26:09] local.INFO: TCP Data received {"connection_id":128646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:26:09] local.INFO: Processing buffer {"connection_id":128646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:26:09] local.INFO: IMEI packet received {"connection_id":128646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":128646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:26:14] local.INFO: TCP Data received {"connection_id":128646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:26:14] local.INFO: Processing buffer {"connection_id":128646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:26:14] local.INFO: IMEI packet received {"connection_id":128646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":128646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:26:15] local.INFO: TCP Data received {"connection_id":128646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:26:15] local.INFO: Processing buffer {"connection_id":128646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:26:15] local.INFO: Packet analysis {"connection_id":128646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:26:15] local.INFO: Extracted packet for processing {"connection_id":128646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:26:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:26:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:26:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":128646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:26:15] local.INFO: GPS data processed {"connection_id":128646,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:26:15] local.INFO: Acknowledgment sent {"connection_id":128646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:26:19] local.INFO: TCP Data received {"connection_id":128646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:26:19] local.INFO: Processing buffer {"connection_id":128646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:26:19] local.INFO: Packet analysis {"connection_id":128646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:26:19] local.INFO: Extracted packet for processing {"connection_id":128646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:26:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:26:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":128646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:26:19] local.INFO: GPS data processed {"connection_id":128646,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:26:19] local.INFO: Acknowledgment sent {"connection_id":128646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:27:04] local.INFO: TCP Data received {"connection_id":128465,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:27:04] local.INFO: Processing buffer {"connection_id":128465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:27:04] local.INFO: IMEI packet received {"connection_id":128465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":128465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:27:09] local.INFO: TCP Data received {"connection_id":128465,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:27:09] local.INFO: Processing buffer {"connection_id":128465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:27:09] local.INFO: IMEI packet received {"connection_id":128465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":128465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:27:10] local.INFO: TCP Data received {"connection_id":128465,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:27:10] local.INFO: Processing buffer {"connection_id":128465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:27:10] local.INFO: Packet analysis {"connection_id":128465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:27:10] local.INFO: Extracted packet for processing {"connection_id":128465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:27: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-07-11 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:27: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-07-11 13:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:27:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":128465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:27:10] local.INFO: GPS data processed {"connection_id":128465,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:27:10] local.INFO: Acknowledgment sent {"connection_id":128465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:27:41] local.INFO: TCP Data received {"connection_id":128465,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:27:41] local.INFO: Processing buffer {"connection_id":128465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:27:41] local.INFO: Packet analysis {"connection_id":128465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:27:41] local.INFO: Extracted packet for processing {"connection_id":128465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13: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-07-11 13: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":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:27: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-07-11 13:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:27:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":128465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:27:41] local.INFO: GPS data processed {"connection_id":128465,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:27:41] local.INFO: Acknowledgment sent {"connection_id":128465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:28:04] local.INFO: TCP Data received {"connection_id":130598,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:28:04] local.INFO: Processing buffer {"connection_id":130598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:28:04] local.INFO: IMEI packet received {"connection_id":130598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":130598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:28:09] local.INFO: TCP Data received {"connection_id":130598,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:28:09] local.INFO: Processing buffer {"connection_id":130598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:28:09] local.INFO: IMEI packet received {"connection_id":130598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":130598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:28:10] local.INFO: TCP Data received {"connection_id":130598,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:28:10] local.INFO: Processing buffer {"connection_id":130598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:28:10] local.INFO: Packet analysis {"connection_id":130598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:28:10] local.INFO: Extracted packet for processing {"connection_id":130598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:28: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-07-11 13: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":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:28: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-07-11 13:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:28:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":130598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:28:10] local.INFO: GPS data processed {"connection_id":130598,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:28:10] local.INFO: Acknowledgment sent {"connection_id":130598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:28:41] local.INFO: TCP Data received {"connection_id":130598,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:28:41] local.INFO: Processing buffer {"connection_id":130598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:28:41] local.INFO: Packet analysis {"connection_id":130598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:28:41] local.INFO: Extracted packet for processing {"connection_id":130598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:28: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-07-11 13:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:28: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-07-11 13:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:28:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":130598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:28:41] local.INFO: GPS data processed {"connection_id":130598,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:28:41] local.INFO: Acknowledgment sent {"connection_id":130598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:29:04] local.INFO: TCP Data received {"connection_id":128467,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:29:04] local.INFO: Processing buffer {"connection_id":128467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:29:04] local.INFO: IMEI packet received {"connection_id":128467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":128467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:29:09] local.INFO: TCP Data received {"connection_id":128467,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:29:09] local.INFO: Processing buffer {"connection_id":128467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:29:09] local.INFO: IMEI packet received {"connection_id":128467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":128467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:29:10] local.INFO: TCP Data received {"connection_id":128467,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:29:10] local.INFO: Processing buffer {"connection_id":128467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:29:10] local.INFO: Packet analysis {"connection_id":128467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:29:10] local.INFO: Extracted packet for processing {"connection_id":128467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:29: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-07-11 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:29: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-07-11 13:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:29:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":128467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:29:10] local.INFO: GPS data processed {"connection_id":128467,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:29:10] local.INFO: Acknowledgment sent {"connection_id":128467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:29:41] local.INFO: TCP Data received {"connection_id":128467,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:29:41] local.INFO: Processing buffer {"connection_id":128467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:29:41] local.INFO: Packet analysis {"connection_id":128467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:29:41] local.INFO: Extracted packet for processing {"connection_id":128467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:29: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-07-11 13: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-07-11 13: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-07-11 13:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:29:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":128467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:29:41] local.INFO: GPS data processed {"connection_id":128467,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:29:41] local.INFO: Acknowledgment sent {"connection_id":128467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:30:04] local.INFO: TCP Data received {"connection_id":129371,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:30:04] local.INFO: Processing buffer {"connection_id":129371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:30:04] local.INFO: IMEI packet received {"connection_id":129371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":129371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:30:05] local.INFO: TCP Data received {"connection_id":128647,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:30:05] local.INFO: Processing buffer {"connection_id":128647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:30:05] local.INFO: IMEI packet received {"connection_id":128647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":128647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:30:09] local.INFO: TCP Data received {"connection_id":129371,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:30:09] local.INFO: Processing buffer {"connection_id":129371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:30:09] local.INFO: IMEI packet received {"connection_id":129371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":129371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:30:10] local.INFO: TCP Data received {"connection_id":129371,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:30:10] local.INFO: Processing buffer {"connection_id":129371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:30:10] local.INFO: Packet analysis {"connection_id":129371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:30:10] local.INFO: Extracted packet for processing {"connection_id":129371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:30: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-07-11 13:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:30: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-07-11 13:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:30:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":129371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:30:10] local.INFO: GPS data processed {"connection_id":129371,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:30:10] local.INFO: Acknowledgment sent {"connection_id":129371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:30:41] local.INFO: TCP Data received {"connection_id":129371,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:30:41] local.INFO: Processing buffer {"connection_id":129371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502c8210012cb29c0007823c60004700b32c..."} 
[2026-07-11 13:30:41] local.INFO: Packet analysis {"connection_id":129371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:30:41] local.INFO: Extracted packet for processing {"connection_id":129371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502c"} 
[2026-07-11 13:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":71,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641592576001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756522000,"timestamp_ms":1783756522000,"timestamp_seconds":1783756522,"priority":1,"record_length":96,"hex_timestamp":"0000019f502c8210"} 
[2026-07-11 13:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:30: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-07-11 13:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:30: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-07-11 13:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641592576001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641592576001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:30:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641592576001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":129371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:30:41] local.INFO: GPS data processed {"connection_id":129371,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:30:41] local.INFO: Acknowledgment sent {"connection_id":129371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:30:45] local.INFO: TCP Data received {"connection_id":130600,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:30:45] local.INFO: Processing buffer {"connection_id":130600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:30:45] local.INFO: IMEI packet received {"connection_id":130600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":130600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:31:05] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:31:05] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:31:05] local.INFO: IMEI packet received {"connection_id":130601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":130601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:31:05] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f502fcdd0012d196600071ff1300039014325..."} 
[2026-07-11 13:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f502fcdd0012d196600071ff1300039014325..."} 
[2026-07-11 13:31:05] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f502fcdd0012d196600071ff1300039014325..."} 
[2026-07-11 13:31:05] local.INFO: Packet analysis {"connection_id":130601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f502f"} 
[2026-07-11 13:31:05] local.INFO: Extracted packet for processing {"connection_id":130601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f502f"} 
[2026-07-11 13:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641719552001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31: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-07-11 13:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783756738000,"timestamp_ms":1783756738000,"timestamp_seconds":1783756738,"priority":1,"record_length":96,"hex_timestamp":"0000019f502fcdd0"} 
[2026-07-11 13:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 13:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641719552001,"66":13015,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641719552001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641719552001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":130601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:31:06] local.INFO: GPS data processed {"connection_id":130601,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:31:06] local.INFO: Acknowledgment sent {"connection_id":130601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:31:09] local.INFO: TCP Data received {"connection_id":129372,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:31:09] local.INFO: Processing buffer {"connection_id":129372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:31:09] local.INFO: IMEI packet received {"connection_id":129372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":129372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:31:14] local.INFO: TCP Data received {"connection_id":129372,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:31:14] local.INFO: Processing buffer {"connection_id":129372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:31:14] local.INFO: IMEI packet received {"connection_id":129372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":129372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:31:15] local.INFO: TCP Data received {"connection_id":129372,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:31:15] local.INFO: Processing buffer {"connection_id":129372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:31:15] local.INFO: Packet analysis {"connection_id":129372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:31:15] local.INFO: Extracted packet for processing {"connection_id":129372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:31:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 13:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:31:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":129372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:31:15] local.INFO: GPS data processed {"connection_id":129372,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:31:15] local.INFO: Acknowledgment sent {"connection_id":129372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:31:19] local.INFO: TCP Data received {"connection_id":129372,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:31:19] local.INFO: Processing buffer {"connection_id":129372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:31:19] local.INFO: Packet analysis {"connection_id":129372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:31:19] local.INFO: Extracted packet for processing {"connection_id":129372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:31:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 13:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:31:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:31:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:31:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":129372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:31:19] local.INFO: GPS data processed {"connection_id":129372,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:31:19] local.INFO: Acknowledgment sent {"connection_id":129372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:31:37] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50301fd8012d196600071ff1300039014326..."} 
[2026-07-11 13:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50301fd8012d196600071ff1300039014326..."} 
[2026-07-11 13:31:37] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50301fd8012d196600071ff1300039014326..."} 
[2026-07-11 13:31:37] local.INFO: Packet analysis {"connection_id":130601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5030"} 
[2026-07-11 13:31:37] local.INFO: Extracted packet for processing {"connection_id":130601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5030"} 
[2026-07-11 13:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641724928001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:31: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-07-11 13:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783756759000,"timestamp_ms":1783756759000,"timestamp_seconds":1783756759,"priority":1,"record_length":96,"hex_timestamp":"0000019f50301fd8"} 
[2026-07-11 13:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 13:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641724928001,"66":12961,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641724928001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:31:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641724928001,"power":12961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":130601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:31:37] local.INFO: GPS data processed {"connection_id":130601,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:31:37] local.INFO: Acknowledgment sent {"connection_id":130601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:32:00] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:00] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:00] local.INFO: IMEI packet received {"connection_id":128469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":128469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:32:03] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:03] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:03] local.INFO: IMEI packet received {"connection_id":128469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":128469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:32:04] local.INFO: TCP Data received {"connection_id":128648,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:32:04] local.INFO: Processing buffer {"connection_id":128648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:32:04] local.INFO: IMEI packet received {"connection_id":128648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":128648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:32:04] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:04] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:04] local.INFO: IMEI packet received {"connection_id":128469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":128469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:32:05] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f503071e0012d196600071ff1300039014323..."} 
[2026-07-11 13:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503071e0012d196600071ff1300039014323..."} 
[2026-07-11 13:32:05] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503071e0012d196600071ff1300039014323..."} 
[2026-07-11 13:32:05] local.INFO: Packet analysis {"connection_id":128469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5030"} 
[2026-07-11 13:32:05] local.INFO: Extracted packet for processing {"connection_id":128469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5030"} 
[2026-07-11 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641730304001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32: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-07-11 13:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783756780000,"timestamp_ms":1783756780000,"timestamp_seconds":1783756780,"priority":1,"record_length":96,"hex_timestamp":"0000019f503071e0"} 
[2026-07-11 13:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 13:32: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-07-11 13:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641730304001,"66":13004,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641730304001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:32:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641730304001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":128469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:32:05] local.INFO: GPS data processed {"connection_id":128469,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:32:05] local.INFO: Acknowledgment sent {"connection_id":128469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:32:09] local.INFO: TCP Data received {"connection_id":128648,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:32:09] local.INFO: Processing buffer {"connection_id":128648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:32:09] local.INFO: IMEI packet received {"connection_id":128648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":128648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:32:10] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5030c3e8012d196600071ff1300039014324..."} 
[2026-07-11 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5030c3e8012d196600071ff1300039014324..."} 
[2026-07-11 13:32:10] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5030c3e8012d196600071ff1300039014324..."} 
[2026-07-11 13:32:10] local.INFO: Packet analysis {"connection_id":128469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5030"} 
[2026-07-11 13:32:10] local.INFO: Extracted packet for processing {"connection_id":128469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5030"} 
[2026-07-11 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":36,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641735680001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756801000,"timestamp_ms":1783756801000,"timestamp_seconds":1783756801,"priority":1,"record_length":96,"hex_timestamp":"0000019f5030c3e8"} 
[2026-07-11 13:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-11 13:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641735680001,"66":12961,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641735680001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:32:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641735680001,"power":12961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:32:10] local.INFO: GPS data processed {"connection_id":128469,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:32:10] local.INFO: Acknowledgment sent {"connection_id":128469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:32:10] local.INFO: TCP Data received {"connection_id":128648,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:32:10] local.INFO: Processing buffer {"connection_id":128648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:32:10] local.INFO: Packet analysis {"connection_id":128648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:32:10] local.INFO: Extracted packet for processing {"connection_id":128648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 13:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:32: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-07-11 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:32: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-07-11 13:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:32:10] local.INFO: GPS data processed {"connection_id":128648,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:32:10] local.INFO: Acknowledgment sent {"connection_id":128648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:32:40] local.INFO: TCP Data received {"connection_id":128469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f503115f0012d196600071ff1300039014324..."} 
[2026-07-11 13:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503115f0012d196600071ff1300039014324..."} 
[2026-07-11 13:32:40] local.INFO: Processing buffer {"connection_id":128469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503115f0012d196600071ff1300039014324..."} 
[2026-07-11 13:32:40] local.INFO: Packet analysis {"connection_id":128469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:32:40] local.INFO: Extracted packet for processing {"connection_id":128469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":36,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641741056001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783756822000,"timestamp_ms":1783756822000,"timestamp_seconds":1783756822,"priority":1,"record_length":96,"hex_timestamp":"0000019f503115f0"} 
[2026-07-11 13:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 13:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641741056001,"66":12950,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641741056001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:32:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641741056001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":128469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:32:41] local.INFO: GPS data processed {"connection_id":128469,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:32:41] local.INFO: Acknowledgment sent {"connection_id":128469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:32:41] local.INFO: TCP Data received {"connection_id":128648,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:32:41] local.INFO: Processing buffer {"connection_id":128648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:32:41] local.INFO: Packet analysis {"connection_id":128648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:32:41] local.INFO: Extracted packet for processing {"connection_id":128648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 13:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:32: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-07-11 13: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":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:32: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-07-11 13:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:32:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":128648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:32:41] local.INFO: GPS data processed {"connection_id":128648,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:32:41] local.INFO: Acknowledgment sent {"connection_id":128648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:32:59] local.INFO: TCP Data received {"connection_id":129373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:59] local.INFO: Processing buffer {"connection_id":129373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:32:59] local.INFO: IMEI packet received {"connection_id":129373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":129373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:33:04] local.INFO: TCP Data received {"connection_id":130602,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:33:04] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:33:04] local.INFO: IMEI packet received {"connection_id":130602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":130602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:33:05] local.INFO: TCP Data received {"connection_id":129373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:33:05] local.INFO: Processing buffer {"connection_id":129373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:33:05] local.INFO: IMEI packet received {"connection_id":129373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":129373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:33:05] local.INFO: TCP Data received {"connection_id":129373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f503167f8012d196600071ff1300039014323..."} 
[2026-07-11 13:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503167f8012d196600071ff1300039014323..."} 
[2026-07-11 13:33:05] local.INFO: Processing buffer {"connection_id":129373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503167f8012d196600071ff1300039014323..."} 
[2026-07-11 13:33:05] local.INFO: Packet analysis {"connection_id":129373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:33:05] local.INFO: Extracted packet for processing {"connection_id":129373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746432001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33: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-07-11 13:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783756843000,"timestamp_ms":1783756843000,"timestamp_seconds":1783756843,"priority":1,"record_length":96,"hex_timestamp":"0000019f503167f8"} 
[2026-07-11 13:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 13:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746432001,"66":12928,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746432001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:33:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746432001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":129373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:33:06] local.INFO: GPS data processed {"connection_id":129373,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:33:06] local.INFO: Acknowledgment sent {"connection_id":129373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:33:09] local.INFO: TCP Data received {"connection_id":130602,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:33:09] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:33:09] local.INFO: IMEI packet received {"connection_id":130602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":130602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:33:10] local.INFO: TCP Data received {"connection_id":130602,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:33:10] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:33:10] local.INFO: Packet analysis {"connection_id":130602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:33:10] local.INFO: Extracted packet for processing {"connection_id":130602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 13:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:33: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-07-11 13:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:33: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-07-11 13:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:33:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":130602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:33:10] local.INFO: GPS data processed {"connection_id":130602,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:33:10] local.INFO: Acknowledgment sent {"connection_id":130602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:33:36] local.INFO: TCP Data received {"connection_id":129373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5031ba00012d196600071ff1300039014323..."} 
[2026-07-11 13:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5031ba00012d196600071ff1300039014323..."} 
[2026-07-11 13:33:36] local.INFO: Processing buffer {"connection_id":129373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5031ba00012d196600071ff1300039014323..."} 
[2026-07-11 13:33:36] local.INFO: Packet analysis {"connection_id":129373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:33:36] local.INFO: Extracted packet for processing {"connection_id":129373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641751808001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783756864000,"timestamp_ms":1783756864000,"timestamp_seconds":1783756864,"priority":1,"record_length":96,"hex_timestamp":"0000019f5031ba00"} 
[2026-07-11 13:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-11 13:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641751808001,"66":12885,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641751808001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:33:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641751808001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":129373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:33:37] local.INFO: GPS data processed {"connection_id":129373,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:33:37] local.INFO: Acknowledgment sent {"connection_id":129373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:33:41] local.INFO: TCP Data received {"connection_id":130602,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:33:41] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:33:41] local.INFO: Packet analysis {"connection_id":130602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:33:41] local.INFO: Extracted packet for processing {"connection_id":130602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:33:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 13:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:33: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-07-11 13:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:33: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-07-11 13:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:33:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":130602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:33:41] local.INFO: GPS data processed {"connection_id":130602,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:33:41] local.INFO: Acknowledgment sent {"connection_id":130602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:33:59] local.INFO: TCP Data received {"connection_id":128650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:33:59] local.INFO: Processing buffer {"connection_id":128650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:33:59] local.INFO: IMEI packet received {"connection_id":128650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":128650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:34:04] local.INFO: TCP Data received {"connection_id":129374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:34:04] local.INFO: Processing buffer {"connection_id":129374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:34:04] local.INFO: IMEI packet received {"connection_id":129374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":129374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:34:05] local.INFO: TCP Data received {"connection_id":128650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:34:05] local.INFO: Processing buffer {"connection_id":128650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:34:05] local.INFO: IMEI packet received {"connection_id":128650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":128650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:34:06] local.INFO: TCP Data received {"connection_id":128650,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50320c08012d196600071ff1300039014325..."} 
[2026-07-11 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50320c08012d196600071ff1300039014325..."} 
[2026-07-11 13:34:06] local.INFO: Processing buffer {"connection_id":128650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50320c08012d196600071ff1300039014325..."} 
[2026-07-11 13:34:06] local.INFO: Packet analysis {"connection_id":128650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5032"} 
[2026-07-11 13:34:06] local.INFO: Extracted packet for processing {"connection_id":128650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5032"} 
[2026-07-11 13:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641757184001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783756885000,"timestamp_ms":1783756885000,"timestamp_seconds":1783756885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50320c08"} 
[2026-07-11 13:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 13:34:06] 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-07-11 13:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641757184001,"66":12885,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641757184001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:34:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641757184001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":128650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:34:06] local.INFO: GPS data processed {"connection_id":128650,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:34:06] local.INFO: Acknowledgment sent {"connection_id":128650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:34:09] local.INFO: TCP Data received {"connection_id":129374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:34:09] local.INFO: Processing buffer {"connection_id":129374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:34:09] local.INFO: IMEI packet received {"connection_id":129374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":129374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:34:10] local.INFO: TCP Data received {"connection_id":129374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:34:10] local.INFO: Processing buffer {"connection_id":129374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:34:10] local.INFO: Packet analysis {"connection_id":129374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:34:10] local.INFO: Extracted packet for processing {"connection_id":129374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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":795,"current_offset":40} 
[2026-07-11 13:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 13:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:34: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-07-11 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:34: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-07-11 13:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:34:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":129374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:34:10] local.INFO: GPS data processed {"connection_id":129374,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:34:10] local.INFO: Acknowledgment sent {"connection_id":129374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:34:37] local.INFO: TCP Data received {"connection_id":128650,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50325e10012d196600071ff1300039014322..."} 
[2026-07-11 13:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50325e10012d196600071ff1300039014322..."} 
[2026-07-11 13:34:37] local.INFO: Processing buffer {"connection_id":128650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50325e10012d196600071ff1300039014322..."} 
[2026-07-11 13:34:37] local.INFO: Packet analysis {"connection_id":128650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5032"} 
[2026-07-11 13:34:37] local.INFO: Extracted packet for processing {"connection_id":128650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5032"} 
[2026-07-11 13:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":34,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641762560001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34: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-07-11 13:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783756906000,"timestamp_ms":1783756906000,"timestamp_seconds":1783756906,"priority":1,"record_length":96,"hex_timestamp":"0000019f50325e10"} 
[2026-07-11 13:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 13:34: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-07-11 13:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641762560001,"66":12863,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641762560001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:34:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641762560001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":128650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:34:37] local.INFO: GPS data processed {"connection_id":128650,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:34:37] local.INFO: Acknowledgment sent {"connection_id":128650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:34:40] local.INFO: TCP Data received {"connection_id":129374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:34:40] local.INFO: Processing buffer {"connection_id":129374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:34:40] local.INFO: Packet analysis {"connection_id":129374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:34:40] local.INFO: Extracted packet for processing {"connection_id":129374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:34:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 13:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:34: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-07-11 13:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:34:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":129374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:34:40] local.INFO: GPS data processed {"connection_id":129374,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:34:40] local.INFO: Acknowledgment sent {"connection_id":129374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:35:04] local.INFO: TCP Data received {"connection_id":128472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:35:04] local.INFO: Processing buffer {"connection_id":128472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:35:04] local.INFO: IMEI packet received {"connection_id":128472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:35:05] local.INFO: TCP Data received {"connection_id":128471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:35:05] local.INFO: Processing buffer {"connection_id":128471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:35:05] local.INFO: IMEI packet received {"connection_id":128471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":128471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:35:09] local.INFO: TCP Data received {"connection_id":128472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:35:09] local.INFO: Processing buffer {"connection_id":128472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:35:09] local.INFO: IMEI packet received {"connection_id":128472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":128472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:35:09] local.INFO: TCP Data received {"connection_id":128471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:35:09] local.INFO: Processing buffer {"connection_id":128471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:35:09] local.INFO: IMEI packet received {"connection_id":128471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":128471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:35:10] local.INFO: TCP Data received {"connection_id":128472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:35:10] local.INFO: Processing buffer {"connection_id":128472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:35:10] local.INFO: Packet analysis {"connection_id":128472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:35:10] local.INFO: Extracted packet for processing {"connection_id":128472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 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-07-11 13:35: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-07-11 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:35: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-07-11 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-07-11 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-07-11 13:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:35:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":128472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:35:10] local.INFO: GPS data processed {"connection_id":128472,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:35:10] local.INFO: Acknowledgment sent {"connection_id":128472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:35:10] local.INFO: TCP Data received {"connection_id":128471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5032b018012d196600071ff1300039014321..."} 
[2026-07-11 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5032b018012d196600071ff1300039014321..."} 
[2026-07-11 13:35:10] local.INFO: Processing buffer {"connection_id":128471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5032b018012d196600071ff1300039014321..."} 
[2026-07-11 13:35:10] local.INFO: Packet analysis {"connection_id":128471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5032"} 
[2026-07-11 13:35:10] local.INFO: Extracted packet for processing {"connection_id":128471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5032"} 
[2026-07-11 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":33,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641767936001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783756927000,"timestamp_ms":1783756927000,"timestamp_seconds":1783756927,"priority":1,"record_length":96,"hex_timestamp":"0000019f5032b018"} 
[2026-07-11 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-07-11 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 13:35:10] 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-07-11 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-07-11 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-07-11 13:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641767936001,"66":12841,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641767936001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:35:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641767936001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":128471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:35:10] local.INFO: GPS data processed {"connection_id":128471,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:35:10] local.INFO: Acknowledgment sent {"connection_id":128471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:35:12] local.INFO: TCP Data received {"connection_id":128471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50330220012d196600071ff1300039014323..."} 
[2026-07-11 13:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50330220012d196600071ff1300039014323..."} 
[2026-07-11 13:35:12] local.INFO: Processing buffer {"connection_id":128471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50330220012d196600071ff1300039014323..."} 
[2026-07-11 13:35:12] local.INFO: Packet analysis {"connection_id":128471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5033"} 
[2026-07-11 13:35:12] local.INFO: Extracted packet for processing {"connection_id":128471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5033"} 
[2026-07-11 13:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641773312001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783756948000,"timestamp_ms":1783756948000,"timestamp_seconds":1783756948,"priority":1,"record_length":96,"hex_timestamp":"0000019f50330220"} 
[2026-07-11 13:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 13:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641773312001,"66":12841,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641773312001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:35:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641773312001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":128471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:35:12] local.INFO: GPS data processed {"connection_id":128471,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:35:12] local.INFO: Acknowledgment sent {"connection_id":128471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:35:41] local.INFO: TCP Data received {"connection_id":128472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:35:41] local.INFO: Processing buffer {"connection_id":128472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503119d8012cb29c0007823c60004500b32a..."} 
[2026-07-11 13:35:41] local.INFO: Packet analysis {"connection_id":128472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:35:41] local.INFO: Extracted packet for processing {"connection_id":128472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5031"} 
[2026-07-11 13:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641669632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783756823000,"timestamp_ms":1783756823000,"timestamp_seconds":1783756823,"priority":1,"record_length":96,"hex_timestamp":"0000019f503119d8"} 
[2026-07-11 13:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:35: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-07-11 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:35: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-07-11 13:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641669632001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641669632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:35:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641669632001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":128472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:35:41] local.INFO: GPS data processed {"connection_id":128472,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:35:41] local.INFO: Acknowledgment sent {"connection_id":128472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:35:42] local.INFO: TCP Data received {"connection_id":128471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50335428012d196600071ff1300039014321..."} 
[2026-07-11 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50335428012d196600071ff1300039014321..."} 
[2026-07-11 13:35:42] local.INFO: Processing buffer {"connection_id":128471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50335428012d196600071ff1300039014321..."} 
[2026-07-11 13:35:42] local.INFO: Packet analysis {"connection_id":128471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5033"} 
[2026-07-11 13:35:42] local.INFO: Extracted packet for processing {"connection_id":128471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5033"} 
[2026-07-11 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":33,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641778688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783756969000,"timestamp_ms":1783756969000,"timestamp_seconds":1783756969,"priority":1,"record_length":96,"hex_timestamp":"0000019f50335428"} 
[2026-07-11 13:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 13:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641778688001,"66":12809,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641778688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:35:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641778688001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":128471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:35:43] local.INFO: GPS data processed {"connection_id":128471,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:35:43] local.INFO: Acknowledgment sent {"connection_id":128471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:36:00] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:36:00] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:36:00] local.INFO: IMEI packet received {"connection_id":130603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":130603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:36:04] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:36:04] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:36:04] local.INFO: IMEI packet received {"connection_id":130603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":130603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:36:04] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:36:04] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:36:04] local.INFO: IMEI packet received {"connection_id":130604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":130604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:36:04] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5033a630012d196600071ff1300039014323..."} 
[2026-07-11 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5033a630012d196600071ff1300039014323..."} 
[2026-07-11 13:36:04] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5033a630012d196600071ff1300039014323..."} 
[2026-07-11 13:36:04] local.INFO: Packet analysis {"connection_id":130603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5033"} 
[2026-07-11 13:36:04] local.INFO: Extracted packet for processing {"connection_id":130603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5033"} 
[2026-07-11 13:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641784064001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36: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-07-11 13:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783756990000,"timestamp_ms":1783756990000,"timestamp_seconds":1783756990,"priority":1,"record_length":96,"hex_timestamp":"0000019f5033a630"} 
[2026-07-11 13:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3536996970211665408,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4046454841,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146119863677357,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301673662077551396,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:04] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,48,159,2,45,57,35,10,66,176,33,94,1,240,63,227,80,31,4,113,205,186,239,50,20,7,164,234],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 13:36:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107638144151584768,"timestamp_seconds":4107638144151585.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641784064001,"66":12798,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641784064001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:36:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641784064001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":130603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:36:04] local.INFO: GPS data processed {"connection_id":130603,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:36:04] local.INFO: Acknowledgment sent {"connection_id":130603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:36:09] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:36:09] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:36:09] local.INFO: IMEI packet received {"connection_id":130604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":130604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:36:10] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:36:10] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:36:10] local.INFO: Packet analysis {"connection_id":130604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:36:10] local.INFO: Extracted packet for processing {"connection_id":130604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 13:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:36: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-07-11 13:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:36: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-07-11 13:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:36:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":130604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:36:10] local.INFO: GPS data processed {"connection_id":130604,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:36:10] local.INFO: Acknowledgment sent {"connection_id":130604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:36:10] local.INFO: TCP Data received {"connection_id":128473,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:36:10] local.INFO: Processing buffer {"connection_id":128473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:36:10] local.INFO: IMEI packet received {"connection_id":128473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":128473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:36:35] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5033f838012d196600071ff1300039014321..."} 
[2026-07-11 13:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5033f838012d196600071ff1300039014321..."} 
[2026-07-11 13:36:35] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5033f838012d196600071ff1300039014321..."} 
[2026-07-11 13:36:35] local.INFO: Packet analysis {"connection_id":130603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5033"} 
[2026-07-11 13:36:35] local.INFO: Extracted packet for processing {"connection_id":130603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5033"} 
[2026-07-11 13:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":33,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641789440001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783757011000,"timestamp_ms":1783757011000,"timestamp_seconds":1783757011,"priority":1,"record_length":96,"hex_timestamp":"0000019f5033f838"} 
[2026-07-11 13:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:36:35] 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-07-11 13: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 13:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641789440001,"66":12776,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641789440001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:36:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641789440001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":130603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:36:35] local.INFO: GPS data processed {"connection_id":130603,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:36:35] local.INFO: Acknowledgment sent {"connection_id":130603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:36:41] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:36:41] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:36:41] local.INFO: Packet analysis {"connection_id":130604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:36:41] local.INFO: Extracted packet for processing {"connection_id":130604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 13:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:36: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-07-11 13:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13: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-07-11 13:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:36:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":130604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:36:41] local.INFO: GPS data processed {"connection_id":130604,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:36:41] local.INFO: Acknowledgment sent {"connection_id":130604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:36:45] local.INFO: TCP Data received {"connection_id":129375,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:36:45] local.INFO: Processing buffer {"connection_id":129375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:36:45] local.INFO: IMEI packet received {"connection_id":129375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":129375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:37:00] local.INFO: TCP Data received {"connection_id":130605,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:37:00] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:37:00] local.INFO: IMEI packet received {"connection_id":130605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":130605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:37:04] local.INFO: TCP Data received {"connection_id":128652,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:37:04] local.INFO: Processing buffer {"connection_id":128652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:37:04] local.INFO: IMEI packet received {"connection_id":128652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":128652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:37:05] local.INFO: TCP Data received {"connection_id":130605,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:37:05] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:37:05] local.INFO: IMEI packet received {"connection_id":130605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":130605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:37:06] local.INFO: TCP Data received {"connection_id":130605,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50344a40012d196600071ff1300039014325..."} 
[2026-07-11 13:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50344a40012d196600071ff1300039014325..."} 
[2026-07-11 13:37:06] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50344a40012d196600071ff1300039014325..."} 
[2026-07-11 13:37:06] local.INFO: Packet analysis {"connection_id":130605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5034"} 
[2026-07-11 13:37:06] local.INFO: Extracted packet for processing {"connection_id":130605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5034"} 
[2026-07-11 13:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641794816001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783757032000,"timestamp_ms":1783757032000,"timestamp_seconds":1783757032,"priority":1,"record_length":96,"hex_timestamp":"0000019f50344a40"} 
[2026-07-11 13:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 13:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641794816001,"66":12776,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641794816001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:37:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641794816001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":130605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:37:06] local.INFO: GPS data processed {"connection_id":130605,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:37:06] local.INFO: Acknowledgment sent {"connection_id":130605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:37:09] local.INFO: TCP Data received {"connection_id":128652,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:37:09] local.INFO: Processing buffer {"connection_id":128652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:37:09] local.INFO: IMEI packet received {"connection_id":128652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":128652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:37:10] local.INFO: TCP Data received {"connection_id":128652,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:37:10] local.INFO: Processing buffer {"connection_id":128652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:37:10] local.INFO: Packet analysis {"connection_id":128652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:37:10] local.INFO: Extracted packet for processing {"connection_id":128652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:37:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 13:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:37: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-07-11 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:37: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-07-11 13:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:37:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":128652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:37:10] local.INFO: GPS data processed {"connection_id":128652,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:37:10] local.INFO: Acknowledgment sent {"connection_id":128652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:37:37] local.INFO: TCP Data received {"connection_id":130605,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50349c48012d196600071ff1300039014322..."} 
[2026-07-11 13:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50349c48012d196600071ff1300039014322..."} 
[2026-07-11 13:37:37] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50349c48012d196600071ff1300039014322..."} 
[2026-07-11 13:37:37] local.INFO: Packet analysis {"connection_id":130605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5034"} 
[2026-07-11 13:37:37] local.INFO: Extracted packet for processing {"connection_id":130605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5034"} 
[2026-07-11 13:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":34,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641800192001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37: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-07-11 13:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783757053000,"timestamp_ms":1783757053000,"timestamp_seconds":1783757053,"priority":1,"record_length":96,"hex_timestamp":"0000019f50349c48"} 
[2026-07-11 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-07-11 13:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 13:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 13:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641800192001,"66":12711,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641800192001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:37:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641800192001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":130605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:37:37] local.INFO: GPS data processed {"connection_id":130605,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:37:37] local.INFO: Acknowledgment sent {"connection_id":130605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:37:41] local.INFO: TCP Data received {"connection_id":128652,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:37:41] local.INFO: Processing buffer {"connection_id":128652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:37:41] local.INFO: Packet analysis {"connection_id":128652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:37:41] local.INFO: Extracted packet for processing {"connection_id":128652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:37:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 13:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:37: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-07-11 13:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:37: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-07-11 13:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:37:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":128652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:37:41] local.INFO: GPS data processed {"connection_id":128652,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:37:41] local.INFO: Acknowledgment sent {"connection_id":128652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:38:00] local.INFO: TCP Data received {"connection_id":128653,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:38:00] local.INFO: Processing buffer {"connection_id":128653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:38:00] local.INFO: IMEI packet received {"connection_id":128653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":128653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:38:05] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:38:05] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:38:05] local.INFO: IMEI packet received {"connection_id":128654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:38:05] local.INFO: TCP Data received {"connection_id":128653,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:38:05] local.INFO: Processing buffer {"connection_id":128653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:38:05] local.INFO: IMEI packet received {"connection_id":128653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":128653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:38:06] local.INFO: TCP Data received {"connection_id":128653,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5034ee50012d196600071ff1300039014321..."} 
[2026-07-11 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5034ee50012d196600071ff1300039014321..."} 
[2026-07-11 13:38:06] local.INFO: Processing buffer {"connection_id":128653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5034ee50012d196600071ff1300039014321..."} 
[2026-07-11 13:38:06] local.INFO: Packet analysis {"connection_id":128653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5034"} 
[2026-07-11 13:38:06] local.INFO: Extracted packet for processing {"connection_id":128653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5034"} 
[2026-07-11 13:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533872,"longitude_deg":75.6639232,"latitude_deg":11.9533872,"altitude":57,"angle":323,"satellites":33,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-07-11 13:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641805568001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683281114693632,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783757074000,"timestamp_ms":1783757074000,"timestamp_seconds":1783757074,"priority":1,"record_length":96,"hex_timestamp":"0000019f5034ee50"} 
[2026-07-11 13:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 13:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641805568001,"66":12689,"102":206,"83":41984,"24":0,"16":5683281114693632,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641805568001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683281114693632,"km_value":5683281114693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641805568001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":128653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:38:06] local.INFO: GPS data processed {"connection_id":128653,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:38:06] local.INFO: Acknowledgment sent {"connection_id":128653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:38:09] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:38:09] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:38:09] local.INFO: IMEI packet received {"connection_id":128654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":128654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:38:10] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:38:10] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:38:10] local.INFO: Packet analysis {"connection_id":128654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:38:10] local.INFO: Extracted packet for processing {"connection_id":128654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 13:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:38: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-07-11 13:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:38: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-07-11 13:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:38:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":128654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:38:10] local.INFO: GPS data processed {"connection_id":128654,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:38:10] local.INFO: Acknowledgment sent {"connection_id":128654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:38:14] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:38:14] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:38:14] local.INFO: Packet analysis {"connection_id":128654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:38:14] local.INFO: Extracted packet for processing {"connection_id":128654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:38:14] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 13:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:38:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:38:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":128654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:38:15] local.INFO: GPS data processed {"connection_id":128654,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:38:15] local.INFO: Acknowledgment sent {"connection_id":128654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:38:37] local.INFO: TCP Data received {"connection_id":128653,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50351560012d196940071ff1f00048002d23..."} 
[2026-07-11 13:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50351560012d196940071ff1f00048002d23..."} 
[2026-07-11 13:38:37] local.INFO: Processing buffer {"connection_id":128653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50351560012d196940071ff1f00048002d23..."} 
[2026-07-11 13:38:37] local.INFO: Packet analysis {"connection_id":128653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:38:37] local.INFO: Extracted packet for processing {"connection_id":128653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119534064,"longitude_deg":75.6640064,"latitude_deg":11.9534064,"altitude":72,"angle":45,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff1f0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641810944001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683324064366592,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173356544,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783757084000,"timestamp_ms":1783757084000,"timestamp_seconds":1783757084,"priority":1,"record_length":96,"hex_timestamp":"0000019f50351560"} 
[2026-07-11 13:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 13:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641810944001,"66":12722,"102":206,"83":41984,"24":0,"16":5683324064366592,"45":1830150329173356544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641810944001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:38:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683324064366592,"km_value":5683324064366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173356544,"description":"Unknown IO ID 45"} 
[2026-07-11 13:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641810944001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173356544}} 
[2026-07-11 13:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":128653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:38:37] local.INFO: GPS data processed {"connection_id":128653,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:38:37] local.INFO: Acknowledgment sent {"connection_id":128653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:38:46] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:38:46] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:38:46] local.INFO: Packet analysis {"connection_id":128654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:38:46] local.INFO: Extracted packet for processing {"connection_id":128654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 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-07-11 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:38: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-07-11 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-07-11 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-07-11 13:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:38:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:38:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":128654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:38:46] local.INFO: GPS data processed {"connection_id":128654,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:38:46] local.INFO: Acknowledgment sent {"connection_id":128654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:38:59] local.INFO: TCP Data received {"connection_id":128476,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:38:59] local.INFO: Processing buffer {"connection_id":128476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:38:59] local.INFO: IMEI packet received {"connection_id":128476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":128476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:39:04] local.INFO: TCP Data received {"connection_id":129376,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:39:04] local.INFO: Processing buffer {"connection_id":129376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:39:04] local.INFO: IMEI packet received {"connection_id":129376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":129376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:39:05] local.INFO: TCP Data received {"connection_id":128476,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:39:05] local.INFO: Processing buffer {"connection_id":128476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:39:05] local.INFO: IMEI packet received {"connection_id":128476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":128476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:39:06] local.INFO: TCP Data received {"connection_id":128476,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50356768012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50356768012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:39:06] local.INFO: Processing buffer {"connection_id":128476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50356768012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:39:06] local.INFO: Packet analysis {"connection_id":128476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:39:06] local.INFO: Extracted packet for processing {"connection_id":128476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":34,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641813504001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847715328,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783757105000,"timestamp_ms":1783757105000,"timestamp_seconds":1783757105,"priority":1,"record_length":96,"hex_timestamp":"0000019f50356768"} 
[2026-07-11 13:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 13:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641813504001,"66":12678,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831065122847715328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641813504001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:39:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847715328,"description":"Unknown IO ID 45"} 
[2026-07-11 13:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641813504001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847715328}} 
[2026-07-11 13:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":128476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:39:06] local.INFO: GPS data processed {"connection_id":128476,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:39:06] local.INFO: Acknowledgment sent {"connection_id":128476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:39:09] local.INFO: TCP Data received {"connection_id":129376,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:39:09] local.INFO: Processing buffer {"connection_id":129376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:39:09] local.INFO: IMEI packet received {"connection_id":129376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":129376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:39:10] local.INFO: TCP Data received {"connection_id":129376,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:39:10] local.INFO: Processing buffer {"connection_id":129376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:39:10] local.INFO: Packet analysis {"connection_id":129376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:39:10] local.INFO: Extracted packet for processing {"connection_id":129376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 13:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:39: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-07-11 13:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:39: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-07-11 13:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:39:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":129376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:39:10] local.INFO: GPS data processed {"connection_id":129376,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:39:10] local.INFO: Acknowledgment sent {"connection_id":129376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:39:37] local.INFO: TCP Data received {"connection_id":128476,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b970012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b970012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:39:37] local.INFO: Processing buffer {"connection_id":128476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b970012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:39:37] local.INFO: Packet analysis {"connection_id":128476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:39:37] local.INFO: Extracted packet for processing {"connection_id":128476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":34,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641818880001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39: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-07-11 13:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783757126000,"timestamp_ms":1783757126000,"timestamp_seconds":1783757126,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b970"} 
[2026-07-11 13:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 13:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641818880001,"66":12689,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641818880001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:39:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641818880001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":128476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:39:38] local.INFO: GPS data processed {"connection_id":128476,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:39:38] local.INFO: Acknowledgment sent {"connection_id":128476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:39:41] local.INFO: TCP Data received {"connection_id":129376,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:39:41] local.INFO: Processing buffer {"connection_id":129376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:39:41] local.INFO: Packet analysis {"connection_id":129376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:39:41] local.INFO: Extracted packet for processing {"connection_id":129376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 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-07-11 13:39: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-07-11 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:39: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-07-11 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-07-11 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-07-11 13:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:39:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":129376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:39:41] local.INFO: GPS data processed {"connection_id":129376,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:39:41] local.INFO: Acknowledgment sent {"connection_id":129376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:39:59] local.INFO: TCP Data received {"connection_id":128655,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:39:59] local.INFO: Processing buffer {"connection_id":128655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:39:59] local.INFO: IMEI packet received {"connection_id":128655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":128655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:40:04] local.INFO: TCP Data received {"connection_id":130607,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:40:04] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:40:04] local.INFO: IMEI packet received {"connection_id":130607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":130607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:40:05] local.INFO: TCP Data received {"connection_id":128655,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:40:05] local.INFO: Processing buffer {"connection_id":128655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:40:05] local.INFO: IMEI packet received {"connection_id":128655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":128655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:40:06] local.INFO: TCP Data received {"connection_id":128655,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50360b78012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50360b78012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:40:06] local.INFO: Processing buffer {"connection_id":128655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50360b78012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:40:06] local.INFO: Packet analysis {"connection_id":128655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5036"} 
[2026-07-11 13:40:06] local.INFO: Extracted packet for processing {"connection_id":128655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5036"} 
[2026-07-11 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":34,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641824256001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783757147000,"timestamp_ms":1783757147000,"timestamp_seconds":1783757147,"priority":1,"record_length":96,"hex_timestamp":"0000019f50360b78"} 
[2026-07-11 13:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 13:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641824256001,"66":12689,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641824256001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641824256001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":128655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:40:06] local.INFO: GPS data processed {"connection_id":128655,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:40:06] local.INFO: Acknowledgment sent {"connection_id":128655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:40:09] local.INFO: TCP Data received {"connection_id":130607,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:40:09] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:40:09] local.INFO: IMEI packet received {"connection_id":130607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":130607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:40:10] local.INFO: TCP Data received {"connection_id":130607,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:40:10] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:40:10] local.INFO: Packet analysis {"connection_id":130607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:40:10] local.INFO: Extracted packet for processing {"connection_id":130607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 13:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:40: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-07-11 13:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:40: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-07-11 13:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:40:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":130607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:40:10] local.INFO: GPS data processed {"connection_id":130607,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:40:10] local.INFO: Acknowledgment sent {"connection_id":130607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:40:37] local.INFO: TCP Data received {"connection_id":128655,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50365d80012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50365d80012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:40:37] local.INFO: Processing buffer {"connection_id":128655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50365d80012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:40:37] local.INFO: Packet analysis {"connection_id":128655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5036"} 
[2026-07-11 13:40:37] local.INFO: Extracted packet for processing {"connection_id":128655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5036"} 
[2026-07-11 13:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641829632001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40: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-07-11 13:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783757168000,"timestamp_ms":1783757168000,"timestamp_seconds":1783757168,"priority":1,"record_length":96,"hex_timestamp":"0000019f50365d80"} 
[2026-07-11 13:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 13:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641829632001,"66":12613,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641829632001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:40:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641829632001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":128655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:40:37] local.INFO: GPS data processed {"connection_id":128655,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:40:37] local.INFO: Acknowledgment sent {"connection_id":128655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:40:43] local.INFO: TCP Data received {"connection_id":130607,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:40:43] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5035b1a0012cb29c0007823c60004300b32b..."} 
[2026-07-11 13:40:43] local.INFO: Packet analysis {"connection_id":130607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:40:43] local.INFO: Extracted packet for processing {"connection_id":130607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5035"} 
[2026-07-11 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641746688001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783757124000,"timestamp_ms":1783757124000,"timestamp_seconds":1783757124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5035b1a0"} 
[2026-07-11 13:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:40: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-07-11 13:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:40: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-07-11 13:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641746688001,"66":25462,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641746688001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:40:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:40:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641746688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":130607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:40:43] local.INFO: GPS data processed {"connection_id":130607,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:40:43] local.INFO: Acknowledgment sent {"connection_id":130607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:41:04] local.INFO: TCP Data received {"connection_id":129379,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:41:04] local.INFO: Processing buffer {"connection_id":129379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:41:04] local.INFO: IMEI packet received {"connection_id":129379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":129379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:41:05] local.INFO: TCP Data received {"connection_id":129378,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:41:05] local.INFO: Processing buffer {"connection_id":129378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:41:05] local.INFO: IMEI packet received {"connection_id":129378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":129378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:41:09] local.INFO: TCP Data received {"connection_id":129379,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:41:09] local.INFO: Processing buffer {"connection_id":129379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:41:09] local.INFO: IMEI packet received {"connection_id":129379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":129379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:41:10] local.INFO: TCP Data received {"connection_id":129378,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:41:10] local.INFO: Processing buffer {"connection_id":129378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:41:10] local.INFO: IMEI packet received {"connection_id":129378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":129378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:41:10] local.INFO: TCP Data received {"connection_id":129379,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:41:10] local.INFO: Processing buffer {"connection_id":129379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:41:10] local.INFO: Packet analysis {"connection_id":129379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:41:10] local.INFO: Extracted packet for processing {"connection_id":129379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:41:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 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-07-11 13:41: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-07-11 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:41:10] 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-07-11 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-07-11 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-07-11 13:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:41:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":129379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:41:10] local.INFO: GPS data processed {"connection_id":129379,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:41:10] local.INFO: Acknowledgment sent {"connection_id":129379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:41:10] local.INFO: TCP Data received {"connection_id":129378,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5036af88012d1969c0071ff1d00048002d21..."} 
[2026-07-11 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5036af88012d1969c0071ff1d00048002d21..."} 
[2026-07-11 13:41:10] local.INFO: Processing buffer {"connection_id":129378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5036af88012d1969c0071ff1d00048002d21..."} 
[2026-07-11 13:41:10] local.INFO: Packet analysis {"connection_id":129378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5036"} 
[2026-07-11 13:41:10] local.INFO: Extracted packet for processing {"connection_id":129378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5036"} 
[2026-07-11 13:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":33,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641835008001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757189000,"timestamp_ms":1783757189000,"timestamp_seconds":1783757189,"priority":1,"record_length":96,"hex_timestamp":"0000019f5036af88"} 
[2026-07-11 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-07-11 13:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 13:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 13:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641835008001,"66":12602,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641835008001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:41:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641835008001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":129378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:41:11] local.INFO: GPS data processed {"connection_id":129378,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:41:11] local.INFO: Acknowledgment sent {"connection_id":129378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:41:15] local.INFO: TCP Data received {"connection_id":129378,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50370190012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50370190012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:41:15] local.INFO: Processing buffer {"connection_id":129378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50370190012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:41:15] local.INFO: Packet analysis {"connection_id":129378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5037"} 
[2026-07-11 13:41:15] local.INFO: Extracted packet for processing {"connection_id":129378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5037"} 
[2026-07-11 13:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641840384001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783757210000,"timestamp_ms":1783757210000,"timestamp_seconds":1783757210,"priority":1,"record_length":96,"hex_timestamp":"0000019f50370190"} 
[2026-07-11 13:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-11 13:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641840384001,"66":12678,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641840384001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:41:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641840384001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":129378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:41:15] local.INFO: GPS data processed {"connection_id":129378,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:41:15] local.INFO: Acknowledgment sent {"connection_id":129378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:41:19] local.INFO: TCP Data received {"connection_id":129378,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50375398012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50375398012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:41:19] local.INFO: Processing buffer {"connection_id":129378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50375398012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:41:19] local.INFO: Packet analysis {"connection_id":129378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5037"} 
[2026-07-11 13:41:19] local.INFO: Extracted packet for processing {"connection_id":129378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5037"} 
[2026-07-11 13:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641845760001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783757231000,"timestamp_ms":1783757231000,"timestamp_seconds":1783757231,"priority":1,"record_length":96,"hex_timestamp":"0000019f50375398"} 
[2026-07-11 13:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 13:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641845760001,"66":12645,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-11 13:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641845760001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:41:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641845760001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":129378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:41:19] local.INFO: GPS data processed {"connection_id":129378,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:41:19] local.INFO: Acknowledgment sent {"connection_id":129378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:41:41] local.INFO: TCP Data received {"connection_id":129379,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:41:41] local.INFO: Processing buffer {"connection_id":129379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:41:41] local.INFO: Packet analysis {"connection_id":129379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:41:41] local.INFO: Extracted packet for processing {"connection_id":129379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:41:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 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-07-11 13:41: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-07-11 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:41: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-07-11 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-07-11 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-07-11 13:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:41:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":129379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:41:41] local.INFO: GPS data processed {"connection_id":129379,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:41:41] local.INFO: Acknowledgment sent {"connection_id":129379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:41:55] local.INFO: TCP Data received {"connection_id":128478,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:41:55] local.INFO: Processing buffer {"connection_id":128478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:41:55] local.INFO: IMEI packet received {"connection_id":128478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":128478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:42:00] local.INFO: TCP Data received {"connection_id":128478,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:42:00] local.INFO: Processing buffer {"connection_id":128478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:42:00] local.INFO: IMEI packet received {"connection_id":128478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":128478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:42:00] local.INFO: TCP Data received {"connection_id":128478,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5038edc0012d1969c0071ff1d00048002d21..."} 
[2026-07-11 13:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5038edc0012d1969c0071ff1d00048002d21..."} 
[2026-07-11 13:42:00] local.INFO: Processing buffer {"connection_id":128478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5038edc0012d1969c0071ff1d00048002d21..."} 
[2026-07-11 13:42:00] local.INFO: Packet analysis {"connection_id":128478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5038"} 
[2026-07-11 13:42:00] local.INFO: Extracted packet for processing {"connection_id":128478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5038"} 
[2026-07-11 13:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":33,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641872640001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783757336000,"timestamp_ms":1783757336000,"timestamp_seconds":1783757336,"priority":1,"record_length":96,"hex_timestamp":"0000019f5038edc0"} 
[2026-07-11 13:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:42: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-07-11 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 13:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641872640001,"66":12591,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641872640001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:42:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:42:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641872640001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":128478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:42:00] local.INFO: GPS data processed {"connection_id":128478,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:42:00] local.INFO: Acknowledgment sent {"connection_id":128478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:42:04] local.INFO: TCP Data received {"connection_id":130608,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:42:04] local.INFO: Processing buffer {"connection_id":130608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:42:04] local.INFO: IMEI packet received {"connection_id":130608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":130608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:42:05] local.INFO: TCP Data received {"connection_id":128477,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:42:05] local.INFO: Processing buffer {"connection_id":128477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:42:05] local.INFO: IMEI packet received {"connection_id":128477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":128477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:42:09] local.INFO: TCP Data received {"connection_id":130608,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:42:09] local.INFO: Processing buffer {"connection_id":130608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:42:09] local.INFO: IMEI packet received {"connection_id":130608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":130608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:42:10] local.INFO: TCP Data received {"connection_id":130608,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:42:10] local.INFO: Processing buffer {"connection_id":130608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:42:10] local.INFO: Packet analysis {"connection_id":130608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:42:10] local.INFO: Extracted packet for processing {"connection_id":130608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 13:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:42:10] 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-07-11 13:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:42:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":130608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:42:10] local.INFO: GPS data processed {"connection_id":130608,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:42:10] local.INFO: Acknowledgment sent {"connection_id":130608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:42:31] local.INFO: TCP Data received {"connection_id":128478,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50393fc8012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50393fc8012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:42:31] local.INFO: Processing buffer {"connection_id":128478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50393fc8012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:42:31] local.INFO: Packet analysis {"connection_id":128478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5039"} 
[2026-07-11 13:42:31] local.INFO: Extracted packet for processing {"connection_id":128478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5039"} 
[2026-07-11 13:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641878016001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42: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-07-11 13:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783757357000,"timestamp_ms":1783757357000,"timestamp_seconds":1783757357,"priority":1,"record_length":96,"hex_timestamp":"0000019f50393fc8"} 
[2026-07-11 13:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 13:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":128478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":128478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":128478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:42:31] 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-07-11 13:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641878016001,"66":12580,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641878016001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:42:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:42:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641878016001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":128478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:42:31] local.INFO: GPS data processed {"connection_id":128478,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:42:31] local.INFO: Acknowledgment sent {"connection_id":128478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:42:41] local.INFO: TCP Data received {"connection_id":130608,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:42:41] local.INFO: Processing buffer {"connection_id":130608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:42:41] local.INFO: Packet analysis {"connection_id":130608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:42:41] local.INFO: Extracted packet for processing {"connection_id":130608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 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-07-11 13:42: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-07-11 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:42: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-07-11 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-07-11 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-07-11 13:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:42:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":130608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:42:41] local.INFO: GPS data processed {"connection_id":130608,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:42:41] local.INFO: Acknowledgment sent {"connection_id":130608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:42:47] local.INFO: TCP Data received {"connection_id":128656,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:42:47] local.INFO: Processing buffer {"connection_id":128656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:42:47] local.INFO: IMEI packet received {"connection_id":128656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":128656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:43:00] local.INFO: TCP Data received {"connection_id":128657,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:43:00] local.INFO: Processing buffer {"connection_id":128657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:43:00] local.INFO: IMEI packet received {"connection_id":128657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":128657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:43:03] local.INFO: TCP Data received {"connection_id":128657,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:43:03] local.INFO: Processing buffer {"connection_id":128657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:43:03] local.INFO: IMEI packet received {"connection_id":128657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":128657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:43:04] local.INFO: TCP Data received {"connection_id":128657,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503991d0012d1969c0071ff1d00048002d1f..."} 
[2026-07-11 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503991d0012d1969c0071ff1d00048002d1f..."} 
[2026-07-11 13:43:04] local.INFO: Processing buffer {"connection_id":128657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503991d0012d1969c0071ff1d00048002d1f..."} 
[2026-07-11 13:43:04] local.INFO: Packet analysis {"connection_id":128657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5039"} 
[2026-07-11 13:43:04] local.INFO: Extracted packet for processing {"connection_id":128657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5039"} 
[2026-07-11 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":31,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641883392001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43: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-07-11 13:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783757378000,"timestamp_ms":1783757378000,"timestamp_seconds":1783757378,"priority":1,"record_length":96,"hex_timestamp":"0000019f503991d0"} 
[2026-07-11 13:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:43: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-07-11 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-11 13:43:04] 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-07-11 13: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-07-11 13:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":128657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":128657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":128657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:43:04] 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-07-11 13:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641883392001,"66":12558,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641883392001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:43:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641883392001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":128657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:43:04] local.INFO: GPS data processed {"connection_id":128657,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:43:04] local.INFO: Acknowledgment sent {"connection_id":128657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:43:04] local.INFO: TCP Data received {"connection_id":129380,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:43:04] local.INFO: Processing buffer {"connection_id":129380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:43:04] local.INFO: IMEI packet received {"connection_id":129380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":129380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:43:09] local.INFO: TCP Data received {"connection_id":129380,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:43:09] local.INFO: Processing buffer {"connection_id":129380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:43:09] local.INFO: IMEI packet received {"connection_id":129380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":129380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:43:10] local.INFO: TCP Data received {"connection_id":129380,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:43:10] local.INFO: Processing buffer {"connection_id":129380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:43:10] local.INFO: Packet analysis {"connection_id":129380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:43:10] local.INFO: Extracted packet for processing {"connection_id":129380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 13:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:43:10] 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-07-11 13:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":129380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:43:10] local.INFO: GPS data processed {"connection_id":129380,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:43:10] local.INFO: Acknowledgment sent {"connection_id":129380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:43:35] local.INFO: TCP Data received {"connection_id":128657,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5039e3d8012d1969c0071ff1d00048002d24..."} 
[2026-07-11 13:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5039e3d8012d1969c0071ff1d00048002d24..."} 
[2026-07-11 13:43:35] local.INFO: Processing buffer {"connection_id":128657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5039e3d8012d1969c0071ff1d00048002d24..."} 
[2026-07-11 13:43:35] local.INFO: Packet analysis {"connection_id":128657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5039"} 
[2026-07-11 13:43:35] local.INFO: Extracted packet for processing {"connection_id":128657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5039"} 
[2026-07-11 13:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641888768001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783757399000,"timestamp_ms":1783757399000,"timestamp_seconds":1783757399,"priority":1,"record_length":96,"hex_timestamp":"0000019f5039e3d8"} 
[2026-07-11 13:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744879598694864,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4056940616,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 13:43:35] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2818649369,"corrected_to":0} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,48,159,63,45,192,72,37,10,66,237,33,155,1,240,47,227,80,31,4,113,205,247,105,208,39,239,49,2,20,7,120,65,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":247,"original":2818649369,"validated":0}]} 
[2026-07-11 13:43:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188196381898047488,"timestamp_seconds":5188196381898047.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":128657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":128657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":128657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:43:35] 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-07-11 13:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641888768001,"66":12558,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641888768001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:43:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641888768001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":128657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:43:35] local.INFO: GPS data processed {"connection_id":128657,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:43:35] local.INFO: Acknowledgment sent {"connection_id":128657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:43:41] local.INFO: TCP Data received {"connection_id":129380,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:43:41] local.INFO: Processing buffer {"connection_id":129380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:43:41] local.INFO: Packet analysis {"connection_id":129380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:43:41] local.INFO: Extracted packet for processing {"connection_id":129380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 13:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:43: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-07-11 13:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:43: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-07-11 13:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:43:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":129380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:43:41] local.INFO: GPS data processed {"connection_id":129380,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:43:41] local.INFO: Acknowledgment sent {"connection_id":129380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:44:00] local.INFO: TCP Data received {"connection_id":128479,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:44:00] local.INFO: Processing buffer {"connection_id":128479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:44:00] local.INFO: IMEI packet received {"connection_id":128479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":128479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:44:04] local.INFO: TCP Data received {"connection_id":128480,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:44:04] local.INFO: Processing buffer {"connection_id":128480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:44:04] local.INFO: IMEI packet received {"connection_id":128480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":128480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:44:05] local.INFO: TCP Data received {"connection_id":128479,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:44:05] local.INFO: Processing buffer {"connection_id":128479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:44:05] local.INFO: IMEI packet received {"connection_id":128479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":128479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:44:06] local.INFO: TCP Data received {"connection_id":128479,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a35e0012d1969c0071ff1d00048002d23..."} 
[2026-07-11 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a35e0012d1969c0071ff1d00048002d23..."} 
[2026-07-11 13:44:06] local.INFO: Processing buffer {"connection_id":128479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a35e0012d1969c0071ff1d00048002d23..."} 
[2026-07-11 13:44:06] local.INFO: Packet analysis {"connection_id":128479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:44:06] local.INFO: Extracted packet for processing {"connection_id":128479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":35,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641894144001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783757420000,"timestamp_ms":1783757420000,"timestamp_seconds":1783757420,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a35e0"} 
[2026-07-11 13:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4056940616,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744879598694864,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,48,159,145,45,192,72,31,10,66,63,37,237,1,240,47,227,80,4,113,205,73,105,208,35,239,49,2,20,7,120,65,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 13:44:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188196403372883968,"timestamp_seconds":5188196403372884.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:44:06] 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-07-11 13:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641894144001,"66":12548,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641894144001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641894144001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":128479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:44:06] local.INFO: GPS data processed {"connection_id":128479,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:44:06] local.INFO: Acknowledgment sent {"connection_id":128479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:44:09] local.INFO: TCP Data received {"connection_id":128480,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:44:09] local.INFO: Processing buffer {"connection_id":128480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:44:09] local.INFO: IMEI packet received {"connection_id":128480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":128480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:44:10] local.INFO: TCP Data received {"connection_id":128480,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:44:10] local.INFO: Processing buffer {"connection_id":128480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:44:10] local.INFO: Packet analysis {"connection_id":128480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:44:10] local.INFO: Extracted packet for processing {"connection_id":128480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 13:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13: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":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:44:10] 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-07-11 13:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:44:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":128480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:44:10] local.INFO: GPS data processed {"connection_id":128480,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:44:10] local.INFO: Acknowledgment sent {"connection_id":128480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:44:37] local.INFO: TCP Data received {"connection_id":128479,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a87e8012d1969c0071ff1d00048002d23..."} 
[2026-07-11 13:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a87e8012d1969c0071ff1d00048002d23..."} 
[2026-07-11 13:44:37] local.INFO: Processing buffer {"connection_id":128479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a87e8012d1969c0071ff1d00048002d23..."} 
[2026-07-11 13:44:37] local.INFO: Packet analysis {"connection_id":128479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:44:37] local.INFO: Extracted packet for processing {"connection_id":128479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":35,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44: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-07-11 13:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783757441000,"timestamp_ms":1783757441000,"timestamp_seconds":1783757441,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a87e8"} 
[2026-07-11 13:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4056940616,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,48,159,227,45,192,72,36,10,66,145,31,63,1,240,80,4,113,205,155,105,208,33,239,49,2,20,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 13:44:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188196399077916672,"timestamp_seconds":5188196399077917.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:44:37] 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-07-11 13:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641899520001,"66":12558,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:44:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641899520001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":128479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:44:37] local.INFO: GPS data processed {"connection_id":128479,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:44:37] local.INFO: Acknowledgment sent {"connection_id":128479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:44:41] local.INFO: TCP Data received {"connection_id":128480,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:44:41] local.INFO: Processing buffer {"connection_id":128480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:44:41] local.INFO: Packet analysis {"connection_id":128480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:44:41] local.INFO: Extracted packet for processing {"connection_id":128480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 13:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:44: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-07-11 13:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:44: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-07-11 13:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:44:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":128480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:44:41] local.INFO: GPS data processed {"connection_id":128480,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:44:41] local.INFO: Acknowledgment sent {"connection_id":128480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:44:59] local.INFO: TCP Data received {"connection_id":128658,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:44:59] local.INFO: Processing buffer {"connection_id":128658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:44:59] local.INFO: IMEI packet received {"connection_id":128658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":128658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:45:04] local.INFO: TCP Data received {"connection_id":128481,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:45:04] local.INFO: Processing buffer {"connection_id":128481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:45:04] local.INFO: IMEI packet received {"connection_id":128481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:45:05] local.INFO: TCP Data received {"connection_id":128658,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:45:05] local.INFO: Processing buffer {"connection_id":128658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:45:05] local.INFO: IMEI packet received {"connection_id":128658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":128658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:45:05] local.INFO: TCP Data received {"connection_id":128658,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ad9f0012d1969c0071ff1d00048002d24..."} 
[2026-07-11 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ad9f0012d1969c0071ff1d00048002d24..."} 
[2026-07-11 13:45:05] local.INFO: Processing buffer {"connection_id":128658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ad9f0012d1969c0071ff1d00048002d24..."} 
[2026-07-11 13:45:05] local.INFO: Packet analysis {"connection_id":128658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:45:05] local.INFO: Extracted packet for processing {"connection_id":128658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641904896001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45: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-07-11 13:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783757462000,"timestamp_ms":1783757462000,"timestamp_seconds":1783757462,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ad9f0"} 
[2026-07-11 13:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744879598694864,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4056940616,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,48,159,53,45,192,72,35,10,66,227,36,145,1,240,14,80,31,4,113,205,237,105,208,33,239,49,2,20,7,120,65,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 13:45:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188196399077916672,"timestamp_seconds":5188196399077917.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:45:05] 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-07-11 13:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641904896001,"66":12548,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641904896001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:45:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641904896001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":128658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:45:05] local.INFO: GPS data processed {"connection_id":128658,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:45:05] local.INFO: Acknowledgment sent {"connection_id":128658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:45:09] local.INFO: TCP Data received {"connection_id":128481,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:45:09] local.INFO: Processing buffer {"connection_id":128481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:45:09] local.INFO: IMEI packet received {"connection_id":128481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":128481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:45:10] local.INFO: TCP Data received {"connection_id":128481,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:45:10] local.INFO: Processing buffer {"connection_id":128481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:45:10] local.INFO: Packet analysis {"connection_id":128481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:45:10] local.INFO: Extracted packet for processing {"connection_id":128481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 13:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:45: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-07-11 13: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:45:10] 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-07-11 13:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":128481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:45:10] local.INFO: GPS data processed {"connection_id":128481,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:45:10] local.INFO: Acknowledgment sent {"connection_id":128481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:45:36] local.INFO: TCP Data received {"connection_id":128658,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503b2bf8012d1969c0071ff1d00048002d23..."} 
[2026-07-11 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503b2bf8012d1969c0071ff1d00048002d23..."} 
[2026-07-11 13:45:36] local.INFO: Processing buffer {"connection_id":128658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503b2bf8012d1969c0071ff1d00048002d23..."} 
[2026-07-11 13:45:36] local.INFO: Packet analysis {"connection_id":128658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503b"} 
[2026-07-11 13:45:36] local.INFO: Extracted packet for processing {"connection_id":128658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503b"} 
[2026-07-11 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":35,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641910272001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783757483000,"timestamp_ms":1783757483000,"timestamp_seconds":1783757483,"priority":1,"record_length":96,"hex_timestamp":"0000019f503b2bf8"} 
[2026-07-11 13:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4056940616,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,48,159,135,45,192,72,35,10,66,53,227,1,240,14,80,31,4,113,205,63,105,208,37,239,49,2,20,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 13:45:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188196403372883968,"timestamp_seconds":5188196403372884.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641910272001,"66":12461,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641910272001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641910272001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":128658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:45:36] local.INFO: GPS data processed {"connection_id":128658,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:45:36] local.INFO: Acknowledgment sent {"connection_id":128658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:45:41] local.INFO: TCP Data received {"connection_id":128481,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:45:41] local.INFO: Processing buffer {"connection_id":128481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503a4968012cb29c0007823c60004800b32d..."} 
[2026-07-11 13:45:41] local.INFO: Packet analysis {"connection_id":128481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:45:41] local.INFO: Extracted packet for processing {"connection_id":128481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503a"} 
[2026-07-11 13:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641823744001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757425000,"timestamp_ms":1783757425000,"timestamp_seconds":1783757425,"priority":1,"record_length":96,"hex_timestamp":"0000019f503a4968"} 
[2026-07-11 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-07-11 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-07-11 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:45: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-07-11 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-07-11 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-07-11 13:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641823744001,"66":25495,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641823744001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:45:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641823744001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":128481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:45:41] local.INFO: GPS data processed {"connection_id":128481,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:45:41] local.INFO: Acknowledgment sent {"connection_id":128481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:46:04] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:46:04] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:46:04] local.INFO: IMEI packet received {"connection_id":128660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":128660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:46:04] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:46:04] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:46:04] local.INFO: IMEI packet received {"connection_id":128660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":128660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:46:05] local.INFO: TCP Data received {"connection_id":128659,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:46:05] local.INFO: Processing buffer {"connection_id":128659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:46:05] local.INFO: IMEI packet received {"connection_id":128659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":128659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:46:09] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:46:09] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:46:09] local.INFO: IMEI packet received {"connection_id":128660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":128660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:46:10] local.INFO: TCP Data received {"connection_id":128659,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:46:10] local.INFO: Processing buffer {"connection_id":128659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:46:10] local.INFO: IMEI packet received {"connection_id":128659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":128659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:46:10] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:46:10] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:46:10] local.INFO: Packet analysis {"connection_id":128660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:46:10] local.INFO: Extracted packet for processing {"connection_id":128660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:46: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-07-11 13:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:46:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":128660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:46:10] local.INFO: GPS data processed {"connection_id":128660,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:46:10] local.INFO: Acknowledgment sent {"connection_id":128660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:46:10] local.INFO: TCP Data received {"connection_id":128659,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503b7e00012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503b7e00012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:46:10] local.INFO: Processing buffer {"connection_id":128659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503b7e00012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:46:10] local.INFO: Packet analysis {"connection_id":128659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503b"} 
[2026-07-11 13:46:10] local.INFO: Extracted packet for processing {"connection_id":128659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503b"} 
[2026-07-11 13:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641915648001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757504000,"timestamp_ms":1783757504000,"timestamp_seconds":1783757504,"priority":1,"record_length":96,"hex_timestamp":"0000019f503b7e00"} 
[2026-07-11 13:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 13:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:46:10] 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-07-11 13:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641915648001,"66":12548,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641915648001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:46:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641915648001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":128659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:46:11] local.INFO: GPS data processed {"connection_id":128659,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:46:11] local.INFO: Acknowledgment sent {"connection_id":128659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:46:13] local.INFO: TCP Data received {"connection_id":128659,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503bd008012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503bd008012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:46:13] local.INFO: Processing buffer {"connection_id":128659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503bd008012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:46:13] local.INFO: Packet analysis {"connection_id":128659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503b"} 
[2026-07-11 13:46:13] local.INFO: Extracted packet for processing {"connection_id":128659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503b"} 
[2026-07-11 13:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641921024001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783757525000,"timestamp_ms":1783757525000,"timestamp_seconds":1783757525,"priority":1,"record_length":96,"hex_timestamp":"0000019f503bd008"} 
[2026-07-11 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-07-11 13:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4056940616,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:13] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,48,159,43,45,192,72,35,10,66,217,36,135,1,240,14,227,80,31,4,113,205,105,208,239,49,2,20,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 13:46:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188196407667851264,"timestamp_seconds":5188196407667851.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 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-07-11 13:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:46:13] 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-07-11 13:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641921024001,"66":12385,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641921024001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:46:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641921024001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":128659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:46:14] local.INFO: GPS data processed {"connection_id":128659,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:46:14] local.INFO: Acknowledgment sent {"connection_id":128659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:46:41] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:46:41] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:46:41] local.INFO: Packet analysis {"connection_id":128660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:46:41] local.INFO: Extracted packet for processing {"connection_id":128660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:46: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-07-11 13:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:46: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-07-11 13:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:46:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":128660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:46:41] local.INFO: GPS data processed {"connection_id":128660,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:46:41] local.INFO: Acknowledgment sent {"connection_id":128660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:46:45] local.INFO: TCP Data received {"connection_id":128659,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503c2210012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503c2210012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:46:45] local.INFO: Processing buffer {"connection_id":128659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503c2210012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:46:45] local.INFO: Packet analysis {"connection_id":128659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503c"} 
[2026-07-11 13:46:45] local.INFO: Extracted packet for processing {"connection_id":128659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503c"} 
[2026-07-11 13:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641926400001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783757546000,"timestamp_ms":1783757546000,"timestamp_seconds":1783757546,"priority":1,"record_length":96,"hex_timestamp":"0000019f503c2210"} 
[2026-07-11 13:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:46:45] 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-07-11 13:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641926400001,"66":12298,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641926400001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:46:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641926400001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":128659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:46:45] local.INFO: GPS data processed {"connection_id":128659,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:46:45] local.INFO: Acknowledgment sent {"connection_id":128659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:47:00] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:47:00] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:47:00] local.INFO: IMEI packet received {"connection_id":130609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":130609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:47:04] local.INFO: TCP Data received {"connection_id":128482,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:47:04] local.INFO: Processing buffer {"connection_id":128482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:47:04] local.INFO: IMEI packet received {"connection_id":128482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:47:04] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:47:04] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:47:04] local.INFO: IMEI packet received {"connection_id":130609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":130609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:47:05] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503c7418012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503c7418012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:47:05] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503c7418012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:47:05] local.INFO: Packet analysis {"connection_id":130609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503c"} 
[2026-07-11 13:47:05] local.INFO: Extracted packet for processing {"connection_id":130609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503c"} 
[2026-07-11 13:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641931776001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47: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-07-11 13:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783757567000,"timestamp_ms":1783757567000,"timestamp_seconds":1783757567,"priority":1,"record_length":96,"hex_timestamp":"0000019f503c7418"} 
[2026-07-11 13:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185620,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-792633534417207295,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5780902113578916201,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513394758203736109,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":72,"raw_value":12704856858951680,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3531948890253557966,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4056940616,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,48,159,208,45,192,72,38,10,66,126,37,43,1,240,173,227,80,31,4,113,205,135,105,35,239,49,2,20,7,36],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 13:47:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188196411962818560,"timestamp_seconds":5188196411962819.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:47:05] 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-07-11 13:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641931776001,"66":12504,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641931776001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641931776001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":130609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:47:05] local.INFO: GPS data processed {"connection_id":130609,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:47:05] local.INFO: Acknowledgment sent {"connection_id":130609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:47:15] local.INFO: TCP Data received {"connection_id":128482,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:47:15] local.INFO: Processing buffer {"connection_id":128482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:47:15] local.INFO: IMEI packet received {"connection_id":128482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":128482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:47:17] local.INFO: TCP Data received {"connection_id":128482,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:47:17] local.INFO: Processing buffer {"connection_id":128482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:47:17] local.INFO: Packet analysis {"connection_id":128482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:47:17] local.INFO: Extracted packet for processing {"connection_id":128482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:47:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:47:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:47:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":128482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:47:17] local.INFO: GPS data processed {"connection_id":128482,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:47:17] local.INFO: Acknowledgment sent {"connection_id":128482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:47:36] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503cc620012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503cc620012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:47:36] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503cc620012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:47:36] local.INFO: Packet analysis {"connection_id":130609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503c"} 
[2026-07-11 13:47:36] local.INFO: Extracted packet for processing {"connection_id":130609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503c"} 
[2026-07-11 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641937152001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783757588000,"timestamp_ms":1783757588000,"timestamp_seconds":1783757588,"priority":1,"record_length":96,"hex_timestamp":"0000019f503cc620"} 
[2026-07-11 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-07-11 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 13:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 13:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641937152001,"66":12461,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641937152001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641937152001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":130609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:47:36] local.INFO: GPS data processed {"connection_id":130609,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:47:36] local.INFO: Acknowledgment sent {"connection_id":130609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:47:48] local.INFO: TCP Data received {"connection_id":128482,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:47:48] local.INFO: Processing buffer {"connection_id":128482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:47:48] local.INFO: Packet analysis {"connection_id":128482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:47:48] local.INFO: Extracted packet for processing {"connection_id":128482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:47:48] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:47:48] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:47:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":128482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:47:48] local.INFO: GPS data processed {"connection_id":128482,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:47:48] local.INFO: Acknowledgment sent {"connection_id":128482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:47:57] local.INFO: TCP Data received {"connection_id":128662,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:47:57] local.INFO: Processing buffer {"connection_id":128662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:47:57] local.INFO: IMEI packet received {"connection_id":128662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":128662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:48:00] local.INFO: TCP Data received {"connection_id":128662,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:48:00] local.INFO: Processing buffer {"connection_id":128662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:48:00] local.INFO: IMEI packet received {"connection_id":128662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":128662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:48:05] local.INFO: TCP Data received {"connection_id":128662,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:48:05] local.INFO: Processing buffer {"connection_id":128662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:48:05] local.INFO: IMEI packet received {"connection_id":128662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":128662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:48:05] local.INFO: TCP Data received {"connection_id":128662,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503d1828012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503d1828012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:48:05] local.INFO: Processing buffer {"connection_id":128662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503d1828012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:48:05] local.INFO: Packet analysis {"connection_id":128662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503d"} 
[2026-07-11 13:48:05] local.INFO: Extracted packet for processing {"connection_id":128662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503d"} 
[2026-07-11 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641942528001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48: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-07-11 13:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783757609000,"timestamp_ms":1783757609000,"timestamp_seconds":1783757609,"priority":1,"record_length":96,"hex_timestamp":"0000019f503d1828"} 
[2026-07-11 13:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 13:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:48:05] 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-07-11 13:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641942528001,"66":12461,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641942528001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:48:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641942528001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":128662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:48:06] local.INFO: GPS data processed {"connection_id":128662,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:48:06] local.INFO: Acknowledgment sent {"connection_id":128662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:48:09] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:48:09] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:48:09] local.INFO: IMEI packet received {"connection_id":130611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":130611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:48:10] local.INFO: TCP Data received {"connection_id":130610,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:48:10] local.INFO: Processing buffer {"connection_id":130610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:48:10] local.INFO: IMEI packet received {"connection_id":130610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":130610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:48:14] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:48:14] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:48:14] local.INFO: IMEI packet received {"connection_id":130611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":130611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:48:15] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:48:15] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:48:15] local.INFO: Packet analysis {"connection_id":130611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:48:15] local.INFO: Extracted packet for processing {"connection_id":130611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:48:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:48:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:48:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:48:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":130611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:48:15] local.INFO: GPS data processed {"connection_id":130611,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:48:15] local.INFO: Acknowledgment sent {"connection_id":130611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:48:37] local.INFO: TCP Data received {"connection_id":128662,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f503d6a30012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503d6a30012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:48:37] local.INFO: Processing buffer {"connection_id":128662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503d6a30012d1969c0071ff1d00048002d22..."} 
[2026-07-11 13:48:37] local.INFO: Packet analysis {"connection_id":128662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503d"} 
[2026-07-11 13:48:37] local.INFO: Extracted packet for processing {"connection_id":128662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503d"} 
[2026-07-11 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":34,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641947904001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48: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-07-11 13:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783757630000,"timestamp_ms":1783757630000,"timestamp_seconds":1783757630,"priority":1,"record_length":96,"hex_timestamp":"0000019f503d6a30"} 
[2026-07-11 13:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 13:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:48:37] 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-07-11 13:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641947904001,"66":12504,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641947904001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:48:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641947904001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":128662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:48:37] local.INFO: GPS data processed {"connection_id":128662,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:48:37] local.INFO: Acknowledgment sent {"connection_id":128662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:48:46] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:48:46] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:48:46] local.INFO: Packet analysis {"connection_id":130611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:48:46] local.INFO: Extracted packet for processing {"connection_id":130611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:48:46] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13: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-07-11 13: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-07-11 13: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-07-11 13:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:48:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:48:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":130611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:48:46] local.INFO: GPS data processed {"connection_id":130611,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:48:46] local.INFO: Acknowledgment sent {"connection_id":130611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:49:00] local.INFO: TCP Data received {"connection_id":128483,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:49:00] local.INFO: Processing buffer {"connection_id":128483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:49:00] local.INFO: IMEI packet received {"connection_id":128483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":128483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:49:01] local.INFO: TCP Data received {"connection_id":128483,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:49:01] local.INFO: Processing buffer {"connection_id":128483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:49:01] local.INFO: IMEI packet received {"connection_id":128483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":128483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:49:04] local.INFO: TCP Data received {"connection_id":128663,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:49:04] local.INFO: Processing buffer {"connection_id":128663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:49:04] local.INFO: IMEI packet received {"connection_id":128663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":128663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:49:05] local.INFO: TCP Data received {"connection_id":128483,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:49:05] local.INFO: Processing buffer {"connection_id":128483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:49:05] local.INFO: IMEI packet received {"connection_id":128483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":128483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:49:05] local.INFO: TCP Data received {"connection_id":128483,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5040f088012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5040f088012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:49:05] local.INFO: Processing buffer {"connection_id":128483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5040f088012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:49:05] local.INFO: Packet analysis {"connection_id":128483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5040"} 
[2026-07-11 13:49:05] local.INFO: Extracted packet for processing {"connection_id":128483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5040"} 
[2026-07-11 13:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642007040001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49: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-07-11 13:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783757861000,"timestamp_ms":1783757861000,"timestamp_seconds":1783757861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5040f088"} 
[2026-07-11 13:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 13:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:49:05] 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-07-11 13:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642007040001,"66":12504,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642007040001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:49:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642007040001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":128483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:49:06] local.INFO: GPS data processed {"connection_id":128483,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:49:06] local.INFO: Acknowledgment sent {"connection_id":128483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:49:09] local.INFO: TCP Data received {"connection_id":128663,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:49:09] local.INFO: Processing buffer {"connection_id":128663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:49:09] local.INFO: IMEI packet received {"connection_id":128663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":128663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:49:10] local.INFO: TCP Data received {"connection_id":128663,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:49:10] local.INFO: Processing buffer {"connection_id":128663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:49:10] local.INFO: Packet analysis {"connection_id":128663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:49:10] local.INFO: Extracted packet for processing {"connection_id":128663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:49: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-07-11 13:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:49: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-07-11 13:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:49:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":128663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:49:10] local.INFO: GPS data processed {"connection_id":128663,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:49:10] local.INFO: Acknowledgment sent {"connection_id":128663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:49:35] local.INFO: TCP Data received {"connection_id":128484,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:49:35] local.INFO: Processing buffer {"connection_id":128484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:49:35] local.INFO: IMEI packet received {"connection_id":128484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":128484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:49:37] local.INFO: TCP Data received {"connection_id":128483,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50414290012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50414290012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:49:37] local.INFO: Processing buffer {"connection_id":128483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50414290012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:49:37] local.INFO: Packet analysis {"connection_id":128483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5041"} 
[2026-07-11 13:49:37] local.INFO: Extracted packet for processing {"connection_id":128483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5041"} 
[2026-07-11 13:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642012416001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49: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-07-11 13:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783757882000,"timestamp_ms":1783757882000,"timestamp_seconds":1783757882,"priority":1,"record_length":96,"hex_timestamp":"0000019f50414290"} 
[2026-07-11 13:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 13:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:49:37] 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-07-11 13:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642012416001,"66":12428,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642012416001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:49:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642012416001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":128483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:49:37] local.INFO: GPS data processed {"connection_id":128483,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:49:37] local.INFO: Acknowledgment sent {"connection_id":128483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:49:41] local.INFO: TCP Data received {"connection_id":128663,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:49:41] local.INFO: Processing buffer {"connection_id":128663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:49:41] local.INFO: Packet analysis {"connection_id":128663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:49:41] local.INFO: Extracted packet for processing {"connection_id":128663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:49: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-07-11 13: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-07-11 13: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-07-11 13:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:49:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":128663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:49:41] local.INFO: GPS data processed {"connection_id":128663,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:49:41] local.INFO: Acknowledgment sent {"connection_id":128663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:49:55] local.INFO: TCP Data received {"connection_id":128664,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:49:55] local.INFO: Processing buffer {"connection_id":128664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:49:55] local.INFO: IMEI packet received {"connection_id":128664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":128664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:50:00] local.INFO: TCP Data received {"connection_id":128485,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:50:00] local.INFO: Processing buffer {"connection_id":128485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:50:00] local.INFO: IMEI packet received {"connection_id":128485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":128485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:50:04] local.INFO: TCP Data received {"connection_id":128485,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:50:04] local.INFO: Processing buffer {"connection_id":128485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:50:04] local.INFO: IMEI packet received {"connection_id":128485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":128485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:50:04] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:50:04] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:50:04] local.INFO: IMEI packet received {"connection_id":130612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":130612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:50:05] local.INFO: TCP Data received {"connection_id":128485,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50419498012d1969c0071ff1d00048002d28..."} 
[2026-07-11 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50419498012d1969c0071ff1d00048002d28..."} 
[2026-07-11 13:50:05] local.INFO: Processing buffer {"connection_id":128485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50419498012d1969c0071ff1d00048002d28..."} 
[2026-07-11 13:50:05] local.INFO: Packet analysis {"connection_id":128485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5041"} 
[2026-07-11 13:50:05] local.INFO: Extracted packet for processing {"connection_id":128485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5041"} 
[2026-07-11 13:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642017792001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50: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-07-11 13:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783757903000,"timestamp_ms":1783757903000,"timestamp_seconds":1783757903,"priority":1,"record_length":96,"hex_timestamp":"0000019f50419498"} 
[2026-07-11 13:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 13:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:50:05] 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-07-11 13:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642017792001,"66":12232,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642017792001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:50:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642017792001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":128485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:50:05] local.INFO: GPS data processed {"connection_id":128485,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:50:05] local.INFO: Acknowledgment sent {"connection_id":128485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:50:09] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:50:09] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:50:09] local.INFO: IMEI packet received {"connection_id":130612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":130612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:50:10] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:50:10] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:50:10] local.INFO: Packet analysis {"connection_id":130612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:50:10] local.INFO: Extracted packet for processing {"connection_id":130612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:50: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-07-11 13:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:50: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-07-11 13:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:50:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":130612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:50:10] local.INFO: GPS data processed {"connection_id":130612,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:50:10] local.INFO: Acknowledgment sent {"connection_id":130612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:50:36] local.INFO: TCP Data received {"connection_id":128485,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5041e6a0012d1969c0071ff1d00048002d28..."} 
[2026-07-11 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5041e6a0012d1969c0071ff1d00048002d28..."} 
[2026-07-11 13:50:36] local.INFO: Processing buffer {"connection_id":128485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5041e6a0012d1969c0071ff1d00048002d28..."} 
[2026-07-11 13:50:36] local.INFO: Packet analysis {"connection_id":128485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5041"} 
[2026-07-11 13:50:36] local.INFO: Extracted packet for processing {"connection_id":128485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5041"} 
[2026-07-11 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642023168001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783757924000,"timestamp_ms":1783757924000,"timestamp_seconds":1783757924,"priority":1,"record_length":96,"hex_timestamp":"0000019f5041e6a0"} 
[2026-07-11 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-07-11 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 13:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 13:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642023168001,"66":12461,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642023168001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:50:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642023168001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":128485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:50:36] local.INFO: GPS data processed {"connection_id":128485,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:50:36] local.INFO: Acknowledgment sent {"connection_id":128485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:50:41] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:50:41] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f503ee130012cb29c0007823c60004800b32b..."} 
[2026-07-11 13:50:41] local.INFO: Packet analysis {"connection_id":130612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:50:41] local.INFO: Extracted packet for processing {"connection_id":130612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f503e"} 
[2026-07-11 13:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641900800001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783757726000,"timestamp_ms":1783757726000,"timestamp_seconds":1783757726,"priority":1,"record_length":96,"hex_timestamp":"0000019f503ee130"} 
[2026-07-11 13:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:50: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-07-11 13:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:50: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-07-11 13:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641900800001,"66":25473,"184":206,"85":36096,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 13:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641900800001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:50:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 13:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 13:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641900800001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":130612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:50:41] local.INFO: GPS data processed {"connection_id":130612,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:50:41] local.INFO: Acknowledgment sent {"connection_id":130612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:50:59] local.INFO: TCP Data received {"connection_id":129385,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:50:59] local.INFO: Processing buffer {"connection_id":129385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:50:59] local.INFO: IMEI packet received {"connection_id":129385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":129385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:51:02] local.INFO: TCP Data received {"connection_id":129385,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:51:02] local.INFO: Processing buffer {"connection_id":129385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:51:02] local.INFO: IMEI packet received {"connection_id":129385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":129385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:51:05] local.INFO: TCP Data received {"connection_id":129385,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:51:05] local.INFO: Processing buffer {"connection_id":129385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:51:05] local.INFO: IMEI packet received {"connection_id":129385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":129385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:51:05] local.INFO: TCP Data received {"connection_id":128665,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:51:05] local.INFO: Processing buffer {"connection_id":128665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:51:05] local.INFO: IMEI packet received {"connection_id":128665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":128665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:51:05] local.INFO: TCP Data received {"connection_id":128665,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:51:05] local.INFO: Processing buffer {"connection_id":128665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:51:05] local.INFO: IMEI packet received {"connection_id":128665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":128665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:51:05] local.INFO: TCP Data received {"connection_id":129385,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504238a8012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504238a8012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:51:05] local.INFO: Processing buffer {"connection_id":129385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504238a8012d1969c0071ff1d00048002d27..."} 
[2026-07-11 13:51:05] local.INFO: Packet analysis {"connection_id":129385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5042"} 
[2026-07-11 13:51:05] local.INFO: Extracted packet for processing {"connection_id":129385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5042"} 
[2026-07-11 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642028544001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51: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-07-11 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783757945000,"timestamp_ms":1783757945000,"timestamp_seconds":1783757945,"priority":1,"record_length":96,"hex_timestamp":"0000019f504238a8"} 
[2026-07-11 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 13:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:51:05] 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-07-11 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642028544001,"66":12428,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642028544001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642028544001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":129385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:51:06] local.INFO: GPS data processed {"connection_id":129385,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:51:06] local.INFO: Acknowledgment sent {"connection_id":129385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:51:09] local.INFO: TCP Data received {"connection_id":128665,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:51:09] local.INFO: Processing buffer {"connection_id":128665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:51:09] local.INFO: IMEI packet received {"connection_id":128665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":128665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:51:10] local.INFO: TCP Data received {"connection_id":128665,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:51:10] local.INFO: Processing buffer {"connection_id":128665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:51:10] local.INFO: Packet analysis {"connection_id":128665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:51:10] local.INFO: Extracted packet for processing {"connection_id":128665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 13:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:51: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-07-11 13:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:51: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-07-11 13:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:51:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":128665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:51:10] local.INFO: GPS data processed {"connection_id":128665,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:51:10] local.INFO: Acknowledgment sent {"connection_id":128665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:51:37] local.INFO: TCP Data received {"connection_id":129385,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50428ab0012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50428ab0012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:51:37] local.INFO: Processing buffer {"connection_id":129385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50428ab0012d1969c0071ff1d00048002d26..."} 
[2026-07-11 13:51:37] local.INFO: Packet analysis {"connection_id":129385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5042"} 
[2026-07-11 13:51:37] local.INFO: Extracted packet for processing {"connection_id":129385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5042"} 
[2026-07-11 13:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642033920001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51: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-07-11 13:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783757966000,"timestamp_ms":1783757966000,"timestamp_seconds":1783757966,"priority":1,"record_length":96,"hex_timestamp":"0000019f50428ab0"} 
[2026-07-11 13:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 13:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:51:37] 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-07-11 13:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642033920001,"66":12428,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642033920001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:51:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642033920001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":129385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:51:37] local.INFO: GPS data processed {"connection_id":129385,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:51:37] local.INFO: Acknowledgment sent {"connection_id":129385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:51:41] local.INFO: TCP Data received {"connection_id":128665,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:51:41] local.INFO: Processing buffer {"connection_id":128665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:51:41] local.INFO: Packet analysis {"connection_id":128665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:51:41] local.INFO: Extracted packet for processing {"connection_id":128665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 13:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:51: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-07-11 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:51: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-07-11 13:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:51:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":128665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:51:41] local.INFO: GPS data processed {"connection_id":128665,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:51:41] local.INFO: Acknowledgment sent {"connection_id":128665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:51:59] local.INFO: TCP Data received {"connection_id":129387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:51:59] local.INFO: Processing buffer {"connection_id":129387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:51:59] local.INFO: IMEI packet received {"connection_id":129387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":129387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:52:05] local.INFO: TCP Data received {"connection_id":129387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:52:05] local.INFO: Processing buffer {"connection_id":129387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:52:05] local.INFO: IMEI packet received {"connection_id":129387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":129387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:52:05] local.INFO: TCP Data received {"connection_id":129387,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5042dcb8012d1969c0071ff1d00048002d24..."} 
[2026-07-11 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5042dcb8012d1969c0071ff1d00048002d24..."} 
[2026-07-11 13:52:05] local.INFO: Processing buffer {"connection_id":129387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5042dcb8012d1969c0071ff1d00048002d24..."} 
[2026-07-11 13:52:05] local.INFO: Packet analysis {"connection_id":129387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5042"} 
[2026-07-11 13:52:05] local.INFO: Extracted packet for processing {"connection_id":129387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5042"} 
[2026-07-11 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642039296001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52: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-07-11 13:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783757987000,"timestamp_ms":1783757987000,"timestamp_seconds":1783757987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5042dcb8"} 
[2026-07-11 13:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 13:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:52:05] 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-07-11 13:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642039296001,"66":12439,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642039296001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642039296001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":129387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:52:05] local.INFO: GPS data processed {"connection_id":129387,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:52:05] local.INFO: Acknowledgment sent {"connection_id":129387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:52:09] local.INFO: TCP Data received {"connection_id":128666,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:52:09] local.INFO: Processing buffer {"connection_id":128666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:52:09] local.INFO: IMEI packet received {"connection_id":128666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":128666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:52:14] local.INFO: TCP Data received {"connection_id":128666,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:52:14] local.INFO: Processing buffer {"connection_id":128666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:52:14] local.INFO: IMEI packet received {"connection_id":128666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":128666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:52:15] local.INFO: TCP Data received {"connection_id":128666,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:52:15] local.INFO: Processing buffer {"connection_id":128666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:52:15] local.INFO: Packet analysis {"connection_id":128666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:52:15] local.INFO: Extracted packet for processing {"connection_id":128666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:52:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 13:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:52:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:52:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":128666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:52:15] local.INFO: GPS data processed {"connection_id":128666,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:52:15] local.INFO: Acknowledgment sent {"connection_id":128666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:52:19] local.INFO: TCP Data received {"connection_id":128666,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:52:19] local.INFO: Processing buffer {"connection_id":128666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:52:19] local.INFO: Packet analysis {"connection_id":128666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:52:19] local.INFO: Extracted packet for processing {"connection_id":128666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:52:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 13:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:52:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:52:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:52:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":128666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:52:19] local.INFO: GPS data processed {"connection_id":128666,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:52:19] local.INFO: Acknowledgment sent {"connection_id":128666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:52:36] local.INFO: TCP Data received {"connection_id":129387,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50432ec0012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50432ec0012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:52:36] local.INFO: Processing buffer {"connection_id":129387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50432ec0012d1969c0071ff1d00048002d25..."} 
[2026-07-11 13:52:36] local.INFO: Packet analysis {"connection_id":129387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:52:36] local.INFO: Extracted packet for processing {"connection_id":129387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119534032,"longitude_deg":75.6640192,"latitude_deg":11.9534032,"altitude":72,"angle":45,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642044672001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683328359333888,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783758008000,"timestamp_ms":1783758008000,"timestamp_seconds":1783758008,"priority":1,"record_length":96,"hex_timestamp":"0000019f50432ec0"} 
[2026-07-11 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-07-11 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 13:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642044672001,"66":12385,"102":206,"83":41984,"24":0,"16":5683328359333888,"45":1831205860336062464},"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-07-11 13:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642044672001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683328359333888,"km_value":5683328359333.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642044672001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":129387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:52:36] local.INFO: GPS data processed {"connection_id":129387,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:52:36] local.INFO: Acknowledgment sent {"connection_id":129387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:53:04] local.INFO: TCP Data received {"connection_id":128668,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:53:04] local.INFO: Processing buffer {"connection_id":128668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:53:04] local.INFO: IMEI packet received {"connection_id":128668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":128668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:53:05] local.INFO: TCP Data received {"connection_id":128667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:53:05] local.INFO: Processing buffer {"connection_id":128667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:53:05] local.INFO: IMEI packet received {"connection_id":128667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":128667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:53:08] local.INFO: TCP Data received {"connection_id":128667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:53:08] local.INFO: Processing buffer {"connection_id":128667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:53:08] local.INFO: IMEI packet received {"connection_id":128667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":128667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:53:08] local.INFO: TCP Data received {"connection_id":128667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50436d40012d196600071ff170003c009425..."} 
[2026-07-11 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50436d40012d196600071ff170003c009425..."} 
[2026-07-11 13:53:08] local.INFO: Processing buffer {"connection_id":128667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50436d40012d196600071ff170003c009425..."} 
[2026-07-11 13:53:08] local.INFO: Packet analysis {"connection_id":128667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:53:08] local.INFO: Extracted packet for processing {"connection_id":128667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533936,"longitude_deg":75.6639232,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642050048001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683371309006848,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336062464,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53: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-07-11 13:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783758024000,"timestamp_ms":1783758024000,"timestamp_seconds":1783758024,"priority":1,"record_length":96,"hex_timestamp":"0000019f50436d40"} 
[2026-07-11 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-07-11 13:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 13:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:53:08] 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-07-11 13:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642050048001,"66":12406,"102":206,"83":41984,"24":0,"16":5683371309006848,"45":1831205860336062464},"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-07-11 13:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642050048001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:53:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:53:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683371309006848,"km_value":5683371309006.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336062464,"description":"Unknown IO ID 45"} 
[2026-07-11 13:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642050048001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336062464}} 
[2026-07-11 13:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":128667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:53:09] local.INFO: GPS data processed {"connection_id":128667,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:53:09] local.INFO: Acknowledgment sent {"connection_id":128667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:53:09] local.INFO: TCP Data received {"connection_id":128668,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:53:09] local.INFO: Processing buffer {"connection_id":128668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:53:09] local.INFO: IMEI packet received {"connection_id":128668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":128668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:53:10] local.INFO: TCP Data received {"connection_id":128667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5043bf48012d1965c0071ff170003c009426..."} 
[2026-07-11 13:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5043bf48012d1965c0071ff170003c009426..."} 
[2026-07-11 13:53:10] local.INFO: Processing buffer {"connection_id":128667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5043bf48012d1965c0071ff170003c009426..."} 
[2026-07-11 13:53:10] local.INFO: Packet analysis {"connection_id":128667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:53:10] local.INFO: Extracted packet for processing {"connection_id":128667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054144001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173372928,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758045000,"timestamp_ms":1783758045000,"timestamp_seconds":1783758045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5043bf48"} 
[2026-07-11 13:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 13:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:53:10] 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-07-11 13:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054144001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830150329173372928},"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-07-11 13:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054144001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:53:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173372928,"description":"Unknown IO ID 45"} 
[2026-07-11 13:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054144001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173372928}} 
[2026-07-11 13:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":128667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:53:10] local.INFO: GPS data processed {"connection_id":128667,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:53:10] local.INFO: Acknowledgment sent {"connection_id":128667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:53:10] local.INFO: TCP Data received {"connection_id":128668,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:53:10] local.INFO: Processing buffer {"connection_id":128668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:53:10] local.INFO: Packet analysis {"connection_id":128668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:53:10] local.INFO: Extracted packet for processing {"connection_id":128668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:53:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 13:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:53: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-07-11 13:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:53: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-07-11 13:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:53:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":128668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:53:10] local.INFO: GPS data processed {"connection_id":128668,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:53:10] local.INFO: Acknowledgment sent {"connection_id":128668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:53:41] local.INFO: TCP Data received {"connection_id":128667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50441150012d1965c0071ff170003c009426..."} 
[2026-07-11 13:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50441150012d1965c0071ff170003c009426..."} 
[2026-07-11 13:53:41] local.INFO: Processing buffer {"connection_id":128667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50441150012d1965c0071ff170003c009426..."} 
[2026-07-11 13:53:41] local.INFO: Packet analysis {"connection_id":128667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5044"} 
[2026-07-11 13:53:41] local.INFO: Extracted packet for processing {"connection_id":128667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5044"} 
[2026-07-11 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642059520001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758066000,"timestamp_ms":1783758066000,"timestamp_seconds":1783758066,"priority":1,"record_length":96,"hex_timestamp":"0000019f50441150"} 
[2026-07-11 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-07-11 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 13:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:53:41] 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-07-11 13:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642059520001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642059520001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:53:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642059520001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":128667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:53:41] local.INFO: GPS data processed {"connection_id":128667,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:53:41] local.INFO: Acknowledgment sent {"connection_id":128667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:53:41] local.INFO: TCP Data received {"connection_id":128668,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:53:41] local.INFO: Processing buffer {"connection_id":128668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:53:41] local.INFO: Packet analysis {"connection_id":128668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:53:41] local.INFO: Extracted packet for processing {"connection_id":128668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 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-07-11 13: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-07-11 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":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:53: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-07-11 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-07-11 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-07-11 13:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:53:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":128668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:53:41] local.INFO: GPS data processed {"connection_id":128668,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:53:41] local.INFO: Acknowledgment sent {"connection_id":128668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:54:00] local.INFO: TCP Data received {"connection_id":128669,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:54:00] local.INFO: Processing buffer {"connection_id":128669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:54:00] local.INFO: IMEI packet received {"connection_id":128669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":128669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:54:04] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:54:04] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:54:04] local.INFO: IMEI packet received {"connection_id":130614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":130614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:54:05] local.INFO: TCP Data received {"connection_id":128669,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:54:05] local.INFO: Processing buffer {"connection_id":128669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:54:05] local.INFO: IMEI packet received {"connection_id":128669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":128669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:54:05] local.INFO: TCP Data received {"connection_id":128669,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50446358012d1965c0071ff170003c009425..."} 
[2026-07-11 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50446358012d1965c0071ff170003c009425..."} 
[2026-07-11 13:54:05] local.INFO: Processing buffer {"connection_id":128669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50446358012d1965c0071ff170003c009425..."} 
[2026-07-11 13:54:05] local.INFO: Packet analysis {"connection_id":128669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5044"} 
[2026-07-11 13:54:05] local.INFO: Extracted packet for processing {"connection_id":128669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5044"} 
[2026-07-11 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642064896001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54: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-07-11 13:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783758087000,"timestamp_ms":1783758087000,"timestamp_seconds":1783758087,"priority":1,"record_length":96,"hex_timestamp":"0000019f50446358"} 
[2026-07-11 13:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:54:05] 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-07-11 13:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642064896001,"66":12461,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642064896001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:54:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642064896001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":128669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:54:06] local.INFO: GPS data processed {"connection_id":128669,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:54:06] local.INFO: Acknowledgment sent {"connection_id":128669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:54:09] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:54:09] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:54:09] local.INFO: IMEI packet received {"connection_id":130614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":130614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:54:10] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:54:10] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:54:10] local.INFO: Packet analysis {"connection_id":130614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:54:10] local.INFO: Extracted packet for processing {"connection_id":130614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 13:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:54: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-07-11 13:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:54: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-07-11 13:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:54:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":130614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:54:10] local.INFO: GPS data processed {"connection_id":130614,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:54:10] local.INFO: Acknowledgment sent {"connection_id":130614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:54:37] local.INFO: TCP Data received {"connection_id":128669,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5044b560012d1965c0071ff170003c009427..."} 
[2026-07-11 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5044b560012d1965c0071ff170003c009427..."} 
[2026-07-11 13:54:37] local.INFO: Processing buffer {"connection_id":128669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5044b560012d1965c0071ff170003c009427..."} 
[2026-07-11 13:54:37] local.INFO: Packet analysis {"connection_id":128669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5044"} 
[2026-07-11 13:54:37] local.INFO: Extracted packet for processing {"connection_id":128669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5044"} 
[2026-07-11 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642070272001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13: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-07-11 13:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783758108000,"timestamp_ms":1783758108000,"timestamp_seconds":1783758108,"priority":1,"record_length":96,"hex_timestamp":"0000019f5044b560"} 
[2026-07-11 13:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 13:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:54:37] 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-07-11 13:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642070272001,"66":12428,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642070272001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:54:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642070272001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":128669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:54:37] local.INFO: GPS data processed {"connection_id":128669,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:54:37] local.INFO: Acknowledgment sent {"connection_id":128669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:54:41] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:54:41] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:54:41] local.INFO: Packet analysis {"connection_id":130614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:54:41] local.INFO: Extracted packet for processing {"connection_id":130614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 13:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13: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-07-11 13: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":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:54: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-07-11 13:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:54:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":130614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:54:41] local.INFO: GPS data processed {"connection_id":130614,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:54:41] local.INFO: Acknowledgment sent {"connection_id":130614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:55:00] local.INFO: TCP Data received {"connection_id":130615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:55:00] local.INFO: Processing buffer {"connection_id":130615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:55:00] local.INFO: IMEI packet received {"connection_id":130615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":130615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:55:04] local.INFO: TCP Data received {"connection_id":128670,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:55:04] local.INFO: Processing buffer {"connection_id":128670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:55:04] local.INFO: IMEI packet received {"connection_id":128670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":128670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:55:05] local.INFO: TCP Data received {"connection_id":130615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:55:05] local.INFO: Processing buffer {"connection_id":130615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:55:05] local.INFO: IMEI packet received {"connection_id":130615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":130615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:55:06] local.INFO: TCP Data received {"connection_id":130615,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50450768012d1965c0071ff170003c009427..."} 
[2026-07-11 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50450768012d1965c0071ff170003c009427..."} 
[2026-07-11 13:55:06] local.INFO: Processing buffer {"connection_id":130615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50450768012d1965c0071ff170003c009427..."} 
[2026-07-11 13:55:06] local.INFO: Packet analysis {"connection_id":130615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5045"} 
[2026-07-11 13:55:06] local.INFO: Extracted packet for processing {"connection_id":130615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5045"} 
[2026-07-11 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642075648001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783758129000,"timestamp_ms":1783758129000,"timestamp_seconds":1783758129,"priority":1,"record_length":96,"hex_timestamp":"0000019f50450768"} 
[2026-07-11 13:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 13:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:55:06] 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-07-11 13:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642075648001,"66":12048,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642075648001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:55:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642075648001,"power":12048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":130615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:55:06] local.INFO: GPS data processed {"connection_id":130615,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:55:06] local.INFO: Acknowledgment sent {"connection_id":130615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:55:09] local.INFO: TCP Data received {"connection_id":128670,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:55:09] local.INFO: Processing buffer {"connection_id":128670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:55:09] local.INFO: IMEI packet received {"connection_id":128670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":128670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:55:10] local.INFO: TCP Data received {"connection_id":128670,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:55:10] local.INFO: Processing buffer {"connection_id":128670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:55:10] local.INFO: Packet analysis {"connection_id":128670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:55:10] local.INFO: Extracted packet for processing {"connection_id":128670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 13:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:55: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-07-11 13:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:55: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-07-11 13:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:55:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":128670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:55:10] local.INFO: GPS data processed {"connection_id":128670,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:55:10] local.INFO: Acknowledgment sent {"connection_id":128670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:55:24] local.INFO: TCP Data received {"connection_id":128487,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:55:24] local.INFO: Processing buffer {"connection_id":128487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:55:24] local.INFO: IMEI packet received {"connection_id":128487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":128487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:55:36] local.INFO: TCP Data received {"connection_id":130615,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50455970012d1965c0071ff170003c009425..."} 
[2026-07-11 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50455970012d1965c0071ff170003c009425..."} 
[2026-07-11 13:55:36] local.INFO: Processing buffer {"connection_id":130615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50455970012d1965c0071ff170003c009425..."} 
[2026-07-11 13:55:36] local.INFO: Packet analysis {"connection_id":130615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5045"} 
[2026-07-11 13:55:36] local.INFO: Extracted packet for processing {"connection_id":130615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5045"} 
[2026-07-11 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642081024001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783758150000,"timestamp_ms":1783758150000,"timestamp_seconds":1783758150,"priority":1,"record_length":96,"hex_timestamp":"0000019f50455970"} 
[2026-07-11 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-07-11 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1454932059989475328,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503686348079104,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630773574563942,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4828122687631327488,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182126630404352,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301849584189582629,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194905856,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84751909973860337,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.WARNING: Large IO value detected {"io_id":208,"raw_value":20266392200675328,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,49,159,181,45,192,60,39,10,66,99,37,17,1,240,97,227,80,31,4,113,205,109,112,239,48,2,20,7,69,184,208],"length":583,"final_offset":713,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-07-11 13:55:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618537500311552,"timestamp_seconds":4323618537500311.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 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-07-11 13:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642081024001,"66":12037,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642081024001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642081024001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":130615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:55:36] local.INFO: GPS data processed {"connection_id":130615,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:55:36] local.INFO: Acknowledgment sent {"connection_id":130615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:55:44] local.INFO: TCP Data received {"connection_id":128670,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:55:44] local.INFO: Processing buffer {"connection_id":128670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504378f8012cb29c0007823c60004d00b327..."} 
[2026-07-11 13:55:44] local.INFO: Packet analysis {"connection_id":128670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:55:44] local.INFO: Extracted packet for processing {"connection_id":128670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5043"} 
[2026-07-11 13:55:44] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456641977856001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783758027000,"timestamp_ms":1783758027000,"timestamp_seconds":1783758027,"priority":1,"record_length":96,"hex_timestamp":"0000019f504378f8"} 
[2026-07-11 13:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 13: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":129,"data_length":795,"current_offset":136} 
[2026-07-11 13:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456641977856001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456641977856001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:55:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:55:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:55:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456641977856001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":128670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:55:44] local.INFO: GPS data processed {"connection_id":128670,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:55:44] local.INFO: Acknowledgment sent {"connection_id":128670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:55:51] local.INFO: TCP Data received {"connection_id":128671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:55:51] local.INFO: Processing buffer {"connection_id":128671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 13:55:51] local.INFO: IMEI packet received {"connection_id":128671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 13:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":128671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:56:00] local.INFO: TCP Data received {"connection_id":129388,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:00] local.INFO: Processing buffer {"connection_id":129388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:00] local.INFO: IMEI packet received {"connection_id":129388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":129388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:56:04] local.INFO: TCP Data received {"connection_id":128488,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:56:04] local.INFO: Processing buffer {"connection_id":128488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:56:04] local.INFO: IMEI packet received {"connection_id":128488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":128488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:56:04] local.INFO: TCP Data received {"connection_id":129388,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:04] local.INFO: Processing buffer {"connection_id":129388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:04] local.INFO: IMEI packet received {"connection_id":129388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":129388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:56:05] local.INFO: TCP Data received {"connection_id":129388,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5045ab78012d1965c0071ff170003c009429..."} 
[2026-07-11 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5045ab78012d1965c0071ff170003c009429..."} 
[2026-07-11 13:56:05] local.INFO: Processing buffer {"connection_id":129388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5045ab78012d1965c0071ff170003c009429..."} 
[2026-07-11 13:56:05] local.INFO: Packet analysis {"connection_id":129388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5045"} 
[2026-07-11 13:56:05] local.INFO: Extracted packet for processing {"connection_id":129388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5045"} 
[2026-07-11 13:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642086400001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56: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-07-11 13:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783758171000,"timestamp_ms":1783758171000,"timestamp_seconds":1783758171,"priority":1,"record_length":96,"hex_timestamp":"0000019f5045ab78"} 
[2026-07-11 13:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:56: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-07-11 13:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030872015909,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182126630404352,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194911232,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,49,159,7,45,192,60,39,10,66,181,99,1,240,173,227,80,31,4,113,205,191,101,112,38,239,48,2,20,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-07-11 13:56:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618528910376960,"timestamp_seconds":4323618528910377.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 13:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:56:05] 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-07-11 13:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642086400001,"66":12428,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642086400001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642086400001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":129388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:56:05] local.INFO: GPS data processed {"connection_id":129388,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:56:05] local.INFO: Acknowledgment sent {"connection_id":129388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:56:06] local.INFO: TCP Data received {"connection_id":128488,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:56:06] local.INFO: Processing buffer {"connection_id":128488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:56:06] local.INFO: IMEI packet received {"connection_id":128488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":128488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:56:09] local.INFO: TCP Data received {"connection_id":128488,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:56:09] local.INFO: Processing buffer {"connection_id":128488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:56:09] local.INFO: IMEI packet received {"connection_id":128488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":128488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:56:10] local.INFO: TCP Data received {"connection_id":128488,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:56:10] local.INFO: Processing buffer {"connection_id":128488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:56:10] local.INFO: Packet analysis {"connection_id":128488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:56:10] local.INFO: Extracted packet for processing {"connection_id":128488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 13:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:56: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-07-11 13: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:56:10] 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-07-11 13:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:56:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":128488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:56:10] local.INFO: GPS data processed {"connection_id":128488,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:56:10] local.INFO: Acknowledgment sent {"connection_id":128488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:56:36] local.INFO: TCP Data received {"connection_id":129388,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5045fd80012d1965c0071ff170003c009428..."} 
[2026-07-11 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5045fd80012d1965c0071ff170003c009428..."} 
[2026-07-11 13:56:36] local.INFO: Processing buffer {"connection_id":129388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5045fd80012d1965c0071ff170003c009428..."} 
[2026-07-11 13:56:36] local.INFO: Packet analysis {"connection_id":129388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5045"} 
[2026-07-11 13:56:36] local.INFO: Extracted packet for processing {"connection_id":129388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5045"} 
[2026-07-11 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642091776001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783758192000,"timestamp_ms":1783758192000,"timestamp_seconds":1783758192,"priority":1,"record_length":96,"hex_timestamp":"0000019f5045fd80"} 
[2026-07-11 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-07-11 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 13:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 13:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642091776001,"66":12428,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642091776001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642091776001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":129388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:56:36] local.INFO: GPS data processed {"connection_id":129388,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:56:36] local.INFO: Acknowledgment sent {"connection_id":129388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:56:41] local.INFO: TCP Data received {"connection_id":128488,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:56:41] local.INFO: Processing buffer {"connection_id":128488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:56:41] local.INFO: Packet analysis {"connection_id":128488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:56:41] local.INFO: Extracted packet for processing {"connection_id":128488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 13:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:56: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-07-11 13: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:56: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-07-11 13:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:56:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":128488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:56:41] local.INFO: GPS data processed {"connection_id":128488,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:56:41] local.INFO: Acknowledgment sent {"connection_id":128488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:56:58] local.INFO: TCP Data received {"connection_id":128672,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:58] local.INFO: Processing buffer {"connection_id":128672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:58] local.INFO: IMEI packet received {"connection_id":128672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":128672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:56:59] local.INFO: TCP Data received {"connection_id":128672,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:59] local.INFO: Processing buffer {"connection_id":128672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:56:59] local.INFO: IMEI packet received {"connection_id":128672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":128672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:57:04] local.INFO: TCP Data received {"connection_id":130617,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:57:04] local.INFO: Processing buffer {"connection_id":130617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:57:04] local.INFO: IMEI packet received {"connection_id":130617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":130617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:57:04] local.INFO: TCP Data received {"connection_id":128672,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:57:04] local.INFO: Processing buffer {"connection_id":128672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:57:04] local.INFO: IMEI packet received {"connection_id":128672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":128672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:57:05] local.INFO: TCP Data received {"connection_id":128672,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50464f88012d1965c0071ff170003c009426..."} 
[2026-07-11 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50464f88012d1965c0071ff170003c009426..."} 
[2026-07-11 13:57:05] local.INFO: Processing buffer {"connection_id":128672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50464f88012d1965c0071ff170003c009426..."} 
[2026-07-11 13:57:05] local.INFO: Packet analysis {"connection_id":128672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5046"} 
[2026-07-11 13:57:05] local.INFO: Extracted packet for processing {"connection_id":128672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5046"} 
[2026-07-11 13:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642097152001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57: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-07-11 13:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783758213000,"timestamp_ms":1783758213000,"timestamp_seconds":1783758213,"priority":1,"record_length":96,"hex_timestamp":"0000019f50464f88"} 
[2026-07-11 13:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:57: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-07-11 13:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 13:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:57:05] 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-07-11 13:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642097152001,"66":12428,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642097152001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:57:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642097152001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":128672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:57:05] local.INFO: GPS data processed {"connection_id":128672,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:57:05] local.INFO: Acknowledgment sent {"connection_id":128672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:57:09] local.INFO: TCP Data received {"connection_id":130617,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:57:09] local.INFO: Processing buffer {"connection_id":130617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:57:09] local.INFO: IMEI packet received {"connection_id":130617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":130617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:57:10] local.INFO: TCP Data received {"connection_id":130617,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:57:10] local.INFO: Processing buffer {"connection_id":130617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:57:10] local.INFO: Packet analysis {"connection_id":130617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:57:10] local.INFO: Extracted packet for processing {"connection_id":130617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 13:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:57: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-07-11 13:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:57:10] 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-07-11 13:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:57:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":130617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:57:10] local.INFO: GPS data processed {"connection_id":130617,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:57:10] local.INFO: Acknowledgment sent {"connection_id":130617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:57:36] local.INFO: TCP Data received {"connection_id":128672,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5046a190012d1965c0071ff170003c009426..."} 
[2026-07-11 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5046a190012d1965c0071ff170003c009426..."} 
[2026-07-11 13:57:36] local.INFO: Processing buffer {"connection_id":128672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5046a190012d1965c0071ff170003c009426..."} 
[2026-07-11 13:57:36] local.INFO: Packet analysis {"connection_id":128672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5046"} 
[2026-07-11 13:57:36] local.INFO: Extracted packet for processing {"connection_id":128672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5046"} 
[2026-07-11 13:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13: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-07-11 13:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642102528001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783758234000,"timestamp_ms":1783758234000,"timestamp_seconds":1783758234,"priority":1,"record_length":96,"hex_timestamp":"0000019f5046a190"} 
[2026-07-11 13:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 13:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13: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-07-11 13:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642102528001,"66":12439,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642102528001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642102528001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":128672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:57:36] local.INFO: GPS data processed {"connection_id":128672,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:57:36] local.INFO: Acknowledgment sent {"connection_id":128672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:57:41] local.INFO: TCP Data received {"connection_id":130617,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:57:41] local.INFO: Processing buffer {"connection_id":130617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:57:41] local.INFO: Packet analysis {"connection_id":130617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:57:41] local.INFO: Extracted packet for processing {"connection_id":130617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:57:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 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-07-11 13:57: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-07-11 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":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:57: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-07-11 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-07-11 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-07-11 13:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:57:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:57:41] local.INFO: GPS data processed {"connection_id":130617,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:57:41] local.INFO: Acknowledgment sent {"connection_id":130617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:57:59] local.INFO: TCP Data received {"connection_id":128673,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:57:59] local.INFO: Processing buffer {"connection_id":128673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:57:59] local.INFO: IMEI packet received {"connection_id":128673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":128673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:58:02] local.INFO: TCP Data received {"connection_id":128673,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:58:02] local.INFO: Processing buffer {"connection_id":128673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:58:02] local.INFO: IMEI packet received {"connection_id":128673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":128673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:58:04] local.INFO: TCP Data received {"connection_id":128674,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:58:04] local.INFO: Processing buffer {"connection_id":128674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:58:04] local.INFO: IMEI packet received {"connection_id":128674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":128674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:58:04] local.INFO: TCP Data received {"connection_id":128673,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:58:05] local.INFO: Processing buffer {"connection_id":128673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:58:05] local.INFO: IMEI packet received {"connection_id":128673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:58:05] local.INFO: TCP Data received {"connection_id":128673,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5046f398012d1965c0071ff170003c009427..."} 
[2026-07-11 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5046f398012d1965c0071ff170003c009427..."} 
[2026-07-11 13:58:05] local.INFO: Processing buffer {"connection_id":128673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5046f398012d1965c0071ff170003c009427..."} 
[2026-07-11 13:58:05] local.INFO: Packet analysis {"connection_id":128673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5046"} 
[2026-07-11 13:58:05] local.INFO: Extracted packet for processing {"connection_id":128673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5046"} 
[2026-07-11 13:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642107904001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58: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-07-11 13:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783758255000,"timestamp_ms":1783758255000,"timestamp_seconds":1783758255,"priority":1,"record_length":96,"hex_timestamp":"0000019f5046f398"} 
[2026-07-11 13:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:58: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-07-11 13:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:58:05] 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-07-11 13:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642107904001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642107904001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642107904001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":128673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:58:05] local.INFO: GPS data processed {"connection_id":128673,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:58:05] local.INFO: Acknowledgment sent {"connection_id":128673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:58:09] local.INFO: TCP Data received {"connection_id":128674,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:58:09] local.INFO: Processing buffer {"connection_id":128674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:58:09] local.INFO: IMEI packet received {"connection_id":128674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":128674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:58:10] local.INFO: TCP Data received {"connection_id":128674,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:58:10] local.INFO: Processing buffer {"connection_id":128674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:58:10] local.INFO: Packet analysis {"connection_id":128674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:58:10] local.INFO: Extracted packet for processing {"connection_id":128674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 13:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:58: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-07-11 13: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:58:10] 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-07-11 13:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":128674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:58:10] local.INFO: GPS data processed {"connection_id":128674,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:58:10] local.INFO: Acknowledgment sent {"connection_id":128674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:58:36] local.INFO: TCP Data received {"connection_id":128673,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504745a0012d1965c0071ff170003c009425..."} 
[2026-07-11 13:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504745a0012d1965c0071ff170003c009425..."} 
[2026-07-11 13:58:36] local.INFO: Processing buffer {"connection_id":128673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504745a0012d1965c0071ff170003c009425..."} 
[2026-07-11 13:58:36] local.INFO: Packet analysis {"connection_id":128673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5047"} 
[2026-07-11 13:58:36] local.INFO: Extracted packet for processing {"connection_id":128673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5047"} 
[2026-07-11 13:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 13:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642113280001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783758276000,"timestamp_ms":1783758276000,"timestamp_seconds":1783758276,"priority":1,"record_length":96,"hex_timestamp":"0000019f504745a0"} 
[2026-07-11 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-07-11 13:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 13:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642113280001,"66":12439,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642113280001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642113280001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":128673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:58:36] local.INFO: GPS data processed {"connection_id":128673,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:58:36] local.INFO: Acknowledgment sent {"connection_id":128673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:58:41] local.INFO: TCP Data received {"connection_id":128674,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:58:41] local.INFO: Processing buffer {"connection_id":128674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:58:41] local.INFO: Packet analysis {"connection_id":128674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:58:41] local.INFO: Extracted packet for processing {"connection_id":128674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 13:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13: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-07-11 13: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:58: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-07-11 13:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:58:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":128674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:58:41] local.INFO: GPS data processed {"connection_id":128674,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:58:41] local.INFO: Acknowledgment sent {"connection_id":128674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:59:05] local.INFO: TCP Data received {"connection_id":128490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:59:05] local.INFO: Processing buffer {"connection_id":128490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:59:05] local.INFO: IMEI packet received {"connection_id":128490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":128490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:59:05] local.INFO: TCP Data received {"connection_id":129390,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:59:05] local.INFO: Processing buffer {"connection_id":129390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:59:05] local.INFO: IMEI packet received {"connection_id":129390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":129390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 13:59:05] local.INFO: TCP Data received {"connection_id":129390,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:59:05] local.INFO: Processing buffer {"connection_id":129390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:59:05] local.INFO: IMEI packet received {"connection_id":129390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":129390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:59:09] local.INFO: TCP Data received {"connection_id":128490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:59:09] local.INFO: Processing buffer {"connection_id":128490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 13:59:09] local.INFO: IMEI packet received {"connection_id":128490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 13:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":128490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:59:10] local.INFO: TCP Data received {"connection_id":129390,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:59:10] local.INFO: Processing buffer {"connection_id":129390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 13:59:10] local.INFO: IMEI packet received {"connection_id":129390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 13:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":129390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 13:59:10] local.INFO: TCP Data received {"connection_id":128490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:59:10] local.INFO: Processing buffer {"connection_id":128490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:59:10] local.INFO: Packet analysis {"connection_id":128490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:59:10] local.INFO: Extracted packet for processing {"connection_id":128490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 13:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:59: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-07-11 13: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:59:10] 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-07-11 13:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:59:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":128490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:59:10] local.INFO: GPS data processed {"connection_id":128490,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:59:10] local.INFO: Acknowledgment sent {"connection_id":128490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:59:10] local.INFO: TCP Data received {"connection_id":129390,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504797a8012d1965c0071ff170003c009424..."} 
[2026-07-11 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504797a8012d1965c0071ff170003c009424..."} 
[2026-07-11 13:59:10] local.INFO: Processing buffer {"connection_id":129390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504797a8012d1965c0071ff170003c009424..."} 
[2026-07-11 13:59:10] local.INFO: Packet analysis {"connection_id":129390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5047"} 
[2026-07-11 13:59:10] local.INFO: Extracted packet for processing {"connection_id":129390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5047"} 
[2026-07-11 13:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642118656001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758297000,"timestamp_ms":1783758297000,"timestamp_seconds":1783758297,"priority":1,"record_length":96,"hex_timestamp":"0000019f504797a8"} 
[2026-07-11 13:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 13:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:59:10] 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-07-11 13:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642118656001,"66":12428,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642118656001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:59:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642118656001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":129390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:59:11] local.INFO: GPS data processed {"connection_id":129390,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:59:11] local.INFO: Acknowledgment sent {"connection_id":129390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:59:15] local.INFO: TCP Data received {"connection_id":129390,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5047e9b0012d1965c0071ff170003c009426..."} 
[2026-07-11 13:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5047e9b0012d1965c0071ff170003c009426..."} 
[2026-07-11 13:59:15] local.INFO: Processing buffer {"connection_id":129390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5047e9b0012d1965c0071ff170003c009426..."} 
[2026-07-11 13:59:15] local.INFO: Packet analysis {"connection_id":129390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5047"} 
[2026-07-11 13:59:15] local.INFO: Extracted packet for processing {"connection_id":129390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5047"} 
[2026-07-11 13:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 13:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642124032001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783758318000,"timestamp_ms":1783758318000,"timestamp_seconds":1783758318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5047e9b0"} 
[2026-07-11 13:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 13:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 13:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 13:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 13:59:15] 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-07-11 13:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 13:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 13:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642124032001,"66":12428,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 13:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 13:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 13:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642124032001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:59:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 13:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 13:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 13:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642124032001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 13:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":129390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:59:15] local.INFO: GPS data processed {"connection_id":129390,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:59:15] local.INFO: Acknowledgment sent {"connection_id":129390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 13:59:41] local.INFO: TCP Data received {"connection_id":128490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:59:41] local.INFO: Processing buffer {"connection_id":128490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 13:59:41] local.INFO: Packet analysis {"connection_id":128490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:59:41] local.INFO: Extracted packet for processing {"connection_id":128490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 13:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 13:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 13:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 13:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 13:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 13:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 13:59: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-07-11 13: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 13:59: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-07-11 13:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 13:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 13:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 13:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 13:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 13:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 13:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 13:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 13:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 13:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 13:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 13:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 13:59:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 13:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 13:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 13:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 13:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 13:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":128490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 13:59:41] local.INFO: GPS data processed {"connection_id":128490,"processed":1,"errors":0,"total":1} 
[2026-07-11 13:59:41] local.INFO: Acknowledgment sent {"connection_id":128490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:00:00] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:00:00] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:00:00] local.INFO: IMEI packet received {"connection_id":130618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":130618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:00:04] local.INFO: TCP Data received {"connection_id":128492,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:00:04] local.INFO: Processing buffer {"connection_id":128492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:00:04] local.INFO: IMEI packet received {"connection_id":128492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":128492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:00:05] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:00:05] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:00:05] local.INFO: IMEI packet received {"connection_id":130618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":130618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:00:06] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50483bb8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50483bb8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:00:06] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50483bb8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:00:06] local.INFO: Packet analysis {"connection_id":130618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:00:06] local.INFO: Extracted packet for processing {"connection_id":130618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642129408001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783758339000,"timestamp_ms":1783758339000,"timestamp_seconds":1783758339,"priority":1,"record_length":96,"hex_timestamp":"0000019f50483bb8"} 
[2026-07-11 14:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 14:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:00:06] 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-07-11 14:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642129408001,"66":12428,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642129408001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:00:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642129408001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":130618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:00:06] local.INFO: GPS data processed {"connection_id":130618,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:00:06] local.INFO: Acknowledgment sent {"connection_id":130618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:00:09] local.INFO: TCP Data received {"connection_id":128492,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:00:09] local.INFO: Processing buffer {"connection_id":128492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:00:09] local.INFO: IMEI packet received {"connection_id":128492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":128492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:00:10] local.INFO: TCP Data received {"connection_id":128492,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 14:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 14:00:10] local.INFO: Processing buffer {"connection_id":128492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 14:00:10] local.INFO: Packet analysis {"connection_id":128492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:00:10] local.INFO: Extracted packet for processing {"connection_id":128492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 14:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:00: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-07-11 14:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:00:10] 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-07-11 14:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:00:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":128492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:00:10] local.INFO: GPS data processed {"connection_id":128492,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:00:10] local.INFO: Acknowledgment sent {"connection_id":128492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:00:37] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50488dc0012d1965c0071ff170003c009427..."} 
[2026-07-11 14:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50488dc0012d1965c0071ff170003c009427..."} 
[2026-07-11 14:00:37] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50488dc0012d1965c0071ff170003c009427..."} 
[2026-07-11 14:00:37] local.INFO: Packet analysis {"connection_id":130618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:00:37] local.INFO: Extracted packet for processing {"connection_id":130618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642134784001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00: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-07-11 14:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783758360000,"timestamp_ms":1783758360000,"timestamp_seconds":1783758360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50488dc0"} 
[2026-07-11 14:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 14:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:00:37] 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-07-11 14:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642134784001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642134784001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:00:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642134784001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":130618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:00:37] local.INFO: GPS data processed {"connection_id":130618,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:00:37] local.INFO: Acknowledgment sent {"connection_id":130618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:00:41] local.INFO: TCP Data received {"connection_id":128492,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 14:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 14:00:41] local.INFO: Processing buffer {"connection_id":128492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504814a8012cb29c0007823c60004900b32a..."} 
[2026-07-11 14:00:41] local.INFO: Packet analysis {"connection_id":128492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:00:41] local.INFO: Extracted packet for processing {"connection_id":128492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642054912001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758329000,"timestamp_ms":1783758329000,"timestamp_seconds":1783758329,"priority":1,"record_length":96,"hex_timestamp":"0000019f504814a8"} 
[2026-07-11 14:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:00: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-07-11 14:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642054912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642054912001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:00:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642054912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":128492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:00:41] local.INFO: GPS data processed {"connection_id":128492,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:00:41] local.INFO: Acknowledgment sent {"connection_id":128492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:01:00] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:01:00] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:01:00] local.INFO: IMEI packet received {"connection_id":130619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":130619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:01:04] local.INFO: TCP Data received {"connection_id":128675,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:01:04] local.INFO: Processing buffer {"connection_id":128675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:01:04] local.INFO: IMEI packet received {"connection_id":128675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":128675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:01:05] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:01:05] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:01:05] local.INFO: IMEI packet received {"connection_id":130619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":130619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:01:06] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5048dfc8012d1965c0071ff170003c009428..."} 
[2026-07-11 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5048dfc8012d1965c0071ff170003c009428..."} 
[2026-07-11 14:01:06] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5048dfc8012d1965c0071ff170003c009428..."} 
[2026-07-11 14:01:06] local.INFO: Packet analysis {"connection_id":130619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:01:06] local.INFO: Extracted packet for processing {"connection_id":130619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5048"} 
[2026-07-11 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642140160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783758381000,"timestamp_ms":1783758381000,"timestamp_seconds":1783758381,"priority":1,"record_length":96,"hex_timestamp":"0000019f5048dfc8"} 
[2026-07-11 14:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:01:06] 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-07-11 14:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642140160001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642140160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:01:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642140160001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":130619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:01:06] local.INFO: GPS data processed {"connection_id":130619,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:01:06] local.INFO: Acknowledgment sent {"connection_id":130619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:01:07] local.INFO: TCP Data received {"connection_id":128675,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:01:07] local.INFO: Processing buffer {"connection_id":128675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:01:07] local.INFO: IMEI packet received {"connection_id":128675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":128675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:01:09] local.INFO: TCP Data received {"connection_id":128675,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:01:09] local.INFO: Processing buffer {"connection_id":128675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:01:09] local.INFO: IMEI packet received {"connection_id":128675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":128675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:01:10] local.INFO: TCP Data received {"connection_id":128675,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:01:10] local.INFO: Processing buffer {"connection_id":128675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:01:10] local.INFO: Packet analysis {"connection_id":128675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:01:10] local.INFO: Extracted packet for processing {"connection_id":128675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:01: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-07-11 14:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:01:10] 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-07-11 14:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:01:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":128675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:01:10] local.INFO: GPS data processed {"connection_id":128675,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:01:10] local.INFO: Acknowledgment sent {"connection_id":128675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:01:10] local.INFO: TCP Data received {"connection_id":129391,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:01:10] local.INFO: Processing buffer {"connection_id":129391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:01:10] local.INFO: IMEI packet received {"connection_id":129391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":129391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:01:37] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504c6620012d1965c0071ff170003c009427..."} 
[2026-07-11 14:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504c6620012d1965c0071ff170003c009427..."} 
[2026-07-11 14:01:37] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504c6620012d1965c0071ff170003c009427..."} 
[2026-07-11 14:01:37] local.INFO: Packet analysis {"connection_id":130619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:01:37] local.INFO: Extracted packet for processing {"connection_id":130619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642199296001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01: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-07-11 14:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783758612000,"timestamp_ms":1783758612000,"timestamp_seconds":1783758612,"priority":1,"record_length":96,"hex_timestamp":"0000019f504c6620"} 
[2026-07-11 14:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:01:37] 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-07-11 14:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642199296001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642199296001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:01:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642199296001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":130619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:01:37] local.INFO: GPS data processed {"connection_id":130619,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:01:37] local.INFO: Acknowledgment sent {"connection_id":130619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:01:41] local.INFO: TCP Data received {"connection_id":128675,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:01:41] local.INFO: Processing buffer {"connection_id":128675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:01:41] local.INFO: Packet analysis {"connection_id":128675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:01:41] local.INFO: Extracted packet for processing {"connection_id":128675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:01: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-07-11 14:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:01:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":128675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:01:41] local.INFO: GPS data processed {"connection_id":128675,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:01:41] local.INFO: Acknowledgment sent {"connection_id":128675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:01:45] local.INFO: TCP Data received {"connection_id":128676,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:01:45] local.INFO: Processing buffer {"connection_id":128676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:01:45] local.INFO: IMEI packet received {"connection_id":128676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":128676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:02:00] local.INFO: TCP Data received {"connection_id":129392,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:02:00] local.INFO: Processing buffer {"connection_id":129392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:02:00] local.INFO: IMEI packet received {"connection_id":129392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":129392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:02:04] local.INFO: TCP Data received {"connection_id":128493,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:02:04] local.INFO: Processing buffer {"connection_id":128493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:02:04] local.INFO: IMEI packet received {"connection_id":128493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":128493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:02:05] local.INFO: TCP Data received {"connection_id":129392,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:02:05] local.INFO: Processing buffer {"connection_id":129392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:02:05] local.INFO: IMEI packet received {"connection_id":129392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":129392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:02:05] local.INFO: TCP Data received {"connection_id":129392,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504cb828012d1965c0071ff170003c009427..."} 
[2026-07-11 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504cb828012d1965c0071ff170003c009427..."} 
[2026-07-11 14:02:05] local.INFO: Processing buffer {"connection_id":129392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504cb828012d1965c0071ff170003c009427..."} 
[2026-07-11 14:02:05] local.INFO: Packet analysis {"connection_id":129392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:02:05] local.INFO: Extracted packet for processing {"connection_id":129392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642204672001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02: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-07-11 14:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783758633000,"timestamp_ms":1783758633000,"timestamp_seconds":1783758633,"priority":1,"record_length":96,"hex_timestamp":"0000019f504cb828"} 
[2026-07-11 14:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:02:05] 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-07-11 14:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642204672001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642204672001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642204672001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":129392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:02:06] local.INFO: GPS data processed {"connection_id":129392,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:02:06] local.INFO: Acknowledgment sent {"connection_id":129392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:02:09] local.INFO: TCP Data received {"connection_id":128493,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:02:09] local.INFO: Processing buffer {"connection_id":128493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:02:09] local.INFO: IMEI packet received {"connection_id":128493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":128493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:02:10] local.INFO: TCP Data received {"connection_id":128493,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:02:10] local.INFO: Processing buffer {"connection_id":128493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:02:10] local.INFO: Packet analysis {"connection_id":128493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:02:10] local.INFO: Extracted packet for processing {"connection_id":128493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:02: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-07-11 14: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:02:10] 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-07-11 14:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:02:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":128493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:02:10] local.INFO: GPS data processed {"connection_id":128493,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:02:10] local.INFO: Acknowledgment sent {"connection_id":128493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:02:36] local.INFO: TCP Data received {"connection_id":129392,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504d0a30012d1965c0071ff170003c009426..."} 
[2026-07-11 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504d0a30012d1965c0071ff170003c009426..."} 
[2026-07-11 14:02:36] local.INFO: Processing buffer {"connection_id":129392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504d0a30012d1965c0071ff170003c009426..."} 
[2026-07-11 14:02:36] local.INFO: Packet analysis {"connection_id":129392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504d"} 
[2026-07-11 14:02:36] local.INFO: Extracted packet for processing {"connection_id":129392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504d"} 
[2026-07-11 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642210048001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783758654000,"timestamp_ms":1783758654000,"timestamp_seconds":1783758654,"priority":1,"record_length":96,"hex_timestamp":"0000019f504d0a30"} 
[2026-07-11 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-07-11 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642210048001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642210048001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:02:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642210048001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":129392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:02:36] local.INFO: GPS data processed {"connection_id":129392,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:02:36] local.INFO: Acknowledgment sent {"connection_id":129392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:02:41] local.INFO: TCP Data received {"connection_id":128493,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:02:41] local.INFO: Processing buffer {"connection_id":128493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:02:41] local.INFO: Packet analysis {"connection_id":128493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:02:41] local.INFO: Extracted packet for processing {"connection_id":128493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:02: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-07-11 14:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:02: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-07-11 14:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:02:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":128493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:02:41] local.INFO: GPS data processed {"connection_id":128493,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:02:41] local.INFO: Acknowledgment sent {"connection_id":128493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:03:00] local.INFO: TCP Data received {"connection_id":128677,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:00] local.INFO: Processing buffer {"connection_id":128677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:00] local.INFO: IMEI packet received {"connection_id":128677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":128677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:03:05] local.INFO: TCP Data received {"connection_id":128677,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:05] local.INFO: Processing buffer {"connection_id":128677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:05] local.INFO: IMEI packet received {"connection_id":128677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:03:05] local.INFO: TCP Data received {"connection_id":130620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:03:05] local.INFO: Processing buffer {"connection_id":130620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:03:05] local.INFO: IMEI packet received {"connection_id":130620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":130620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:03:06] local.INFO: TCP Data received {"connection_id":128677,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504d5c38012d1965c0071ff170003c009424..."} 
[2026-07-11 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504d5c38012d1965c0071ff170003c009424..."} 
[2026-07-11 14:03:06] local.INFO: Processing buffer {"connection_id":128677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504d5c38012d1965c0071ff170003c009424..."} 
[2026-07-11 14:03:06] local.INFO: Packet analysis {"connection_id":128677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504d"} 
[2026-07-11 14:03:06] local.INFO: Extracted packet for processing {"connection_id":128677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504d"} 
[2026-07-11 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642215424001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783758675000,"timestamp_ms":1783758675000,"timestamp_seconds":1783758675,"priority":1,"record_length":96,"hex_timestamp":"0000019f504d5c38"} 
[2026-07-11 14:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:03:06] 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-07-11 14:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642215424001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642215424001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:03:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642215424001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":128677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:03:06] local.INFO: GPS data processed {"connection_id":128677,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:03:06] local.INFO: Acknowledgment sent {"connection_id":128677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:03:09] local.INFO: TCP Data received {"connection_id":130620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:03:09] local.INFO: Processing buffer {"connection_id":130620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:03:09] local.INFO: IMEI packet received {"connection_id":130620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":130620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:03:10] local.INFO: TCP Data received {"connection_id":130620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:03:10] local.INFO: Processing buffer {"connection_id":130620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:03:10] local.INFO: Packet analysis {"connection_id":130620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:03:10] local.INFO: Extracted packet for processing {"connection_id":130620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:03:10] 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-07-11 14:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:03:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":130620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:03:10] local.INFO: GPS data processed {"connection_id":130620,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:03:10] local.INFO: Acknowledgment sent {"connection_id":130620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:03:37] local.INFO: TCP Data received {"connection_id":128677,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504dae40012d1965c0071ff170003c009426..."} 
[2026-07-11 14:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504dae40012d1965c0071ff170003c009426..."} 
[2026-07-11 14:03:37] local.INFO: Processing buffer {"connection_id":128677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504dae40012d1965c0071ff170003c009426..."} 
[2026-07-11 14:03:37] local.INFO: Packet analysis {"connection_id":128677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504d"} 
[2026-07-11 14:03:37] local.INFO: Extracted packet for processing {"connection_id":128677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504d"} 
[2026-07-11 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642220800001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03: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-07-11 14:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783758696000,"timestamp_ms":1783758696000,"timestamp_seconds":1783758696,"priority":1,"record_length":96,"hex_timestamp":"0000019f504dae40"} 
[2026-07-11 14:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:03:37] 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-07-11 14:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642220800001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642220800001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:03:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642220800001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":128677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:03:37] local.INFO: GPS data processed {"connection_id":128677,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:03:37] local.INFO: Acknowledgment sent {"connection_id":128677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:03:41] local.INFO: TCP Data received {"connection_id":130620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:03:41] local.INFO: Processing buffer {"connection_id":130620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:03:41] local.INFO: Packet analysis {"connection_id":130620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:03:41] local.INFO: Extracted packet for processing {"connection_id":130620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:03: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-07-11 14:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:03: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-07-11 14:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:03:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":130620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:03:41] local.INFO: GPS data processed {"connection_id":130620,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:03:41] local.INFO: Acknowledgment sent {"connection_id":130620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:03:59] local.INFO: TCP Data received {"connection_id":129395,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:59] local.INFO: Processing buffer {"connection_id":129395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:59] local.INFO: IMEI packet received {"connection_id":129395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":129395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:03:59] local.INFO: TCP Data received {"connection_id":129395,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:59] local.INFO: Processing buffer {"connection_id":129395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:03:59] local.INFO: IMEI packet received {"connection_id":129395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":129395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:04:04] local.INFO: TCP Data received {"connection_id":129396,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:04:04] local.INFO: Processing buffer {"connection_id":129396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:04:04] local.INFO: IMEI packet received {"connection_id":129396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":129396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:04:05] local.INFO: TCP Data received {"connection_id":129395,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:04:05] local.INFO: Processing buffer {"connection_id":129395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:04:05] local.INFO: IMEI packet received {"connection_id":129395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":129395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:04:06] local.INFO: TCP Data received {"connection_id":129395,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504e0048012d1965c0071ff170003c009425..."} 
[2026-07-11 14:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504e0048012d1965c0071ff170003c009425..."} 
[2026-07-11 14:04:06] local.INFO: Processing buffer {"connection_id":129395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504e0048012d1965c0071ff170003c009425..."} 
[2026-07-11 14:04:06] local.INFO: Packet analysis {"connection_id":129395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504e"} 
[2026-07-11 14:04:06] local.INFO: Extracted packet for processing {"connection_id":129395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504e"} 
[2026-07-11 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642226176001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783758717000,"timestamp_ms":1783758717000,"timestamp_seconds":1783758717,"priority":1,"record_length":96,"hex_timestamp":"0000019f504e0048"} 
[2026-07-11 14:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:04:06] 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-07-11 14:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642226176001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642226176001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642226176001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":129395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:04:06] local.INFO: GPS data processed {"connection_id":129395,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:04:06] local.INFO: Acknowledgment sent {"connection_id":129395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:04:09] local.INFO: TCP Data received {"connection_id":129396,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:04:09] local.INFO: Processing buffer {"connection_id":129396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:04:09] local.INFO: IMEI packet received {"connection_id":129396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":129396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:04:10] local.INFO: TCP Data received {"connection_id":129396,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:04:10] local.INFO: Processing buffer {"connection_id":129396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:04:10] local.INFO: Packet analysis {"connection_id":129396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:04:10] local.INFO: Extracted packet for processing {"connection_id":129396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:04:10] 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-07-11 14:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:04:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":129396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:04:10] local.INFO: GPS data processed {"connection_id":129396,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:04:10] local.INFO: Acknowledgment sent {"connection_id":129396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:04:37] local.INFO: TCP Data received {"connection_id":129395,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504e5250012d1965c0071ff170003c009423..."} 
[2026-07-11 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504e5250012d1965c0071ff170003c009423..."} 
[2026-07-11 14:04:37] local.INFO: Processing buffer {"connection_id":129395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504e5250012d1965c0071ff170003c009423..."} 
[2026-07-11 14:04:37] local.INFO: Packet analysis {"connection_id":129395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504e"} 
[2026-07-11 14:04:37] local.INFO: Extracted packet for processing {"connection_id":129395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504e"} 
[2026-07-11 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642231552001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04: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-07-11 14:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783758738000,"timestamp_ms":1783758738000,"timestamp_seconds":1783758738,"priority":1,"record_length":96,"hex_timestamp":"0000019f504e5250"} 
[2026-07-11 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-07-11 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:04:37] 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-07-11 14:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642231552001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642231552001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:04:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642231552001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":129395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:04:37] local.INFO: GPS data processed {"connection_id":129395,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:04:37] local.INFO: Acknowledgment sent {"connection_id":129395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:04:40] local.INFO: TCP Data received {"connection_id":129396,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:04:40] local.INFO: Processing buffer {"connection_id":129396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:04:40] local.INFO: Packet analysis {"connection_id":129396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:04:40] local.INFO: Extracted packet for processing {"connection_id":129396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:04: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-07-11 14: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:04:40] 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-07-11 14:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:04:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":129396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:04:40] local.INFO: GPS data processed {"connection_id":129396,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:04:40] local.INFO: Acknowledgment sent {"connection_id":129396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:04:59] local.INFO: TCP Data received {"connection_id":128678,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:04:59] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:04:59] local.INFO: IMEI packet received {"connection_id":128678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":128678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:05:02] local.INFO: TCP Data received {"connection_id":128678,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:05:02] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:05:02] local.INFO: IMEI packet received {"connection_id":128678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":128678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:05:05] local.INFO: TCP Data received {"connection_id":128678,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:05:05] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:05:05] local.INFO: IMEI packet received {"connection_id":128678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":128678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:05:05] local.INFO: TCP Data received {"connection_id":128678,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ea458012d1965c0071ff170003c009426..."} 
[2026-07-11 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ea458012d1965c0071ff170003c009426..."} 
[2026-07-11 14:05:05] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ea458012d1965c0071ff170003c009426..."} 
[2026-07-11 14:05:05] local.INFO: Packet analysis {"connection_id":128678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504e"} 
[2026-07-11 14:05:05] local.INFO: Extracted packet for processing {"connection_id":128678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504e"} 
[2026-07-11 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642236928001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05: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-07-11 14:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783758759000,"timestamp_ms":1783758759000,"timestamp_seconds":1783758759,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ea458"} 
[2026-07-11 14:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:05: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-07-11 14:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:05:05] 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-07-11 14:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642236928001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642236928001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642236928001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":128678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:05:06] local.INFO: GPS data processed {"connection_id":128678,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:05:06] local.INFO: Acknowledgment sent {"connection_id":128678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:05:09] local.INFO: TCP Data received {"connection_id":130622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:05:09] local.INFO: Processing buffer {"connection_id":130622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:05:09] local.INFO: IMEI packet received {"connection_id":130622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":130622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:05:14] local.INFO: TCP Data received {"connection_id":130622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:05:14] local.INFO: Processing buffer {"connection_id":130622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:05:14] local.INFO: IMEI packet received {"connection_id":130622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":130622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:05:15] local.INFO: TCP Data received {"connection_id":130622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:05:15] local.INFO: Processing buffer {"connection_id":130622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:05:15] local.INFO: Packet analysis {"connection_id":130622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:05:15] local.INFO: Extracted packet for processing {"connection_id":130622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:05:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:05:15] 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-07-11 14:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:05:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":130622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:05:15] local.INFO: GPS data processed {"connection_id":130622,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:05:15] local.INFO: Acknowledgment sent {"connection_id":130622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:05:19] local.INFO: TCP Data received {"connection_id":130622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:05:19] local.INFO: Processing buffer {"connection_id":130622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ca888012cb29c0007823c60004d00b32a..."} 
[2026-07-11 14:05:19] local.INFO: Packet analysis {"connection_id":130622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:05:19] local.INFO: Extracted packet for processing {"connection_id":130622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504c"} 
[2026-07-11 14:05:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783758629000,"timestamp_ms":1783758629000,"timestamp_seconds":1783758629,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ca888"} 
[2026-07-11 14:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642132224001,"66":25495,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:05:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:05:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642132224001,"power":25495,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":130622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:05:19] local.INFO: GPS data processed {"connection_id":130622,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:05:19] local.INFO: Acknowledgment sent {"connection_id":130622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:05:37] local.INFO: TCP Data received {"connection_id":128678,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504ef660012d1965c0071ff170003c009426..."} 
[2026-07-11 14:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504ef660012d1965c0071ff170003c009426..."} 
[2026-07-11 14:05:37] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504ef660012d1965c0071ff170003c009426..."} 
[2026-07-11 14:05:37] local.INFO: Packet analysis {"connection_id":128678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504e"} 
[2026-07-11 14:05:37] local.INFO: Extracted packet for processing {"connection_id":128678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504e"} 
[2026-07-11 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642242304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:05: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-07-11 14:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783758780000,"timestamp_ms":1783758780000,"timestamp_seconds":1783758780,"priority":1,"record_length":96,"hex_timestamp":"0000019f504ef660"} 
[2026-07-11 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-07-11 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:05:37] 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-07-11 14:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642242304001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642242304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:05:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642242304001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":128678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:05:37] local.INFO: GPS data processed {"connection_id":128678,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:05:37] local.INFO: Acknowledgment sent {"connection_id":128678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:06:04] local.INFO: TCP Data received {"connection_id":128495,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:06:04] local.INFO: Processing buffer {"connection_id":128495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:06:04] local.INFO: IMEI packet received {"connection_id":128495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":128495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:06:05] local.INFO: TCP Data received {"connection_id":129397,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:06:05] local.INFO: Processing buffer {"connection_id":129397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:06:05] local.INFO: IMEI packet received {"connection_id":129397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":129397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:06:06] local.INFO: TCP Data received {"connection_id":129397,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:06:06] local.INFO: Processing buffer {"connection_id":129397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:06:06] local.INFO: IMEI packet received {"connection_id":129397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":129397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:06:08] local.INFO: TCP Data received {"connection_id":128495,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:06:08] local.INFO: Processing buffer {"connection_id":128495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:06:08] local.INFO: IMEI packet received {"connection_id":128495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":128495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:06:09] local.INFO: TCP Data received {"connection_id":128495,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:06:09] local.INFO: Processing buffer {"connection_id":128495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:06:09] local.INFO: Packet analysis {"connection_id":128495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:06:09] local.INFO: Extracted packet for processing {"connection_id":128495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:06:09] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 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-07-11 14:06: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-07-11 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":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:06: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-07-11 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-07-11 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-07-11 14:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:06:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":128495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:06:09] local.INFO: GPS data processed {"connection_id":128495,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:06:09] local.INFO: Acknowledgment sent {"connection_id":128495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:06:10] local.INFO: TCP Data received {"connection_id":129397,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:06:10] local.INFO: Processing buffer {"connection_id":129397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:06:10] local.INFO: IMEI packet received {"connection_id":129397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":129397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:06:10] local.INFO: TCP Data received {"connection_id":129397,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504f4868012d1965c0071ff170003c009427..."} 
[2026-07-11 14:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504f4868012d1965c0071ff170003c009427..."} 
[2026-07-11 14:06:10] local.INFO: Processing buffer {"connection_id":129397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504f4868012d1965c0071ff170003c009427..."} 
[2026-07-11 14:06:10] local.INFO: Packet analysis {"connection_id":129397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504f"} 
[2026-07-11 14:06:10] local.INFO: Extracted packet for processing {"connection_id":129397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504f"} 
[2026-07-11 14:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642247680001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758801000,"timestamp_ms":1783758801000,"timestamp_seconds":1783758801,"priority":1,"record_length":96,"hex_timestamp":"0000019f504f4868"} 
[2026-07-11 14:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:06:10] 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-07-11 14:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642247680001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642247680001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:06:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642247680001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":129397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:06:10] local.INFO: GPS data processed {"connection_id":129397,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:06:10] local.INFO: Acknowledgment sent {"connection_id":129397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:06:15] local.INFO: TCP Data received {"connection_id":129397,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504f9a70012d1965c0071ff170003c009425..."} 
[2026-07-11 14:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504f9a70012d1965c0071ff170003c009425..."} 
[2026-07-11 14:06:15] local.INFO: Processing buffer {"connection_id":129397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504f9a70012d1965c0071ff170003c009425..."} 
[2026-07-11 14:06:15] local.INFO: Packet analysis {"connection_id":129397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504f"} 
[2026-07-11 14:06:15] local.INFO: Extracted packet for processing {"connection_id":129397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504f"} 
[2026-07-11 14:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642253056001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783758822000,"timestamp_ms":1783758822000,"timestamp_seconds":1783758822,"priority":1,"record_length":96,"hex_timestamp":"0000019f504f9a70"} 
[2026-07-11 14:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:06:15] 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-07-11 14:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642253056001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642253056001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642253056001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":129397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:06:15] local.INFO: GPS data processed {"connection_id":129397,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:06:15] local.INFO: Acknowledgment sent {"connection_id":129397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:06:40] local.INFO: TCP Data received {"connection_id":128495,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:06:40] local.INFO: Processing buffer {"connection_id":128495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:06:40] local.INFO: Packet analysis {"connection_id":128495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:06:40] local.INFO: Extracted packet for processing {"connection_id":128495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 14:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:06: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-07-11 14:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:06:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":128495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:06:40] local.INFO: GPS data processed {"connection_id":128495,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:06:40] local.INFO: Acknowledgment sent {"connection_id":128495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:07:00] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:07:00] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:07:00] local.INFO: IMEI packet received {"connection_id":130624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":130624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:07:04] local.INFO: TCP Data received {"connection_id":128679,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:07:04] local.INFO: Processing buffer {"connection_id":128679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:07:04] local.INFO: IMEI packet received {"connection_id":128679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":128679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:07:05] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:07:05] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:07:05] local.INFO: IMEI packet received {"connection_id":130624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":130624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:07:05] local.INFO: TCP Data received {"connection_id":130623,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:07:05] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:07:05] local.INFO: IMEI packet received {"connection_id":130623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":130623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:07:06] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f504fec78012d1965c0071ff170003c009425..."} 
[2026-07-11 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f504fec78012d1965c0071ff170003c009425..."} 
[2026-07-11 14:07:06] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f504fec78012d1965c0071ff170003c009425..."} 
[2026-07-11 14:07:06] local.INFO: Packet analysis {"connection_id":130624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f504f"} 
[2026-07-11 14:07:06] local.INFO: Extracted packet for processing {"connection_id":130624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f504f"} 
[2026-07-11 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642258432001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783758843000,"timestamp_ms":1783758843000,"timestamp_seconds":1783758843,"priority":1,"record_length":96,"hex_timestamp":"0000019f504fec78"} 
[2026-07-11 14:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:07:06] 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-07-11 14:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642258432001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642258432001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642258432001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":130624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:07:06] local.INFO: GPS data processed {"connection_id":130624,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:07:06] local.INFO: Acknowledgment sent {"connection_id":130624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:07:09] local.INFO: TCP Data received {"connection_id":128679,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:07:09] local.INFO: Processing buffer {"connection_id":128679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:07:09] local.INFO: IMEI packet received {"connection_id":128679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":128679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:07:10] local.INFO: TCP Data received {"connection_id":128679,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:07:10] local.INFO: Processing buffer {"connection_id":128679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:07:10] local.INFO: Packet analysis {"connection_id":128679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:07:10] local.INFO: Extracted packet for processing {"connection_id":128679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 14:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:07: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-07-11 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:07: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-07-11 14:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:07:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":128679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:07:10] local.INFO: GPS data processed {"connection_id":128679,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:07:10] local.INFO: Acknowledgment sent {"connection_id":128679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:07:37] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50503e80012d1965c0071ff170003c009425..."} 
[2026-07-11 14:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50503e80012d1965c0071ff170003c009425..."} 
[2026-07-11 14:07:37] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50503e80012d1965c0071ff170003c009425..."} 
[2026-07-11 14:07:37] local.INFO: Packet analysis {"connection_id":130624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5050"} 
[2026-07-11 14:07:37] local.INFO: Extracted packet for processing {"connection_id":130624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5050"} 
[2026-07-11 14:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642263808001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07: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-07-11 14:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783758864000,"timestamp_ms":1783758864000,"timestamp_seconds":1783758864,"priority":1,"record_length":96,"hex_timestamp":"0000019f50503e80"} 
[2026-07-11 14:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:07:37] 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-07-11 14:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642263808001,"66":11961,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642263808001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:07:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642263808001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":130624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:07:37] local.INFO: GPS data processed {"connection_id":130624,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:07:37] local.INFO: Acknowledgment sent {"connection_id":130624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:07:41] local.INFO: TCP Data received {"connection_id":128679,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:07:41] local.INFO: Processing buffer {"connection_id":128679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:07:41] local.INFO: Packet analysis {"connection_id":128679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:07:41] local.INFO: Extracted packet for processing {"connection_id":128679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 14:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14: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":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:07: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-07-11 14:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:07:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":128679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:07:41] local.INFO: GPS data processed {"connection_id":128679,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:07:41] local.INFO: Acknowledgment sent {"connection_id":128679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:07:45] local.INFO: TCP Data received {"connection_id":130625,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:07:45] local.INFO: Processing buffer {"connection_id":130625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:07:45] local.INFO: IMEI packet received {"connection_id":130625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":130625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:08:00] local.INFO: TCP Data received {"connection_id":128496,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:08:00] local.INFO: Processing buffer {"connection_id":128496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:08:00] local.INFO: IMEI packet received {"connection_id":128496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":128496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:08:04] local.INFO: TCP Data received {"connection_id":128497,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:08:04] local.INFO: Processing buffer {"connection_id":128497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:08:04] local.INFO: IMEI packet received {"connection_id":128497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":128497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:08:05] local.INFO: TCP Data received {"connection_id":128496,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:08:05] local.INFO: Processing buffer {"connection_id":128496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:08:05] local.INFO: IMEI packet received {"connection_id":128496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":128496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:08:06] local.INFO: TCP Data received {"connection_id":128496,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50509088012d1965c0071ff170003c009425..."} 
[2026-07-11 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50509088012d1965c0071ff170003c009425..."} 
[2026-07-11 14:08:06] local.INFO: Processing buffer {"connection_id":128496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50509088012d1965c0071ff170003c009425..."} 
[2026-07-11 14:08:06] local.INFO: Packet analysis {"connection_id":128496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5050"} 
[2026-07-11 14:08:06] local.INFO: Extracted packet for processing {"connection_id":128496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5050"} 
[2026-07-11 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642269184001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783758885000,"timestamp_ms":1783758885000,"timestamp_seconds":1783758885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50509088"} 
[2026-07-11 14:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 14:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:08:06] 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-07-11 14:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642269184001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642269184001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:08:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642269184001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":128496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:08:06] local.INFO: GPS data processed {"connection_id":128496,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:08:06] local.INFO: Acknowledgment sent {"connection_id":128496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:08:09] local.INFO: TCP Data received {"connection_id":128497,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:08:09] local.INFO: Processing buffer {"connection_id":128497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:08:09] local.INFO: IMEI packet received {"connection_id":128497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":128497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:08:10] local.INFO: TCP Data received {"connection_id":128497,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:08:10] local.INFO: Processing buffer {"connection_id":128497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:08:10] local.INFO: Packet analysis {"connection_id":128497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:08:10] local.INFO: Extracted packet for processing {"connection_id":128497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 14:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:08: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-07-11 14:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:08: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-07-11 14:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:08:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":128497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:08:10] local.INFO: GPS data processed {"connection_id":128497,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:08:10] local.INFO: Acknowledgment sent {"connection_id":128497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:08:37] local.INFO: TCP Data received {"connection_id":128496,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5050e290012d1965c0071ff170003c009420..."} 
[2026-07-11 14:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5050e290012d1965c0071ff170003c009420..."} 
[2026-07-11 14:08:37] local.INFO: Processing buffer {"connection_id":128496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5050e290012d1965c0071ff170003c009420..."} 
[2026-07-11 14:08:37] local.INFO: Packet analysis {"connection_id":128496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5050"} 
[2026-07-11 14:08:37] local.INFO: Extracted packet for processing {"connection_id":128496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5050"} 
[2026-07-11 14:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":32,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642274560001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08: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-07-11 14:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783758906000,"timestamp_ms":1783758906000,"timestamp_seconds":1783758906,"priority":1,"record_length":96,"hex_timestamp":"0000019f5050e290"} 
[2026-07-11 14:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:08:37] 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-07-11 14:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642274560001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642274560001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:08:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642274560001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":128496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:08:37] local.INFO: GPS data processed {"connection_id":128496,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:08:37] local.INFO: Acknowledgment sent {"connection_id":128496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:08:43] local.INFO: TCP Data received {"connection_id":128497,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:08:43] local.INFO: Processing buffer {"connection_id":128497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:08:43] local.INFO: Packet analysis {"connection_id":128497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:08:43] local.INFO: Extracted packet for processing {"connection_id":128497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:08:43] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 14:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:08: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-07-11 14:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:08: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-07-11 14:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:08:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:08:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":128497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:08:43] local.INFO: GPS data processed {"connection_id":128497,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:08:43] local.INFO: Acknowledgment sent {"connection_id":128497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:09:00] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:09:00] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:09:00] local.INFO: IMEI packet received {"connection_id":128681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":128681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:09:04] local.INFO: TCP Data received {"connection_id":129398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:09:04] local.INFO: Processing buffer {"connection_id":129398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:09:04] local.INFO: IMEI packet received {"connection_id":129398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":129398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:09:05] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:09:05] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:09:05] local.INFO: IMEI packet received {"connection_id":128681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":128681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:09:06] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50513498012d1965c0071ff170003c009425..."} 
[2026-07-11 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50513498012d1965c0071ff170003c009425..."} 
[2026-07-11 14:09:06] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50513498012d1965c0071ff170003c009425..."} 
[2026-07-11 14:09:06] local.INFO: Packet analysis {"connection_id":128681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:09:06] local.INFO: Extracted packet for processing {"connection_id":128681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642279936001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783758927000,"timestamp_ms":1783758927000,"timestamp_seconds":1783758927,"priority":1,"record_length":96,"hex_timestamp":"0000019f50513498"} 
[2026-07-11 14:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:09:06] 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-07-11 14:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642279936001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642279936001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:09:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642279936001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":128681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:09:06] local.INFO: GPS data processed {"connection_id":128681,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:09:06] local.INFO: Acknowledgment sent {"connection_id":128681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:09:09] local.INFO: TCP Data received {"connection_id":129398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:09:09] local.INFO: Processing buffer {"connection_id":129398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:09:09] local.INFO: IMEI packet received {"connection_id":129398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":129398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:09:10] local.INFO: TCP Data received {"connection_id":129398,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:09:10] local.INFO: Processing buffer {"connection_id":129398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:09:10] local.INFO: Packet analysis {"connection_id":129398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:09:10] local.INFO: Extracted packet for processing {"connection_id":129398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 14:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:09: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-07-11 14:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:09: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-07-11 14:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:09:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":129398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:09:10] local.INFO: GPS data processed {"connection_id":129398,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:09:10] local.INFO: Acknowledgment sent {"connection_id":129398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:09:38] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505186a0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505186a0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:09:38] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505186a0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:09:38] local.INFO: Packet analysis {"connection_id":128681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:09:38] local.INFO: Extracted packet for processing {"connection_id":128681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642285312001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09: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-07-11 14:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783758948000,"timestamp_ms":1783758948000,"timestamp_seconds":1783758948,"priority":1,"record_length":96,"hex_timestamp":"0000019f505186a0"} 
[2026-07-11 14:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:09: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-07-11 14:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:09: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-07-11 14:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642285312001,"66":12363,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642285312001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:09:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642285312001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":128681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:09:38] local.INFO: GPS data processed {"connection_id":128681,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:09:38] local.INFO: Acknowledgment sent {"connection_id":128681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:09:41] local.INFO: TCP Data received {"connection_id":129398,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:09:41] local.INFO: Processing buffer {"connection_id":129398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:09:41] local.INFO: Packet analysis {"connection_id":129398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:09:41] local.INFO: Extracted packet for processing {"connection_id":129398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 14:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:09: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-07-11 14:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:09: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-07-11 14:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:09:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":129398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:09:41] local.INFO: GPS data processed {"connection_id":129398,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:09:41] local.INFO: Acknowledgment sent {"connection_id":129398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:09:59] local.INFO: TCP Data received {"connection_id":128682,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:09:59] local.INFO: Processing buffer {"connection_id":128682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:09:59] local.INFO: IMEI packet received {"connection_id":128682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":128682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:10:05] local.INFO: TCP Data received {"connection_id":128682,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:10:05] local.INFO: Processing buffer {"connection_id":128682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:10:05] local.INFO: IMEI packet received {"connection_id":128682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":128682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:10:05] local.INFO: TCP Data received {"connection_id":128682,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5051d8a8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5051d8a8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:10:05] local.INFO: Processing buffer {"connection_id":128682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5051d8a8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:10:05] local.INFO: Packet analysis {"connection_id":128682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:10:05] local.INFO: Extracted packet for processing {"connection_id":128682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642290688001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783758969000,"timestamp_ms":1783758969000,"timestamp_seconds":1783758969,"priority":1,"record_length":96,"hex_timestamp":"0000019f5051d8a8"} 
[2026-07-11 14:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 14:10:05] 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-07-11 14: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-07-11 14:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:10:05] 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-07-11 14:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642290688001,"66":12298,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642290688001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642290688001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":128682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:10:05] local.INFO: GPS data processed {"connection_id":128682,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:10:05] local.INFO: Acknowledgment sent {"connection_id":128682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:10:09] local.INFO: TCP Data received {"connection_id":129399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:10:09] local.INFO: Processing buffer {"connection_id":129399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:10:09] local.INFO: IMEI packet received {"connection_id":129399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":129399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:10:14] local.INFO: TCP Data received {"connection_id":129399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:10:14] local.INFO: Processing buffer {"connection_id":129399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:10:14] local.INFO: IMEI packet received {"connection_id":129399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":129399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:10:15] local.INFO: TCP Data received {"connection_id":129399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:10:15] local.INFO: Processing buffer {"connection_id":129399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:10:15] local.INFO: Packet analysis {"connection_id":129399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:10:15] local.INFO: Extracted packet for processing {"connection_id":129399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:10:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 14:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:10:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":129399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:10:15] local.INFO: GPS data processed {"connection_id":129399,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:10:15] local.INFO: Acknowledgment sent {"connection_id":129399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:10:19] local.INFO: TCP Data received {"connection_id":129399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:10:19] local.INFO: Processing buffer {"connection_id":129399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50514050012cb29c0007823c60004b00b32b..."} 
[2026-07-11 14:10:19] local.INFO: Packet analysis {"connection_id":129399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:10:19] local.INFO: Extracted packet for processing {"connection_id":129399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5051"} 
[2026-07-11 14:10:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642209024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783758930000,"timestamp_ms":1783758930000,"timestamp_seconds":1783758930,"priority":1,"record_length":96,"hex_timestamp":"0000019f50514050"} 
[2026-07-11 14:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 14:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642209024001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642209024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:10:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:10:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:10:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642209024001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":129399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:10:19] local.INFO: GPS data processed {"connection_id":129399,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:10:19] local.INFO: Acknowledgment sent {"connection_id":129399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:10:37] local.INFO: TCP Data received {"connection_id":128682,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50522ab0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50522ab0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:10:37] local.INFO: Processing buffer {"connection_id":128682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50522ab0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:10:37] local.INFO: Packet analysis {"connection_id":128682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5052"} 
[2026-07-11 14:10:37] local.INFO: Extracted packet for processing {"connection_id":128682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5052"} 
[2026-07-11 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642296064001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783758990000,"timestamp_ms":1783758990000,"timestamp_seconds":1783758990,"priority":1,"record_length":96,"hex_timestamp":"0000019f50522ab0"} 
[2026-07-11 14:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185620,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5787013852041124197,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513394345886089364,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":60,"raw_value":41698978483404800,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979443560644814,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-07-11 14:10:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,49,159,134,45,192,60,35,10,66,52,37,226,1,240,53,227,80,31,4,113,205,62,101,112,239,46,2,20,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 14:10:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618528910376960,"timestamp_seconds":4323618528910377.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 14:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:10:37] 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-07-11 14:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642296064001,"66":12145,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642296064001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:10:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642296064001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":128682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:10:37] local.INFO: GPS data processed {"connection_id":128682,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:10:37] local.INFO: Acknowledgment sent {"connection_id":128682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:10:59] local.INFO: TCP Data received {"connection_id":128684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:10:59] local.INFO: Processing buffer {"connection_id":128684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:10:59] local.INFO: IMEI packet received {"connection_id":128684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":128684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:11:04] local.INFO: TCP Data received {"connection_id":130626,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:11:04] local.INFO: Processing buffer {"connection_id":130626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:11:04] local.INFO: IMEI packet received {"connection_id":130626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":130626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:11:05] local.INFO: TCP Data received {"connection_id":128684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:11:05] local.INFO: Processing buffer {"connection_id":128684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:11:05] local.INFO: IMEI packet received {"connection_id":128684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":128684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:11:05] local.INFO: TCP Data received {"connection_id":128684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50527cb8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50527cb8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:11:05] local.INFO: Processing buffer {"connection_id":128684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50527cb8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:11:05] local.INFO: Packet analysis {"connection_id":128684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5052"} 
[2026-07-11 14:11:05] local.INFO: Extracted packet for processing {"connection_id":128684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5052"} 
[2026-07-11 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642301440001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11: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-07-11 14:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783759011000,"timestamp_ms":1783759011000,"timestamp_seconds":1783759011,"priority":1,"record_length":96,"hex_timestamp":"0000019f50527cb8"} 
[2026-07-11 14:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-11 14:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:11:05] 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-07-11 14:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642301440001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642301440001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642301440001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":128684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:11:05] local.INFO: GPS data processed {"connection_id":128684,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:11:05] local.INFO: Acknowledgment sent {"connection_id":128684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:11:09] local.INFO: TCP Data received {"connection_id":130626,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:11:09] local.INFO: Processing buffer {"connection_id":130626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:11:09] local.INFO: IMEI packet received {"connection_id":130626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":130626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:11:10] local.INFO: TCP Data received {"connection_id":130626,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:11:10] local.INFO: Processing buffer {"connection_id":130626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:11:10] local.INFO: Packet analysis {"connection_id":130626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:11:10] local.INFO: Extracted packet for processing {"connection_id":130626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:11: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-07-11 14:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:11: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-07-11 14:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:11:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":130626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:11:10] local.INFO: GPS data processed {"connection_id":130626,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:11:10] local.INFO: Acknowledgment sent {"connection_id":130626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:11:36] local.INFO: TCP Data received {"connection_id":128684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5052cec0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5052cec0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:11:36] local.INFO: Processing buffer {"connection_id":128684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5052cec0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:11:36] local.INFO: Packet analysis {"connection_id":128684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5052"} 
[2026-07-11 14:11:36] local.INFO: Extracted packet for processing {"connection_id":128684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5052"} 
[2026-07-11 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642306816001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783759032000,"timestamp_ms":1783759032000,"timestamp_seconds":1783759032,"priority":1,"record_length":96,"hex_timestamp":"0000019f5052cec0"} 
[2026-07-11 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-07-11 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642306816001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642306816001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:11:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642306816001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":128684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:11:37] local.INFO: GPS data processed {"connection_id":128684,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:11:37] local.INFO: Acknowledgment sent {"connection_id":128684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:11:41] local.INFO: TCP Data received {"connection_id":130626,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:11:41] local.INFO: Processing buffer {"connection_id":130626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:11:41] local.INFO: Packet analysis {"connection_id":130626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:11:41] local.INFO: Extracted packet for processing {"connection_id":130626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:11: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-07-11 14:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:11: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-07-11 14:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:11:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":130626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:11:41] local.INFO: GPS data processed {"connection_id":130626,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:11:41] local.INFO: Acknowledgment sent {"connection_id":130626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:12:02] local.INFO: TCP Data received {"connection_id":130627,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:12:02] local.INFO: Processing buffer {"connection_id":130627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:12:02] local.INFO: IMEI packet received {"connection_id":130627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":130627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:12:04] local.INFO: TCP Data received {"connection_id":128500,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:12:04] local.INFO: Processing buffer {"connection_id":128500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:12:04] local.INFO: IMEI packet received {"connection_id":128500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":128500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:12:04] local.INFO: TCP Data received {"connection_id":130627,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:12:04] local.INFO: Processing buffer {"connection_id":130627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:12:04] local.INFO: IMEI packet received {"connection_id":130627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":130627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:12:09] local.INFO: TCP Data received {"connection_id":128500,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:12:09] local.INFO: Processing buffer {"connection_id":128500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:12:09] local.INFO: IMEI packet received {"connection_id":128500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":128500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:12:10] local.INFO: TCP Data received {"connection_id":130627,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:12:10] local.INFO: Processing buffer {"connection_id":130627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:12:10] local.INFO: IMEI packet received {"connection_id":130627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":130627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:12:10] local.INFO: TCP Data received {"connection_id":128500,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:12:10] local.INFO: Processing buffer {"connection_id":128500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:12:10] local.INFO: Packet analysis {"connection_id":128500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:12:10] local.INFO: Extracted packet for processing {"connection_id":128500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:12: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-07-11 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:12: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-07-11 14:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":128500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:12:10] local.INFO: GPS data processed {"connection_id":128500,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:12:10] local.INFO: Acknowledgment sent {"connection_id":128500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:12:10] local.INFO: TCP Data received {"connection_id":130627,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505320c8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505320c8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:12:10] local.INFO: Processing buffer {"connection_id":130627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505320c8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:12:10] local.INFO: Packet analysis {"connection_id":130627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5053"} 
[2026-07-11 14:12:10] local.INFO: Extracted packet for processing {"connection_id":130627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5053"} 
[2026-07-11 14:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642312192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759053000,"timestamp_ms":1783759053000,"timestamp_seconds":1783759053,"priority":1,"record_length":96,"hex_timestamp":"0000019f505320c8"} 
[2026-07-11 14:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:12:10] 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-07-11 14:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642312192001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642312192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:12:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642312192001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":130627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:12:10] local.INFO: GPS data processed {"connection_id":130627,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:12:10] local.INFO: Acknowledgment sent {"connection_id":130627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:12:15] local.INFO: TCP Data received {"connection_id":130627,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505372d0012d1965c0071ff170003c009424..."} 
[2026-07-11 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505372d0012d1965c0071ff170003c009424..."} 
[2026-07-11 14:12:15] local.INFO: Processing buffer {"connection_id":130627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505372d0012d1965c0071ff170003c009424..."} 
[2026-07-11 14:12:15] local.INFO: Packet analysis {"connection_id":130627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5053"} 
[2026-07-11 14:12:15] local.INFO: Extracted packet for processing {"connection_id":130627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5053"} 
[2026-07-11 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642317568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783759074000,"timestamp_ms":1783759074000,"timestamp_seconds":1783759074,"priority":1,"record_length":96,"hex_timestamp":"0000019f505372d0"} 
[2026-07-11 14:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:12:15] 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-07-11 14:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642317568001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642317568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:12:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642317568001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":130627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:12:15] local.INFO: GPS data processed {"connection_id":130627,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:12:15] local.INFO: Acknowledgment sent {"connection_id":130627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:12:41] local.INFO: TCP Data received {"connection_id":128500,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:12:41] local.INFO: Processing buffer {"connection_id":128500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:12:41] local.INFO: Packet analysis {"connection_id":128500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:12:41] local.INFO: Extracted packet for processing {"connection_id":128500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 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-07-11 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-07-11 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-07-11 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-07-11 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-07-11 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-07-11 14:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:12:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":128500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:12:41] local.INFO: GPS data processed {"connection_id":128500,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:12:41] local.INFO: Acknowledgment sent {"connection_id":128500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:13:00] local.INFO: TCP Data received {"connection_id":129401,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:13:00] local.INFO: Processing buffer {"connection_id":129401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:13:00] local.INFO: IMEI packet received {"connection_id":129401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":129401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:13:01] local.INFO: TCP Data received {"connection_id":129400,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:13:01] local.INFO: Processing buffer {"connection_id":129400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:13:01] local.INFO: IMEI packet received {"connection_id":129400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":129400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:13:04] local.INFO: TCP Data received {"connection_id":128501,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:13:04] local.INFO: Processing buffer {"connection_id":128501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:13:04] local.INFO: IMEI packet received {"connection_id":128501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":128501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:13:05] local.INFO: TCP Data received {"connection_id":129401,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:13:05] local.INFO: Processing buffer {"connection_id":129401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:13:05] local.INFO: IMEI packet received {"connection_id":129401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":129401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:13:06] local.INFO: TCP Data received {"connection_id":129401,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5056f928012d1965c0071ff170003c009425..."} 
[2026-07-11 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5056f928012d1965c0071ff170003c009425..."} 
[2026-07-11 14:13:06] local.INFO: Processing buffer {"connection_id":129401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5056f928012d1965c0071ff170003c009425..."} 
[2026-07-11 14:13:06] local.INFO: Packet analysis {"connection_id":129401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5056"} 
[2026-07-11 14:13:06] local.INFO: Extracted packet for processing {"connection_id":129401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5056"} 
[2026-07-11 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642376704001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783759305000,"timestamp_ms":1783759305000,"timestamp_seconds":1783759305,"priority":1,"record_length":96,"hex_timestamp":"0000019f5056f928"} 
[2026-07-11 14:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 14:13:06] 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-07-11 14:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:13:06] 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-07-11 14:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642376704001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642376704001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642376704001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":129401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:13:06] local.INFO: GPS data processed {"connection_id":129401,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:13:06] local.INFO: Acknowledgment sent {"connection_id":129401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:13:09] local.INFO: TCP Data received {"connection_id":128501,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:13:09] local.INFO: Processing buffer {"connection_id":128501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:13:09] local.INFO: IMEI packet received {"connection_id":128501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":128501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:13:10] local.INFO: TCP Data received {"connection_id":128501,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:13:10] local.INFO: Processing buffer {"connection_id":128501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:13:10] local.INFO: Packet analysis {"connection_id":128501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:13:10] local.INFO: Extracted packet for processing {"connection_id":128501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:13: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-07-11 14:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:13: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-07-11 14:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:13:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":128501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:13:10] local.INFO: GPS data processed {"connection_id":128501,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:13:10] local.INFO: Acknowledgment sent {"connection_id":128501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:13:37] local.INFO: TCP Data received {"connection_id":129401,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50574b30012d1965c0071ff170003c009426..."} 
[2026-07-11 14:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50574b30012d1965c0071ff170003c009426..."} 
[2026-07-11 14:13:37] local.INFO: Processing buffer {"connection_id":129401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50574b30012d1965c0071ff170003c009426..."} 
[2026-07-11 14:13:37] local.INFO: Packet analysis {"connection_id":129401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5057"} 
[2026-07-11 14:13:37] local.INFO: Extracted packet for processing {"connection_id":129401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5057"} 
[2026-07-11 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642382080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13: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-07-11 14:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783759326000,"timestamp_ms":1783759326000,"timestamp_seconds":1783759326,"priority":1,"record_length":96,"hex_timestamp":"0000019f50574b30"} 
[2026-07-11 14:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:13: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-07-11 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:13:37] 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-07-11 14:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642382080001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642382080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:13:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642382080001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":129401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:13:37] local.INFO: GPS data processed {"connection_id":129401,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:13:37] local.INFO: Acknowledgment sent {"connection_id":129401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:13:41] local.INFO: TCP Data received {"connection_id":128501,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:13:41] local.INFO: Processing buffer {"connection_id":128501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:13:41] local.INFO: Packet analysis {"connection_id":128501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:13:41] local.INFO: Extracted packet for processing {"connection_id":128501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:13:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:13: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-07-11 14:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:13: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-07-11 14:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:13:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":128501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:13:41] local.INFO: GPS data processed {"connection_id":128501,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:13:41] local.INFO: Acknowledgment sent {"connection_id":128501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:13:45] local.INFO: TCP Data received {"connection_id":128502,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:13:45] local.INFO: Processing buffer {"connection_id":128502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:13:45] local.INFO: IMEI packet received {"connection_id":128502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":128502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:14:00] local.INFO: TCP Data received {"connection_id":130628,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:14:00] local.INFO: Processing buffer {"connection_id":130628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:14:00] local.INFO: IMEI packet received {"connection_id":130628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":130628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:14:04] local.INFO: TCP Data received {"connection_id":130628,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:14:04] local.INFO: Processing buffer {"connection_id":130628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:14:04] local.INFO: IMEI packet received {"connection_id":130628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":130628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:14:05] local.INFO: TCP Data received {"connection_id":130628,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50579d38012d1965c0071ff170003c009426..."} 
[2026-07-11 14:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50579d38012d1965c0071ff170003c009426..."} 
[2026-07-11 14:14:05] local.INFO: Processing buffer {"connection_id":130628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50579d38012d1965c0071ff170003c009426..."} 
[2026-07-11 14:14:05] local.INFO: Packet analysis {"connection_id":130628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5057"} 
[2026-07-11 14:14:05] local.INFO: Extracted packet for processing {"connection_id":130628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5057"} 
[2026-07-11 14:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642387456001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14: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-07-11 14:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783759347000,"timestamp_ms":1783759347000,"timestamp_seconds":1783759347,"priority":1,"record_length":96,"hex_timestamp":"0000019f50579d38"} 
[2026-07-11 14:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:14:05] 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-07-11 14:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642387456001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642387456001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642387456001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":130628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:14:05] local.INFO: GPS data processed {"connection_id":130628,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:14:05] local.INFO: Acknowledgment sent {"connection_id":130628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:14:09] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:14:09] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:14:09] local.INFO: IMEI packet received {"connection_id":130629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":130629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:14:14] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:14:14] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:14:14] local.INFO: IMEI packet received {"connection_id":130629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":130629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:14:15] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:14:15] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:14:15] local.INFO: Packet analysis {"connection_id":130629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:14:15] local.INFO: Extracted packet for processing {"connection_id":130629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:14:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:14:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":130629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:14:15] local.INFO: GPS data processed {"connection_id":130629,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:14:15] local.INFO: Acknowledgment sent {"connection_id":130629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:14:20] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:14:20] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:14:20] local.INFO: Packet analysis {"connection_id":130629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:14:20] local.INFO: Extracted packet for processing {"connection_id":130629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:14:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":130629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:14:20] local.INFO: GPS data processed {"connection_id":130629,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:14:20] local.INFO: Acknowledgment sent {"connection_id":130629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:14:36] local.INFO: TCP Data received {"connection_id":130628,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5057ef40012d1965c0071ff170003c009426..."} 
[2026-07-11 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5057ef40012d1965c0071ff170003c009426..."} 
[2026-07-11 14:14:36] local.INFO: Processing buffer {"connection_id":130628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5057ef40012d1965c0071ff170003c009426..."} 
[2026-07-11 14:14:36] local.INFO: Packet analysis {"connection_id":130628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5057"} 
[2026-07-11 14:14:36] local.INFO: Extracted packet for processing {"connection_id":130628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5057"} 
[2026-07-11 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642392832001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783759368000,"timestamp_ms":1783759368000,"timestamp_seconds":1783759368,"priority":1,"record_length":96,"hex_timestamp":"0000019f5057ef40"} 
[2026-07-11 14:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642392832001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642392832001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642392832001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":130628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:14:36] local.INFO: GPS data processed {"connection_id":130628,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:14:36] local.INFO: Acknowledgment sent {"connection_id":130628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:15:00] local.INFO: TCP Data received {"connection_id":128685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:15:00] local.INFO: Processing buffer {"connection_id":128685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:15:00] local.INFO: IMEI packet received {"connection_id":128685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":128685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:15:04] local.INFO: TCP Data received {"connection_id":128503,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:15:04] local.INFO: Processing buffer {"connection_id":128503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:15:04] local.INFO: IMEI packet received {"connection_id":128503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:15:05] local.INFO: TCP Data received {"connection_id":128685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:15:05] local.INFO: Processing buffer {"connection_id":128685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:15:05] local.INFO: IMEI packet received {"connection_id":128685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":128685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:15:05] local.INFO: TCP Data received {"connection_id":128685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50584148012d1965c0071ff170003c009424..."} 
[2026-07-11 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50584148012d1965c0071ff170003c009424..."} 
[2026-07-11 14:15:05] local.INFO: Processing buffer {"connection_id":128685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50584148012d1965c0071ff170003c009424..."} 
[2026-07-11 14:15:05] local.INFO: Packet analysis {"connection_id":128685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5058"} 
[2026-07-11 14:15:05] local.INFO: Extracted packet for processing {"connection_id":128685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5058"} 
[2026-07-11 14:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642398208001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15: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-07-11 14:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783759389000,"timestamp_ms":1783759389000,"timestamp_seconds":1783759389,"priority":1,"record_length":96,"hex_timestamp":"0000019f50584148"} 
[2026-07-11 14:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:15:05] 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-07-11 14:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642398208001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642398208001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642398208001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":128685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:15:06] local.INFO: GPS data processed {"connection_id":128685,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:15:06] local.INFO: Acknowledgment sent {"connection_id":128685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:15:09] local.INFO: TCP Data received {"connection_id":128503,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:15:09] local.INFO: Processing buffer {"connection_id":128503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:15:09] local.INFO: IMEI packet received {"connection_id":128503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":128503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:15:10] local.INFO: TCP Data received {"connection_id":128503,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:15:10] local.INFO: Processing buffer {"connection_id":128503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:15:10] local.INFO: Packet analysis {"connection_id":128503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:15:10] local.INFO: Extracted packet for processing {"connection_id":128503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:15: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-07-11 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:15: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-07-11 14:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:15:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":128503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:15:10] local.INFO: GPS data processed {"connection_id":128503,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:15:10] local.INFO: Acknowledgment sent {"connection_id":128503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:15:37] local.INFO: TCP Data received {"connection_id":128685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50589350012d1965c0071ff170003c009426..."} 
[2026-07-11 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50589350012d1965c0071ff170003c009426..."} 
[2026-07-11 14:15:37] local.INFO: Processing buffer {"connection_id":128685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50589350012d1965c0071ff170003c009426..."} 
[2026-07-11 14:15:37] local.INFO: Packet analysis {"connection_id":128685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5058"} 
[2026-07-11 14:15:37] local.INFO: Extracted packet for processing {"connection_id":128685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5058"} 
[2026-07-11 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642403584001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14: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-07-11 14:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783759410000,"timestamp_ms":1783759410000,"timestamp_seconds":1783759410,"priority":1,"record_length":96,"hex_timestamp":"0000019f50589350"} 
[2026-07-11 14:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:15: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-07-11 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:15:37] 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-07-11 14:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642403584001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642403584001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:15:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642403584001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":128685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:15:37] local.INFO: GPS data processed {"connection_id":128685,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:15:37] local.INFO: Acknowledgment sent {"connection_id":128685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:15:41] local.INFO: TCP Data received {"connection_id":128503,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:15:41] local.INFO: Processing buffer {"connection_id":128503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:15:41] local.INFO: Packet analysis {"connection_id":128503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:15:41] local.INFO: Extracted packet for processing {"connection_id":128503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:15:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:15: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-07-11 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:15: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-07-11 14:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:15:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":128503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:15:41] local.INFO: GPS data processed {"connection_id":128503,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:15:41] local.INFO: Acknowledgment sent {"connection_id":128503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:15:59] local.INFO: TCP Data received {"connection_id":128504,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:15:59] local.INFO: Processing buffer {"connection_id":128504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:15:59] local.INFO: IMEI packet received {"connection_id":128504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":128504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:16:04] local.INFO: TCP Data received {"connection_id":130631,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:16:04] local.INFO: Processing buffer {"connection_id":130631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:16:04] local.INFO: IMEI packet received {"connection_id":130631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":130631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:16:04] local.INFO: TCP Data received {"connection_id":128504,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:16:04] local.INFO: Processing buffer {"connection_id":128504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:16:04] local.INFO: IMEI packet received {"connection_id":128504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":128504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:16:05] local.INFO: TCP Data received {"connection_id":128504,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5058e558012d1965c0071ff170003c009426..."} 
[2026-07-11 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5058e558012d1965c0071ff170003c009426..."} 
[2026-07-11 14:16:05] local.INFO: Processing buffer {"connection_id":128504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5058e558012d1965c0071ff170003c009426..."} 
[2026-07-11 14:16:05] local.INFO: Packet analysis {"connection_id":128504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5058"} 
[2026-07-11 14:16:05] local.INFO: Extracted packet for processing {"connection_id":128504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5058"} 
[2026-07-11 14:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642408960001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16: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-07-11 14:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783759431000,"timestamp_ms":1783759431000,"timestamp_seconds":1783759431,"priority":1,"record_length":96,"hex_timestamp":"0000019f5058e558"} 
[2026-07-11 14:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:16:05] 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-07-11 14:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642408960001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642408960001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642408960001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":128504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:16:05] local.INFO: GPS data processed {"connection_id":128504,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:16:05] local.INFO: Acknowledgment sent {"connection_id":128504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:16:09] local.INFO: TCP Data received {"connection_id":130631,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:16:09] local.INFO: Processing buffer {"connection_id":130631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:16:09] local.INFO: IMEI packet received {"connection_id":130631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":130631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:16:10] local.INFO: TCP Data received {"connection_id":130631,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:16:10] local.INFO: Processing buffer {"connection_id":130631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5055d818012cb29c0007823c60004900b32c..."} 
[2026-07-11 14:16:10] local.INFO: Packet analysis {"connection_id":130631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:16:10] local.INFO: Extracted packet for processing {"connection_id":130631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5055"} 
[2026-07-11 14:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642286080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759231000,"timestamp_ms":1783759231000,"timestamp_seconds":1783759231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5055d818"} 
[2026-07-11 14:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:16: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-07-11 14: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":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:16: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-07-11 14:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642286080001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642286080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:16:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642286080001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":130631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:16:10] local.INFO: GPS data processed {"connection_id":130631,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:16:10] local.INFO: Acknowledgment sent {"connection_id":130631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:16:36] local.INFO: TCP Data received {"connection_id":128504,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50593760012d1965c0071ff170003c009426..."} 
[2026-07-11 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50593760012d1965c0071ff170003c009426..."} 
[2026-07-11 14:16:36] local.INFO: Processing buffer {"connection_id":128504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50593760012d1965c0071ff170003c009426..."} 
[2026-07-11 14:16:36] local.INFO: Packet analysis {"connection_id":128504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5059"} 
[2026-07-11 14:16:36] local.INFO: Extracted packet for processing {"connection_id":128504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5059"} 
[2026-07-11 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642414336001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783759452000,"timestamp_ms":1783759452000,"timestamp_seconds":1783759452,"priority":1,"record_length":96,"hex_timestamp":"0000019f50593760"} 
[2026-07-11 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-07-11 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642414336001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642414336001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:16:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642414336001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":128504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:16:36] local.INFO: GPS data processed {"connection_id":128504,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:16:36] local.INFO: Acknowledgment sent {"connection_id":128504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:16:41] local.INFO: TCP Data received {"connection_id":130631,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:16:41] local.INFO: Processing buffer {"connection_id":130631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:16:41] local.INFO: Packet analysis {"connection_id":130631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:16:41] local.INFO: Extracted packet for processing {"connection_id":130631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 14:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:16: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-07-11 14:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:16: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-07-11 14:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:16:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":130631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:16:41] local.INFO: GPS data processed {"connection_id":130631,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:16:41] local.INFO: Acknowledgment sent {"connection_id":130631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:16:59] local.INFO: TCP Data received {"connection_id":128687,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:16:59] local.INFO: Processing buffer {"connection_id":128687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:16:59] local.INFO: IMEI packet received {"connection_id":128687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":128687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:17:04] local.INFO: TCP Data received {"connection_id":128688,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:17:04] local.INFO: Processing buffer {"connection_id":128688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:17:04] local.INFO: IMEI packet received {"connection_id":128688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":128688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:17:05] local.INFO: TCP Data received {"connection_id":128687,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:17:05] local.INFO: Processing buffer {"connection_id":128687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:17:05] local.INFO: IMEI packet received {"connection_id":128687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":128687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:17:05] local.INFO: TCP Data received {"connection_id":128687,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50598968012d1965c0071ff170003c009424..."} 
[2026-07-11 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50598968012d1965c0071ff170003c009424..."} 
[2026-07-11 14:17:05] local.INFO: Processing buffer {"connection_id":128687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50598968012d1965c0071ff170003c009424..."} 
[2026-07-11 14:17:05] local.INFO: Packet analysis {"connection_id":128687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5059"} 
[2026-07-11 14:17:05] local.INFO: Extracted packet for processing {"connection_id":128687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5059"} 
[2026-07-11 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642419712001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17: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-07-11 14:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783759473000,"timestamp_ms":1783759473000,"timestamp_seconds":1783759473,"priority":1,"record_length":96,"hex_timestamp":"0000019f50598968"} 
[2026-07-11 14:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:17:05] 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-07-11 14:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642419712001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642419712001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642419712001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":128687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:17:05] local.INFO: GPS data processed {"connection_id":128687,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:17:05] local.INFO: Acknowledgment sent {"connection_id":128687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:17:09] local.INFO: TCP Data received {"connection_id":128688,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:17:09] local.INFO: Processing buffer {"connection_id":128688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:17:09] local.INFO: IMEI packet received {"connection_id":128688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":128688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:17:10] local.INFO: TCP Data received {"connection_id":128688,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:17:10] local.INFO: Processing buffer {"connection_id":128688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:17:10] local.INFO: Packet analysis {"connection_id":128688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:17:10] local.INFO: Extracted packet for processing {"connection_id":128688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 14:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:17: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-07-11 14:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:17:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":128688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:17:10] local.INFO: GPS data processed {"connection_id":128688,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:17:10] local.INFO: Acknowledgment sent {"connection_id":128688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:17:36] local.INFO: TCP Data received {"connection_id":128687,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5059db70012d1965c0071ff170003c009428..."} 
[2026-07-11 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5059db70012d1965c0071ff170003c009428..."} 
[2026-07-11 14:17:36] local.INFO: Processing buffer {"connection_id":128687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5059db70012d1965c0071ff170003c009428..."} 
[2026-07-11 14:17:36] local.INFO: Packet analysis {"connection_id":128687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5059"} 
[2026-07-11 14:17:36] local.INFO: Extracted packet for processing {"connection_id":128687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5059"} 
[2026-07-11 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642425088001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783759494000,"timestamp_ms":1783759494000,"timestamp_seconds":1783759494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5059db70"} 
[2026-07-11 14:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642425088001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642425088001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642425088001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":128687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:17:37] local.INFO: GPS data processed {"connection_id":128687,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:17:37] local.INFO: Acknowledgment sent {"connection_id":128687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:17:41] local.INFO: TCP Data received {"connection_id":128688,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:17:41] local.INFO: Processing buffer {"connection_id":128688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:17:41] local.INFO: Packet analysis {"connection_id":128688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:17:41] local.INFO: Extracted packet for processing {"connection_id":128688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:17:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 14:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14: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":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:17: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-07-11 14:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:17:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":128688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:17:41] local.INFO: GPS data processed {"connection_id":128688,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:17:41] local.INFO: Acknowledgment sent {"connection_id":128688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:17:59] local.INFO: TCP Data received {"connection_id":130632,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:17:59] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:17:59] local.INFO: IMEI packet received {"connection_id":130632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":130632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:18:04] local.INFO: TCP Data received {"connection_id":128506,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:18:04] local.INFO: Processing buffer {"connection_id":128506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:18:04] local.INFO: IMEI packet received {"connection_id":128506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":128506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:18:05] local.INFO: TCP Data received {"connection_id":130632,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:18:05] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:18:05] local.INFO: IMEI packet received {"connection_id":130632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":130632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:18:06] local.INFO: TCP Data received {"connection_id":130632,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a2d78012d1965c0071ff170003c009426..."} 
[2026-07-11 14:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a2d78012d1965c0071ff170003c009426..."} 
[2026-07-11 14:18:06] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a2d78012d1965c0071ff170003c009426..."} 
[2026-07-11 14:18:06] local.INFO: Packet analysis {"connection_id":130632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:18:06] local.INFO: Extracted packet for processing {"connection_id":130632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642430464001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783759515000,"timestamp_ms":1783759515000,"timestamp_seconds":1783759515,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a2d78"} 
[2026-07-11 14:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:18:06] 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-07-11 14:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642430464001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642430464001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642430464001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":130632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:18:06] local.INFO: GPS data processed {"connection_id":130632,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:18:06] local.INFO: Acknowledgment sent {"connection_id":130632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:18:09] local.INFO: TCP Data received {"connection_id":128506,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:18:09] local.INFO: Processing buffer {"connection_id":128506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:18:09] local.INFO: IMEI packet received {"connection_id":128506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":128506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:18:10] local.INFO: TCP Data received {"connection_id":128506,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:18:10] local.INFO: Processing buffer {"connection_id":128506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:18:10] local.INFO: Packet analysis {"connection_id":128506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:18:10] local.INFO: Extracted packet for processing {"connection_id":128506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 14:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:18: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-07-11 14:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:18: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-07-11 14:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":128506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:18:10] local.INFO: GPS data processed {"connection_id":128506,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:18:10] local.INFO: Acknowledgment sent {"connection_id":128506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:18:37] local.INFO: TCP Data received {"connection_id":130632,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a7f80012d1965c0071ff170003c009427..."} 
[2026-07-11 14:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a7f80012d1965c0071ff170003c009427..."} 
[2026-07-11 14:18:37] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a7f80012d1965c0071ff170003c009427..."} 
[2026-07-11 14:18:37] local.INFO: Packet analysis {"connection_id":130632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:18:37] local.INFO: Extracted packet for processing {"connection_id":130632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642435840001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18: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-07-11 14:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783759536000,"timestamp_ms":1783759536000,"timestamp_seconds":1783759536,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a7f80"} 
[2026-07-11 14:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:18: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-07-11 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:18:37] 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-07-11 14:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642435840001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642435840001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:18:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642435840001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":130632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:18:37] local.INFO: GPS data processed {"connection_id":130632,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:18:37] local.INFO: Acknowledgment sent {"connection_id":130632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:18:41] local.INFO: TCP Data received {"connection_id":128506,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:18:41] local.INFO: Processing buffer {"connection_id":128506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:18:41] local.INFO: Packet analysis {"connection_id":128506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:18:41] local.INFO: Extracted packet for processing {"connection_id":128506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 14:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:18: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-07-11 14:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:18: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-07-11 14:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:18:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":128506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:18:41] local.INFO: GPS data processed {"connection_id":128506,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:18:41] local.INFO: Acknowledgment sent {"connection_id":128506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:19:01] local.INFO: TCP Data received {"connection_id":129404,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:19:01] local.INFO: Processing buffer {"connection_id":129404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:19:01] local.INFO: IMEI packet received {"connection_id":129404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":129404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:19:05] local.INFO: TCP Data received {"connection_id":129404,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:19:05] local.INFO: Processing buffer {"connection_id":129404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:19:05] local.INFO: IMEI packet received {"connection_id":129404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":129404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:19:09] local.INFO: TCP Data received {"connection_id":128690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:19:09] local.INFO: Processing buffer {"connection_id":128690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:19:09] local.INFO: IMEI packet received {"connection_id":128690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":128690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:19:10] local.INFO: TCP Data received {"connection_id":129404,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:19:10] local.INFO: Processing buffer {"connection_id":129404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:19:10] local.INFO: IMEI packet received {"connection_id":129404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":129404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:19:10] local.INFO: TCP Data received {"connection_id":129404,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505ad188012d1965c0071ff170003c009426..."} 
[2026-07-11 14:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505ad188012d1965c0071ff170003c009426..."} 
[2026-07-11 14:19:10] local.INFO: Processing buffer {"connection_id":129404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505ad188012d1965c0071ff170003c009426..."} 
[2026-07-11 14:19:10] local.INFO: Packet analysis {"connection_id":129404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:19:10] local.INFO: Extracted packet for processing {"connection_id":129404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:19:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642441216001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759557000,"timestamp_ms":1783759557000,"timestamp_seconds":1783759557,"priority":1,"record_length":96,"hex_timestamp":"0000019f505ad188"} 
[2026-07-11 14:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:19:10] 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-07-11 14:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642441216001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642441216001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:19:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:19:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642441216001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:19:11] local.INFO: TCP Data received {"connection_id":128689,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:19:11] local.INFO: Processing buffer {"connection_id":128689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:19:11] local.INFO: IMEI packet received {"connection_id":128689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":128689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":129404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:19:11] local.INFO: GPS data processed {"connection_id":129404,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:19:11] local.INFO: Acknowledgment sent {"connection_id":129404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:19:14] local.INFO: TCP Data received {"connection_id":128690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:19:14] local.INFO: Processing buffer {"connection_id":128690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:19:14] local.INFO: IMEI packet received {"connection_id":128690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":128690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:19:15] local.INFO: TCP Data received {"connection_id":128690,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:19:15] local.INFO: Processing buffer {"connection_id":128690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:19:15] local.INFO: Packet analysis {"connection_id":128690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:19:15] local.INFO: Extracted packet for processing {"connection_id":128690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:19:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 14:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:19:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:19:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":128690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:19:15] local.INFO: GPS data processed {"connection_id":128690,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:19:15] local.INFO: Acknowledgment sent {"connection_id":128690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:19:15] local.INFO: TCP Data received {"connection_id":129404,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505b2390012d1965c0071ff170003c009426..."} 
[2026-07-11 14:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505b2390012d1965c0071ff170003c009426..."} 
[2026-07-11 14:19:15] local.INFO: Processing buffer {"connection_id":129404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505b2390012d1965c0071ff170003c009426..."} 
[2026-07-11 14:19:15] local.INFO: Packet analysis {"connection_id":129404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505b"} 
[2026-07-11 14:19:15] local.INFO: Extracted packet for processing {"connection_id":129404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505b"} 
[2026-07-11 14:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642446592001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783759578000,"timestamp_ms":1783759578000,"timestamp_seconds":1783759578,"priority":1,"record_length":96,"hex_timestamp":"0000019f505b2390"} 
[2026-07-11 14:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:19:15] 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-07-11 14:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642446592001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642446592001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642446592001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":129404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:19:15] local.INFO: GPS data processed {"connection_id":129404,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:19:15] local.INFO: Acknowledgment sent {"connection_id":129404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:19:19] local.INFO: TCP Data received {"connection_id":128690,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:19:19] local.INFO: Processing buffer {"connection_id":128690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:19:19] local.INFO: Packet analysis {"connection_id":128690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:19:19] local.INFO: Extracted packet for processing {"connection_id":128690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:19:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 14:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:19:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:19:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":128690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:19:19] local.INFO: GPS data processed {"connection_id":128690,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:19:19] local.INFO: Acknowledgment sent {"connection_id":128690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:19:45] local.INFO: TCP Data received {"connection_id":129405,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:19:45] local.INFO: Processing buffer {"connection_id":129405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:19:45] local.INFO: IMEI packet received {"connection_id":129405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":129405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:20:00] local.INFO: TCP Data received {"connection_id":128507,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:20:00] local.INFO: Processing buffer {"connection_id":128507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:20:00] local.INFO: IMEI packet received {"connection_id":128507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":128507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:20:04] local.INFO: TCP Data received {"connection_id":128508,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:20:04] local.INFO: Processing buffer {"connection_id":128508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:20:04] local.INFO: IMEI packet received {"connection_id":128508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":128508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:20:05] local.INFO: TCP Data received {"connection_id":128507,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:20:05] local.INFO: Processing buffer {"connection_id":128507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:20:05] local.INFO: IMEI packet received {"connection_id":128507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":128507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:20:06] local.INFO: TCP Data received {"connection_id":128507,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505b7598012d1965c0071ff170003c009427..."} 
[2026-07-11 14:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505b7598012d1965c0071ff170003c009427..."} 
[2026-07-11 14:20:06] local.INFO: Processing buffer {"connection_id":128507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505b7598012d1965c0071ff170003c009427..."} 
[2026-07-11 14:20:06] local.INFO: Packet analysis {"connection_id":128507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505b"} 
[2026-07-11 14:20:06] local.INFO: Extracted packet for processing {"connection_id":128507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505b"} 
[2026-07-11 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642451968001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783759599000,"timestamp_ms":1783759599000,"timestamp_seconds":1783759599,"priority":1,"record_length":96,"hex_timestamp":"0000019f505b7598"} 
[2026-07-11 14:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:20:06] 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-07-11 14:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642451968001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642451968001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642451968001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":128507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:20:06] local.INFO: GPS data processed {"connection_id":128507,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:20:06] local.INFO: Acknowledgment sent {"connection_id":128507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:20:09] local.INFO: TCP Data received {"connection_id":128508,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:20:09] local.INFO: Processing buffer {"connection_id":128508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:20:09] local.INFO: IMEI packet received {"connection_id":128508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":128508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:20:10] local.INFO: TCP Data received {"connection_id":128508,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:20:10] local.INFO: Processing buffer {"connection_id":128508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:20:10] local.INFO: Packet analysis {"connection_id":128508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:20:10] local.INFO: Extracted packet for processing {"connection_id":128508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 14:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:20: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-07-11 14:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:20: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-07-11 14:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:20:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":128508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:20:10] local.INFO: GPS data processed {"connection_id":128508,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:20:10] local.INFO: Acknowledgment sent {"connection_id":128508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:20:37] local.INFO: TCP Data received {"connection_id":128507,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505bc7a0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505bc7a0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:20:37] local.INFO: Processing buffer {"connection_id":128507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505bc7a0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:20:37] local.INFO: Packet analysis {"connection_id":128507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505b"} 
[2026-07-11 14:20:37] local.INFO: Extracted packet for processing {"connection_id":128507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505b"} 
[2026-07-11 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642457344001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20: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-07-11 14:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783759620000,"timestamp_ms":1783759620000,"timestamp_seconds":1783759620,"priority":1,"record_length":96,"hex_timestamp":"0000019f505bc7a0"} 
[2026-07-11 14:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:20: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-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:20:37] 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-07-11 14:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642457344001,"66":12113,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642457344001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:20:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642457344001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":128507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:20:37] local.INFO: GPS data processed {"connection_id":128507,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:20:37] local.INFO: Acknowledgment sent {"connection_id":128507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:20:41] local.INFO: TCP Data received {"connection_id":128508,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:20:41] local.INFO: Processing buffer {"connection_id":128508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:20:41] local.INFO: Packet analysis {"connection_id":128508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:20:41] local.INFO: Extracted packet for processing {"connection_id":128508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:20:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 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-07-11 14:20: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-07-11 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-07-11 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-07-11 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-07-11 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-07-11 14:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:20:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":128508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:20:41] local.INFO: GPS data processed {"connection_id":128508,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:20:41] local.INFO: Acknowledgment sent {"connection_id":128508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:21:00] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:21:00] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:21:00] local.INFO: IMEI packet received {"connection_id":130633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":130633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:21:04] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:21:04] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:21:04] local.INFO: IMEI packet received {"connection_id":130634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":130634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:21:04] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:21:04] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:21:04] local.INFO: IMEI packet received {"connection_id":130633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":130633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:21:05] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505c19a8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505c19a8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:21:05] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505c19a8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:21:05] local.INFO: Packet analysis {"connection_id":130633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505c"} 
[2026-07-11 14:21:05] local.INFO: Extracted packet for processing {"connection_id":130633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505c"} 
[2026-07-11 14:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642462720001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21: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-07-11 14:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783759641000,"timestamp_ms":1783759641000,"timestamp_seconds":1783759641,"priority":1,"record_length":96,"hex_timestamp":"0000019f505c19a8"} 
[2026-07-11 14:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-11 14:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:21:05] 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-07-11 14:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642462720001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642462720001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642462720001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":130633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:21:05] local.INFO: GPS data processed {"connection_id":130633,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:21:05] local.INFO: Acknowledgment sent {"connection_id":130633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:21:09] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:21:09] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:21:09] local.INFO: IMEI packet received {"connection_id":130634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":130634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:21:10] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:21:10] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505a6fe0012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:21:10] local.INFO: Packet analysis {"connection_id":130634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:21:10] local.INFO: Extracted packet for processing {"connection_id":130634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505a"} 
[2026-07-11 14:21:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642363136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759532000,"timestamp_ms":1783759532000,"timestamp_seconds":1783759532,"priority":1,"record_length":96,"hex_timestamp":"0000019f505a6fe0"} 
[2026-07-11 14:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:21: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-07-11 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:21: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-07-11 14:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642363136001,"66":25473,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642363136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:21:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642363136001,"power":25473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":130634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:21:10] local.INFO: GPS data processed {"connection_id":130634,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:21:10] local.INFO: Acknowledgment sent {"connection_id":130634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:21:36] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505c6bb0012d1965c0071ff170003c009421..."} 
[2026-07-11 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505c6bb0012d1965c0071ff170003c009421..."} 
[2026-07-11 14:21:36] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505c6bb0012d1965c0071ff170003c009421..."} 
[2026-07-11 14:21:36] local.INFO: Packet analysis {"connection_id":130633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505c"} 
[2026-07-11 14:21:36] local.INFO: Extracted packet for processing {"connection_id":130633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505c"} 
[2026-07-11 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642468096001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783759662000,"timestamp_ms":1783759662000,"timestamp_seconds":1783759662,"priority":1,"record_length":96,"hex_timestamp":"0000019f505c6bb0"} 
[2026-07-11 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-07-11 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642468096001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642468096001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:21:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642468096001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":130633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:21:36] local.INFO: GPS data processed {"connection_id":130633,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:21:36] local.INFO: Acknowledgment sent {"connection_id":130633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:21:41] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:21:41] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:21:41] local.INFO: Packet analysis {"connection_id":130634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:21:41] local.INFO: Extracted packet for processing {"connection_id":130634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 14:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:21: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-07-11 14: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":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:21: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-07-11 14:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:21:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":130634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:21:41] local.INFO: GPS data processed {"connection_id":130634,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:21:41] local.INFO: Acknowledgment sent {"connection_id":130634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:22:00] local.INFO: TCP Data received {"connection_id":129407,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:22:00] local.INFO: Processing buffer {"connection_id":129407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:22:00] local.INFO: IMEI packet received {"connection_id":129407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":129407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:22:04] local.INFO: TCP Data received {"connection_id":128510,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:22:04] local.INFO: Processing buffer {"connection_id":128510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:22:04] local.INFO: IMEI packet received {"connection_id":128510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":128510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:22:05] local.INFO: TCP Data received {"connection_id":129407,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:22:05] local.INFO: Processing buffer {"connection_id":129407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:22:05] local.INFO: IMEI packet received {"connection_id":129407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":129407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:22:05] local.INFO: TCP Data received {"connection_id":129407,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505cbdb8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505cbdb8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:22:05] local.INFO: Processing buffer {"connection_id":129407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505cbdb8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:22:05] local.INFO: Packet analysis {"connection_id":129407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505c"} 
[2026-07-11 14:22:05] local.INFO: Extracted packet for processing {"connection_id":129407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505c"} 
[2026-07-11 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642473472001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14: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-07-11 14:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783759683000,"timestamp_ms":1783759683000,"timestamp_seconds":1783759683,"priority":1,"record_length":96,"hex_timestamp":"0000019f505cbdb8"} 
[2026-07-11 14:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:22:05] 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-07-11 14:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642473472001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642473472001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642473472001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":129407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:22:05] local.INFO: GPS data processed {"connection_id":129407,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:22:05] local.INFO: Acknowledgment sent {"connection_id":129407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:22:09] local.INFO: TCP Data received {"connection_id":128510,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:22:09] local.INFO: Processing buffer {"connection_id":128510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:22:09] local.INFO: IMEI packet received {"connection_id":128510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:22:10] local.INFO: TCP Data received {"connection_id":128510,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:22:10] local.INFO: Processing buffer {"connection_id":128510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:22:10] local.INFO: Packet analysis {"connection_id":128510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:22:10] local.INFO: Extracted packet for processing {"connection_id":128510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 14:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:22: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-07-11 14:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:22: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-07-11 14:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:22:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:22:10] local.INFO: GPS data processed {"connection_id":128510,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:22:10] local.INFO: Acknowledgment sent {"connection_id":128510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:22:37] local.INFO: TCP Data received {"connection_id":129407,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505d0fc0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505d0fc0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:22:37] local.INFO: Processing buffer {"connection_id":129407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505d0fc0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:22:37] local.INFO: Packet analysis {"connection_id":129407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505d"} 
[2026-07-11 14:22:37] local.INFO: Extracted packet for processing {"connection_id":129407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505d"} 
[2026-07-11 14:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642478848001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22: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-07-11 14:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783759704000,"timestamp_ms":1783759704000,"timestamp_seconds":1783759704,"priority":1,"record_length":96,"hex_timestamp":"0000019f505d0fc0"} 
[2026-07-11 14:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:22: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-07-11 14:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:22:37] 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-07-11 14:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642478848001,"66":12232,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642478848001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:22:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642478848001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":129407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:22:37] local.INFO: GPS data processed {"connection_id":129407,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:22:37] local.INFO: Acknowledgment sent {"connection_id":129407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:22:41] local.INFO: TCP Data received {"connection_id":128510,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:22:41] local.INFO: Processing buffer {"connection_id":128510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:22:41] local.INFO: Packet analysis {"connection_id":128510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:22:41] local.INFO: Extracted packet for processing {"connection_id":128510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 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-07-11 14: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-07-11 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-07-11 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-07-11 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-07-11 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-07-11 14:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:22:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":128510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:22:41] local.INFO: GPS data processed {"connection_id":128510,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:22:41] local.INFO: Acknowledgment sent {"connection_id":128510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:22:59] local.INFO: TCP Data received {"connection_id":128691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:22:59] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:22:59] local.INFO: IMEI packet received {"connection_id":128691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":128691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:23:04] local.INFO: TCP Data received {"connection_id":128691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:23:04] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:23:04] local.INFO: IMEI packet received {"connection_id":128691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":128691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:23:05] local.INFO: TCP Data received {"connection_id":128691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505d61c8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505d61c8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:23:05] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505d61c8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:23:05] local.INFO: Packet analysis {"connection_id":128691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505d"} 
[2026-07-11 14:23:05] local.INFO: Extracted packet for processing {"connection_id":128691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505d"} 
[2026-07-11 14:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642484224001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23: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-07-11 14:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783759725000,"timestamp_ms":1783759725000,"timestamp_seconds":1783759725,"priority":1,"record_length":96,"hex_timestamp":"0000019f505d61c8"} 
[2026-07-11 14:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 14:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:23:05] 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-07-11 14:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642484224001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642484224001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642484224001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":128691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:23:05] local.INFO: GPS data processed {"connection_id":128691,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:23:05] local.INFO: Acknowledgment sent {"connection_id":128691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:23:09] local.INFO: TCP Data received {"connection_id":130635,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:23:09] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:23:09] local.INFO: IMEI packet received {"connection_id":130635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":130635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:23:14] local.INFO: TCP Data received {"connection_id":130635,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:23:14] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:23:14] local.INFO: IMEI packet received {"connection_id":130635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":130635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:23:15] local.INFO: TCP Data received {"connection_id":130635,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:23:15] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:23:15] local.INFO: Packet analysis {"connection_id":130635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:23:15] local.INFO: Extracted packet for processing {"connection_id":130635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 14:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:23:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":130635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:23:15] local.INFO: GPS data processed {"connection_id":130635,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:23:15] local.INFO: Acknowledgment sent {"connection_id":130635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:23:19] local.INFO: TCP Data received {"connection_id":130635,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:23:19] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:23:19] local.INFO: Packet analysis {"connection_id":130635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:23:19] local.INFO: Extracted packet for processing {"connection_id":130635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:23:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 14:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:23:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:23:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":130635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:23:19] local.INFO: GPS data processed {"connection_id":130635,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:23:19] local.INFO: Acknowledgment sent {"connection_id":130635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:23:36] local.INFO: TCP Data received {"connection_id":128691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505db3d0012d1965c0071ff170003c009427..."} 
[2026-07-11 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505db3d0012d1965c0071ff170003c009427..."} 
[2026-07-11 14:23:36] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505db3d0012d1965c0071ff170003c009427..."} 
[2026-07-11 14:23:36] local.INFO: Packet analysis {"connection_id":128691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505d"} 
[2026-07-11 14:23:36] local.INFO: Extracted packet for processing {"connection_id":128691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505d"} 
[2026-07-11 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642489600001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783759746000,"timestamp_ms":1783759746000,"timestamp_seconds":1783759746,"priority":1,"record_length":96,"hex_timestamp":"0000019f505db3d0"} 
[2026-07-11 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-07-11 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642489600001,"66":12287,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642489600001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:23:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642489600001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":128691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:23:36] local.INFO: GPS data processed {"connection_id":128691,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:23:36] local.INFO: Acknowledgment sent {"connection_id":128691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:23:59] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:23:59] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:23:59] local.INFO: IMEI packet received {"connection_id":130636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":130636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:24:04] local.INFO: TCP Data received {"connection_id":129410,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:24:04] local.INFO: Processing buffer {"connection_id":129410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:24:04] local.INFO: IMEI packet received {"connection_id":129410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":129410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:24:04] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:24:05] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:24:05] local.INFO: IMEI packet received {"connection_id":130636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":130636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:24:05] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505e05d8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505e05d8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:24:05] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505e05d8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:24:05] local.INFO: Packet analysis {"connection_id":130636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505e"} 
[2026-07-11 14:24:05] local.INFO: Extracted packet for processing {"connection_id":130636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505e"} 
[2026-07-11 14:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642494976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24: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-07-11 14:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783759767000,"timestamp_ms":1783759767000,"timestamp_seconds":1783759767,"priority":1,"record_length":96,"hex_timestamp":"0000019f505e05d8"} 
[2026-07-11 14:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 14:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:24:05] 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-07-11 14:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642494976001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642494976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642494976001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":130636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:24:05] local.INFO: GPS data processed {"connection_id":130636,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:24:05] local.INFO: Acknowledgment sent {"connection_id":130636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:24:09] local.INFO: TCP Data received {"connection_id":129410,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:24:09] local.INFO: Processing buffer {"connection_id":129410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:24:09] local.INFO: IMEI packet received {"connection_id":129410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":129410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:24:10] local.INFO: TCP Data received {"connection_id":129410,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:24:10] local.INFO: Processing buffer {"connection_id":129410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:24:10] local.INFO: Packet analysis {"connection_id":129410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:24:10] local.INFO: Extracted packet for processing {"connection_id":129410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 14:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:24: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-07-11 14: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":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:24: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-07-11 14:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:24:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":129410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:24:10] local.INFO: GPS data processed {"connection_id":129410,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:24:10] local.INFO: Acknowledgment sent {"connection_id":129410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:24:36] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f505e57e0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505e57e0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:24:36] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505e57e0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:24:36] local.INFO: Packet analysis {"connection_id":130636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505e"} 
[2026-07-11 14:24:36] local.INFO: Extracted packet for processing {"connection_id":130636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505e"} 
[2026-07-11 14:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642500352001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783759788000,"timestamp_ms":1783759788000,"timestamp_seconds":1783759788,"priority":1,"record_length":96,"hex_timestamp":"0000019f505e57e0"} 
[2026-07-11 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-07-11 14:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642500352001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642500352001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642500352001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":130636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:24:36] local.INFO: GPS data processed {"connection_id":130636,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:24:36] local.INFO: Acknowledgment sent {"connection_id":130636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:24:41] local.INFO: TCP Data received {"connection_id":129410,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:24:41] local.INFO: Processing buffer {"connection_id":129410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:24:41] local.INFO: Packet analysis {"connection_id":129410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:24:41] local.INFO: Extracted packet for processing {"connection_id":129410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 14:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:24: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-07-11 14:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:24: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-07-11 14:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:24:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":129410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:24:41] local.INFO: GPS data processed {"connection_id":129410,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:24:41] local.INFO: Acknowledgment sent {"connection_id":129410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:25:04] local.INFO: TCP Data received {"connection_id":129411,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:25:04] local.INFO: Processing buffer {"connection_id":129411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:25:04] local.INFO: IMEI packet received {"connection_id":129411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":129411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:25:05] local.INFO: TCP Data received {"connection_id":130638,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:25:05] local.INFO: Processing buffer {"connection_id":130638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:25:05] local.INFO: IMEI packet received {"connection_id":130638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":130638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:25:09] local.INFO: TCP Data received {"connection_id":129411,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:25:09] local.INFO: Processing buffer {"connection_id":129411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:25:09] local.INFO: IMEI packet received {"connection_id":129411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":129411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:25:10] local.INFO: TCP Data received {"connection_id":130638,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:25:10] local.INFO: Processing buffer {"connection_id":130638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:25:10] local.INFO: IMEI packet received {"connection_id":130638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":130638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:25:10] local.INFO: TCP Data received {"connection_id":129411,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:25:10] local.INFO: Processing buffer {"connection_id":129411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:25:10] local.INFO: Packet analysis {"connection_id":129411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:25:10] local.INFO: Extracted packet for processing {"connection_id":129411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 14:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:25: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-07-11 14:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:25: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-07-11 14:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:25:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":129411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:25:10] local.INFO: GPS data processed {"connection_id":129411,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:25:10] local.INFO: Acknowledgment sent {"connection_id":129411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:25:10] local.INFO: TCP Data received {"connection_id":130637,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:25:10] local.INFO: Processing buffer {"connection_id":130637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:25:10] local.INFO: IMEI packet received {"connection_id":130637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":130637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:25:10] local.INFO: TCP Data received {"connection_id":130638,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5061de38012d1965c0071ff170003c009425..."} 
[2026-07-11 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5061de38012d1965c0071ff170003c009425..."} 
[2026-07-11 14:25:10] local.INFO: Processing buffer {"connection_id":130638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5061de38012d1965c0071ff170003c009425..."} 
[2026-07-11 14:25:10] local.INFO: Packet analysis {"connection_id":130638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5061"} 
[2026-07-11 14:25:10] local.INFO: Extracted packet for processing {"connection_id":130638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5061"} 
[2026-07-11 14:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642559488001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760019000,"timestamp_ms":1783760019000,"timestamp_seconds":1783760019,"priority":1,"record_length":96,"hex_timestamp":"0000019f5061de38"} 
[2026-07-11 14:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:25:10] 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-07-11 14:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642559488001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642559488001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642559488001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":130638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:25:10] local.INFO: GPS data processed {"connection_id":130638,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:25:10] local.INFO: Acknowledgment sent {"connection_id":130638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:25:15] local.INFO: TCP Data received {"connection_id":130638,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50623040012d1965c0071ff170003c009426..."} 
[2026-07-11 14:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50623040012d1965c0071ff170003c009426..."} 
[2026-07-11 14:25:15] local.INFO: Processing buffer {"connection_id":130638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50623040012d1965c0071ff170003c009426..."} 
[2026-07-11 14:25:15] local.INFO: Packet analysis {"connection_id":130638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5062"} 
[2026-07-11 14:25:15] local.INFO: Extracted packet for processing {"connection_id":130638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5062"} 
[2026-07-11 14:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642564864001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783760040000,"timestamp_ms":1783760040000,"timestamp_seconds":1783760040,"priority":1,"record_length":96,"hex_timestamp":"0000019f50623040"} 
[2026-07-11 14:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:25:15] 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-07-11 14:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642564864001,"66":12363,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642564864001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:25:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642564864001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":130638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:25:15] local.INFO: GPS data processed {"connection_id":130638,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:25:15] local.INFO: Acknowledgment sent {"connection_id":130638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:25:41] local.INFO: TCP Data received {"connection_id":129411,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:25:41] local.INFO: Processing buffer {"connection_id":129411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:25:41] local.INFO: Packet analysis {"connection_id":129411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:25:41] local.INFO: Extracted packet for processing {"connection_id":129411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 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-07-11 14:25: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-07-11 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":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:25: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-07-11 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-07-11 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-07-11 14:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:25:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":129411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:25:41] local.INFO: GPS data processed {"connection_id":129411,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:25:41] local.INFO: Acknowledgment sent {"connection_id":129411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:25:45] local.INFO: TCP Data received {"connection_id":128692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:25:45] local.INFO: Processing buffer {"connection_id":128692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:25:45] local.INFO: IMEI packet received {"connection_id":128692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":128692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:26:00] local.INFO: TCP Data received {"connection_id":128693,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:26:00] local.INFO: Processing buffer {"connection_id":128693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:26:00] local.INFO: IMEI packet received {"connection_id":128693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":128693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:26:01] local.INFO: TCP Data received {"connection_id":128693,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:26:01] local.INFO: Processing buffer {"connection_id":128693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:26:01] local.INFO: IMEI packet received {"connection_id":128693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":128693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:26:02] local.INFO: TCP Data received {"connection_id":128693,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50628248012d1965c0071ff170003c009427..."} 
[2026-07-11 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50628248012d1965c0071ff170003c009427..."} 
[2026-07-11 14:26:02] local.INFO: Processing buffer {"connection_id":128693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50628248012d1965c0071ff170003c009427..."} 
[2026-07-11 14:26:02] local.INFO: Packet analysis {"connection_id":128693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5062"} 
[2026-07-11 14:26:02] local.INFO: Extracted packet for processing {"connection_id":128693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5062"} 
[2026-07-11 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642570240001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26: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-07-11 14:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783760061000,"timestamp_ms":1783760061000,"timestamp_seconds":1783760061,"priority":1,"record_length":96,"hex_timestamp":"0000019f50628248"} 
[2026-07-11 14:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 14:26:02] 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-07-11 14:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:26:02] 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-07-11 14:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642570240001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642570240001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:26:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642570240001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":128693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:26:02] local.INFO: GPS data processed {"connection_id":128693,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:26:02] local.INFO: Acknowledgment sent {"connection_id":128693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:26:05] local.INFO: TCP Data received {"connection_id":128511,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:26:05] local.INFO: Processing buffer {"connection_id":128511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:26:05] local.INFO: IMEI packet received {"connection_id":128511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":128511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:26:09] local.INFO: TCP Data received {"connection_id":128511,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:26:09] local.INFO: Processing buffer {"connection_id":128511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:26:09] local.INFO: IMEI packet received {"connection_id":128511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":128511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:26:10] local.INFO: TCP Data received {"connection_id":128511,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:26:10] local.INFO: Processing buffer {"connection_id":128511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f505f07a8012cb29c0007823c60004f00b32b..."} 
[2026-07-11 14:26:10] local.INFO: Packet analysis {"connection_id":128511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:26:10] local.INFO: Extracted packet for processing {"connection_id":128511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f505f"} 
[2026-07-11 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":79,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642440192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783759833000,"timestamp_ms":1783759833000,"timestamp_seconds":1783759833,"priority":1,"record_length":96,"hex_timestamp":"0000019f505f07a8"} 
[2026-07-11 14:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 14:26: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-07-11 14:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642440192001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642440192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:26:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642440192001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":128511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:26:10] local.INFO: GPS data processed {"connection_id":128511,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:26:10] local.INFO: Acknowledgment sent {"connection_id":128511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:26:34] local.INFO: TCP Data received {"connection_id":128693,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5062d450012d1965c0071ff170003c009422..."} 
[2026-07-11 14:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5062d450012d1965c0071ff170003c009422..."} 
[2026-07-11 14:26:34] local.INFO: Processing buffer {"connection_id":128693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5062d450012d1965c0071ff170003c009422..."} 
[2026-07-11 14:26:34] local.INFO: Packet analysis {"connection_id":128693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5062"} 
[2026-07-11 14:26:34] local.INFO: Extracted packet for processing {"connection_id":128693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5062"} 
[2026-07-11 14:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642575616001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26: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-07-11 14:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783760082000,"timestamp_ms":1783760082000,"timestamp_seconds":1783760082,"priority":1,"record_length":96,"hex_timestamp":"0000019f5062d450"} 
[2026-07-11 14:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":128693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":128693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":128693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:26:34] 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-07-11 14:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642575616001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642575616001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:26:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642575616001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":128693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:26:34] local.INFO: GPS data processed {"connection_id":128693,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:26:34] local.INFO: Acknowledgment sent {"connection_id":128693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:26:41] local.INFO: TCP Data received {"connection_id":128511,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:26:41] local.INFO: Processing buffer {"connection_id":128511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:26:41] local.INFO: Packet analysis {"connection_id":128511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:26:41] local.INFO: Extracted packet for processing {"connection_id":128511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 14:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:26: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-07-11 14:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:26: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-07-11 14:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:26:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":128511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:26:41] local.INFO: GPS data processed {"connection_id":128511,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:26:41] local.INFO: Acknowledgment sent {"connection_id":128511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:27:00] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:27:00] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:27:00] local.INFO: IMEI packet received {"connection_id":128512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":128512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:27:04] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:27:04] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:27:04] local.INFO: IMEI packet received {"connection_id":130639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":130639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:27:05] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:27:05] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:27:05] local.INFO: IMEI packet received {"connection_id":128512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":128512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:27:06] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50632270012d1965c0071ff170003c009426..."} 
[2026-07-11 14:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50632270012d1965c0071ff170003c009426..."} 
[2026-07-11 14:27:06] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50632270012d1965c0071ff170003c009426..."} 
[2026-07-11 14:27:06] local.INFO: Packet analysis {"connection_id":128512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:27:06] local.INFO: Extracted packet for processing {"connection_id":128512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642580992001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783760102000,"timestamp_ms":1783760102000,"timestamp_seconds":1783760102,"priority":1,"record_length":96,"hex_timestamp":"0000019f50632270"} 
[2026-07-11 14:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:27:06] 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-07-11 14:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642580992001,"66":12406,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642580992001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642580992001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":128512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:27:06] local.INFO: GPS data processed {"connection_id":128512,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:27:06] local.INFO: Acknowledgment sent {"connection_id":128512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:27:09] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:27:09] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:27:09] local.INFO: IMEI packet received {"connection_id":130639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":130639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:27:10] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:27:10] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:27:10] local.INFO: Packet analysis {"connection_id":130639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:27:10] local.INFO: Extracted packet for processing {"connection_id":130639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 14:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:27:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":130639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:27:10] local.INFO: GPS data processed {"connection_id":130639,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:27:10] local.INFO: Acknowledgment sent {"connection_id":130639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:27:37] local.INFO: TCP Data received {"connection_id":128512,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50637860012d1965c0071ff170003c009426..."} 
[2026-07-11 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50637860012d1965c0071ff170003c009426..."} 
[2026-07-11 14:27:37] local.INFO: Processing buffer {"connection_id":128512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50637860012d1965c0071ff170003c009426..."} 
[2026-07-11 14:27:37] local.INFO: Packet analysis {"connection_id":128512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:27:37] local.INFO: Extracted packet for processing {"connection_id":128512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642586112001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27: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-07-11 14:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783760124000,"timestamp_ms":1783760124000,"timestamp_seconds":1783760124,"priority":1,"record_length":96,"hex_timestamp":"0000019f50637860"} 
[2026-07-11 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-07-11 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:27:37] 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-07-11 14:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642586112001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642586112001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:27:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642586112001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":128512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:27:37] local.INFO: GPS data processed {"connection_id":128512,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:27:37] local.INFO: Acknowledgment sent {"connection_id":128512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:27:41] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:27:41] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:27:41] local.INFO: Packet analysis {"connection_id":130639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:27:41] local.INFO: Extracted packet for processing {"connection_id":130639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 14:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:27: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-07-11 14:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:27: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-07-11 14:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:27:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":130639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:27:41] local.INFO: GPS data processed {"connection_id":130639,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:27:41] local.INFO: Acknowledgment sent {"connection_id":130639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:28:00] local.INFO: TCP Data received {"connection_id":128694,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:28:00] local.INFO: Processing buffer {"connection_id":128694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:28:00] local.INFO: IMEI packet received {"connection_id":128694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":128694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:28:05] local.INFO: TCP Data received {"connection_id":128694,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:28:05] local.INFO: Processing buffer {"connection_id":128694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:28:05] local.INFO: IMEI packet received {"connection_id":128694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":128694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:28:06] local.INFO: TCP Data received {"connection_id":128694,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5063ca68012d1965c0071ff170003c009424..."} 
[2026-07-11 14:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5063ca68012d1965c0071ff170003c009424..."} 
[2026-07-11 14:28:06] local.INFO: Processing buffer {"connection_id":128694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5063ca68012d1965c0071ff170003c009424..."} 
[2026-07-11 14:28:06] local.INFO: Packet analysis {"connection_id":128694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:28:06] local.INFO: Extracted packet for processing {"connection_id":128694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642591744001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783760145000,"timestamp_ms":1783760145000,"timestamp_seconds":1783760145,"priority":1,"record_length":96,"hex_timestamp":"0000019f5063ca68"} 
[2026-07-11 14:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:28:06] 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-07-11 14:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642591744001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642591744001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:28:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642591744001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":128694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:28:06] local.INFO: GPS data processed {"connection_id":128694,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:28:06] local.INFO: Acknowledgment sent {"connection_id":128694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:28:09] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:28:09] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:28:09] local.INFO: IMEI packet received {"connection_id":128514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":128514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:28:14] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:28:14] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:28:14] local.INFO: IMEI packet received {"connection_id":128514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":128514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:28:15] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:28:15] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:28:15] local.INFO: Packet analysis {"connection_id":128514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:28:15] local.INFO: Extracted packet for processing {"connection_id":128514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:28:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 14:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:28:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":128514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:28:15] local.INFO: GPS data processed {"connection_id":128514,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:28:15] local.INFO: Acknowledgment sent {"connection_id":128514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:28:19] local.INFO: TCP Data received {"connection_id":128514,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:28:19] local.INFO: Processing buffer {"connection_id":128514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:28:19] local.INFO: Packet analysis {"connection_id":128514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:28:19] local.INFO: Extracted packet for processing {"connection_id":128514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:28:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 14:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:28:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:28:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":128514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:28:19] local.INFO: GPS data processed {"connection_id":128514,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:28:19] local.INFO: Acknowledgment sent {"connection_id":128514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:28:37] local.INFO: TCP Data received {"connection_id":128694,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50641c70012d1965c0071ff170003c009424..."} 
[2026-07-11 14:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50641c70012d1965c0071ff170003c009424..."} 
[2026-07-11 14:28:37] local.INFO: Processing buffer {"connection_id":128694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50641c70012d1965c0071ff170003c009424..."} 
[2026-07-11 14:28:37] local.INFO: Packet analysis {"connection_id":128694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5064"} 
[2026-07-11 14:28:37] local.INFO: Extracted packet for processing {"connection_id":128694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5064"} 
[2026-07-11 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642597120001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:28: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-07-11 14:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783760166000,"timestamp_ms":1783760166000,"timestamp_seconds":1783760166,"priority":1,"record_length":96,"hex_timestamp":"0000019f50641c70"} 
[2026-07-11 14:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:28:37] 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-07-11 14:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642597120001,"66":12298,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642597120001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:28:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642597120001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":128694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:28:37] local.INFO: GPS data processed {"connection_id":128694,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:28:37] local.INFO: Acknowledgment sent {"connection_id":128694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:28:59] local.INFO: TCP Data received {"connection_id":130640,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:28:59] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:28:59] local.INFO: IMEI packet received {"connection_id":130640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":130640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:29:04] local.INFO: TCP Data received {"connection_id":130641,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:29:04] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:29:04] local.INFO: IMEI packet received {"connection_id":130641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":130641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:29:05] local.INFO: TCP Data received {"connection_id":130640,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:29:05] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:29:05] local.INFO: IMEI packet received {"connection_id":130640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":130640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:29:05] local.INFO: TCP Data received {"connection_id":130640,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50646e78012d1965c0071ff170003c009425..."} 
[2026-07-11 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50646e78012d1965c0071ff170003c009425..."} 
[2026-07-11 14:29:05] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50646e78012d1965c0071ff170003c009425..."} 
[2026-07-11 14:29:05] local.INFO: Packet analysis {"connection_id":130640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5064"} 
[2026-07-11 14:29:05] local.INFO: Extracted packet for processing {"connection_id":130640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5064"} 
[2026-07-11 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642602496001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29: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-07-11 14:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783760187000,"timestamp_ms":1783760187000,"timestamp_seconds":1783760187,"priority":1,"record_length":96,"hex_timestamp":"0000019f50646e78"} 
[2026-07-11 14:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185620,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5792154927894436197,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":26625,"corrected_to":0} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513394345886089364,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":60,"raw_value":41700077995032576,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019562086606,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 14:29:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,49,159,202,45,192,60,36,10,66,120,38,34,1,240,118,227,80,31,4,113,205,130,101,112,39,239,48,2,20,7,37],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":202,"original":26625,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 14:29:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618524615409664,"timestamp_seconds":4323618524615409.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 14:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:29:05] 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-07-11 14:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642602496001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642602496001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642602496001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":130640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:29:06] local.INFO: GPS data processed {"connection_id":130640,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:29:06] local.INFO: Acknowledgment sent {"connection_id":130640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:29:09] local.INFO: TCP Data received {"connection_id":130641,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:29:09] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:29:09] local.INFO: IMEI packet received {"connection_id":130641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":130641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:29:10] local.INFO: TCP Data received {"connection_id":130641,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:29:10] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:29:10] local.INFO: Packet analysis {"connection_id":130641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:29:10] local.INFO: Extracted packet for processing {"connection_id":130641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 14:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:29:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":130641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:29:10] local.INFO: GPS data processed {"connection_id":130641,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:29:10] local.INFO: Acknowledgment sent {"connection_id":130641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:29:37] local.INFO: TCP Data received {"connection_id":130640,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5064c080012d1965c0071ff170003c009427..."} 
[2026-07-11 14:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5064c080012d1965c0071ff170003c009427..."} 
[2026-07-11 14:29:37] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5064c080012d1965c0071ff170003c009427..."} 
[2026-07-11 14:29:37] local.INFO: Packet analysis {"connection_id":130640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5064"} 
[2026-07-11 14:29:37] local.INFO: Extracted packet for processing {"connection_id":130640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5064"} 
[2026-07-11 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642607872001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29: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-07-11 14:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783760208000,"timestamp_ms":1783760208000,"timestamp_seconds":1783760208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5064c080"} 
[2026-07-11 14:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:29:37] 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-07-11 14:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642607872001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642607872001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:29:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642607872001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":130640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:29:37] local.INFO: GPS data processed {"connection_id":130640,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:29:37] local.INFO: Acknowledgment sent {"connection_id":130640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:29:41] local.INFO: TCP Data received {"connection_id":130641,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:29:41] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:29:41] local.INFO: Packet analysis {"connection_id":130641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:29:41] local.INFO: Extracted packet for processing {"connection_id":130641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 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-07-11 14:29: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-07-11 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":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:29: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-07-11 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-07-11 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-07-11 14:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:29:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":130641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:29:41] local.INFO: GPS data processed {"connection_id":130641,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:29:41] local.INFO: Acknowledgment sent {"connection_id":130641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:29:59] local.INFO: TCP Data received {"connection_id":128516,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:29:59] local.INFO: Processing buffer {"connection_id":128516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:29:59] local.INFO: IMEI packet received {"connection_id":128516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":128516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:30:04] local.INFO: TCP Data received {"connection_id":128695,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:30:04] local.INFO: Processing buffer {"connection_id":128695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:30:04] local.INFO: IMEI packet received {"connection_id":128695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":128695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:30:04] local.INFO: TCP Data received {"connection_id":128516,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:30:04] local.INFO: Processing buffer {"connection_id":128516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:30:04] local.INFO: IMEI packet received {"connection_id":128516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":128516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:30:05] local.INFO: TCP Data received {"connection_id":128516,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50651288012d1965c0071ff170003c009427..."} 
[2026-07-11 14:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50651288012d1965c0071ff170003c009427..."} 
[2026-07-11 14:30:05] local.INFO: Processing buffer {"connection_id":128516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50651288012d1965c0071ff170003c009427..."} 
[2026-07-11 14:30:05] local.INFO: Packet analysis {"connection_id":128516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5065"} 
[2026-07-11 14:30:05] local.INFO: Extracted packet for processing {"connection_id":128516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5065"} 
[2026-07-11 14:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642613248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30: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-07-11 14:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783760229000,"timestamp_ms":1783760229000,"timestamp_seconds":1783760229,"priority":1,"record_length":96,"hex_timestamp":"0000019f50651288"} 
[2026-07-11 14:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:30:05] 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-07-11 14:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642613248001,"66":12145,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642613248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:30:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642613248001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":128516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:30:05] local.INFO: GPS data processed {"connection_id":128516,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:30:05] local.INFO: Acknowledgment sent {"connection_id":128516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:30:09] local.INFO: TCP Data received {"connection_id":128695,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:30:09] local.INFO: Processing buffer {"connection_id":128695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:30:09] local.INFO: IMEI packet received {"connection_id":128695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":128695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:30:10] local.INFO: TCP Data received {"connection_id":128695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:30:10] local.INFO: Processing buffer {"connection_id":128695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:30:10] local.INFO: Packet analysis {"connection_id":128695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:30:10] local.INFO: Extracted packet for processing {"connection_id":128695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 14:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:30: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-07-11 14:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:30:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":128695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:30:10] local.INFO: GPS data processed {"connection_id":128695,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:30:10] local.INFO: Acknowledgment sent {"connection_id":128695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:30:36] local.INFO: TCP Data received {"connection_id":128516,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50656490012d1965c0071ff170003c009427..."} 
[2026-07-11 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50656490012d1965c0071ff170003c009427..."} 
[2026-07-11 14:30:36] local.INFO: Processing buffer {"connection_id":128516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50656490012d1965c0071ff170003c009427..."} 
[2026-07-11 14:30:36] local.INFO: Packet analysis {"connection_id":128516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5065"} 
[2026-07-11 14:30:36] local.INFO: Extracted packet for processing {"connection_id":128516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5065"} 
[2026-07-11 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642618624001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783760250000,"timestamp_ms":1783760250000,"timestamp_seconds":1783760250,"priority":1,"record_length":96,"hex_timestamp":"0000019f50656490"} 
[2026-07-11 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-07-11 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-11 14:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642618624001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642618624001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642618624001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":128516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:30:36] local.INFO: GPS data processed {"connection_id":128516,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:30:36] local.INFO: Acknowledgment sent {"connection_id":128516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:30:41] local.INFO: TCP Data received {"connection_id":128695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:30:41] local.INFO: Processing buffer {"connection_id":128695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:30:41] local.INFO: Packet analysis {"connection_id":128695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:30:41] local.INFO: Extracted packet for processing {"connection_id":128695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 14:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:30: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-07-11 14:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:30: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-07-11 14:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:30:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":128695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:30:41] local.INFO: GPS data processed {"connection_id":128695,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:30:41] local.INFO: Acknowledgment sent {"connection_id":128695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:31:04] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:04] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:04] local.INFO: IMEI packet received {"connection_id":130643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":130643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:31:04] local.INFO: TCP Data received {"connection_id":128517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:31:04] local.INFO: Processing buffer {"connection_id":128517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:31:04] local.INFO: IMEI packet received {"connection_id":128517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":128517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:31:09] local.INFO: TCP Data received {"connection_id":128517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:31:09] local.INFO: Processing buffer {"connection_id":128517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:31:09] local.INFO: IMEI packet received {"connection_id":128517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":128517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:31:09] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:09] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:09] local.INFO: IMEI packet received {"connection_id":130643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":130643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:31:10] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5065b698012d1965c0071ff170003c009428..."} 
[2026-07-11 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5065b698012d1965c0071ff170003c009428..."} 
[2026-07-11 14:31:10] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5065b698012d1965c0071ff170003c009428..."} 
[2026-07-11 14:31:10] local.INFO: Packet analysis {"connection_id":130643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5065"} 
[2026-07-11 14:31:10] local.INFO: Extracted packet for processing {"connection_id":130643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5065"} 
[2026-07-11 14:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642624000001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760271000,"timestamp_ms":1783760271000,"timestamp_seconds":1783760271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5065b698"} 
[2026-07-11 14:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:31:10] 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-07-11 14:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642624000001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642624000001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:31:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:31:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642624000001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":130643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:31:10] local.INFO: GPS data processed {"connection_id":130643,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:31:10] local.INFO: Acknowledgment sent {"connection_id":130643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:31:10] local.INFO: TCP Data received {"connection_id":128517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:31:10] local.INFO: Processing buffer {"connection_id":128517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50639f70012cb29c0007823c60004c00b32a..."} 
[2026-07-11 14:31:10] local.INFO: Packet analysis {"connection_id":128517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:31:10] local.INFO: Extracted packet for processing {"connection_id":128517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5063"} 
[2026-07-11 14:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642517248001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760134000,"timestamp_ms":1783760134000,"timestamp_seconds":1783760134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50639f70"} 
[2026-07-11 14:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:31: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-07-11 14: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642517248001,"66":25375,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642517248001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:31:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642517248001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":128517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:31:10] local.INFO: GPS data processed {"connection_id":128517,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:31:10] local.INFO: Acknowledgment sent {"connection_id":128517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:31:10] local.INFO: TCP Data received {"connection_id":130642,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:31:10] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:31:10] local.INFO: IMEI packet received {"connection_id":130642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":130642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:31:41] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506608a0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506608a0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:31:41] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506608a0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:31:41] local.INFO: Packet analysis {"connection_id":130643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5066"} 
[2026-07-11 14:31:41] local.INFO: Extracted packet for processing {"connection_id":130643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5066"} 
[2026-07-11 14:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642629376001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760292000,"timestamp_ms":1783760292000,"timestamp_seconds":1783760292,"priority":1,"record_length":96,"hex_timestamp":"0000019f506608a0"} 
[2026-07-11 14:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:31:41] 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-07-11 14:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642629376001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642629376001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:31:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642629376001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:31:41] local.INFO: TCP Data received {"connection_id":128517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:31:41] local.INFO: Processing buffer {"connection_id":128517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:31:41] local.INFO: Packet analysis {"connection_id":128517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:31:41] local.INFO: Extracted packet for processing {"connection_id":128517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:31: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-07-11 14:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:31:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":128517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:31:41] local.INFO: GPS data processed {"connection_id":128517,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:31:41] local.INFO: Acknowledgment sent {"connection_id":128517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":130643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:31:41] local.INFO: GPS data processed {"connection_id":130643,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:31:41] local.INFO: Acknowledgment sent {"connection_id":130643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:31:47] local.INFO: TCP Data received {"connection_id":129414,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:31:47] local.INFO: Processing buffer {"connection_id":129414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:31:47] local.INFO: IMEI packet received {"connection_id":129414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":129414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:31:59] local.INFO: TCP Data received {"connection_id":128518,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:59] local.INFO: Processing buffer {"connection_id":128518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:59] local.INFO: IMEI packet received {"connection_id":128518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":128518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:31:59] local.INFO: TCP Data received {"connection_id":128518,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:59] local.INFO: Processing buffer {"connection_id":128518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:31:59] local.INFO: IMEI packet received {"connection_id":128518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":128518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:32:05] local.INFO: TCP Data received {"connection_id":128518,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:32:05] local.INFO: Processing buffer {"connection_id":128518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:32:05] local.INFO: IMEI packet received {"connection_id":128518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":128518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:32:06] local.INFO: TCP Data received {"connection_id":128518,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50665aa8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50665aa8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:32:06] local.INFO: Processing buffer {"connection_id":128518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50665aa8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:32:06] local.INFO: Packet analysis {"connection_id":128518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5066"} 
[2026-07-11 14:32:06] local.INFO: Extracted packet for processing {"connection_id":128518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5066"} 
[2026-07-11 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642634752001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783760313000,"timestamp_ms":1783760313000,"timestamp_seconds":1783760313,"priority":1,"record_length":96,"hex_timestamp":"0000019f50665aa8"} 
[2026-07-11 14:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:32:06] 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-07-11 14:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642634752001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642634752001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:32:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642634752001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":128518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:32:06] local.INFO: GPS data processed {"connection_id":128518,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:32:06] local.INFO: Acknowledgment sent {"connection_id":128518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:32:09] local.INFO: TCP Data received {"connection_id":128696,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:32:09] local.INFO: Processing buffer {"connection_id":128696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:32:09] local.INFO: IMEI packet received {"connection_id":128696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":128696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:32:14] local.INFO: TCP Data received {"connection_id":128696,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:32:14] local.INFO: Processing buffer {"connection_id":128696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:32:14] local.INFO: IMEI packet received {"connection_id":128696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":128696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:32:15] local.INFO: TCP Data received {"connection_id":128696,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:32:15] local.INFO: Processing buffer {"connection_id":128696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:32:15] local.INFO: Packet analysis {"connection_id":128696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:32:15] local.INFO: Extracted packet for processing {"connection_id":128696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:32:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:32:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:32:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":128696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:32:15] local.INFO: GPS data processed {"connection_id":128696,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:32:15] local.INFO: Acknowledgment sent {"connection_id":128696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:32:19] local.INFO: TCP Data received {"connection_id":128696,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:32:19] local.INFO: Processing buffer {"connection_id":128696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:32:19] local.INFO: Packet analysis {"connection_id":128696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:32:19] local.INFO: Extracted packet for processing {"connection_id":128696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:32:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:32:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":128696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:32:19] local.INFO: GPS data processed {"connection_id":128696,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:32:19] local.INFO: Acknowledgment sent {"connection_id":128696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:32:37] local.INFO: TCP Data received {"connection_id":128518,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5066acb0012d1965c0071ff170003c009427..."} 
[2026-07-11 14:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5066acb0012d1965c0071ff170003c009427..."} 
[2026-07-11 14:32:37] local.INFO: Processing buffer {"connection_id":128518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5066acb0012d1965c0071ff170003c009427..."} 
[2026-07-11 14:32:37] local.INFO: Packet analysis {"connection_id":128518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5066"} 
[2026-07-11 14:32:37] local.INFO: Extracted packet for processing {"connection_id":128518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5066"} 
[2026-07-11 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642640128001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:32: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-07-11 14:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783760334000,"timestamp_ms":1783760334000,"timestamp_seconds":1783760334,"priority":1,"record_length":96,"hex_timestamp":"0000019f5066acb0"} 
[2026-07-11 14:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:32:37] 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-07-11 14:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642640128001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642640128001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:32:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642640128001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":128518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:32:37] local.INFO: GPS data processed {"connection_id":128518,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:32:37] local.INFO: Acknowledgment sent {"connection_id":128518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:33:00] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:33:00] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:33:00] local.INFO: IMEI packet received {"connection_id":130644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":130644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:33:01] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:33:01] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:33:01] local.INFO: IMEI packet received {"connection_id":130644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":130644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:33:04] local.INFO: TCP Data received {"connection_id":128698,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:33:04] local.INFO: Processing buffer {"connection_id":128698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:33:04] local.INFO: IMEI packet received {"connection_id":128698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":128698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:33:05] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:33:05] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:33:05] local.INFO: IMEI packet received {"connection_id":130644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":130644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:33:06] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5066feb8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5066feb8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:33:06] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5066feb8012d1965c0071ff170003c009426..."} 
[2026-07-11 14:33:06] local.INFO: Packet analysis {"connection_id":130644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5066"} 
[2026-07-11 14:33:06] local.INFO: Extracted packet for processing {"connection_id":130644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5066"} 
[2026-07-11 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642645504001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783760355000,"timestamp_ms":1783760355000,"timestamp_seconds":1783760355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5066feb8"} 
[2026-07-11 14:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:33:06] 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-07-11 14:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642645504001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642645504001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:33:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642645504001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":130644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:33:06] local.INFO: GPS data processed {"connection_id":130644,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:33:06] local.INFO: Acknowledgment sent {"connection_id":130644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:33:09] local.INFO: TCP Data received {"connection_id":128698,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:33:09] local.INFO: Processing buffer {"connection_id":128698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:33:09] local.INFO: IMEI packet received {"connection_id":128698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":128698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:33:10] local.INFO: TCP Data received {"connection_id":128698,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:33:10] local.INFO: Processing buffer {"connection_id":128698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:33:10] local.INFO: Packet analysis {"connection_id":128698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:33:10] local.INFO: Extracted packet for processing {"connection_id":128698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:33: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-07-11 14:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:33:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":128698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:33:10] local.INFO: GPS data processed {"connection_id":128698,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:33:10] local.INFO: Acknowledgment sent {"connection_id":128698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:33:10] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506750c0012d1965c0071ff170003c009428..."} 
[2026-07-11 14:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506750c0012d1965c0071ff170003c009428..."} 
[2026-07-11 14:33:10] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506750c0012d1965c0071ff170003c009428..."} 
[2026-07-11 14:33:10] local.INFO: Packet analysis {"connection_id":130644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5067"} 
[2026-07-11 14:33:10] local.INFO: Extracted packet for processing {"connection_id":130644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5067"} 
[2026-07-11 14:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642650880001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760376000,"timestamp_ms":1783760376000,"timestamp_seconds":1783760376,"priority":1,"record_length":96,"hex_timestamp":"0000019f506750c0"} 
[2026-07-11 14:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:33:10] 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-07-11 14:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642650880001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642650880001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:33:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642650880001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":130644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:33:10] local.INFO: GPS data processed {"connection_id":130644,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:33:10] local.INFO: Acknowledgment sent {"connection_id":130644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:33:41] local.INFO: TCP Data received {"connection_id":128698,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:33:41] local.INFO: Processing buffer {"connection_id":128698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:33:41] local.INFO: Packet analysis {"connection_id":128698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:33:41] local.INFO: Extracted packet for processing {"connection_id":128698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:33:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:33: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-07-11 14:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:33: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-07-11 14:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:33:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":128698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:33:41] local.INFO: GPS data processed {"connection_id":128698,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:33:41] local.INFO: Acknowledgment sent {"connection_id":128698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:33:41] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5067a2c8012d1965c0071ff170003c009427..."} 
[2026-07-11 14:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5067a2c8012d1965c0071ff170003c009427..."} 
[2026-07-11 14:33:41] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5067a2c8012d1965c0071ff170003c009427..."} 
[2026-07-11 14:33:41] local.INFO: Packet analysis {"connection_id":130644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5067"} 
[2026-07-11 14:33:41] local.INFO: Extracted packet for processing {"connection_id":130644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5067"} 
[2026-07-11 14:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642656256001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760397000,"timestamp_ms":1783760397000,"timestamp_seconds":1783760397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5067a2c8"} 
[2026-07-11 14:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:33:41] 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-07-11 14:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642656256001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642656256001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:33:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642656256001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":130644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:33:41] local.INFO: GPS data processed {"connection_id":130644,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:33:41] local.INFO: Acknowledgment sent {"connection_id":130644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:34:00] local.INFO: TCP Data received {"connection_id":129417,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:34:00] local.INFO: Processing buffer {"connection_id":129417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:34:00] local.INFO: IMEI packet received {"connection_id":129417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":129417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:34:04] local.INFO: TCP Data received {"connection_id":128519,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:34:04] local.INFO: Processing buffer {"connection_id":128519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:34:04] local.INFO: IMEI packet received {"connection_id":128519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":128519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:34:05] local.INFO: TCP Data received {"connection_id":129417,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:34:05] local.INFO: Processing buffer {"connection_id":129417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:34:05] local.INFO: IMEI packet received {"connection_id":129417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":129417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:34:06] local.INFO: TCP Data received {"connection_id":129417,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5067f0e8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5067f0e8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:34:06] local.INFO: Processing buffer {"connection_id":129417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5067f0e8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:34:06] local.INFO: Packet analysis {"connection_id":129417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5067"} 
[2026-07-11 14:34:06] local.INFO: Extracted packet for processing {"connection_id":129417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5067"} 
[2026-07-11 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642661632001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783760417000,"timestamp_ms":1783760417000,"timestamp_seconds":1783760417,"priority":1,"record_length":96,"hex_timestamp":"0000019f5067f0e8"} 
[2026-07-11 14:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:34:06] 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-07-11 14:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642661632001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642661632001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:34:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642661632001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":129417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:34:06] local.INFO: GPS data processed {"connection_id":129417,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:34:06] local.INFO: Acknowledgment sent {"connection_id":129417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:34:09] local.INFO: TCP Data received {"connection_id":128519,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:34:09] local.INFO: Processing buffer {"connection_id":128519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:34:09] local.INFO: IMEI packet received {"connection_id":128519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":128519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:34:10] local.INFO: TCP Data received {"connection_id":128519,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:34:10] local.INFO: Processing buffer {"connection_id":128519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:34:10] local.INFO: Packet analysis {"connection_id":128519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:34:10] local.INFO: Extracted packet for processing {"connection_id":128519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:34:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":128519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:34:10] local.INFO: GPS data processed {"connection_id":128519,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:34:10] local.INFO: Acknowledgment sent {"connection_id":128519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:34:37] local.INFO: TCP Data received {"connection_id":129417,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506846d8012d1965c0071ff170003c009422..."} 
[2026-07-11 14:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506846d8012d1965c0071ff170003c009422..."} 
[2026-07-11 14:34:37] local.INFO: Processing buffer {"connection_id":129417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506846d8012d1965c0071ff170003c009422..."} 
[2026-07-11 14:34:37] local.INFO: Packet analysis {"connection_id":129417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:34:37] local.INFO: Extracted packet for processing {"connection_id":129417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642666752001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34: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-07-11 14:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783760439000,"timestamp_ms":1783760439000,"timestamp_seconds":1783760439,"priority":1,"record_length":96,"hex_timestamp":"0000019f506846d8"} 
[2026-07-11 14:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:34:37] 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-07-11 14:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642666752001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642666752001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:34:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642666752001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":129417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:34:37] local.INFO: GPS data processed {"connection_id":129417,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:34:37] local.INFO: Acknowledgment sent {"connection_id":129417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:34:41] local.INFO: TCP Data received {"connection_id":128519,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:34:41] local.INFO: Processing buffer {"connection_id":128519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:34:41] local.INFO: Packet analysis {"connection_id":128519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:34:41] local.INFO: Extracted packet for processing {"connection_id":128519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:34: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-07-11 14:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:34: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-07-11 14:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:34:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":128519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:34:41] local.INFO: GPS data processed {"connection_id":128519,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:34:41] local.INFO: Acknowledgment sent {"connection_id":128519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:34:59] local.INFO: TCP Data received {"connection_id":130645,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:34:59] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:34:59] local.INFO: IMEI packet received {"connection_id":130645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":130645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:35:04] local.INFO: TCP Data received {"connection_id":128699,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:35:04] local.INFO: Processing buffer {"connection_id":128699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:35:04] local.INFO: IMEI packet received {"connection_id":128699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:35:04] local.INFO: TCP Data received {"connection_id":130645,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:35:04] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:35:04] local.INFO: IMEI packet received {"connection_id":130645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":130645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:35:05] local.INFO: TCP Data received {"connection_id":130645,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506898e0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506898e0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:35:05] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506898e0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:35:05] local.INFO: Packet analysis {"connection_id":130645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:35:05] local.INFO: Extracted packet for processing {"connection_id":130645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672384001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35: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-07-11 14:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783760460000,"timestamp_ms":1783760460000,"timestamp_seconds":1783760460,"priority":1,"record_length":96,"hex_timestamp":"0000019f506898e0"} 
[2026-07-11 14:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:35:05] 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-07-11 14:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672384001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672384001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672384001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":130645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:35:05] local.INFO: GPS data processed {"connection_id":130645,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:35:05] local.INFO: Acknowledgment sent {"connection_id":130645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:35:09] local.INFO: TCP Data received {"connection_id":128699,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:35:09] local.INFO: Processing buffer {"connection_id":128699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:35:09] local.INFO: IMEI packet received {"connection_id":128699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":128699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:35:10] local.INFO: TCP Data received {"connection_id":128699,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:35:10] local.INFO: Processing buffer {"connection_id":128699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:35:10] local.INFO: Packet analysis {"connection_id":128699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:35:10] local.INFO: Extracted packet for processing {"connection_id":128699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:35:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":128699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:35:10] local.INFO: GPS data processed {"connection_id":128699,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:35:10] local.INFO: Acknowledgment sent {"connection_id":128699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:35:36] local.INFO: TCP Data received {"connection_id":130645,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5068eae8012d1965c0071ff170003c009421..."} 
[2026-07-11 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5068eae8012d1965c0071ff170003c009421..."} 
[2026-07-11 14:35:36] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5068eae8012d1965c0071ff170003c009421..."} 
[2026-07-11 14:35:36] local.INFO: Packet analysis {"connection_id":130645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:35:36] local.INFO: Extracted packet for processing {"connection_id":130645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642677760001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783760481000,"timestamp_ms":1783760481000,"timestamp_seconds":1783760481,"priority":1,"record_length":96,"hex_timestamp":"0000019f5068eae8"} 
[2026-07-11 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-07-11 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642677760001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642677760001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642677760001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":130645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:35:37] local.INFO: GPS data processed {"connection_id":130645,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:35:37] local.INFO: Acknowledgment sent {"connection_id":130645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:35:41] local.INFO: TCP Data received {"connection_id":128699,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:35:41] local.INFO: Processing buffer {"connection_id":128699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:35:41] local.INFO: Packet analysis {"connection_id":128699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:35:41] local.INFO: Extracted packet for processing {"connection_id":128699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:35: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-07-11 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:35: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-07-11 14:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:35:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":128699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:35:41] local.INFO: GPS data processed {"connection_id":128699,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:35:41] local.INFO: Acknowledgment sent {"connection_id":128699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:35:59] local.INFO: TCP Data received {"connection_id":129419,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:35:59] local.INFO: Processing buffer {"connection_id":129419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:35:59] local.INFO: IMEI packet received {"connection_id":129419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":129419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:36:04] local.INFO: TCP Data received {"connection_id":129420,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:36:04] local.INFO: Processing buffer {"connection_id":129420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:36:04] local.INFO: IMEI packet received {"connection_id":129420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":129420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:36:05] local.INFO: TCP Data received {"connection_id":129419,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:36:05] local.INFO: Processing buffer {"connection_id":129419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:36:05] local.INFO: IMEI packet received {"connection_id":129419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":129419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:36:05] local.INFO: TCP Data received {"connection_id":129419,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50693cf0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50693cf0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:36:05] local.INFO: Processing buffer {"connection_id":129419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50693cf0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:36:05] local.INFO: Packet analysis {"connection_id":129419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5069"} 
[2026-07-11 14:36:05] local.INFO: Extracted packet for processing {"connection_id":129419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5069"} 
[2026-07-11 14:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642683136001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14: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-07-11 14:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783760502000,"timestamp_ms":1783760502000,"timestamp_seconds":1783760502,"priority":1,"record_length":96,"hex_timestamp":"0000019f50693cf0"} 
[2026-07-11 14:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:36:05] 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-07-11 14:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642683136001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642683136001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:36:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642683136001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":129419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:36:05] local.INFO: GPS data processed {"connection_id":129419,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:36:05] local.INFO: Acknowledgment sent {"connection_id":129419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:36:09] local.INFO: TCP Data received {"connection_id":129420,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:36:09] local.INFO: Processing buffer {"connection_id":129420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:36:09] local.INFO: IMEI packet received {"connection_id":129420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":129420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:36:10] local.INFO: TCP Data received {"connection_id":129420,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:36:10] local.INFO: Processing buffer {"connection_id":129420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50684ac0012cb29c0007823c60004b00b32a..."} 
[2026-07-11 14:36:10] local.INFO: Packet analysis {"connection_id":129420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:36:10] local.INFO: Extracted packet for processing {"connection_id":129420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5068"} 
[2026-07-11 14:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642594304001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760440000,"timestamp_ms":1783760440000,"timestamp_seconds":1783760440,"priority":1,"record_length":96,"hex_timestamp":"0000019f50684ac0"} 
[2026-07-11 14:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:36: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-07-11 14:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642594304001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642594304001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:36:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642594304001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":129420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:36:10] local.INFO: GPS data processed {"connection_id":129420,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:36:10] local.INFO: Acknowledgment sent {"connection_id":129420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:36:36] local.INFO: TCP Data received {"connection_id":129419,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50698ef8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50698ef8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:36:36] local.INFO: Processing buffer {"connection_id":129419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50698ef8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:36:36] local.INFO: Packet analysis {"connection_id":129419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5069"} 
[2026-07-11 14:36:36] local.INFO: Extracted packet for processing {"connection_id":129419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5069"} 
[2026-07-11 14:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642688512001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783760523000,"timestamp_ms":1783760523000,"timestamp_seconds":1783760523,"priority":1,"record_length":96,"hex_timestamp":"0000019f50698ef8"} 
[2026-07-11 14:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642688512001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642688512001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:36:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642688512001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":129419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:36:37] local.INFO: GPS data processed {"connection_id":129419,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:36:37] local.INFO: Acknowledgment sent {"connection_id":129419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:36:41] local.INFO: TCP Data received {"connection_id":129420,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:36:41] local.INFO: Processing buffer {"connection_id":129420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:36:41] local.INFO: Packet analysis {"connection_id":129420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:36:41] local.INFO: Extracted packet for processing {"connection_id":129420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 14:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 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-07-11 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":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:36: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-07-11 14:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:36:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":129420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:36:41] local.INFO: GPS data processed {"connection_id":129420,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:36:41] local.INFO: Acknowledgment sent {"connection_id":129420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:37:04] local.INFO: TCP Data received {"connection_id":130646,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:37:04] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:37:04] local.INFO: IMEI packet received {"connection_id":130646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":130646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:37:09] local.INFO: TCP Data received {"connection_id":128522,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:37:09] local.INFO: Processing buffer {"connection_id":128522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:37:09] local.INFO: IMEI packet received {"connection_id":128522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":128522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:37:10] local.INFO: TCP Data received {"connection_id":128521,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:37:10] local.INFO: Processing buffer {"connection_id":128521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:37:10] local.INFO: IMEI packet received {"connection_id":128521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":128521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:37:10] local.INFO: TCP Data received {"connection_id":130646,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:37:10] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:37:10] local.INFO: IMEI packet received {"connection_id":130646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":130646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:37:10] local.INFO: TCP Data received {"connection_id":130646,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5069e100012d1965c0071ff170003c009422..."} 
[2026-07-11 14:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5069e100012d1965c0071ff170003c009422..."} 
[2026-07-11 14:37:10] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5069e100012d1965c0071ff170003c009422..."} 
[2026-07-11 14:37:10] local.INFO: Packet analysis {"connection_id":130646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5069"} 
[2026-07-11 14:37:10] local.INFO: Extracted packet for processing {"connection_id":130646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5069"} 
[2026-07-11 14:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642693888001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760544000,"timestamp_ms":1783760544000,"timestamp_seconds":1783760544,"priority":1,"record_length":96,"hex_timestamp":"0000019f5069e100"} 
[2026-07-11 14:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:37:10] 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-07-11 14:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642693888001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642693888001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:37:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642693888001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":130646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:37:10] local.INFO: GPS data processed {"connection_id":130646,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:37:10] local.INFO: Acknowledgment sent {"connection_id":130646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:37:14] local.INFO: TCP Data received {"connection_id":128522,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:37:14] local.INFO: Processing buffer {"connection_id":128522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:37:14] local.INFO: IMEI packet received {"connection_id":128522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":128522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:37:15] local.INFO: TCP Data received {"connection_id":128522,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:37:15] local.INFO: Processing buffer {"connection_id":128522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:37:15] local.INFO: Packet analysis {"connection_id":128522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:37:15] local.INFO: Extracted packet for processing {"connection_id":128522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:37:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 14:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:37:15] 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-07-11 14:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:37:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:37:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":128522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:37:15] local.INFO: GPS data processed {"connection_id":128522,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:37:15] local.INFO: Acknowledgment sent {"connection_id":128522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:37:19] local.INFO: TCP Data received {"connection_id":128522,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:37:19] local.INFO: Processing buffer {"connection_id":128522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:37:19] local.INFO: Packet analysis {"connection_id":128522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:37:19] local.INFO: Extracted packet for processing {"connection_id":128522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:37:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 14:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:37:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:37:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:37:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":128522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:37:19] local.INFO: GPS data processed {"connection_id":128522,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:37:19] local.INFO: Acknowledgment sent {"connection_id":128522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:37:41] local.INFO: TCP Data received {"connection_id":130646,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506d6758012d1965c0071ff170003c009421..."} 
[2026-07-11 14:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506d6758012d1965c0071ff170003c009421..."} 
[2026-07-11 14:37:41] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506d6758012d1965c0071ff170003c009421..."} 
[2026-07-11 14:37:41] local.INFO: Packet analysis {"connection_id":130646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506d"} 
[2026-07-11 14:37:41] local.INFO: Extracted packet for processing {"connection_id":130646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506d"} 
[2026-07-11 14:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642753024001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760775000,"timestamp_ms":1783760775000,"timestamp_seconds":1783760775,"priority":1,"record_length":96,"hex_timestamp":"0000019f506d6758"} 
[2026-07-11 14:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:37:41] 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-07-11 14:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642753024001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642753024001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:37:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642753024001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":130646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:37:42] local.INFO: GPS data processed {"connection_id":130646,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:37:42] local.INFO: Acknowledgment sent {"connection_id":130646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:37:44] local.INFO: TCP Data received {"connection_id":128700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:37:44] local.INFO: Processing buffer {"connection_id":128700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:37:44] local.INFO: IMEI packet received {"connection_id":128700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":128700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:38:00] local.INFO: TCP Data received {"connection_id":129421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:38:00] local.INFO: Processing buffer {"connection_id":129421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:38:00] local.INFO: IMEI packet received {"connection_id":129421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":129421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:38:04] local.INFO: TCP Data received {"connection_id":130647,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:38:04] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:38:04] local.INFO: IMEI packet received {"connection_id":130647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":130647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:38:05] local.INFO: TCP Data received {"connection_id":129421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:38:05] local.INFO: Processing buffer {"connection_id":129421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:38:05] local.INFO: IMEI packet received {"connection_id":129421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":129421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:38:06] local.INFO: TCP Data received {"connection_id":129421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506db960012d1965c0071ff170003c009422..."} 
[2026-07-11 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506db960012d1965c0071ff170003c009422..."} 
[2026-07-11 14:38:06] local.INFO: Processing buffer {"connection_id":129421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506db960012d1965c0071ff170003c009422..."} 
[2026-07-11 14:38:06] local.INFO: Packet analysis {"connection_id":129421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506d"} 
[2026-07-11 14:38:06] local.INFO: Extracted packet for processing {"connection_id":129421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506d"} 
[2026-07-11 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642758400001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783760796000,"timestamp_ms":1783760796000,"timestamp_seconds":1783760796,"priority":1,"record_length":96,"hex_timestamp":"0000019f506db960"} 
[2026-07-11 14:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:38:06] 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-07-11 14:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642758400001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642758400001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642758400001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":129421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:38:06] local.INFO: GPS data processed {"connection_id":129421,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:38:06] local.INFO: Acknowledgment sent {"connection_id":129421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:38:09] local.INFO: TCP Data received {"connection_id":130647,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:38:09] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:38:09] local.INFO: IMEI packet received {"connection_id":130647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":130647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:38:10] local.INFO: TCP Data received {"connection_id":130647,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:38:10] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:38:10] local.INFO: Packet analysis {"connection_id":130647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:38:10] local.INFO: Extracted packet for processing {"connection_id":130647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 14:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:38: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-07-11 14:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:38:10] 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-07-11 14:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:38:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":130647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:38:10] local.INFO: GPS data processed {"connection_id":130647,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:38:10] local.INFO: Acknowledgment sent {"connection_id":130647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:38:37] local.INFO: TCP Data received {"connection_id":129421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506e0b68012d1965c0071ff170003c009421..."} 
[2026-07-11 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506e0b68012d1965c0071ff170003c009421..."} 
[2026-07-11 14:38:37] local.INFO: Processing buffer {"connection_id":129421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506e0b68012d1965c0071ff170003c009421..."} 
[2026-07-11 14:38:37] local.INFO: Packet analysis {"connection_id":129421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506e"} 
[2026-07-11 14:38:37] local.INFO: Extracted packet for processing {"connection_id":129421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506e"} 
[2026-07-11 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642763776001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783760817000,"timestamp_ms":1783760817000,"timestamp_seconds":1783760817,"priority":1,"record_length":96,"hex_timestamp":"0000019f506e0b68"} 
[2026-07-11 14:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:38:37] 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-07-11 14:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642763776001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642763776001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:38:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642763776001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":129421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:38:37] local.INFO: GPS data processed {"connection_id":129421,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:38:37] local.INFO: Acknowledgment sent {"connection_id":129421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:38:41] local.INFO: TCP Data received {"connection_id":130647,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:38:41] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:38:41] local.INFO: Packet analysis {"connection_id":130647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:38:41] local.INFO: Extracted packet for processing {"connection_id":130647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 14:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:38: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-07-11 14:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:38: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-07-11 14:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:38:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":130647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:38:41] local.INFO: GPS data processed {"connection_id":130647,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:38:41] local.INFO: Acknowledgment sent {"connection_id":130647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:38:59] local.INFO: TCP Data received {"connection_id":128524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:38:59] local.INFO: Processing buffer {"connection_id":128524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:38:59] local.INFO: IMEI packet received {"connection_id":128524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":128524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:39:00] local.INFO: TCP Data received {"connection_id":128524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:39:00] local.INFO: Processing buffer {"connection_id":128524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:39:00] local.INFO: IMEI packet received {"connection_id":128524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":128524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:39:04] local.INFO: TCP Data received {"connection_id":128525,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:39:04] local.INFO: Processing buffer {"connection_id":128525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:39:04] local.INFO: IMEI packet received {"connection_id":128525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":128525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:39:04] local.INFO: TCP Data received {"connection_id":128524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:39:04] local.INFO: Processing buffer {"connection_id":128524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:39:04] local.INFO: IMEI packet received {"connection_id":128524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":128524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:39:05] local.INFO: TCP Data received {"connection_id":128524,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506e5d70012d1965c0071ff170003c009422..."} 
[2026-07-11 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506e5d70012d1965c0071ff170003c009422..."} 
[2026-07-11 14:39:05] local.INFO: Processing buffer {"connection_id":128524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506e5d70012d1965c0071ff170003c009422..."} 
[2026-07-11 14:39:05] local.INFO: Packet analysis {"connection_id":128524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506e"} 
[2026-07-11 14:39:05] local.INFO: Extracted packet for processing {"connection_id":128524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506e"} 
[2026-07-11 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642769152001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39: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-07-11 14:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783760838000,"timestamp_ms":1783760838000,"timestamp_seconds":1783760838,"priority":1,"record_length":96,"hex_timestamp":"0000019f506e5d70"} 
[2026-07-11 14:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:39:05] 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-07-11 14:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642769152001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642769152001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642769152001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":128524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:39:05] local.INFO: GPS data processed {"connection_id":128524,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:39:05] local.INFO: Acknowledgment sent {"connection_id":128524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:39:09] local.INFO: TCP Data received {"connection_id":128525,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:39:09] local.INFO: Processing buffer {"connection_id":128525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:39:09] local.INFO: IMEI packet received {"connection_id":128525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":128525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:39:10] local.INFO: TCP Data received {"connection_id":128525,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:39:10] local.INFO: Processing buffer {"connection_id":128525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:39:10] local.INFO: Packet analysis {"connection_id":128525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:39:10] local.INFO: Extracted packet for processing {"connection_id":128525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 14:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:39: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-07-11 14:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:39:10] 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-07-11 14:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:39:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":128525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:39:10] local.INFO: GPS data processed {"connection_id":128525,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:39:10] local.INFO: Acknowledgment sent {"connection_id":128525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:39:36] local.INFO: TCP Data received {"connection_id":128524,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506eaf78012d1965c0071ff170003c009423..."} 
[2026-07-11 14:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506eaf78012d1965c0071ff170003c009423..."} 
[2026-07-11 14:39:36] local.INFO: Processing buffer {"connection_id":128524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506eaf78012d1965c0071ff170003c009423..."} 
[2026-07-11 14:39:36] local.INFO: Packet analysis {"connection_id":128524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506e"} 
[2026-07-11 14:39:36] local.INFO: Extracted packet for processing {"connection_id":128524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506e"} 
[2026-07-11 14:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642774528001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783760859000,"timestamp_ms":1783760859000,"timestamp_seconds":1783760859,"priority":1,"record_length":96,"hex_timestamp":"0000019f506eaf78"} 
[2026-07-11 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-07-11 14:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642774528001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642774528001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:39:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642774528001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":128524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:39:37] local.INFO: GPS data processed {"connection_id":128524,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:39:37] local.INFO: Acknowledgment sent {"connection_id":128524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:39:41] local.INFO: TCP Data received {"connection_id":128525,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:39:41] local.INFO: Processing buffer {"connection_id":128525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:39:41] local.INFO: Packet analysis {"connection_id":128525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:39:41] local.INFO: Extracted packet for processing {"connection_id":128525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 14:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:39: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-07-11 14:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:39:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":128525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:39:41] local.INFO: GPS data processed {"connection_id":128525,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:39:41] local.INFO: Acknowledgment sent {"connection_id":128525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:40:00] local.INFO: TCP Data received {"connection_id":128701,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:00] local.INFO: Processing buffer {"connection_id":128701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:00] local.INFO: IMEI packet received {"connection_id":128701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":128701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:40:01] local.INFO: TCP Data received {"connection_id":128701,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:01] local.INFO: Processing buffer {"connection_id":128701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:01] local.INFO: IMEI packet received {"connection_id":128701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":128701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:40:04] local.INFO: TCP Data received {"connection_id":128526,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:40:04] local.INFO: Processing buffer {"connection_id":128526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:40:04] local.INFO: IMEI packet received {"connection_id":128526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":128526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:40:05] local.INFO: TCP Data received {"connection_id":128701,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:05] local.INFO: Processing buffer {"connection_id":128701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:05] local.INFO: IMEI packet received {"connection_id":128701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":128701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:40:06] local.INFO: TCP Data received {"connection_id":128701,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506f0180012d1965c0071ff170003c009422..."} 
[2026-07-11 14:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506f0180012d1965c0071ff170003c009422..."} 
[2026-07-11 14:40:06] local.INFO: Processing buffer {"connection_id":128701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506f0180012d1965c0071ff170003c009422..."} 
[2026-07-11 14:40:06] local.INFO: Packet analysis {"connection_id":128701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506f"} 
[2026-07-11 14:40:06] local.INFO: Extracted packet for processing {"connection_id":128701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506f"} 
[2026-07-11 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642779904001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783760880000,"timestamp_ms":1783760880000,"timestamp_seconds":1783760880,"priority":1,"record_length":96,"hex_timestamp":"0000019f506f0180"} 
[2026-07-11 14:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:40:06] 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-07-11 14:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642779904001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642779904001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642779904001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":128701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:40:06] local.INFO: GPS data processed {"connection_id":128701,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:40:06] local.INFO: Acknowledgment sent {"connection_id":128701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:40:09] local.INFO: TCP Data received {"connection_id":128526,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:40:09] local.INFO: Processing buffer {"connection_id":128526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:40:09] local.INFO: IMEI packet received {"connection_id":128526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":128526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:40:10] local.INFO: TCP Data received {"connection_id":128526,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:40:10] local.INFO: Processing buffer {"connection_id":128526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:40:10] local.INFO: Packet analysis {"connection_id":128526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:40:10] local.INFO: Extracted packet for processing {"connection_id":128526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 14:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:40: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-07-11 14:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:40:10] 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-07-11 14:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:40:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":128526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:40:10] local.INFO: GPS data processed {"connection_id":128526,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:40:10] local.INFO: Acknowledgment sent {"connection_id":128526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:40:37] local.INFO: TCP Data received {"connection_id":128701,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506f5388012d1965c0071ff170003c009421..."} 
[2026-07-11 14:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506f5388012d1965c0071ff170003c009421..."} 
[2026-07-11 14:40:37] local.INFO: Processing buffer {"connection_id":128701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506f5388012d1965c0071ff170003c009421..."} 
[2026-07-11 14:40:37] local.INFO: Packet analysis {"connection_id":128701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506f"} 
[2026-07-11 14:40:37] local.INFO: Extracted packet for processing {"connection_id":128701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506f"} 
[2026-07-11 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642785280001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40: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-07-11 14:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783760901000,"timestamp_ms":1783760901000,"timestamp_seconds":1783760901,"priority":1,"record_length":96,"hex_timestamp":"0000019f506f5388"} 
[2026-07-11 14:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:40:37] 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-07-11 14:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642785280001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642785280001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:40:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642785280001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":128701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:40:37] local.INFO: GPS data processed {"connection_id":128701,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:40:37] local.INFO: Acknowledgment sent {"connection_id":128701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:40:41] local.INFO: TCP Data received {"connection_id":128526,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:40:41] local.INFO: Processing buffer {"connection_id":128526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:40:41] local.INFO: Packet analysis {"connection_id":128526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:40:41] local.INFO: Extracted packet for processing {"connection_id":128526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 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-07-11 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-07-11 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":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:40: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-07-11 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-07-11 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-07-11 14:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:40:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":128526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:40:41] local.INFO: GPS data processed {"connection_id":128526,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:40:41] local.INFO: Acknowledgment sent {"connection_id":128526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:40:59] local.INFO: TCP Data received {"connection_id":129423,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:59] local.INFO: Processing buffer {"connection_id":129423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:40:59] local.INFO: IMEI packet received {"connection_id":129423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":129423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:41:04] local.INFO: TCP Data received {"connection_id":130650,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:41:04] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:41:04] local.INFO: IMEI packet received {"connection_id":130650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":130650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:41:05] local.INFO: TCP Data received {"connection_id":129423,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:41:05] local.INFO: Processing buffer {"connection_id":129423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:41:05] local.INFO: IMEI packet received {"connection_id":129423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":129423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:41:06] local.INFO: TCP Data received {"connection_id":129423,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506fa590012d1965c0071ff170003c009422..."} 
[2026-07-11 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506fa590012d1965c0071ff170003c009422..."} 
[2026-07-11 14:41:06] local.INFO: Processing buffer {"connection_id":129423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506fa590012d1965c0071ff170003c009422..."} 
[2026-07-11 14:41:06] local.INFO: Packet analysis {"connection_id":129423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506f"} 
[2026-07-11 14:41:06] local.INFO: Extracted packet for processing {"connection_id":129423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506f"} 
[2026-07-11 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642790656001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783760922000,"timestamp_ms":1783760922000,"timestamp_seconds":1783760922,"priority":1,"record_length":96,"hex_timestamp":"0000019f506fa590"} 
[2026-07-11 14:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:41:06] 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-07-11 14:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642790656001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642790656001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:41:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642790656001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":129423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:41:06] local.INFO: GPS data processed {"connection_id":129423,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:41:06] local.INFO: Acknowledgment sent {"connection_id":129423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:41:09] local.INFO: TCP Data received {"connection_id":130650,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:41:09] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:41:09] local.INFO: IMEI packet received {"connection_id":130650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":130650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:41:10] local.INFO: TCP Data received {"connection_id":130650,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:41:10] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506cf610012cb29c0007823c60004c00b32c..."} 
[2026-07-11 14:41:10] local.INFO: Packet analysis {"connection_id":130650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:41:10] local.INFO: Extracted packet for processing {"connection_id":130650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506c"} 
[2026-07-11 14:41:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":76,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642672640001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783760746000,"timestamp_ms":1783760746000,"timestamp_seconds":1783760746,"priority":1,"record_length":96,"hex_timestamp":"0000019f506cf610"} 
[2026-07-11 14:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:41:10] 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-07-11 14:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642672640001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642672640001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:41:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642672640001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":130650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:41:10] local.INFO: GPS data processed {"connection_id":130650,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:41:10] local.INFO: Acknowledgment sent {"connection_id":130650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:41:37] local.INFO: TCP Data received {"connection_id":129423,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f506ff798012d1965c0071ff170003c009421..."} 
[2026-07-11 14:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f506ff798012d1965c0071ff170003c009421..."} 
[2026-07-11 14:41:37] local.INFO: Processing buffer {"connection_id":129423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f506ff798012d1965c0071ff170003c009421..."} 
[2026-07-11 14:41:37] local.INFO: Packet analysis {"connection_id":129423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f506f"} 
[2026-07-11 14:41:37] local.INFO: Extracted packet for processing {"connection_id":129423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f506f"} 
[2026-07-11 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642796032001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41: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-07-11 14:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783760943000,"timestamp_ms":1783760943000,"timestamp_seconds":1783760943,"priority":1,"record_length":96,"hex_timestamp":"0000019f506ff798"} 
[2026-07-11 14:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:41:37] 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-07-11 14:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642796032001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642796032001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:41:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642796032001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":129423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:41:38] local.INFO: GPS data processed {"connection_id":129423,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:41:38] local.INFO: Acknowledgment sent {"connection_id":129423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:41:41] local.INFO: TCP Data received {"connection_id":130650,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:41:41] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:41:41] local.INFO: Packet analysis {"connection_id":130650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:41:41] local.INFO: Extracted packet for processing {"connection_id":130650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:41:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 14:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:41: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-07-11 14:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:41:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":130650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:41:41] local.INFO: GPS data processed {"connection_id":130650,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:41:41] local.INFO: Acknowledgment sent {"connection_id":130650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:41:59] local.INFO: TCP Data received {"connection_id":129424,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:41:59] local.INFO: Processing buffer {"connection_id":129424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:41:59] local.INFO: IMEI packet received {"connection_id":129424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":129424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:42:04] local.INFO: TCP Data received {"connection_id":128527,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:42:04] local.INFO: Processing buffer {"connection_id":128527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:42:04] local.INFO: IMEI packet received {"connection_id":128527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":128527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:42:04] local.INFO: TCP Data received {"connection_id":129424,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:42:04] local.INFO: Processing buffer {"connection_id":129424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:42:04] local.INFO: IMEI packet received {"connection_id":129424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":129424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:42:05] local.INFO: TCP Data received {"connection_id":129424,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507045b8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507045b8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:42:05] local.INFO: Processing buffer {"connection_id":129424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507045b8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:42:05] local.INFO: Packet analysis {"connection_id":129424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5070"} 
[2026-07-11 14:42:05] local.INFO: Extracted packet for processing {"connection_id":129424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5070"} 
[2026-07-11 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642801408001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783760963000,"timestamp_ms":1783760963000,"timestamp_seconds":1783760963,"priority":1,"record_length":96,"hex_timestamp":"0000019f507045b8"} 
[2026-07-11 14:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:42:05] 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-07-11 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642801408001,"66":12178,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642801408001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642801408001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":129424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:42:05] local.INFO: GPS data processed {"connection_id":129424,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:42:05] local.INFO: Acknowledgment sent {"connection_id":129424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:42:09] local.INFO: TCP Data received {"connection_id":128527,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:42:09] local.INFO: Processing buffer {"connection_id":128527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:42:09] local.INFO: IMEI packet received {"connection_id":128527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":128527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:42:10] local.INFO: TCP Data received {"connection_id":128527,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:42:10] local.INFO: Processing buffer {"connection_id":128527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:42:10] local.INFO: Packet analysis {"connection_id":128527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:42:10] local.INFO: Extracted packet for processing {"connection_id":128527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 14:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:42: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-07-11 14:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:42:10] 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-07-11 14:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:42:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":128527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:42:10] local.INFO: GPS data processed {"connection_id":128527,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:42:10] local.INFO: Acknowledgment sent {"connection_id":128527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:42:36] local.INFO: TCP Data received {"connection_id":129424,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507097c0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507097c0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:42:36] local.INFO: Processing buffer {"connection_id":129424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507097c0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:42:36] local.INFO: Packet analysis {"connection_id":129424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5070"} 
[2026-07-11 14:42:36] local.INFO: Extracted packet for processing {"connection_id":129424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5070"} 
[2026-07-11 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642806528001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783760984000,"timestamp_ms":1783760984000,"timestamp_seconds":1783760984,"priority":1,"record_length":96,"hex_timestamp":"0000019f507097c0"} 
[2026-07-11 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-07-11 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-11 14:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642806528001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642806528001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642806528001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":129424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:42:36] local.INFO: GPS data processed {"connection_id":129424,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:42:36] local.INFO: Acknowledgment sent {"connection_id":129424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:42:41] local.INFO: TCP Data received {"connection_id":128527,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:42:41] local.INFO: Processing buffer {"connection_id":128527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:42:41] local.INFO: Packet analysis {"connection_id":128527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:42:41] local.INFO: Extracted packet for processing {"connection_id":128527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 14:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:42: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-07-11 14:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:42:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":128527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:42:41] local.INFO: GPS data processed {"connection_id":128527,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:42:41] local.INFO: Acknowledgment sent {"connection_id":128527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:42:50] local.INFO: TCP Data received {"connection_id":128528,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:42:50] local.INFO: Processing buffer {"connection_id":128528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:42:50] local.INFO: IMEI packet received {"connection_id":128528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":128528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:43:04] local.INFO: TCP Data received {"connection_id":128702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:43:04] local.INFO: Processing buffer {"connection_id":128702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:43:04] local.INFO: IMEI packet received {"connection_id":128702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":128702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:43:05] local.INFO: TCP Data received {"connection_id":130652,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:43:05] local.INFO: Processing buffer {"connection_id":130652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:43:05] local.INFO: IMEI packet received {"connection_id":130652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":130652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:43:09] local.INFO: TCP Data received {"connection_id":128702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:43:09] local.INFO: Processing buffer {"connection_id":128702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:43:09] local.INFO: IMEI packet received {"connection_id":128702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":128702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:43:10] local.INFO: TCP Data received {"connection_id":130652,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:43:10] local.INFO: Processing buffer {"connection_id":130652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:43:10] local.INFO: IMEI packet received {"connection_id":130652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":130652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:43:10] local.INFO: TCP Data received {"connection_id":128702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:43:10] local.INFO: Processing buffer {"connection_id":128702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:43:10] local.INFO: Packet analysis {"connection_id":128702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:43:10] local.INFO: Extracted packet for processing {"connection_id":128702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 14:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:43: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-07-11 14:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:43:10] 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-07-11 14:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:43:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":128702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:43:10] local.INFO: GPS data processed {"connection_id":128702,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:43:10] local.INFO: Acknowledgment sent {"connection_id":128702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:43:10] local.INFO: TCP Data received {"connection_id":130652,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5070e9c8012d1965c0071ff170003c009422..."} 
[2026-07-11 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5070e9c8012d1965c0071ff170003c009422..."} 
[2026-07-11 14:43:10] local.INFO: Processing buffer {"connection_id":130652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5070e9c8012d1965c0071ff170003c009422..."} 
[2026-07-11 14:43:10] local.INFO: Packet analysis {"connection_id":130652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5070"} 
[2026-07-11 14:43:10] local.INFO: Extracted packet for processing {"connection_id":130652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5070"} 
[2026-07-11 14:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642811904001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761005000,"timestamp_ms":1783761005000,"timestamp_seconds":1783761005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5070e9c8"} 
[2026-07-11 14:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:43:10] 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-07-11 14:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642811904001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642811904001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:43:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642811904001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":130652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:43:11] local.INFO: GPS data processed {"connection_id":130652,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:43:11] local.INFO: Acknowledgment sent {"connection_id":130652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:43:11] local.INFO: TCP Data received {"connection_id":130652,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50713fb8012d1965c0071ff170003c009421..."} 
[2026-07-11 14:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50713fb8012d1965c0071ff170003c009421..."} 
[2026-07-11 14:43:11] local.INFO: Processing buffer {"connection_id":130652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50713fb8012d1965c0071ff170003c009421..."} 
[2026-07-11 14:43:11] local.INFO: Packet analysis {"connection_id":130652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:43:11] local.INFO: Extracted packet for processing {"connection_id":130652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642817280001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783761027000,"timestamp_ms":1783761027000,"timestamp_seconds":1783761027,"priority":1,"record_length":96,"hex_timestamp":"0000019f50713fb8"} 
[2026-07-11 14:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:43:11] 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-07-11 14:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:43:11] 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-07-11 14:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642817280001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642817280001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:43:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642817280001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":130652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:43:11] local.INFO: GPS data processed {"connection_id":130652,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:43:11] local.INFO: Acknowledgment sent {"connection_id":130652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:43:41] local.INFO: TCP Data received {"connection_id":128702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:43:41] local.INFO: Processing buffer {"connection_id":128702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:43:41] local.INFO: Packet analysis {"connection_id":128702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:43:41] local.INFO: Extracted packet for processing {"connection_id":128702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 14:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:43: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-07-11 14:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:43: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-07-11 14:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:43:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":128702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:43:41] local.INFO: GPS data processed {"connection_id":128702,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:43:41] local.INFO: Acknowledgment sent {"connection_id":128702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:43:42] local.INFO: TCP Data received {"connection_id":130652,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507191c0012d1965c0071ff170003c009424..."} 
[2026-07-11 14:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507191c0012d1965c0071ff170003c009424..."} 
[2026-07-11 14:43:42] local.INFO: Processing buffer {"connection_id":130652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507191c0012d1965c0071ff170003c009424..."} 
[2026-07-11 14:43:42] local.INFO: Packet analysis {"connection_id":130652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:43:42] local.INFO: Extracted packet for processing {"connection_id":130652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642822912001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783761048000,"timestamp_ms":1783761048000,"timestamp_seconds":1783761048,"priority":1,"record_length":96,"hex_timestamp":"0000019f507191c0"} 
[2026-07-11 14:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:43:42] 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-07-11 14:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642822912001,"66":12363,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642822912001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:43:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642822912001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":130652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:43:42] local.INFO: GPS data processed {"connection_id":130652,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:43:42] local.INFO: Acknowledgment sent {"connection_id":130652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:44:00] local.INFO: TCP Data received {"connection_id":129425,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:44:00] local.INFO: Processing buffer {"connection_id":129425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:44:00] local.INFO: IMEI packet received {"connection_id":129425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":129425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:44:04] local.INFO: TCP Data received {"connection_id":130653,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:44:04] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:44:04] local.INFO: IMEI packet received {"connection_id":130653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":130653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:44:05] local.INFO: TCP Data received {"connection_id":129425,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:44:05] local.INFO: Processing buffer {"connection_id":129425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:44:05] local.INFO: IMEI packet received {"connection_id":129425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":129425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:44:06] local.INFO: TCP Data received {"connection_id":129425,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071e3c8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071e3c8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:44:06] local.INFO: Processing buffer {"connection_id":129425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071e3c8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:44:06] local.INFO: Packet analysis {"connection_id":129425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:44:06] local.INFO: Extracted packet for processing {"connection_id":129425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642828288001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783761069000,"timestamp_ms":1783761069000,"timestamp_seconds":1783761069,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071e3c8"} 
[2026-07-11 14:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 14:44:06] 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-07-11 14:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:44:06] 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-07-11 14:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642828288001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642828288001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642828288001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":129425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:44:06] local.INFO: GPS data processed {"connection_id":129425,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:44:06] local.INFO: Acknowledgment sent {"connection_id":129425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:44:09] local.INFO: TCP Data received {"connection_id":130653,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:44:09] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:44:09] local.INFO: IMEI packet received {"connection_id":130653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":130653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:44:10] local.INFO: TCP Data received {"connection_id":130653,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:44:10] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:44:10] local.INFO: Packet analysis {"connection_id":130653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:44:10] local.INFO: Extracted packet for processing {"connection_id":130653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 14:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:44: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-07-11 14: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:44:10] 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-07-11 14:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:44:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":130653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:44:10] local.INFO: GPS data processed {"connection_id":130653,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:44:10] local.INFO: Acknowledgment sent {"connection_id":130653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:44:37] local.INFO: TCP Data received {"connection_id":129425,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507235d0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507235d0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:44:37] local.INFO: Processing buffer {"connection_id":129425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507235d0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:44:37] local.INFO: Packet analysis {"connection_id":129425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5072"} 
[2026-07-11 14:44:37] local.INFO: Extracted packet for processing {"connection_id":129425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5072"} 
[2026-07-11 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642833664001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44: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-07-11 14:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761090000,"timestamp_ms":1783761090000,"timestamp_seconds":1783761090,"priority":1,"record_length":96,"hex_timestamp":"0000019f507235d0"} 
[2026-07-11 14:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:44:37] 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-07-11 14:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642833664001,"66":12037,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642833664001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:44:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642833664001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":129425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:44:37] local.INFO: GPS data processed {"connection_id":129425,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:44:37] local.INFO: Acknowledgment sent {"connection_id":129425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:44:41] local.INFO: TCP Data received {"connection_id":130653,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:44:41] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:44:41] local.INFO: Packet analysis {"connection_id":130653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:44:41] local.INFO: Extracted packet for processing {"connection_id":130653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 14:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:44: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-07-11 14:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:44: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-07-11 14:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:44:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":130653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:44:41] local.INFO: GPS data processed {"connection_id":130653,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:44:41] local.INFO: Acknowledgment sent {"connection_id":130653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:45:00] local.INFO: TCP Data received {"connection_id":128704,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:00] local.INFO: Processing buffer {"connection_id":128704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:00] local.INFO: IMEI packet received {"connection_id":128704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":128704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:45:04] local.INFO: TCP Data received {"connection_id":128529,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:45:04] local.INFO: Processing buffer {"connection_id":128529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:45:04] local.INFO: IMEI packet received {"connection_id":128529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:45:05] local.INFO: TCP Data received {"connection_id":128704,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:05] local.INFO: Processing buffer {"connection_id":128704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:05] local.INFO: IMEI packet received {"connection_id":128704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":128704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:45:06] local.INFO: TCP Data received {"connection_id":128704,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507287d8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507287d8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:45:06] local.INFO: Processing buffer {"connection_id":128704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507287d8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:45:06] local.INFO: Packet analysis {"connection_id":128704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5072"} 
[2026-07-11 14:45:06] local.INFO: Extracted packet for processing {"connection_id":128704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5072"} 
[2026-07-11 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642839040001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783761111000,"timestamp_ms":1783761111000,"timestamp_seconds":1783761111,"priority":1,"record_length":96,"hex_timestamp":"0000019f507287d8"} 
[2026-07-11 14:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182148105240832,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030872015907,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194852864,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,49,159,227,45,192,60,35,10,66,145,36,63,1,240,86,80,31,4,113,205,151,101,112,239,48,2,20,7,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-07-11 14:45:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618520320442368,"timestamp_seconds":4323618520320442.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 14:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:45:06] 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-07-11 14:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642839040001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642839040001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642839040001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":128704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:45:06] local.INFO: GPS data processed {"connection_id":128704,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:45:06] local.INFO: Acknowledgment sent {"connection_id":128704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:45:09] local.INFO: TCP Data received {"connection_id":128529,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:45:09] local.INFO: Processing buffer {"connection_id":128529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:45:09] local.INFO: IMEI packet received {"connection_id":128529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":128529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:45:10] local.INFO: TCP Data received {"connection_id":128529,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:45:10] local.INFO: Processing buffer {"connection_id":128529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:45:10] local.INFO: Packet analysis {"connection_id":128529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:45:10] local.INFO: Extracted packet for processing {"connection_id":128529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 14:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:45: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-07-11 14: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:45:10] 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-07-11 14:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:45:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":128529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:45:10] local.INFO: GPS data processed {"connection_id":128529,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:45:10] local.INFO: Acknowledgment sent {"connection_id":128529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:45:37] local.INFO: TCP Data received {"connection_id":128704,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5072d9e0012d1965c0071ff170003c009421..."} 
[2026-07-11 14:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5072d9e0012d1965c0071ff170003c009421..."} 
[2026-07-11 14:45:37] local.INFO: Processing buffer {"connection_id":128704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5072d9e0012d1965c0071ff170003c009421..."} 
[2026-07-11 14:45:37] local.INFO: Packet analysis {"connection_id":128704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5072"} 
[2026-07-11 14:45:37] local.INFO: Extracted packet for processing {"connection_id":128704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5072"} 
[2026-07-11 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642844416001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45: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-07-11 14:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761132000,"timestamp_ms":1783761132000,"timestamp_seconds":1783761132,"priority":1,"record_length":96,"hex_timestamp":"0000019f5072d9e0"} 
[2026-07-11 14:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:45:37] 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-07-11 14:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642844416001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642844416001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:45:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642844416001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":128704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:45:37] local.INFO: GPS data processed {"connection_id":128704,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:45:37] local.INFO: Acknowledgment sent {"connection_id":128704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:45:41] local.INFO: TCP Data received {"connection_id":128529,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:45:41] local.INFO: Processing buffer {"connection_id":128529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:45:41] local.INFO: Packet analysis {"connection_id":128529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:45:41] local.INFO: Extracted packet for processing {"connection_id":128529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 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-07-11 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-07-11 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":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:45: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-07-11 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-07-11 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-07-11 14:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:45:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":128529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:45:41] local.INFO: GPS data processed {"connection_id":128529,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:45:41] local.INFO: Acknowledgment sent {"connection_id":128529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:45:58] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:58] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:58] local.INFO: IMEI packet received {"connection_id":130655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":130655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:45:59] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:59] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:45:59] local.INFO: IMEI packet received {"connection_id":130655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":130655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:46:04] local.INFO: TCP Data received {"connection_id":130656,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:46:04] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:46:04] local.INFO: IMEI packet received {"connection_id":130656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":130656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:46:04] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:46:04] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:46:04] local.INFO: IMEI packet received {"connection_id":130655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":130655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:46:05] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50732be8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50732be8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:46:05] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50732be8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:46:05] local.INFO: Packet analysis {"connection_id":130655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5073"} 
[2026-07-11 14:46:05] local.INFO: Extracted packet for processing {"connection_id":130655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5073"} 
[2026-07-11 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642849792001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46: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-07-11 14:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783761153000,"timestamp_ms":1783761153000,"timestamp_seconds":1783761153,"priority":1,"record_length":96,"hex_timestamp":"0000019f50732be8"} 
[2026-07-11 14:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:46:05] 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-07-11 14:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642849792001,"66":12113,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642849792001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642849792001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":130655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:46:05] local.INFO: GPS data processed {"connection_id":130655,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:46:05] local.INFO: Acknowledgment sent {"connection_id":130655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:46:09] local.INFO: TCP Data received {"connection_id":130656,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:46:09] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:46:09] local.INFO: IMEI packet received {"connection_id":130656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":130656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:46:10] local.INFO: TCP Data received {"connection_id":130656,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:46:10] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5071a548012cb29c0007823c60004800b32d..."} 
[2026-07-11 14:46:10] local.INFO: Packet analysis {"connection_id":130656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:46:10] local.INFO: Extracted packet for processing {"connection_id":130656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5071"} 
[2026-07-11 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":72,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642750976001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761053000,"timestamp_ms":1783761053000,"timestamp_seconds":1783761053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5071a548"} 
[2026-07-11 14:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:46: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-07-11 14:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:46:10] 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-07-11 14:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642750976001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642750976001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:46:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642750976001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":130656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:46:10] local.INFO: GPS data processed {"connection_id":130656,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:46:10] local.INFO: Acknowledgment sent {"connection_id":130656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:46:36] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50737df0012d1965c0071ff170003c009421..."} 
[2026-07-11 14:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50737df0012d1965c0071ff170003c009421..."} 
[2026-07-11 14:46:36] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50737df0012d1965c0071ff170003c009421..."} 
[2026-07-11 14:46:36] local.INFO: Packet analysis {"connection_id":130655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5073"} 
[2026-07-11 14:46:36] local.INFO: Extracted packet for processing {"connection_id":130655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5073"} 
[2026-07-11 14:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642855168001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783761174000,"timestamp_ms":1783761174000,"timestamp_seconds":1783761174,"priority":1,"record_length":96,"hex_timestamp":"0000019f50737df0"} 
[2026-07-11 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-07-11 14:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-11 14:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642855168001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642855168001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642855168001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":130655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:46:36] local.INFO: GPS data processed {"connection_id":130655,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:46:36] local.INFO: Acknowledgment sent {"connection_id":130655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:46:41] local.INFO: TCP Data received {"connection_id":130656,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:46:41] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:46:41] local.INFO: Packet analysis {"connection_id":130656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:46:41] local.INFO: Extracted packet for processing {"connection_id":130656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 14:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:46: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-07-11 14:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:46: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-07-11 14:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:46:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":130656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:46:41] local.INFO: GPS data processed {"connection_id":130656,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:46:41] local.INFO: Acknowledgment sent {"connection_id":130656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:46:59] local.INFO: TCP Data received {"connection_id":128705,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:46:59] local.INFO: Processing buffer {"connection_id":128705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:46:59] local.INFO: IMEI packet received {"connection_id":128705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":128705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:47:02] local.INFO: TCP Data received {"connection_id":128705,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:47:02] local.INFO: Processing buffer {"connection_id":128705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:47:02] local.INFO: IMEI packet received {"connection_id":128705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":128705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:47:04] local.INFO: TCP Data received {"connection_id":128531,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:47:04] local.INFO: Processing buffer {"connection_id":128531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:47:04] local.INFO: IMEI packet received {"connection_id":128531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:47:04] local.INFO: TCP Data received {"connection_id":128705,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:47:04] local.INFO: Processing buffer {"connection_id":128705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:47:04] local.INFO: IMEI packet received {"connection_id":128705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:47:05] local.INFO: TCP Data received {"connection_id":128705,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5073cff8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5073cff8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:47:05] local.INFO: Processing buffer {"connection_id":128705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5073cff8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:47:05] local.INFO: Packet analysis {"connection_id":128705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5073"} 
[2026-07-11 14:47:05] local.INFO: Extracted packet for processing {"connection_id":128705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5073"} 
[2026-07-11 14:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642860544001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47: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-07-11 14:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783761195000,"timestamp_ms":1783761195000,"timestamp_seconds":1783761195,"priority":1,"record_length":96,"hex_timestamp":"0000019f5073cff8"} 
[2026-07-11 14:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:47:05] 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-07-11 14:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642860544001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642860544001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642860544001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":128705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:47:05] local.INFO: GPS data processed {"connection_id":128705,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:47:05] local.INFO: Acknowledgment sent {"connection_id":128705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:47:09] local.INFO: TCP Data received {"connection_id":128531,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:47:09] local.INFO: Processing buffer {"connection_id":128531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:47:09] local.INFO: IMEI packet received {"connection_id":128531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":128531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:47:10] local.INFO: TCP Data received {"connection_id":128531,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:47:10] local.INFO: Processing buffer {"connection_id":128531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:47:10] local.INFO: Packet analysis {"connection_id":128531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:47:10] local.INFO: Extracted packet for processing {"connection_id":128531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 14:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:47: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-07-11 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:47:10] 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-07-11 14:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:47:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":128531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:47:10] local.INFO: GPS data processed {"connection_id":128531,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:47:10] local.INFO: Acknowledgment sent {"connection_id":128531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:47:37] local.INFO: TCP Data received {"connection_id":128705,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50742200012d1965c0071ff170003c009423..."} 
[2026-07-11 14:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50742200012d1965c0071ff170003c009423..."} 
[2026-07-11 14:47:37] local.INFO: Processing buffer {"connection_id":128705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50742200012d1965c0071ff170003c009423..."} 
[2026-07-11 14:47:37] local.INFO: Packet analysis {"connection_id":128705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5074"} 
[2026-07-11 14:47:37] local.INFO: Extracted packet for processing {"connection_id":128705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5074"} 
[2026-07-11 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642865920001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47: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-07-11 14:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761216000,"timestamp_ms":1783761216000,"timestamp_seconds":1783761216,"priority":1,"record_length":96,"hex_timestamp":"0000019f50742200"} 
[2026-07-11 14:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:47:37] 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-07-11 14:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642865920001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642865920001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:47:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642865920001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":128705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:47:37] local.INFO: GPS data processed {"connection_id":128705,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:47:37] local.INFO: Acknowledgment sent {"connection_id":128705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:47:41] local.INFO: TCP Data received {"connection_id":128531,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:47:41] local.INFO: Processing buffer {"connection_id":128531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:47:41] local.INFO: Packet analysis {"connection_id":128531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:47:41] local.INFO: Extracted packet for processing {"connection_id":128531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 14:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:47: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-07-11 14: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":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:47: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-07-11 14:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:47:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":128531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:47:41] local.INFO: GPS data processed {"connection_id":128531,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:47:41] local.INFO: Acknowledgment sent {"connection_id":128531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:47:59] local.INFO: TCP Data received {"connection_id":128533,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:47:59] local.INFO: Processing buffer {"connection_id":128533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:47:59] local.INFO: IMEI packet received {"connection_id":128533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":128533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:48:04] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:48:04] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:48:04] local.INFO: IMEI packet received {"connection_id":130657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":130657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:48:05] local.INFO: TCP Data received {"connection_id":128533,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:48:05] local.INFO: Processing buffer {"connection_id":128533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:48:05] local.INFO: IMEI packet received {"connection_id":128533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":128533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:48:06] local.INFO: TCP Data received {"connection_id":128533,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50747408012d1965c0071ff170003c009424..."} 
[2026-07-11 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50747408012d1965c0071ff170003c009424..."} 
[2026-07-11 14:48:06] local.INFO: Processing buffer {"connection_id":128533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50747408012d1965c0071ff170003c009424..."} 
[2026-07-11 14:48:06] local.INFO: Packet analysis {"connection_id":128533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5074"} 
[2026-07-11 14:48:06] local.INFO: Extracted packet for processing {"connection_id":128533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5074"} 
[2026-07-11 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642871296001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783761237000,"timestamp_ms":1783761237000,"timestamp_seconds":1783761237,"priority":1,"record_length":96,"hex_timestamp":"0000019f50747408"} 
[2026-07-11 14:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:48:06] 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-07-11 14:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642871296001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642871296001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642871296001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":128533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:48:06] local.INFO: GPS data processed {"connection_id":128533,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:48:06] local.INFO: Acknowledgment sent {"connection_id":128533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:48:09] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:48:09] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:48:09] local.INFO: IMEI packet received {"connection_id":130657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":130657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:48:10] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:48:10] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:48:10] local.INFO: Packet analysis {"connection_id":130657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:48:10] local.INFO: Extracted packet for processing {"connection_id":130657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 14:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:48: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-07-11 14: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":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:48:10] 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-07-11 14:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:48:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":130657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:48:10] local.INFO: GPS data processed {"connection_id":130657,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:48:10] local.INFO: Acknowledgment sent {"connection_id":130657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:48:25] local.INFO: TCP Data received {"connection_id":128532,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:48:25] local.INFO: Processing buffer {"connection_id":128532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:48:25] local.INFO: IMEI packet received {"connection_id":128532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":128532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:48:37] local.INFO: TCP Data received {"connection_id":128533,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5074c228012d1965c0071ff170003c009421..."} 
[2026-07-11 14:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5074c228012d1965c0071ff170003c009421..."} 
[2026-07-11 14:48:37] local.INFO: Processing buffer {"connection_id":128533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5074c228012d1965c0071ff170003c009421..."} 
[2026-07-11 14:48:37] local.INFO: Packet analysis {"connection_id":128533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5074"} 
[2026-07-11 14:48:37] local.INFO: Extracted packet for processing {"connection_id":128533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5074"} 
[2026-07-11 14:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642876672001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48: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-07-11 14:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761257000,"timestamp_ms":1783761257000,"timestamp_seconds":1783761257,"priority":1,"record_length":96,"hex_timestamp":"0000019f5074c228"} 
[2026-07-11 14:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:48:37] 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-07-11 14:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642876672001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642876672001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:48:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642876672001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":128533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:48:37] local.INFO: GPS data processed {"connection_id":128533,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:48:37] local.INFO: Acknowledgment sent {"connection_id":128533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:48:41] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:48:41] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:48:41] local.INFO: Packet analysis {"connection_id":130657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:48:41] local.INFO: Extracted packet for processing {"connection_id":130657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 14:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:48: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-07-11 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:48: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-07-11 14:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:48:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":130657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:48:41] local.INFO: GPS data processed {"connection_id":130657,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:48:41] local.INFO: Acknowledgment sent {"connection_id":130657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:48:45] local.INFO: TCP Data received {"connection_id":129427,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:48:45] local.INFO: Processing buffer {"connection_id":129427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:48:45] local.INFO: IMEI packet received {"connection_id":129427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":129427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:49:04] local.INFO: TCP Data received {"connection_id":128707,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:49:04] local.INFO: Processing buffer {"connection_id":128707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:49:04] local.INFO: IMEI packet received {"connection_id":128707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":128707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:49:04] local.INFO: TCP Data received {"connection_id":128706,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:49:04] local.INFO: Processing buffer {"connection_id":128706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:49:04] local.INFO: IMEI packet received {"connection_id":128706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":128706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:49:08] local.INFO: TCP Data received {"connection_id":128706,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:49:08] local.INFO: Processing buffer {"connection_id":128706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:49:08] local.INFO: IMEI packet received {"connection_id":128706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":128706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:49:08] local.INFO: TCP Data received {"connection_id":128706,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50751430012d1965c0071ff170003c009423..."} 
[2026-07-11 14:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50751430012d1965c0071ff170003c009423..."} 
[2026-07-11 14:49:08] local.INFO: Processing buffer {"connection_id":128706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50751430012d1965c0071ff170003c009423..."} 
[2026-07-11 14:49:08] local.INFO: Packet analysis {"connection_id":128706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5075"} 
[2026-07-11 14:49:08] local.INFO: Extracted packet for processing {"connection_id":128706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5075"} 
[2026-07-11 14:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642881792001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49: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-07-11 14:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783761278000,"timestamp_ms":1783761278000,"timestamp_seconds":1783761278,"priority":1,"record_length":96,"hex_timestamp":"0000019f50751430"} 
[2026-07-11 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-07-11 14:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 14:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:49:08] 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-07-11 14:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642881792001,"66":12287,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642881792001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:49:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642881792001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":128706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:49:09] local.INFO: GPS data processed {"connection_id":128706,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:49:09] local.INFO: Acknowledgment sent {"connection_id":128706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:49:09] local.INFO: TCP Data received {"connection_id":128707,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:49:09] local.INFO: Processing buffer {"connection_id":128707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:49:09] local.INFO: IMEI packet received {"connection_id":128707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":128707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:49:10] local.INFO: TCP Data received {"connection_id":128707,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:49:10] local.INFO: Processing buffer {"connection_id":128707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:49:10] local.INFO: Packet analysis {"connection_id":128707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:49:10] local.INFO: Extracted packet for processing {"connection_id":128707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 14:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:49: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-07-11 14:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:49:10] 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-07-11 14:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:49:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":128707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:49:10] local.INFO: GPS data processed {"connection_id":128707,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:49:10] local.INFO: Acknowledgment sent {"connection_id":128707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:49:40] local.INFO: TCP Data received {"connection_id":128706,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50756638012d1965c0071ff170003c009421..."} 
[2026-07-11 14:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50756638012d1965c0071ff170003c009421..."} 
[2026-07-11 14:49:40] local.INFO: Processing buffer {"connection_id":128706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50756638012d1965c0071ff170003c009421..."} 
[2026-07-11 14:49:40] local.INFO: Packet analysis {"connection_id":128706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5075"} 
[2026-07-11 14:49:40] local.INFO: Extracted packet for processing {"connection_id":128706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5075"} 
[2026-07-11 14:49:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642887168001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783761299000,"timestamp_ms":1783761299000,"timestamp_seconds":1783761299,"priority":1,"record_length":96,"hex_timestamp":"0000019f50756638"} 
[2026-07-11 14:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 14:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:49:40] 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-07-11 14:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642887168001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642887168001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:49:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:49:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642887168001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":128706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:49:40] local.INFO: GPS data processed {"connection_id":128706,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:49:40] local.INFO: Acknowledgment sent {"connection_id":128706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:49:41] local.INFO: TCP Data received {"connection_id":128707,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:49:41] local.INFO: Processing buffer {"connection_id":128707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:49:41] local.INFO: Packet analysis {"connection_id":128707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:49:41] local.INFO: Extracted packet for processing {"connection_id":128707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 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-07-11 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-07-11 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":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:49: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-07-11 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-07-11 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-07-11 14:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:49:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":128707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:49:41] local.INFO: GPS data processed {"connection_id":128707,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:49:41] local.INFO: Acknowledgment sent {"connection_id":128707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:50:00] local.INFO: TCP Data received {"connection_id":129428,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:50:00] local.INFO: Processing buffer {"connection_id":129428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:50:00] local.INFO: IMEI packet received {"connection_id":129428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":129428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:50:04] local.INFO: TCP Data received {"connection_id":129429,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:50:04] local.INFO: Processing buffer {"connection_id":129429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:50:04] local.INFO: IMEI packet received {"connection_id":129429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":129429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:50:05] local.INFO: TCP Data received {"connection_id":129428,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:50:05] local.INFO: Processing buffer {"connection_id":129428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:50:05] local.INFO: IMEI packet received {"connection_id":129428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":129428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:50:06] local.INFO: TCP Data received {"connection_id":129428,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5075bc28012d1965c0071ff170003c009424..."} 
[2026-07-11 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5075bc28012d1965c0071ff170003c009424..."} 
[2026-07-11 14:50:06] local.INFO: Processing buffer {"connection_id":129428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5075bc28012d1965c0071ff170003c009424..."} 
[2026-07-11 14:50:06] local.INFO: Packet analysis {"connection_id":129428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5075"} 
[2026-07-11 14:50:06] local.INFO: Extracted packet for processing {"connection_id":129428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5075"} 
[2026-07-11 14:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642892544001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783761321000,"timestamp_ms":1783761321000,"timestamp_seconds":1783761321,"priority":1,"record_length":96,"hex_timestamp":"0000019f5075bc28"} 
[2026-07-11 14:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:50:06] 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-07-11 14:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642892544001,"66":12298,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642892544001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642892544001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":129428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:50:06] local.INFO: GPS data processed {"connection_id":129428,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:50:06] local.INFO: Acknowledgment sent {"connection_id":129428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:50:09] local.INFO: TCP Data received {"connection_id":129429,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:50:09] local.INFO: Processing buffer {"connection_id":129429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:50:09] local.INFO: IMEI packet received {"connection_id":129429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":129429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:50:10] local.INFO: TCP Data received {"connection_id":129429,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:50:10] local.INFO: Processing buffer {"connection_id":129429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:50:10] local.INFO: Packet analysis {"connection_id":129429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:50:10] local.INFO: Extracted packet for processing {"connection_id":129429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 14:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:50: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-07-11 14:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:50:10] 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-07-11 14:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:50:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":129429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:50:10] local.INFO: GPS data processed {"connection_id":129429,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:50:10] local.INFO: Acknowledgment sent {"connection_id":129429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:50:37] local.INFO: TCP Data received {"connection_id":129428,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50793e98012d1965c0071ff170003c009425..."} 
[2026-07-11 14:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50793e98012d1965c0071ff170003c009425..."} 
[2026-07-11 14:50:37] local.INFO: Processing buffer {"connection_id":129428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50793e98012d1965c0071ff170003c009425..."} 
[2026-07-11 14:50:37] local.INFO: Packet analysis {"connection_id":129428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5079"} 
[2026-07-11 14:50:37] local.INFO: Extracted packet for processing {"connection_id":129428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5079"} 
[2026-07-11 14:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642951680001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50: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-07-11 14:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761551000,"timestamp_ms":1783761551000,"timestamp_seconds":1783761551,"priority":1,"record_length":96,"hex_timestamp":"0000019f50793e98"} 
[2026-07-11 14:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:50:37] 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-07-11 14:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642951680001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642951680001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:50:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642951680001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":129428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:50:37] local.INFO: GPS data processed {"connection_id":129428,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:50:37] local.INFO: Acknowledgment sent {"connection_id":129428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:50:41] local.INFO: TCP Data received {"connection_id":129429,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:50:41] local.INFO: Processing buffer {"connection_id":129429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:50:41] local.INFO: Packet analysis {"connection_id":129429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:50:41] local.INFO: Extracted packet for processing {"connection_id":129429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 14:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:50: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-07-11 14:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:50: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-07-11 14:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:50:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":129429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:50:41] local.INFO: GPS data processed {"connection_id":129429,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:50:41] local.INFO: Acknowledgment sent {"connection_id":129429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:51:00] local.INFO: TCP Data received {"connection_id":128709,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:51:00] local.INFO: Processing buffer {"connection_id":128709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:51:00] local.INFO: IMEI packet received {"connection_id":128709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":128709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:51:05] local.INFO: TCP Data received {"connection_id":128709,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:51:05] local.INFO: Processing buffer {"connection_id":128709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:51:05] local.INFO: IMEI packet received {"connection_id":128709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":128709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:51:06] local.INFO: TCP Data received {"connection_id":128709,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507990a0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507990a0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:51:06] local.INFO: Processing buffer {"connection_id":128709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507990a0012d1965c0071ff170003c009423..."} 
[2026-07-11 14:51:06] local.INFO: Packet analysis {"connection_id":128709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5079"} 
[2026-07-11 14:51:06] local.INFO: Extracted packet for processing {"connection_id":128709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5079"} 
[2026-07-11 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642957056001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783761572000,"timestamp_ms":1783761572000,"timestamp_seconds":1783761572,"priority":1,"record_length":96,"hex_timestamp":"0000019f507990a0"} 
[2026-07-11 14:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:51:06] 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-07-11 14:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642957056001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642957056001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642957056001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":128709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:51:06] local.INFO: GPS data processed {"connection_id":128709,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:51:06] local.INFO: Acknowledgment sent {"connection_id":128709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:51:09] local.INFO: TCP Data received {"connection_id":128535,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:51:09] local.INFO: Processing buffer {"connection_id":128535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:51:09] local.INFO: IMEI packet received {"connection_id":128535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":128535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:51:14] local.INFO: TCP Data received {"connection_id":128535,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:51:14] local.INFO: Processing buffer {"connection_id":128535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:51:14] local.INFO: IMEI packet received {"connection_id":128535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":128535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:51:15] local.INFO: TCP Data received {"connection_id":128535,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:51:15] local.INFO: Processing buffer {"connection_id":128535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50765480012cb29c0007823c60004500b32c..."} 
[2026-07-11 14:51:15] local.INFO: Packet analysis {"connection_id":128535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:51:15] local.INFO: Extracted packet for processing {"connection_id":128535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5076"} 
[2026-07-11 14:51:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642829568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783761360000,"timestamp_ms":1783761360000,"timestamp_seconds":1783761360,"priority":1,"record_length":96,"hex_timestamp":"0000019f50765480"} 
[2026-07-11 14:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:51:15] 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-07-11 14:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642829568001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642829568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:51:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642829568001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":128535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:51:15] local.INFO: GPS data processed {"connection_id":128535,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:51:15] local.INFO: Acknowledgment sent {"connection_id":128535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:51:18] local.INFO: TCP Data received {"connection_id":128535,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:51:18] local.INFO: Processing buffer {"connection_id":128535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:51:18] local.INFO: Packet analysis {"connection_id":128535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:51:18] local.INFO: Extracted packet for processing {"connection_id":128535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:51:18] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 14:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:51:18] 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-07-11 14:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:51:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":128535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:51:18] local.INFO: GPS data processed {"connection_id":128535,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:51:18] local.INFO: Acknowledgment sent {"connection_id":128535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:51:37] local.INFO: TCP Data received {"connection_id":128709,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5079e2a8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5079e2a8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:51:37] local.INFO: Processing buffer {"connection_id":128709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5079e2a8012d1965c0071ff170003c009423..."} 
[2026-07-11 14:51:37] local.INFO: Packet analysis {"connection_id":128709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5079"} 
[2026-07-11 14:51:37] local.INFO: Extracted packet for processing {"connection_id":128709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5079"} 
[2026-07-11 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642962432001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51: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-07-11 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761593000,"timestamp_ms":1783761593000,"timestamp_seconds":1783761593,"priority":1,"record_length":96,"hex_timestamp":"0000019f5079e2a8"} 
[2026-07-11 14:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:51:37] 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-07-11 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642962432001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642962432001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:51:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642962432001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":128709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:51:38] local.INFO: GPS data processed {"connection_id":128709,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:51:38] local.INFO: Acknowledgment sent {"connection_id":128709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:51:49] local.INFO: TCP Data received {"connection_id":128535,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:51:49] local.INFO: Processing buffer {"connection_id":128535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:51:49] local.INFO: Packet analysis {"connection_id":128535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:51:49] local.INFO: Extracted packet for processing {"connection_id":128535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:51:49] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 14:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":128535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":128535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":128535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:51:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:51:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":128535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:51:49] local.INFO: GPS data processed {"connection_id":128535,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:51:49] local.INFO: Acknowledgment sent {"connection_id":128535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:52:00] local.INFO: TCP Data received {"connection_id":128536,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:00] local.INFO: Processing buffer {"connection_id":128536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:00] local.INFO: IMEI packet received {"connection_id":128536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":128536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:52:04] local.INFO: TCP Data received {"connection_id":128711,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:52:04] local.INFO: Processing buffer {"connection_id":128711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:52:04] local.INFO: IMEI packet received {"connection_id":128711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":128711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:52:05] local.INFO: TCP Data received {"connection_id":128536,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:05] local.INFO: Processing buffer {"connection_id":128536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:05] local.INFO: IMEI packet received {"connection_id":128536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":128536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:52:06] local.INFO: TCP Data received {"connection_id":128536,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507a34b0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507a34b0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:52:06] local.INFO: Processing buffer {"connection_id":128536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507a34b0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:52:06] local.INFO: Packet analysis {"connection_id":128536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507a"} 
[2026-07-11 14:52:06] local.INFO: Extracted packet for processing {"connection_id":128536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507a"} 
[2026-07-11 14:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642967808001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783761614000,"timestamp_ms":1783761614000,"timestamp_seconds":1783761614,"priority":1,"record_length":96,"hex_timestamp":"0000019f507a34b0"} 
[2026-07-11 14:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:52:06] 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-07-11 14:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642967808001,"66":12363,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642967808001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:52:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642967808001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":128536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:52:06] local.INFO: GPS data processed {"connection_id":128536,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:52:06] local.INFO: Acknowledgment sent {"connection_id":128536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:52:09] local.INFO: TCP Data received {"connection_id":128711,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:52:09] local.INFO: Processing buffer {"connection_id":128711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:52:09] local.INFO: IMEI packet received {"connection_id":128711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":128711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:52:10] local.INFO: TCP Data received {"connection_id":128711,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:52:10] local.INFO: Processing buffer {"connection_id":128711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:52:10] local.INFO: Packet analysis {"connection_id":128711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:52:10] local.INFO: Extracted packet for processing {"connection_id":128711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 14:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:52: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-07-11 14:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:52:10] 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-07-11 14:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:52:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":128711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:52:10] local.INFO: GPS data processed {"connection_id":128711,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:52:10] local.INFO: Acknowledgment sent {"connection_id":128711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:52:37] local.INFO: TCP Data received {"connection_id":128536,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507a8aa0012d1965c0071ff170003c009424..."} 
[2026-07-11 14:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507a8aa0012d1965c0071ff170003c009424..."} 
[2026-07-11 14:52:37] local.INFO: Processing buffer {"connection_id":128536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507a8aa0012d1965c0071ff170003c009424..."} 
[2026-07-11 14:52:37] local.INFO: Packet analysis {"connection_id":128536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507a"} 
[2026-07-11 14:52:37] local.INFO: Extracted packet for processing {"connection_id":128536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507a"} 
[2026-07-11 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642973184001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52: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-07-11 14:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761636000,"timestamp_ms":1783761636000,"timestamp_seconds":1783761636,"priority":1,"record_length":96,"hex_timestamp":"0000019f507a8aa0"} 
[2026-07-11 14:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 14:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:52:37] 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-07-11 14:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642973184001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642973184001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:52:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642973184001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":128536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:52:37] local.INFO: GPS data processed {"connection_id":128536,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:52:37] local.INFO: Acknowledgment sent {"connection_id":128536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:52:41] local.INFO: TCP Data received {"connection_id":128711,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:52:41] local.INFO: Processing buffer {"connection_id":128711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:52:41] local.INFO: Packet analysis {"connection_id":128711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:52:41] local.INFO: Extracted packet for processing {"connection_id":128711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 14:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:52: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-07-11 14: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-07-11 14: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-07-11 14:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:52:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":128711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:52:41] local.INFO: GPS data processed {"connection_id":128711,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:52:41] local.INFO: Acknowledgment sent {"connection_id":128711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:52:58] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:58] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:58] local.INFO: IMEI packet received {"connection_id":130659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":130659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:52:59] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:59] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:52:59] local.INFO: IMEI packet received {"connection_id":130659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":130659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:53:05] local.INFO: TCP Data received {"connection_id":129430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:53:05] local.INFO: Processing buffer {"connection_id":129430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:53:05] local.INFO: IMEI packet received {"connection_id":129430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":129430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:53:05] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:53:05] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:53:05] local.INFO: IMEI packet received {"connection_id":130659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":130659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:53:05] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507adca8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507adca8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:53:05] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507adca8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:53:05] local.INFO: Packet analysis {"connection_id":130659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507a"} 
[2026-07-11 14:53:05] local.INFO: Extracted packet for processing {"connection_id":130659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507a"} 
[2026-07-11 14:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642978816001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53: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-07-11 14:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783761657000,"timestamp_ms":1783761657000,"timestamp_seconds":1783761657,"priority":1,"record_length":96,"hex_timestamp":"0000019f507adca8"} 
[2026-07-11 14:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:53:05] 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-07-11 14:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642978816001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642978816001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:53:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642978816001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":130659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:53:05] local.INFO: GPS data processed {"connection_id":130659,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:53:05] local.INFO: Acknowledgment sent {"connection_id":130659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:53:09] local.INFO: TCP Data received {"connection_id":129430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:53:09] local.INFO: Processing buffer {"connection_id":129430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:53:09] local.INFO: IMEI packet received {"connection_id":129430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":129430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:53:10] local.INFO: TCP Data received {"connection_id":129430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:53:10] local.INFO: Processing buffer {"connection_id":129430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:53:10] local.INFO: Packet analysis {"connection_id":129430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:53:10] local.INFO: Extracted packet for processing {"connection_id":129430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:53:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 14:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:53: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-07-11 14:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:53:10] 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-07-11 14:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:53:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":129430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:53:10] local.INFO: GPS data processed {"connection_id":129430,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:53:10] local.INFO: Acknowledgment sent {"connection_id":129430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:53:37] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b2eb0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b2eb0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:53:37] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b2eb0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:53:37] local.INFO: Packet analysis {"connection_id":130659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:53:37] local.INFO: Extracted packet for processing {"connection_id":130659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642984192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53: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-07-11 14:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761678000,"timestamp_ms":1783761678000,"timestamp_seconds":1783761678,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b2eb0"} 
[2026-07-11 14:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:53:37] 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-07-11 14:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642984192001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642984192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:53:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642984192001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":130659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:53:37] local.INFO: GPS data processed {"connection_id":130659,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:53:37] local.INFO: Acknowledgment sent {"connection_id":130659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:53:41] local.INFO: TCP Data received {"connection_id":129430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:53:41] local.INFO: Processing buffer {"connection_id":129430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:53:41] local.INFO: Packet analysis {"connection_id":129430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:53:41] local.INFO: Extracted packet for processing {"connection_id":129430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:53:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 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-07-11 14: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-07-11 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":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:53: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-07-11 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-07-11 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-07-11 14:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:53:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":129430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:53:41] local.INFO: GPS data processed {"connection_id":129430,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:53:41] local.INFO: Acknowledgment sent {"connection_id":129430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:53:59] local.INFO: TCP Data received {"connection_id":128537,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:53:59] local.INFO: Processing buffer {"connection_id":128537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:53:59] local.INFO: IMEI packet received {"connection_id":128537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":128537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:54:02] local.INFO: TCP Data received {"connection_id":128712,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:54:02] local.INFO: Processing buffer {"connection_id":128712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:54:02] local.INFO: IMEI packet received {"connection_id":128712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":128712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:54:02] local.INFO: TCP Data received {"connection_id":128537,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:54:02] local.INFO: Processing buffer {"connection_id":128537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:54:02] local.INFO: IMEI packet received {"connection_id":128537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":128537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:54:04] local.INFO: TCP Data received {"connection_id":128538,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:54:04] local.INFO: Processing buffer {"connection_id":128538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:54:04] local.INFO: IMEI packet received {"connection_id":128538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":128538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:54:04] local.INFO: TCP Data received {"connection_id":128537,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:54:04] local.INFO: Processing buffer {"connection_id":128537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:54:04] local.INFO: IMEI packet received {"connection_id":128537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":128537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:54:05] local.INFO: TCP Data received {"connection_id":128537,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b80b8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b80b8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:54:05] local.INFO: Processing buffer {"connection_id":128537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b80b8012d1965c0071ff170003c009425..."} 
[2026-07-11 14:54:05] local.INFO: Packet analysis {"connection_id":128537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:54:05] local.INFO: Extracted packet for processing {"connection_id":128537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642989568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54: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-07-11 14:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783761699000,"timestamp_ms":1783761699000,"timestamp_seconds":1783761699,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b80b8"} 
[2026-07-11 14:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:54:05] 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-07-11 14:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642989568001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642989568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:54:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642989568001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":128537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:54:05] local.INFO: GPS data processed {"connection_id":128537,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:54:05] local.INFO: Acknowledgment sent {"connection_id":128537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:54:09] local.INFO: TCP Data received {"connection_id":128538,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:54:09] local.INFO: Processing buffer {"connection_id":128538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:54:09] local.INFO: IMEI packet received {"connection_id":128538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":128538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:54:10] local.INFO: TCP Data received {"connection_id":128538,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:54:10] local.INFO: Processing buffer {"connection_id":128538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:54:10] local.INFO: Packet analysis {"connection_id":128538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:54:10] local.INFO: Extracted packet for processing {"connection_id":128538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 14:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:54: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-07-11 14:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:54:10] 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-07-11 14:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:54:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":128538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:54:10] local.INFO: GPS data processed {"connection_id":128538,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:54:10] local.INFO: Acknowledgment sent {"connection_id":128538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:54:36] local.INFO: TCP Data received {"connection_id":128537,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507bd2c0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507bd2c0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:54:36] local.INFO: Processing buffer {"connection_id":128537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507bd2c0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:54:36] local.INFO: Packet analysis {"connection_id":128537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:54:36] local.INFO: Extracted packet for processing {"connection_id":128537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642994944001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783761720000,"timestamp_ms":1783761720000,"timestamp_seconds":1783761720,"priority":1,"record_length":96,"hex_timestamp":"0000019f507bd2c0"} 
[2026-07-11 14:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14: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-07-11 14:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642994944001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642994944001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:54:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642994944001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":128537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:54:36] local.INFO: GPS data processed {"connection_id":128537,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:54:36] local.INFO: Acknowledgment sent {"connection_id":128537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:54:41] local.INFO: TCP Data received {"connection_id":128538,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:54:41] local.INFO: Processing buffer {"connection_id":128538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:54:41] local.INFO: Packet analysis {"connection_id":128538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:54:41] local.INFO: Extracted packet for processing {"connection_id":128538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 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-07-11 14:54: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-07-11 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":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:54: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-07-11 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-07-11 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-07-11 14:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:54:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":128538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:54:41] local.INFO: GPS data processed {"connection_id":128538,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:54:41] local.INFO: Acknowledgment sent {"connection_id":128538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:54:45] local.INFO: TCP Data received {"connection_id":128713,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:54:45] local.INFO: Processing buffer {"connection_id":128713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:54:45] local.INFO: IMEI packet received {"connection_id":128713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":128713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:55:04] local.INFO: TCP Data received {"connection_id":128714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:55:04] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:55:04] local.INFO: IMEI packet received {"connection_id":128714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":128714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:55:05] local.INFO: TCP Data received {"connection_id":128714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:55:05] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:55:05] local.INFO: IMEI packet received {"connection_id":128714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":128714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:55:09] local.INFO: TCP Data received {"connection_id":128715,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:55:09] local.INFO: Processing buffer {"connection_id":128715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:55:09] local.INFO: IMEI packet received {"connection_id":128715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":128715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:55:10] local.INFO: TCP Data received {"connection_id":128714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:55:10] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:55:10] local.INFO: IMEI packet received {"connection_id":128714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":128714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:55:10] local.INFO: TCP Data received {"connection_id":128714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507c24c8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507c24c8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:55:10] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507c24c8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:55:10] local.INFO: Packet analysis {"connection_id":128714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507c"} 
[2026-07-11 14:55:10] local.INFO: Extracted packet for processing {"connection_id":128714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507c"} 
[2026-07-11 14:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643000320001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761741000,"timestamp_ms":1783761741000,"timestamp_seconds":1783761741,"priority":1,"record_length":96,"hex_timestamp":"0000019f507c24c8"} 
[2026-07-11 14:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:55:10] 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-07-11 14:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643000320001,"66":12298,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643000320001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:55:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643000320001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":128714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:55:10] local.INFO: GPS data processed {"connection_id":128714,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:55:10] local.INFO: Acknowledgment sent {"connection_id":128714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:55:14] local.INFO: TCP Data received {"connection_id":128715,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:55:14] local.INFO: Processing buffer {"connection_id":128715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:55:14] local.INFO: IMEI packet received {"connection_id":128715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":128715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:55:15] local.INFO: TCP Data received {"connection_id":128715,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:55:15] local.INFO: Processing buffer {"connection_id":128715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:55:15] local.INFO: Packet analysis {"connection_id":128715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:55:15] local.INFO: Extracted packet for processing {"connection_id":128715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:55:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 14:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:55:15] 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-07-11 14:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:55:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:55:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":128715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:55:15] local.INFO: GPS data processed {"connection_id":128715,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:55:15] local.INFO: Acknowledgment sent {"connection_id":128715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:55:15] local.INFO: TCP Data received {"connection_id":128714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507c76d0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507c76d0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:55:15] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507c76d0012d1965c0071ff170003c009425..."} 
[2026-07-11 14:55:15] local.INFO: Packet analysis {"connection_id":128714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507c"} 
[2026-07-11 14:55:15] local.INFO: Extracted packet for processing {"connection_id":128714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507c"} 
[2026-07-11 14:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643005696001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783761762000,"timestamp_ms":1783761762000,"timestamp_seconds":1783761762,"priority":1,"record_length":96,"hex_timestamp":"0000019f507c76d0"} 
[2026-07-11 14:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185620,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5798915206418340197,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513394345886089364,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":60,"raw_value":41698978483404800,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019562086606,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:15] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,49,159,210,45,192,60,38,10,66,128,37,46,1,240,97,227,80,31,4,113,205,138,101,112,36,239,48,2,20,7,35],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 14:55:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618524615409664,"timestamp_seconds":4323618524615409.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 14:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:55:15] 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-07-11 14:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643005696001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643005696001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:55:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643005696001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":128714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:55:15] local.INFO: GPS data processed {"connection_id":128714,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:55:15] local.INFO: Acknowledgment sent {"connection_id":128714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:55:19] local.INFO: TCP Data received {"connection_id":128715,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:55:19] local.INFO: Processing buffer {"connection_id":128715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:55:19] local.INFO: Packet analysis {"connection_id":128715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:55:19] local.INFO: Extracted packet for processing {"connection_id":128715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:55:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 14:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:55:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:55:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:55:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":128715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:55:19] local.INFO: GPS data processed {"connection_id":128715,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:55:19] local.INFO: Acknowledgment sent {"connection_id":128715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:55:20] local.INFO: TCP Data received {"connection_id":128714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507cc4f0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507cc4f0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:55:20] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507cc4f0012d1965c0071ff170003c009426..."} 
[2026-07-11 14:55:20] local.INFO: Packet analysis {"connection_id":128714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507c"} 
[2026-07-11 14:55:20] local.INFO: Extracted packet for processing {"connection_id":128714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507c"} 
[2026-07-11 14:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643011072001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783761782000,"timestamp_ms":1783761782000,"timestamp_seconds":1783761782,"priority":1,"record_length":96,"hex_timestamp":"0000019f507cc4f0"} 
[2026-07-11 14:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643011072001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643011072001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:55:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643011072001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":128714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:55:20] local.INFO: GPS data processed {"connection_id":128714,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:55:20] local.INFO: Acknowledgment sent {"connection_id":128714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:56:00] local.INFO: TCP Data received {"connection_id":128539,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:56:00] local.INFO: Processing buffer {"connection_id":128539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:56:00] local.INFO: IMEI packet received {"connection_id":128539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":128539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:56:04] local.INFO: TCP Data received {"connection_id":129431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:56:04] local.INFO: Processing buffer {"connection_id":129431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:56:04] local.INFO: IMEI packet received {"connection_id":129431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":129431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:56:04] local.INFO: TCP Data received {"connection_id":128539,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:56:04] local.INFO: Processing buffer {"connection_id":128539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:56:04] local.INFO: IMEI packet received {"connection_id":128539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":128539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:56:05] local.INFO: TCP Data received {"connection_id":128539,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507d16f8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507d16f8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:56:05] local.INFO: Processing buffer {"connection_id":128539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507d16f8012d1965c0071ff170003c009424..."} 
[2026-07-11 14:56:05] local.INFO: Packet analysis {"connection_id":128539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507d"} 
[2026-07-11 14:56:05] local.INFO: Extracted packet for processing {"connection_id":128539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507d"} 
[2026-07-11 14:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643016192001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56: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-07-11 14:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783761803000,"timestamp_ms":1783761803000,"timestamp_seconds":1783761803,"priority":1,"record_length":96,"hex_timestamp":"0000019f507d16f8"} 
[2026-07-11 14:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 14:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:56:05] 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-07-11 14:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643016192001,"66":12298,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643016192001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643016192001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":128539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:56:05] local.INFO: GPS data processed {"connection_id":128539,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:56:05] local.INFO: Acknowledgment sent {"connection_id":128539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:56:09] local.INFO: TCP Data received {"connection_id":129431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:56:09] local.INFO: Processing buffer {"connection_id":129431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:56:09] local.INFO: IMEI packet received {"connection_id":129431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":129431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:56:10] local.INFO: TCP Data received {"connection_id":129431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:56:10] local.INFO: Processing buffer {"connection_id":129431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507b03b8012cb29c0007823c60004100b32a..."} 
[2026-07-11 14:56:10] local.INFO: Packet analysis {"connection_id":129431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:56:10] local.INFO: Extracted packet for processing {"connection_id":129431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507b"} 
[2026-07-11 14:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":65,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642908160001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761667000,"timestamp_ms":1783761667000,"timestamp_seconds":1783761667,"priority":1,"record_length":96,"hex_timestamp":"0000019f507b03b8"} 
[2026-07-11 14:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:56: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-07-11 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 14:56:10] 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-07-11 14:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642908160001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642908160001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:56:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642908160001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":129431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:56:10] local.INFO: GPS data processed {"connection_id":129431,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:56:10] local.INFO: Acknowledgment sent {"connection_id":129431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:56:36] local.INFO: TCP Data received {"connection_id":128539,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507d6900012d1965c0071ff170003c009425..."} 
[2026-07-11 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507d6900012d1965c0071ff170003c009425..."} 
[2026-07-11 14:56:36] local.INFO: Processing buffer {"connection_id":128539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507d6900012d1965c0071ff170003c009425..."} 
[2026-07-11 14:56:36] local.INFO: Packet analysis {"connection_id":128539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507d"} 
[2026-07-11 14:56:36] local.INFO: Extracted packet for processing {"connection_id":128539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507d"} 
[2026-07-11 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643021568001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783761824000,"timestamp_ms":1783761824000,"timestamp_seconds":1783761824,"priority":1,"record_length":96,"hex_timestamp":"0000019f507d6900"} 
[2026-07-11 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-07-11 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185620,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5799190084325284197,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513394345886089364,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":60,"raw_value":41698978483404800,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049721038,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,49,159,196,45,192,60,38,10,66,118,37,36,1,240,227,80,31,4,113,205,128,101,112,239,48,2,20,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 14:56:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618524615409664,"timestamp_seconds":4323618524615409.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 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-07-11 14:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643021568001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643021568001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643021568001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":128539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:56:36] local.INFO: GPS data processed {"connection_id":128539,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:56:36] local.INFO: Acknowledgment sent {"connection_id":128539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:56:40] local.INFO: TCP Data received {"connection_id":129431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:56:40] local.INFO: Processing buffer {"connection_id":129431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:56:40] local.INFO: Packet analysis {"connection_id":129431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:56:40] local.INFO: Extracted packet for processing {"connection_id":129431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:56:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 14:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:56: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-07-11 14:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:56:40] 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-07-11 14:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:56:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:56:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":129431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:56:40] local.INFO: GPS data processed {"connection_id":129431,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:56:40] local.INFO: Acknowledgment sent {"connection_id":129431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:57:00] local.INFO: TCP Data received {"connection_id":128540,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:57:00] local.INFO: Processing buffer {"connection_id":128540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:57:00] local.INFO: IMEI packet received {"connection_id":128540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":128540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:57:04] local.INFO: TCP Data received {"connection_id":128718,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:57:04] local.INFO: Processing buffer {"connection_id":128718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:57:04] local.INFO: IMEI packet received {"connection_id":128718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":128718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:57:05] local.INFO: TCP Data received {"connection_id":128540,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:57:05] local.INFO: Processing buffer {"connection_id":128540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:57:05] local.INFO: IMEI packet received {"connection_id":128540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":128540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:57:06] local.INFO: TCP Data received {"connection_id":128540,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507dbb08012d1965c0071ff170003c009424..."} 
[2026-07-11 14:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507dbb08012d1965c0071ff170003c009424..."} 
[2026-07-11 14:57:06] local.INFO: Processing buffer {"connection_id":128540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507dbb08012d1965c0071ff170003c009424..."} 
[2026-07-11 14:57:06] local.INFO: Packet analysis {"connection_id":128540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507d"} 
[2026-07-11 14:57:06] local.INFO: Extracted packet for processing {"connection_id":128540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507d"} 
[2026-07-11 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643026944001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783761845000,"timestamp_ms":1783761845000,"timestamp_seconds":1783761845,"priority":1,"record_length":96,"hex_timestamp":"0000019f507dbb08"} 
[2026-07-11 14:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:57:06] 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-07-11 14:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643026944001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643026944001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643026944001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":128540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:57:06] local.INFO: GPS data processed {"connection_id":128540,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:57:06] local.INFO: Acknowledgment sent {"connection_id":128540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:57:09] local.INFO: TCP Data received {"connection_id":128718,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:57:09] local.INFO: Processing buffer {"connection_id":128718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:57:09] local.INFO: IMEI packet received {"connection_id":128718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":128718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:57:10] local.INFO: TCP Data received {"connection_id":128718,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:57:10] local.INFO: Processing buffer {"connection_id":128718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:57:10] local.INFO: Packet analysis {"connection_id":128718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:57:10] local.INFO: Extracted packet for processing {"connection_id":128718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 14:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:57: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-07-11 14:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:57:10] 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-07-11 14:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:57:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":128718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:57:10] local.INFO: GPS data processed {"connection_id":128718,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:57:10] local.INFO: Acknowledgment sent {"connection_id":128718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:57:37] local.INFO: TCP Data received {"connection_id":128540,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507e0d10012d1965c0071ff170003c009424..."} 
[2026-07-11 14:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507e0d10012d1965c0071ff170003c009424..."} 
[2026-07-11 14:57:37] local.INFO: Processing buffer {"connection_id":128540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507e0d10012d1965c0071ff170003c009424..."} 
[2026-07-11 14:57:37] local.INFO: Packet analysis {"connection_id":128540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507e"} 
[2026-07-11 14:57:37] local.INFO: Extracted packet for processing {"connection_id":128540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507e"} 
[2026-07-11 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643032320001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57: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-07-11 14:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761866000,"timestamp_ms":1783761866000,"timestamp_seconds":1783761866,"priority":1,"record_length":96,"hex_timestamp":"0000019f507e0d10"} 
[2026-07-11 14:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:57:37] 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-07-11 14:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643032320001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643032320001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:57:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643032320001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":128540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:57:37] local.INFO: GPS data processed {"connection_id":128540,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:57:37] local.INFO: Acknowledgment sent {"connection_id":128540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:57:41] local.INFO: TCP Data received {"connection_id":128718,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:57:41] local.INFO: Processing buffer {"connection_id":128718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:57:41] local.INFO: Packet analysis {"connection_id":128718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:57:41] local.INFO: Extracted packet for processing {"connection_id":128718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:57:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 14:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14: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-07-11 14: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:57: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-07-11 14:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:57:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":128718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:57:41] local.INFO: GPS data processed {"connection_id":128718,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:57:41] local.INFO: Acknowledgment sent {"connection_id":128718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:58:00] local.INFO: TCP Data received {"connection_id":129432,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:58:00] local.INFO: Processing buffer {"connection_id":129432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:58:00] local.INFO: IMEI packet received {"connection_id":129432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":129432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:58:04] local.INFO: TCP Data received {"connection_id":128541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:58:04] local.INFO: Processing buffer {"connection_id":128541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:58:04] local.INFO: IMEI packet received {"connection_id":128541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":128541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:58:05] local.INFO: TCP Data received {"connection_id":129432,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:58:05] local.INFO: Processing buffer {"connection_id":129432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:58:05] local.INFO: IMEI packet received {"connection_id":129432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":129432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:58:05] local.INFO: TCP Data received {"connection_id":129432,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507e5f18012d1965c0071ff170003c009425..."} 
[2026-07-11 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507e5f18012d1965c0071ff170003c009425..."} 
[2026-07-11 14:58:05] local.INFO: Processing buffer {"connection_id":129432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507e5f18012d1965c0071ff170003c009425..."} 
[2026-07-11 14:58:05] local.INFO: Packet analysis {"connection_id":129432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507e"} 
[2026-07-11 14:58:05] local.INFO: Extracted packet for processing {"connection_id":129432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507e"} 
[2026-07-11 14:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643037696001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58: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-07-11 14:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783761887000,"timestamp_ms":1783761887000,"timestamp_seconds":1783761887,"priority":1,"record_length":96,"hex_timestamp":"0000019f507e5f18"} 
[2026-07-11 14:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 14:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:58:05] 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-07-11 14:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643037696001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643037696001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643037696001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":129432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:58:06] local.INFO: GPS data processed {"connection_id":129432,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:58:06] local.INFO: Acknowledgment sent {"connection_id":129432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:58:09] local.INFO: TCP Data received {"connection_id":128541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:58:09] local.INFO: Processing buffer {"connection_id":128541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:58:09] local.INFO: IMEI packet received {"connection_id":128541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":128541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:58:10] local.INFO: TCP Data received {"connection_id":128541,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:58:10] local.INFO: Processing buffer {"connection_id":128541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:58:10] local.INFO: Packet analysis {"connection_id":128541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:58:10] local.INFO: Extracted packet for processing {"connection_id":128541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 14:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:58: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-07-11 14: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:58:10] 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-07-11 14:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":128541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:58:10] local.INFO: GPS data processed {"connection_id":128541,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:58:10] local.INFO: Acknowledgment sent {"connection_id":128541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:58:36] local.INFO: TCP Data received {"connection_id":129432,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507eb120012d1965c0071ff170003c009425..."} 
[2026-07-11 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507eb120012d1965c0071ff170003c009425..."} 
[2026-07-11 14:58:36] local.INFO: Processing buffer {"connection_id":129432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507eb120012d1965c0071ff170003c009425..."} 
[2026-07-11 14:58:36] local.INFO: Packet analysis {"connection_id":129432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507e"} 
[2026-07-11 14:58:36] local.INFO: Extracted packet for processing {"connection_id":129432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507e"} 
[2026-07-11 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643043072001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783761908000,"timestamp_ms":1783761908000,"timestamp_seconds":1783761908,"priority":1,"record_length":96,"hex_timestamp":"0000019f507eb120"} 
[2026-07-11 14:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:58:36] 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-07-11 14: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-07-11 14:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643043072001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643043072001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643043072001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":129432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:58:37] local.INFO: GPS data processed {"connection_id":129432,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:58:37] local.INFO: Acknowledgment sent {"connection_id":129432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:58:41] local.INFO: TCP Data received {"connection_id":128541,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:58:41] local.INFO: Processing buffer {"connection_id":128541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:58:41] local.INFO: Packet analysis {"connection_id":128541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:58:41] local.INFO: Extracted packet for processing {"connection_id":128541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 14:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 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-07-11 14:58: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-07-11 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":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:58: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-07-11 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-07-11 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-07-11 14:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:58:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":128541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:58:41] local.INFO: GPS data processed {"connection_id":128541,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:58:41] local.INFO: Acknowledgment sent {"connection_id":128541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:59:00] local.INFO: TCP Data received {"connection_id":129433,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:00] local.INFO: Processing buffer {"connection_id":129433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:00] local.INFO: IMEI packet received {"connection_id":129433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":129433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:59:05] local.INFO: TCP Data received {"connection_id":129433,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:05] local.INFO: Processing buffer {"connection_id":129433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:05] local.INFO: IMEI packet received {"connection_id":129433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":129433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:59:06] local.INFO: TCP Data received {"connection_id":129433,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507f0710012d1965c0071ff170003c009425..."} 
[2026-07-11 14:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507f0710012d1965c0071ff170003c009425..."} 
[2026-07-11 14:59:06] local.INFO: Processing buffer {"connection_id":129433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507f0710012d1965c0071ff170003c009425..."} 
[2026-07-11 14:59:06] local.INFO: Packet analysis {"connection_id":129433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:59:06] local.INFO: Extracted packet for processing {"connection_id":129433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14: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-07-11 14:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643048448001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783761930000,"timestamp_ms":1783761930000,"timestamp_seconds":1783761930,"priority":1,"record_length":96,"hex_timestamp":"0000019f507f0710"} 
[2026-07-11 14:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 14:59:06] 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-07-11 14: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-07-11 14:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:59:06] 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-07-11 14:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643048448001,"66":12102,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643048448001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643048448001,"power":12102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":129433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:59:06] local.INFO: GPS data processed {"connection_id":129433,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:59:06] local.INFO: Acknowledgment sent {"connection_id":129433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:59:09] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:59:09] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:59:09] local.INFO: IMEI packet received {"connection_id":130661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 14:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":130661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:59:14] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:59:14] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 14:59:14] local.INFO: IMEI packet received {"connection_id":130661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 14:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":130661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 14:59:15] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:59:15] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:59:15] local.INFO: Packet analysis {"connection_id":130661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:59:15] local.INFO: Extracted packet for processing {"connection_id":130661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:59:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 14:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:59:15] 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-07-11 14:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:59:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":130661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:59:15] local.INFO: GPS data processed {"connection_id":130661,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:59:15] local.INFO: Acknowledgment sent {"connection_id":130661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:59:19] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:59:19] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 14:59:19] local.INFO: Packet analysis {"connection_id":130661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:59:19] local.INFO: Extracted packet for processing {"connection_id":130661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:59:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 14:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 14:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 14:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 14:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 14:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 14:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 14:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 14:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 14:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 14:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 14:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 14:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:59:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 14:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 14:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:59:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 14:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 14:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":130661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:59:19] local.INFO: GPS data processed {"connection_id":130661,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:59:19] local.INFO: Acknowledgment sent {"connection_id":130661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:59:37] local.INFO: TCP Data received {"connection_id":129433,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507f5918012d1965c0071ff170003c009424..."} 
[2026-07-11 14:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507f5918012d1965c0071ff170003c009424..."} 
[2026-07-11 14:59:37] local.INFO: Processing buffer {"connection_id":129433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507f5918012d1965c0071ff170003c009424..."} 
[2026-07-11 14:59:37] local.INFO: Packet analysis {"connection_id":129433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:59:37] local.INFO: Extracted packet for processing {"connection_id":129433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 14:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643054080001,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 14:59: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-07-11 14:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761951000,"timestamp_ms":1783761951000,"timestamp_seconds":1783761951,"priority":1,"record_length":96,"hex_timestamp":"0000019f507f5918"} 
[2026-07-11 14:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 14:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 14:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 14:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 14:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 14:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 14:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 14:59:37] 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-07-11 14:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 14:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 14:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643054080001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 14:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 14:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 14:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643054080001,"description":"Unknown IO ID 0"} 
[2026-07-11 14:59:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 14:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 14:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 14:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 14:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643054080001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 14:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":129433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 14:59:37] local.INFO: GPS data processed {"connection_id":129433,"processed":1,"errors":0,"total":1} 
[2026-07-11 14:59:37] local.INFO: Acknowledgment sent {"connection_id":129433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 14:59:50] local.INFO: TCP Data received {"connection_id":128720,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:59:50] local.INFO: Processing buffer {"connection_id":128720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 14:59:50] local.INFO: IMEI packet received {"connection_id":128720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 14:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":128720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:59:58] local.INFO: TCP Data received {"connection_id":128542,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:58] local.INFO: Processing buffer {"connection_id":128542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:58] local.INFO: IMEI packet received {"connection_id":128542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 14:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":128542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 14:59:59] local.INFO: TCP Data received {"connection_id":128542,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:59] local.INFO: Processing buffer {"connection_id":128542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 14:59:59] local.INFO: IMEI packet received {"connection_id":128542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 14:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":128542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:00:04] local.INFO: TCP Data received {"connection_id":128543,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:00:04] local.INFO: Processing buffer {"connection_id":128543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:00:04] local.INFO: IMEI packet received {"connection_id":128543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":128543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:00:04] local.INFO: TCP Data received {"connection_id":128542,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:00:04] local.INFO: Processing buffer {"connection_id":128542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:00:04] local.INFO: IMEI packet received {"connection_id":128542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":128542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:00:05] local.INFO: TCP Data received {"connection_id":128542,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fab20012d1965c0071ff170003c009425..."} 
[2026-07-11 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fab20012d1965c0071ff170003c009425..."} 
[2026-07-11 15:00:05] local.INFO: Processing buffer {"connection_id":128542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fab20012d1965c0071ff170003c009425..."} 
[2026-07-11 15:00:05] local.INFO: Packet analysis {"connection_id":128542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:00:05] local.INFO: Extracted packet for processing {"connection_id":128542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643059456001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00: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-07-11 15:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783761972000,"timestamp_ms":1783761972000,"timestamp_seconds":1783761972,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fab20"} 
[2026-07-11 15:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:00:05] 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-07-11 15:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643059456001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643059456001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643059456001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":128542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:00:06] local.INFO: GPS data processed {"connection_id":128542,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:00:06] local.INFO: Acknowledgment sent {"connection_id":128542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:00:09] local.INFO: TCP Data received {"connection_id":128543,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:00:09] local.INFO: Processing buffer {"connection_id":128543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:00:09] local.INFO: IMEI packet received {"connection_id":128543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":128543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:00:10] local.INFO: TCP Data received {"connection_id":128543,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 15:00:10] local.INFO: Processing buffer {"connection_id":128543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 15:00:10] local.INFO: Packet analysis {"connection_id":128543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:00:10] local.INFO: Extracted packet for processing {"connection_id":128543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 15:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:00: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-07-11 15:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:00:10] 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-07-11 15:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:00:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":128543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:00:10] local.INFO: GPS data processed {"connection_id":128543,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:00:10] local.INFO: Acknowledgment sent {"connection_id":128543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:00:37] local.INFO: TCP Data received {"connection_id":128542,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f507ffd28012d1965c0071ff170003c009424..."} 
[2026-07-11 15:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507ffd28012d1965c0071ff170003c009424..."} 
[2026-07-11 15:00:37] local.INFO: Processing buffer {"connection_id":128542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507ffd28012d1965c0071ff170003c009424..."} 
[2026-07-11 15:00:37] local.INFO: Packet analysis {"connection_id":128542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:00:37] local.INFO: Extracted packet for processing {"connection_id":128542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643064832001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00: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-07-11 15:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783761993000,"timestamp_ms":1783761993000,"timestamp_seconds":1783761993,"priority":1,"record_length":96,"hex_timestamp":"0000019f507ffd28"} 
[2026-07-11 15:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:00:37] 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-07-11 15:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643064832001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643064832001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:00:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643064832001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":128542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:00:37] local.INFO: GPS data processed {"connection_id":128542,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:00:37] local.INFO: Acknowledgment sent {"connection_id":128542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:00:41] local.INFO: TCP Data received {"connection_id":128543,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 15:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 15:00:41] local.INFO: Processing buffer {"connection_id":128543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 15:00:41] local.INFO: Packet analysis {"connection_id":128543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:00:41] local.INFO: Extracted packet for processing {"connection_id":128543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 15:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:00: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-07-11 15: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:00: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-07-11 15:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:00:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":128543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:00:41] local.INFO: GPS data processed {"connection_id":128543,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:00:41] local.INFO: Acknowledgment sent {"connection_id":128543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:00:59] local.INFO: TCP Data received {"connection_id":129435,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:00:59] local.INFO: Processing buffer {"connection_id":129435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:00:59] local.INFO: IMEI packet received {"connection_id":129435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":129435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:01:02] local.INFO: TCP Data received {"connection_id":129435,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:01:02] local.INFO: Processing buffer {"connection_id":129435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:01:02] local.INFO: IMEI packet received {"connection_id":129435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":129435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:01:04] local.INFO: TCP Data received {"connection_id":129436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:01:04] local.INFO: Processing buffer {"connection_id":129436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:01:04] local.INFO: IMEI packet received {"connection_id":129436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":129436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:01:04] local.INFO: TCP Data received {"connection_id":129435,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:01:04] local.INFO: Processing buffer {"connection_id":129435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:01:04] local.INFO: IMEI packet received {"connection_id":129435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":129435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:01:05] local.INFO: TCP Data received {"connection_id":129435,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50804f30012d1965c0071ff170003c009423..."} 
[2026-07-11 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50804f30012d1965c0071ff170003c009423..."} 
[2026-07-11 15:01:05] local.INFO: Processing buffer {"connection_id":129435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50804f30012d1965c0071ff170003c009423..."} 
[2026-07-11 15:01:05] local.INFO: Packet analysis {"connection_id":129435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5080"} 
[2026-07-11 15:01:05] local.INFO: Extracted packet for processing {"connection_id":129435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5080"} 
[2026-07-11 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643070208001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01: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-07-11 15:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783762014000,"timestamp_ms":1783762014000,"timestamp_seconds":1783762014,"priority":1,"record_length":96,"hex_timestamp":"0000019f50804f30"} 
[2026-07-11 15:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:01:05] 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-07-11 15:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643070208001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643070208001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643070208001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":129435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:01:05] local.INFO: GPS data processed {"connection_id":129435,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:01:05] local.INFO: Acknowledgment sent {"connection_id":129435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:01:09] local.INFO: TCP Data received {"connection_id":129436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:01:09] local.INFO: Processing buffer {"connection_id":129436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:01:09] local.INFO: IMEI packet received {"connection_id":129436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":129436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:01:10] local.INFO: TCP Data received {"connection_id":129436,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 15:01:10] local.INFO: Processing buffer {"connection_id":129436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f507fb6d8012cb29c0007823c60004200b32b..."} 
[2026-07-11 15:01:10] local.INFO: Packet analysis {"connection_id":129436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:01:10] local.INFO: Extracted packet for processing {"connection_id":129436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f507f"} 
[2026-07-11 15:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":66,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456642986752001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783761975000,"timestamp_ms":1783761975000,"timestamp_seconds":1783761975,"priority":1,"record_length":96,"hex_timestamp":"0000019f507fb6d8"} 
[2026-07-11 15:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:01: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-07-11 15:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:01:10] 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-07-11 15:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456642986752001,"66":25462,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456642986752001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:01:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456642986752001,"power":25462,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":129436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:01:10] local.INFO: GPS data processed {"connection_id":129436,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:01:10] local.INFO: Acknowledgment sent {"connection_id":129436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:01:36] local.INFO: TCP Data received {"connection_id":129435,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50809d50012d1965c0071ff170003c009426..."} 
[2026-07-11 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50809d50012d1965c0071ff170003c009426..."} 
[2026-07-11 15:01:36] local.INFO: Processing buffer {"connection_id":129435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50809d50012d1965c0071ff170003c009426..."} 
[2026-07-11 15:01:36] local.INFO: Packet analysis {"connection_id":129435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5080"} 
[2026-07-11 15:01:36] local.INFO: Extracted packet for processing {"connection_id":129435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5080"} 
[2026-07-11 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643075584001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783762034000,"timestamp_ms":1783762034000,"timestamp_seconds":1783762034,"priority":1,"record_length":96,"hex_timestamp":"0000019f50809d50"} 
[2026-07-11 15:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643075584001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643075584001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:01:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643075584001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":129435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:01:36] local.INFO: GPS data processed {"connection_id":129435,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:01:36] local.INFO: Acknowledgment sent {"connection_id":129435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:01:41] local.INFO: TCP Data received {"connection_id":129436,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:01:41] local.INFO: Processing buffer {"connection_id":129436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:01:41] local.INFO: Packet analysis {"connection_id":129436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:01:41] local.INFO: Extracted packet for processing {"connection_id":129436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 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-07-11 15:01: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-07-11 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":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:01: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-07-11 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-07-11 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-07-11 15:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:01:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":129436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:01:41] local.INFO: GPS data processed {"connection_id":129436,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:01:41] local.INFO: Acknowledgment sent {"connection_id":129436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:02:04] local.INFO: TCP Data received {"connection_id":128723,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:02:04] local.INFO: Processing buffer {"connection_id":128723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:02:04] local.INFO: IMEI packet received {"connection_id":128723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":128723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:02:05] local.INFO: TCP Data received {"connection_id":128721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:02:05] local.INFO: Processing buffer {"connection_id":128721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:02:05] local.INFO: IMEI packet received {"connection_id":128721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":128721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:02:06] local.INFO: TCP Data received {"connection_id":128721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:02:06] local.INFO: Processing buffer {"connection_id":128721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:02:06] local.INFO: IMEI packet received {"connection_id":128721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":128721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:02:09] local.INFO: TCP Data received {"connection_id":128723,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:02:09] local.INFO: Processing buffer {"connection_id":128723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:02:09] local.INFO: IMEI packet received {"connection_id":128723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":128723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:02:10] local.INFO: TCP Data received {"connection_id":128721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:02:10] local.INFO: Processing buffer {"connection_id":128721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:02:10] local.INFO: IMEI packet received {"connection_id":128721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":128721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:02:10] local.INFO: TCP Data received {"connection_id":128723,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:02:10] local.INFO: Processing buffer {"connection_id":128723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:02:10] local.INFO: Packet analysis {"connection_id":128723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:02:10] local.INFO: Extracted packet for processing {"connection_id":128723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 15:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:02: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-07-11 15: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:02:10] 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-07-11 15:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:02:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":128723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:02:10] local.INFO: GPS data processed {"connection_id":128723,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:02:10] local.INFO: Acknowledgment sent {"connection_id":128723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:02:10] local.INFO: TCP Data received {"connection_id":128721,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5080ef58012d1965c0071ff170003c009424..."} 
[2026-07-11 15:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5080ef58012d1965c0071ff170003c009424..."} 
[2026-07-11 15:02:10] local.INFO: Processing buffer {"connection_id":128721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5080ef58012d1965c0071ff170003c009424..."} 
[2026-07-11 15:02:10] local.INFO: Packet analysis {"connection_id":128721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5080"} 
[2026-07-11 15:02:10] local.INFO: Extracted packet for processing {"connection_id":128721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5080"} 
[2026-07-11 15:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643080704001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762055000,"timestamp_ms":1783762055000,"timestamp_seconds":1783762055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5080ef58"} 
[2026-07-11 15:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:02:10] 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-07-11 15:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643080704001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643080704001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:02:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643080704001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":128721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:02:10] local.INFO: GPS data processed {"connection_id":128721,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:02:10] local.INFO: Acknowledgment sent {"connection_id":128721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:02:15] local.INFO: TCP Data received {"connection_id":128721,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50814160012d1965c0071ff170003c009426..."} 
[2026-07-11 15:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50814160012d1965c0071ff170003c009426..."} 
[2026-07-11 15:02:15] local.INFO: Processing buffer {"connection_id":128721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50814160012d1965c0071ff170003c009426..."} 
[2026-07-11 15:02:15] local.INFO: Packet analysis {"connection_id":128721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5081"} 
[2026-07-11 15:02:15] local.INFO: Extracted packet for processing {"connection_id":128721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5081"} 
[2026-07-11 15:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643086080001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783762076000,"timestamp_ms":1783762076000,"timestamp_seconds":1783762076,"priority":1,"record_length":96,"hex_timestamp":"0000019f50814160"} 
[2026-07-11 15:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:02:15] 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-07-11 15:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643086080001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643086080001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643086080001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":128721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:02:15] local.INFO: GPS data processed {"connection_id":128721,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:02:15] local.INFO: Acknowledgment sent {"connection_id":128721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:02:41] local.INFO: TCP Data received {"connection_id":128723,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:02:41] local.INFO: Processing buffer {"connection_id":128723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:02:41] local.INFO: Packet analysis {"connection_id":128723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:02:41] local.INFO: Extracted packet for processing {"connection_id":128723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 15:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:02: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-07-11 15:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:02: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-07-11 15:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:02:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":128723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:02:41] local.INFO: GPS data processed {"connection_id":128723,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:02:41] local.INFO: Acknowledgment sent {"connection_id":128723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:03:00] local.INFO: TCP Data received {"connection_id":128724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:03:00] local.INFO: Processing buffer {"connection_id":128724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:03:00] local.INFO: IMEI packet received {"connection_id":128724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":128724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:03:04] local.INFO: TCP Data received {"connection_id":128724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:03:04] local.INFO: Processing buffer {"connection_id":128724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:03:04] local.INFO: IMEI packet received {"connection_id":128724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":128724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:03:05] local.INFO: TCP Data received {"connection_id":128724,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50819368012d1965c0071ff170003c009425..."} 
[2026-07-11 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50819368012d1965c0071ff170003c009425..."} 
[2026-07-11 15:03:05] local.INFO: Processing buffer {"connection_id":128724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50819368012d1965c0071ff170003c009425..."} 
[2026-07-11 15:03:05] local.INFO: Packet analysis {"connection_id":128724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5081"} 
[2026-07-11 15:03:05] local.INFO: Extracted packet for processing {"connection_id":128724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5081"} 
[2026-07-11 15:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643091456001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03: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-07-11 15:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783762097000,"timestamp_ms":1783762097000,"timestamp_seconds":1783762097,"priority":1,"record_length":96,"hex_timestamp":"0000019f50819368"} 
[2026-07-11 15:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:03:05] 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-07-11 15:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643091456001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643091456001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643091456001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":128724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:03:05] local.INFO: GPS data processed {"connection_id":128724,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:03:05] local.INFO: Acknowledgment sent {"connection_id":128724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:03:09] local.INFO: TCP Data received {"connection_id":130662,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:03:09] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:03:09] local.INFO: IMEI packet received {"connection_id":130662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":130662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:03:14] local.INFO: TCP Data received {"connection_id":130662,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:03:14] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:03:14] local.INFO: IMEI packet received {"connection_id":130662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":130662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:03:15] local.INFO: TCP Data received {"connection_id":130662,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:03:15] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:03:15] local.INFO: Packet analysis {"connection_id":130662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:03:15] local.INFO: Extracted packet for processing {"connection_id":130662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:03:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 15:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:03:15] 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-07-11 15:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:03:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:03:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:03:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":130662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:03:15] local.INFO: GPS data processed {"connection_id":130662,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:03:15] local.INFO: Acknowledgment sent {"connection_id":130662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:03:19] local.INFO: TCP Data received {"connection_id":130662,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:03:19] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:03:19] local.INFO: Packet analysis {"connection_id":130662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:03:19] local.INFO: Extracted packet for processing {"connection_id":130662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:03:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 15:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:03:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":130662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:03:19] local.INFO: GPS data processed {"connection_id":130662,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:03:19] local.INFO: Acknowledgment sent {"connection_id":130662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:03:36] local.INFO: TCP Data received {"connection_id":128724,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508519c0012d1965c0071ff170003c009426..."} 
[2026-07-11 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508519c0012d1965c0071ff170003c009426..."} 
[2026-07-11 15:03:36] local.INFO: Processing buffer {"connection_id":128724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508519c0012d1965c0071ff170003c009426..."} 
[2026-07-11 15:03:36] local.INFO: Packet analysis {"connection_id":128724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5085"} 
[2026-07-11 15:03:36] local.INFO: Extracted packet for processing {"connection_id":128724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5085"} 
[2026-07-11 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643150592001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783762328000,"timestamp_ms":1783762328000,"timestamp_seconds":1783762328,"priority":1,"record_length":96,"hex_timestamp":"0000019f508519c0"} 
[2026-07-11 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-07-11 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 15:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643150592001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643150592001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643150592001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":128724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:03:36] local.INFO: GPS data processed {"connection_id":128724,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:03:36] local.INFO: Acknowledgment sent {"connection_id":128724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:04:00] local.INFO: TCP Data received {"connection_id":128545,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:04:00] local.INFO: Processing buffer {"connection_id":128545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:04:00] local.INFO: IMEI packet received {"connection_id":128545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":128545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:04:04] local.INFO: TCP Data received {"connection_id":129438,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:04:04] local.INFO: Processing buffer {"connection_id":129438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:04:04] local.INFO: IMEI packet received {"connection_id":129438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":129438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:04:05] local.INFO: TCP Data received {"connection_id":128545,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:04:05] local.INFO: Processing buffer {"connection_id":128545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:04:05] local.INFO: IMEI packet received {"connection_id":128545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:04:06] local.INFO: TCP Data received {"connection_id":128545,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50856bc8012d1965c0071ff170003c009425..."} 
[2026-07-11 15:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50856bc8012d1965c0071ff170003c009425..."} 
[2026-07-11 15:04:06] local.INFO: Processing buffer {"connection_id":128545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50856bc8012d1965c0071ff170003c009425..."} 
[2026-07-11 15:04:06] local.INFO: Packet analysis {"connection_id":128545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5085"} 
[2026-07-11 15:04:06] local.INFO: Extracted packet for processing {"connection_id":128545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5085"} 
[2026-07-11 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643155968001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783762349000,"timestamp_ms":1783762349000,"timestamp_seconds":1783762349,"priority":1,"record_length":96,"hex_timestamp":"0000019f50856bc8"} 
[2026-07-11 15:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 15:04:06] 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-07-11 15:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:04:06] 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-07-11 15:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643155968001,"66":12363,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643155968001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643155968001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":128545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:04:06] local.INFO: GPS data processed {"connection_id":128545,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:04:06] local.INFO: Acknowledgment sent {"connection_id":128545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:04:09] local.INFO: TCP Data received {"connection_id":129438,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:04:09] local.INFO: Processing buffer {"connection_id":129438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:04:09] local.INFO: IMEI packet received {"connection_id":129438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":129438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:04:10] local.INFO: TCP Data received {"connection_id":129438,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:04:10] local.INFO: Processing buffer {"connection_id":129438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:04:10] local.INFO: Packet analysis {"connection_id":129438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:04:10] local.INFO: Extracted packet for processing {"connection_id":129438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 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-07-11 15:04: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-07-11 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":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:04:10] 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-07-11 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-07-11 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-07-11 15:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:04:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":129438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:04:10] local.INFO: GPS data processed {"connection_id":129438,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:04:10] local.INFO: Acknowledgment sent {"connection_id":129438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:04:37] local.INFO: TCP Data received {"connection_id":128545,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5085bdd0012d1965c0071ff170003c009426..."} 
[2026-07-11 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5085bdd0012d1965c0071ff170003c009426..."} 
[2026-07-11 15:04:37] local.INFO: Processing buffer {"connection_id":128545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5085bdd0012d1965c0071ff170003c009426..."} 
[2026-07-11 15:04:37] local.INFO: Packet analysis {"connection_id":128545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5085"} 
[2026-07-11 15:04:37] local.INFO: Extracted packet for processing {"connection_id":128545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5085"} 
[2026-07-11 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643161344001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04: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-07-11 15:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783762370000,"timestamp_ms":1783762370000,"timestamp_seconds":1783762370,"priority":1,"record_length":96,"hex_timestamp":"0000019f5085bdd0"} 
[2026-07-11 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-07-11 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 15:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 15:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:04:37] 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-07-11 15:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643161344001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643161344001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:04:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643161344001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":128545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:04:37] local.INFO: GPS data processed {"connection_id":128545,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:04:37] local.INFO: Acknowledgment sent {"connection_id":128545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:04:40] local.INFO: TCP Data received {"connection_id":129438,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:04:40] local.INFO: Processing buffer {"connection_id":129438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:04:40] local.INFO: Packet analysis {"connection_id":129438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:04:40] local.INFO: Extracted packet for processing {"connection_id":129438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 15:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:04: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-07-11 15: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":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:04:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":129438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:04:40] local.INFO: GPS data processed {"connection_id":129438,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:04:40] local.INFO: Acknowledgment sent {"connection_id":129438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:05:00] local.INFO: TCP Data received {"connection_id":130663,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:05:00] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:05:00] local.INFO: IMEI packet received {"connection_id":130663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":130663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:05:04] local.INFO: TCP Data received {"connection_id":130663,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:05:04] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:05:04] local.INFO: IMEI packet received {"connection_id":130663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":130663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:05:05] local.INFO: TCP Data received {"connection_id":130663,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50860fd8012d1965c0071ff170003c009424..."} 
[2026-07-11 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50860fd8012d1965c0071ff170003c009424..."} 
[2026-07-11 15:05:05] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50860fd8012d1965c0071ff170003c009424..."} 
[2026-07-11 15:05:05] local.INFO: Packet analysis {"connection_id":130663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5086"} 
[2026-07-11 15:05:05] local.INFO: Extracted packet for processing {"connection_id":130663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5086"} 
[2026-07-11 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643166720001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05: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-07-11 15:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783762391000,"timestamp_ms":1783762391000,"timestamp_seconds":1783762391,"priority":1,"record_length":96,"hex_timestamp":"0000019f50860fd8"} 
[2026-07-11 15:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:05:05] 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-07-11 15:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643166720001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643166720001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643166720001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":130663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:05:05] local.INFO: GPS data processed {"connection_id":130663,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:05:05] local.INFO: Acknowledgment sent {"connection_id":130663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:05:05] local.INFO: TCP Data received {"connection_id":128546,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:05:05] local.INFO: Processing buffer {"connection_id":128546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:05:05] local.INFO: IMEI packet received {"connection_id":128546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":128546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:05:09] local.INFO: TCP Data received {"connection_id":128546,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:05:09] local.INFO: Processing buffer {"connection_id":128546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:05:09] local.INFO: IMEI packet received {"connection_id":128546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":128546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:05:10] local.INFO: TCP Data received {"connection_id":128546,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:05:10] local.INFO: Processing buffer {"connection_id":128546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:05:10] local.INFO: Packet analysis {"connection_id":128546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:05:10] local.INFO: Extracted packet for processing {"connection_id":128546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 15:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:05: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-07-11 15:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:05:10] 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-07-11 15:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:05:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":128546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:05:10] local.INFO: GPS data processed {"connection_id":128546,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:05:10] local.INFO: Acknowledgment sent {"connection_id":128546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:05:25] local.INFO: TCP Data received {"connection_id":129439,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:05:25] local.INFO: Processing buffer {"connection_id":129439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:05:25] local.INFO: IMEI packet received {"connection_id":129439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":129439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:05:36] local.INFO: TCP Data received {"connection_id":130663,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508661e0012d1965c0071ff170003c009425..."} 
[2026-07-11 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508661e0012d1965c0071ff170003c009425..."} 
[2026-07-11 15:05:36] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508661e0012d1965c0071ff170003c009425..."} 
[2026-07-11 15:05:36] local.INFO: Packet analysis {"connection_id":130663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5086"} 
[2026-07-11 15:05:36] local.INFO: Extracted packet for processing {"connection_id":130663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5086"} 
[2026-07-11 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643172096001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783762412000,"timestamp_ms":1783762412000,"timestamp_seconds":1783762412,"priority":1,"record_length":96,"hex_timestamp":"0000019f508661e0"} 
[2026-07-11 15:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643172096001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643172096001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643172096001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":130663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:05:36] local.INFO: GPS data processed {"connection_id":130663,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:05:36] local.INFO: Acknowledgment sent {"connection_id":130663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:05:41] local.INFO: TCP Data received {"connection_id":128546,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:05:41] local.INFO: Processing buffer {"connection_id":128546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:05:41] local.INFO: Packet analysis {"connection_id":128546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:05:41] local.INFO: Extracted packet for processing {"connection_id":128546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:05:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 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-07-11 15:05: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-07-11 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":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:05: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-07-11 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-07-11 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-07-11 15:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:05:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":128546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:05:41] local.INFO: GPS data processed {"connection_id":128546,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:05:41] local.INFO: Acknowledgment sent {"connection_id":128546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:05:45] local.INFO: TCP Data received {"connection_id":128547,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:05:45] local.INFO: Processing buffer {"connection_id":128547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:05:45] local.INFO: IMEI packet received {"connection_id":128547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":128547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:05:59] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:05:59] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:05:59] local.INFO: IMEI packet received {"connection_id":130664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":130664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:06:04] local.INFO: TCP Data received {"connection_id":129440,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:06:04] local.INFO: Processing buffer {"connection_id":129440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:06:04] local.INFO: IMEI packet received {"connection_id":129440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":129440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:06:05] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:06:05] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:06:05] local.INFO: IMEI packet received {"connection_id":130664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":130664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:06:05] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5086b3e8012d1965c0071ff170003c009425..."} 
[2026-07-11 15:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5086b3e8012d1965c0071ff170003c009425..."} 
[2026-07-11 15:06:05] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5086b3e8012d1965c0071ff170003c009425..."} 
[2026-07-11 15:06:05] local.INFO: Packet analysis {"connection_id":130664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5086"} 
[2026-07-11 15:06:05] local.INFO: Extracted packet for processing {"connection_id":130664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5086"} 
[2026-07-11 15:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643177472001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06: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-07-11 15:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783762433000,"timestamp_ms":1783762433000,"timestamp_seconds":1783762433,"priority":1,"record_length":96,"hex_timestamp":"0000019f5086b3e8"} 
[2026-07-11 15:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:06:05] 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-07-11 15:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643177472001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643177472001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643177472001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":130664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:06:05] local.INFO: GPS data processed {"connection_id":130664,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:06:05] local.INFO: Acknowledgment sent {"connection_id":130664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:06:09] local.INFO: TCP Data received {"connection_id":129440,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:06:09] local.INFO: Processing buffer {"connection_id":129440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:06:09] local.INFO: IMEI packet received {"connection_id":129440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":129440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:06:10] local.INFO: TCP Data received {"connection_id":129440,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:06:10] local.INFO: Processing buffer {"connection_id":129440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50845288012cb29c0007823c60004400b32a..."} 
[2026-07-11 15:06:10] local.INFO: Packet analysis {"connection_id":129440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:06:10] local.INFO: Extracted packet for processing {"connection_id":129440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5084"} 
[2026-07-11 15:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643065600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762277000,"timestamp_ms":1783762277000,"timestamp_seconds":1783762277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50845288"} 
[2026-07-11 15:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:06: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-07-11 15:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 15:06:10] 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-07-11 15:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643065600001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643065600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:06:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643065600001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":129440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:06:10] local.INFO: GPS data processed {"connection_id":129440,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:06:10] local.INFO: Acknowledgment sent {"connection_id":129440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:06:37] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508705f0012d1965c0071ff170003c009427..."} 
[2026-07-11 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508705f0012d1965c0071ff170003c009427..."} 
[2026-07-11 15:06:37] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508705f0012d1965c0071ff170003c009427..."} 
[2026-07-11 15:06:37] local.INFO: Packet analysis {"connection_id":130664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5087"} 
[2026-07-11 15:06:37] local.INFO: Extracted packet for processing {"connection_id":130664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5087"} 
[2026-07-11 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643182848001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06: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-07-11 15:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783762454000,"timestamp_ms":1783762454000,"timestamp_seconds":1783762454,"priority":1,"record_length":96,"hex_timestamp":"0000019f508705f0"} 
[2026-07-11 15:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:06:37] 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-07-11 15:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643182848001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643182848001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:06:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643182848001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":130664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:06:37] local.INFO: GPS data processed {"connection_id":130664,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:06:37] local.INFO: Acknowledgment sent {"connection_id":130664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:06:40] local.INFO: TCP Data received {"connection_id":129440,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:06:40] local.INFO: Processing buffer {"connection_id":129440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:06:40] local.INFO: Packet analysis {"connection_id":129440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:06:40] local.INFO: Extracted packet for processing {"connection_id":129440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:06: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-07-11 15:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:06:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":129440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:06:41] local.INFO: GPS data processed {"connection_id":129440,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:06:41] local.INFO: Acknowledgment sent {"connection_id":129440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:06:59] local.INFO: TCP Data received {"connection_id":128725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:06:59] local.INFO: Processing buffer {"connection_id":128725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:06:59] local.INFO: IMEI packet received {"connection_id":128725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":128725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:07:04] local.INFO: TCP Data received {"connection_id":129441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:07:04] local.INFO: Processing buffer {"connection_id":129441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:07:04] local.INFO: IMEI packet received {"connection_id":129441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":129441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:07:04] local.INFO: TCP Data received {"connection_id":128725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:07:04] local.INFO: Processing buffer {"connection_id":128725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:07:04] local.INFO: IMEI packet received {"connection_id":128725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":128725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:07:05] local.INFO: TCP Data received {"connection_id":128725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508757f8012d1965c0071ff170003c009427..."} 
[2026-07-11 15:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508757f8012d1965c0071ff170003c009427..."} 
[2026-07-11 15:07:05] local.INFO: Processing buffer {"connection_id":128725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508757f8012d1965c0071ff170003c009427..."} 
[2026-07-11 15:07:05] local.INFO: Packet analysis {"connection_id":128725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5087"} 
[2026-07-11 15:07:05] local.INFO: Extracted packet for processing {"connection_id":128725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5087"} 
[2026-07-11 15:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643188224001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07: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-07-11 15:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783762475000,"timestamp_ms":1783762475000,"timestamp_seconds":1783762475,"priority":1,"record_length":96,"hex_timestamp":"0000019f508757f8"} 
[2026-07-11 15:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:07:05] 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-07-11 15:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643188224001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643188224001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643188224001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":128725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:07:05] local.INFO: GPS data processed {"connection_id":128725,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:07:05] local.INFO: Acknowledgment sent {"connection_id":128725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:07:09] local.INFO: TCP Data received {"connection_id":129441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:07:09] local.INFO: Processing buffer {"connection_id":129441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:07:09] local.INFO: IMEI packet received {"connection_id":129441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":129441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:07:10] local.INFO: TCP Data received {"connection_id":129441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:07:10] local.INFO: Processing buffer {"connection_id":129441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:07:10] local.INFO: Packet analysis {"connection_id":129441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:07:10] local.INFO: Extracted packet for processing {"connection_id":129441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:07:10] 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-07-11 15:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:07:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":129441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:07:10] local.INFO: GPS data processed {"connection_id":129441,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:07:10] local.INFO: Acknowledgment sent {"connection_id":129441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:07:36] local.INFO: TCP Data received {"connection_id":128725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5087aa00012d1965c0071ff170003c009428..."} 
[2026-07-11 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5087aa00012d1965c0071ff170003c009428..."} 
[2026-07-11 15:07:36] local.INFO: Processing buffer {"connection_id":128725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5087aa00012d1965c0071ff170003c009428..."} 
[2026-07-11 15:07:36] local.INFO: Packet analysis {"connection_id":128725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5087"} 
[2026-07-11 15:07:36] local.INFO: Extracted packet for processing {"connection_id":128725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5087"} 
[2026-07-11 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643193600001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783762496000,"timestamp_ms":1783762496000,"timestamp_seconds":1783762496,"priority":1,"record_length":96,"hex_timestamp":"0000019f5087aa00"} 
[2026-07-11 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-07-11 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 15:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643193600001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643193600001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643193600001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":128725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:07:36] local.INFO: GPS data processed {"connection_id":128725,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:07:36] local.INFO: Acknowledgment sent {"connection_id":128725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:07:41] local.INFO: TCP Data received {"connection_id":129441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:07:41] local.INFO: Processing buffer {"connection_id":129441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:07:41] local.INFO: Packet analysis {"connection_id":129441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:07:41] local.INFO: Extracted packet for processing {"connection_id":129441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:07: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-07-11 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:07: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-07-11 15:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:07:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":129441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:07:41] local.INFO: GPS data processed {"connection_id":129441,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:07:41] local.INFO: Acknowledgment sent {"connection_id":129441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:08:02] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:08:02] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:08:02] local.INFO: IMEI packet received {"connection_id":128549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":128549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:08:04] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:08:04] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:08:04] local.INFO: IMEI packet received {"connection_id":130665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":130665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:08:05] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:08:05] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:08:05] local.INFO: IMEI packet received {"connection_id":128549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":128549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:08:09] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:08:09] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:08:09] local.INFO: IMEI packet received {"connection_id":130665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":130665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:08:09] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:08:09] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:08:09] local.INFO: Packet analysis {"connection_id":130665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:08:09] local.INFO: Extracted packet for processing {"connection_id":130665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:08:09] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:08: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-07-11 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:08: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-07-11 15: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-07-11 15:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:08:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":130665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:08:09] local.INFO: GPS data processed {"connection_id":130665,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:08:09] local.INFO: Acknowledgment sent {"connection_id":130665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:08:10] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:08:10] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:08:10] local.INFO: IMEI packet received {"connection_id":128549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":128549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:08:10] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5087fff0012d1965c0071ff170003c009428..."} 
[2026-07-11 15:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5087fff0012d1965c0071ff170003c009428..."} 
[2026-07-11 15:08:10] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5087fff0012d1965c0071ff170003c009428..."} 
[2026-07-11 15:08:10] local.INFO: Packet analysis {"connection_id":128549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5087"} 
[2026-07-11 15:08:10] local.INFO: Extracted packet for processing {"connection_id":128549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5087"} 
[2026-07-11 15:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643198976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762518000,"timestamp_ms":1783762518000,"timestamp_seconds":1783762518,"priority":1,"record_length":96,"hex_timestamp":"0000019f5087fff0"} 
[2026-07-11 15:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:08:10] 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-07-11 15:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643198976001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643198976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:08:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643198976001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":128549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:08:10] local.INFO: GPS data processed {"connection_id":128549,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:08:10] local.INFO: Acknowledgment sent {"connection_id":128549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:08:15] local.INFO: TCP Data received {"connection_id":128549,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508851f8012d1965c0071ff170003c009428..."} 
[2026-07-11 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508851f8012d1965c0071ff170003c009428..."} 
[2026-07-11 15:08:15] local.INFO: Processing buffer {"connection_id":128549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508851f8012d1965c0071ff170003c009428..."} 
[2026-07-11 15:08:15] local.INFO: Packet analysis {"connection_id":128549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:08:15] local.INFO: Extracted packet for processing {"connection_id":128549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643204608001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783762539000,"timestamp_ms":1783762539000,"timestamp_seconds":1783762539,"priority":1,"record_length":96,"hex_timestamp":"0000019f508851f8"} 
[2026-07-11 15:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:08:15] 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-07-11 15:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643204608001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643204608001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:08:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643204608001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":128549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:08:15] local.INFO: GPS data processed {"connection_id":128549,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:08:15] local.INFO: Acknowledgment sent {"connection_id":128549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:08:40] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:08:40] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:08:40] local.INFO: Packet analysis {"connection_id":130665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:08:40] local.INFO: Extracted packet for processing {"connection_id":130665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:08:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:08: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-07-11 15:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:08: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-07-11 15:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:08:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":130665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:08:40] local.INFO: GPS data processed {"connection_id":130665,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:08:40] local.INFO: Acknowledgment sent {"connection_id":130665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:09:00] local.INFO: TCP Data received {"connection_id":128726,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:09:00] local.INFO: Processing buffer {"connection_id":128726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:09:00] local.INFO: IMEI packet received {"connection_id":128726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":128726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:09:04] local.INFO: TCP Data received {"connection_id":130667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:09:04] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:09:04] local.INFO: IMEI packet received {"connection_id":130667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":130667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:09:05] local.INFO: TCP Data received {"connection_id":128726,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:09:05] local.INFO: Processing buffer {"connection_id":128726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:09:05] local.INFO: IMEI packet received {"connection_id":128726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":128726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:09:05] local.INFO: TCP Data received {"connection_id":128726,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088a018012d1965c0071ff170003c009427..."} 
[2026-07-11 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088a018012d1965c0071ff170003c009427..."} 
[2026-07-11 15:09:05] local.INFO: Processing buffer {"connection_id":128726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088a018012d1965c0071ff170003c009427..."} 
[2026-07-11 15:09:05] local.INFO: Packet analysis {"connection_id":128726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:09:05] local.INFO: Extracted packet for processing {"connection_id":128726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643209984001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09: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-07-11 15:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783762559000,"timestamp_ms":1783762559000,"timestamp_seconds":1783762559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088a018"} 
[2026-07-11 15:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:09:05] 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-07-11 15:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643209984001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643209984001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643209984001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":128726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:09:06] local.INFO: GPS data processed {"connection_id":128726,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:09:06] local.INFO: Acknowledgment sent {"connection_id":128726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:09:09] local.INFO: TCP Data received {"connection_id":130667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:09:09] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:09:09] local.INFO: IMEI packet received {"connection_id":130667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":130667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:09:09] local.INFO: TCP Data received {"connection_id":130667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:09:09] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:09:09] local.INFO: Packet analysis {"connection_id":130667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:09:09] local.INFO: Extracted packet for processing {"connection_id":130667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:09:09] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:09: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-07-11 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:09: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-07-11 15:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:09:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":130667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:09:09] local.INFO: GPS data processed {"connection_id":130667,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:09:09] local.INFO: Acknowledgment sent {"connection_id":130667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:09:37] local.INFO: TCP Data received {"connection_id":128726,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088f220012d1965c0071ff170003c009429..."} 
[2026-07-11 15:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088f220012d1965c0071ff170003c009429..."} 
[2026-07-11 15:09:37] local.INFO: Processing buffer {"connection_id":128726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088f220012d1965c0071ff170003c009429..."} 
[2026-07-11 15:09:37] local.INFO: Packet analysis {"connection_id":128726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:09:37] local.INFO: Extracted packet for processing {"connection_id":128726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643215104001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09: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-07-11 15:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783762580000,"timestamp_ms":1783762580000,"timestamp_seconds":1783762580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088f220"} 
[2026-07-11 15:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:09:37] 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-07-11 15:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643215104001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643215104001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:09:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643215104001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":128726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:09:37] local.INFO: GPS data processed {"connection_id":128726,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:09:37] local.INFO: Acknowledgment sent {"connection_id":128726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:09:40] local.INFO: TCP Data received {"connection_id":130667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:09:41] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:09:41] local.INFO: Packet analysis {"connection_id":130667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:09:41] local.INFO: Extracted packet for processing {"connection_id":130667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:09: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-07-11 15:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:09: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-07-11 15:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:09:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":130667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:09:41] local.INFO: GPS data processed {"connection_id":130667,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:09:41] local.INFO: Acknowledgment sent {"connection_id":130667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:10:00] local.INFO: TCP Data received {"connection_id":130668,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:10:00] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:10:00] local.INFO: IMEI packet received {"connection_id":130668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":130668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:10:04] local.INFO: TCP Data received {"connection_id":128728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:10:04] local.INFO: Processing buffer {"connection_id":128728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:10:04] local.INFO: IMEI packet received {"connection_id":128728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":128728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:10:05] local.INFO: TCP Data received {"connection_id":130668,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:10:05] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:10:05] local.INFO: IMEI packet received {"connection_id":130668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":130668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:10:06] local.INFO: TCP Data received {"connection_id":130668,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50894428012d1965c0071ff170003c009427..."} 
[2026-07-11 15:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50894428012d1965c0071ff170003c009427..."} 
[2026-07-11 15:10:06] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50894428012d1965c0071ff170003c009427..."} 
[2026-07-11 15:10:06] local.INFO: Packet analysis {"connection_id":130668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5089"} 
[2026-07-11 15:10:06] local.INFO: Extracted packet for processing {"connection_id":130668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5089"} 
[2026-07-11 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643220480001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783762601000,"timestamp_ms":1783762601000,"timestamp_seconds":1783762601,"priority":1,"record_length":96,"hex_timestamp":"0000019f50894428"} 
[2026-07-11 15:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:10:06] 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-07-11 15:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643220480001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643220480001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:10:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643220480001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":130668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:10:06] local.INFO: GPS data processed {"connection_id":130668,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:10:06] local.INFO: Acknowledgment sent {"connection_id":130668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:10:09] local.INFO: TCP Data received {"connection_id":128728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:10:09] local.INFO: Processing buffer {"connection_id":128728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:10:09] local.INFO: IMEI packet received {"connection_id":128728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":128728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:10:09] local.INFO: TCP Data received {"connection_id":128728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:10:09] local.INFO: Processing buffer {"connection_id":128728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:10:09] local.INFO: Packet analysis {"connection_id":128728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:10:09] local.INFO: Extracted packet for processing {"connection_id":128728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:10:09] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:10: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-07-11 15:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:10: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-07-11 15: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-07-11 15:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:10:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":128728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:10:09] local.INFO: GPS data processed {"connection_id":128728,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:10:09] local.INFO: Acknowledgment sent {"connection_id":128728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:10:37] local.INFO: TCP Data received {"connection_id":130668,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50899630012d1965c0071ff170003c009428..."} 
[2026-07-11 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50899630012d1965c0071ff170003c009428..."} 
[2026-07-11 15:10:37] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50899630012d1965c0071ff170003c009428..."} 
[2026-07-11 15:10:37] local.INFO: Packet analysis {"connection_id":130668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5089"} 
[2026-07-11 15:10:37] local.INFO: Extracted packet for processing {"connection_id":130668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5089"} 
[2026-07-11 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643225856001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783762622000,"timestamp_ms":1783762622000,"timestamp_seconds":1783762622,"priority":1,"record_length":96,"hex_timestamp":"0000019f50899630"} 
[2026-07-11 15:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:10:37] 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-07-11 15:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643225856001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643225856001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:10:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643225856001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":130668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:10:37] local.INFO: GPS data processed {"connection_id":130668,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:10:37] local.INFO: Acknowledgment sent {"connection_id":130668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:10:40] local.INFO: TCP Data received {"connection_id":128728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:10:40] local.INFO: Processing buffer {"connection_id":128728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:10:40] local.INFO: Packet analysis {"connection_id":128728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:10:40] local.INFO: Extracted packet for processing {"connection_id":128728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:10:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:10: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-07-11 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:10: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-07-11 15: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-07-11 15:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:10:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":128728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:10:40] local.INFO: GPS data processed {"connection_id":128728,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:10:40] local.INFO: Acknowledgment sent {"connection_id":128728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:10:55] local.INFO: TCP Data received {"connection_id":130669,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:10:55] local.INFO: Processing buffer {"connection_id":130669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:10:55] local.INFO: IMEI packet received {"connection_id":130669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":130669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:11:00] local.INFO: TCP Data received {"connection_id":128551,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:11:00] local.INFO: Processing buffer {"connection_id":128551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:11:00] local.INFO: IMEI packet received {"connection_id":128551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":128551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:11:04] local.INFO: TCP Data received {"connection_id":129442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:11:04] local.INFO: Processing buffer {"connection_id":129442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:11:04] local.INFO: IMEI packet received {"connection_id":129442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":129442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:11:05] local.INFO: TCP Data received {"connection_id":128551,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:11:05] local.INFO: Processing buffer {"connection_id":128551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:11:05] local.INFO: IMEI packet received {"connection_id":128551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":128551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:11:06] local.INFO: TCP Data received {"connection_id":128551,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5089e838012d1965c0071ff170003c009429..."} 
[2026-07-11 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5089e838012d1965c0071ff170003c009429..."} 
[2026-07-11 15:11:06] local.INFO: Processing buffer {"connection_id":128551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5089e838012d1965c0071ff170003c009429..."} 
[2026-07-11 15:11:06] local.INFO: Packet analysis {"connection_id":128551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5089"} 
[2026-07-11 15:11:06] local.INFO: Extracted packet for processing {"connection_id":128551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5089"} 
[2026-07-11 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643231232001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783762643000,"timestamp_ms":1783762643000,"timestamp_seconds":1783762643,"priority":1,"record_length":96,"hex_timestamp":"0000019f5089e838"} 
[2026-07-11 15:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:11:06] 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-07-11 15:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643231232001,"66":12211,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643231232001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:11:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643231232001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":128551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:11:06] local.INFO: GPS data processed {"connection_id":128551,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:11:06] local.INFO: Acknowledgment sent {"connection_id":128551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:11:09] local.INFO: TCP Data received {"connection_id":129442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:11:09] local.INFO: Processing buffer {"connection_id":129442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:11:09] local.INFO: IMEI packet received {"connection_id":129442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":129442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:11:09] local.INFO: TCP Data received {"connection_id":129442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:11:09] local.INFO: Processing buffer {"connection_id":129442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5088e668012cb29c0007823c60004400b32c..."} 
[2026-07-11 15:11:09] local.INFO: Packet analysis {"connection_id":129442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:11:09] local.INFO: Extracted packet for processing {"connection_id":129442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5088"} 
[2026-07-11 15:11:09] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643142912001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783762577000,"timestamp_ms":1783762577000,"timestamp_seconds":1783762577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5088e668"} 
[2026-07-11 15:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:11: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-07-11 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:11: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-07-11 15:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643142912001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643142912001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:11:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643142912001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":129442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:11:10] local.INFO: GPS data processed {"connection_id":129442,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:11:10] local.INFO: Acknowledgment sent {"connection_id":129442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:11:37] local.INFO: TCP Data received {"connection_id":128551,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508a3a40012d1965c0071ff170003c009427..."} 
[2026-07-11 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508a3a40012d1965c0071ff170003c009427..."} 
[2026-07-11 15:11:37] local.INFO: Processing buffer {"connection_id":128551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508a3a40012d1965c0071ff170003c009427..."} 
[2026-07-11 15:11:37] local.INFO: Packet analysis {"connection_id":128551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508a"} 
[2026-07-11 15:11:37] local.INFO: Extracted packet for processing {"connection_id":128551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508a"} 
[2026-07-11 15:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643236608001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11: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-07-11 15:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783762664000,"timestamp_ms":1783762664000,"timestamp_seconds":1783762664,"priority":1,"record_length":96,"hex_timestamp":"0000019f508a3a40"} 
[2026-07-11 15:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-11 15:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:11:37] 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-07-11 15:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643236608001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643236608001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:11:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643236608001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":128551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:11:37] local.INFO: GPS data processed {"connection_id":128551,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:11:37] local.INFO: Acknowledgment sent {"connection_id":128551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:11:40] local.INFO: TCP Data received {"connection_id":129442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:11:40] local.INFO: Processing buffer {"connection_id":129442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:11:40] local.INFO: Packet analysis {"connection_id":129442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:11:40] local.INFO: Extracted packet for processing {"connection_id":129442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 15:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:11: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-07-11 15:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:11:40] 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-07-11 15:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:11:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":129442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:11:40] local.INFO: GPS data processed {"connection_id":129442,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:11:40] local.INFO: Acknowledgment sent {"connection_id":129442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:11:45] local.INFO: TCP Data received {"connection_id":130670,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:11:45] local.INFO: Processing buffer {"connection_id":130670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:11:45] local.INFO: IMEI packet received {"connection_id":130670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":130670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:11:59] local.INFO: TCP Data received {"connection_id":128729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:11:59] local.INFO: Processing buffer {"connection_id":128729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:11:59] local.INFO: IMEI packet received {"connection_id":128729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":128729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:12:04] local.INFO: TCP Data received {"connection_id":130671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:12:04] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:12:04] local.INFO: IMEI packet received {"connection_id":130671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":130671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:12:05] local.INFO: TCP Data received {"connection_id":128729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:12:05] local.INFO: Processing buffer {"connection_id":128729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:12:05] local.INFO: IMEI packet received {"connection_id":128729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":128729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:12:06] local.INFO: TCP Data received {"connection_id":128729,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508a8c48012d1965c0071ff170003c009429..."} 
[2026-07-11 15:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508a8c48012d1965c0071ff170003c009429..."} 
[2026-07-11 15:12:06] local.INFO: Processing buffer {"connection_id":128729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508a8c48012d1965c0071ff170003c009429..."} 
[2026-07-11 15:12:06] local.INFO: Packet analysis {"connection_id":128729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508a"} 
[2026-07-11 15:12:06] local.INFO: Extracted packet for processing {"connection_id":128729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508a"} 
[2026-07-11 15:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643241984001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783762685000,"timestamp_ms":1783762685000,"timestamp_seconds":1783762685,"priority":1,"record_length":96,"hex_timestamp":"0000019f508a8c48"} 
[2026-07-11 15:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 15:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:12:06] 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-07-11 15:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643241984001,"66":12004,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643241984001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643241984001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":128729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:12:06] local.INFO: GPS data processed {"connection_id":128729,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:12:06] local.INFO: Acknowledgment sent {"connection_id":128729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:12:09] local.INFO: TCP Data received {"connection_id":130671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:12:09] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:12:09] local.INFO: IMEI packet received {"connection_id":130671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":130671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:12:10] local.INFO: TCP Data received {"connection_id":130671,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:12:10] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:12:10] local.INFO: Packet analysis {"connection_id":130671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:12:10] local.INFO: Extracted packet for processing {"connection_id":130671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 15:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:12: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-07-11 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:12:10] 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-07-11 15:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":130671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:12:10] local.INFO: GPS data processed {"connection_id":130671,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:12:10] local.INFO: Acknowledgment sent {"connection_id":130671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:12:37] local.INFO: TCP Data received {"connection_id":128729,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508ade50012d1965c0071ff170003c009428..."} 
[2026-07-11 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508ade50012d1965c0071ff170003c009428..."} 
[2026-07-11 15:12:37] local.INFO: Processing buffer {"connection_id":128729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508ade50012d1965c0071ff170003c009428..."} 
[2026-07-11 15:12:37] local.INFO: Packet analysis {"connection_id":128729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508a"} 
[2026-07-11 15:12:37] local.INFO: Extracted packet for processing {"connection_id":128729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508a"} 
[2026-07-11 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643247360001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12: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-07-11 15:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783762706000,"timestamp_ms":1783762706000,"timestamp_seconds":1783762706,"priority":1,"record_length":96,"hex_timestamp":"0000019f508ade50"} 
[2026-07-11 15:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 15:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:12:37] 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-07-11 15:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643247360001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643247360001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:12:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643247360001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":128729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:12:37] local.INFO: GPS data processed {"connection_id":128729,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:12:37] local.INFO: Acknowledgment sent {"connection_id":128729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:12:41] local.INFO: TCP Data received {"connection_id":130671,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:12:41] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:12:41] local.INFO: Packet analysis {"connection_id":130671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:12:41] local.INFO: Extracted packet for processing {"connection_id":130671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 15:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:12: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-07-11 15:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:12:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":130671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:12:41] local.INFO: GPS data processed {"connection_id":130671,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:12:41] local.INFO: Acknowledgment sent {"connection_id":130671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:13:04] local.INFO: TCP Data received {"connection_id":128554,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:13:04] local.INFO: Processing buffer {"connection_id":128554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:13:04] local.INFO: IMEI packet received {"connection_id":128554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":128554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:13:04] local.INFO: TCP Data received {"connection_id":128553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:04] local.INFO: Processing buffer {"connection_id":128553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:04] local.INFO: IMEI packet received {"connection_id":128553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":128553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:13:09] local.INFO: TCP Data received {"connection_id":128554,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:13:09] local.INFO: Processing buffer {"connection_id":128554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:13:09] local.INFO: IMEI packet received {"connection_id":128554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":128554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:13:10] local.INFO: TCP Data received {"connection_id":128553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:10] local.INFO: Processing buffer {"connection_id":128553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:10] local.INFO: IMEI packet received {"connection_id":128553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":128553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:13:10] local.INFO: TCP Data received {"connection_id":128554,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:13:10] local.INFO: Processing buffer {"connection_id":128554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:13:10] local.INFO: Packet analysis {"connection_id":128554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:13:10] local.INFO: Extracted packet for processing {"connection_id":128554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 15:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:13: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-07-11 15:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:13:10] 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-07-11 15:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:13:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":128554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:13:10] local.INFO: GPS data processed {"connection_id":128554,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:13:10] local.INFO: Acknowledgment sent {"connection_id":128554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:13:10] local.INFO: TCP Data received {"connection_id":128553,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508b3058012d1965c0071ff170003c009429..."} 
[2026-07-11 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508b3058012d1965c0071ff170003c009429..."} 
[2026-07-11 15:13:10] local.INFO: Processing buffer {"connection_id":128553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508b3058012d1965c0071ff170003c009429..."} 
[2026-07-11 15:13:10] local.INFO: Packet analysis {"connection_id":128553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508b"} 
[2026-07-11 15:13:10] local.INFO: Extracted packet for processing {"connection_id":128553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508b"} 
[2026-07-11 15:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643252736001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762727000,"timestamp_ms":1783762727000,"timestamp_seconds":1783762727,"priority":1,"record_length":96,"hex_timestamp":"0000019f508b3058"} 
[2026-07-11 15:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 15:13:10] 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-07-11 15:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:13:10] 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-07-11 15:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643252736001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643252736001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:13:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643252736001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":128553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:13:11] local.INFO: GPS data processed {"connection_id":128553,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:13:11] local.INFO: Acknowledgment sent {"connection_id":128553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:13:15] local.INFO: TCP Data received {"connection_id":128553,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508b8260012d1965c0071ff170003c009428..."} 
[2026-07-11 15:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508b8260012d1965c0071ff170003c009428..."} 
[2026-07-11 15:13:15] local.INFO: Processing buffer {"connection_id":128553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508b8260012d1965c0071ff170003c009428..."} 
[2026-07-11 15:13:15] local.INFO: Packet analysis {"connection_id":128553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508b"} 
[2026-07-11 15:13:15] local.INFO: Extracted packet for processing {"connection_id":128553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508b"} 
[2026-07-11 15:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643258112001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783762748000,"timestamp_ms":1783762748000,"timestamp_seconds":1783762748,"priority":1,"record_length":96,"hex_timestamp":"0000019f508b8260"} 
[2026-07-11 15:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 15:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:13:15] 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-07-11 15:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643258112001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643258112001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:13:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643258112001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":128553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:13:15] local.INFO: GPS data processed {"connection_id":128553,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:13:15] local.INFO: Acknowledgment sent {"connection_id":128553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:13:41] local.INFO: TCP Data received {"connection_id":128554,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:13:41] local.INFO: Processing buffer {"connection_id":128554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:13:41] local.INFO: Packet analysis {"connection_id":128554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:13:41] local.INFO: Extracted packet for processing {"connection_id":128554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:13:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 15:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:13: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-07-11 15:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:13: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-07-11 15:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:13:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":128554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:13:41] local.INFO: GPS data processed {"connection_id":128554,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:13:41] local.INFO: Acknowledgment sent {"connection_id":128554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:13:59] local.INFO: TCP Data received {"connection_id":129444,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:59] local.INFO: Processing buffer {"connection_id":129444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:59] local.INFO: IMEI packet received {"connection_id":129444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":129444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:13:59] local.INFO: TCP Data received {"connection_id":129444,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:59] local.INFO: Processing buffer {"connection_id":129444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:13:59] local.INFO: IMEI packet received {"connection_id":129444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":129444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:14:05] local.INFO: TCP Data received {"connection_id":129444,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:14:05] local.INFO: Processing buffer {"connection_id":129444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:14:05] local.INFO: IMEI packet received {"connection_id":129444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":129444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:14:06] local.INFO: TCP Data received {"connection_id":129444,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508bd468012d1965c0071ff170003c009427..."} 
[2026-07-11 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508bd468012d1965c0071ff170003c009427..."} 
[2026-07-11 15:14:06] local.INFO: Processing buffer {"connection_id":129444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508bd468012d1965c0071ff170003c009427..."} 
[2026-07-11 15:14:06] local.INFO: Packet analysis {"connection_id":129444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508b"} 
[2026-07-11 15:14:06] local.INFO: Extracted packet for processing {"connection_id":129444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508b"} 
[2026-07-11 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643263488001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783762769000,"timestamp_ms":1783762769000,"timestamp_seconds":1783762769,"priority":1,"record_length":96,"hex_timestamp":"0000019f508bd468"} 
[2026-07-11 15:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:14:06] 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-07-11 15:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643263488001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643263488001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643263488001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":129444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:14:06] local.INFO: GPS data processed {"connection_id":129444,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:14:06] local.INFO: Acknowledgment sent {"connection_id":129444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:14:06] local.INFO: TCP Data received {"connection_id":130672,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:14:06] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:14:06] local.INFO: IMEI packet received {"connection_id":130672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":130672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:14:09] local.INFO: TCP Data received {"connection_id":130672,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:14:09] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:14:09] local.INFO: IMEI packet received {"connection_id":130672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":130672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:14:10] local.INFO: TCP Data received {"connection_id":130672,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:14:10] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:14:10] local.INFO: Packet analysis {"connection_id":130672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:14:10] local.INFO: Extracted packet for processing {"connection_id":130672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 15:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:14: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-07-11 15:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:14:10] 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-07-11 15:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:14:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":130672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:14:10] local.INFO: GPS data processed {"connection_id":130672,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:14:10] local.INFO: Acknowledgment sent {"connection_id":130672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:14:37] local.INFO: TCP Data received {"connection_id":129444,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508c2670012d1965c0071ff170003c009428..."} 
[2026-07-11 15:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508c2670012d1965c0071ff170003c009428..."} 
[2026-07-11 15:14:37] local.INFO: Processing buffer {"connection_id":129444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508c2670012d1965c0071ff170003c009428..."} 
[2026-07-11 15:14:37] local.INFO: Packet analysis {"connection_id":129444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508c"} 
[2026-07-11 15:14:37] local.INFO: Extracted packet for processing {"connection_id":129444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508c"} 
[2026-07-11 15:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643268864001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14: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-07-11 15:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783762790000,"timestamp_ms":1783762790000,"timestamp_seconds":1783762790,"priority":1,"record_length":96,"hex_timestamp":"0000019f508c2670"} 
[2026-07-11 15:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 15:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:14:37] 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-07-11 15:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643268864001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643268864001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:14:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643268864001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":129444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:14:37] local.INFO: GPS data processed {"connection_id":129444,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:14:37] local.INFO: Acknowledgment sent {"connection_id":129444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:14:41] local.INFO: TCP Data received {"connection_id":130672,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:14:41] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:14:41] local.INFO: Packet analysis {"connection_id":130672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:14:41] local.INFO: Extracted packet for processing {"connection_id":130672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 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-07-11 15: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-07-11 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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:14: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-07-11 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-07-11 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-07-11 15:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:14:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":130672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:14:41] local.INFO: GPS data processed {"connection_id":130672,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:14:41] local.INFO: Acknowledgment sent {"connection_id":130672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:15:00] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:15:00] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:15:00] local.INFO: IMEI packet received {"connection_id":128556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":128556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:15:02] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:15:02] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:15:02] local.INFO: IMEI packet received {"connection_id":128556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":128556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:15:04] local.INFO: TCP Data received {"connection_id":128557,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:15:04] local.INFO: Processing buffer {"connection_id":128557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:15:04] local.INFO: IMEI packet received {"connection_id":128557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:15:04] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:15:04] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:15:04] local.INFO: IMEI packet received {"connection_id":128556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:15:05] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508facc8012d1965c0071ff170003c009427..."} 
[2026-07-11 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508facc8012d1965c0071ff170003c009427..."} 
[2026-07-11 15:15:05] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508facc8012d1965c0071ff170003c009427..."} 
[2026-07-11 15:15:05] local.INFO: Packet analysis {"connection_id":128556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508f"} 
[2026-07-11 15:15:05] local.INFO: Extracted packet for processing {"connection_id":128556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508f"} 
[2026-07-11 15:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643328000001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15: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-07-11 15:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783763021000,"timestamp_ms":1783763021000,"timestamp_seconds":1783763021,"priority":1,"record_length":96,"hex_timestamp":"0000019f508facc8"} 
[2026-07-11 15:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:15:05] 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-07-11 15:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643328000001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643328000001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643328000001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":128556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:15:05] local.INFO: GPS data processed {"connection_id":128556,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:15:05] local.INFO: Acknowledgment sent {"connection_id":128556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:15:09] local.INFO: TCP Data received {"connection_id":128557,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:15:09] local.INFO: Processing buffer {"connection_id":128557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:15:09] local.INFO: IMEI packet received {"connection_id":128557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":128557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:15:10] local.INFO: TCP Data received {"connection_id":128557,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:15:10] local.INFO: Processing buffer {"connection_id":128557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:15:10] local.INFO: Packet analysis {"connection_id":128557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:15:10] local.INFO: Extracted packet for processing {"connection_id":128557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 15:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:15: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-07-11 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:15:10] 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-07-11 15:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:15:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":128557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:15:10] local.INFO: GPS data processed {"connection_id":128557,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:15:10] local.INFO: Acknowledgment sent {"connection_id":128557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:15:10] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f508ffed0012d1965c0071ff170003c009428..."} 
[2026-07-11 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508ffed0012d1965c0071ff170003c009428..."} 
[2026-07-11 15:15:10] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508ffed0012d1965c0071ff170003c009428..."} 
[2026-07-11 15:15:10] local.INFO: Packet analysis {"connection_id":128556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508f"} 
[2026-07-11 15:15:10] local.INFO: Extracted packet for processing {"connection_id":128556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508f"} 
[2026-07-11 15:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643333376001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763042000,"timestamp_ms":1783763042000,"timestamp_seconds":1783763042,"priority":1,"record_length":96,"hex_timestamp":"0000019f508ffed0"} 
[2026-07-11 15:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:15:10] 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-07-11 15:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643333376001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643333376001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:15:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643333376001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":128556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:15:10] local.INFO: GPS data processed {"connection_id":128556,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:15:10] local.INFO: Acknowledgment sent {"connection_id":128556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:15:41] local.INFO: TCP Data received {"connection_id":128557,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:15:41] local.INFO: Processing buffer {"connection_id":128557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:15:41] local.INFO: Packet analysis {"connection_id":128557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:15:41] local.INFO: Extracted packet for processing {"connection_id":128557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:15:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 15:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:15: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-07-11 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:15: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-07-11 15:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:15:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":128557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:15:41] local.INFO: GPS data processed {"connection_id":128557,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:15:41] local.INFO: Acknowledgment sent {"connection_id":128557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:15:41] local.INFO: TCP Data received {"connection_id":128556,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f509050d8012d1965c0071ff170003c009426..."} 
[2026-07-11 15:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509050d8012d1965c0071ff170003c009426..."} 
[2026-07-11 15:15:41] local.INFO: Processing buffer {"connection_id":128556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509050d8012d1965c0071ff170003c009426..."} 
[2026-07-11 15:15:41] local.INFO: Packet analysis {"connection_id":128556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5090"} 
[2026-07-11 15:15:41] local.INFO: Extracted packet for processing {"connection_id":128556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5090"} 
[2026-07-11 15:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643338752001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763063000,"timestamp_ms":1783763063000,"timestamp_seconds":1783763063,"priority":1,"record_length":96,"hex_timestamp":"0000019f509050d8"} 
[2026-07-11 15:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:15:41] 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-07-11 15:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643338752001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643338752001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:15:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643338752001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":128556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:15:41] local.INFO: GPS data processed {"connection_id":128556,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:15:41] local.INFO: Acknowledgment sent {"connection_id":128556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:16:00] local.INFO: TCP Data received {"connection_id":128732,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:16:00] local.INFO: Processing buffer {"connection_id":128732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:16:00] local.INFO: IMEI packet received {"connection_id":128732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":128732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:16:04] local.INFO: TCP Data received {"connection_id":128733,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:16:04] local.INFO: Processing buffer {"connection_id":128733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:16:04] local.INFO: IMEI packet received {"connection_id":128733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":128733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:16:05] local.INFO: TCP Data received {"connection_id":128732,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:16:05] local.INFO: Processing buffer {"connection_id":128732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:16:05] local.INFO: IMEI packet received {"connection_id":128732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":128732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:16:06] local.INFO: TCP Data received {"connection_id":128732,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5090a2e0012d1965c0071ff170003c009425..."} 
[2026-07-11 15:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5090a2e0012d1965c0071ff170003c009425..."} 
[2026-07-11 15:16:06] local.INFO: Processing buffer {"connection_id":128732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5090a2e0012d1965c0071ff170003c009425..."} 
[2026-07-11 15:16:06] local.INFO: Packet analysis {"connection_id":128732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5090"} 
[2026-07-11 15:16:06] local.INFO: Extracted packet for processing {"connection_id":128732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5090"} 
[2026-07-11 15:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643344128001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783763084000,"timestamp_ms":1783763084000,"timestamp_seconds":1783763084,"priority":1,"record_length":96,"hex_timestamp":"0000019f5090a2e0"} 
[2026-07-11 15:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 15:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:16:06] 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-07-11 15:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643344128001,"66":12298,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643344128001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:16:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643344128001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":128732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:16:06] local.INFO: GPS data processed {"connection_id":128732,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:16:06] local.INFO: Acknowledgment sent {"connection_id":128732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:16:09] local.INFO: TCP Data received {"connection_id":128733,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:16:09] local.INFO: Processing buffer {"connection_id":128733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:16:09] local.INFO: IMEI packet received {"connection_id":128733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":128733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:16:10] local.INFO: TCP Data received {"connection_id":128733,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:16:10] local.INFO: Processing buffer {"connection_id":128733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f508d62d8012cb29c0007823c60004300b32c..."} 
[2026-07-11 15:16:10] local.INFO: Packet analysis {"connection_id":128733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:16:10] local.INFO: Extracted packet for processing {"connection_id":128733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f508d"} 
[2026-07-11 15:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643219712001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783762871000,"timestamp_ms":1783762871000,"timestamp_seconds":1783762871,"priority":1,"record_length":96,"hex_timestamp":"0000019f508d62d8"} 
[2026-07-11 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-07-11 15:16: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-07-11 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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:16:10] 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-07-11 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-07-11 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-07-11 15:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643219712001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643219712001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:16:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643219712001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":128733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:16:10] local.INFO: GPS data processed {"connection_id":128733,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:16:10] local.INFO: Acknowledgment sent {"connection_id":128733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:16:37] local.INFO: TCP Data received {"connection_id":128732,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5090f4e8012d1965c0071ff170003c009424..."} 
[2026-07-11 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5090f4e8012d1965c0071ff170003c009424..."} 
[2026-07-11 15:16:37] local.INFO: Processing buffer {"connection_id":128732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5090f4e8012d1965c0071ff170003c009424..."} 
[2026-07-11 15:16:37] local.INFO: Packet analysis {"connection_id":128732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5090"} 
[2026-07-11 15:16:37] local.INFO: Extracted packet for processing {"connection_id":128732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5090"} 
[2026-07-11 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643349504001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16: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-07-11 15:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783763105000,"timestamp_ms":1783763105000,"timestamp_seconds":1783763105,"priority":1,"record_length":96,"hex_timestamp":"0000019f5090f4e8"} 
[2026-07-11 15:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185620,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5804687642464164197,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2405089281,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513394345886089364,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":60,"raw_value":41701177506660352,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,49,159,80,45,192,60,38,10,66,254,40,172,1,240,97,227,31,4,113,205,8,101,112,37,239,48,2,20,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 15:16:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618528910376960,"timestamp_seconds":4323618528910377.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 15:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:16:37] 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-07-11 15:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643349504001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643349504001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:16:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643349504001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":128732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:16:37] local.INFO: GPS data processed {"connection_id":128732,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:16:37] local.INFO: Acknowledgment sent {"connection_id":128732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:16:40] local.INFO: TCP Data received {"connection_id":128733,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:16:40] local.INFO: Processing buffer {"connection_id":128733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:16:40] local.INFO: Packet analysis {"connection_id":128733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:16:40] local.INFO: Extracted packet for processing {"connection_id":128733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:16: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-07-11 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:16: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-07-11 15:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:16:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":128733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:16:40] local.INFO: GPS data processed {"connection_id":128733,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:16:40] local.INFO: Acknowledgment sent {"connection_id":128733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:16:50] local.INFO: TCP Data received {"connection_id":129445,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:16:50] local.INFO: Processing buffer {"connection_id":129445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:16:50] local.INFO: IMEI packet received {"connection_id":129445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":129445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:16:59] local.INFO: TCP Data received {"connection_id":130673,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:16:59] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:16:59] local.INFO: IMEI packet received {"connection_id":130673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":130673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:17:04] local.INFO: TCP Data received {"connection_id":129446,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:17:04] local.INFO: Processing buffer {"connection_id":129446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:17:04] local.INFO: IMEI packet received {"connection_id":129446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":129446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:17:04] local.INFO: TCP Data received {"connection_id":130673,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:17:04] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:17:04] local.INFO: IMEI packet received {"connection_id":130673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":130673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:17:05] local.INFO: TCP Data received {"connection_id":130673,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f509146f0012d1965c0071ff170003c009423..."} 
[2026-07-11 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509146f0012d1965c0071ff170003c009423..."} 
[2026-07-11 15:17:05] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509146f0012d1965c0071ff170003c009423..."} 
[2026-07-11 15:17:05] local.INFO: Packet analysis {"connection_id":130673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:17:05] local.INFO: Extracted packet for processing {"connection_id":130673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643354880001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17: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-07-11 15:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783763126000,"timestamp_ms":1783763126000,"timestamp_seconds":1783763126,"priority":1,"record_length":96,"hex_timestamp":"0000019f509146f0"} 
[2026-07-11 15:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 15:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:17:05] 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-07-11 15:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643354880001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643354880001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643354880001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":130673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:17:06] local.INFO: GPS data processed {"connection_id":130673,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:17:06] local.INFO: Acknowledgment sent {"connection_id":130673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:17:09] local.INFO: TCP Data received {"connection_id":129446,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:17:09] local.INFO: Processing buffer {"connection_id":129446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:17:09] local.INFO: IMEI packet received {"connection_id":129446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":129446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:17:10] local.INFO: TCP Data received {"connection_id":129446,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:17:10] local.INFO: Processing buffer {"connection_id":129446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:17:10] local.INFO: Packet analysis {"connection_id":129446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:17:10] local.INFO: Extracted packet for processing {"connection_id":129446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:17:10] 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-07-11 15:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:17:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":129446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:17:10] local.INFO: GPS data processed {"connection_id":129446,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:17:10] local.INFO: Acknowledgment sent {"connection_id":129446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:17:37] local.INFO: TCP Data received {"connection_id":130673,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f509198f8012d1965c0071ff170003c009424..."} 
[2026-07-11 15:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509198f8012d1965c0071ff170003c009424..."} 
[2026-07-11 15:17:37] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509198f8012d1965c0071ff170003c009424..."} 
[2026-07-11 15:17:37] local.INFO: Packet analysis {"connection_id":130673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:17:37] local.INFO: Extracted packet for processing {"connection_id":130673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643360256001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17: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-07-11 15:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783763147000,"timestamp_ms":1783763147000,"timestamp_seconds":1783763147,"priority":1,"record_length":96,"hex_timestamp":"0000019f509198f8"} 
[2026-07-11 15:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:17:37] 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-07-11 15:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643360256001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643360256001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:17:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643360256001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":130673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:17:37] local.INFO: GPS data processed {"connection_id":130673,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:17:37] local.INFO: Acknowledgment sent {"connection_id":130673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:17:41] local.INFO: TCP Data received {"connection_id":129446,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:17:41] local.INFO: Processing buffer {"connection_id":129446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:17:41] local.INFO: Packet analysis {"connection_id":129446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:17:41] local.INFO: Extracted packet for processing {"connection_id":129446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:17:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:17: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-07-11 15:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:17:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":129446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:17:41] local.INFO: GPS data processed {"connection_id":129446,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:17:41] local.INFO: Acknowledgment sent {"connection_id":129446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:17:59] local.INFO: TCP Data received {"connection_id":128735,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:17:59] local.INFO: Processing buffer {"connection_id":128735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:17:59] local.INFO: IMEI packet received {"connection_id":128735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":128735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:18:04] local.INFO: TCP Data received {"connection_id":129447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:18:04] local.INFO: Processing buffer {"connection_id":129447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:18:04] local.INFO: IMEI packet received {"connection_id":129447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":129447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:18:05] local.INFO: TCP Data received {"connection_id":128735,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:18:05] local.INFO: Processing buffer {"connection_id":128735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:18:05] local.INFO: IMEI packet received {"connection_id":128735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":128735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:18:05] local.INFO: TCP Data received {"connection_id":128735,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091eb00012d1965c0071ff170003c009424..."} 
[2026-07-11 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091eb00012d1965c0071ff170003c009424..."} 
[2026-07-11 15:18:05] local.INFO: Processing buffer {"connection_id":128735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091eb00012d1965c0071ff170003c009424..."} 
[2026-07-11 15:18:05] local.INFO: Packet analysis {"connection_id":128735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:18:05] local.INFO: Extracted packet for processing {"connection_id":128735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643365632001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18: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-07-11 15:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783763168000,"timestamp_ms":1783763168000,"timestamp_seconds":1783763168,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091eb00"} 
[2026-07-11 15:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:18:05] 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-07-11 15:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643365632001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643365632001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:18:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643365632001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":128735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:18:05] local.INFO: GPS data processed {"connection_id":128735,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:18:05] local.INFO: Acknowledgment sent {"connection_id":128735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:18:09] local.INFO: TCP Data received {"connection_id":129447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:18:09] local.INFO: Processing buffer {"connection_id":129447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:18:09] local.INFO: IMEI packet received {"connection_id":129447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":129447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:18:10] local.INFO: TCP Data received {"connection_id":129447,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:18:10] local.INFO: Processing buffer {"connection_id":129447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:18:10] local.INFO: Packet analysis {"connection_id":129447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:18:10] local.INFO: Extracted packet for processing {"connection_id":129447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:18: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-07-11 15:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:18:10] 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-07-11 15:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":129447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:18:10] local.INFO: GPS data processed {"connection_id":129447,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:18:10] local.INFO: Acknowledgment sent {"connection_id":129447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:18:36] local.INFO: TCP Data received {"connection_id":128735,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50923d08012d1965c0071ff170003c009426..."} 
[2026-07-11 15:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50923d08012d1965c0071ff170003c009426..."} 
[2026-07-11 15:18:36] local.INFO: Processing buffer {"connection_id":128735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50923d08012d1965c0071ff170003c009426..."} 
[2026-07-11 15:18:36] local.INFO: Packet analysis {"connection_id":128735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5092"} 
[2026-07-11 15:18:36] local.INFO: Extracted packet for processing {"connection_id":128735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5092"} 
[2026-07-11 15:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643371008001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783763189000,"timestamp_ms":1783763189000,"timestamp_seconds":1783763189,"priority":1,"record_length":96,"hex_timestamp":"0000019f50923d08"} 
[2026-07-11 15:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 15:18:36] 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-07-11 15: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-07-11 15:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643371008001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643371008001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:18:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643371008001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":128735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:18:37] local.INFO: GPS data processed {"connection_id":128735,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:18:37] local.INFO: Acknowledgment sent {"connection_id":128735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:18:45] local.INFO: TCP Data received {"connection_id":129447,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:18:45] local.INFO: Processing buffer {"connection_id":129447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:18:45] local.INFO: Packet analysis {"connection_id":129447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:18:45] local.INFO: Extracted packet for processing {"connection_id":129447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:18:45] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:18: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-07-11 15:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:18:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:18:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":129447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:18:45] local.INFO: GPS data processed {"connection_id":129447,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:18:45] local.INFO: Acknowledgment sent {"connection_id":129447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:19:04] local.INFO: TCP Data received {"connection_id":129448,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:19:04] local.INFO: Processing buffer {"connection_id":129448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:19:04] local.INFO: IMEI packet received {"connection_id":129448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":129448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:19:05] local.INFO: TCP Data received {"connection_id":128558,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:19:05] local.INFO: Processing buffer {"connection_id":128558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:19:05] local.INFO: IMEI packet received {"connection_id":128558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":128558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:19:09] local.INFO: TCP Data received {"connection_id":129448,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:19:09] local.INFO: Processing buffer {"connection_id":129448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:19:09] local.INFO: IMEI packet received {"connection_id":129448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":129448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:19:10] local.INFO: TCP Data received {"connection_id":129448,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:19:10] local.INFO: Processing buffer {"connection_id":129448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:19:10] local.INFO: Packet analysis {"connection_id":129448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:19:10] local.INFO: Extracted packet for processing {"connection_id":129448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:19:10] 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-07-11 15:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:19:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":129448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:19:10] local.INFO: GPS data processed {"connection_id":129448,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:19:10] local.INFO: Acknowledgment sent {"connection_id":129448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:19:11] local.INFO: TCP Data received {"connection_id":128558,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:19:11] local.INFO: Processing buffer {"connection_id":128558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:19:11] local.INFO: IMEI packet received {"connection_id":128558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":128558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:19:12] local.INFO: TCP Data received {"connection_id":128558,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50928f10012d1965c0071ff170003c009425..."} 
[2026-07-11 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50928f10012d1965c0071ff170003c009425..."} 
[2026-07-11 15:19:12] local.INFO: Processing buffer {"connection_id":128558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50928f10012d1965c0071ff170003c009425..."} 
[2026-07-11 15:19:12] local.INFO: Packet analysis {"connection_id":128558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5092"} 
[2026-07-11 15:19:12] local.INFO: Extracted packet for processing {"connection_id":128558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5092"} 
[2026-07-11 15:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643376384001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783763210000,"timestamp_ms":1783763210000,"timestamp_seconds":1783763210,"priority":1,"record_length":96,"hex_timestamp":"0000019f50928f10"} 
[2026-07-11 15:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 15:19:12] 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-07-11 15:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:19:12] 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-07-11 15:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643376384001,"66":12374,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643376384001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:19:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643376384001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":128558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:19:12] local.INFO: GPS data processed {"connection_id":128558,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:19:12] local.INFO: Acknowledgment sent {"connection_id":128558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:19:13] local.INFO: TCP Data received {"connection_id":128558,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5092e118012d1965c0071ff170003c009424..."} 
[2026-07-11 15:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5092e118012d1965c0071ff170003c009424..."} 
[2026-07-11 15:19:13] local.INFO: Processing buffer {"connection_id":128558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5092e118012d1965c0071ff170003c009424..."} 
[2026-07-11 15:19:13] local.INFO: Packet analysis {"connection_id":128558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5092"} 
[2026-07-11 15:19:13] local.INFO: Extracted packet for processing {"connection_id":128558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5092"} 
[2026-07-11 15:19:13] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643381760001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783763231000,"timestamp_ms":1783763231000,"timestamp_seconds":1783763231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5092e118"} 
[2026-07-11 15:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:19:13] 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-07-11 15:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643381760001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643381760001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:19:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643381760001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":128558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:19:14] local.INFO: GPS data processed {"connection_id":128558,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:19:14] local.INFO: Acknowledgment sent {"connection_id":128558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:19:41] local.INFO: TCP Data received {"connection_id":129448,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:19:41] local.INFO: Processing buffer {"connection_id":129448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:19:41] local.INFO: Packet analysis {"connection_id":129448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:19:41] local.INFO: Extracted packet for processing {"connection_id":129448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:19: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-07-11 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:19: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-07-11 15:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:19:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":129448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:19:41] local.INFO: GPS data processed {"connection_id":129448,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:19:41] local.INFO: Acknowledgment sent {"connection_id":129448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:19:44] local.INFO: TCP Data received {"connection_id":128558,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50933320012d1965c0071ff170003c009425..."} 
[2026-07-11 15:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50933320012d1965c0071ff170003c009425..."} 
[2026-07-11 15:19:44] local.INFO: Processing buffer {"connection_id":128558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50933320012d1965c0071ff170003c009425..."} 
[2026-07-11 15:19:44] local.INFO: Packet analysis {"connection_id":128558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5093"} 
[2026-07-11 15:19:44] local.INFO: Extracted packet for processing {"connection_id":128558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5093"} 
[2026-07-11 15:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643387136001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783763252000,"timestamp_ms":1783763252000,"timestamp_seconds":1783763252,"priority":1,"record_length":96,"hex_timestamp":"0000019f50933320"} 
[2026-07-11 15:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:19:44] 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-07-11 15:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643387136001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643387136001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:19:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:19:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643387136001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":128558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:19:45] local.INFO: GPS data processed {"connection_id":128558,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:19:45] local.INFO: Acknowledgment sent {"connection_id":128558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:19:59] local.INFO: TCP Data received {"connection_id":130675,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:00] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:00] local.INFO: IMEI packet received {"connection_id":130675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":130675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:20:04] local.INFO: TCP Data received {"connection_id":129449,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:20:04] local.INFO: Processing buffer {"connection_id":129449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:20:04] local.INFO: IMEI packet received {"connection_id":129449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":129449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:20:05] local.INFO: TCP Data received {"connection_id":130675,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:05] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:05] local.INFO: IMEI packet received {"connection_id":130675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":130675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:20:06] local.INFO: TCP Data received {"connection_id":130675,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50938528012d1965c0071ff170003c009426..."} 
[2026-07-11 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50938528012d1965c0071ff170003c009426..."} 
[2026-07-11 15:20:06] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50938528012d1965c0071ff170003c009426..."} 
[2026-07-11 15:20:06] local.INFO: Packet analysis {"connection_id":130675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5093"} 
[2026-07-11 15:20:06] local.INFO: Extracted packet for processing {"connection_id":130675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5093"} 
[2026-07-11 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643392512001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783763273000,"timestamp_ms":1783763273000,"timestamp_seconds":1783763273,"priority":1,"record_length":96,"hex_timestamp":"0000019f50938528"} 
[2026-07-11 15:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:20:06] 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-07-11 15:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643392512001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643392512001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643392512001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":130675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:20:06] local.INFO: GPS data processed {"connection_id":130675,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:20:06] local.INFO: Acknowledgment sent {"connection_id":130675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:20:09] local.INFO: TCP Data received {"connection_id":129449,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:20:09] local.INFO: Processing buffer {"connection_id":129449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:20:09] local.INFO: IMEI packet received {"connection_id":129449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":129449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:20:10] local.INFO: TCP Data received {"connection_id":129449,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:20:10] local.INFO: Processing buffer {"connection_id":129449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:20:10] local.INFO: Packet analysis {"connection_id":129449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:20:10] local.INFO: Extracted packet for processing {"connection_id":129449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:20: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-07-11 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:20:10] 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-07-11 15:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:20:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":129449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:20:10] local.INFO: GPS data processed {"connection_id":129449,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:20:10] local.INFO: Acknowledgment sent {"connection_id":129449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:20:37] local.INFO: TCP Data received {"connection_id":130675,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5093d730012d1965c0071ff170003c009426..."} 
[2026-07-11 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5093d730012d1965c0071ff170003c009426..."} 
[2026-07-11 15:20:37] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5093d730012d1965c0071ff170003c009426..."} 
[2026-07-11 15:20:37] local.INFO: Packet analysis {"connection_id":130675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5093"} 
[2026-07-11 15:20:37] local.INFO: Extracted packet for processing {"connection_id":130675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5093"} 
[2026-07-11 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643397888001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20: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-07-11 15:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783763294000,"timestamp_ms":1783763294000,"timestamp_seconds":1783763294,"priority":1,"record_length":96,"hex_timestamp":"0000019f5093d730"} 
[2026-07-11 15:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:20:37] 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-07-11 15:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643397888001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643397888001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:20:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643397888001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":130675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:20:37] local.INFO: GPS data processed {"connection_id":130675,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:20:37] local.INFO: Acknowledgment sent {"connection_id":130675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:20:41] local.INFO: TCP Data received {"connection_id":129449,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:20:41] local.INFO: Processing buffer {"connection_id":129449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:20:41] local.INFO: Packet analysis {"connection_id":129449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:20:41] local.INFO: Extracted packet for processing {"connection_id":129449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:20:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:20: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-07-11 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:20: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-07-11 15:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:20:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":129449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:20:41] local.INFO: GPS data processed {"connection_id":129449,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:20:41] local.INFO: Acknowledgment sent {"connection_id":129449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:20:59] local.INFO: TCP Data received {"connection_id":128738,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:59] local.INFO: Processing buffer {"connection_id":128738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:59] local.INFO: IMEI packet received {"connection_id":128738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":128738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:20:59] local.INFO: TCP Data received {"connection_id":128738,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:59] local.INFO: Processing buffer {"connection_id":128738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:20:59] local.INFO: IMEI packet received {"connection_id":128738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":128738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:21:04] local.INFO: TCP Data received {"connection_id":128738,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:21:04] local.INFO: Processing buffer {"connection_id":128738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:21:04] local.INFO: IMEI packet received {"connection_id":128738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":128738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:21:05] local.INFO: TCP Data received {"connection_id":128738,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50942938012d1965c0071ff170003c009425..."} 
[2026-07-11 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50942938012d1965c0071ff170003c009425..."} 
[2026-07-11 15:21:05] local.INFO: Processing buffer {"connection_id":128738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50942938012d1965c0071ff170003c009425..."} 
[2026-07-11 15:21:05] local.INFO: Packet analysis {"connection_id":128738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5094"} 
[2026-07-11 15:21:05] local.INFO: Extracted packet for processing {"connection_id":128738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5094"} 
[2026-07-11 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643403264001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21: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-07-11 15:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783763315000,"timestamp_ms":1783763315000,"timestamp_seconds":1783763315,"priority":1,"record_length":96,"hex_timestamp":"0000019f50942938"} 
[2026-07-11 15:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:21:05] 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-07-11 15:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643403264001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643403264001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643403264001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":128738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:21:05] local.INFO: GPS data processed {"connection_id":128738,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:21:05] local.INFO: Acknowledgment sent {"connection_id":128738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:21:09] local.INFO: TCP Data received {"connection_id":128559,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:21:09] local.INFO: Processing buffer {"connection_id":128559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:21:09] local.INFO: IMEI packet received {"connection_id":128559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":128559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:21:14] local.INFO: TCP Data received {"connection_id":128559,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:21:14] local.INFO: Processing buffer {"connection_id":128559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:21:14] local.INFO: IMEI packet received {"connection_id":128559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":128559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:21:15] local.INFO: TCP Data received {"connection_id":128559,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:21:15] local.INFO: Processing buffer {"connection_id":128559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:21:15] local.INFO: Packet analysis {"connection_id":128559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:21:15] local.INFO: Extracted packet for processing {"connection_id":128559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:21:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:21:15] 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-07-11 15:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:21:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:21:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:21:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":128559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:21:15] local.INFO: GPS data processed {"connection_id":128559,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:21:15] local.INFO: Acknowledgment sent {"connection_id":128559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:21:19] local.INFO: TCP Data received {"connection_id":128559,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:21:19] local.INFO: Processing buffer {"connection_id":128559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5091c3f0012cb29c0007823c60004400b32d..."} 
[2026-07-11 15:21:19] local.INFO: Packet analysis {"connection_id":128559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:21:19] local.INFO: Extracted packet for processing {"connection_id":128559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5091"} 
[2026-07-11 15:21:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":68,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643294976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783763158000,"timestamp_ms":1783763158000,"timestamp_seconds":1783763158,"priority":1,"record_length":96,"hex_timestamp":"0000019f5091c3f0"} 
[2026-07-11 15:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:21:19] 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-07-11 15:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643294976001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643294976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:21:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:21:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643294976001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":128559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:21:19] local.INFO: GPS data processed {"connection_id":128559,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:21:19] local.INFO: Acknowledgment sent {"connection_id":128559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:21:36] local.INFO: TCP Data received {"connection_id":128738,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50947b40012d1965c0071ff170003c009425..."} 
[2026-07-11 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50947b40012d1965c0071ff170003c009425..."} 
[2026-07-11 15:21:36] local.INFO: Processing buffer {"connection_id":128738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50947b40012d1965c0071ff170003c009425..."} 
[2026-07-11 15:21:36] local.INFO: Packet analysis {"connection_id":128738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5094"} 
[2026-07-11 15:21:36] local.INFO: Extracted packet for processing {"connection_id":128738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5094"} 
[2026-07-11 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643408640001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783763336000,"timestamp_ms":1783763336000,"timestamp_seconds":1783763336,"priority":1,"record_length":96,"hex_timestamp":"0000019f50947b40"} 
[2026-07-11 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-07-11 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 15:21:36] 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-07-11 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-07-11 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-07-11 15:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643408640001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643408640001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:21:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643408640001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":128738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:21:36] local.INFO: GPS data processed {"connection_id":128738,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:21:36] local.INFO: Acknowledgment sent {"connection_id":128738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:22:00] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:00] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:00] local.INFO: IMEI packet received {"connection_id":128739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":128739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:22:01] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:01] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:01] local.INFO: IMEI packet received {"connection_id":128739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":128739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:22:04] local.INFO: TCP Data received {"connection_id":128560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:22:04] local.INFO: Processing buffer {"connection_id":128560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:22:04] local.INFO: IMEI packet received {"connection_id":128560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":128560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:22:05] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:05] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:05] local.INFO: IMEI packet received {"connection_id":128739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":128739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:22:05] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5094cd48012d1965c0071ff170003c009425..."} 
[2026-07-11 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5094cd48012d1965c0071ff170003c009425..."} 
[2026-07-11 15:22:05] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5094cd48012d1965c0071ff170003c009425..."} 
[2026-07-11 15:22:05] local.INFO: Packet analysis {"connection_id":128739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5094"} 
[2026-07-11 15:22:05] local.INFO: Extracted packet for processing {"connection_id":128739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5094"} 
[2026-07-11 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643414016001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15: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-07-11 15:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783763357000,"timestamp_ms":1783763357000,"timestamp_seconds":1783763357,"priority":1,"record_length":96,"hex_timestamp":"0000019f5094cd48"} 
[2026-07-11 15:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 15:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:22:05] 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-07-11 15:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643414016001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643414016001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643414016001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":128739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:22:06] local.INFO: GPS data processed {"connection_id":128739,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:22:06] local.INFO: Acknowledgment sent {"connection_id":128739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:22:09] local.INFO: TCP Data received {"connection_id":128560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:22:09] local.INFO: Processing buffer {"connection_id":128560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:22:09] local.INFO: IMEI packet received {"connection_id":128560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:22:10] local.INFO: TCP Data received {"connection_id":128560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:22:10] local.INFO: Processing buffer {"connection_id":128560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:22:10] local.INFO: Packet analysis {"connection_id":128560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:22:10] local.INFO: Extracted packet for processing {"connection_id":128560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 15:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:22: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-07-11 15:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:22:10] 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-07-11 15:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:22:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:22:10] local.INFO: GPS data processed {"connection_id":128560,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:22:10] local.INFO: Acknowledgment sent {"connection_id":128560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:22:25] local.INFO: TCP Data received {"connection_id":129450,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:22:25] local.INFO: Processing buffer {"connection_id":129450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:22:25] local.INFO: IMEI packet received {"connection_id":129450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":129450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:22:37] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50951f50012d1965c0071ff170003c009424..."} 
[2026-07-11 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50951f50012d1965c0071ff170003c009424..."} 
[2026-07-11 15:22:37] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50951f50012d1965c0071ff170003c009424..."} 
[2026-07-11 15:22:37] local.INFO: Packet analysis {"connection_id":128739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5095"} 
[2026-07-11 15:22:37] local.INFO: Extracted packet for processing {"connection_id":128739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5095"} 
[2026-07-11 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643419392001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22: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-07-11 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783763378000,"timestamp_ms":1783763378000,"timestamp_seconds":1783763378,"priority":1,"record_length":96,"hex_timestamp":"0000019f50951f50"} 
[2026-07-11 15:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:22:37] 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-07-11 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643419392001,"66":12363,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643419392001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:22:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643419392001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":128739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:22:37] local.INFO: GPS data processed {"connection_id":128739,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:22:37] local.INFO: Acknowledgment sent {"connection_id":128739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:22:41] local.INFO: TCP Data received {"connection_id":128560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:22:41] local.INFO: Processing buffer {"connection_id":128560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:22:41] local.INFO: Packet analysis {"connection_id":128560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:22:41] local.INFO: Extracted packet for processing {"connection_id":128560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 15:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:22: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-07-11 15:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:22:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":128560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:22:41] local.INFO: GPS data processed {"connection_id":128560,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:22:41] local.INFO: Acknowledgment sent {"connection_id":128560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:22:50] local.INFO: TCP Data received {"connection_id":128561,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:22:50] local.INFO: Processing buffer {"connection_id":128561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:22:50] local.INFO: IMEI packet received {"connection_id":128561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":128561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:22:59] local.INFO: TCP Data received {"connection_id":130676,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:59] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:22:59] local.INFO: IMEI packet received {"connection_id":130676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":130676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:23:04] local.INFO: TCP Data received {"connection_id":130677,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:23:04] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:23:04] local.INFO: IMEI packet received {"connection_id":130677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":130677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:23:04] local.INFO: TCP Data received {"connection_id":130676,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:23:04] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:23:04] local.INFO: IMEI packet received {"connection_id":130676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":130676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:23:05] local.INFO: TCP Data received {"connection_id":130676,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50957158012d1965c0071ff170003c009425..."} 
[2026-07-11 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50957158012d1965c0071ff170003c009425..."} 
[2026-07-11 15:23:05] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50957158012d1965c0071ff170003c009425..."} 
[2026-07-11 15:23:05] local.INFO: Packet analysis {"connection_id":130676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5095"} 
[2026-07-11 15:23:05] local.INFO: Extracted packet for processing {"connection_id":130676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5095"} 
[2026-07-11 15:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643424768001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23: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-07-11 15:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783763399000,"timestamp_ms":1783763399000,"timestamp_seconds":1783763399,"priority":1,"record_length":96,"hex_timestamp":"0000019f50957158"} 
[2026-07-11 15:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 15:23:05] 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-07-11 15: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-07-11 15:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:23:05] 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-07-11 15:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643424768001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643424768001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643424768001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":130676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:23:05] local.INFO: GPS data processed {"connection_id":130676,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:23:05] local.INFO: Acknowledgment sent {"connection_id":130676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:23:09] local.INFO: TCP Data received {"connection_id":130677,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:23:09] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:23:09] local.INFO: IMEI packet received {"connection_id":130677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":130677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:23:10] local.INFO: TCP Data received {"connection_id":130677,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:23:10] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:23:10] local.INFO: Packet analysis {"connection_id":130677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:23:10] local.INFO: Extracted packet for processing {"connection_id":130677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 15:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:23: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-07-11 15:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:23:10] 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-07-11 15:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:23:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":130677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:23:10] local.INFO: GPS data processed {"connection_id":130677,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:23:10] local.INFO: Acknowledgment sent {"connection_id":130677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:23:36] local.INFO: TCP Data received {"connection_id":130676,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5095c360012d1965c0071ff170003c009425..."} 
[2026-07-11 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5095c360012d1965c0071ff170003c009425..."} 
[2026-07-11 15:23:36] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5095c360012d1965c0071ff170003c009425..."} 
[2026-07-11 15:23:36] local.INFO: Packet analysis {"connection_id":130676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5095"} 
[2026-07-11 15:23:36] local.INFO: Extracted packet for processing {"connection_id":130676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5095"} 
[2026-07-11 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643430144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783763420000,"timestamp_ms":1783763420000,"timestamp_seconds":1783763420,"priority":1,"record_length":96,"hex_timestamp":"0000019f5095c360"} 
[2026-07-11 15:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643430144001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643430144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:23:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643430144001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":130676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:23:36] local.INFO: GPS data processed {"connection_id":130676,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:23:36] local.INFO: Acknowledgment sent {"connection_id":130676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:23:41] local.INFO: TCP Data received {"connection_id":130677,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:23:41] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:23:41] local.INFO: Packet analysis {"connection_id":130677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:23:41] local.INFO: Extracted packet for processing {"connection_id":130677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:23:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 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-07-11 15: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-07-11 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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:23: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-07-11 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-07-11 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-07-11 15:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:23:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":130677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:23:41] local.INFO: GPS data processed {"connection_id":130677,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:23:41] local.INFO: Acknowledgment sent {"connection_id":130677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:23:59] local.INFO: TCP Data received {"connection_id":129451,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:23:59] local.INFO: Processing buffer {"connection_id":129451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:23:59] local.INFO: IMEI packet received {"connection_id":129451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":129451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:24:04] local.INFO: TCP Data received {"connection_id":130679,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:24:04] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:24:04] local.INFO: IMEI packet received {"connection_id":130679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":130679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:24:04] local.INFO: TCP Data received {"connection_id":129451,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:24:04] local.INFO: Processing buffer {"connection_id":129451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:24:04] local.INFO: IMEI packet received {"connection_id":129451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":129451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:24:05] local.INFO: TCP Data received {"connection_id":129451,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50961568012d1965c0071ff170003c009425..."} 
[2026-07-11 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50961568012d1965c0071ff170003c009425..."} 
[2026-07-11 15:24:05] local.INFO: Processing buffer {"connection_id":129451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50961568012d1965c0071ff170003c009425..."} 
[2026-07-11 15:24:05] local.INFO: Packet analysis {"connection_id":129451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:24:05] local.INFO: Extracted packet for processing {"connection_id":129451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643435520001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24: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-07-11 15:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783763441000,"timestamp_ms":1783763441000,"timestamp_seconds":1783763441,"priority":1,"record_length":96,"hex_timestamp":"0000019f50961568"} 
[2026-07-11 15:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 15:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:24:05] 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-07-11 15:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643435520001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643435520001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643435520001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":129451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:24:05] local.INFO: GPS data processed {"connection_id":129451,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:24:05] local.INFO: Acknowledgment sent {"connection_id":129451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:24:09] local.INFO: TCP Data received {"connection_id":130679,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:24:09] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:24:09] local.INFO: IMEI packet received {"connection_id":130679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":130679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:24:10] local.INFO: TCP Data received {"connection_id":130679,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:24:10] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:24:10] local.INFO: Packet analysis {"connection_id":130679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:24:10] local.INFO: Extracted packet for processing {"connection_id":130679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 15:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:24: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-07-11 15: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:24:10] 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-07-11 15:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:24:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":130679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:24:10] local.INFO: GPS data processed {"connection_id":130679,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:24:10] local.INFO: Acknowledgment sent {"connection_id":130679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:24:36] local.INFO: TCP Data received {"connection_id":129451,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50966770012d1965c0071ff170003c009426..."} 
[2026-07-11 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50966770012d1965c0071ff170003c009426..."} 
[2026-07-11 15:24:36] local.INFO: Processing buffer {"connection_id":129451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50966770012d1965c0071ff170003c009426..."} 
[2026-07-11 15:24:36] local.INFO: Packet analysis {"connection_id":129451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:24:36] local.INFO: Extracted packet for processing {"connection_id":129451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643440896001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783763462000,"timestamp_ms":1783763462000,"timestamp_seconds":1783763462,"priority":1,"record_length":96,"hex_timestamp":"0000019f50966770"} 
[2026-07-11 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-07-11 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 15:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643440896001,"66":12385,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643440896001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643440896001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":129451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:24:37] local.INFO: GPS data processed {"connection_id":129451,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:24:37] local.INFO: Acknowledgment sent {"connection_id":129451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:24:41] local.INFO: TCP Data received {"connection_id":130679,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:24:41] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:24:41] local.INFO: Packet analysis {"connection_id":130679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:24:41] local.INFO: Extracted packet for processing {"connection_id":130679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 15:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:24: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-07-11 15:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:24: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-07-11 15:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:24:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":130679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:24:41] local.INFO: GPS data processed {"connection_id":130679,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:24:41] local.INFO: Acknowledgment sent {"connection_id":130679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:25:04] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:25:04] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:25:04] local.INFO: IMEI packet received {"connection_id":130681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":130681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:25:05] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:25:05] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:25:05] local.INFO: IMEI packet received {"connection_id":130680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":130680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:25:09] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:25:09] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:25:09] local.INFO: IMEI packet received {"connection_id":130681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":130681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:25:09] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:25:09] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:25:09] local.INFO: IMEI packet received {"connection_id":130680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":130680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:25:10] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:25:10] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:25:10] local.INFO: Packet analysis {"connection_id":130681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:25:10] local.INFO: Extracted packet for processing {"connection_id":130681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 15:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:25: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-07-11 15:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:25:10] 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-07-11 15:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:25:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":130681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:25:10] local.INFO: GPS data processed {"connection_id":130681,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:25:10] local.INFO: Acknowledgment sent {"connection_id":130681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:25:10] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5096b978012d1965c0071ff170003c009426..."} 
[2026-07-11 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5096b978012d1965c0071ff170003c009426..."} 
[2026-07-11 15:25:10] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5096b978012d1965c0071ff170003c009426..."} 
[2026-07-11 15:25:10] local.INFO: Packet analysis {"connection_id":130680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:25:10] local.INFO: Extracted packet for processing {"connection_id":130680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643446272001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763483000,"timestamp_ms":1783763483000,"timestamp_seconds":1783763483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5096b978"} 
[2026-07-11 15:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:25:10] 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-07-11 15:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643446272001,"66":12319,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643446272001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643446272001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":130680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:25:10] local.INFO: GPS data processed {"connection_id":130680,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:25:10] local.INFO: Acknowledgment sent {"connection_id":130680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:25:11] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50970b80012d1965c0071ff170003c009426..."} 
[2026-07-11 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50970b80012d1965c0071ff170003c009426..."} 
[2026-07-11 15:25:11] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50970b80012d1965c0071ff170003c009426..."} 
[2026-07-11 15:25:11] local.INFO: Packet analysis {"connection_id":130680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5097"} 
[2026-07-11 15:25:11] local.INFO: Extracted packet for processing {"connection_id":130680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5097"} 
[2026-07-11 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643451648001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783763504000,"timestamp_ms":1783763504000,"timestamp_seconds":1783763504,"priority":1,"record_length":96,"hex_timestamp":"0000019f50970b80"} 
[2026-07-11 15:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 15:25:11] 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-07-11 15:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:25:11] 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-07-11 15:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643451648001,"66":12156,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643451648001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:25:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643451648001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":130680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:25:11] local.INFO: GPS data processed {"connection_id":130680,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:25:11] local.INFO: Acknowledgment sent {"connection_id":130680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:25:41] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:25:41] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:25:41] local.INFO: Packet analysis {"connection_id":130681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:25:41] local.INFO: Extracted packet for processing {"connection_id":130681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 15:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:25: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-07-11 15:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:25:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":130681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:25:41] local.INFO: GPS data processed {"connection_id":130681,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:25:41] local.INFO: Acknowledgment sent {"connection_id":130681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:25:42] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50975d88012d1965c0071ff170003c009425..."} 
[2026-07-11 15:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50975d88012d1965c0071ff170003c009425..."} 
[2026-07-11 15:25:42] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50975d88012d1965c0071ff170003c009425..."} 
[2026-07-11 15:25:42] local.INFO: Packet analysis {"connection_id":130680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5097"} 
[2026-07-11 15:25:42] local.INFO: Extracted packet for processing {"connection_id":130680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5097"} 
[2026-07-11 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643457024001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783763525000,"timestamp_ms":1783763525000,"timestamp_seconds":1783763525,"priority":1,"record_length":96,"hex_timestamp":"0000019f50975d88"} 
[2026-07-11 15:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-11 15:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:25:42] 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-07-11 15:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643457024001,"66":12298,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643457024001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:25:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643457024001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":130680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:25:42] local.INFO: GPS data processed {"connection_id":130680,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:25:42] local.INFO: Acknowledgment sent {"connection_id":130680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:25:59] local.INFO: TCP Data received {"connection_id":130682,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:25:59] local.INFO: Processing buffer {"connection_id":130682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:25:59] local.INFO: IMEI packet received {"connection_id":130682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":130682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:26:05] local.INFO: TCP Data received {"connection_id":130682,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:26:05] local.INFO: Processing buffer {"connection_id":130682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:26:05] local.INFO: IMEI packet received {"connection_id":130682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":130682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:26:06] local.INFO: TCP Data received {"connection_id":130682,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5097af90012d1965c0071ff170003c009426..."} 
[2026-07-11 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5097af90012d1965c0071ff170003c009426..."} 
[2026-07-11 15:26:06] local.INFO: Processing buffer {"connection_id":130682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5097af90012d1965c0071ff170003c009426..."} 
[2026-07-11 15:26:06] local.INFO: Packet analysis {"connection_id":130682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5097"} 
[2026-07-11 15:26:06] local.INFO: Extracted packet for processing {"connection_id":130682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5097"} 
[2026-07-11 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643462400001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783763546000,"timestamp_ms":1783763546000,"timestamp_seconds":1783763546,"priority":1,"record_length":96,"hex_timestamp":"0000019f5097af90"} 
[2026-07-11 15:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185620,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5806581723041700197,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513394345886089364,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":60,"raw_value":41698978483404800,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049721038,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2517985281,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 15:26:06] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,49,159,11,45,192,60,38,10,66,185,103,1,240,97,227,80,31,4,113,205,195,101,112,37,239,48,2,20,7,36],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 15:26:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618528910376960,"timestamp_seconds":4323618528910377.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 15:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:26:06] 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-07-11 15:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643462400001,"66":12298,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643462400001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:26:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643462400001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":130682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:26:06] local.INFO: GPS data processed {"connection_id":130682,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:26:06] local.INFO: Acknowledgment sent {"connection_id":130682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:26:09] local.INFO: TCP Data received {"connection_id":129454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:26:09] local.INFO: Processing buffer {"connection_id":129454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:26:09] local.INFO: IMEI packet received {"connection_id":129454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":129454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:26:14] local.INFO: TCP Data received {"connection_id":129454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:26:14] local.INFO: Processing buffer {"connection_id":129454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:26:14] local.INFO: IMEI packet received {"connection_id":129454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":129454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:26:15] local.INFO: TCP Data received {"connection_id":129454,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:26:15] local.INFO: Processing buffer {"connection_id":129454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:26:15] local.INFO: Packet analysis {"connection_id":129454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:26:15] local.INFO: Extracted packet for processing {"connection_id":129454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:26:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 15:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:26:15] 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-07-11 15:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:26:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:26:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":129454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:26:15] local.INFO: GPS data processed {"connection_id":129454,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:26:15] local.INFO: Acknowledgment sent {"connection_id":129454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:26:19] local.INFO: TCP Data received {"connection_id":129454,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:26:19] local.INFO: Processing buffer {"connection_id":129454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50962508012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:26:19] local.INFO: Packet analysis {"connection_id":129454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:26:19] local.INFO: Extracted packet for processing {"connection_id":129454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5096"} 
[2026-07-11 15:26:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783763445000,"timestamp_ms":1783763445000,"timestamp_seconds":1783763445,"priority":1,"record_length":96,"hex_timestamp":"0000019f50962508"} 
[2026-07-11 15:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643368448001,"66":25451,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:26:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643368448001,"power":25451,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":129454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:26:19] local.INFO: GPS data processed {"connection_id":129454,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:26:19] local.INFO: Acknowledgment sent {"connection_id":129454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:26:37] local.INFO: TCP Data received {"connection_id":130682,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50980198012d1965c0071ff170003c009425..."} 
[2026-07-11 15:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50980198012d1965c0071ff170003c009425..."} 
[2026-07-11 15:26:37] local.INFO: Processing buffer {"connection_id":130682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50980198012d1965c0071ff170003c009425..."} 
[2026-07-11 15:26:37] local.INFO: Packet analysis {"connection_id":130682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5098"} 
[2026-07-11 15:26:37] local.INFO: Extracted packet for processing {"connection_id":130682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5098"} 
[2026-07-11 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643467776001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26: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-07-11 15:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783763567000,"timestamp_ms":1783763567000,"timestamp_seconds":1783763567,"priority":1,"record_length":96,"hex_timestamp":"0000019f50980198"} 
[2026-07-11 15:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185620,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5806671917354916197,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513394345886089364,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":60,"raw_value":41698978483404800,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649148,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523361281,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-11 15:26:37] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 15:26:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,49,159,93,45,192,60,37,10,66,11,38,185,1,240,31,227,80,4,113,205,21,101,112,239,48,2,20,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-11 15:26:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323618533205344256,"timestamp_seconds":4323618533205344.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 15:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:26:37] 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-07-11 15:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643467776001,"66":12113,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643467776001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:26:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643467776001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":130682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:26:37] local.INFO: GPS data processed {"connection_id":130682,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:26:37] local.INFO: Acknowledgment sent {"connection_id":130682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:27:00] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:00] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:00] local.INFO: IMEI packet received {"connection_id":128740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":128740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:27:04] local.INFO: TCP Data received {"connection_id":128741,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:27:04] local.INFO: Processing buffer {"connection_id":128741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:27:04] local.INFO: IMEI packet received {"connection_id":128741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":128741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:27:04] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:04] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:04] local.INFO: IMEI packet received {"connection_id":128740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":128740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:27:05] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f509853a0012d1965c0071ff170003c009424..."} 
[2026-07-11 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509853a0012d1965c0071ff170003c009424..."} 
[2026-07-11 15:27:05] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509853a0012d1965c0071ff170003c009424..."} 
[2026-07-11 15:27:05] local.INFO: Packet analysis {"connection_id":128740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5098"} 
[2026-07-11 15:27:05] local.INFO: Extracted packet for processing {"connection_id":128740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5098"} 
[2026-07-11 15:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":60,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643473152001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683375603974144,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27: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-07-11 15:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783763588000,"timestamp_ms":1783763588000,"timestamp_seconds":1783763588,"priority":1,"record_length":96,"hex_timestamp":"0000019f509853a0"} 
[2026-07-11 15:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-11 15:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:27:05] 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-07-11 15:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643473152001,"66":12341,"102":206,"83":41984,"24":0,"16":5683375603974144,"45":1830079960429195264},"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-07-11 15:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643473152001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:27:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683375603974144,"km_value":5683375603974.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-07-11 15:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643473152001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-07-11 15:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":128740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:27:05] local.INFO: GPS data processed {"connection_id":128740,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:27:05] local.INFO: Acknowledgment sent {"connection_id":128740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:27:09] local.INFO: TCP Data received {"connection_id":128741,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:27:09] local.INFO: Processing buffer {"connection_id":128741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:27:09] local.INFO: IMEI packet received {"connection_id":128741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":128741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:27:10] local.INFO: TCP Data received {"connection_id":128741,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:27:10] local.INFO: Processing buffer {"connection_id":128741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:27:10] local.INFO: Packet analysis {"connection_id":128741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:27:10] local.INFO: Extracted packet for processing {"connection_id":128741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643441920001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763746000,"timestamp_ms":1783763746000,"timestamp_seconds":1783763746,"priority":1,"record_length":96,"hex_timestamp":"0000019f509abcd0"} 
[2026-07-11 15:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:27: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-07-11 15:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:27:10] 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-07-11 15:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643441920001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643441920001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:27:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643441920001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":128741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:27:10] local.INFO: GPS data processed {"connection_id":128741,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:27:10] local.INFO: Acknowledgment sent {"connection_id":128741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:27:37] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f509b39d0012d196880071fed600041002d26..."} 
[2026-07-11 15:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509b39d0012d196880071fed600041002d26..."} 
[2026-07-11 15:27:37] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509b39d0012d196880071fed600041002d26..."} 
[2026-07-11 15:27:37] local.INFO: Packet analysis {"connection_id":128740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509b"} 
[2026-07-11 15:27:37] local.INFO: Extracted packet for processing {"connection_id":128740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509b"} 
[2026-07-11 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532896,"longitude_deg":75.6639872,"latitude_deg":11.9532896,"altitude":65,"angle":45,"satellites":38,"speed":1,"hex_longitude":"2d196880","hex_latitude":"071fed60","is_valid_coordinates":true} 
[2026-07-11 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643524864001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5683448618418176,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870687232,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27: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-07-11 15:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783763778000,"timestamp_ms":1783763778000,"timestamp_seconds":1783763778,"priority":1,"record_length":96,"hex_timestamp":"0000019f509b39d0"} 
[2026-07-11 15:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 15:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:27:37] 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-07-11 15:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643524864001,"66":14102,"102":206,"83":41984,"24":1,"16":5683448618418176,"45":1830783647870687232},"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-07-11 15:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643524864001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:27:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-11 15:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5683448618418176,"km_value":5683448618418.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870687232,"description":"Unknown IO ID 45"} 
[2026-07-11 15:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643524864001,"power":14102,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1830783647870687232}} 
[2026-07-11 15:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":128740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:27:37] local.INFO: GPS data processed {"connection_id":128740,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:27:37] local.INFO: Acknowledgment sent {"connection_id":128740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:27:41] local.INFO: TCP Data received {"connection_id":128741,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:27:41] local.INFO: Processing buffer {"connection_id":128741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:27:41] local.INFO: Packet analysis {"connection_id":128741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:27:41] local.INFO: Extracted packet for processing {"connection_id":128741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643441920001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763746000,"timestamp_ms":1783763746000,"timestamp_seconds":1783763746,"priority":1,"record_length":96,"hex_timestamp":"0000019f509abcd0"} 
[2026-07-11 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-07-11 15:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:27: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-07-11 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-07-11 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-07-11 15:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643441920001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643441920001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:27:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643441920001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":128741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:27:41] local.INFO: GPS data processed {"connection_id":128741,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:27:41] local.INFO: Acknowledgment sent {"connection_id":128741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:27:58] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:58] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:58] local.INFO: IMEI packet received {"connection_id":130685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":130685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:27:59] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:59] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:27:59] local.INFO: IMEI packet received {"connection_id":130685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":130685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:28:01] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:28:01] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:28:01] local.INFO: IMEI packet received {"connection_id":130685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":130685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:28:02] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:28:02] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:28:02] local.INFO: IMEI packet received {"connection_id":130685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":130685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:28:04] local.INFO: TCP Data received {"connection_id":130686,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:28:04] local.INFO: Processing buffer {"connection_id":130686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:28:04] local.INFO: IMEI packet received {"connection_id":130686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":130686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:28:09] local.INFO: TCP Data received {"connection_id":130686,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:28:09] local.INFO: Processing buffer {"connection_id":130686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:28:09] local.INFO: IMEI packet received {"connection_id":130686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":130686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:28:10] local.INFO: TCP Data received {"connection_id":130686,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:28:10] local.INFO: Processing buffer {"connection_id":130686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:28:10] local.INFO: Packet analysis {"connection_id":130686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:28:10] local.INFO: Extracted packet for processing {"connection_id":130686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643441920001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763746000,"timestamp_ms":1783763746000,"timestamp_seconds":1783763746,"priority":1,"record_length":96,"hex_timestamp":"0000019f509abcd0"} 
[2026-07-11 15:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:28: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-07-11 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:28:10] 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-07-11 15:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643441920001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643441920001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:28:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643441920001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":130686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:28:10] local.INFO: GPS data processed {"connection_id":130686,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:28:10] local.INFO: Acknowledgment sent {"connection_id":130686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:28:10] local.INFO: TCP Data received {"connection_id":130684,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:28:10] local.INFO: Processing buffer {"connection_id":130684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:28:10] local.INFO: IMEI packet received {"connection_id":130684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":130684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:28:41] local.INFO: TCP Data received {"connection_id":130686,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:28:41] local.INFO: Processing buffer {"connection_id":130686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:28:41] local.INFO: Packet analysis {"connection_id":130686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:28:41] local.INFO: Extracted packet for processing {"connection_id":130686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643441920001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763746000,"timestamp_ms":1783763746000,"timestamp_seconds":1783763746,"priority":1,"record_length":96,"hex_timestamp":"0000019f509abcd0"} 
[2026-07-11 15:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:28: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-07-11 15:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:28: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-07-11 15:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643441920001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643441920001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:28:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643441920001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":130686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:28:41] local.INFO: GPS data processed {"connection_id":130686,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:28:41] local.INFO: Acknowledgment sent {"connection_id":130686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:28:45] local.INFO: TCP Data received {"connection_id":128563,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:28:45] local.INFO: Processing buffer {"connection_id":128563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:28:45] local.INFO: IMEI packet received {"connection_id":128563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":128563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:29:04] local.INFO: TCP Data received {"connection_id":129455,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:29:04] local.INFO: Processing buffer {"connection_id":129455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:29:04] local.INFO: IMEI packet received {"connection_id":129455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":129455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:29:09] local.INFO: TCP Data received {"connection_id":129455,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:29:09] local.INFO: Processing buffer {"connection_id":129455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:29:09] local.INFO: IMEI packet received {"connection_id":129455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":129455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:29:10] local.INFO: TCP Data received {"connection_id":129455,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:29:10] local.INFO: Processing buffer {"connection_id":129455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:29:10] local.INFO: Packet analysis {"connection_id":129455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:29:10] local.INFO: Extracted packet for processing {"connection_id":129455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643441920001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763746000,"timestamp_ms":1783763746000,"timestamp_seconds":1783763746,"priority":1,"record_length":96,"hex_timestamp":"0000019f509abcd0"} 
[2026-07-11 15:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:29: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-07-11 15:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:29:10] 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-07-11 15:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643441920001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643441920001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:29:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643441920001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":129455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:29:10] local.INFO: GPS data processed {"connection_id":129455,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:29:10] local.INFO: Acknowledgment sent {"connection_id":129455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:29:41] local.INFO: TCP Data received {"connection_id":129455,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:29:41] local.INFO: Processing buffer {"connection_id":129455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:29:41] local.INFO: Packet analysis {"connection_id":129455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:29:41] local.INFO: Extracted packet for processing {"connection_id":129455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643441920001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783763746000,"timestamp_ms":1783763746000,"timestamp_seconds":1783763746,"priority":1,"record_length":96,"hex_timestamp":"0000019f509abcd0"} 
[2026-07-11 15:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:29: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-07-11 15:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643441920001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643441920001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:29:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643441920001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":129455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:29:41] local.INFO: GPS data processed {"connection_id":129455,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:29:41] local.INFO: Acknowledgment sent {"connection_id":129455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:30:09] local.INFO: TCP Data received {"connection_id":130689,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:30:09] local.INFO: Processing buffer {"connection_id":130689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:30:09] local.INFO: IMEI packet received {"connection_id":130689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":130689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:30:14] local.INFO: TCP Data received {"connection_id":130689,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:30:14] local.INFO: Processing buffer {"connection_id":130689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:30:14] local.INFO: IMEI packet received {"connection_id":130689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":130689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:30:15] local.INFO: TCP Data received {"connection_id":130689,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:30:15] local.INFO: Processing buffer {"connection_id":130689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:30:15] local.INFO: Packet analysis {"connection_id":130689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:30:15] local.INFO: Extracted packet for processing {"connection_id":130689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:30:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643441920001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783763746000,"timestamp_ms":1783763746000,"timestamp_seconds":1783763746,"priority":1,"record_length":96,"hex_timestamp":"0000019f509abcd0"} 
[2026-07-11 15:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:30:15] 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-07-11 15:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643441920001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643441920001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:30:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643441920001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":130689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:30:15] local.INFO: GPS data processed {"connection_id":130689,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:30:15] local.INFO: Acknowledgment sent {"connection_id":130689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:30:19] local.INFO: TCP Data received {"connection_id":130689,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:30:19] local.INFO: Processing buffer {"connection_id":130689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:30:19] local.INFO: Packet analysis {"connection_id":130689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:30:19] local.INFO: Extracted packet for processing {"connection_id":130689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:30:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643441920001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783763746000,"timestamp_ms":1783763746000,"timestamp_seconds":1783763746,"priority":1,"record_length":96,"hex_timestamp":"0000019f509abcd0"} 
[2026-07-11 15:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:30:19] 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-07-11 15:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643441920001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643441920001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:30:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:30:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643441920001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":130689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:30:19] local.INFO: GPS data processed {"connection_id":130689,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:30:19] local.INFO: Acknowledgment sent {"connection_id":130689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:31:04] local.INFO: TCP Data received {"connection_id":130690,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:31:04] local.INFO: Processing buffer {"connection_id":130690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:31:04] local.INFO: IMEI packet received {"connection_id":130690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":130690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:31:09] local.INFO: TCP Data received {"connection_id":130690,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:31:09] local.INFO: Processing buffer {"connection_id":130690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:31:09] local.INFO: IMEI packet received {"connection_id":130690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":130690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:31:10] local.INFO: TCP Data received {"connection_id":130690,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:31:10] local.INFO: Processing buffer {"connection_id":130690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509abcd0012cb29c0007823c60004a00b32f..."} 
[2026-07-11 15:31:10] local.INFO: Packet analysis {"connection_id":130690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:31:10] local.INFO: Extracted packet for processing {"connection_id":130690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509a"} 
[2026-07-11 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":74,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643441920001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783763746000,"timestamp_ms":1783763746000,"timestamp_seconds":1783763746,"priority":1,"record_length":96,"hex_timestamp":"0000019f509abcd0"} 
[2026-07-11 15:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:31: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-07-11 15:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 15:31:10] 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-07-11 15:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643441920001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643441920001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:31:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643441920001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":130690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:31:10] local.INFO: GPS data processed {"connection_id":130690,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:31:10] local.INFO: Acknowledgment sent {"connection_id":130690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:31:40] local.INFO: TCP Data received {"connection_id":130690,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:31:40] local.INFO: Processing buffer {"connection_id":130690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:31:40] local.INFO: Packet analysis {"connection_id":130690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:31:40] local.INFO: Extracted packet for processing {"connection_id":130690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:31:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 15:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:31: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-07-11 15:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:31:40] 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-07-11 15:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:31:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:31:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":130690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:31:40] local.INFO: GPS data processed {"connection_id":130690,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:31:40] local.INFO: Acknowledgment sent {"connection_id":130690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:32:04] local.INFO: TCP Data received {"connection_id":128566,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:32:04] local.INFO: Processing buffer {"connection_id":128566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:32:04] local.INFO: IMEI packet received {"connection_id":128566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":128566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:32:09] local.INFO: TCP Data received {"connection_id":128566,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:32:09] local.INFO: Processing buffer {"connection_id":128566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:32:09] local.INFO: IMEI packet received {"connection_id":128566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":128566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:32:10] local.INFO: TCP Data received {"connection_id":128566,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:32:10] local.INFO: Processing buffer {"connection_id":128566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:32:10] local.INFO: Packet analysis {"connection_id":128566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:32:10] local.INFO: Extracted packet for processing {"connection_id":128566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 15:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:32: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-07-11 15:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:32:10] 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-07-11 15:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:32:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:32:10] local.INFO: GPS data processed {"connection_id":128566,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:32:10] local.INFO: Acknowledgment sent {"connection_id":128566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:32:41] local.INFO: TCP Data received {"connection_id":128566,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:32:41] local.INFO: Processing buffer {"connection_id":128566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:32:41] local.INFO: Packet analysis {"connection_id":128566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:32:41] local.INFO: Extracted packet for processing {"connection_id":128566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 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-07-11 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-07-11 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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:32: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-07-11 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-07-11 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-07-11 15:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:32:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":128566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:32:41] local.INFO: GPS data processed {"connection_id":128566,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:32:41] local.INFO: Acknowledgment sent {"connection_id":128566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:33:04] local.INFO: TCP Data received {"connection_id":129457,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:33:04] local.INFO: Processing buffer {"connection_id":129457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:33:04] local.INFO: IMEI packet received {"connection_id":129457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":129457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:33:04] local.INFO: TCP Data received {"connection_id":130691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:33:04] local.INFO: Processing buffer {"connection_id":130691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:33:04] local.INFO: IMEI packet received {"connection_id":130691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":130691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:33:05] local.INFO: TCP Data received {"connection_id":130691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a00848012d1b57c0071f6cd8003b00481f..."} 
[2026-07-11 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a00848012d1b57c0071f6cd8003b00481f..."} 
[2026-07-11 15:33:05] local.INFO: Processing buffer {"connection_id":130691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a00848012d1b57c0071f6cd8003b00481f..."} 
[2026-07-11 15:33:05] local.INFO: Packet analysis {"connection_id":130691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a0"} 
[2026-07-11 15:33:05] local.INFO: Extracted packet for processing {"connection_id":130691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a0"} 
[2026-07-11 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756766656,"raw_latitude":119499992,"longitude_deg":75.6766656,"latitude_deg":11.9499992,"altitude":59,"angle":72,"satellites":31,"speed":9,"hex_longitude":"2d1b57c0","hex_latitude":"071f6cd8","is_valid_coordinates":true} 
[2026-07-11 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643607552001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5690548199358464,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392589869056,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783764093000,"timestamp_ms":1783764093000,"timestamp_seconds":1783764093,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a00848"} 
[2026-07-11 15:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 15:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:33:05] 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-07-11 15:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643607552001,"66":14211,"101":206,"83":41984,"24":9,"16":5690548199358464,"45":1970043392589869056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 15:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643607552001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:33:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 15:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5690548199358464,"km_value":5690548199358.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392589869056,"description":"Unknown IO ID 45"} 
[2026-07-11 15:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643607552001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1970043392589869056}} 
[2026-07-11 15:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":130691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:33:05] local.INFO: GPS data processed {"connection_id":130691,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:33:05] local.INFO: Acknowledgment sent {"connection_id":130691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:33:09] local.INFO: TCP Data received {"connection_id":129457,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:33:09] local.INFO: Processing buffer {"connection_id":129457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:33:09] local.INFO: IMEI packet received {"connection_id":129457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":129457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:33:10] local.INFO: TCP Data received {"connection_id":129457,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:33:10] local.INFO: Processing buffer {"connection_id":129457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:33:10] local.INFO: Packet analysis {"connection_id":129457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:33:10] local.INFO: Extracted packet for processing {"connection_id":129457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 15:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:33: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-07-11 15:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:33:10] 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-07-11 15:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:33:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":129457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:33:10] local.INFO: GPS data processed {"connection_id":129457,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:33:10] local.INFO: Acknowledgment sent {"connection_id":129457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:33:37] local.INFO: TCP Data received {"connection_id":130691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a01fb8012d1b5e00071f6e08003c00551f..."} 
[2026-07-11 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a01fb8012d1b5e00071f6e08003c00551f..."} 
[2026-07-11 15:33:37] local.INFO: Processing buffer {"connection_id":130691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a01fb8012d1b5e00071f6e08003c00551f..."} 
[2026-07-11 15:33:37] local.INFO: Packet analysis {"connection_id":130691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a0"} 
[2026-07-11 15:33:37] local.INFO: Extracted packet for processing {"connection_id":130691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a0"} 
[2026-07-11 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756768256,"raw_latitude":119500296,"longitude_deg":75.6768256,"latitude_deg":11.9500296,"altitude":60,"angle":85,"satellites":31,"speed":8,"hex_longitude":"2d1b5e00","hex_latitude":"071f6e08","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643607808001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5690625508769792,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970254498822412288,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783764099000,"timestamp_ms":1783764099000,"timestamp_seconds":1783764099,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a01fb8"} 
[2026-07-11 15:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 15:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:33:37] 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-07-11 15:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643607808001,"66":14265,"101":206,"83":41984,"24":8,"16":5690625508769792,"45":1970254498822412288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 15:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643607808001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:33:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 15:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5690625508769792,"km_value":5690625508769.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970254498822412288,"description":"Unknown IO ID 45"} 
[2026-07-11 15:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643607808001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1970254498822412288}} 
[2026-07-11 15:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":130691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:33:37] local.INFO: GPS data processed {"connection_id":130691,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:33:37] local.INFO: Acknowledgment sent {"connection_id":130691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:33:41] local.INFO: TCP Data received {"connection_id":129457,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:33:41] local.INFO: Processing buffer {"connection_id":129457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:33:41] local.INFO: Packet analysis {"connection_id":129457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:33:41] local.INFO: Extracted packet for processing {"connection_id":129457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:33:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 15:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:33: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-07-11 15:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:33: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-07-11 15:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:33:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":129457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:33:41] local.INFO: GPS data processed {"connection_id":129457,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:33:41] local.INFO: Acknowledgment sent {"connection_id":129457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:33:57] local.INFO: TCP Data received {"connection_id":129458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:33:57] local.INFO: Processing buffer {"connection_id":129458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:33:57] local.INFO: IMEI packet received {"connection_id":129458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":129458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:34:02] local.INFO: TCP Data received {"connection_id":129458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:34:02] local.INFO: Processing buffer {"connection_id":129458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:34:02] local.INFO: IMEI packet received {"connection_id":129458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":129458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:34:02] local.INFO: TCP Data received {"connection_id":129458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:34:02] local.INFO: Processing buffer {"connection_id":129458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:34:02] local.INFO: IMEI packet received {"connection_id":129458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":129458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:34:06] local.INFO: TCP Data received {"connection_id":129458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:34:06] local.INFO: Processing buffer {"connection_id":129458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:34:06] local.INFO: IMEI packet received {"connection_id":129458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":129458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:34:07] local.INFO: TCP Data received {"connection_id":129458,"ip":"42.106.6.20","data_length":1348,"data_hex":"000000000000030f8e0a0000019f50a14898012d1b7ec0071f7268003d003022..."} 
[2026-07-11 15:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129458,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f50a14898012d1b7ec0071f7268003d003022..."} 
[2026-07-11 15:34:07] local.INFO: Processing buffer {"connection_id":129458,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f50a14898012d1b7ec0071f7268003d003022..."} 
[2026-07-11 15:34:07] local.INFO: Packet analysis {"connection_id":129458,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f50a1"} 
[2026-07-11 15:34:07] local.INFO: Extracted packet for processing {"connection_id":129458,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f50a1"} 
[2026-07-11 15:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756776640,"raw_latitude":119501416,"longitude_deg":75.677664,"latitude_deg":11.9501416,"altitude":61,"angle":48,"satellites":34,"speed":5,"hex_longitude":"2d1b7ec0","hex_latitude":"071f7268","is_valid_coordinates":true} 
[2026-07-11 15:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643625472001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5691037825630208,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435565676544,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783764175000,"timestamp_ms":1783764175000,"timestamp_seconds":1783764175,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a14898"} 
[2026-07-11 15:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 15:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:34:07] 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-07-11 15:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643625472001,"66":14298,"101":206,"83":41984,"24":5,"16":5691037825630208,"45":1979402435565676544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 15:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643625472001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:34:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 15:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5691037825630208,"km_value":5691037825630.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435565676544,"description":"Unknown IO ID 45"} 
[2026-07-11 15:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643625472001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1979402435565676544}} 
[2026-07-11 15:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":129458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:34:07] local.INFO: GPS data processed {"connection_id":129458,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:34:07] local.INFO: Acknowledgment sent {"connection_id":129458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:34:07] local.INFO: Packet analysis {"connection_id":129458,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f50a1"} 
[2026-07-11 15:34:07] local.INFO: Incomplete packet, waiting for more data {"connection_id":129458,"needed":795,"available":553} 
[2026-07-11 15:34:08] local.INFO: TCP Data received {"connection_id":129458,"ip":"42.106.6.20","data_length":1037,"data_hex":"0000000000019f50a0fe60012d1b7480071f6ee00039006c1e00030000000a00..."} 
[2026-07-11 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129458,"packet_length":1037,"packet_hex":"0000000000019f50a0fe60012d1b7480071f6ee00039006c1e00030000000a00..."} 
[2026-07-11 15:34:08] local.INFO: Processing buffer {"connection_id":129458,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f50a15450012d1b8000071f7360003e003e22..."} 
[2026-07-11 15:34:08] local.INFO: Packet analysis {"connection_id":129458,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f50a1"} 
[2026-07-11 15:34:08] local.INFO: Extracted packet for processing {"connection_id":129458,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a1"} 
[2026-07-11 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756776960,"raw_latitude":119501664,"longitude_deg":75.677696,"latitude_deg":11.9501664,"altitude":62,"angle":62,"satellites":34,"speed":4,"hex_longitude":"2d1b8000","hex_latitude":"071f7360","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643628800001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5691059300466688,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981232022914492416,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783764178000,"timestamp_ms":1783764178000,"timestamp_seconds":1783764178,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a15450"} 
[2026-07-11 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-07-11 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 15:34:08] 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-07-11 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-07-11 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-07-11 15:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:34:08] 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-07-11 15:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643628800001,"66":14341,"101":206,"83":41984,"24":4,"16":5691059300466688,"45":1981232022914492416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 15:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643628800001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:34:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 15:34:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5691059300466688,"km_value":5691059300466.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981232022914492416,"description":"Unknown IO ID 45"} 
[2026-07-11 15:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643628800001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1981232022914492416}} 
[2026-07-11 15:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":129458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:34:08] local.INFO: GPS data processed {"connection_id":129458,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:34:08] local.INFO: Acknowledgment sent {"connection_id":129458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:34:08] local.INFO: Packet analysis {"connection_id":129458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a1"} 
[2026-07-11 15:34:08] local.INFO: Extracted packet for processing {"connection_id":129458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a1"} 
[2026-07-11 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756777792,"raw_latitude":119502240,"longitude_deg":75.6777792,"latitude_deg":11.950224,"altitude":65,"angle":73,"satellites":34,"speed":3,"hex_longitude":"2d1b8340","hex_latitude":"071f75a0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643629568001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5691106545106944,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981583866635444224,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783764186000,"timestamp_ms":1783764186000,"timestamp_seconds":1783764186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a17390"} 
[2026-07-11 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-07-11 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6967828734,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966648,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503686463684608,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2701793281,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2147950446,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84754155168014190,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.WARNING: Large IO value detected {"io_id":224,"raw_value":16044538032292608,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:08] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,55,159,72,45,192,114,61,34,10,66,21,64,111,57,32,17,1,240,138,227,80,31,4,113,205,5,6,117,216,239,2,20,7,3,206,96,224],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-11 15:34:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467639146101604352,"timestamp_seconds":4467639146101604.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 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-07-11 15:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:34:08] 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-07-11 15:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643629568001,"66":14070,"101":206,"83":41984,"24":3,"16":5691106545106944,"45":1981583866635444224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-11 15:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643629568001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:34:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 15:34:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5691106545106944,"km_value":5691106545106.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981583866635444224,"description":"Unknown IO ID 45"} 
[2026-07-11 15:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643629568001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1981583866635444224}} 
[2026-07-11 15:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":129458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:34:08] local.INFO: GPS data processed {"connection_id":129458,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:34:08] local.INFO: Acknowledgment sent {"connection_id":129458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:34:09] local.INFO: TCP Data received {"connection_id":130692,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:34:09] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:34:09] local.INFO: IMEI packet received {"connection_id":130692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":130692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:34:10] local.INFO: TCP Data received {"connection_id":128567,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:34:10] local.INFO: Processing buffer {"connection_id":128567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:34:10] local.INFO: IMEI packet received {"connection_id":128567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":128567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:34:14] local.INFO: TCP Data received {"connection_id":130692,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:34:14] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:34:14] local.INFO: IMEI packet received {"connection_id":130692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":130692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:34:15] local.INFO: TCP Data received {"connection_id":130692,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:34:15] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:34:15] local.INFO: Packet analysis {"connection_id":130692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:34:15] local.INFO: Extracted packet for processing {"connection_id":130692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:34:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 15:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:34:15] 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-07-11 15:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:34:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:34:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":130692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:34:15] local.INFO: GPS data processed {"connection_id":130692,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:34:15] local.INFO: Acknowledgment sent {"connection_id":130692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:34:19] local.INFO: TCP Data received {"connection_id":130692,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:34:19] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:34:19] local.INFO: Packet analysis {"connection_id":130692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:34:19] local.INFO: Extracted packet for processing {"connection_id":130692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 15:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:34:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:34:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:34:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":130692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:34:19] local.INFO: GPS data processed {"connection_id":130692,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:34:19] local.INFO: Acknowledgment sent {"connection_id":130692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:34:50] local.INFO: TCP Data received {"connection_id":129459,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:34:50] local.INFO: Processing buffer {"connection_id":129459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:34:50] local.INFO: IMEI packet received {"connection_id":129459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":129459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:35:04] local.INFO: TCP Data received {"connection_id":128745,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:35:04] local.INFO: Processing buffer {"connection_id":128745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:35:04] local.INFO: IMEI packet received {"connection_id":128745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:35:09] local.INFO: TCP Data received {"connection_id":128745,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:35:09] local.INFO: Processing buffer {"connection_id":128745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:35:09] local.INFO: IMEI packet received {"connection_id":128745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":128745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:35:10] local.INFO: TCP Data received {"connection_id":128745,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:35:10] local.INFO: Processing buffer {"connection_id":128745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:35:10] local.INFO: Packet analysis {"connection_id":128745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:35:10] local.INFO: Extracted packet for processing {"connection_id":128745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 15:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:35:10] 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-07-11 15:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:35:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":128745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:35:10] local.INFO: GPS data processed {"connection_id":128745,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:35:10] local.INFO: Acknowledgment sent {"connection_id":128745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:35:41] local.INFO: TCP Data received {"connection_id":128745,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:35:41] local.INFO: Processing buffer {"connection_id":128745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:35:41] local.INFO: Packet analysis {"connection_id":128745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:35:41] local.INFO: Extracted packet for processing {"connection_id":128745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 15:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:35: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-07-11 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:35: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-07-11 15:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:35:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":128745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:35:41] local.INFO: GPS data processed {"connection_id":128745,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:35:41] local.INFO: Acknowledgment sent {"connection_id":128745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:36:04] local.INFO: TCP Data received {"connection_id":129460,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:36:04] local.INFO: Processing buffer {"connection_id":129460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:36:04] local.INFO: IMEI packet received {"connection_id":129460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":129460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:36:09] local.INFO: TCP Data received {"connection_id":129460,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:36:09] local.INFO: Processing buffer {"connection_id":129460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:36:09] local.INFO: IMEI packet received {"connection_id":129460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":129460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:36:10] local.INFO: TCP Data received {"connection_id":129460,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:36:10] local.INFO: Processing buffer {"connection_id":129460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f509f5498012cb29c0007823c60004500b32e..."} 
[2026-07-11 15:36:10] local.INFO: Packet analysis {"connection_id":129460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:36:10] local.INFO: Extracted packet for processing {"connection_id":129460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f509f"} 
[2026-07-11 15:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":69,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643518976001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764047000,"timestamp_ms":1783764047000,"timestamp_seconds":1783764047,"priority":1,"record_length":96,"hex_timestamp":"0000019f509f5498"} 
[2026-07-11 15:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:36: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-07-11 15:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:36:10] 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-07-11 15:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643518976001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643518976001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:36:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643518976001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":129460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:36:10] local.INFO: GPS data processed {"connection_id":129460,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:36:10] local.INFO: Acknowledgment sent {"connection_id":129460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:36:41] local.INFO: TCP Data received {"connection_id":129460,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:36:41] local.INFO: Processing buffer {"connection_id":129460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:36:41] local.INFO: Packet analysis {"connection_id":129460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:36:41] local.INFO: Extracted packet for processing {"connection_id":129460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643596032001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764348000,"timestamp_ms":1783764348000,"timestamp_seconds":1783764348,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a3ec60"} 
[2026-07-11 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-07-11 15:36: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-07-11 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":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:36: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-07-11 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-07-11 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-07-11 15:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643596032001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643596032001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:36:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643596032001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":129460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:36:41] local.INFO: GPS data processed {"connection_id":129460,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:36:41] local.INFO: Acknowledgment sent {"connection_id":129460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:37:34] local.INFO: TCP Data received {"connection_id":128747,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:37:34] local.INFO: Processing buffer {"connection_id":128747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:37:34] local.INFO: IMEI packet received {"connection_id":128747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":128747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:37:39] local.INFO: TCP Data received {"connection_id":128747,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:37:39] local.INFO: Processing buffer {"connection_id":128747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:37:39] local.INFO: IMEI packet received {"connection_id":128747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":128747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:37:40] local.INFO: TCP Data received {"connection_id":128747,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:37:40] local.INFO: Processing buffer {"connection_id":128747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:37:40] local.INFO: Packet analysis {"connection_id":128747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:37:40] local.INFO: Extracted packet for processing {"connection_id":128747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643596032001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783764348000,"timestamp_ms":1783764348000,"timestamp_seconds":1783764348,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a3ec60"} 
[2026-07-11 15:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:37: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-07-11 15: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:37: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-07-11 15: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-07-11 15:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643596032001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643596032001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:37:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643596032001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":128747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:37:40] local.INFO: GPS data processed {"connection_id":128747,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:37:40] local.INFO: Acknowledgment sent {"connection_id":128747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:38:04] local.INFO: TCP Data received {"connection_id":129462,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:38:04] local.INFO: Processing buffer {"connection_id":129462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:38:04] local.INFO: IMEI packet received {"connection_id":129462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":129462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:38:09] local.INFO: TCP Data received {"connection_id":129462,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:38:09] local.INFO: Processing buffer {"connection_id":129462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:38:09] local.INFO: IMEI packet received {"connection_id":129462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":129462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:38:10] local.INFO: TCP Data received {"connection_id":129462,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:38:10] local.INFO: Processing buffer {"connection_id":129462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:38:10] local.INFO: Packet analysis {"connection_id":129462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:38:10] local.INFO: Extracted packet for processing {"connection_id":129462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643596032001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764348000,"timestamp_ms":1783764348000,"timestamp_seconds":1783764348,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a3ec60"} 
[2026-07-11 15:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643596032001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643596032001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:38:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643596032001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":129462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:38:10] local.INFO: GPS data processed {"connection_id":129462,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:38:10] local.INFO: Acknowledgment sent {"connection_id":129462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:38:41] local.INFO: TCP Data received {"connection_id":129462,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:38:41] local.INFO: Processing buffer {"connection_id":129462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:38:41] local.INFO: Packet analysis {"connection_id":129462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:38:41] local.INFO: Extracted packet for processing {"connection_id":129462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643596032001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764348000,"timestamp_ms":1783764348000,"timestamp_seconds":1783764348,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a3ec60"} 
[2026-07-11 15:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:38: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-07-11 15:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:38: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-07-11 15:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643596032001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643596032001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:38:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643596032001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":129462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:38:41] local.INFO: GPS data processed {"connection_id":129462,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:38:41] local.INFO: Acknowledgment sent {"connection_id":129462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:39:09] local.INFO: TCP Data received {"connection_id":128568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:39:09] local.INFO: Processing buffer {"connection_id":128568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:39:09] local.INFO: IMEI packet received {"connection_id":128568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":128568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:39:14] local.INFO: TCP Data received {"connection_id":128568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:39:14] local.INFO: Processing buffer {"connection_id":128568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:39:14] local.INFO: IMEI packet received {"connection_id":128568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":128568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:39:15] local.INFO: TCP Data received {"connection_id":128568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:39:15] local.INFO: Processing buffer {"connection_id":128568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:39:15] local.INFO: Packet analysis {"connection_id":128568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:39:15] local.INFO: Extracted packet for processing {"connection_id":128568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:39:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643596032001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783764348000,"timestamp_ms":1783764348000,"timestamp_seconds":1783764348,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a3ec60"} 
[2026-07-11 15:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643596032001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643596032001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:39:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:39:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643596032001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":128568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:39:15] local.INFO: GPS data processed {"connection_id":128568,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:39:15] local.INFO: Acknowledgment sent {"connection_id":128568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:39:19] local.INFO: TCP Data received {"connection_id":128568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:39:19] local.INFO: Processing buffer {"connection_id":128568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:39:19] local.INFO: Packet analysis {"connection_id":128568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:39:19] local.INFO: Extracted packet for processing {"connection_id":128568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:39:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643596032001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:39:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783764348000,"timestamp_ms":1783764348000,"timestamp_seconds":1783764348,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a3ec60"} 
[2026-07-11 15:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643596032001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643596032001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:39:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:39:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643596032001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":128568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:39:19] local.INFO: GPS data processed {"connection_id":128568,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:39:19] local.INFO: Acknowledgment sent {"connection_id":128568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:40:04] local.INFO: TCP Data received {"connection_id":128750,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:40:04] local.INFO: Processing buffer {"connection_id":128750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:40:04] local.INFO: IMEI packet received {"connection_id":128750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":128750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:40:09] local.INFO: TCP Data received {"connection_id":128750,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:40:09] local.INFO: Processing buffer {"connection_id":128750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:40:09] local.INFO: IMEI packet received {"connection_id":128750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":128750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:40:10] local.INFO: TCP Data received {"connection_id":128750,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:40:10] local.INFO: Processing buffer {"connection_id":128750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:40:10] local.INFO: Packet analysis {"connection_id":128750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:40:10] local.INFO: Extracted packet for processing {"connection_id":128750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643596032001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764348000,"timestamp_ms":1783764348000,"timestamp_seconds":1783764348,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a3ec60"} 
[2026-07-11 15:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:40: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-07-11 15:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643596032001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643596032001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:40:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643596032001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":128750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:40:10] local.INFO: GPS data processed {"connection_id":128750,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:40:10] local.INFO: Acknowledgment sent {"connection_id":128750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:40:15] local.INFO: TCP Data received {"connection_id":128749,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:40:15] local.INFO: Processing buffer {"connection_id":128749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:40:15] local.INFO: IMEI packet received {"connection_id":128749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":128749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:40:41] local.INFO: TCP Data received {"connection_id":128750,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:40:41] local.INFO: Processing buffer {"connection_id":128750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:40:41] local.INFO: Packet analysis {"connection_id":128750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:40:41] local.INFO: Extracted packet for processing {"connection_id":128750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643596032001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764348000,"timestamp_ms":1783764348000,"timestamp_seconds":1783764348,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a3ec60"} 
[2026-07-11 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-07-11 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:40: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-07-11 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-07-11 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-07-11 15:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643596032001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643596032001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:40:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643596032001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":128750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:40:41] local.INFO: GPS data processed {"connection_id":128750,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:40:41] local.INFO: Acknowledgment sent {"connection_id":128750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:40:45] local.INFO: TCP Data received {"connection_id":130694,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:40:45] local.INFO: Processing buffer {"connection_id":130694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:40:45] local.INFO: IMEI packet received {"connection_id":130694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":130694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:41:04] local.INFO: TCP Data received {"connection_id":130695,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:41:04] local.INFO: Processing buffer {"connection_id":130695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:41:04] local.INFO: IMEI packet received {"connection_id":130695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":130695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:41:09] local.INFO: TCP Data received {"connection_id":130695,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:41:09] local.INFO: Processing buffer {"connection_id":130695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:41:09] local.INFO: IMEI packet received {"connection_id":130695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":130695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:41:10] local.INFO: TCP Data received {"connection_id":130695,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:41:10] local.INFO: Processing buffer {"connection_id":130695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a3ec60012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:41:10] local.INFO: Packet analysis {"connection_id":130695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:41:10] local.INFO: Extracted packet for processing {"connection_id":130695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a3"} 
[2026-07-11 15:41:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643596032001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764348000,"timestamp_ms":1783764348000,"timestamp_seconds":1783764348,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a3ec60"} 
[2026-07-11 15:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:41: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-07-11 15: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643596032001,"66":25441,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643596032001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:41:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643596032001,"power":25441,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":130695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:41:10] local.INFO: GPS data processed {"connection_id":130695,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:41:10] local.INFO: Acknowledgment sent {"connection_id":130695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:41:40] local.INFO: TCP Data received {"connection_id":130695,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:41:40] local.INFO: Processing buffer {"connection_id":130695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:41:40] local.INFO: Packet analysis {"connection_id":130695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:41:40] local.INFO: Extracted packet for processing {"connection_id":130695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:41:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:41:40] 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-07-11 15: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-07-11 15:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:41:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":130695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:41:40] local.INFO: GPS data processed {"connection_id":130695,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:41:40] local.INFO: Acknowledgment sent {"connection_id":130695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:42:04] local.INFO: TCP Data received {"connection_id":128570,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:42:04] local.INFO: Processing buffer {"connection_id":128570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:42:04] local.INFO: IMEI packet received {"connection_id":128570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":128570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:42:09] local.INFO: TCP Data received {"connection_id":128570,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:42:09] local.INFO: Processing buffer {"connection_id":128570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:42:09] local.INFO: IMEI packet received {"connection_id":128570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":128570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:42:10] local.INFO: TCP Data received {"connection_id":128570,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:42:10] local.INFO: Processing buffer {"connection_id":128570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:42:10] local.INFO: Packet analysis {"connection_id":128570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:42:10] local.INFO: Extracted packet for processing {"connection_id":128570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:42: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-07-11 15:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:42:10] 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-07-11 15:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:42:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":128570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:42:10] local.INFO: GPS data processed {"connection_id":128570,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:42:10] local.INFO: Acknowledgment sent {"connection_id":128570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:42:41] local.INFO: TCP Data received {"connection_id":128570,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:42:41] local.INFO: Processing buffer {"connection_id":128570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:42:41] local.INFO: Packet analysis {"connection_id":128570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:42:41] local.INFO: Extracted packet for processing {"connection_id":128570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:42: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-07-11 15:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:42: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-07-11 15:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:42:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":128570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:42:41] local.INFO: GPS data processed {"connection_id":128570,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:42:41] local.INFO: Acknowledgment sent {"connection_id":128570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:43:09] local.INFO: TCP Data received {"connection_id":128751,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:43:09] local.INFO: Processing buffer {"connection_id":128751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:43:09] local.INFO: IMEI packet received {"connection_id":128751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":128751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:43:14] local.INFO: TCP Data received {"connection_id":128751,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:43:14] local.INFO: Processing buffer {"connection_id":128751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:43:14] local.INFO: IMEI packet received {"connection_id":128751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":128751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:43:15] local.INFO: TCP Data received {"connection_id":128751,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:43:15] local.INFO: Processing buffer {"connection_id":128751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:43:15] local.INFO: Packet analysis {"connection_id":128751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:43:15] local.INFO: Extracted packet for processing {"connection_id":128751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:43:15] 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-07-11 15:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:43:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:43:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":128751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:43:15] local.INFO: GPS data processed {"connection_id":128751,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:43:15] local.INFO: Acknowledgment sent {"connection_id":128751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:43:19] local.INFO: TCP Data received {"connection_id":128751,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:43:19] local.INFO: Processing buffer {"connection_id":128751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:43:19] local.INFO: Packet analysis {"connection_id":128751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:43:19] local.INFO: Extracted packet for processing {"connection_id":128751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:43:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:43:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":128751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:43:19] local.INFO: GPS data processed {"connection_id":128751,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:43:19] local.INFO: Acknowledgment sent {"connection_id":128751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:44:04] local.INFO: TCP Data received {"connection_id":128753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:44:04] local.INFO: Processing buffer {"connection_id":128753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:44:04] local.INFO: IMEI packet received {"connection_id":128753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":128753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:44:09] local.INFO: TCP Data received {"connection_id":128753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:44:09] local.INFO: Processing buffer {"connection_id":128753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:44:09] local.INFO: IMEI packet received {"connection_id":128753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":128753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:44:10] local.INFO: TCP Data received {"connection_id":128753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:44:10] local.INFO: Processing buffer {"connection_id":128753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:44:10] local.INFO: Packet analysis {"connection_id":128753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:44:10] local.INFO: Extracted packet for processing {"connection_id":128753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:44: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-07-11 15: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:44:10] 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-07-11 15:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:44:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":128753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:44:10] local.INFO: GPS data processed {"connection_id":128753,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:44:10] local.INFO: Acknowledgment sent {"connection_id":128753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:44:41] local.INFO: TCP Data received {"connection_id":128753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:44:41] local.INFO: Processing buffer {"connection_id":128753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:44:41] local.INFO: Packet analysis {"connection_id":128753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:44:41] local.INFO: Extracted packet for processing {"connection_id":128753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:44: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-07-11 15:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:44: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-07-11 15:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:44:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":128753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:44:41] local.INFO: GPS data processed {"connection_id":128753,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:44:41] local.INFO: Acknowledgment sent {"connection_id":128753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:45:04] local.INFO: TCP Data received {"connection_id":129464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:45:04] local.INFO: Processing buffer {"connection_id":129464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:45:04] local.INFO: IMEI packet received {"connection_id":129464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":129464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:45:09] local.INFO: TCP Data received {"connection_id":129464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:45:09] local.INFO: Processing buffer {"connection_id":129464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:45:09] local.INFO: IMEI packet received {"connection_id":129464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":129464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:45:10] local.INFO: TCP Data received {"connection_id":129464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:45:10] local.INFO: Processing buffer {"connection_id":129464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:45:10] local.INFO: Packet analysis {"connection_id":129464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:45:10] local.INFO: Extracted packet for processing {"connection_id":129464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:45: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-07-11 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:45:10] 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-07-11 15:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:45:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":129464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:45:10] local.INFO: GPS data processed {"connection_id":129464,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:45:10] local.INFO: Acknowledgment sent {"connection_id":129464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:45:41] local.INFO: TCP Data received {"connection_id":129464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:45:41] local.INFO: Processing buffer {"connection_id":129464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:45:41] local.INFO: Packet analysis {"connection_id":129464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:45:41] local.INFO: Extracted packet for processing {"connection_id":129464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:45: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-07-11 15: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":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:45: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-07-11 15:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:45:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":129464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:45:41] local.INFO: GPS data processed {"connection_id":129464,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:45:41] local.INFO: Acknowledgment sent {"connection_id":129464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:46:04] local.INFO: TCP Data received {"connection_id":128571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:46:04] local.INFO: Processing buffer {"connection_id":128571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:46:04] local.INFO: IMEI packet received {"connection_id":128571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":128571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:46:09] local.INFO: TCP Data received {"connection_id":128571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:46:09] local.INFO: Processing buffer {"connection_id":128571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:46:09] local.INFO: IMEI packet received {"connection_id":128571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":128571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:46:10] local.INFO: TCP Data received {"connection_id":128571,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:46:10] local.INFO: Processing buffer {"connection_id":128571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50a88428012cb29c0007823c60004300b32e..."} 
[2026-07-11 15:46:10] local.INFO: Packet analysis {"connection_id":128571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:46:10] local.INFO: Extracted packet for processing {"connection_id":128571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50a8"} 
[2026-07-11 15:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643673088001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764649000,"timestamp_ms":1783764649000,"timestamp_seconds":1783764649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50a88428"} 
[2026-07-11 15:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:46: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-07-11 15:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 15:46:10] 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-07-11 15:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643673088001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643673088001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:46:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643673088001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":128571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:46:10] local.INFO: GPS data processed {"connection_id":128571,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:46:10] local.INFO: Acknowledgment sent {"connection_id":128571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:46:12] local.INFO: TCP Data received {"connection_id":129465,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:46:12] local.INFO: Processing buffer {"connection_id":129465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:46:12] local.INFO: IMEI packet received {"connection_id":129465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":129465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:46:41] local.INFO: TCP Data received {"connection_id":128571,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:46:41] local.INFO: Processing buffer {"connection_id":128571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:46:41] local.INFO: Packet analysis {"connection_id":128571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:46:41] local.INFO: Extracted packet for processing {"connection_id":128571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:46: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-07-11 15:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:46: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-07-11 15:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:46:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":128571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:46:41] local.INFO: GPS data processed {"connection_id":128571,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:46:41] local.INFO: Acknowledgment sent {"connection_id":128571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:46:42] local.INFO: TCP Data received {"connection_id":130697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:46:42] local.INFO: Processing buffer {"connection_id":130697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:46:42] local.INFO: IMEI packet received {"connection_id":130697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":130697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:47:04] local.INFO: TCP Data received {"connection_id":128754,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:47:04] local.INFO: Processing buffer {"connection_id":128754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:47:04] local.INFO: IMEI packet received {"connection_id":128754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:47:09] local.INFO: TCP Data received {"connection_id":128754,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:47:09] local.INFO: Processing buffer {"connection_id":128754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:47:09] local.INFO: IMEI packet received {"connection_id":128754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":128754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:47:10] local.INFO: TCP Data received {"connection_id":128754,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:47:10] local.INFO: Processing buffer {"connection_id":128754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:47:10] local.INFO: Packet analysis {"connection_id":128754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:47:10] local.INFO: Extracted packet for processing {"connection_id":128754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:47: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-07-11 15:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:47:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":128754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:47:10] local.INFO: GPS data processed {"connection_id":128754,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:47:10] local.INFO: Acknowledgment sent {"connection_id":128754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:47:41] local.INFO: TCP Data received {"connection_id":128754,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:47:41] local.INFO: Processing buffer {"connection_id":128754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:47:41] local.INFO: Packet analysis {"connection_id":128754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:47:41] local.INFO: Extracted packet for processing {"connection_id":128754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:47: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-07-11 15: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:47: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-07-11 15:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:47:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":128754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:47:41] local.INFO: GPS data processed {"connection_id":128754,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:47:41] local.INFO: Acknowledgment sent {"connection_id":128754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:48:09] local.INFO: TCP Data received {"connection_id":129467,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:48:09] local.INFO: Processing buffer {"connection_id":129467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:48:09] local.INFO: IMEI packet received {"connection_id":129467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":129467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:48:14] local.INFO: TCP Data received {"connection_id":129467,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:48:14] local.INFO: Processing buffer {"connection_id":129467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:48:14] local.INFO: IMEI packet received {"connection_id":129467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":129467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:48:15] local.INFO: TCP Data received {"connection_id":129467,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:48:15] local.INFO: Processing buffer {"connection_id":129467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:48:15] local.INFO: Packet analysis {"connection_id":129467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:48:15] local.INFO: Extracted packet for processing {"connection_id":129467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:48:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:48:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:48:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:48:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:48:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":129467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:48:15] local.INFO: GPS data processed {"connection_id":129467,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:48:15] local.INFO: Acknowledgment sent {"connection_id":129467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:48:19] local.INFO: TCP Data received {"connection_id":129467,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:48:19] local.INFO: Processing buffer {"connection_id":129467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:48:19] local.INFO: Packet analysis {"connection_id":129467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:48:19] local.INFO: Extracted packet for processing {"connection_id":129467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:48:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:48:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:48:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:48:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:48:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":129467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:48:19] local.INFO: GPS data processed {"connection_id":129467,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:48:19] local.INFO: Acknowledgment sent {"connection_id":129467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:49:04] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:49:04] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:49:04] local.INFO: IMEI packet received {"connection_id":130698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":130698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:49:09] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:49:09] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:49:09] local.INFO: IMEI packet received {"connection_id":130698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":130698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:49:10] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:49:10] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:49:10] local.INFO: Packet analysis {"connection_id":130698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:49:10] local.INFO: Extracted packet for processing {"connection_id":130698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:49: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-07-11 15:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:49:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":130698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:49:10] local.INFO: GPS data processed {"connection_id":130698,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:49:10] local.INFO: Acknowledgment sent {"connection_id":130698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:49:41] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:49:41] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:49:41] local.INFO: Packet analysis {"connection_id":130698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:49:41] local.INFO: Extracted packet for processing {"connection_id":130698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:49: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-07-11 15:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:49:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:49:41] local.INFO: GPS data processed {"connection_id":130698,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:49:41] local.INFO: Acknowledgment sent {"connection_id":130698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:50:04] local.INFO: TCP Data received {"connection_id":128573,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:50:04] local.INFO: Processing buffer {"connection_id":128573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:50:04] local.INFO: IMEI packet received {"connection_id":128573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":128573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:50:09] local.INFO: TCP Data received {"connection_id":128573,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:50:09] local.INFO: Processing buffer {"connection_id":128573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:50:09] local.INFO: IMEI packet received {"connection_id":128573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":128573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:50:10] local.INFO: TCP Data received {"connection_id":128573,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:50:10] local.INFO: Processing buffer {"connection_id":128573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:50:10] local.INFO: Packet analysis {"connection_id":128573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:50:10] local.INFO: Extracted packet for processing {"connection_id":128573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:50: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-07-11 15:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:50:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":128573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:50:10] local.INFO: GPS data processed {"connection_id":128573,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:50:10] local.INFO: Acknowledgment sent {"connection_id":128573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:50:41] local.INFO: TCP Data received {"connection_id":128573,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:50:41] local.INFO: Processing buffer {"connection_id":128573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:50:41] local.INFO: Packet analysis {"connection_id":128573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:50:41] local.INFO: Extracted packet for processing {"connection_id":128573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:50: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-07-11 15:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:50: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-07-11 15:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:50:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":128573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:50:41] local.INFO: GPS data processed {"connection_id":128573,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:50:41] local.INFO: Acknowledgment sent {"connection_id":128573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:51:04] local.INFO: TCP Data received {"connection_id":128756,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:51:04] local.INFO: Processing buffer {"connection_id":128756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:51:04] local.INFO: IMEI packet received {"connection_id":128756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":128756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:51:09] local.INFO: TCP Data received {"connection_id":128756,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:51:09] local.INFO: Processing buffer {"connection_id":128756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:51:09] local.INFO: IMEI packet received {"connection_id":128756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":128756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:51:10] local.INFO: TCP Data received {"connection_id":128756,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:51:10] local.INFO: Processing buffer {"connection_id":128756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ad1bf0012cb29c0007823c60004d00b32b..."} 
[2026-07-11 15:51:10] local.INFO: Packet analysis {"connection_id":128756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:51:10] local.INFO: Extracted packet for processing {"connection_id":128756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ad"} 
[2026-07-11 15:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":77,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643750144001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783764950000,"timestamp_ms":1783764950000,"timestamp_seconds":1783764950,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ad1bf0"} 
[2026-07-11 15:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:51: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-07-11 15:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643750144001,"66":24864,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643750144001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:51:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643750144001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":128756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:51:10] local.INFO: GPS data processed {"connection_id":128756,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:51:10] local.INFO: Acknowledgment sent {"connection_id":128756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:51:41] local.INFO: TCP Data received {"connection_id":128756,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:51:41] local.INFO: Processing buffer {"connection_id":128756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:51:41] local.INFO: Packet analysis {"connection_id":128756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:51:41] local.INFO: Extracted packet for processing {"connection_id":128756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:51: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-07-11 15: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:51:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":128756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:51:41] local.INFO: GPS data processed {"connection_id":128756,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:51:41] local.INFO: Acknowledgment sent {"connection_id":128756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:52:04] local.INFO: TCP Data received {"connection_id":129469,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:52:04] local.INFO: Processing buffer {"connection_id":129469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:52:04] local.INFO: IMEI packet received {"connection_id":129469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":129469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:52:09] local.INFO: TCP Data received {"connection_id":129469,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:52:09] local.INFO: Processing buffer {"connection_id":129469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:52:09] local.INFO: IMEI packet received {"connection_id":129469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":129469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:52:10] local.INFO: TCP Data received {"connection_id":129469,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:52:10] local.INFO: Processing buffer {"connection_id":129469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:52:10] local.INFO: Packet analysis {"connection_id":129469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:52:10] local.INFO: Extracted packet for processing {"connection_id":129469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:52: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-07-11 15:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:52:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":129469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:52:10] local.INFO: GPS data processed {"connection_id":129469,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:52:10] local.INFO: Acknowledgment sent {"connection_id":129469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:52:19] local.INFO: TCP Data received {"connection_id":128575,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:19] local.INFO: Processing buffer {"connection_id":128575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:19] local.INFO: IMEI packet received {"connection_id":128575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":128575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:52:20] local.INFO: TCP Data received {"connection_id":128575,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:20] local.INFO: Processing buffer {"connection_id":128575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:20] local.INFO: IMEI packet received {"connection_id":128575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":128575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:52:20] local.INFO: TCP Data received {"connection_id":128574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:52:20] local.INFO: Processing buffer {"connection_id":128574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:52:20] local.INFO: IMEI packet received {"connection_id":128574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":128574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:52:23] local.INFO: TCP Data received {"connection_id":128575,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:23] local.INFO: Processing buffer {"connection_id":128575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:23] local.INFO: IMEI packet received {"connection_id":128575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":128575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:52:24] local.INFO: TCP Data received {"connection_id":128575,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b253e0012d18d0c007212ac8004a015620..."} 
[2026-07-11 15:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b253e0012d18d0c007212ac8004a015620..."} 
[2026-07-11 15:52:24] local.INFO: Processing buffer {"connection_id":128575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b253e0012d18d0c007212ac8004a015620..."} 
[2026-07-11 15:52:24] local.INFO: Packet analysis {"connection_id":128575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b2"} 
[2026-07-11 15:52:24] local.INFO: Extracted packet for processing {"connection_id":128575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b2"} 
[2026-07-11 15:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119614152,"longitude_deg":75.6601024,"latitude_deg":11.9614152,"altitude":74,"angle":342,"satellites":32,"speed":32,"hex_longitude":"2d18d0c0","hex_latitude":"07212ac8","is_valid_coordinates":true} 
[2026-07-11 15:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643913216001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5708131795468288,"note":"Value kept but may cause issues"} 
[2026-07-11 15:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406912000,"note":"Value kept but may cause issues"} 
[2026-07-11 15:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783765292000,"timestamp_ms":1783765292000,"timestamp_seconds":1783765292,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b253e0"} 
[2026-07-11 15:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 15:52:24] 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-07-11 15:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:52:24] 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-07-11 15:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643913216001,"66":13961,"106":206,"83":41984,"24":32,"16":5708131795468288,"45":1788280926406912000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 15:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643913216001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:52:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 15:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5708131795468288,"km_value":5708131795468.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406912000,"description":"Unknown IO ID 45"} 
[2026-07-11 15:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643913216001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1788280926406912000}} 
[2026-07-11 15:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":128575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:52:24] local.INFO: GPS data processed {"connection_id":128575,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:52:24] local.INFO: Acknowledgment sent {"connection_id":128575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:52:41] local.INFO: TCP Data received {"connection_id":129469,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:52:41] local.INFO: Processing buffer {"connection_id":129469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:52:41] local.INFO: Packet analysis {"connection_id":129469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:52:41] local.INFO: Extracted packet for processing {"connection_id":129469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:52: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-07-11 15:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:52:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":129469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:52:41] local.INFO: GPS data processed {"connection_id":129469,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:52:41] local.INFO: Acknowledgment sent {"connection_id":129469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:52:50] local.INFO: TCP Data received {"connection_id":128576,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:52:50] local.INFO: Processing buffer {"connection_id":128576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:52:50] local.INFO: IMEI packet received {"connection_id":128576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":128576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:52:59] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:59] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:52:59] local.INFO: IMEI packet received {"connection_id":130700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":130700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:53:00] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:00] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:00] local.INFO: IMEI packet received {"connection_id":130700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":130700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:53:02] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:02] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:02] local.INFO: IMEI packet received {"connection_id":130700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":130700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:53:04] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:04] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:04] local.INFO: IMEI packet received {"connection_id":130700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":130700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:53:05] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b25bb0012d18cdc007213058004a014720..."} 
[2026-07-11 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b25bb0012d18cdc007213058004a014720..."} 
[2026-07-11 15:53:05] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b25bb0012d18cdc007213058004a014720..."} 
[2026-07-11 15:53:05] local.INFO: Packet analysis {"connection_id":130700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b2"} 
[2026-07-11 15:53:05] local.INFO: Extracted packet for processing {"connection_id":130700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b2"} 
[2026-07-11 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756600256,"raw_latitude":119615576,"longitude_deg":75.6600256,"latitude_deg":11.9615576,"altitude":74,"angle":327,"satellites":32,"speed":32,"hex_longitude":"2d18cdc0","hex_latitude":"07213058","is_valid_coordinates":true} 
[2026-07-11 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643914752001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5708213399846912,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188919842816,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:05] 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-07-11 15:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783765294000,"timestamp_ms":1783765294000,"timestamp_seconds":1783765294,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b25bb0"} 
[2026-07-11 15:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 15:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:53:05] 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-07-11 15:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643914752001,"66":13928,"106":206,"83":41984,"24":32,"16":5708213399846912,"45":1788140188919842816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-11 15:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643914752001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:53:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-11 15:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5708213399846912,"km_value":5708213399846.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188919842816,"description":"Unknown IO ID 45"} 
[2026-07-11 15:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643914752001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1788140188919842816}} 
[2026-07-11 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":130700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:53:05] local.INFO: GPS data processed {"connection_id":130700,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:53:05] local.INFO: Acknowledgment sent {"connection_id":130700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:53:09] local.INFO: TCP Data received {"connection_id":130701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:53:09] local.INFO: Processing buffer {"connection_id":130701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:53:09] local.INFO: IMEI packet received {"connection_id":130701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":130701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:53:14] local.INFO: TCP Data received {"connection_id":130701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:53:14] local.INFO: Processing buffer {"connection_id":130701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:53:14] local.INFO: IMEI packet received {"connection_id":130701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":130701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:53:15] local.INFO: TCP Data received {"connection_id":130701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:53:15] local.INFO: Processing buffer {"connection_id":130701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:53:15] local.INFO: Packet analysis {"connection_id":130701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:53:15] local.INFO: Extracted packet for processing {"connection_id":130701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:53:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:53:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":130701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:53:15] local.INFO: GPS data processed {"connection_id":130701,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:53:15] local.INFO: Acknowledgment sent {"connection_id":130701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:53:19] local.INFO: TCP Data received {"connection_id":130701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:53:19] local.INFO: Processing buffer {"connection_id":130701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:53:19] local.INFO: Packet analysis {"connection_id":130701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:53:19] local.INFO: Extracted packet for processing {"connection_id":130701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:53:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:53:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":130701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:53:19] local.INFO: GPS data processed {"connection_id":130701,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:53:19] local.INFO: Acknowledgment sent {"connection_id":130701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:53:36] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b34de0012d184080072191d0004e011920..."} 
[2026-07-11 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b34de0012d184080072191d0004e011920..."} 
[2026-07-11 15:53:36] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b34de0012d184080072191d0004e011920..."} 
[2026-07-11 15:53:36] local.INFO: Packet analysis {"connection_id":130700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b3"} 
[2026-07-11 15:53:36] local.INFO: Extracted packet for processing {"connection_id":130700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b3"} 
[2026-07-11 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756564096,"raw_latitude":119640528,"longitude_deg":75.6564096,"latitude_deg":11.9640528,"altitude":78,"angle":281,"satellites":32,"speed":13,"hex_longitude":"2d184080","hex_latitude":"072191d0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643928064001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5710532682186752,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755770566603997184,"note":"Value kept but may cause issues"} 
[2026-07-11 15:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783765356000,"timestamp_ms":1783765356000,"timestamp_seconds":1783765356,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b34de0"} 
[2026-07-11 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-07-11 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 15:53:36] 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-07-11 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-07-11 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-07-11 15:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:53:36] 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-07-11 15:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643928064001,"66":14004,"105":206,"83":41984,"24":13,"16":5710532682186752,"45":1755770566603997184},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 15:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643928064001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:53:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 15:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5710532682186752,"km_value":5710532682186.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755770566603997184,"description":"Unknown IO ID 45"} 
[2026-07-11 15:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643928064001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1755770566603997184}} 
[2026-07-11 15:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":130700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:53:36] local.INFO: GPS data processed {"connection_id":130700,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:53:36] local.INFO: Acknowledgment sent {"connection_id":130700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:53:59] local.INFO: TCP Data received {"connection_id":130702,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:59] local.INFO: Processing buffer {"connection_id":130702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:53:59] local.INFO: IMEI packet received {"connection_id":130702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":130702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:54:04] local.INFO: TCP Data received {"connection_id":129470,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:54:04] local.INFO: Processing buffer {"connection_id":129470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:54:04] local.INFO: IMEI packet received {"connection_id":129470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":129470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:54:04] local.INFO: TCP Data received {"connection_id":130702,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:54:04] local.INFO: Processing buffer {"connection_id":130702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:54:04] local.INFO: IMEI packet received {"connection_id":130702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":130702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:54:05] local.INFO: TCP Data received {"connection_id":130702,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b37cc0012d183d4007219320004e01271f..."} 
[2026-07-11 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b37cc0012d183d4007219320004e01271f..."} 
[2026-07-11 15:54:05] local.INFO: Processing buffer {"connection_id":130702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b37cc0012d183d4007219320004e01271f..."} 
[2026-07-11 15:54:05] local.INFO: Packet analysis {"connection_id":130702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b3"} 
[2026-07-11 15:54:05] local.INFO: Extracted packet for processing {"connection_id":130702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b3"} 
[2026-07-11 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756563264,"raw_latitude":119640864,"longitude_deg":75.6563264,"latitude_deg":11.9640864,"altitude":78,"angle":295,"satellites":31,"speed":7,"hex_longitude":"2d183d40","hex_latitude":"07219320","is_valid_coordinates":true} 
[2026-07-11 15:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643931136001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5710575631859712,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747537423536082944,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783765368000,"timestamp_ms":1783765368000,"timestamp_seconds":1783765368,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b37cc0"} 
[2026-07-11 15:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 15:54:05] 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-07-11 15:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:54:05] 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-07-11 15:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643931136001,"66":13961,"105":206,"83":41984,"24":7,"16":5710575631859712,"45":1747537423536082944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 15:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643931136001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:54:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 15:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5710575631859712,"km_value":5710575631859.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747537423536082944,"description":"Unknown IO ID 45"} 
[2026-07-11 15:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643931136001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1747537423536082944}} 
[2026-07-11 15:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":130702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:54:05] local.INFO: GPS data processed {"connection_id":130702,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:54:05] local.INFO: Acknowledgment sent {"connection_id":130702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:54:09] local.INFO: TCP Data received {"connection_id":129470,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:54:09] local.INFO: Processing buffer {"connection_id":129470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:54:09] local.INFO: IMEI packet received {"connection_id":129470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":129470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:54:10] local.INFO: TCP Data received {"connection_id":129470,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:54:10] local.INFO: Processing buffer {"connection_id":129470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:54:10] local.INFO: Packet analysis {"connection_id":129470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:54:10] local.INFO: Extracted packet for processing {"connection_id":129470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:54: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-07-11 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:54:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":129470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:54:10] local.INFO: GPS data processed {"connection_id":129470,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:54:10] local.INFO: Acknowledgment sent {"connection_id":129470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:54:37] local.INFO: TCP Data received {"connection_id":130702,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b39fe8012d182e0007219ad00049013223..."} 
[2026-07-11 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b39fe8012d182e0007219ad00049013223..."} 
[2026-07-11 15:54:37] local.INFO: Processing buffer {"connection_id":130702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b39fe8012d182e0007219ad00049013223..."} 
[2026-07-11 15:54:37] local.INFO: Packet analysis {"connection_id":130702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b3"} 
[2026-07-11 15:54:37] local.INFO: Extracted packet for processing {"connection_id":130702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b3"} 
[2026-07-11 15:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756559360,"raw_latitude":119642832,"longitude_deg":75.655936,"latitude_deg":11.9642832,"altitude":73,"angle":306,"satellites":35,"speed":25,"hex_longitude":"2d182e00","hex_latitude":"07219ad0","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643934208001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5710786085257216,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746622629861859328,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783765377000,"timestamp_ms":1783765377000,"timestamp_seconds":1783765377,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b39fe8"} 
[2026-07-11 15:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 15:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:54:37] 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-07-11 15:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643934208001,"66":14374,"105":206,"83":41984,"24":25,"16":5710786085257216,"45":1746622629861859328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 15:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643934208001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:54:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 15:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5710786085257216,"km_value":5710786085257.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746622629861859328,"description":"Unknown IO ID 45"} 
[2026-07-11 15:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643934208001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1746622629861859328}} 
[2026-07-11 15:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":130702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:54:37] local.INFO: GPS data processed {"connection_id":130702,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:54:37] local.INFO: Acknowledgment sent {"connection_id":130702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:54:41] local.INFO: TCP Data received {"connection_id":129470,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:54:41] local.INFO: Processing buffer {"connection_id":129470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:54:41] local.INFO: Packet analysis {"connection_id":129470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:54:41] local.INFO: Extracted packet for processing {"connection_id":129470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:54: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-07-11 15:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:54:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":129470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:54:41] local.INFO: GPS data processed {"connection_id":129470,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:54:41] local.INFO: Acknowledgment sent {"connection_id":129470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:55:03] local.INFO: TCP Data received {"connection_id":128580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:55:04] local.INFO: Processing buffer {"connection_id":128580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:55:04] local.INFO: IMEI packet received {"connection_id":128580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":128580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:55:04] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:55:04] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:55:04] local.INFO: IMEI packet received {"connection_id":130703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":130703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:55:04] local.INFO: TCP Data received {"connection_id":128580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:55:04] local.INFO: Processing buffer {"connection_id":128580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:55:04] local.INFO: IMEI packet received {"connection_id":128580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":128580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:55:09] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:55:09] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:55:09] local.INFO: IMEI packet received {"connection_id":130703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":130703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:55:09] local.INFO: TCP Data received {"connection_id":128580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:55:09] local.INFO: Processing buffer {"connection_id":128580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:55:09] local.INFO: IMEI packet received {"connection_id":128580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":128580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:55:10] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:55:10] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:55:10] local.INFO: Packet analysis {"connection_id":130703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:55:10] local.INFO: Extracted packet for processing {"connection_id":130703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:55: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-07-11 15:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:55:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":130703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:55:10] local.INFO: GPS data processed {"connection_id":130703,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:55:10] local.INFO: Acknowledgment sent {"connection_id":130703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:55:10] local.INFO: TCP Data received {"connection_id":128580,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b3cae0012d181fc00721a6200045011e21..."} 
[2026-07-11 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b3cae0012d181fc00721a6200045011e21..."} 
[2026-07-11 15:55:10] local.INFO: Processing buffer {"connection_id":128580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b3cae0012d181fc00721a6200045011e21..."} 
[2026-07-11 15:55:10] local.INFO: Packet analysis {"connection_id":128580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b3"} 
[2026-07-11 15:55:10] local.INFO: Extracted packet for processing {"connection_id":128580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b3"} 
[2026-07-11 15:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645728,"longitude_deg":75.6555712,"latitude_deg":11.9645728,"altitude":69,"angle":286,"satellites":33,"speed":6,"hex_longitude":"2d181fc0","hex_latitude":"0721a620","is_valid_coordinates":true} 
[2026-07-11 15:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643936512001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5711009423556608,"note":"Value kept but may cause issues"} 
[2026-07-11 15:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742330136467525632,"note":"Value kept but may cause issues"} 
[2026-07-11 15:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765388000,"timestamp_ms":1783765388000,"timestamp_seconds":1783765388,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b3cae0"} 
[2026-07-11 15:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 15:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:55:10] 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-07-11 15:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643936512001,"66":14102,"105":206,"83":41984,"24":6,"16":5711009423556608,"45":1742330136467525632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-11 15:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643936512001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:55:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 15:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-11 15:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5711009423556608,"km_value":5711009423556.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742330136467525632,"description":"Unknown IO ID 45"} 
[2026-07-11 15:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643936512001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1742330136467525632}} 
[2026-07-11 15:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":128580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:55:10] local.INFO: GPS data processed {"connection_id":128580,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:55:10] local.INFO: Acknowledgment sent {"connection_id":128580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:55:41] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:55:41] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:55:41] local.INFO: Packet analysis {"connection_id":130703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:55:41] local.INFO: Extracted packet for processing {"connection_id":130703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:55:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:55: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-07-11 15: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:55:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":130703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:55:41] local.INFO: GPS data processed {"connection_id":130703,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:55:41] local.INFO: Acknowledgment sent {"connection_id":130703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:56:05] local.INFO: TCP Data received {"connection_id":128757,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:56:05] local.INFO: Processing buffer {"connection_id":128757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:56:05] local.INFO: IMEI packet received {"connection_id":128757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":128757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:56:09] local.INFO: TCP Data received {"connection_id":128757,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:56:09] local.INFO: Processing buffer {"connection_id":128757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:56:09] local.INFO: IMEI packet received {"connection_id":128757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":128757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:56:10] local.INFO: TCP Data received {"connection_id":128757,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:56:10] local.INFO: Processing buffer {"connection_id":128757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b1b3b8012cb29c0007823c60004900b32e..."} 
[2026-07-11 15:56:10] local.INFO: Packet analysis {"connection_id":128757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:56:10] local.INFO: Extracted packet for processing {"connection_id":128757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b1"} 
[2026-07-11 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":73,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643827200001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765251000,"timestamp_ms":1783765251000,"timestamp_seconds":1783765251,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b1b3b8"} 
[2026-07-11 15:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-11 15:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643827200001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643827200001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:56:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643827200001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":128757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:56:10] local.INFO: GPS data processed {"connection_id":128757,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:56:10] local.INFO: Acknowledgment sent {"connection_id":128757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:56:41] local.INFO: TCP Data received {"connection_id":128757,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:56:41] local.INFO: Processing buffer {"connection_id":128757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:56:41] local.INFO: Packet analysis {"connection_id":128757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:56:41] local.INFO: Extracted packet for processing {"connection_id":128757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 15:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 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-07-11 15: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-07-11 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":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:56: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-07-11 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-07-11 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-07-11 15:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:56:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":128757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:56:41] local.INFO: GPS data processed {"connection_id":128757,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:56:41] local.INFO: Acknowledgment sent {"connection_id":128757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:57:09] local.INFO: TCP Data received {"connection_id":130704,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:57:09] local.INFO: Processing buffer {"connection_id":130704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:57:09] local.INFO: IMEI packet received {"connection_id":130704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":130704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:57:14] local.INFO: TCP Data received {"connection_id":130704,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:57:14] local.INFO: Processing buffer {"connection_id":130704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:57:14] local.INFO: IMEI packet received {"connection_id":130704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":130704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:57:15] local.INFO: TCP Data received {"connection_id":130704,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:57:15] local.INFO: Processing buffer {"connection_id":130704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:57:15] local.INFO: Packet analysis {"connection_id":130704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:57:15] local.INFO: Extracted packet for processing {"connection_id":130704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:57:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 15:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:57:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":130704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:57:15] local.INFO: GPS data processed {"connection_id":130704,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:57:15] local.INFO: Acknowledgment sent {"connection_id":130704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:57:19] local.INFO: TCP Data received {"connection_id":130704,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:57:19] local.INFO: Processing buffer {"connection_id":130704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:57:19] local.INFO: Packet analysis {"connection_id":130704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:57:19] local.INFO: Extracted packet for processing {"connection_id":130704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:57:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 15:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 15:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:57:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:57:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":130704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:57:19] local.INFO: GPS data processed {"connection_id":130704,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:57:19] local.INFO: Acknowledgment sent {"connection_id":130704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:58:04] local.INFO: TCP Data received {"connection_id":129471,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:58:04] local.INFO: Processing buffer {"connection_id":129471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:58:04] local.INFO: IMEI packet received {"connection_id":129471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":129471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:58:09] local.INFO: TCP Data received {"connection_id":129471,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:58:09] local.INFO: Processing buffer {"connection_id":129471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:58:09] local.INFO: IMEI packet received {"connection_id":129471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":129471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:58:10] local.INFO: TCP Data received {"connection_id":129471,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:58:10] local.INFO: Processing buffer {"connection_id":129471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:58:10] local.INFO: Packet analysis {"connection_id":129471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:58:10] local.INFO: Extracted packet for processing {"connection_id":129471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 15:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":129471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:58:10] local.INFO: GPS data processed {"connection_id":129471,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:58:10] local.INFO: Acknowledgment sent {"connection_id":129471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:58:10] local.INFO: TCP Data received {"connection_id":128759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:58:10] local.INFO: Processing buffer {"connection_id":128759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:58:10] local.INFO: IMEI packet received {"connection_id":128759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:58:41] local.INFO: TCP Data received {"connection_id":129471,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:58:41] local.INFO: Processing buffer {"connection_id":129471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:58:41] local.INFO: Packet analysis {"connection_id":129471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:58:41] local.INFO: Extracted packet for processing {"connection_id":129471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 15:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:58: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-07-11 15: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:58: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-07-11 15:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:58:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":129471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:58:41] local.INFO: GPS data processed {"connection_id":129471,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:58:41] local.INFO: Acknowledgment sent {"connection_id":129471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:58:45] local.INFO: TCP Data received {"connection_id":128582,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:58:45] local.INFO: Processing buffer {"connection_id":128582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 15:58:45] local.INFO: IMEI packet received {"connection_id":128582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":128582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:58:56] local.INFO: TCP Data received {"connection_id":128760,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:58:56] local.INFO: Processing buffer {"connection_id":128760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:58:56] local.INFO: IMEI packet received {"connection_id":128760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":128760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:58:59] local.INFO: TCP Data received {"connection_id":128760,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:58:59] local.INFO: Processing buffer {"connection_id":128760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:58:59] local.INFO: IMEI packet received {"connection_id":128760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":128760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:59:04] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:59:04] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:59:04] local.INFO: IMEI packet received {"connection_id":130705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 15:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":130705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 15:59:05] local.INFO: TCP Data received {"connection_id":128760,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:59:05] local.INFO: Processing buffer {"connection_id":128760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:59:05] local.INFO: IMEI packet received {"connection_id":128760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":128760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:59:06] local.INFO: TCP Data received {"connection_id":128760,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b7fd18012d1a2a400723b8600030003622..."} 
[2026-07-11 15:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b7fd18012d1a2a400723b8600030003622..."} 
[2026-07-11 15:59:06] local.INFO: Processing buffer {"connection_id":128760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b7fd18012d1a2a400723b8600030003622..."} 
[2026-07-11 15:59:06] local.INFO: Packet analysis {"connection_id":128760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b7"} 
[2026-07-11 15:59:06] local.INFO: Extracted packet for processing {"connection_id":128760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b7"} 
[2026-07-11 15:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756689472,"raw_latitude":119781472,"longitude_deg":75.6689472,"latitude_deg":11.9781472,"altitude":48,"angle":54,"satellites":34,"speed":34,"hex_longitude":"2d1a2a40","hex_latitude":"0723b860","is_valid_coordinates":true} 
[2026-07-11 15: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-07-11 15:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644008448001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5721394654478336,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881097300020844544,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783765663000,"timestamp_ms":1783765663000,"timestamp_seconds":1783765663,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b7fd18"} 
[2026-07-11 15:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 15:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15: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-07-11 15:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644008448001,"66":14211,"43":206,"83":42752,"24":34,"16":5721394654478336,"45":1881097300020844544},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-11 15:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644008448001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:59:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 15:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 15:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5721394654478336,"km_value":5721394654478.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881097300020844544,"description":"Unknown IO ID 45"} 
[2026-07-11 15:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644008448001,"power":14211,"unknown_43":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1881097300020844544}} 
[2026-07-11 15:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":128760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:59:07] local.INFO: GPS data processed {"connection_id":128760,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:59:07] local.INFO: Acknowledgment sent {"connection_id":128760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:59:09] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:59:09] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 15:59:09] local.INFO: IMEI packet received {"connection_id":130705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":130705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 15:59:10] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:59:10] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:59:10] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:59:10] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 15:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:59:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:59:10] local.INFO: GPS data processed {"connection_id":130705,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:59:10] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:59:38] local.INFO: TCP Data received {"connection_id":128760,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b81870012d1a38c00723c4c80031002922..."} 
[2026-07-11 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b81870012d1a38c00723c4c80031002922..."} 
[2026-07-11 15:59:38] local.INFO: Processing buffer {"connection_id":128760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b81870012d1a38c00723c4c80031002922..."} 
[2026-07-11 15:59:38] local.INFO: Packet analysis {"connection_id":128760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b8"} 
[2026-07-11 15:59:38] local.INFO: Extracted packet for processing {"connection_id":128760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b8"} 
[2026-07-11 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756693184,"raw_latitude":119784648,"longitude_deg":75.6693184,"latitude_deg":11.9784648,"altitude":49,"angle":41,"satellites":34,"speed":30,"hex_longitude":"2d1a38c0","hex_latitude":"0723c4c8","is_valid_coordinates":true} 
[2026-07-11 15:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644009728001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5721630877679616,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885389793416208384,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783765670000,"timestamp_ms":1783765670000,"timestamp_seconds":1783765670,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b81870"} 
[2026-07-11 15:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 15:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 15:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 15:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 15:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 15:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 15:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644009728001,"66":14004,"43":206,"83":42752,"24":30,"16":5721630877679616,"45":1885389793416208384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-11 15:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 15:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 15:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644009728001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:59:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 15:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-11 15:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5721630877679616,"km_value":5721630877679.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885389793416208384,"description":"Unknown IO ID 45"} 
[2026-07-11 15:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644009728001,"power":14004,"unknown_43":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1885389793416208384}} 
[2026-07-11 15:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":128760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:59:38] local.INFO: GPS data processed {"connection_id":128760,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:59:38] local.INFO: Acknowledgment sent {"connection_id":128760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:59:41] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:59:41] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 15:59:41] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:59:41] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 15:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 15:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 15:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 15:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 15:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 15:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 15: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-07-11 15: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 15:59: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-07-11 15:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 15:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 15:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 15:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 15:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 15:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 15:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 15:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 15:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 15:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 15:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 15:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 15:59:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 15:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 15:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 15:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 15:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 15:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 15:59:41] local.INFO: GPS data processed {"connection_id":130705,"processed":1,"errors":0,"total":1} 
[2026-07-11 15:59:41] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 15:59:59] local.INFO: TCP Data received {"connection_id":128761,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:59:59] local.INFO: Processing buffer {"connection_id":128761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 15:59:59] local.INFO: IMEI packet received {"connection_id":128761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 15:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":128761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:00:00] local.INFO: TCP Data received {"connection_id":128761,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:00] local.INFO: Processing buffer {"connection_id":128761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:00] local.INFO: IMEI packet received {"connection_id":128761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":128761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:00:05] local.INFO: TCP Data received {"connection_id":128761,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:05] local.INFO: Processing buffer {"connection_id":128761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:05] local.INFO: IMEI packet received {"connection_id":128761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":128761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:00:05] local.INFO: TCP Data received {"connection_id":128584,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:00:05] local.INFO: Processing buffer {"connection_id":128584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:00:05] local.INFO: IMEI packet received {"connection_id":128584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":128584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:00:06] local.INFO: TCP Data received {"connection_id":128761,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b83f80012d1a4b400723df900034001e22..."} 
[2026-07-11 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b83f80012d1a4b400723df900034001e22..."} 
[2026-07-11 16:00:06] local.INFO: Processing buffer {"connection_id":128761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b83f80012d1a4b400723df900034001e22..."} 
[2026-07-11 16:00:06] local.INFO: Packet analysis {"connection_id":128761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b8"} 
[2026-07-11 16:00:06] local.INFO: Extracted packet for processing {"connection_id":128761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b8"} 
[2026-07-11 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756697920,"raw_latitude":119791504,"longitude_deg":75.669792,"latitude_deg":11.9791504,"altitude":52,"angle":30,"satellites":34,"speed":33,"hex_longitude":"2d1a4b40","hex_latitude":"0723df90","is_valid_coordinates":true} 
[2026-07-11 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644011520001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5722030309638144,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889471180579325952,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783765680000,"timestamp_ms":1783765680000,"timestamp_seconds":1783765680,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b83f80"} 
[2026-07-11 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 16:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644011520001,"66":14352,"97":206,"187":32768,"24":33,"16":5722030309638144,"45":1889471180579325952},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,187,24,16,45]} 
[2026-07-11 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644011520001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:00:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-07-11 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5722030309638144,"km_value":5722030309638.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889471180579325952,"description":"Unknown IO ID 45"} 
[2026-07-11 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644011520001,"power":14352,"unknown_97":206,"unknown_187":32768,"ignition":33,"odometer":null,"unknown_45":1889471180579325952}} 
[2026-07-11 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":128761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:00:06] local.INFO: GPS data processed {"connection_id":128761,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:00:06] local.INFO: Acknowledgment sent {"connection_id":128761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:00:09] local.INFO: TCP Data received {"connection_id":128584,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:00:09] local.INFO: Processing buffer {"connection_id":128584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:00:09] local.INFO: IMEI packet received {"connection_id":128584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":128584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:00:10] local.INFO: TCP Data received {"connection_id":128584,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 16:00:10] local.INFO: Processing buffer {"connection_id":128584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 16:00:10] local.INFO: Packet analysis {"connection_id":128584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 16:00:10] local.INFO: Extracted packet for processing {"connection_id":128584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 16:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 16:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:00: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-07-11 16:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:00:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":128584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:00:10] local.INFO: GPS data processed {"connection_id":128584,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:00:10] local.INFO: Acknowledgment sent {"connection_id":128584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:00:11] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:00:11] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:00:11] local.INFO: IMEI packet received {"connection_id":129473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":129473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:00:12] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:00:12] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:00:12] local.INFO: IMEI packet received {"connection_id":129473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":129473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:00:17] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:00:17] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:00:17] local.INFO: IMEI packet received {"connection_id":129473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":129473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:00:18] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-11 16:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-11 16:00:18] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-11 16:00:18] local.INFO: Packet analysis {"connection_id":129473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-11 16:00:18] local.INFO: Extracted packet for processing {"connection_id":129473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-11 16:00:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:00:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:00:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 16:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129473,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 16:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 16:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 16:00:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 16:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":129473,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 16:00:18] local.ERROR: GPS data processing failed {"connection_id":129473,"error":"No valid data to process"} 
[2026-07-11 16:00:18] local.INFO: Acknowledgment sent {"connection_id":129473,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 16:00:38] local.INFO: TCP Data received {"connection_id":128761,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b86690012d1a5d800723fa200034002a24..."} 
[2026-07-11 16:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b86690012d1a5d800723fa200034002a24..."} 
[2026-07-11 16:00:38] local.INFO: Processing buffer {"connection_id":128761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b86690012d1a5d800723fa200034002a24..."} 
[2026-07-11 16:00:38] local.INFO: Packet analysis {"connection_id":128761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b8"} 
[2026-07-11 16:00:38] local.INFO: Extracted packet for processing {"connection_id":128761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b8"} 
[2026-07-11 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756702592,"raw_latitude":119798304,"longitude_deg":75.6702592,"latitude_deg":11.9798304,"altitude":52,"angle":42,"satellites":36,"speed":30,"hex_longitude":"2d1a5d80","hex_latitude":"0723fa20","is_valid_coordinates":true} 
[2026-07-11 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644014080001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5722429741596672,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894678467650228224,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783765690000,"timestamp_ms":1783765690000,"timestamp_seconds":1783765690,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b86690"} 
[2026-07-11 16:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143296,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84752073182618524,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3083489281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638521695559466,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966623,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503686906380288,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":40,"raw_value":17733267650259968,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.WARNING: Large IO value detected {"io_id":25,"raw_value":9133307893753839682,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:38] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,97,187,24,241,16,84,159,45,192,196,49,34,10,66,43,83,253,64,184,48,233,1,240,185,80,35,4,113,205,167,219,72,239,55,2,20,7,57,44,206,227,40,25],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-07-11 16:00:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747028021352136704,"timestamp_seconds":3747028021352136.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644014080001,"66":14233,"112":206,"28":31744,"24":30,"16":5722429741596672,"45":1894678467650228224},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 16:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644014080001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:00:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 16:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5722429741596672,"km_value":5722429741596.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894678467650228224,"description":"Unknown IO ID 45"} 
[2026-07-11 16:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644014080001,"power":14233,"unknown_112":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1894678467650228224}} 
[2026-07-11 16:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":128761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:00:38] local.INFO: GPS data processed {"connection_id":128761,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:00:38] local.INFO: Acknowledgment sent {"connection_id":128761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:00:41] local.INFO: TCP Data received {"connection_id":128584,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 16:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 16:00:41] local.INFO: Processing buffer {"connection_id":128584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 16:00:41] local.INFO: Packet analysis {"connection_id":128584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 16:00:41] local.INFO: Extracted packet for processing {"connection_id":128584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 16:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 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-07-11 16:00: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-07-11 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":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:00: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-07-11 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-07-11 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-07-11 16:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:00:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":128584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:00:41] local.INFO: GPS data processed {"connection_id":128584,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:00:41] local.INFO: Acknowledgment sent {"connection_id":128584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:00:49] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-11 16:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-11 16:00:49] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-11 16:00:49] local.INFO: Packet analysis {"connection_id":129473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 16:00:49] local.INFO: Extracted packet for processing {"connection_id":129473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 16:00:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:00:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:00:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:00:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 16:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":129473,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 16:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 16:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 16:00:49] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 16:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":129473,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 16:00:49] local.ERROR: GPS data processing failed {"connection_id":129473,"error":"No valid data to process"} 
[2026-07-11 16:00:49] local.INFO: Acknowledgment sent {"connection_id":129473,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 16:00:58] local.INFO: TCP Data received {"connection_id":130706,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:58] local.INFO: Processing buffer {"connection_id":130706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:58] local.INFO: IMEI packet received {"connection_id":130706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":130706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:00:59] local.INFO: TCP Data received {"connection_id":130706,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:59] local.INFO: Processing buffer {"connection_id":130706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:00:59] local.INFO: IMEI packet received {"connection_id":130706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":130706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:01:04] local.INFO: TCP Data received {"connection_id":129475,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:01:04] local.INFO: Processing buffer {"connection_id":129475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:01:04] local.INFO: IMEI packet received {"connection_id":129475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":129475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:01:05] local.INFO: TCP Data received {"connection_id":130706,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:01:05] local.INFO: Processing buffer {"connection_id":130706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:01:05] local.INFO: IMEI packet received {"connection_id":130706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":130706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:01:06] local.INFO: TCP Data received {"connection_id":130706,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ba04a0012d1b33000724a258001f003325..."} 
[2026-07-11 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ba04a0012d1b33000724a258001f003325..."} 
[2026-07-11 16:01:06] local.INFO: Processing buffer {"connection_id":130706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ba04a0012d1b33000724a258001f003325..."} 
[2026-07-11 16:01:06] local.INFO: Packet analysis {"connection_id":130706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:01:06] local.INFO: Extracted packet for processing {"connection_id":130706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119841368,"longitude_deg":75.6757248,"latitude_deg":11.9841368,"altitude":31,"angle":51,"satellites":37,"speed":19,"hex_longitude":"2d1b3300","hex_latitude":"0724a258","is_valid_coordinates":true} 
[2026-07-11 16:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644040448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5725839945629696,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1951958625422252032,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783765796000,"timestamp_ms":1783765796000,"timestamp_seconds":1783765796,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ba04a0"} 
[2026-07-11 16:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 16:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644040448001,"66":14265,"91":206,"28":31744,"24":19,"16":5725839945629696,"45":1951958625422252032},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-11 16:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644040448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:01:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5725839945629696,"km_value":5725839945629.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1951958625422252032,"description":"Unknown IO ID 45"} 
[2026-07-11 16:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644040448001,"power":14265,"unknown_91":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1951958625422252032}} 
[2026-07-11 16:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":130706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:01:06] local.INFO: GPS data processed {"connection_id":130706,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:01:06] local.INFO: Acknowledgment sent {"connection_id":130706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:01:09] local.INFO: TCP Data received {"connection_id":129475,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:01:09] local.INFO: Processing buffer {"connection_id":129475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:01:09] local.INFO: IMEI packet received {"connection_id":129475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":129475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:01:10] local.INFO: TCP Data received {"connection_id":129475,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 16:01:10] local.INFO: Processing buffer {"connection_id":129475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50b64b80012cb29c0007823c60004b00b32e..."} 
[2026-07-11 16:01:10] local.INFO: Packet analysis {"connection_id":129475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 16:01:10] local.INFO: Extracted packet for processing {"connection_id":129475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50b6"} 
[2026-07-11 16:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":75,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643904256001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765552000,"timestamp_ms":1783765552000,"timestamp_seconds":1783765552,"priority":1,"record_length":96,"hex_timestamp":"0000019f50b64b80"} 
[2026-07-11 16:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16: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-07-11 16:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643904256001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643904256001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:01:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643904256001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":129475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:01:10] local.INFO: GPS data processed {"connection_id":129475,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:01:10] local.INFO: Acknowledgment sent {"connection_id":129475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:01:20] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae3480100000000000000000000000000..."} 
[2026-07-11 16:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae3480100000000000000000000000000..."} 
[2026-07-11 16:01:20] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae3480100000000000000000000000000..."} 
[2026-07-11 16:01:20] local.INFO: Packet analysis {"connection_id":129473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:01:20] local.INFO: Extracted packet for processing {"connection_id":129473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:01:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:01: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-07-11 16:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 16:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":129473,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:01:20] local.INFO: GPS data processed {"connection_id":129473,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:01:20] local.INFO: Acknowledgment sent {"connection_id":129473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:01:37] local.INFO: TCP Data received {"connection_id":130706,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ba4af0012d1b4f800724b7e0001e00281f..."} 
[2026-07-11 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ba4af0012d1b4f800724b7e0001e00281f..."} 
[2026-07-11 16:01:37] local.INFO: Processing buffer {"connection_id":130706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ba4af0012d1b4f800724b7e0001e00281f..."} 
[2026-07-11 16:01:37] local.INFO: Packet analysis {"connection_id":130706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:01:37] local.INFO: Extracted packet for processing {"connection_id":130706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119846880,"longitude_deg":75.6764544,"latitude_deg":11.984688,"altitude":30,"angle":40,"satellites":31,"speed":31,"hex_longitude":"2d1b4f80","hex_latitude":"0724b7e0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644043776001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5726278032293888,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293515687936,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01: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-07-11 16:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783765814000,"timestamp_ms":1783765814000,"timestamp_seconds":1783765814,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ba4af0"} 
[2026-07-11 16:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 16:01:37] 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-07-11 16: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-07-11 16:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644043776001,"66":13439,"91":206,"28":31744,"24":31,"16":5726278032293888,"45":1959910293515687936},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-11 16:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644043776001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:01:37] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5726278032293888,"km_value":5726278032293.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293515687936,"description":"Unknown IO ID 45"} 
[2026-07-11 16:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644043776001,"power":13439,"unknown_91":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1959910293515687936}} 
[2026-07-11 16:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":130706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:01:37] local.INFO: GPS data processed {"connection_id":130706,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:01:37] local.INFO: Acknowledgment sent {"connection_id":130706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:01:41] local.INFO: TCP Data received {"connection_id":129475,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:01:41] local.INFO: Processing buffer {"connection_id":129475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:01:41] local.INFO: Packet analysis {"connection_id":129475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:01:41] local.INFO: Extracted packet for processing {"connection_id":129475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:01: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-07-11 16: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:01: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-07-11 16:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:01:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":129475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:01:41] local.INFO: GPS data processed {"connection_id":129475,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:01:41] local.INFO: Acknowledgment sent {"connection_id":129475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:01:54] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bb35500100000000000000000000000000..."} 
[2026-07-11 16:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bb35500100000000000000000000000000..."} 
[2026-07-11 16:01:54] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bb35500100000000000000000000000000..."} 
[2026-07-11 16:01:54] local.INFO: Packet analysis {"connection_id":129473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:01:54] local.INFO: Extracted packet for processing {"connection_id":129473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:01:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:01:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783765874000,"timestamp_ms":1783765874000,"timestamp_seconds":1783765874,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bb3550"} 
[2026-07-11 16:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 16:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":129473,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:01:54] local.INFO: GPS data processed {"connection_id":129473,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:01:54] local.INFO: Acknowledgment sent {"connection_id":129473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:01:58] local.INFO: TCP Data received {"connection_id":128585,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:01:58] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:01:58] local.INFO: IMEI packet received {"connection_id":128585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":128585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:01:59] local.INFO: TCP Data received {"connection_id":128585,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:01:59] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:01:59] local.INFO: IMEI packet received {"connection_id":128585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":128585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:02:02] local.INFO: TCP Data received {"connection_id":128585,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:02:02] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:02:02] local.INFO: IMEI packet received {"connection_id":128585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":128585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:02:03] local.INFO: TCP Data received {"connection_id":128585,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:02:03] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:02:03] local.INFO: IMEI packet received {"connection_id":128585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":128585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:02:04] local.INFO: TCP Data received {"connection_id":128585,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ba4af0012d1b4f800724b7e0001e00281f..."} 
[2026-07-11 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ba4af0012d1b4f800724b7e0001e00281f..."} 
[2026-07-11 16:02:04] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ba4af0012d1b4f800724b7e0001e00281f..."} 
[2026-07-11 16:02:04] local.INFO: Packet analysis {"connection_id":128585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:02:04] local.INFO: Extracted packet for processing {"connection_id":128585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119846880,"longitude_deg":75.6764544,"latitude_deg":11.984688,"altitude":30,"angle":40,"satellites":31,"speed":31,"hex_longitude":"2d1b4f80","hex_latitude":"0724b7e0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644048384001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5726278032293888,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330353352704,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:04] 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-07-11 16:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783765814000,"timestamp_ms":1783765814000,"timestamp_seconds":1783765814,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ba4af0"} 
[2026-07-11 16:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-11 16:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":128585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":128585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":128585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644048384001,"66":13439,"91":206,"28":31744,"24":31,"16":5726278032293888,"45":1967932330353352704},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-11 16:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644048384001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:02:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5726278032293888,"km_value":5726278032293.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330353352704,"description":"Unknown IO ID 45"} 
[2026-07-11 16:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644048384001,"power":13439,"unknown_91":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1967932330353352704}} 
[2026-07-11 16:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":128585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:02:04] local.INFO: GPS data processed {"connection_id":128585,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:02:04] local.INFO: Acknowledgment sent {"connection_id":128585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:02:09] local.INFO: TCP Data received {"connection_id":128762,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:02:09] local.INFO: Processing buffer {"connection_id":128762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:02:09] local.INFO: IMEI packet received {"connection_id":128762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":128762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:02:14] local.INFO: TCP Data received {"connection_id":128762,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:02:14] local.INFO: Processing buffer {"connection_id":128762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:02:14] local.INFO: IMEI packet received {"connection_id":128762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":128762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:02:15] local.INFO: TCP Data received {"connection_id":128762,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:02:15] local.INFO: Processing buffer {"connection_id":128762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:02:15] local.INFO: Packet analysis {"connection_id":128762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:02:15] local.INFO: Extracted packet for processing {"connection_id":128762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:02:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":128762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:02:15] local.INFO: GPS data processed {"connection_id":128762,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:02:15] local.INFO: Acknowledgment sent {"connection_id":128762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:02:19] local.INFO: TCP Data received {"connection_id":128762,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:02:19] local.INFO: Processing buffer {"connection_id":128762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:02:19] local.INFO: Packet analysis {"connection_id":128762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:02:19] local.INFO: Extracted packet for processing {"connection_id":128762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:02:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:02:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:02:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":128762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:02:19] local.INFO: GPS data processed {"connection_id":128762,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:02:19] local.INFO: Acknowledgment sent {"connection_id":128762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:02:24] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bb87580100000000000000000000000000..."} 
[2026-07-11 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bb87580100000000000000000000000000..."} 
[2026-07-11 16:02:24] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bb87580100000000000000000000000000..."} 
[2026-07-11 16:02:24] local.INFO: Packet analysis {"connection_id":129473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:02:24] local.INFO: Extracted packet for processing {"connection_id":129473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:02: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-07-11 16:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783765895000,"timestamp_ms":1783765895000,"timestamp_seconds":1783765895,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bb8758"} 
[2026-07-11 16:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 16:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":129473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":129473,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:02:24] local.INFO: GPS data processed {"connection_id":129473,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:02:24] local.INFO: Acknowledgment sent {"connection_id":129473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:02:40] local.INFO: TCP Data received {"connection_id":128585,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bb6fe8012d1b6140072566980023014920..."} 
[2026-07-11 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bb6fe8012d1b6140072566980023014920..."} 
[2026-07-11 16:02:40] local.INFO: Processing buffer {"connection_id":128585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bb6fe8012d1b6140072566980023014920..."} 
[2026-07-11 16:02:40] local.INFO: Packet analysis {"connection_id":128585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:02:40] local.INFO: Extracted packet for processing {"connection_id":128585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119891608,"longitude_deg":75.6769088,"latitude_deg":11.9891608,"altitude":35,"angle":329,"satellites":32,"speed":22,"hex_longitude":"2d1b6140","hex_latitude":"07256698","is_valid_coordinates":true} 
[2026-07-11 16:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644066560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5728502825353216,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973702567386900480,"note":"Value kept but may cause issues"} 
[2026-07-11 16:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783765889000,"timestamp_ms":1783765889000,"timestamp_seconds":1783765889,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bb6fe8"} 
[2026-07-11 16:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 16:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644066560001,"66":13580,"92":206,"28":31744,"24":22,"16":5728502825353216,"45":1973702567386900480},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644066560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:02:40] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:02:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5728502825353216,"km_value":5728502825353.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973702567386900480,"description":"Unknown IO ID 45"} 
[2026-07-11 16:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644066560001,"power":13580,"unknown_92":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1973702567386900480}} 
[2026-07-11 16:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":128585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:02:40] local.INFO: GPS data processed {"connection_id":128585,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:02:40] local.INFO: Acknowledgment sent {"connection_id":128585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:02:59] local.INFO: TCP Data received {"connection_id":130708,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:02:59] local.INFO: Processing buffer {"connection_id":130708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:02:59] local.INFO: IMEI packet received {"connection_id":130708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":130708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:03:00] local.INFO: TCP Data received {"connection_id":130708,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:03:00] local.INFO: Processing buffer {"connection_id":130708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:03:00] local.INFO: IMEI packet received {"connection_id":130708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":130708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:03:02] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bbd9600100000000000000000000000000..."} 
[2026-07-11 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bbd9600100000000000000000000000000..."} 
[2026-07-11 16:03:02] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bbd9600100000000000000000000000000..."} 
[2026-07-11 16:03:02] local.INFO: Packet analysis {"connection_id":129473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:03:02] local.INFO: Extracted packet for processing {"connection_id":129473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783765916000,"timestamp_ms":1783765916000,"timestamp_seconds":1783765916,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bbd960"} 
[2026-07-11 16:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:03:02] 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-07-11 16:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 16:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":129473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":129473,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:03:02] local.INFO: GPS data processed {"connection_id":129473,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:03:02] local.INFO: Acknowledgment sent {"connection_id":129473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:03:04] local.INFO: TCP Data received {"connection_id":128763,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:03:04] local.INFO: Processing buffer {"connection_id":128763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:03:04] local.INFO: IMEI packet received {"connection_id":128763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":128763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:03:05] local.INFO: TCP Data received {"connection_id":130708,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:03:05] local.INFO: Processing buffer {"connection_id":130708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:03:05] local.INFO: IMEI packet received {"connection_id":130708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":130708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:03:09] local.INFO: TCP Data received {"connection_id":128763,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:03:09] local.INFO: Processing buffer {"connection_id":128763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:03:09] local.INFO: IMEI packet received {"connection_id":128763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":128763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:03:10] local.INFO: TCP Data received {"connection_id":128763,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:03:10] local.INFO: Processing buffer {"connection_id":128763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:03:10] local.INFO: Packet analysis {"connection_id":128763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:03:10] local.INFO: Extracted packet for processing {"connection_id":128763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16: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-07-11 16:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:03:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":128763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:03:10] local.INFO: GPS data processed {"connection_id":128763,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:03:10] local.INFO: Acknowledgment sent {"connection_id":128763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:03:12] local.INFO: TCP Data received {"connection_id":130708,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bb7ba0012d1b5cc007256c680023013d22..."} 
[2026-07-11 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bb7ba0012d1b5cc007256c680023013d22..."} 
[2026-07-11 16:03:12] local.INFO: Processing buffer {"connection_id":130708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bb7ba0012d1b5cc007256c680023013d22..."} 
[2026-07-11 16:03:12] local.INFO: Packet analysis {"connection_id":130708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:03:12] local.INFO: Extracted packet for processing {"connection_id":130708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bb"} 
[2026-07-11 16:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756767936,"raw_latitude":119893096,"longitude_deg":75.6767936,"latitude_deg":11.9893096,"altitude":35,"angle":317,"satellites":34,"speed":26,"hex_longitude":"2d1b5cc0","hex_latitude":"07256c68","is_valid_coordinates":true} 
[2026-07-11 16:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644067584001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5728593019666432,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511201417216,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783765892000,"timestamp_ms":1783765892000,"timestamp_seconds":1783765892,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bb7ba0"} 
[2026-07-11 16:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867790936,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3140577281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639969099573083,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881500878,"corrected_to":0} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3892391195,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6629525045037288988,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6178946544247504925,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:12] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,92,28,24,241,158,16,90,159,96,45,95,35,32,10,66,89,88,128,34,76,64,1,240,169,80,37,4,113,205,19,242,94,120,31,239,56,91,2,20,7,30,27,124],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3881500878,"validated":0}]} 
[2026-07-11 16:03:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522377668093411328,"timestamp_seconds":2522377668093411.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644067584001,"66":13972,"92":206,"28":31744,"24":26,"16":5728593019666432,"45":1972928511201417216},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644067584001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:03:12] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5728593019666432,"km_value":5728593019666.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511201417216,"description":"Unknown IO ID 45"} 
[2026-07-11 16:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644067584001,"power":13972,"unknown_92":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1972928511201417216}} 
[2026-07-11 16:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":130708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:03:12] local.INFO: GPS data processed {"connection_id":130708,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:03:12] local.INFO: Acknowledgment sent {"connection_id":130708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:03:33] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bc2b680100000000000000000000000000..."} 
[2026-07-11 16:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bc2b680100000000000000000000000000..."} 
[2026-07-11 16:03:33] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bc2b680100000000000000000000000000..."} 
[2026-07-11 16:03:33] local.INFO: Packet analysis {"connection_id":129473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:03:33] local.INFO: Extracted packet for processing {"connection_id":129473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:03:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783765937000,"timestamp_ms":1783765937000,"timestamp_seconds":1783765937,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bc2b68"} 
[2026-07-11 16:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 16:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":129473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":129473,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:03:33] local.INFO: GPS data processed {"connection_id":129473,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:03:33] local.INFO: Acknowledgment sent {"connection_id":129473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:03:41] local.INFO: TCP Data received {"connection_id":128763,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:03:41] local.INFO: Processing buffer {"connection_id":128763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:03:41] local.INFO: Packet analysis {"connection_id":128763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:03:41] local.INFO: Extracted packet for processing {"connection_id":128763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:03: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-07-11 16:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:03: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-07-11 16:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:03:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":128763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:03:41] local.INFO: GPS data processed {"connection_id":128763,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:03:41] local.INFO: Acknowledgment sent {"connection_id":128763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:03:46] local.INFO: TCP Data received {"connection_id":130708,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bca868012d1b48400725d4a8002a00ac22..."} 
[2026-07-11 16:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bca868012d1b48400725d4a8002a00ac22..."} 
[2026-07-11 16:03:46] local.INFO: Processing buffer {"connection_id":130708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bca868012d1b48400725d4a8002a00ac22..."} 
[2026-07-11 16:03:46] local.INFO: Packet analysis {"connection_id":130708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:03:46] local.INFO: Extracted packet for processing {"connection_id":130708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919784,"longitude_deg":75.6762688,"latitude_deg":11.9919784,"altitude":42,"angle":172,"satellites":34,"speed":8,"hex_longitude":"2d1b4840","hex_latitude":"0725d4a8","is_valid_coordinates":true} 
[2026-07-11 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644087808001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730134912925696,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268046733312,"note":"Value kept but may cause issues"} 
[2026-07-11 16:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783765969000,"timestamp_ms":1783765969000,"timestamp_seconds":1783765969,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bca868"} 
[2026-07-11 16:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 16:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644087808001,"66":14407,"92":206,"28":31744,"24":8,"16":5730134912925696,"45":1965821268046733312},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644087808001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:03:46] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730134912925696,"km_value":5730134912925.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268046733312,"description":"Unknown IO ID 45"} 
[2026-07-11 16:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644087808001,"power":14407,"unknown_92":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1965821268046733312}} 
[2026-07-11 16:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":130708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:03:46] local.INFO: GPS data processed {"connection_id":130708,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:03:46] local.INFO: Acknowledgment sent {"connection_id":130708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:03:59] local.INFO: TCP Data received {"connection_id":128764,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:03:59] local.INFO: Processing buffer {"connection_id":128764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:03:59] local.INFO: IMEI packet received {"connection_id":128764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":128764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:04:04] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bc7d700100000000000000000000000000..."} 
[2026-07-11 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bc7d700100000000000000000000000000..."} 
[2026-07-11 16:04:04] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bc7d700100000000000000000000000000..."} 
[2026-07-11 16:04:04] local.INFO: Packet analysis {"connection_id":129473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:04:04] local.INFO: Extracted packet for processing {"connection_id":129473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783765958000,"timestamp_ms":1783765958000,"timestamp_seconds":1783765958,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bc7d70"} 
[2026-07-11 16:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 16:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":129473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":129473,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:04:04] local.INFO: GPS data processed {"connection_id":129473,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:04:04] local.INFO: Acknowledgment sent {"connection_id":129473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:04:04] local.INFO: TCP Data received {"connection_id":128587,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:04:04] local.INFO: Processing buffer {"connection_id":128587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:04:04] local.INFO: IMEI packet received {"connection_id":128587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":128587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:04:04] local.INFO: TCP Data received {"connection_id":128764,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:04:04] local.INFO: Processing buffer {"connection_id":128764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:04:04] local.INFO: IMEI packet received {"connection_id":128764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":128764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:04:05] local.INFO: TCP Data received {"connection_id":128764,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bcac50012d1b48400725d3c0002a00c322..."} 
[2026-07-11 16:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bcac50012d1b48400725d3c0002a00c322..."} 
[2026-07-11 16:04:05] local.INFO: Processing buffer {"connection_id":128764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bcac50012d1b48400725d3c0002a00c322..."} 
[2026-07-11 16:04:05] local.INFO: Packet analysis {"connection_id":128764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:04:05] local.INFO: Extracted packet for processing {"connection_id":128764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919552,"longitude_deg":75.6762688,"latitude_deg":11.9919552,"altitude":42,"angle":195,"satellites":34,"speed":10,"hex_longitude":"2d1b4840","hex_latitude":"0725d3c0","is_valid_coordinates":true} 
[2026-07-11 16:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644088064001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730147797827584,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636790863872,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783765970000,"timestamp_ms":1783765970000,"timestamp_seconds":1783765970,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bcac50"} 
[2026-07-11 16:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 16:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644088064001,"66":14407,"92":206,"28":31744,"24":10,"16":5730147797827584,"45":1965891636790863872},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644088064001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:04:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730147797827584,"km_value":5730147797827.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636790863872,"description":"Unknown IO ID 45"} 
[2026-07-11 16:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644088064001,"power":14407,"unknown_92":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1965891636790863872}} 
[2026-07-11 16:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":128764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:04:05] local.INFO: GPS data processed {"connection_id":128764,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:04:05] local.INFO: Acknowledgment sent {"connection_id":128764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:04:09] local.INFO: TCP Data received {"connection_id":128587,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:04:09] local.INFO: Processing buffer {"connection_id":128587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:04:09] local.INFO: IMEI packet received {"connection_id":128587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":128587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:04:10] local.INFO: TCP Data received {"connection_id":128587,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:04:10] local.INFO: Processing buffer {"connection_id":128587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:04:10] local.INFO: Packet analysis {"connection_id":128587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:04:10] local.INFO: Extracted packet for processing {"connection_id":128587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16: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-07-11 16: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":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:04:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":128587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:04:10] local.INFO: GPS data processed {"connection_id":128587,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:04:10] local.INFO: Acknowledgment sent {"connection_id":128587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:04:10] local.INFO: TCP Data received {"connection_id":128586,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:04:10] local.INFO: Processing buffer {"connection_id":128586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:04:10] local.INFO: IMEI packet received {"connection_id":128586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":128586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:04:34] local.INFO: TCP Data received {"connection_id":129473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bccf780100000000000000000000000000..."} 
[2026-07-11 16:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bccf780100000000000000000000000000..."} 
[2026-07-11 16:04:34] local.INFO: Processing buffer {"connection_id":129473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bccf780100000000000000000000000000..."} 
[2026-07-11 16:04:34] local.INFO: Packet analysis {"connection_id":129473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:04:34] local.INFO: Extracted packet for processing {"connection_id":129473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:04:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783765979000,"timestamp_ms":1783765979000,"timestamp_seconds":1783765979,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bccf78"} 
[2026-07-11 16:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:04:34] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 16:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":129473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":129473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":129473,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:04:34] local.INFO: GPS data processed {"connection_id":129473,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:04:34] local.INFO: Acknowledgment sent {"connection_id":129473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:04:40] local.INFO: TCP Data received {"connection_id":128587,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:04:40] local.INFO: Processing buffer {"connection_id":128587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:04:40] local.INFO: Packet analysis {"connection_id":128587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:04:40] local.INFO: Extracted packet for processing {"connection_id":128587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:04: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-07-11 16:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:04: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-07-11 16:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:04:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":128587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:04:40] local.INFO: GPS data processed {"connection_id":128587,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:04:40] local.INFO: Acknowledgment sent {"connection_id":128587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:04:45] local.INFO: TCP Data received {"connection_id":128588,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:04:45] local.INFO: Processing buffer {"connection_id":128588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:04:45] local.INFO: IMEI packet received {"connection_id":128588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":128588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:04:47] local.INFO: TCP Data received {"connection_id":128764,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bcb038012d1b47c00725d2b0002b00d621..."} 
[2026-07-11 16:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bcb038012d1b47c00725d2b0002b00d621..."} 
[2026-07-11 16:04:47] local.INFO: Processing buffer {"connection_id":128764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bcb038012d1b47c00725d2b0002b00d621..."} 
[2026-07-11 16:04:47] local.INFO: Packet analysis {"connection_id":128764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:04:47] local.INFO: Extracted packet for processing {"connection_id":128764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bc"} 
[2026-07-11 16:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756762560,"raw_latitude":119919280,"longitude_deg":75.676256,"latitude_deg":11.991928,"altitude":43,"angle":214,"satellites":33,"speed":13,"hex_longitude":"2d1b47c0","hex_latitude":"0725d2b0","is_valid_coordinates":true} 
[2026-07-11 16:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644088320001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730160682729472,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636790804480,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783765971000,"timestamp_ms":1783765971000,"timestamp_seconds":1783765971,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bcb038"} 
[2026-07-11 16:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 16:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644088320001,"66":14407,"92":206,"28":31744,"24":13,"16":5730160682729472,"45":1965891636790804480},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644088320001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:04:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:04:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730160682729472,"km_value":5730160682729.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636790804480,"description":"Unknown IO ID 45"} 
[2026-07-11 16:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644088320001,"power":14407,"unknown_92":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1965891636790804480}} 
[2026-07-11 16:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":128764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:04:47] local.INFO: GPS data processed {"connection_id":128764,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:04:47] local.INFO: Acknowledgment sent {"connection_id":128764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:04:50] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:04:50] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:04:50] local.INFO: IMEI packet received {"connection_id":130709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":130709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:04:51] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:04:51] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:04:51] local.INFO: IMEI packet received {"connection_id":130709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":130709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:04:55] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:04:55] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:04:55] local.INFO: IMEI packet received {"connection_id":130709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":130709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:04:56] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bd21800100000000000000000000000000..."} 
[2026-07-11 16:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bd21800100000000000000000000000000..."} 
[2026-07-11 16:04:56] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bd21800100000000000000000000000000..."} 
[2026-07-11 16:04:56] local.INFO: Packet analysis {"connection_id":130709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:04:56] local.INFO: Extracted packet for processing {"connection_id":130709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:04:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105001298868305920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:04:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783766000000,"timestamp_ms":1783766000000,"timestamp_seconds":1783766000,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bd2180"} 
[2026-07-11 16:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 16:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":130709,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:04:56] local.INFO: GPS data processed {"connection_id":130709,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:04:56] local.INFO: Acknowledgment sent {"connection_id":130709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:05:04] local.INFO: TCP Data received {"connection_id":129477,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:05:04] local.INFO: Processing buffer {"connection_id":129477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:05:04] local.INFO: IMEI packet received {"connection_id":129477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":129477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:05:09] local.INFO: TCP Data received {"connection_id":129477,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:05:09] local.INFO: Processing buffer {"connection_id":129477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:05:09] local.INFO: IMEI packet received {"connection_id":129477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":129477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:05:09] local.INFO: TCP Data received {"connection_id":130710,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:09] local.INFO: Processing buffer {"connection_id":130710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:09] local.INFO: IMEI packet received {"connection_id":130710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":130710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:05:10] local.INFO: TCP Data received {"connection_id":129477,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:05:10] local.INFO: Processing buffer {"connection_id":129477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:05:10] local.INFO: Packet analysis {"connection_id":129477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:05:10] local.INFO: Extracted packet for processing {"connection_id":129477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:05: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-07-11 16:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:05:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":129477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:05:10] local.INFO: GPS data processed {"connection_id":129477,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:05:10] local.INFO: Acknowledgment sent {"connection_id":129477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:05:10] local.INFO: TCP Data received {"connection_id":130710,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:10] local.INFO: Processing buffer {"connection_id":130710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:10] local.INFO: IMEI packet received {"connection_id":130710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":130710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:05:14] local.INFO: TCP Data received {"connection_id":130710,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:14] local.INFO: Processing buffer {"connection_id":130710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:14] local.INFO: IMEI packet received {"connection_id":130710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":130710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:05:15] local.INFO: TCP Data received {"connection_id":130710,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bd0240012d1b3f400725c5e0002b00d822..."} 
[2026-07-11 16:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bd0240012d1b3f400725c5e0002b00d822..."} 
[2026-07-11 16:05:15] local.INFO: Processing buffer {"connection_id":130710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bd0240012d1b3f400725c5e0002b00d822..."} 
[2026-07-11 16:05:15] local.INFO: Packet analysis {"connection_id":130710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:05:15] local.INFO: Extracted packet for processing {"connection_id":130710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119916000,"longitude_deg":75.6760384,"latitude_deg":11.9916,"altitude":43,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"0725c5e0","is_valid_coordinates":true} 
[2026-07-11 16:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644088576001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730353956257792,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965750899302379520,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783765992000,"timestamp_ms":1783765992000,"timestamp_seconds":1783765992,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bd0240"} 
[2026-07-11 16:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 16:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644088576001,"66":13559,"92":206,"28":31744,"24":0,"16":5730353956257792,"45":1965750899302379520},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644088576001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:05:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730353956257792,"km_value":5730353956257.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965750899302379520,"description":"Unknown IO ID 45"} 
[2026-07-11 16:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644088576001,"power":13559,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1965750899302379520}} 
[2026-07-11 16:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":130710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:05:15] local.INFO: GPS data processed {"connection_id":130710,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:05:15] local.INFO: Acknowledgment sent {"connection_id":130710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:05:27] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bed700012d7dc14005d579700010012d07..."} 
[2026-07-11 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bed700012d7dc14005d579700010012d07..."} 
[2026-07-11 16:05:27] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bed700012d7dc14005d579700010012d07..."} 
[2026-07-11 16:05:27] local.INFO: Packet analysis {"connection_id":130709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50be"} 
[2026-07-11 16:05:27] local.INFO: Extracted packet for processing {"connection_id":130709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50be"} 
[2026-07-11 16:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763216192,"raw_latitude":97876336,"longitude_deg":76.3216192,"latitude_deg":9.7876336,"altitude":16,"angle":301,"satellites":7,"speed":14,"hex_longitude":"2d7dc140","hex_latitude":"05d57970","is_valid_coordinates":true} 
[2026-07-11 16:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644123904001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105002540113854464,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062509112720707584,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783766112000,"timestamp_ms":1783766112000,"timestamp_seconds":1783766112,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bed700"} 
[2026-07-11 16:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 16:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644123904001,"66":13493,"111":206,"85":15104,"24":14,"16":105002540113854464,"45":9062509112720707584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-11 16:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644123904001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:05:27] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105002540113854464,"km_value":105002540113854.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062509112720707584,"description":"Unknown IO ID 45"} 
[2026-07-11 16:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644123904001,"power":13493,"unknown_111":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9062509112720707584}} 
[2026-07-11 16:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":130709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:05:27] local.INFO: GPS data processed {"connection_id":130709,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:05:27] local.INFO: Acknowledgment sent {"connection_id":130709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:05:41] local.INFO: TCP Data received {"connection_id":129477,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:05:41] local.INFO: Processing buffer {"connection_id":129477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:05:41] local.INFO: Packet analysis {"connection_id":129477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:05:41] local.INFO: Extracted packet for processing {"connection_id":129477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:05:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:05: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-07-11 16:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:05: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-07-11 16:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:05:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":129477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:05:41] local.INFO: GPS data processed {"connection_id":129477,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:05:41] local.INFO: Acknowledgment sent {"connection_id":129477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:05:59] local.INFO: TCP Data received {"connection_id":128765,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:59] local.INFO: Processing buffer {"connection_id":128765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:05:59] local.INFO: IMEI packet received {"connection_id":128765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":128765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:06:01] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50beded0012d7dbd8005d57ba0000f011c07..."} 
[2026-07-11 16:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50beded0012d7dbd8005d57ba0000f011c07..."} 
[2026-07-11 16:06:01] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50beded0012d7dbd8005d57ba0000f011c07..."} 
[2026-07-11 16:06:01] local.INFO: Packet analysis {"connection_id":130709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50be"} 
[2026-07-11 16:06:01] local.INFO: Extracted packet for processing {"connection_id":130709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50be"} 
[2026-07-11 16:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763215232,"raw_latitude":97876896,"longitude_deg":76.3215232,"latitude_deg":9.7876896,"altitude":15,"angle":284,"satellites":7,"speed":20,"hex_longitude":"2d7dbd80","hex_latitude":"05d57ba0","is_valid_coordinates":true} 
[2026-07-11 16:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644124672001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105002591653462016,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061594319046668288,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783766114000,"timestamp_ms":1783766114000,"timestamp_seconds":1783766114,"priority":1,"record_length":96,"hex_timestamp":"0000019f50beded0"} 
[2026-07-11 16:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-11 16:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644124672001,"66":13406,"111":206,"85":15104,"24":20,"16":105002591653462016,"45":9061594319046668288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-11 16:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644124672001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:06:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105002591653462016,"km_value":105002591653462.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061594319046668288,"description":"Unknown IO ID 45"} 
[2026-07-11 16:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644124672001,"power":13406,"unknown_111":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9061594319046668288}} 
[2026-07-11 16:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":130709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:06:01] local.INFO: GPS data processed {"connection_id":130709,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:06:01] local.INFO: Acknowledgment sent {"connection_id":130709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:06:05] local.INFO: TCP Data received {"connection_id":128765,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:06:05] local.INFO: Processing buffer {"connection_id":128765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:06:05] local.INFO: IMEI packet received {"connection_id":128765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":128765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:06:06] local.INFO: TCP Data received {"connection_id":128765,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bd5448012d1b3f400725c5d8002b00d822..."} 
[2026-07-11 16:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bd5448012d1b3f400725c5d8002b00d822..."} 
[2026-07-11 16:06:06] local.INFO: Processing buffer {"connection_id":128765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bd5448012d1b3f400725c5d8002b00d822..."} 
[2026-07-11 16:06:06] local.INFO: Packet analysis {"connection_id":128765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:06:06] local.INFO: Extracted packet for processing {"connection_id":128765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119915992,"longitude_deg":75.6760384,"latitude_deg":11.9915992,"altitude":43,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d1b3f40","hex_latitude":"0725c5d8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644093952001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730353956257792,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361999499264,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783766013000,"timestamp_ms":1783766013000,"timestamp_seconds":1783766013,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bd5448"} 
[2026-07-11 16:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-11 16:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644093952001,"66":13156,"92":206,"28":31744,"24":0,"16":5730353956257792,"45":1963358361999499264},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644093952001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:06:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730353956257792,"km_value":5730353956257.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361999499264,"description":"Unknown IO ID 45"} 
[2026-07-11 16:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644093952001,"power":13156,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1963358361999499264}} 
[2026-07-11 16:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":128765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:06:06] local.INFO: GPS data processed {"connection_id":128765,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:06:06] local.INFO: Acknowledgment sent {"connection_id":128765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:06:09] local.INFO: TCP Data received {"connection_id":128589,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:06:09] local.INFO: Processing buffer {"connection_id":128589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:06:09] local.INFO: IMEI packet received {"connection_id":128589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":128589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:06:14] local.INFO: TCP Data received {"connection_id":128589,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:06:14] local.INFO: Processing buffer {"connection_id":128589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:06:14] local.INFO: IMEI packet received {"connection_id":128589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":128589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:06:15] local.INFO: TCP Data received {"connection_id":128589,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:06:15] local.INFO: Processing buffer {"connection_id":128589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:06:15] local.INFO: Packet analysis {"connection_id":128589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:06:15] local.INFO: Extracted packet for processing {"connection_id":128589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:06:15] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:06:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":128589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:06:15] local.INFO: GPS data processed {"connection_id":128589,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:06:15] local.INFO: Acknowledgment sent {"connection_id":128589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:06:19] local.INFO: TCP Data received {"connection_id":128589,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:06:19] local.INFO: Processing buffer {"connection_id":128589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bae348012cb29c0007823c60004300b32f..."} 
[2026-07-11 16:06:19] local.INFO: Packet analysis {"connection_id":128589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:06:19] local.INFO: Extracted packet for processing {"connection_id":128589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ba"} 
[2026-07-11 16:06:19] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":67,"angle":179,"satellites":47,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456643981312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783765853000,"timestamp_ms":1783765853000,"timestamp_seconds":1783765853,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bae348"} 
[2026-07-11 16:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456643981312001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456643981312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:06:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:06:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:06:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456643981312001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":128589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:06:19] local.INFO: GPS data processed {"connection_id":128589,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:06:19] local.INFO: Acknowledgment sent {"connection_id":128589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:06:32] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bee6a0012d7db88005d57c500010011007..."} 
[2026-07-11 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bee6a0012d7db88005d57c500010011007..."} 
[2026-07-11 16:06:32] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bee6a0012d7db88005d57c500010011007..."} 
[2026-07-11 16:06:32] local.INFO: Packet analysis {"connection_id":130709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50be"} 
[2026-07-11 16:06:32] local.INFO: Extracted packet for processing {"connection_id":130709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50be"} 
[2026-07-11 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763213952,"raw_latitude":97877072,"longitude_deg":76.3213952,"latitude_deg":9.7877072,"altitude":16,"angle":272,"satellites":7,"speed":26,"hex_longitude":"2d7db880","hex_latitude":"05d57c50","is_valid_coordinates":true} 
[2026-07-11 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644125184001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105002656077971456,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060538787884146688,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783766116000,"timestamp_ms":1783766116000,"timestamp_seconds":1783766116,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bee6a0"} 
[2026-07-11 16:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-11 16:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644125184001,"66":13254,"111":206,"85":15104,"24":26,"16":105002656077971456,"45":9060538787884146688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-11 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644125184001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:06:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105002656077971456,"km_value":105002656077971.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060538787884146688,"description":"Unknown IO ID 45"} 
[2026-07-11 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644125184001,"power":13254,"unknown_111":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9060538787884146688}} 
[2026-07-11 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":130709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:06:32] local.INFO: GPS data processed {"connection_id":130709,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:06:32] local.INFO: Acknowledgment sent {"connection_id":130709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:06:37] local.INFO: TCP Data received {"connection_id":128765,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bd6000012d1b40000725c6b0002b002421..."} 
[2026-07-11 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bd6000012d1b40000725c6b0002b002421..."} 
[2026-07-11 16:06:37] local.INFO: Processing buffer {"connection_id":128765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bd6000012d1b40000725c6b0002b002421..."} 
[2026-07-11 16:06:37] local.INFO: Packet analysis {"connection_id":128765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:06:37] local.INFO: Extracted packet for processing {"connection_id":128765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756760576,"raw_latitude":119916208,"longitude_deg":75.6760576,"latitude_deg":11.9916208,"altitude":43,"angle":36,"satellites":33,"speed":2,"hex_longitude":"2d1b4000","hex_latitude":"0725c6b0","is_valid_coordinates":true} 
[2026-07-11 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644099328001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730366841159680,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361999497216,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783766016000,"timestamp_ms":1783766016000,"timestamp_seconds":1783766016,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bd6000"} 
[2026-07-11 16:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-11 16:06:37] 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-07-11 16:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644099328001,"66":13135,"92":206,"28":31744,"24":2,"16":5730366841159680,"45":1963358361999497216},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644099328001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:06:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730366841159680,"km_value":5730366841159.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361999497216,"description":"Unknown IO ID 45"} 
[2026-07-11 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644099328001,"power":13135,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1963358361999497216}} 
[2026-07-11 16:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":128765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:06:38] local.INFO: GPS data processed {"connection_id":128765,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:06:38] local.INFO: Acknowledgment sent {"connection_id":128765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:06:51] local.INFO: TCP Data received {"connection_id":128590,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:06:51] local.INFO: Processing buffer {"connection_id":128590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:06:51] local.INFO: IMEI packet received {"connection_id":128590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":128590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:06:56] local.INFO: TCP Data received {"connection_id":128590,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:06:56] local.INFO: Processing buffer {"connection_id":128590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:06:56] local.INFO: IMEI packet received {"connection_id":128590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":128590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:06:57] local.INFO: TCP Data received {"connection_id":128590,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bfec58012d7d304005d587080002016408..."} 
[2026-07-11 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bfec58012d7d304005d587080002016408..."} 
[2026-07-11 16:06:57] local.INFO: Processing buffer {"connection_id":128590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bfec58012d7d304005d587080002016408..."} 
[2026-07-11 16:06:57] local.INFO: Packet analysis {"connection_id":128590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:06:57] local.INFO: Extracted packet for processing {"connection_id":128590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":97879816,"longitude_deg":76.3179072,"latitude_deg":9.7879816,"altitude":2,"angle":356,"satellites":8,"speed":19,"hex_longitude":"2d7d3040","hex_latitude":"05d58708","is_valid_coordinates":true} 
[2026-07-11 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644141056001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105004597403189248,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019936022493599744,"note":"Value kept but may cause issues"} 
[2026-07-11 16:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783766183000,"timestamp_ms":1783766183000,"timestamp_seconds":1783766183,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bfec58"} 
[2026-07-11 16:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 16:06:57] 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-07-11 16:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":128590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":128590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":128590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644141056001,"66":13319,"253":206,"85":15104,"24":19,"16":105004597403189248,"45":9019936022493599744},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-11 16:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644141056001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:06:57] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-11 16:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105004597403189248,"km_value":105004597403189.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019936022493599744,"description":"Unknown IO ID 45"} 
[2026-07-11 16:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644141056001,"power":13319,"unknown_253":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9019936022493599744}} 
[2026-07-11 16:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":128590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:06:57] local.INFO: GPS data processed {"connection_id":128590,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:06:57] local.INFO: Acknowledgment sent {"connection_id":128590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:06:59] local.INFO: TCP Data received {"connection_id":129478,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:06:59] local.INFO: Processing buffer {"connection_id":129478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:06:59] local.INFO: IMEI packet received {"connection_id":129478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":129478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:07:04] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:07:04] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:07:04] local.INFO: IMEI packet received {"connection_id":130714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":130714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:07:04] local.INFO: TCP Data received {"connection_id":129478,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:07:04] local.INFO: Processing buffer {"connection_id":129478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:07:04] local.INFO: IMEI packet received {"connection_id":129478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":129478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:07:05] local.INFO: TCP Data received {"connection_id":129478,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bd67d0012d1b40400725c710002b003422..."} 
[2026-07-11 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bd67d0012d1b40400725c710002b003422..."} 
[2026-07-11 16:07:05] local.INFO: Processing buffer {"connection_id":129478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bd67d0012d1b40400725c710002b003422..."} 
[2026-07-11 16:07:05] local.INFO: Packet analysis {"connection_id":129478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:07:05] local.INFO: Extracted packet for processing {"connection_id":129478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bd"} 
[2026-07-11 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119916304,"longitude_deg":75.676064,"latitude_deg":11.9916304,"altitude":43,"angle":52,"satellites":34,"speed":2,"hex_longitude":"2d1b4040","hex_latitude":"0725c710","is_valid_coordinates":true} 
[2026-07-11 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644100096001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730375431094272,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963569468232085504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783766018000,"timestamp_ms":1783766018000,"timestamp_seconds":1783766018,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bd67d0"} 
[2026-07-11 16:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-11 16:07:05] 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-07-11 16:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644100096001,"66":13102,"92":206,"28":31744,"24":2,"16":5730375431094272,"45":1963569468232085504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644100096001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:07:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730375431094272,"km_value":5730375431094.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963569468232085504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644100096001,"power":13102,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1963569468232085504}} 
[2026-07-11 16:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":129478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:07:05] local.INFO: GPS data processed {"connection_id":129478,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:07:05] local.INFO: Acknowledgment sent {"connection_id":129478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:07:09] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:07:09] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:07:09] local.INFO: IMEI packet received {"connection_id":130714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":130714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:07:10] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:07:10] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:07:10] local.INFO: Packet analysis {"connection_id":130714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:07:10] local.INFO: Extracted packet for processing {"connection_id":130714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644058368001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766154000,"timestamp_ms":1783766154000,"timestamp_seconds":1783766154,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bf7b10"} 
[2026-07-11 16:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16: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-07-11 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644058368001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644058368001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:07:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644058368001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":130714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:07:10] local.INFO: GPS data processed {"connection_id":130714,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:07:10] local.INFO: Acknowledgment sent {"connection_id":130714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:07:28] local.INFO: TCP Data received {"connection_id":128590,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c02ec0012d7d2d4005d59f000004015908..."} 
[2026-07-11 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c02ec0012d7d2d4005d59f000004015908..."} 
[2026-07-11 16:07:28] local.INFO: Processing buffer {"connection_id":128590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c02ec0012d7d2d4005d59f000004015908..."} 
[2026-07-11 16:07:28] local.INFO: Packet analysis {"connection_id":128590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:07:28] local.INFO: Extracted packet for processing {"connection_id":128590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763178304,"raw_latitude":97885952,"longitude_deg":76.3178304,"latitude_deg":9.7885952,"altitude":4,"angle":345,"satellites":8,"speed":8,"hex_longitude":"2d7d2d40","hex_latitude":"05d59f00","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644142848001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105004902345867264,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447424514048,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783766200000,"timestamp_ms":1783766200000,"timestamp_seconds":1783766200,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c02ec0"} 
[2026-07-11 16:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3221607799,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":12,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835153102,"corrected_to":0} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3217377281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":213,"raw_value":8367688142032013056,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3581337600,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847720,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57888174819398971,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.WARNING: Large IO value detected {"io_id":191,"raw_value":-7608830275555999739,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,253,85,24,241,157,16,13,159,209,45,64,123,4,8,10,66,12,205,122,201,192,1,240,138,227,80,213,113,5,185,112,239,49,2,117,6,248,191],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2835153102,"validated":0}]} 
[2026-07-11 16:07:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144506648576327680,"timestamp_seconds":144506648576327.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":128590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":128590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":128590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644142848001,"66":13330,"253":206,"85":15104,"24":8,"16":105004902345867264,"45":9020780447424514048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-11 16:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644142848001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:07:28] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-11 16:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105004902345867264,"km_value":105004902345867.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447424514048,"description":"Unknown IO ID 45"} 
[2026-07-11 16:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644142848001,"power":13330,"unknown_253":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9020780447424514048}} 
[2026-07-11 16:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":128590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:07:28] local.INFO: GPS data processed {"connection_id":128590,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:07:28] local.INFO: Acknowledgment sent {"connection_id":128590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:07:37] local.INFO: TCP Data received {"connection_id":129478,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bfcd18012d1b42000725c6c8002a008328..."} 
[2026-07-11 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bfcd18012d1b42000725c6c8002a008328..."} 
[2026-07-11 16:07:37] local.INFO: Processing buffer {"connection_id":129478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bfcd18012d1b42000725c6c8002a008328..."} 
[2026-07-11 16:07:37] local.INFO: Packet analysis {"connection_id":129478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:07:37] local.INFO: Extracted packet for processing {"connection_id":129478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756761088,"raw_latitude":119916232,"longitude_deg":75.6761088,"latitude_deg":11.9916232,"altitude":42,"angle":131,"satellites":40,"speed":0,"hex_longitude":"2d1b4200","hex_latitude":"0725c6c8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644135424001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730401200898048,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964132418185512960,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783766175000,"timestamp_ms":1783766175000,"timestamp_seconds":1783766175,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bfcd18"} 
[2026-07-11 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 16:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644135424001,"66":12950,"92":206,"28":31744,"24":0,"16":5730401200898048,"45":1964132418185512960},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644135424001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:07:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730401200898048,"km_value":5730401200898.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964132418185512960,"description":"Unknown IO ID 45"} 
[2026-07-11 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644135424001,"power":12950,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964132418185512960}} 
[2026-07-11 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":129478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:07:37] local.INFO: GPS data processed {"connection_id":129478,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:07:37] local.INFO: Acknowledgment sent {"connection_id":129478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:07:41] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:07:41] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:07:41] local.INFO: Packet analysis {"connection_id":130714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:07:41] local.INFO: Extracted packet for processing {"connection_id":130714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644058368001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766154000,"timestamp_ms":1783766154000,"timestamp_seconds":1783766154,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bf7b10"} 
[2026-07-11 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-07-11 16:07: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-07-11 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-07-11 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-07-11 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-07-11 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-07-11 16:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644058368001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644058368001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:07:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644058368001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":130714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:07:41] local.INFO: GPS data processed {"connection_id":130714,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:07:41] local.INFO: Acknowledgment sent {"connection_id":130714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:07:55] local.INFO: TCP Data received {"connection_id":129479,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:07:55] local.INFO: Processing buffer {"connection_id":129479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:07:55] local.INFO: IMEI packet received {"connection_id":129479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":129479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:07:56] local.INFO: TCP Data received {"connection_id":129479,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:07:56] local.INFO: Processing buffer {"connection_id":129479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:07:56] local.INFO: IMEI packet received {"connection_id":129479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":129479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:08:01] local.INFO: TCP Data received {"connection_id":129479,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:08:01] local.INFO: Processing buffer {"connection_id":129479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:08:01] local.INFO: IMEI packet received {"connection_id":129479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":129479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:08:02] local.INFO: TCP Data received {"connection_id":129479,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c04a18012d7d2c4005d5a6680003016408..."} 
[2026-07-11 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c04a18012d7d2c4005d5a6680003016408..."} 
[2026-07-11 16:08:02] local.INFO: Processing buffer {"connection_id":129479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c04a18012d7d2c4005d5a6680003016408..."} 
[2026-07-11 16:08:02] local.INFO: Packet analysis {"connection_id":129479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:02] local.INFO: Extracted packet for processing {"connection_id":129479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763178048,"raw_latitude":97887848,"longitude_deg":76.3178048,"latitude_deg":9.7887848,"altitude":3,"angle":356,"satellites":8,"speed":14,"hex_longitude":"2d7d2c40","hex_latitude":"05d5a668","is_valid_coordinates":true} 
[2026-07-11 16:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644147200001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105004996835147776,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019936022495952896,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783766207000,"timestamp_ms":1783766207000,"timestamp_seconds":1783766207,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c04a18"} 
[2026-07-11 16:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":12,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835153102,"corrected_to":0} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277845648003920928,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3217633281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":213,"raw_value":8565846517047166976,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3221607800,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397096,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3581374464,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":167,"raw_value":57888174819398971,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":191,"raw_value":-5357030461871849467,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":168,"raw_value":-215945916656379904,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.WARNING: Large IO value detected {"io_id":43,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,253,85,24,241,157,16,13,159,236,45,64,135,2,8,10,66,209,123,4,12,205,1,240,138,227,80,213,113,6,197,44,192,239,49,117,5,9,167,191,168,43],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2835153102,"validated":0}]} 
[2026-07-11 16:08:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288609742023557120,"timestamp_seconds":288609742023557.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":129479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":129479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":129479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644147200001,"66":13363,"253":206,"85":15104,"24":14,"16":105004996835147776,"45":9019936022495952896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-11 16:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644147200001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:08:02] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-11 16:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105004996835147776,"km_value":105004996835147.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019936022495952896,"description":"Unknown IO ID 45"} 
[2026-07-11 16:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644147200001,"power":13363,"unknown_253":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9019936022495952896}} 
[2026-07-11 16:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":129479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:08:02] local.INFO: GPS data processed {"connection_id":129479,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:08:02] local.INFO: Acknowledgment sent {"connection_id":129479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:08:04] local.INFO: TCP Data received {"connection_id":128591,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:08:04] local.INFO: Processing buffer {"connection_id":128591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:08:04] local.INFO: IMEI packet received {"connection_id":128591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":128591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:08:04] local.INFO: TCP Data received {"connection_id":130715,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:08:04] local.INFO: Processing buffer {"connection_id":130715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:08:04] local.INFO: IMEI packet received {"connection_id":130715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":130715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:08:07] local.INFO: TCP Data received {"connection_id":129479,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c09068012d7d290005d5c8b80001000508..."} 
[2026-07-11 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c09068012d7d290005d5c8b80001000508..."} 
[2026-07-11 16:08:07] local.INFO: Processing buffer {"connection_id":129479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c09068012d7d290005d5c8b80001000508..."} 
[2026-07-11 16:08:07] local.INFO: Packet analysis {"connection_id":129479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:07] local.INFO: Extracted packet for processing {"connection_id":129479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":97896632,"longitude_deg":76.3177216,"latitude_deg":9.7896632,"altitude":1,"angle":5,"satellites":8,"speed":18,"hex_longitude":"2d7d2900","hex_latitude":"05d5c8b8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644148992001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105005426331877376,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019654547519727616,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783766225000,"timestamp_ms":1783766225000,"timestamp_seconds":1783766225,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c09068"} 
[2026-07-11 16:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 16:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644148992001,"66":13472,"253":206,"85":15104,"24":18,"16":105005426331877376,"45":9019654547519727616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-11 16:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644148992001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:08:07] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-11 16:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105005426331877376,"km_value":105005426331877.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019654547519727616,"description":"Unknown IO ID 45"} 
[2026-07-11 16:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644148992001,"power":13472,"unknown_253":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9019654547519727616}} 
[2026-07-11 16:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":129479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:08:07] local.INFO: GPS data processed {"connection_id":129479,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:08:07] local.INFO: Acknowledgment sent {"connection_id":129479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:08:09] local.INFO: TCP Data received {"connection_id":128591,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:08:09] local.INFO: Processing buffer {"connection_id":128591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:08:09] local.INFO: IMEI packet received {"connection_id":128591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":128591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:08:10] local.INFO: TCP Data received {"connection_id":130715,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:08:10] local.INFO: Processing buffer {"connection_id":130715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:08:10] local.INFO: IMEI packet received {"connection_id":130715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":130715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:08:10] local.INFO: TCP Data received {"connection_id":128591,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:08:10] local.INFO: Processing buffer {"connection_id":128591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:08:10] local.INFO: Packet analysis {"connection_id":128591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:08:10] local.INFO: Extracted packet for processing {"connection_id":128591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644058368001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766154000,"timestamp_ms":1783766154000,"timestamp_seconds":1783766154,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bf7b10"} 
[2026-07-11 16:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16: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-07-11 16:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644058368001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644058368001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:08:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644058368001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":128591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:08:10] local.INFO: GPS data processed {"connection_id":128591,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:08:10] local.INFO: Acknowledgment sent {"connection_id":128591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:08:11] local.INFO: TCP Data received {"connection_id":130715,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c01f20012d1b42000725c6c8002a008329..."} 
[2026-07-11 16:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c01f20012d1b42000725c6c8002a008329..."} 
[2026-07-11 16:08:11] local.INFO: Processing buffer {"connection_id":130715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c01f20012d1b42000725c6c8002a008329..."} 
[2026-07-11 16:08:11] local.INFO: Packet analysis {"connection_id":130715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:11] local.INFO: Extracted packet for processing {"connection_id":130715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756761088,"raw_latitude":119916232,"longitude_deg":75.6761088,"latitude_deg":11.9916232,"altitude":42,"angle":131,"satellites":41,"speed":0,"hex_longitude":"2d1b4200","hex_latitude":"0725c6c8","is_valid_coordinates":true} 
[2026-07-11 16:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644140800001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730401200898048,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964132418185512960,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783766196000,"timestamp_ms":1783766196000,"timestamp_seconds":1783766196,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c01f20"} 
[2026-07-11 16:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 16:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644140800001,"66":12874,"92":206,"28":31744,"24":0,"16":5730401200898048,"45":1964132418185512960},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644140800001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:08:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730401200898048,"km_value":5730401200898.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964132418185512960,"description":"Unknown IO ID 45"} 
[2026-07-11 16:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644140800001,"power":12874,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964132418185512960}} 
[2026-07-11 16:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":130715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:08:11] local.INFO: GPS data processed {"connection_id":130715,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:08:11] local.INFO: Acknowledgment sent {"connection_id":130715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:08:15] local.INFO: TCP Data received {"connection_id":130715,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c07128012d1b42000725c6c8002a008329..."} 
[2026-07-11 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c07128012d1b42000725c6c8002a008329..."} 
[2026-07-11 16:08:15] local.INFO: Processing buffer {"connection_id":130715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c07128012d1b42000725c6c8002a008329..."} 
[2026-07-11 16:08:15] local.INFO: Packet analysis {"connection_id":130715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:15] local.INFO: Extracted packet for processing {"connection_id":130715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756761088,"raw_latitude":119916232,"longitude_deg":75.6761088,"latitude_deg":11.9916232,"altitude":42,"angle":131,"satellites":41,"speed":0,"hex_longitude":"2d1b4200","hex_latitude":"0725c6c8","is_valid_coordinates":true} 
[2026-07-11 16:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644146176001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730401200898048,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964132418185512960,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783766217000,"timestamp_ms":1783766217000,"timestamp_seconds":1783766217,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c07128"} 
[2026-07-11 16:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-11 16:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644146176001,"66":12885,"92":206,"28":31744,"24":0,"16":5730401200898048,"45":1964132418185512960},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644146176001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:08:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:08:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730401200898048,"km_value":5730401200898.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964132418185512960,"description":"Unknown IO ID 45"} 
[2026-07-11 16:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644146176001,"power":12885,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964132418185512960}} 
[2026-07-11 16:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":130715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:08:15] local.INFO: GPS data processed {"connection_id":130715,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:08:15] local.INFO: Acknowledgment sent {"connection_id":130715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:08:41] local.INFO: TCP Data received {"connection_id":128591,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:08:41] local.INFO: Processing buffer {"connection_id":128591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:08:41] local.INFO: Packet analysis {"connection_id":128591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:08:41] local.INFO: Extracted packet for processing {"connection_id":128591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644058368001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766154000,"timestamp_ms":1783766154000,"timestamp_seconds":1783766154,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bf7b10"} 
[2026-07-11 16:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16: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-07-11 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:08: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-07-11 16:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644058368001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644058368001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:08:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644058368001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":128591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:08:41] local.INFO: GPS data processed {"connection_id":128591,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:08:41] local.INFO: Acknowledgment sent {"connection_id":128591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:08:52] local.INFO: TCP Data received {"connection_id":129480,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:08:52] local.INFO: Processing buffer {"connection_id":129480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:08:52] local.INFO: IMEI packet received {"connection_id":129480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":129480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:08:52] local.INFO: TCP Data received {"connection_id":129480,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:08:52] local.INFO: Processing buffer {"connection_id":129480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:08:52] local.INFO: IMEI packet received {"connection_id":129480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":129480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:08:53] local.INFO: TCP Data received {"connection_id":129480,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c0a008012d7d288005d5d1000001016208..."} 
[2026-07-11 16:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c0a008012d7d288005d5d1000001016208..."} 
[2026-07-11 16:08:53] local.INFO: Processing buffer {"connection_id":129480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c0a008012d7d288005d5d1000001016208..."} 
[2026-07-11 16:08:53] local.INFO: Packet analysis {"connection_id":129480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:53] local.INFO: Extracted packet for processing {"connection_id":129480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:53] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":97898752,"longitude_deg":76.3177088,"latitude_deg":9.7898752,"altitude":1,"angle":354,"satellites":8,"speed":20,"hex_longitude":"2d7d2880","hex_latitude":"05d5d100","is_valid_coordinates":true} 
[2026-07-11 16:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644153600001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105005529411092480,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753847666688,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783766229000,"timestamp_ms":1783766229000,"timestamp_seconds":1783766229,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c0a008"} 
[2026-07-11 16:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:08:53] 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-07-11 16:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-11 16:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":129480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":129480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":129480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644153600001,"66":13135,"253":206,"85":15104,"24":20,"16":105005529411092480,"45":9018739753847666688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-11 16:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644153600001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:08:53] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-11 16:08:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105005529411092480,"km_value":105005529411092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753847666688,"description":"Unknown IO ID 45"} 
[2026-07-11 16:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644153600001,"power":13135,"unknown_253":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9018739753847666688}} 
[2026-07-11 16:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":129480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:08:53] local.INFO: GPS data processed {"connection_id":129480,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:08:53] local.INFO: Acknowledgment sent {"connection_id":129480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:08:54] local.INFO: TCP Data received {"connection_id":129480,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c0bb60012d7d24c005d5df400004015508..."} 
[2026-07-11 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c0bb60012d7d24c005d5df400004015508..."} 
[2026-07-11 16:08:54] local.INFO: Processing buffer {"connection_id":129480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c0bb60012d7d24c005d5df400004015508..."} 
[2026-07-11 16:08:54] local.INFO: Packet analysis {"connection_id":129480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:54] local.INFO: Extracted packet for processing {"connection_id":129480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763176128,"raw_latitude":97902400,"longitude_deg":76.3176128,"latitude_deg":9.79024,"altitude":4,"angle":341,"satellites":8,"speed":20,"hex_longitude":"2d7d24c0","hex_latitude":"05d5df40","is_valid_coordinates":true} 
[2026-07-11 16:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644154624001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105005714094686208,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016359854080,"note":"Value kept but may cause issues"} 
[2026-07-11 16:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783766236000,"timestamp_ms":1783766236000,"timestamp_seconds":1783766236,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c0bb60"} 
[2026-07-11 16:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:08:54] 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-07-11 16:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-11 16:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644154624001,"66":12917,"253":206,"85":15104,"24":20,"16":105005714094686208,"45":9018599016359854080},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-11 16:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644154624001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:08:54] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-11 16:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105005714094686208,"km_value":105005714094686.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016359854080,"description":"Unknown IO ID 45"} 
[2026-07-11 16:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644154624001,"power":12917,"unknown_253":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9018599016359854080}} 
[2026-07-11 16:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":129480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:08:54] local.INFO: GPS data processed {"connection_id":129480,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:08:54] local.INFO: Acknowledgment sent {"connection_id":129480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:09:00] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:00] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:00] local.INFO: IMEI packet received {"connection_id":130716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":130716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:09:00] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:00] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:00] local.INFO: IMEI packet received {"connection_id":130716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":130716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:09:04] local.INFO: TCP Data received {"connection_id":128768,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:09:04] local.INFO: Processing buffer {"connection_id":128768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:09:04] local.INFO: IMEI packet received {"connection_id":128768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":128768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:09:04] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:04] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:04] local.INFO: IMEI packet received {"connection_id":130716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":130716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:09:06] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c0c330012d1b3f000725c4800032008328..."} 
[2026-07-11 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c0c330012d1b3f000725c4800032008328..."} 
[2026-07-11 16:09:06] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c0c330012d1b3f000725c4800032008328..."} 
[2026-07-11 16:09:06] local.INFO: Packet analysis {"connection_id":130716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:09:06] local.INFO: Extracted packet for processing {"connection_id":130716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c0"} 
[2026-07-11 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756760320,"raw_latitude":119915648,"longitude_deg":75.676032,"latitude_deg":11.9915648,"altitude":50,"angle":131,"satellites":40,"speed":0,"hex_longitude":"2d1b3f00","hex_latitude":"0725c480","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644151552001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730448445538304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964132418185512960,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783766238000,"timestamp_ms":1783766238000,"timestamp_seconds":1783766238,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c0c330"} 
[2026-07-11 16:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 16:09:06] 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-07-11 16: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-07-11 16:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644151552001,"66":12885,"92":206,"28":31744,"24":0,"16":5730448445538304,"45":1964132418185512960},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644151552001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:09:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730448445538304,"km_value":5730448445538.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964132418185512960,"description":"Unknown IO ID 45"} 
[2026-07-11 16:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644151552001,"power":12885,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964132418185512960}} 
[2026-07-11 16:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":130716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:09:06] local.INFO: GPS data processed {"connection_id":130716,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:09:06] local.INFO: Acknowledgment sent {"connection_id":130716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:09:09] local.INFO: TCP Data received {"connection_id":128768,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:09:09] local.INFO: Processing buffer {"connection_id":128768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:09:09] local.INFO: IMEI packet received {"connection_id":128768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":128768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:09:10] local.INFO: TCP Data received {"connection_id":128768,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:09:10] local.INFO: Processing buffer {"connection_id":128768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:09:10] local.INFO: Packet analysis {"connection_id":128768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:09:10] local.INFO: Extracted packet for processing {"connection_id":128768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644058368001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766154000,"timestamp_ms":1783766154000,"timestamp_seconds":1783766154,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bf7b10"} 
[2026-07-11 16:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:09: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-07-11 16:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644058368001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644058368001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:09:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644058368001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":128768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:09:10] local.INFO: GPS data processed {"connection_id":128768,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:09:10] local.INFO: Acknowledgment sent {"connection_id":128768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:09:11] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c11538012d1b3f000725c4780032008328..."} 
[2026-07-11 16:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c11538012d1b3f000725c4780032008328..."} 
[2026-07-11 16:09:11] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c11538012d1b3f000725c4780032008328..."} 
[2026-07-11 16:09:11] local.INFO: Packet analysis {"connection_id":130716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c1"} 
[2026-07-11 16:09:11] local.INFO: Extracted packet for processing {"connection_id":130716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c1"} 
[2026-07-11 16:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756760320,"raw_latitude":119915640,"longitude_deg":75.676032,"latitude_deg":11.991564,"altitude":50,"angle":131,"satellites":40,"speed":0,"hex_longitude":"2d1b3f00","hex_latitude":"0725c478","is_valid_coordinates":true} 
[2026-07-11 16:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644156928001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730448445538304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963287993255231488,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783766259000,"timestamp_ms":1783766259000,"timestamp_seconds":1783766259,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c11538"} 
[2026-07-11 16:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 16:09:11] 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-07-11 16:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644156928001,"66":12841,"92":206,"28":31744,"24":0,"16":5730448445538304,"45":1963287993255231488},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644156928001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:09:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730448445538304,"km_value":5730448445538.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963287993255231488,"description":"Unknown IO ID 45"} 
[2026-07-11 16:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644156928001,"power":12841,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1963287993255231488}} 
[2026-07-11 16:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":130716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:09:11] local.INFO: GPS data processed {"connection_id":130716,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:09:11] local.INFO: Acknowledgment sent {"connection_id":130716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:09:41] local.INFO: TCP Data received {"connection_id":128768,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:09:41] local.INFO: Processing buffer {"connection_id":128768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:09:41] local.INFO: Packet analysis {"connection_id":128768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:09:41] local.INFO: Extracted packet for processing {"connection_id":128768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644058368001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766154000,"timestamp_ms":1783766154000,"timestamp_seconds":1783766154,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bf7b10"} 
[2026-07-11 16:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:09: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-07-11 16:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:09: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-07-11 16:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644058368001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644058368001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:09:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644058368001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":128768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:09:41] local.INFO: GPS data processed {"connection_id":128768,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:09:41] local.INFO: Acknowledgment sent {"connection_id":128768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:09:42] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c16740012d1b3f000725c478003200832a..."} 
[2026-07-11 16:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c16740012d1b3f000725c478003200832a..."} 
[2026-07-11 16:09:42] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c16740012d1b3f000725c478003200832a..."} 
[2026-07-11 16:09:42] local.INFO: Packet analysis {"connection_id":130716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c1"} 
[2026-07-11 16:09:42] local.INFO: Extracted packet for processing {"connection_id":130716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c1"} 
[2026-07-11 16:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756760320,"raw_latitude":119915640,"longitude_deg":75.676032,"latitude_deg":11.991564,"altitude":50,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b3f00","hex_latitude":"0725c478","is_valid_coordinates":true} 
[2026-07-11 16:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644162304001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730448445538304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963287993255229440,"note":"Value kept but may cause issues"} 
[2026-07-11 16:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783766280000,"timestamp_ms":1783766280000,"timestamp_seconds":1783766280,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c16740"} 
[2026-07-11 16:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 16:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644162304001,"66":13972,"92":206,"28":31744,"24":0,"16":5730448445538304,"45":1963287993255229440},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644162304001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:09:42] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730448445538304,"km_value":5730448445538.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963287993255229440,"description":"Unknown IO ID 45"} 
[2026-07-11 16:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644162304001,"power":13972,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1963287993255229440}} 
[2026-07-11 16:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":130716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:09:42] local.INFO: GPS data processed {"connection_id":130716,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:09:42] local.INFO: Acknowledgment sent {"connection_id":130716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:09:59] local.INFO: TCP Data received {"connection_id":128769,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:59] local.INFO: Processing buffer {"connection_id":128769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:09:59] local.INFO: IMEI packet received {"connection_id":128769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":128769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:10:02] local.INFO: TCP Data received {"connection_id":128769,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:10:02] local.INFO: Processing buffer {"connection_id":128769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:10:02] local.INFO: IMEI packet received {"connection_id":128769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":128769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:10:03] local.INFO: TCP Data received {"connection_id":128769,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c1b948012d1b3f000725c4780032008327..."} 
[2026-07-11 16:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c1b948012d1b3f000725c4780032008327..."} 
[2026-07-11 16:10:03] local.INFO: Processing buffer {"connection_id":128769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c1b948012d1b3f000725c4780032008327..."} 
[2026-07-11 16:10:03] local.INFO: Packet analysis {"connection_id":128769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c1"} 
[2026-07-11 16:10:03] local.INFO: Extracted packet for processing {"connection_id":128769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c1"} 
[2026-07-11 16:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756760320,"raw_latitude":119915640,"longitude_deg":75.676032,"latitude_deg":11.991564,"altitude":50,"angle":131,"satellites":39,"speed":0,"hex_longitude":"2d1b3f00","hex_latitude":"0725c478","is_valid_coordinates":true} 
[2026-07-11 16:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644167680001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5730448445538304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963287993255229440,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783766301000,"timestamp_ms":1783766301000,"timestamp_seconds":1783766301,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c1b948"} 
[2026-07-11 16:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-11 16:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":128769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":128769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":128769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644167680001,"66":14233,"92":206,"28":31744,"24":0,"16":5730448445538304,"45":1963287993255229440},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644167680001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:10:03] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5730448445538304,"km_value":5730448445538.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963287993255229440,"description":"Unknown IO ID 45"} 
[2026-07-11 16:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644167680001,"power":14233,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1963287993255229440}} 
[2026-07-11 16:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":128769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:10:03] local.INFO: GPS data processed {"connection_id":128769,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:10:03] local.INFO: Acknowledgment sent {"connection_id":128769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:10:04] local.INFO: TCP Data received {"connection_id":128592,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:10:04] local.INFO: Processing buffer {"connection_id":128592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:10:04] local.INFO: IMEI packet received {"connection_id":128592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":128592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:10:09] local.INFO: TCP Data received {"connection_id":128592,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:10:09] local.INFO: Processing buffer {"connection_id":128592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:10:09] local.INFO: IMEI packet received {"connection_id":128592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":128592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:10:10] local.INFO: TCP Data received {"connection_id":128592,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:10:10] local.INFO: Processing buffer {"connection_id":128592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50bf7b10012cb29c0007823c60004600b32a..."} 
[2026-07-11 16:10:10] local.INFO: Packet analysis {"connection_id":128592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:10:10] local.INFO: Extracted packet for processing {"connection_id":128592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50bf"} 
[2026-07-11 16:10:10] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644058368001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766154000,"timestamp_ms":1783766154000,"timestamp_seconds":1783766154,"priority":1,"record_length":96,"hex_timestamp":"0000019f50bf7b10"} 
[2026-07-11 16:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:10: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-07-11 16:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644058368001,"66":25430,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644058368001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:10:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644058368001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":128592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:10:10] local.INFO: GPS data processed {"connection_id":128592,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:10:10] local.INFO: Acknowledgment sent {"connection_id":128592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:10:10] local.INFO: TCP Data received {"connection_id":129481,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:10:10] local.INFO: Processing buffer {"connection_id":129481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:10:10] local.INFO: IMEI packet received {"connection_id":129481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":129481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:10:35] local.INFO: TCP Data received {"connection_id":128769,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c2bf00012d1b648007256ae00029008b26..."} 
[2026-07-11 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c2bf00012d1b648007256ae00029008b26..."} 
[2026-07-11 16:10:35] local.INFO: Processing buffer {"connection_id":128769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c2bf00012d1b648007256ae00029008b26..."} 
[2026-07-11 16:10:35] local.INFO: Packet analysis {"connection_id":128769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c2"} 
[2026-07-11 16:10:35] local.INFO: Extracted packet for processing {"connection_id":128769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c2"} 
[2026-07-11 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756769920,"raw_latitude":119892704,"longitude_deg":75.676992,"latitude_deg":11.9892704,"altitude":41,"angle":139,"satellites":38,"speed":6,"hex_longitude":"2d1b6480","hex_latitude":"07256ae0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644189184001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5731797065269248,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972998879946070016,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783766368000,"timestamp_ms":1783766368000,"timestamp_seconds":1783766368,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c2bf00"} 
[2026-07-11 16:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-11 16:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":128769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":128769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":128769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644189184001,"66":13015,"92":206,"28":31744,"24":6,"16":5731797065269248,"45":1972998879946070016},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644189184001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:10:35] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5731797065269248,"km_value":5731797065269.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972998879946070016,"description":"Unknown IO ID 45"} 
[2026-07-11 16:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644189184001,"power":13015,"unknown_92":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1972998879946070016}} 
[2026-07-11 16:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":128769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:10:35] local.INFO: GPS data processed {"connection_id":128769,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:10:35] local.INFO: Acknowledgment sent {"connection_id":128769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:10:41] local.INFO: TCP Data received {"connection_id":128592,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c31cc0012cb29c0007823c60004600b32d..."} 
[2026-07-11 16:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c31cc0012cb29c0007823c60004600b32d..."} 
[2026-07-11 16:10:41] local.INFO: Processing buffer {"connection_id":128592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c31cc0012cb29c0007823c60004600b32d..."} 
[2026-07-11 16:10:41] local.INFO: Packet analysis {"connection_id":128592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:10:41] local.INFO: Extracted packet for processing {"connection_id":128592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:10:41] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975648,"longitude_deg":74.9902848,"latitude_deg":12.5975648,"altitude":70,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823c60","is_valid_coordinates":true} 
[2026-07-11 16:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644135424001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766392000,"timestamp_ms":1783766392000,"timestamp_seconds":1783766392,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c31cc0"} 
[2026-07-11 16:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:10: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-07-11 16:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 16:10: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-07-11 16:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644135424001,"66":25419,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644135424001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:10:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644135424001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":128592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:10:41] local.INFO: GPS data processed {"connection_id":128592,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:10:41] local.INFO: Acknowledgment sent {"connection_id":128592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:10:45] local.INFO: TCP Data received {"connection_id":128593,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:10:45] local.INFO: Processing buffer {"connection_id":128593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:10:45] local.INFO: IMEI packet received {"connection_id":128593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":128593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:11:00] local.INFO: TCP Data received {"connection_id":129482,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:00] local.INFO: Processing buffer {"connection_id":129482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:00] local.INFO: IMEI packet received {"connection_id":129482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":129482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:11:05] local.INFO: TCP Data received {"connection_id":129483,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:11:05] local.INFO: Processing buffer {"connection_id":129483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:11:05] local.INFO: IMEI packet received {"connection_id":129483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":129483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:11:05] local.INFO: TCP Data received {"connection_id":129482,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:05] local.INFO: Processing buffer {"connection_id":129482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:05] local.INFO: IMEI packet received {"connection_id":129482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":129482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:11:06] local.INFO: TCP Data received {"connection_id":129482,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c30550012d1b63c007256b700029014628..."} 
[2026-07-11 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c30550012d1b63c007256b700029014628..."} 
[2026-07-11 16:11:06] local.INFO: Processing buffer {"connection_id":129482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c30550012d1b63c007256b700029014628..."} 
[2026-07-11 16:11:06] local.INFO: Packet analysis {"connection_id":129482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:11:06] local.INFO: Extracted packet for processing {"connection_id":129482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756769728,"raw_latitude":119892848,"longitude_deg":75.6769728,"latitude_deg":11.9892848,"altitude":41,"angle":326,"satellites":40,"speed":3,"hex_longitude":"2d1b63c0","hex_latitude":"07256b70","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644190208001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5731822835073024,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973843304876007424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783766386000,"timestamp_ms":1783766386000,"timestamp_seconds":1783766386,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c30550"} 
[2026-07-11 16:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 16:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644190208001,"66":13461,"92":206,"28":31744,"24":3,"16":5731822835073024,"45":1973843304876007424},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644190208001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:11:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5731822835073024,"km_value":5731822835073.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973843304876007424,"description":"Unknown IO ID 45"} 
[2026-07-11 16:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644190208001,"power":13461,"unknown_92":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1973843304876007424}} 
[2026-07-11 16:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":129482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:11:06] local.INFO: GPS data processed {"connection_id":129482,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:11:06] local.INFO: Acknowledgment sent {"connection_id":129482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:11:09] local.INFO: TCP Data received {"connection_id":129483,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:11:09] local.INFO: Processing buffer {"connection_id":129483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:11:09] local.INFO: IMEI packet received {"connection_id":129483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":129483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:11:10] local.INFO: TCP Data received {"connection_id":129483,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c33048012cb29d8007823ac8004700332d..."} 
[2026-07-11 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c33048012cb29d8007823ac8004700332d..."} 
[2026-07-11 16:11:10] local.INFO: Processing buffer {"connection_id":129483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c33048012cb29d8007823ac8004700332d..."} 
[2026-07-11 16:11:10] local.INFO: Packet analysis {"connection_id":129483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:11:10] local.INFO: Extracted packet for processing {"connection_id":129483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749903232,"raw_latitude":125975240,"longitude_deg":74.9903232,"latitude_deg":12.597524,"altitude":71,"angle":51,"satellites":45,"speed":0,"hex_longitude":"2cb29d80","hex_latitude":"07823ac8","is_valid_coordinates":true} 
[2026-07-11 16:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644196352001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197374961876992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341750784,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766397000,"timestamp_ms":1783766397000,"timestamp_seconds":1783766397,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c33048"} 
[2026-07-11 16:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 16:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644196352001,"66":27463,"221":206,"85":36864,"24":0,"16":345197374961876992,"44":-5576582206341750784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-11 16:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644196352001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:11:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-11 16:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197374961876992,"km_value":345197374961877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341750784,"description":"Unknown IO ID 44"} 
[2026-07-11 16:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644196352001,"power":27463,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341750784}} 
[2026-07-11 16:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":129483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:11:10] local.INFO: GPS data processed {"connection_id":129483,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:11:10] local.INFO: Acknowledgment sent {"connection_id":129483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:11:37] local.INFO: TCP Data received {"connection_id":129482,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c314f0012d1b628007256cb00029013929..."} 
[2026-07-11 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c314f0012d1b628007256cb00029013929..."} 
[2026-07-11 16:11:37] local.INFO: Processing buffer {"connection_id":129482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c314f0012d1b628007256cb00029013929..."} 
[2026-07-11 16:11:37] local.INFO: Packet analysis {"connection_id":129482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:11:37] local.INFO: Extracted packet for processing {"connection_id":129482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756769408,"raw_latitude":119893168,"longitude_deg":75.6769408,"latitude_deg":11.9893168,"altitude":41,"angle":313,"satellites":41,"speed":2,"hex_longitude":"2d1b6280","hex_latitude":"07256cb0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644194816001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5731844309909504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973632198643511296,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783766390000,"timestamp_ms":1783766390000,"timestamp_seconds":1783766390,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c314f0"} 
[2026-07-11 16:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-11 16:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644194816001,"66":13993,"92":206,"28":31744,"24":2,"16":5731844309909504,"45":1973632198643511296},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644194816001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:11:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5731844309909504,"km_value":5731844309909.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973632198643511296,"description":"Unknown IO ID 45"} 
[2026-07-11 16:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644194816001,"power":13993,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1973632198643511296}} 
[2026-07-11 16:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":129482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:11:38] local.INFO: GPS data processed {"connection_id":129482,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:11:38] local.INFO: Acknowledgment sent {"connection_id":129482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:11:41] local.INFO: TCP Data received {"connection_id":129483,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c40720012cb2a24007823bd80048008a2f..."} 
[2026-07-11 16:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c40720012cb2a24007823bd80048008a2f..."} 
[2026-07-11 16:11:41] local.INFO: Processing buffer {"connection_id":129483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c40720012cb2a24007823bd80048008a2f..."} 
[2026-07-11 16:11:41] local.INFO: Packet analysis {"connection_id":129483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:11:41] local.INFO: Extracted packet for processing {"connection_id":129483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975512,"longitude_deg":74.9904448,"latitude_deg":12.5975512,"altitude":72,"angle":138,"satellites":47,"speed":8,"hex_longitude":"2cb2a240","hex_latitude":"07823bd8","is_valid_coordinates":true} 
[2026-07-11 16:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644211456001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197456566255616,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574963725225664512,"note":"Value kept but may cause issues"} 
[2026-07-11 16:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766452000,"timestamp_ms":1783766452000,"timestamp_seconds":1783766452,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c40720"} 
[2026-07-11 16:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 16:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644211456001,"66":27908,"242":206,"85":36864,"24":8,"16":345197456566255616,"44":-5574963725225664512},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-07-11 16:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644211456001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:11:41] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 16:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197456566255616,"km_value":345197456566255.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574963725225664512,"description":"Unknown IO ID 44"} 
[2026-07-11 16:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644211456001,"power":27908,"unknown_242":206,"unknown_85":36864,"ignition":8,"odometer":null,"unknown_44":-5574963725225664512}} 
[2026-07-11 16:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":129483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:11:41] local.INFO: GPS data processed {"connection_id":129483,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:11:41] local.INFO: Acknowledgment sent {"connection_id":129483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:11:58] local.INFO: TCP Data received {"connection_id":128772,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:58] local.INFO: Processing buffer {"connection_id":128772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:58] local.INFO: IMEI packet received {"connection_id":128772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":128772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:11:59] local.INFO: TCP Data received {"connection_id":128772,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:59] local.INFO: Processing buffer {"connection_id":128772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:11:59] local.INFO: IMEI packet received {"connection_id":128772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":128772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:12:04] local.INFO: TCP Data received {"connection_id":128773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:12:04] local.INFO: Processing buffer {"connection_id":128773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:12:04] local.INFO: IMEI packet received {"connection_id":128773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":128773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:12:05] local.INFO: TCP Data received {"connection_id":128772,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:12:05] local.INFO: Processing buffer {"connection_id":128772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:12:05] local.INFO: IMEI packet received {"connection_id":128772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":128772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:12:06] local.INFO: TCP Data received {"connection_id":128772,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c366f8012d1b628007256d080029014127..."} 
[2026-07-11 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c366f8012d1b628007256d080029014127..."} 
[2026-07-11 16:12:06] local.INFO: Processing buffer {"connection_id":128772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c366f8012d1b628007256d080029014127..."} 
[2026-07-11 16:12:06] local.INFO: Packet analysis {"connection_id":128772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:12:06] local.INFO: Extracted packet for processing {"connection_id":128772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756769408,"raw_latitude":119893256,"longitude_deg":75.6769408,"latitude_deg":11.9893256,"altitude":41,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2d1b6280","hex_latitude":"07256d08","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644195840001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5731848604876800,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354922704896,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783766411000,"timestamp_ms":1783766411000,"timestamp_seconds":1783766411,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c366f8"} 
[2026-07-11 16:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 16:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644195840001,"66":13972,"92":206,"28":31744,"24":0,"16":5731848604876800,"45":1973280354922704896},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644195840001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:12:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5731848604876800,"km_value":5731848604876.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354922704896,"description":"Unknown IO ID 45"} 
[2026-07-11 16:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644195840001,"power":13972,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1973280354922704896}} 
[2026-07-11 16:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":128772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:12:06] local.INFO: GPS data processed {"connection_id":128772,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:12:06] local.INFO: Acknowledgment sent {"connection_id":128772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:12:09] local.INFO: TCP Data received {"connection_id":128773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:12:09] local.INFO: Processing buffer {"connection_id":128773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:12:09] local.INFO: IMEI packet received {"connection_id":128773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":128773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:12:09] local.INFO: TCP Data received {"connection_id":128773,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c40b08012cb2a2c007823b18004800972f..."} 
[2026-07-11 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c40b08012cb2a2c007823b18004800972f..."} 
[2026-07-11 16:12:09] local.INFO: Processing buffer {"connection_id":128773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c40b08012cb2a2c007823b18004800972f..."} 
[2026-07-11 16:12:09] local.INFO: Packet analysis {"connection_id":128773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:12:09] local.INFO: Extracted packet for processing {"connection_id":128773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975320,"longitude_deg":74.9904576,"latitude_deg":12.597532,"altitude":72,"angle":151,"satellites":47,"speed":8,"hex_longitude":"2cb2a2c0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-07-11 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644211712001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197469451157504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737344000,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783766453000,"timestamp_ms":1783766453000,"timestamp_seconds":1783766453,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c40b08"} 
[2026-07-11 16:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 16:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644211712001,"66":28006,"242":206,"85":36864,"24":8,"16":345197469451157504,"44":-5574822987737344000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-07-11 16:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644211712001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:12:09] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 16:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197469451157504,"km_value":345197469451157.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737344000,"description":"Unknown IO ID 44"} 
[2026-07-11 16:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644211712001,"power":28006,"unknown_242":206,"unknown_85":36864,"ignition":8,"odometer":null,"unknown_44":-5574822987737344000}} 
[2026-07-11 16:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":128773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:12:09] local.INFO: GPS data processed {"connection_id":128773,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:12:09] local.INFO: Acknowledgment sent {"connection_id":128773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:12:38] local.INFO: TCP Data received {"connection_id":128772,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c3b900012d1b628007256d080029014123..."} 
[2026-07-11 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c3b900012d1b628007256d080029014123..."} 
[2026-07-11 16:12:38] local.INFO: Processing buffer {"connection_id":128772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c3b900012d1b628007256d080029014123..."} 
[2026-07-11 16:12:38] local.INFO: Packet analysis {"connection_id":128772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:12:38] local.INFO: Extracted packet for processing {"connection_id":128772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c3"} 
[2026-07-11 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756769408,"raw_latitude":119893256,"longitude_deg":75.6769408,"latitude_deg":11.9893256,"altitude":41,"angle":321,"satellites":35,"speed":0,"hex_longitude":"2d1b6280","hex_latitude":"07256d08","is_valid_coordinates":true} 
[2026-07-11 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644201216001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5731848604876800,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354922727424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783766432000,"timestamp_ms":1783766432000,"timestamp_seconds":1783766432,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c3b900"} 
[2026-07-11 16:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-11 16:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644201216001,"66":14374,"92":206,"28":31744,"24":0,"16":5731848604876800,"45":1973280354922727424},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644201216001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:12:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5731848604876800,"km_value":5731848604876.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354922727424,"description":"Unknown IO ID 45"} 
[2026-07-11 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644201216001,"power":14374,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1973280354922727424}} 
[2026-07-11 16:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":128772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:12:38] local.INFO: GPS data processed {"connection_id":128772,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:12:38] local.INFO: Acknowledgment sent {"connection_id":128772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:12:40] local.INFO: TCP Data received {"connection_id":128773,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c40ef0012cb2a30007823a40004800ac2f..."} 
[2026-07-11 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c40ef0012cb2a30007823a40004800ac2f..."} 
[2026-07-11 16:12:40] local.INFO: Processing buffer {"connection_id":128773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c40ef0012cb2a30007823a40004800ac2f..."} 
[2026-07-11 16:12:40] local.INFO: Packet analysis {"connection_id":128773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:12:40] local.INFO: Extracted packet for processing {"connection_id":128773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":749904640,"raw_latitude":125975104,"longitude_deg":74.990464,"latitude_deg":12.5975104,"altitude":72,"angle":172,"satellites":47,"speed":8,"hex_longitude":"2cb2a300","hex_latitude":"07823a40","is_valid_coordinates":true} 
[2026-07-11 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644211968001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197478041092096,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249037824,"note":"Value kept but may cause issues"} 
[2026-07-11 16:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783766454000,"timestamp_ms":1783766454000,"timestamp_seconds":1783766454,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c40ef0"} 
[2026-07-11 16:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:12:40] 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-07-11 16:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644211968001,"66":28006,"242":206,"85":36864,"24":8,"16":345197478041092096,"44":-5574682250249037824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-07-11 16:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644211968001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:12:40] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 16:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197478041092096,"km_value":345197478041092.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249037824,"description":"Unknown IO ID 44"} 
[2026-07-11 16:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644211968001,"power":28006,"unknown_242":206,"unknown_85":36864,"ignition":8,"odometer":null,"unknown_44":-5574682250249037824}} 
[2026-07-11 16:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":128773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:12:40] local.INFO: GPS data processed {"connection_id":128773,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:12:40] local.INFO: Acknowledgment sent {"connection_id":128773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:12:59] local.INFO: TCP Data received {"connection_id":129484,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:12:59] local.INFO: Processing buffer {"connection_id":129484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:12:59] local.INFO: IMEI packet received {"connection_id":129484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":129484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:13:04] local.INFO: TCP Data received {"connection_id":128775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:13:04] local.INFO: Processing buffer {"connection_id":128775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:13:04] local.INFO: IMEI packet received {"connection_id":128775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":128775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:13:04] local.INFO: TCP Data received {"connection_id":129484,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:13:04] local.INFO: Processing buffer {"connection_id":129484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:13:04] local.INFO: IMEI packet received {"connection_id":129484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":129484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:13:05] local.INFO: TCP Data received {"connection_id":129484,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c40b08012d1b628007256d080029014129..."} 
[2026-07-11 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c40b08012d1b628007256d080029014129..."} 
[2026-07-11 16:13:05] local.INFO: Processing buffer {"connection_id":129484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c40b08012d1b628007256d080029014129..."} 
[2026-07-11 16:13:05] local.INFO: Packet analysis {"connection_id":129484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:13:05] local.INFO: Extracted packet for processing {"connection_id":129484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756769408,"raw_latitude":119893256,"longitude_deg":75.6769408,"latitude_deg":11.9893256,"altitude":41,"angle":321,"satellites":41,"speed":0,"hex_longitude":"2d1b6280","hex_latitude":"07256d08","is_valid_coordinates":true} 
[2026-07-11 16:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644206592001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5731848604876800,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354922727424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783766453000,"timestamp_ms":1783766453000,"timestamp_seconds":1783766453,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c40b08"} 
[2026-07-11 16:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 16:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644206592001,"66":14396,"92":206,"28":31744,"24":0,"16":5731848604876800,"45":1973280354922727424},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644206592001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:13:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:13:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5731848604876800,"km_value":5731848604876.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354922727424,"description":"Unknown IO ID 45"} 
[2026-07-11 16:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644206592001,"power":14396,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1973280354922727424}} 
[2026-07-11 16:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":129484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:13:05] local.INFO: GPS data processed {"connection_id":129484,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:13:05] local.INFO: Acknowledgment sent {"connection_id":129484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:13:09] local.INFO: TCP Data received {"connection_id":128775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:13:09] local.INFO: Processing buffer {"connection_id":128775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:13:09] local.INFO: IMEI packet received {"connection_id":128775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":128775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:13:10] local.INFO: TCP Data received {"connection_id":128775,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c43218012cb2a34007823420004700b42d..."} 
[2026-07-11 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c43218012cb2a34007823420004700b42d..."} 
[2026-07-11 16:13:10] local.INFO: Processing buffer {"connection_id":128775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c43218012cb2a34007823420004700b42d..."} 
[2026-07-11 16:13:10] local.INFO: Packet analysis {"connection_id":128775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:13:10] local.INFO: Extracted packet for processing {"connection_id":128775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125973536,"longitude_deg":74.9904704,"latitude_deg":12.5973536,"altitude":71,"angle":180,"satellites":45,"speed":7,"hex_longitude":"2cb2a340","hex_latitude":"07823420","is_valid_coordinates":true} 
[2026-07-11 16:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644212224001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881504915456,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766463000,"timestamp_ms":1783766463000,"timestamp_seconds":1783766463,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c43218"} 
[2026-07-11 16:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:13:10] 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-07-11 16:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644212224001,"66":27843,"89":206,"85":36096,"24":7,"16":345197555350503424,"44":-5574611881504915456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644212224001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:13:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881504915456,"description":"Unknown IO ID 44"} 
[2026-07-11 16:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644212224001,"power":27843,"unknown_89":206,"unknown_85":36096,"ignition":7,"odometer":null,"unknown_44":-5574611881504915456}} 
[2026-07-11 16:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":128775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:13:10] local.INFO: GPS data processed {"connection_id":128775,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:13:10] local.INFO: Acknowledgment sent {"connection_id":128775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:13:37] local.INFO: TCP Data received {"connection_id":129484,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c43600012d1b628007256b580027009828..."} 
[2026-07-11 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c43600012d1b628007256b580027009828..."} 
[2026-07-11 16:13:37] local.INFO: Processing buffer {"connection_id":129484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c43600012d1b628007256b580027009828..."} 
[2026-07-11 16:13:37] local.INFO: Packet analysis {"connection_id":129484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:13:37] local.INFO: Extracted packet for processing {"connection_id":129484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756769408,"raw_latitude":119892824,"longitude_deg":75.6769408,"latitude_deg":11.9892824,"altitude":39,"angle":152,"satellites":40,"speed":4,"hex_longitude":"2d1b6280","hex_latitude":"07256b58","is_valid_coordinates":true} 
[2026-07-11 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644211968001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5731865784745984,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354922727424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783766464000,"timestamp_ms":1783766464000,"timestamp_seconds":1783766464,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c43600"} 
[2026-07-11 16:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 16:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644211968001,"66":14298,"92":206,"28":31744,"24":4,"16":5731865784745984,"45":1973280354922727424},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644211968001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:13:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5731865784745984,"km_value":5731865784745.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354922727424,"description":"Unknown IO ID 45"} 
[2026-07-11 16:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644211968001,"power":14298,"unknown_92":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1973280354922727424}} 
[2026-07-11 16:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":129484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:13:37] local.INFO: GPS data processed {"connection_id":129484,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:13:37] local.INFO: Acknowledgment sent {"connection_id":129484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:13:41] local.INFO: TCP Data received {"connection_id":128775,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:13:41] local.INFO: Processing buffer {"connection_id":128775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:13:41] local.INFO: Packet analysis {"connection_id":128775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:13:41] local.INFO: Extracted packet for processing {"connection_id":128775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:13:41] local.INFO: GPS Element Parsed {"raw_longitude":749904640,"raw_latitude":125972920,"longitude_deg":74.990464,"latitude_deg":12.597292,"altitude":71,"angle":193,"satellites":46,"speed":0,"hex_longitude":"2cb2a300","hex_latitude":"078231b8","is_valid_coordinates":true} 
[2026-07-11 16:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644214528001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761139200,"note":"Value kept but may cause issues"} 
[2026-07-11 16:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766467000,"timestamp_ms":1783766467000,"timestamp_seconds":1783766467,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c441b8"} 
[2026-07-11 16:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 16:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644214528001,"66":27006,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5574541512761139200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644214528001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:13:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761139200,"description":"Unknown IO ID 44"} 
[2026-07-11 16:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644214528001,"power":27006,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574541512761139200}} 
[2026-07-11 16:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":128775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:13:41] local.INFO: GPS data processed {"connection_id":128775,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:13:41] local.INFO: Acknowledgment sent {"connection_id":128775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:14:05] local.INFO: TCP Data received {"connection_id":130717,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:05] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:05] local.INFO: IMEI packet received {"connection_id":130717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":130717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:14:06] local.INFO: TCP Data received {"connection_id":130717,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:06] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:06] local.INFO: IMEI packet received {"connection_id":130717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":130717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:14:07] local.INFO: TCP Data received {"connection_id":130717,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c45d10012d1b6600072562b8002800a427..."} 
[2026-07-11 16:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c45d10012d1b6600072562b8002800a427..."} 
[2026-07-11 16:14:07] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c45d10012d1b6600072562b8002800a427..."} 
[2026-07-11 16:14:07] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:14:07] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756770304,"raw_latitude":119890616,"longitude_deg":75.6770304,"latitude_deg":11.9890616,"altitude":40,"angle":164,"satellites":39,"speed":12,"hex_longitude":"2d1b6600","hex_latitude":"072562b8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644214784001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5731986043830272,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354922616832,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783766474000,"timestamp_ms":1783766474000,"timestamp_seconds":1783766474,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c45d10"} 
[2026-07-11 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-07-11 16:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 16:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644214784001,"66":14374,"92":206,"28":31744,"24":12,"16":5731986043830272,"45":1973280354922616832},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-07-11 16:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644214784001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:14:07] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 16:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5731986043830272,"km_value":5731986043830.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354922616832,"description":"Unknown IO ID 45"} 
[2026-07-11 16:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644214784001,"power":14374,"unknown_92":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1973280354922616832}} 
[2026-07-11 16:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:14:08] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:14:08] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:14:09] local.INFO: TCP Data received {"connection_id":130718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:14:09] local.INFO: Processing buffer {"connection_id":130718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:14:09] local.INFO: IMEI packet received {"connection_id":130718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":130718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:14:14] local.INFO: TCP Data received {"connection_id":130718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:14:14] local.INFO: Processing buffer {"connection_id":130718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:14:14] local.INFO: IMEI packet received {"connection_id":130718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":130718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:14:15] local.INFO: TCP Data received {"connection_id":130718,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:14:15] local.INFO: Processing buffer {"connection_id":130718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:14:15] local.INFO: Packet analysis {"connection_id":130718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:14:15] local.INFO: Extracted packet for processing {"connection_id":130718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:14:15] local.INFO: GPS Element Parsed {"raw_longitude":749904640,"raw_latitude":125972920,"longitude_deg":74.990464,"latitude_deg":12.597292,"altitude":71,"angle":193,"satellites":46,"speed":0,"hex_longitude":"2cb2a300","hex_latitude":"078231b8","is_valid_coordinates":true} 
[2026-07-11 16:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644214528001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761139200,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783766467000,"timestamp_ms":1783766467000,"timestamp_seconds":1783766467,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c441b8"} 
[2026-07-11 16:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 16:14:15] 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-07-11 16:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644214528001,"66":27006,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5574541512761139200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644214528001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:14:15] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761139200,"description":"Unknown IO ID 44"} 
[2026-07-11 16:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644214528001,"power":27006,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574541512761139200}} 
[2026-07-11 16:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":130718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:14:15] local.INFO: GPS data processed {"connection_id":130718,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:14:15] local.INFO: Acknowledgment sent {"connection_id":130718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:14:19] local.INFO: TCP Data received {"connection_id":130718,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:14:19] local.INFO: Processing buffer {"connection_id":130718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:14:19] local.INFO: Packet analysis {"connection_id":130718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:14:19] local.INFO: Extracted packet for processing {"connection_id":130718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:14:19] local.INFO: GPS Element Parsed {"raw_longitude":749904640,"raw_latitude":125972920,"longitude_deg":74.990464,"latitude_deg":12.597292,"altitude":71,"angle":193,"satellites":46,"speed":0,"hex_longitude":"2cb2a300","hex_latitude":"078231b8","is_valid_coordinates":true} 
[2026-07-11 16:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644214528001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761139200,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783766467000,"timestamp_ms":1783766467000,"timestamp_seconds":1783766467,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c441b8"} 
[2026-07-11 16:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 16:14: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-07-11 16:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644214528001,"66":27006,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5574541512761139200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644214528001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:14:19] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761139200,"description":"Unknown IO ID 44"} 
[2026-07-11 16:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644214528001,"power":27006,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574541512761139200}} 
[2026-07-11 16:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":130718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:14:19] local.INFO: GPS data processed {"connection_id":130718,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:14:19] local.INFO: Acknowledgment sent {"connection_id":130718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:14:39] local.INFO: TCP Data received {"connection_id":130717,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c47480012d1b67c007255c00002600b328..."} 
[2026-07-11 16:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c47480012d1b67c007255c00002600b328..."} 
[2026-07-11 16:14:39] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c47480012d1b67c007255c00002600b328..."} 
[2026-07-11 16:14:39] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:14:39] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756770752,"raw_latitude":119888896,"longitude_deg":75.6770752,"latitude_deg":11.9888896,"altitude":38,"angle":179,"satellites":40,"speed":10,"hex_longitude":"2d1b67c0","hex_latitude":"07255c00","is_valid_coordinates":true} 
[2026-07-11 16:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644217344001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5732071943176192,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974265517340538880,"note":"Value kept but may cause issues"} 
[2026-07-11 16:14: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-07-11 16:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783766480000,"timestamp_ms":1783766480000,"timestamp_seconds":1783766480,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c47480"} 
[2026-07-11 16:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 16:14: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-07-11 16:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644217344001,"66":14341,"91":206,"28":31744,"24":10,"16":5732071943176192,"45":1974265517340538880},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-11 16:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644217344001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:14:39] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5732071943176192,"km_value":5732071943176.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974265517340538880,"description":"Unknown IO ID 45"} 
[2026-07-11 16:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644217344001,"power":14341,"unknown_91":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1974265517340538880}} 
[2026-07-11 16:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:14:39] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:14:39] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:14:57] local.INFO: TCP Data received {"connection_id":128777,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:57] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:57] local.INFO: IMEI packet received {"connection_id":128777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":128777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:14:59] local.INFO: TCP Data received {"connection_id":128777,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:59] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:14:59] local.INFO: IMEI packet received {"connection_id":128777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":128777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:15:04] local.INFO: TCP Data received {"connection_id":128595,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:15:04] local.INFO: Processing buffer {"connection_id":128595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:15:04] local.INFO: IMEI packet received {"connection_id":128595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:15:04] local.INFO: TCP Data received {"connection_id":128777,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:15:04] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:15:04] local.INFO: IMEI packet received {"connection_id":128777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:15:05] local.INFO: TCP Data received {"connection_id":128777,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c70c90012d1b57c00724c290002900b728..."} 
[2026-07-11 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c70c90012d1b57c00724c290002900b728..."} 
[2026-07-11 16:15:06] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c70c90012d1b57c00724c290002900b728..."} 
[2026-07-11 16:15:06] local.INFO: Packet analysis {"connection_id":128777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:15:06] local.INFO: Extracted packet for processing {"connection_id":128777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756766656,"raw_latitude":119849616,"longitude_deg":75.6766656,"latitude_deg":11.9849616,"altitude":41,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d1b57c0","hex_latitude":"0724c290","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644257024001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5734017563361280,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970254498911916032,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783766650000,"timestamp_ms":1783766650000,"timestamp_seconds":1783766650,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c70c90"} 
[2026-07-11 16:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 16:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644257024001,"66":14428,"91":206,"28":31744,"24":0,"16":5734017563361280,"45":1970254498911916032},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-11 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644257024001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:15:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:15:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5734017563361280,"km_value":5734017563361.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970254498911916032,"description":"Unknown IO ID 45"} 
[2026-07-11 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644257024001,"power":14428,"unknown_91":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1970254498911916032}} 
[2026-07-11 16:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":128777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:15:06] local.INFO: GPS data processed {"connection_id":128777,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:15:06] local.INFO: Acknowledgment sent {"connection_id":128777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:15:06] local.INFO: TCP Data received {"connection_id":128777,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c72fb8012d1b56000724c0d8002c00d02a..."} 
[2026-07-11 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c72fb8012d1b56000724c0d8002c00d02a..."} 
[2026-07-11 16:15:06] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c72fb8012d1b56000724c0d8002c00d02a..."} 
[2026-07-11 16:15:06] local.INFO: Packet analysis {"connection_id":128777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:15:06] local.INFO: Extracted packet for processing {"connection_id":128777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119849176,"longitude_deg":75.6766208,"latitude_deg":11.9849176,"altitude":44,"angle":208,"satellites":42,"speed":7,"hex_longitude":"2d1b5600","hex_latitude":"0724c0d8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644262400001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5734051923099648,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970254498911916032,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783766659000,"timestamp_ms":1783766659000,"timestamp_seconds":1783766659,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c72fb8"} 
[2026-07-11 16:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 16:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644262400001,"66":14428,"91":206,"28":31744,"24":7,"16":5734051923099648,"45":1970254498911916032},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-07-11 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644262400001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:15:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:15:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5734051923099648,"km_value":5734051923099.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970254498911916032,"description":"Unknown IO ID 45"} 
[2026-07-11 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644262400001,"power":14428,"unknown_91":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1970254498911916032}} 
[2026-07-11 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":128777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:15:07] local.INFO: GPS data processed {"connection_id":128777,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:15:07] local.INFO: Acknowledgment sent {"connection_id":128777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:15:09] local.INFO: TCP Data received {"connection_id":128595,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:15:09] local.INFO: Processing buffer {"connection_id":128595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:15:09] local.INFO: IMEI packet received {"connection_id":128595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":128595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:15:10] local.INFO: TCP Data received {"connection_id":128595,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:15:10] local.INFO: Processing buffer {"connection_id":128595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c441b8012cb2a300078231b8004700c12e..."} 
[2026-07-11 16:15:10] local.INFO: Packet analysis {"connection_id":128595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:15:10] local.INFO: Extracted packet for processing {"connection_id":128595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c4"} 
[2026-07-11 16:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749904640,"raw_latitude":125972920,"longitude_deg":74.990464,"latitude_deg":12.597292,"altitude":71,"angle":193,"satellites":46,"speed":0,"hex_longitude":"2cb2a300","hex_latitude":"078231b8","is_valid_coordinates":true} 
[2026-07-11 16:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644214528001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761139200,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766467000,"timestamp_ms":1783766467000,"timestamp_seconds":1783766467,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c441b8"} 
[2026-07-11 16:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:15: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-07-11 16:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 16:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644214528001,"66":27006,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5574541512761139200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644214528001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:15:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761139200,"description":"Unknown IO ID 44"} 
[2026-07-11 16:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644214528001,"power":27006,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574541512761139200}} 
[2026-07-11 16:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":128595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:15:10] local.INFO: GPS data processed {"connection_id":128595,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:15:10] local.INFO: Acknowledgment sent {"connection_id":128595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:15:38] local.INFO: TCP Data received {"connection_id":128777,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c74b10012d1b4fc00724b718002c00dc2b..."} 
[2026-07-11 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c74b10012d1b4fc00724b718002c00dc2b..."} 
[2026-07-11 16:15:38] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c74b10012d1b4fc00724b718002c00dc2b..."} 
[2026-07-11 16:15:38] local.INFO: Packet analysis {"connection_id":128777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:15:38] local.INFO: Extracted packet for processing {"connection_id":128777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119846680,"longitude_deg":75.6764608,"latitude_deg":11.984668,"altitude":44,"angle":220,"satellites":43,"speed":22,"hex_longitude":"2d1b4fc0","hex_latitude":"0724b718","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644264704001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5734193657020416,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969761917702559744,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783766666000,"timestamp_ms":1783766666000,"timestamp_seconds":1783766666,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c74b10"} 
[2026-07-11 16:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 16:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644264704001,"66":14243,"111":206,"28":31744,"24":22,"16":5734193657020416,"45":1969761917702559744},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-11 16:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644264704001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:15:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5734193657020416,"km_value":5734193657020.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969761917702559744,"description":"Unknown IO ID 45"} 
[2026-07-11 16:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644264704001,"power":14243,"unknown_111":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1969761917702559744}} 
[2026-07-11 16:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":128777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:15:38] local.INFO: GPS data processed {"connection_id":128777,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:15:38] local.INFO: Acknowledgment sent {"connection_id":128777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:15:41] local.INFO: TCP Data received {"connection_id":128595,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c76280012cb29bc007822340004900c12f..."} 
[2026-07-11 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c76280012cb29bc007822340004900c12f..."} 
[2026-07-11 16:15:41] local.INFO: Processing buffer {"connection_id":128595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c76280012cb29bc007822340004900c12f..."} 
[2026-07-11 16:15:41] local.INFO: Packet analysis {"connection_id":128595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:15:41] local.INFO: Extracted packet for processing {"connection_id":128595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969216,"longitude_deg":74.9902784,"latitude_deg":12.5969216,"altitude":73,"angle":193,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822340","is_valid_coordinates":true} 
[2026-07-11 16:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644215552001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881505474560,"note":"Value kept but may cause issues"} 
[2026-07-11 16:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766672000,"timestamp_ms":1783766672000,"timestamp_seconds":1783766672,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c76280"} 
[2026-07-11 16:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:15: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-07-11 16: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":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-11 16:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644215552001,"66":26158,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5574611881505474560},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644215552001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:15:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881505474560,"description":"Unknown IO ID 44"} 
[2026-07-11 16:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644215552001,"power":26158,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574611881505474560}} 
[2026-07-11 16:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":128595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:15:41] local.INFO: GPS data processed {"connection_id":128595,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:15:41] local.INFO: Acknowledgment sent {"connection_id":128595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:15:59] local.INFO: TCP Data received {"connection_id":130720,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:15:59] local.INFO: Processing buffer {"connection_id":130720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:15:59] local.INFO: IMEI packet received {"connection_id":130720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":130720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:16:04] local.INFO: TCP Data received {"connection_id":130721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:16:04] local.INFO: Processing buffer {"connection_id":130721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:16:04] local.INFO: IMEI packet received {"connection_id":130721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":130721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:16:05] local.INFO: TCP Data received {"connection_id":130720,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:16:05] local.INFO: Processing buffer {"connection_id":130720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:16:05] local.INFO: IMEI packet received {"connection_id":130720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":130720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:16:06] local.INFO: TCP Data received {"connection_id":130720,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c756c8012d1b4a400724b220002d00e82b..."} 
[2026-07-11 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c756c8012d1b4a400724b220002d00e82b..."} 
[2026-07-11 16:16:06] local.INFO: Processing buffer {"connection_id":130720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c756c8012d1b4a400724b220002d00e82b..."} 
[2026-07-11 16:16:06] local.INFO: Packet analysis {"connection_id":130720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:16:06] local.INFO: Extracted packet for processing {"connection_id":130720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756763200,"raw_latitude":119845408,"longitude_deg":75.67632,"latitude_deg":11.9845408,"altitude":45,"angle":232,"satellites":43,"speed":25,"hex_longitude":"2d1b4a40","hex_latitude":"0724b220","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644266496001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5734283851333632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699097479168,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783766669000,"timestamp_ms":1783766669000,"timestamp_seconds":1783766669,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c756c8"} 
[2026-07-11 16:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-11 16:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644266496001,"66":14461,"111":206,"28":31744,"24":25,"16":5734283851333632,"45":1968002699097479168},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-11 16:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644266496001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:16:06] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:16:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5734283851333632,"km_value":5734283851333.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699097479168,"description":"Unknown IO ID 45"} 
[2026-07-11 16:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644266496001,"power":14461,"unknown_111":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1968002699097479168}} 
[2026-07-11 16:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":130720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:16:06] local.INFO: GPS data processed {"connection_id":130720,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:16:06] local.INFO: Acknowledgment sent {"connection_id":130720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:16:09] local.INFO: TCP Data received {"connection_id":130721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:16:09] local.INFO: Processing buffer {"connection_id":130721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:16:09] local.INFO: IMEI packet received {"connection_id":130721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":130721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:16:10] local.INFO: TCP Data received {"connection_id":130721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:16:10] local.INFO: Processing buffer {"connection_id":130721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:16:10] local.INFO: Packet analysis {"connection_id":130721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:16:10] local.INFO: Extracted packet for processing {"connection_id":130721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644268032001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087575040,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 16:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644268032001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5576652575087575040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644268032001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:16:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087575040,"description":"Unknown IO ID 44"} 
[2026-07-11 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644268032001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575087575040}} 
[2026-07-11 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":130721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:16:10] local.INFO: GPS data processed {"connection_id":130721,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:16:10] local.INFO: Acknowledgment sent {"connection_id":130721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:16:10] local.INFO: TCP Data received {"connection_id":130719,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:16:10] local.INFO: Processing buffer {"connection_id":130719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:16:10] local.INFO: IMEI packet received {"connection_id":130719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":130719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:16:37] local.INFO: TCP Data received {"connection_id":130720,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c79160012d1b2d8007249c90002c00e42b..."} 
[2026-07-11 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c79160012d1b2d8007249c90002c00e42b..."} 
[2026-07-11 16:16:37] local.INFO: Processing buffer {"connection_id":130720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c79160012d1b2d8007249c90002c00e42b..."} 
[2026-07-11 16:16:37] local.INFO: Packet analysis {"connection_id":130720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:16:37] local.INFO: Extracted packet for processing {"connection_id":130720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756755840,"raw_latitude":119839888,"longitude_deg":75.675584,"latitude_deg":11.9839888,"altitude":44,"angle":228,"satellites":43,"speed":17,"hex_longitude":"2d1b2d80","hex_latitude":"07249c90","is_valid_coordinates":true} 
[2026-07-11 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644267264001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5734726232965120,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966454586725244928,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783766684000,"timestamp_ms":1783766684000,"timestamp_seconds":1783766684,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c79160"} 
[2026-07-11 16:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 16:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644267264001,"66":13928,"111":206,"28":31744,"24":17,"16":5734726232965120,"45":1966454586725244928},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-11 16:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644267264001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:16:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5734726232965120,"km_value":5734726232965.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966454586725244928,"description":"Unknown IO ID 45"} 
[2026-07-11 16:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644267264001,"power":13928,"unknown_111":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1966454586725244928}} 
[2026-07-11 16:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":130720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:16:38] local.INFO: GPS data processed {"connection_id":130720,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:16:38] local.INFO: Acknowledgment sent {"connection_id":130720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:16:41] local.INFO: TCP Data received {"connection_id":130721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:16:41] local.INFO: Processing buffer {"connection_id":130721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:16:41] local.INFO: Packet analysis {"connection_id":130721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:16:41] local.INFO: Extracted packet for processing {"connection_id":130721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 16:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:16:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":130721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:16:41] local.INFO: GPS data processed {"connection_id":130721,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:16:41] local.INFO: Acknowledgment sent {"connection_id":130721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:16:50] local.INFO: TCP Data received {"connection_id":129485,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:16:50] local.INFO: Processing buffer {"connection_id":129485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:16:50] local.INFO: IMEI packet received {"connection_id":129485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":129485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:16:59] local.INFO: TCP Data received {"connection_id":128778,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:16:59] local.INFO: Processing buffer {"connection_id":128778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:16:59] local.INFO: IMEI packet received {"connection_id":128778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":128778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:17:04] local.INFO: TCP Data received {"connection_id":128778,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:17:04] local.INFO: Processing buffer {"connection_id":128778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:17:04] local.INFO: IMEI packet received {"connection_id":128778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":128778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:17:04] local.INFO: TCP Data received {"connection_id":129486,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:17:04] local.INFO: Processing buffer {"connection_id":129486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:17:04] local.INFO: IMEI packet received {"connection_id":129486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":129486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:17:05] local.INFO: TCP Data received {"connection_id":128778,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c7a8d0012d1b260007249820002c00f72a..."} 
[2026-07-11 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c7a8d0012d1b260007249820002c00f72a..."} 
[2026-07-11 16:17:05] local.INFO: Processing buffer {"connection_id":128778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c7a8d0012d1b260007249820002c00f72a..."} 
[2026-07-11 16:17:05] local.INFO: Packet analysis {"connection_id":128778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:17:05] local.INFO: Extracted packet for processing {"connection_id":128778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756753920,"raw_latitude":119838752,"longitude_deg":75.675392,"latitude_deg":11.9838752,"altitude":44,"angle":247,"satellites":42,"speed":7,"hex_longitude":"2d1b2600","hex_latitude":"07249820","is_valid_coordinates":true} 
[2026-07-11 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644271104001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5734833607147520,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958362181143400448,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783766690000,"timestamp_ms":1783766690000,"timestamp_seconds":1783766690,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c7a8d0"} 
[2026-07-11 16:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-11 16:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644271104001,"66":14004,"111":206,"28":31744,"24":7,"16":5734833607147520,"45":1958362181143400448},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-11 16:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644271104001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:17:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5734833607147520,"km_value":5734833607147.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958362181143400448,"description":"Unknown IO ID 45"} 
[2026-07-11 16:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644271104001,"power":14004,"unknown_111":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1958362181143400448}} 
[2026-07-11 16:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":128778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:17:05] local.INFO: GPS data processed {"connection_id":128778,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:17:05] local.INFO: Acknowledgment sent {"connection_id":128778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:17:09] local.INFO: TCP Data received {"connection_id":129486,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:17:09] local.INFO: Processing buffer {"connection_id":129486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:17:09] local.INFO: IMEI packet received {"connection_id":129486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":129486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:17:11] local.INFO: TCP Data received {"connection_id":129486,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:17:11] local.INFO: Processing buffer {"connection_id":129486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:17:11] local.INFO: Packet analysis {"connection_id":129486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:17:11] local.INFO: Extracted packet for processing {"connection_id":129486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 16:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:17:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":129486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:17:11] local.INFO: GPS data processed {"connection_id":129486,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:17:11] local.INFO: Acknowledgment sent {"connection_id":129486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:17:37] local.INFO: TCP Data received {"connection_id":128778,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c7b870012d1b230007249628002c00e92a..."} 
[2026-07-11 16:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c7b870012d1b230007249628002c00e92a..."} 
[2026-07-11 16:17:37] local.INFO: Processing buffer {"connection_id":128778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c7b870012d1b230007249628002c00e92a..."} 
[2026-07-11 16:17:37] local.INFO: Packet analysis {"connection_id":128778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:17:37] local.INFO: Extracted packet for processing {"connection_id":128778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756753152,"raw_latitude":119838248,"longitude_deg":75.6753152,"latitude_deg":11.9838248,"altitude":44,"angle":233,"satellites":42,"speed":14,"hex_longitude":"2d1b2300","hex_latitude":"07249628","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644272640001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5734876556820480,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956251118817779712,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783766694000,"timestamp_ms":1783766694000,"timestamp_seconds":1783766694,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c7b870"} 
[2026-07-11 16:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 16:17:37] 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-07-11 16: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-07-11 16:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644272640001,"66":14374,"111":206,"28":31744,"24":14,"16":5734876556820480,"45":1956251118817779712},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-11 16:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644272640001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:17:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5734876556820480,"km_value":5734876556820.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956251118817779712,"description":"Unknown IO ID 45"} 
[2026-07-11 16:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644272640001,"power":14374,"unknown_111":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1956251118817779712}} 
[2026-07-11 16:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":128778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:17:37] local.INFO: GPS data processed {"connection_id":128778,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:17:37] local.INFO: Acknowledgment sent {"connection_id":128778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:17:42] local.INFO: TCP Data received {"connection_id":129486,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:17:42] local.INFO: Processing buffer {"connection_id":129486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:17:42] local.INFO: Packet analysis {"connection_id":129486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:17:42] local.INFO: Extracted packet for processing {"connection_id":129486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 16:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:17:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":129486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:17:42] local.INFO: GPS data processed {"connection_id":129486,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:17:42] local.INFO: Acknowledgment sent {"connection_id":129486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:18:04] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:18:04] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:18:04] local.INFO: IMEI packet received {"connection_id":128780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":128780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:18:04] local.INFO: TCP Data received {"connection_id":128596,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:04] local.INFO: Processing buffer {"connection_id":128596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:04] local.INFO: IMEI packet received {"connection_id":128596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":128596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:18:09] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:18:09] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:18:09] local.INFO: IMEI packet received {"connection_id":128780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":128780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:18:10] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:18:10] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:18:10] local.INFO: Packet analysis {"connection_id":128780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:18:10] local.INFO: Extracted packet for processing {"connection_id":128780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 16:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:18:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":128780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:18:10] local.INFO: GPS data processed {"connection_id":128780,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:18:10] local.INFO: Acknowledgment sent {"connection_id":128780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:18:13] local.INFO: TCP Data received {"connection_id":128596,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:13] local.INFO: Processing buffer {"connection_id":128596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:13] local.INFO: IMEI packet received {"connection_id":128596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":128596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:18:14] local.INFO: TCP Data received {"connection_id":128596,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c802a8012d1b0980072480d0002e00da29..."} 
[2026-07-11 16:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c802a8012d1b0980072480d0002e00da29..."} 
[2026-07-11 16:18:14] local.INFO: Processing buffer {"connection_id":128596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c802a8012d1b0980072480d0002e00da29..."} 
[2026-07-11 16:18:14] local.INFO: Packet analysis {"connection_id":128596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c8"} 
[2026-07-11 16:18:14] local.INFO: Extracted packet for processing {"connection_id":128596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c8"} 
[2026-07-11 16:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756746624,"raw_latitude":119832784,"longitude_deg":75.6746624,"latitude_deg":11.9832784,"altitude":46,"angle":218,"satellites":41,"speed":14,"hex_longitude":"2d1b0980","hex_latitude":"072480d0","is_valid_coordinates":true} 
[2026-07-11 16:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644273664001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5735288873680896,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955406693887518720,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783766713000,"timestamp_ms":1783766713000,"timestamp_seconds":1783766713,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c802a8"} 
[2026-07-11 16:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 16:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644273664001,"66":14374,"111":206,"28":31744,"24":14,"16":5735288873680896,"45":1955406693887518720},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-11 16:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644273664001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:18:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5735288873680896,"km_value":5735288873680.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955406693887518720,"description":"Unknown IO ID 45"} 
[2026-07-11 16:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644273664001,"power":14374,"unknown_111":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1955406693887518720}} 
[2026-07-11 16:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":128596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:18:14] local.INFO: GPS data processed {"connection_id":128596,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:18:14] local.INFO: Acknowledgment sent {"connection_id":128596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:18:16] local.INFO: TCP Data received {"connection_id":128596,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c80e60012d1b078007247d18002f00ce29..."} 
[2026-07-11 16:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c80e60012d1b078007247d18002f00ce29..."} 
[2026-07-11 16:18:16] local.INFO: Processing buffer {"connection_id":128596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c80e60012d1b078007247d18002f00ce29..."} 
[2026-07-11 16:18:16] local.INFO: Packet analysis {"connection_id":128596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c8"} 
[2026-07-11 16:18:16] local.INFO: Extracted packet for processing {"connection_id":128596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c8"} 
[2026-07-11 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756746112,"raw_latitude":119831832,"longitude_deg":75.6746112,"latitude_deg":11.9831832,"altitude":47,"angle":206,"satellites":41,"speed":13,"hex_longitude":"2d1b0780","hex_latitude":"07247d18","is_valid_coordinates":true} 
[2026-07-11 16:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644278528001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5735340413288448,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948229081979998208,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783766716000,"timestamp_ms":1783766716000,"timestamp_seconds":1783766716,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c80e60"} 
[2026-07-11 16:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 16:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644278528001,"66":14374,"111":206,"28":31744,"24":13,"16":5735340413288448,"45":1948229081979998208},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-11 16:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644278528001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:18:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 16:18:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5735340413288448,"km_value":5735340413288.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948229081979998208,"description":"Unknown IO ID 45"} 
[2026-07-11 16:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644278528001,"power":14374,"unknown_111":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1948229081979998208}} 
[2026-07-11 16:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":128596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:18:16] local.INFO: GPS data processed {"connection_id":128596,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:18:16] local.INFO: Acknowledgment sent {"connection_id":128596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:18:41] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:18:41] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:18:41] local.INFO: Packet analysis {"connection_id":128780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:18:41] local.INFO: Extracted packet for processing {"connection_id":128780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 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-07-11 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:18:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":128780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:18:41] local.INFO: GPS data processed {"connection_id":128780,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:18:41] local.INFO: Acknowledgment sent {"connection_id":128780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:18:57] local.INFO: TCP Data received {"connection_id":130722,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:57] local.INFO: Processing buffer {"connection_id":130722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:57] local.INFO: IMEI packet received {"connection_id":130722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":130722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:18:59] local.INFO: TCP Data received {"connection_id":130722,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:59] local.INFO: Processing buffer {"connection_id":130722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:18:59] local.INFO: IMEI packet received {"connection_id":130722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":130722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:19:06] local.INFO: TCP Data received {"connection_id":130722,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:19:06] local.INFO: Processing buffer {"connection_id":130722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:19:06] local.INFO: IMEI packet received {"connection_id":130722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":130722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:19:09] local.INFO: TCP Data received {"connection_id":128597,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:19:09] local.INFO: Processing buffer {"connection_id":128597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:19:09] local.INFO: IMEI packet received {"connection_id":128597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":128597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:19:14] local.INFO: TCP Data received {"connection_id":128597,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:19:14] local.INFO: Processing buffer {"connection_id":128597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:19:14] local.INFO: IMEI packet received {"connection_id":128597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":128597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:19:15] local.INFO: TCP Data received {"connection_id":130722,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ca4c98012d1a1ac00723ae90003500fb2d..."} 
[2026-07-11 16:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ca4c98012d1a1ac00723ae90003500fb2d..."} 
[2026-07-11 16:19:15] local.INFO: Processing buffer {"connection_id":130722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ca4c98012d1a1ac00723ae90003500fb2d..."} 
[2026-07-11 16:19:15] local.INFO: Packet analysis {"connection_id":130722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ca"} 
[2026-07-11 16:19:15] local.INFO: Extracted packet for processing {"connection_id":130722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ca"} 
[2026-07-11 16:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756685504,"raw_latitude":119778960,"longitude_deg":75.6685504,"latitude_deg":11.977896,"altitude":53,"angle":251,"satellites":45,"speed":27,"hex_longitude":"2d1a1ac0","hex_latitude":"0723ae90","is_valid_coordinates":true} 
[2026-07-11 16:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644315648001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5739317553004544,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885389793416091648,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783766863000,"timestamp_ms":1783766863000,"timestamp_seconds":1783766863,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ca4c98"} 
[2026-07-11 16:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 16:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644315648001,"66":14048,"112":206,"28":31744,"24":27,"16":5739317553004544,"45":1885389793416091648},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 16:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644315648001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:19:15] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 16:19:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5739317553004544,"km_value":5739317553004.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885389793416091648,"description":"Unknown IO ID 45"} 
[2026-07-11 16:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644315648001,"power":14048,"unknown_112":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1885389793416091648}} 
[2026-07-11 16:19:15] local.INFO: TCP Data received {"connection_id":128597,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:19:15] local.INFO: Processing buffer {"connection_id":128597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:19:15] local.INFO: Packet analysis {"connection_id":128597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:19:15] local.INFO: Extracted packet for processing {"connection_id":128597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:19:15] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 16:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:19:15] 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-07-11 16:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:19:15] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:19:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":128597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:19:15] local.INFO: GPS data processed {"connection_id":128597,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:19:15] local.INFO: Acknowledgment sent {"connection_id":128597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":130722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:19:15] local.INFO: GPS data processed {"connection_id":130722,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:19:15] local.INFO: Acknowledgment sent {"connection_id":130722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:19:19] local.INFO: TCP Data received {"connection_id":128597,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:19:19] local.INFO: Processing buffer {"connection_id":128597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:19:19] local.INFO: Packet analysis {"connection_id":128597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:19:19] local.INFO: Extracted packet for processing {"connection_id":128597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 16:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:19:19] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:19:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":128597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:19:19] local.INFO: GPS data processed {"connection_id":128597,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:19:19] local.INFO: Acknowledgment sent {"connection_id":128597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:19:24] local.INFO: TCP Data received {"connection_id":128597,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:19:24] local.INFO: Processing buffer {"connection_id":128597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:19:24] local.INFO: Packet analysis {"connection_id":128597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:19:24] local.INFO: Extracted packet for processing {"connection_id":128597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:19:24] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 16:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:19:24] 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-07-11 16:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:19:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":128597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:19:24] local.INFO: GPS data processed {"connection_id":128597,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:19:24] local.INFO: Acknowledgment sent {"connection_id":128597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:19:59] local.INFO: TCP Data received {"connection_id":130724,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:19:59] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:19:59] local.INFO: IMEI packet received {"connection_id":130724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":130724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:20:04] local.INFO: TCP Data received {"connection_id":128598,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:20:04] local.INFO: Processing buffer {"connection_id":128598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:20:04] local.INFO: IMEI packet received {"connection_id":128598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":128598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:20:04] local.INFO: TCP Data received {"connection_id":130724,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:20:04] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:20:04] local.INFO: IMEI packet received {"connection_id":130724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":130724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:20:05] local.INFO: TCP Data received {"connection_id":130724,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ca6020012d1a0b800723aae8003401062d..."} 
[2026-07-11 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ca6020012d1a0b800723aae8003401062d..."} 
[2026-07-11 16:20:05] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ca6020012d1a0b800723aae8003401062d..."} 
[2026-07-11 16:20:05] local.INFO: Packet analysis {"connection_id":130724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ca"} 
[2026-07-11 16:20:05] local.INFO: Extracted packet for processing {"connection_id":130724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ca"} 
[2026-07-11 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756681600,"raw_latitude":119778024,"longitude_deg":75.66816,"latitude_deg":11.9778024,"altitude":52,"angle":262,"satellites":45,"speed":34,"hex_longitude":"2d1a0b80","hex_latitude":"0723aae8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644316928001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5739506531565568,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881026931276550144,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783766868000,"timestamp_ms":1783766868000,"timestamp_seconds":1783766868,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ca6020"} 
[2026-07-11 16:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 16:20:05] 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-07-11 16: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-07-11 16:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644316928001,"66":13961,"112":206,"28":31744,"24":34,"16":5739506531565568,"45":1881026931276550144},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 16:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644316928001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:20:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 16:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5739506531565568,"km_value":5739506531565.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881026931276550144,"description":"Unknown IO ID 45"} 
[2026-07-11 16:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644316928001,"power":13961,"unknown_112":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1881026931276550144}} 
[2026-07-11 16:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":130724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:20:06] local.INFO: GPS data processed {"connection_id":130724,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:20:06] local.INFO: Acknowledgment sent {"connection_id":130724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:20:09] local.INFO: TCP Data received {"connection_id":128598,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:20:09] local.INFO: Processing buffer {"connection_id":128598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:20:09] local.INFO: IMEI packet received {"connection_id":128598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":128598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:20:10] local.INFO: TCP Data received {"connection_id":128598,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:20:10] local.INFO: Processing buffer {"connection_id":128598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50c77608012cb297c007821ef8004900ef30..."} 
[2026-07-11 16:20:10] local.INFO: Packet analysis {"connection_id":128598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:20:10] local.INFO: Extracted packet for processing {"connection_id":128598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50c7"} 
[2026-07-11 16:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968120,"longitude_deg":74.990176,"latitude_deg":12.596812,"altitude":73,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766677000,"timestamp_ms":1783766677000,"timestamp_seconds":1783766677,"priority":1,"record_length":96,"hex_timestamp":"0000019f50c77608"} 
[2026-07-11 16:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25973,"89":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 16:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:20:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 16:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25973,"unknown_89":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":128598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:20:10] local.INFO: GPS data processed {"connection_id":128598,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:20:10] local.INFO: Acknowledgment sent {"connection_id":128598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:20:40] local.INFO: TCP Data received {"connection_id":128598,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:20:40] local.INFO: Processing buffer {"connection_id":128598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:20:40] local.INFO: Packet analysis {"connection_id":128598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:20:40] local.INFO: Extracted packet for processing {"connection_id":128598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:20:40] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 16:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:20: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-07-11 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:20:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":128598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:20:40] local.INFO: GPS data processed {"connection_id":128598,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:20:40] local.INFO: Acknowledgment sent {"connection_id":128598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:20:58] local.INFO: TCP Data received {"connection_id":130724,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc4c50012d18cd00072303800061011a2b..."} 
[2026-07-11 16:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc4c50012d18cd00072303800061011a2b..."} 
[2026-07-11 16:20:58] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc4c50012d18cd00072303800061011a2b..."} 
[2026-07-11 16:20:58] local.INFO: Packet analysis {"connection_id":130724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:20:58] local.INFO: Extracted packet for processing {"connection_id":130724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119735168,"longitude_deg":75.6600064,"latitude_deg":11.9735168,"altitude":97,"angle":282,"satellites":43,"speed":33,"hex_longitude":"2d18cd00","hex_latitude":"07230380","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644348928001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5744385614413824,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792432682345132032,"note":"Value kept but may cause issues"} 
[2026-07-11 16:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783766994000,"timestamp_ms":1783766994000,"timestamp_seconds":1783766994,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc4c50"} 
[2026-07-11 16:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-11 16:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644348928001,"66":13993,"62":206,"28":31744,"24":33,"16":5744385614413824,"45":1792432682345132032},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-07-11 16:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644348928001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:20:58] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-11 16:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5744385614413824,"km_value":5744385614413.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792432682345132032,"description":"Unknown IO ID 45"} 
[2026-07-11 16:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644348928001,"power":13993,"unknown_62":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1792432682345132032}} 
[2026-07-11 16:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":130724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:20:59] local.INFO: GPS data processed {"connection_id":130724,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:20:59] local.INFO: Acknowledgment sent {"connection_id":130724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:21:04] local.INFO: TCP Data received {"connection_id":129487,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:21:04] local.INFO: Processing buffer {"connection_id":129487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:21:04] local.INFO: IMEI packet received {"connection_id":129487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":129487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:21:09] local.INFO: TCP Data received {"connection_id":129487,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:21:09] local.INFO: Processing buffer {"connection_id":129487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:21:09] local.INFO: IMEI packet received {"connection_id":129487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":129487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:21:10] local.INFO: TCP Data received {"connection_id":129487,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:21:10] local.INFO: Processing buffer {"connection_id":129487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:21:10] local.INFO: Packet analysis {"connection_id":129487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:21:10] local.INFO: Extracted packet for processing {"connection_id":129487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 16:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16: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-07-11 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:21:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":129487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:21:10] local.INFO: GPS data processed {"connection_id":129487,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:21:10] local.INFO: Acknowledgment sent {"connection_id":129487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:21:23] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:21:23] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:21:23] local.INFO: IMEI packet received {"connection_id":130725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":130725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:21:24] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:21:24] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:21:24] local.INFO: IMEI packet received {"connection_id":130725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":130725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:21:28] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:21:28] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:21:28] local.INFO: IMEI packet received {"connection_id":130725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":130725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:21:28] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-11 16:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-11 16:21:28] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-11 16:21:28] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-11 16:21:28] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-11 16:21: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-07-11 16: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-07-11 16:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105006899505659904,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:21:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:21:28] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 16:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 16:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 16:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 16:21:28] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 16:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 16:21:28] local.ERROR: GPS data processing failed {"connection_id":130725,"error":"No valid data to process"} 
[2026-07-11 16:21:28] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 16:21:31] local.INFO: TCP Data received {"connection_id":130726,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:21:31] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:21:31] local.INFO: IMEI packet received {"connection_id":130726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":130726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:21:34] local.INFO: TCP Data received {"connection_id":130726,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:21:34] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:21:34] local.INFO: IMEI packet received {"connection_id":130726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":130726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:21:39] local.INFO: TCP Data received {"connection_id":130726,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:21:39] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:21:39] local.INFO: IMEI packet received {"connection_id":130726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":130726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:21:40] local.INFO: TCP Data received {"connection_id":130726,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc5420012d18c640072303c0006101072a..."} 
[2026-07-11 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc5420012d18c640072303c0006101072a..."} 
[2026-07-11 16:21:40] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc5420012d18c640072303c0006101072a..."} 
[2026-07-11 16:21:40] local.INFO: Packet analysis {"connection_id":130726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:21:40] local.INFO: Extracted packet for processing {"connection_id":130726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119735232,"longitude_deg":75.6598336,"latitude_deg":11.9735232,"altitude":97,"angle":263,"satellites":42,"speed":32,"hex_longitude":"2d18c640","hex_latitude":"072303c0","is_valid_coordinates":true} 
[2026-07-11 16:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644350464001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5744462923825152,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657788157952,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783766996000,"timestamp_ms":1783766996000,"timestamp_seconds":1783766996,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc5420"} 
[2026-07-11 16:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 16:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644350464001,"66":14070,"62":206,"28":31744,"24":32,"16":5744462923825152,"45":1787084657788157952},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-07-11 16:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644350464001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:21:40] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-11 16:21:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5744462923825152,"km_value":5744462923825.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657788157952,"description":"Unknown IO ID 45"} 
[2026-07-11 16:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644350464001,"power":14070,"unknown_62":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1787084657788157952}} 
[2026-07-11 16:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":130726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:21:40] local.INFO: GPS data processed {"connection_id":130726,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:21:40] local.INFO: Acknowledgment sent {"connection_id":130726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:21:41] local.INFO: TCP Data received {"connection_id":129487,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:21:41] local.INFO: Processing buffer {"connection_id":129487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:21:41] local.INFO: Packet analysis {"connection_id":129487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:21:41] local.INFO: Extracted packet for processing {"connection_id":129487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 16:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:21: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-07-11 16:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:21:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":129487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:21:41] local.INFO: GPS data processed {"connection_id":129487,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:21:41] local.INFO: Acknowledgment sent {"connection_id":129487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:21:59] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-11 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-11 16:21:59] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-11 16:21:59] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 16:21:59] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-11 16:21:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105006899505659904,"note":"Value kept but may cause issues"} 
[2026-07-11 16:21:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:21:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:21:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 16:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 16:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 16:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 16:21:59] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 16:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 16:21:59] local.ERROR: GPS data processing failed {"connection_id":130725,"error":"No valid data to process"} 
[2026-07-11 16:21:59] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 16:22:03] local.INFO: TCP Data received {"connection_id":130727,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:22:03] local.INFO: Processing buffer {"connection_id":130727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:22:03] local.INFO: IMEI packet received {"connection_id":130727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":130727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:22:04] local.INFO: TCP Data received {"connection_id":129489,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:22:04] local.INFO: Processing buffer {"connection_id":129489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:22:04] local.INFO: IMEI packet received {"connection_id":129489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":129489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:22:09] local.INFO: TCP Data received {"connection_id":130727,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:22:09] local.INFO: Processing buffer {"connection_id":130727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:22:09] local.INFO: IMEI packet received {"connection_id":130727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":130727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:22:10] local.INFO: TCP Data received {"connection_id":130727,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:22:10] local.INFO: TCP Data received {"connection_id":129489,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:22:10] local.INFO: Processing buffer {"connection_id":130727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:22:10] local.INFO: Packet analysis {"connection_id":130727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:22:10] local.INFO: Extracted packet for processing {"connection_id":130727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 16:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:22: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-07-11 16:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:22:10] local.INFO: Processing buffer {"connection_id":129489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:22:10] local.INFO: IMEI packet received {"connection_id":129489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":129489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:22:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":130727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:22:10] local.INFO: GPS data processed {"connection_id":130727,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:22:10] local.INFO: Acknowledgment sent {"connection_id":130727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:22:10] local.INFO: TCP Data received {"connection_id":129488,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:22:10] local.INFO: Processing buffer {"connection_id":129488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:22:10] local.INFO: IMEI packet received {"connection_id":129488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":129488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:22:11] local.INFO: TCP Data received {"connection_id":129489,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cd32c8012d18934007225988006400d52c..."} 
[2026-07-11 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cd32c8012d18934007225988006400d52c..."} 
[2026-07-11 16:22:11] local.INFO: Processing buffer {"connection_id":129489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cd32c8012d18934007225988006400d52c..."} 
[2026-07-11 16:22:11] local.INFO: Packet analysis {"connection_id":129489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:22:11] local.INFO: Extracted packet for processing {"connection_id":129489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756585280,"raw_latitude":119691656,"longitude_deg":75.658528,"latitude_deg":11.9691656,"altitude":100,"angle":213,"satellites":44,"speed":43,"hex_longitude":"2d189340","hex_latitude":"07225988","is_valid_coordinates":true} 
[2026-07-11 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644363520001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5746790796099584,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775051602524401664,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783767053000,"timestamp_ms":1783767053000,"timestamp_seconds":1783767053,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cd32c8"} 
[2026-07-11 16:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 16:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644363520001,"66":14396,"121":206,"28":31744,"24":43,"16":5746790796099584,"45":1775051602524401664},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644363520001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:22:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5746790796099584,"km_value":5746790796099.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775051602524401664,"description":"Unknown IO ID 45"} 
[2026-07-11 16:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644363520001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1775051602524401664}} 
[2026-07-11 16:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":129489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:22:11] local.INFO: GPS data processed {"connection_id":129489,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:22:11] local.INFO: Acknowledgment sent {"connection_id":129489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:22:30] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ce48200100000000000000000000000000..."} 
[2026-07-11 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ce48200100000000000000000000000000..."} 
[2026-07-11 16:22:30] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ce48200100000000000000000000000000..."} 
[2026-07-11 16:22:30] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:22:30] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:22: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-07-11 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105006899505659904,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783767124000,"timestamp_ms":1783767124000,"timestamp_seconds":1783767124,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ce4820"} 
[2026-07-11 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 16:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:22:30] local.INFO: GPS data processed {"connection_id":130725,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:22:30] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:22:41] local.INFO: TCP Data received {"connection_id":130727,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:22:41] local.INFO: Processing buffer {"connection_id":130727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:22:41] local.INFO: Packet analysis {"connection_id":130727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:22:41] local.INFO: Extracted packet for processing {"connection_id":130727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 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-07-11 16: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-07-11 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:22:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":130727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:22:41] local.INFO: GPS data processed {"connection_id":130727,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:22:41] local.INFO: Acknowledgment sent {"connection_id":130727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:22:42] local.INFO: TCP Data received {"connection_id":129489,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cd55f0012d187e80072239b0005e00d52a..."} 
[2026-07-11 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cd55f0012d187e80072239b0005e00d52a..."} 
[2026-07-11 16:22:42] local.INFO: Processing buffer {"connection_id":129489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cd55f0012d187e80072239b0005e00d52a..."} 
[2026-07-11 16:22:42] local.INFO: Packet analysis {"connection_id":129489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:22:42] local.INFO: Extracted packet for processing {"connection_id":129489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756579968,"raw_latitude":119683504,"longitude_deg":75.6579968,"latitude_deg":11.9683504,"altitude":94,"angle":213,"satellites":42,"speed":40,"hex_longitude":"2d187e80","hex_latitude":"072239b0","is_valid_coordinates":true} 
[2026-07-11 16:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644365568001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5747258947534848,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770829477871978496,"note":"Value kept but may cause issues"} 
[2026-07-11 16:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783767062000,"timestamp_ms":1783767062000,"timestamp_seconds":1783767062,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cd55f0"} 
[2026-07-11 16:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 16:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644365568001,"66":13428,"120":206,"28":31744,"24":40,"16":5747258947534848,"45":1770829477871978496},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644365568001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:22:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5747258947534848,"km_value":5747258947534.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770829477871978496,"description":"Unknown IO ID 45"} 
[2026-07-11 16:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644365568001,"power":13428,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1770829477871978496}} 
[2026-07-11 16:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":129489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:22:42] local.INFO: GPS data processed {"connection_id":129489,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:22:42] local.INFO: Acknowledgment sent {"connection_id":129489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:22:45] local.INFO: TCP Data received {"connection_id":128783,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:22:45] local.INFO: Processing buffer {"connection_id":128783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:22:45] local.INFO: IMEI packet received {"connection_id":128783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":128783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:22:59] local.INFO: TCP Data received {"connection_id":128784,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:22:59] local.INFO: Processing buffer {"connection_id":128784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:22:59] local.INFO: IMEI packet received {"connection_id":128784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":128784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:23:01] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ce9a280100000000000000000000000000..."} 
[2026-07-11 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ce9a280100000000000000000000000000..."} 
[2026-07-11 16:23:01] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ce9a280100000000000000000000000000..."} 
[2026-07-11 16:23:01] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:23:01] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105006899505659904,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783767145000,"timestamp_ms":1783767145000,"timestamp_seconds":1783767145,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ce9a28"} 
[2026-07-11 16:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 16:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:23:01] local.INFO: GPS data processed {"connection_id":130725,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:23:01] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:23:03] local.INFO: TCP Data received {"connection_id":128599,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:23:03] local.INFO: Processing buffer {"connection_id":128599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:23:03] local.INFO: IMEI packet received {"connection_id":128599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":128599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:23:04] local.INFO: TCP Data received {"connection_id":128784,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:23:04] local.INFO: Processing buffer {"connection_id":128784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:23:04] local.INFO: IMEI packet received {"connection_id":128784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":128784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:23:05] local.INFO: TCP Data received {"connection_id":128784,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cd7918012d186b4007221c40005900d52d..."} 
[2026-07-11 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cd7918012d186b4007221c40005900d52d..."} 
[2026-07-11 16:23:05] local.INFO: Processing buffer {"connection_id":128784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cd7918012d186b4007221c40005900d52d..."} 
[2026-07-11 16:23:05] local.INFO: Packet analysis {"connection_id":128784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:23:05] local.INFO: Extracted packet for processing {"connection_id":128784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756575040,"raw_latitude":119675968,"longitude_deg":75.657504,"latitude_deg":11.9675968,"altitude":89,"angle":213,"satellites":45,"speed":36,"hex_longitude":"2d186b40","hex_latitude":"07221c40","is_valid_coordinates":true} 
[2026-07-11 16:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644367872001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5747697034199040,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764988872103145472,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783767071000,"timestamp_ms":1783767071000,"timestamp_seconds":1783767071,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cd7918"} 
[2026-07-11 16:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-11 16:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644367872001,"66":14102,"120":206,"28":31744,"24":36,"16":5747697034199040,"45":1764988872103145472},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644367872001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:23:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5747697034199040,"km_value":5747697034199.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764988872103145472,"description":"Unknown IO ID 45"} 
[2026-07-11 16:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644367872001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1764988872103145472}} 
[2026-07-11 16:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":128784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:23:05] local.INFO: GPS data processed {"connection_id":128784,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:23:05] local.INFO: Acknowledgment sent {"connection_id":128784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:23:09] local.INFO: TCP Data received {"connection_id":128599,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:23:09] local.INFO: Processing buffer {"connection_id":128599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:23:09] local.INFO: IMEI packet received {"connection_id":128599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":128599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:23:10] local.INFO: TCP Data received {"connection_id":128599,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:23:10] local.INFO: Processing buffer {"connection_id":128599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:23:10] local.INFO: Packet analysis {"connection_id":128599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:23:10] local.INFO: Extracted packet for processing {"connection_id":128599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 16:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:23: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-07-11 16:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:23:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":128599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:23:10] local.INFO: GPS data processed {"connection_id":128599,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:23:10] local.INFO: Acknowledgment sent {"connection_id":128599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:23:32] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ceec300100000000000000000000000000..."} 
[2026-07-11 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ceec300100000000000000000000000000..."} 
[2026-07-11 16:23:32] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ceec300100000000000000000000000000..."} 
[2026-07-11 16:23:32] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:23:32] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105006899505659904,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783767166000,"timestamp_ms":1783767166000,"timestamp_seconds":1783767166,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ceec30"} 
[2026-07-11 16:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":44,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-07-11 16:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1012,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:23:32] local.INFO: GPS data processed {"connection_id":130725,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:23:32] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:23:41] local.INFO: TCP Data received {"connection_id":128599,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:23:41] local.INFO: Processing buffer {"connection_id":128599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:23:41] local.INFO: Packet analysis {"connection_id":128599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:23:41] local.INFO: Extracted packet for processing {"connection_id":128599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:23:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 16:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16: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-07-11 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:23:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":128599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:23:41] local.INFO: GPS data processed {"connection_id":128599,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:23:41] local.INFO: Acknowledgment sent {"connection_id":128599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:23:42] local.INFO: TCP Data received {"connection_id":128784,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cda028012d1857400721ff30005300d62c..."} 
[2026-07-11 16:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cda028012d1857400721ff30005300d62c..."} 
[2026-07-11 16:23:42] local.INFO: Processing buffer {"connection_id":128784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cda028012d1857400721ff30005300d62c..."} 
[2026-07-11 16:23:42] local.INFO: Packet analysis {"connection_id":128784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:23:42] local.INFO: Extracted packet for processing {"connection_id":128784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119668528,"longitude_deg":75.656992,"latitude_deg":11.9668528,"altitude":83,"angle":214,"satellites":44,"speed":34,"hex_longitude":"2d185740","hex_latitude":"0721ff30","is_valid_coordinates":true} 
[2026-07-11 16:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644370176001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5748130825895936,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759570478799536128,"note":"Value kept but may cause issues"} 
[2026-07-11 16:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783767081000,"timestamp_ms":1783767081000,"timestamp_seconds":1783767081,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cda028"} 
[2026-07-11 16:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 16:23:42] 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-07-11 16:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644370176001,"66":14048,"120":206,"28":31744,"24":34,"16":5748130825895936,"45":1759570478799536128},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644370176001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:23:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5748130825895936,"km_value":5748130825895.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759570478799536128,"description":"Unknown IO ID 45"} 
[2026-07-11 16:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644370176001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1759570478799536128}} 
[2026-07-11 16:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":128784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:23:42] local.INFO: GPS data processed {"connection_id":128784,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:23:42] local.INFO: Acknowledgment sent {"connection_id":128784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:23:59] local.INFO: TCP Data received {"connection_id":129490,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:23:59] local.INFO: Processing buffer {"connection_id":129490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:23:59] local.INFO: IMEI packet received {"connection_id":129490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":129490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:24:04] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cef0180100000000000000000000000000..."} 
[2026-07-11 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cef0180100000000000000000000000000..."} 
[2026-07-11 16:24:04] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cef0180100000000000000000000000000..."} 
[2026-07-11 16:24:04] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:24:04] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:24:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105006899505659904,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783767167000,"timestamp_ms":1783767167000,"timestamp_seconds":1783767167,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cef018"} 
[2026-07-11 16:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 16:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:24:04] local.INFO: GPS data processed {"connection_id":130725,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:24:04] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:24:04] local.INFO: TCP Data received {"connection_id":129490,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:24:04] local.INFO: Processing buffer {"connection_id":129490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:24:04] local.INFO: IMEI packet received {"connection_id":129490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":129490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:24:05] local.INFO: TCP Data received {"connection_id":129490,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cdcb20012d1842400721e088004e00d62a..."} 
[2026-07-11 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cdcb20012d1842400721e088004e00d62a..."} 
[2026-07-11 16:24:05] local.INFO: Processing buffer {"connection_id":129490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cdcb20012d1842400721e088004e00d62a..."} 
[2026-07-11 16:24:05] local.INFO: Packet analysis {"connection_id":129490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:24:05] local.INFO: Extracted packet for processing {"connection_id":129490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756564544,"raw_latitude":119660680,"longitude_deg":75.6564544,"latitude_deg":11.966068,"altitude":78,"angle":214,"satellites":42,"speed":35,"hex_longitude":"2d184240","hex_latitude":"0721e088","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644372736001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5748586092429312,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263418368,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783767092000,"timestamp_ms":1783767092000,"timestamp_seconds":1783767092,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cdcb20"} 
[2026-07-11 16:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 16:24:05] 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-07-11 16: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-07-11 16:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644372736001,"66":13961,"120":206,"28":31744,"24":35,"16":5748586092429312,"45":1753940979263418368},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644372736001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:24:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5748586092429312,"km_value":5748586092429.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263418368,"description":"Unknown IO ID 45"} 
[2026-07-11 16:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644372736001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1753940979263418368}} 
[2026-07-11 16:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":129490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:24:05] local.INFO: GPS data processed {"connection_id":129490,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:24:05] local.INFO: Acknowledgment sent {"connection_id":129490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:24:09] local.INFO: TCP Data received {"connection_id":129491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:24:09] local.INFO: Processing buffer {"connection_id":129491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:24:09] local.INFO: IMEI packet received {"connection_id":129491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":129491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:24:10] local.INFO: TCP Data received {"connection_id":129490,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cdf618012d182f000721c308004a00d42c..."} 
[2026-07-11 16:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cdf618012d182f000721c308004a00d42c..."} 
[2026-07-11 16:24:10] local.INFO: Processing buffer {"connection_id":129490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cdf618012d182f000721c308004a00d42c..."} 
[2026-07-11 16:24:10] local.INFO: Packet analysis {"connection_id":129490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:24:10] local.INFO: Extracted packet for processing {"connection_id":129490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cd"} 
[2026-07-11 16:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756559616,"raw_latitude":119653128,"longitude_deg":75.6559616,"latitude_deg":11.9653128,"altitude":74,"angle":212,"satellites":44,"speed":25,"hex_longitude":"2d182f00","hex_latitude":"0721c308","is_valid_coordinates":true} 
[2026-07-11 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644375552001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749024179093504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748030004750485504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767103000,"timestamp_ms":1783767103000,"timestamp_seconds":1783767103,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cdf618"} 
[2026-07-11 16:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 16:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644375552001,"66":14048,"120":206,"28":31744,"24":25,"16":5749024179093504,"45":1748030004750485504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644375552001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:24:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:24:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749024179093504,"km_value":5749024179093.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748030004750485504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644375552001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1748030004750485504}} 
[2026-07-11 16:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":129490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:24:10] local.INFO: GPS data processed {"connection_id":129490,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:24:10] local.INFO: Acknowledgment sent {"connection_id":129490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:24:14] local.INFO: TCP Data received {"connection_id":129491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:24:14] local.INFO: Processing buffer {"connection_id":129491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:24:14] local.INFO: IMEI packet received {"connection_id":129491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":129491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:24:15] local.INFO: TCP Data received {"connection_id":129491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:24:15] local.INFO: Processing buffer {"connection_id":129491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:24:15] local.INFO: Packet analysis {"connection_id":129491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:24:15] local.INFO: Extracted packet for processing {"connection_id":129491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:24:15] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 16:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:24:15] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":129491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:24:15] local.INFO: GPS data processed {"connection_id":129491,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:24:15] local.INFO: Acknowledgment sent {"connection_id":129491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:24:19] local.INFO: TCP Data received {"connection_id":129491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:24:19] local.INFO: Processing buffer {"connection_id":129491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:24:19] local.INFO: Packet analysis {"connection_id":129491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:24:19] local.INFO: Extracted packet for processing {"connection_id":129491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:24:19] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 16:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:24:19] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":129491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:24:19] local.INFO: GPS data processed {"connection_id":129491,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:24:19] local.INFO: Acknowledgment sent {"connection_id":129491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:24:35] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cef0180100000000000000000000000000..."} 
[2026-07-11 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cef0180100000000000000000000000000..."} 
[2026-07-11 16:24:35] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cef0180100000000000000000000000000..."} 
[2026-07-11 16:24:35] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:24:35] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-11 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105006899505659904,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 16:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783767167000,"timestamp_ms":1783767167000,"timestamp_seconds":1783767167,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cef018"} 
[2026-07-11 16:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 16:24:35] 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-07-11 16: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-07-11 16:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-11 16:24:35] local.INFO: GPS data processed {"connection_id":130725,"processed":0,"errors":0,"total":1} 
[2026-07-11 16:24:35] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:24:42] local.INFO: TCP Data received {"connection_id":129490,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ce1d28012d1826400721b5c0004a00c52e..."} 
[2026-07-11 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ce1d28012d1826400721b5c0004a00c52e..."} 
[2026-07-11 16:24:42] local.INFO: Processing buffer {"connection_id":129490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ce1d28012d1826400721b5c0004a00c52e..."} 
[2026-07-11 16:24:42] local.INFO: Packet analysis {"connection_id":129490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:24:42] local.INFO: Extracted packet for processing {"connection_id":129490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119649728,"longitude_deg":75.6557376,"latitude_deg":11.9649728,"altitude":74,"angle":197,"satellites":46,"speed":10,"hex_longitude":"2d182640","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-07-11 16:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644378368001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749217452621824,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742611611446872064,"note":"Value kept but may cause issues"} 
[2026-07-11 16:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783767113000,"timestamp_ms":1783767113000,"timestamp_seconds":1783767113,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ce1d28"} 
[2026-07-11 16:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 16:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644378368001,"66":14233,"120":206,"28":31744,"24":10,"16":5749217452621824,"45":1742611611446872064},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644378368001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:24:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:24:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749217452621824,"km_value":5749217452621.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742611611446872064,"description":"Unknown IO ID 45"} 
[2026-07-11 16:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644378368001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1742611611446872064}} 
[2026-07-11 16:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":129490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:24:43] local.INFO: GPS data processed {"connection_id":129490,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:24:43] local.INFO: Acknowledgment sent {"connection_id":129490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:25:00] local.INFO: TCP Data received {"connection_id":129492,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:25:00] local.INFO: Processing buffer {"connection_id":129492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:25:00] local.INFO: IMEI packet received {"connection_id":129492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":129492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:25:04] local.INFO: TCP Data received {"connection_id":129493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:25:04] local.INFO: Processing buffer {"connection_id":129493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:25:04] local.INFO: IMEI packet received {"connection_id":129493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":129493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:25:05] local.INFO: TCP Data received {"connection_id":129492,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:25:05] local.INFO: Processing buffer {"connection_id":129492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:25:05] local.INFO: IMEI packet received {"connection_id":129492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":129492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:25:06] local.INFO: TCP Data received {"connection_id":129492,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ce6f30012d1825000721b348004a00ce2d..."} 
[2026-07-11 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ce6f30012d1825000721b348004a00ce2d..."} 
[2026-07-11 16:25:06] local.INFO: Processing buffer {"connection_id":129492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ce6f30012d1825000721b348004a00ce2d..."} 
[2026-07-11 16:25:06] local.INFO: Packet analysis {"connection_id":129492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:25:06] local.INFO: Extracted packet for processing {"connection_id":129492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119649096,"longitude_deg":75.6557056,"latitude_deg":11.9649096,"altitude":74,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644380928001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749251812360192,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705399783424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767134000,"timestamp_ms":1783767134000,"timestamp_seconds":1783767134,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ce6f30"} 
[2026-07-11 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-11 16:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644380928001,"66":13722,"120":206,"28":31744,"24":0,"16":5749251812360192,"45":1740148705399783424},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644380928001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:25:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:25:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749251812360192,"km_value":5749251812360.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705399783424,"description":"Unknown IO ID 45"} 
[2026-07-11 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644380928001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705399783424}} 
[2026-07-11 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":129492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:25:06] local.INFO: GPS data processed {"connection_id":129492,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:25:06] local.INFO: Acknowledgment sent {"connection_id":129492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:25:06] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0a980012d7c928005d7e6f00000016307..."} 
[2026-07-11 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0a980012d7c928005d7e6f00000016307..."} 
[2026-07-11 16:25:06] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0a980012d7c928005d7e6f00000016307..."} 
[2026-07-11 16:25:06] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:25:06] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763138688,"raw_latitude":98035440,"longitude_deg":76.3138688,"latitude_deg":9.803544,"altitude":0,"angle":355,"satellites":7,"speed":34,"hex_longitude":"2d7c9280","hex_latitude":"05d7e6f0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644419840001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105009111413817344,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978348094722924544,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767280000,"timestamp_ms":1783767280000,"timestamp_seconds":1783767280,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0a980"} 
[2026-07-11 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 16:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644419840001,"66":13178,"195":206,"85":15104,"24":34,"16":105009111413817344,"45":8978348094722924544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-11 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644419840001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:25:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-11 16:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105009111413817344,"km_value":105009111413817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978348094722924544,"description":"Unknown IO ID 45"} 
[2026-07-11 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644419840001,"power":13178,"unknown_195":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8978348094722924544}} 
[2026-07-11 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:25:06] local.INFO: GPS data processed {"connection_id":130725,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:25:06] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:25:09] local.INFO: TCP Data received {"connection_id":129493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:25:09] local.INFO: Processing buffer {"connection_id":129493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:25:09] local.INFO: IMEI packet received {"connection_id":129493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":129493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:25:10] local.INFO: TCP Data received {"connection_id":129493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:25:10] local.INFO: Processing buffer {"connection_id":129493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cc1d70012cb2998007821ea8004a00ef30..."} 
[2026-07-11 16:25:10] local.INFO: Packet analysis {"connection_id":129493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:25:10] local.INFO: Extracted packet for processing {"connection_id":129493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cc"} 
[2026-07-11 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644269312001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994698240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783766982000,"timestamp_ms":1783766982000,"timestamp_seconds":1783766982,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cc1d70"} 
[2026-07-11 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:25: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-07-11 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 16:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644269312001,"66":25832,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577778474994698240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644269312001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:25:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994698240,"description":"Unknown IO ID 44"} 
[2026-07-11 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644269312001,"power":25832,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577778474994698240}} 
[2026-07-11 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":129493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:25:10] local.INFO: GPS data processed {"connection_id":129493,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:25:10] local.INFO: Acknowledgment sent {"connection_id":129493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:25:37] local.INFO: TCP Data received {"connection_id":129492,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cea9c8012d1826000721b558004b00172d..."} 
[2026-07-11 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cea9c8012d1826000721b558004b00172d..."} 
[2026-07-11 16:25:37] local.INFO: Processing buffer {"connection_id":129492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cea9c8012d1826000721b558004b00172d..."} 
[2026-07-11 16:25:37] local.INFO: Packet analysis {"connection_id":129492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:25:37] local.INFO: Extracted packet for processing {"connection_id":129492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119649624,"longitude_deg":75.6557312,"latitude_deg":11.9649624,"altitude":75,"angle":23,"satellites":45,"speed":5,"hex_longitude":"2d182600","hex_latitude":"0721b558","is_valid_coordinates":true} 
[2026-07-11 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644386304001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749281877131264,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678733312,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783767149000,"timestamp_ms":1783767149000,"timestamp_seconds":1783767149,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cea9c8"} 
[2026-07-11 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-11 16:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644386304001,"66":13928,"120":206,"28":31744,"24":5,"16":5749281877131264,"45":1739796861678733312},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644386304001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:25:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749281877131264,"km_value":5749281877131.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678733312,"description":"Unknown IO ID 45"} 
[2026-07-11 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644386304001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739796861678733312}} 
[2026-07-11 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":129492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:25:37] local.INFO: GPS data processed {"connection_id":129492,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:25:37] local.INFO: Acknowledgment sent {"connection_id":129492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:25:37] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0d090012d7c8ec005d809d80000016705..."} 
[2026-07-11 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0d090012d7c8ec005d809d80000016705..."} 
[2026-07-11 16:25:37] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0d090012d7c8ec005d809d80000016705..."} 
[2026-07-11 16:25:37] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:25:37] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763137728,"raw_latitude":98044376,"longitude_deg":76.3137728,"latitude_deg":9.8044376,"altitude":0,"angle":359,"satellites":5,"speed":39,"hex_longitude":"2d7c8ec0","hex_latitude":"05d809d8","is_valid_coordinates":true} 
[2026-07-11 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644423680001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105009549500481536,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976377769888247808,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783767290000,"timestamp_ms":1783767290000,"timestamp_seconds":1783767290,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0d090"} 
[2026-07-11 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-11 16:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644423680001,"66":13374,"195":206,"85":15104,"24":39,"16":105009549500481536,"45":8976377769888247808},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-11 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644423680001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:25:37] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-11 16:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105009549500481536,"km_value":105009549500481.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976377769888247808,"description":"Unknown IO ID 45"} 
[2026-07-11 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644423680001,"power":13374,"unknown_195":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8976377769888247808}} 
[2026-07-11 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:25:37] local.INFO: GPS data processed {"connection_id":130725,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:25:37] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:25:41] local.INFO: TCP Data received {"connection_id":129493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:25:41] local.INFO: Processing buffer {"connection_id":129493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:25:41] local.INFO: Packet analysis {"connection_id":129493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:25:41] local.INFO: Extracted packet for processing {"connection_id":129493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 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-07-11 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-07-11 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:25:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":129493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:25:41] local.INFO: GPS data processed {"connection_id":129493,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:25:41] local.INFO: Acknowledgment sent {"connection_id":129493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:26:00] local.INFO: TCP Data received {"connection_id":128786,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:00] local.INFO: Processing buffer {"connection_id":128786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:00] local.INFO: IMEI packet received {"connection_id":128786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":128786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:26:03] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:26:03] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:26:03] local.INFO: IMEI packet received {"connection_id":128787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":128787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:26:03] local.INFO: TCP Data received {"connection_id":128600,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:26:03] local.INFO: Processing buffer {"connection_id":128600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:26:03] local.INFO: IMEI packet received {"connection_id":128600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":128600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:26:04] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:26:04] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:26:04] local.INFO: IMEI packet received {"connection_id":128787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":128787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:26:05] local.INFO: TCP Data received {"connection_id":128786,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:05] local.INFO: Processing buffer {"connection_id":128786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:05] local.INFO: IMEI packet received {"connection_id":128786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":128786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:26:06] local.INFO: TCP Data received {"connection_id":128786,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cefbd0012d1827000721b758004b001d2f..."} 
[2026-07-11 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cefbd0012d1827000721b758004b001d2f..."} 
[2026-07-11 16:26:06] local.INFO: Processing buffer {"connection_id":128786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cefbd0012d1827000721b758004b001d2f..."} 
[2026-07-11 16:26:06] local.INFO: Packet analysis {"connection_id":128786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:26:06] local.INFO: Extracted packet for processing {"connection_id":128786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ce"} 
[2026-07-11 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119650136,"longitude_deg":75.6557568,"latitude_deg":11.9650136,"altitude":75,"angle":29,"satellites":47,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721b758","is_valid_coordinates":true} 
[2026-07-11 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644390144001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749311941902336,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655579136,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767170000,"timestamp_ms":1783767170000,"timestamp_seconds":1783767170,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cefbd0"} 
[2026-07-11 16:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-11 16:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644390144001,"66":14374,"120":206,"28":31744,"24":0,"16":5749311941902336,"45":1740078336655579136},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644390144001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:26:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749311941902336,"km_value":5749311941902.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655579136,"description":"Unknown IO ID 45"} 
[2026-07-11 16:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644390144001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740078336655579136}} 
[2026-07-11 16:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":128786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:26:06] local.INFO: GPS data processed {"connection_id":128786,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:26:06] local.INFO: Acknowledgment sent {"connection_id":128786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:26:08] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:26:08] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:26:08] local.INFO: IMEI packet received {"connection_id":128787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":128787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:26:09] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0f3b8012d7c8d0005d82f580000000107..."} 
[2026-07-11 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0f3b8012d7c8d0005d82f580000000107..."} 
[2026-07-11 16:26:09] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0f3b8012d7c8d0005d82f580000000107..."} 
[2026-07-11 16:26:09] local.INFO: Packet analysis {"connection_id":128787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:26:09] local.INFO: Extracted packet for processing {"connection_id":128787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763137280,"raw_latitude":98053976,"longitude_deg":76.313728,"latitude_deg":9.8053976,"altitude":0,"angle":1,"satellites":7,"speed":42,"hex_longitude":"2d7c8d00","hex_latitude":"05d82f58","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644426240001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105010017651916800,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975322238727870464,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783767299000,"timestamp_ms":1783767299000,"timestamp_seconds":1783767299,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0f3b8"} 
[2026-07-11 16:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 16:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644426240001,"66":13363,"195":206,"85":15104,"24":42,"16":105010017651916800,"45":8975322238727870464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-11 16:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644426240001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:26:09] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-11 16:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105010017651916800,"km_value":105010017651916.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975322238727870464,"description":"Unknown IO ID 45"} 
[2026-07-11 16:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644426240001,"power":13363,"unknown_195":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8975322238727870464}} 
[2026-07-11 16:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":128787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:26:09] local.INFO: GPS data processed {"connection_id":128787,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:26:09] local.INFO: Acknowledgment sent {"connection_id":128787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:26:09] local.INFO: TCP Data received {"connection_id":128600,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:26:09] local.INFO: Processing buffer {"connection_id":128600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:26:09] local.INFO: IMEI packet received {"connection_id":128600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":128600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:26:10] local.INFO: TCP Data received {"connection_id":128600,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:26:10] local.INFO: Processing buffer {"connection_id":128600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:26:10] local.INFO: Packet analysis {"connection_id":128600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:26:10] local.INFO: Extracted packet for processing {"connection_id":128600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 16:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:26: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-07-11 16:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:26:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":128600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:26:10] local.INFO: GPS data processed {"connection_id":128600,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:26:10] local.INFO: Acknowledgment sent {"connection_id":128600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:26:38] local.INFO: TCP Data received {"connection_id":128786,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cf4dd8012d1825000721b7a0004c012f2f..."} 
[2026-07-11 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cf4dd8012d1825000721b7a0004c012f2f..."} 
[2026-07-11 16:26:38] local.INFO: Processing buffer {"connection_id":128786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cf4dd8012d1825000721b7a0004c012f2f..."} 
[2026-07-11 16:26:38] local.INFO: Packet analysis {"connection_id":128786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cf"} 
[2026-07-11 16:26:38] local.INFO: Extracted packet for processing {"connection_id":128786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cf"} 
[2026-07-11 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650208,"longitude_deg":75.6557056,"latitude_deg":11.9650208,"altitude":76,"angle":303,"satellites":47,"speed":6,"hex_longitude":"2d182500","hex_latitude":"0721b7a0","is_valid_coordinates":true} 
[2026-07-11 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644395520001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749337711706112,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632420864,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783767191000,"timestamp_ms":1783767191000,"timestamp_seconds":1783767191,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cf4dd8"} 
[2026-07-11 16:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 16:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644395520001,"66":13319,"120":206,"28":31744,"24":6,"16":5749337711706112,"45":1740359811632420864},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644395520001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:26:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:26:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749337711706112,"km_value":5749337711706.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632420864,"description":"Unknown IO ID 45"} 
[2026-07-11 16:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644395520001,"power":13319,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740359811632420864}} 
[2026-07-11 16:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":128786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:26:38] local.INFO: GPS data processed {"connection_id":128786,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:26:38] local.INFO: Acknowledgment sent {"connection_id":128786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:26:39] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d237f0012d7c738005d9ef500000016407..."} 
[2026-07-11 16:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d237f0012d7c738005d9ef500000016407..."} 
[2026-07-11 16:26:39] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d237f0012d7c738005d9ef500000016407..."} 
[2026-07-11 16:26:39] local.INFO: Packet analysis {"connection_id":128787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d2"} 
[2026-07-11 16:26:39] local.INFO: Extracted packet for processing {"connection_id":128787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d2"} 
[2026-07-11 16:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763130752,"raw_latitude":98168656,"longitude_deg":76.3130752,"latitude_deg":9.8168656,"altitude":0,"angle":356,"satellites":7,"speed":61,"hex_longitude":"2d7c7380","hex_latitude":"05d9ef50","is_valid_coordinates":true} 
[2026-07-11 16:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644448256001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105015601109401600,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969129789269506048,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783767382000,"timestamp_ms":1783767382000,"timestamp_seconds":1783767382,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d237f0"} 
[2026-07-11 16:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3638974464,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3518433281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455751374,"corrected_to":0} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2147866893,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57797770052785467,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7840768246126362629,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-4397765036127287552,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:39] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,244,85,24,241,157,16,22,159,5,45,162,9,10,66,197,233,192,122,6,21,210,64,1,240,7,227,80,217,4,113,205,60,129,48,239,52,196,2,117,50,187,209,216],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1455751374,"validated":0}]} 
[2026-07-11 16:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":2224796729344,"timestamp_ms":2224796729344,"timestamp_seconds":2224796729.344,"priority":0,"record_length":551,"hex_timestamp":"0000020600380000"} 
[2026-07-11 16:26:39] local.INFO: AVL Record successfully parsed {"record_number":2,"total_expected":10,"successful_records":2,"record_length":551,"new_offset":657} 
[2026-07-11 16:26:39] local.INFO: GPS Element Parsed {"raw_longitude":16806174,"raw_latitude":15728896,"longitude_deg":1.6806174,"latitude_deg":1.5728896,"altitude":17665,"angle":4,"satellites":0,"speed":16948,"hex_longitude":"0100711e","hex_latitude":"00f00100","is_valid_coordinates":true} 
[2026-07-11 16:26:39] local.INFO: IO Element Header Parsed {"event_io_id":7,"total_io":0,"n1_one_byte":205,"n2_two_byte":86,"n4_four_byte":196,"n8_eight_byte":0,"data_length":795,"current_offset":687} 
[2026-07-11 16:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":687,"expected_size":1648,"max_length":795,"available_bytes":108,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":681,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:26:39] local.WARNING: AVL Record parsing failed {"record_number":3,"total_expected":10,"offset":657,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":2,"records_with_valid_data":2} 
[2026-07-11 16:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128787,"avl_records_parsed":2,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128787,"device_imei":"862567072406932","avl_records_count":2} 
[2026-07-11 16:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128787,"device_imei":"862567072406932","avl_records_count":2} 
[2026-07-11 16:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":2,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644448256001,"66":13243,"244":206,"85":15104,"24":61,"16":105015601109401600,"45":8969129789269506048},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-11 16:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644448256001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:26:39] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 16:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105015601109401600,"km_value":105015601109401.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969129789269506048,"description":"Unknown IO ID 45"} 
[2026-07-11 16:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644448256001,"power":13243,"unknown_244":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":8969129789269506048}} 
[2026-07-11 16:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":106320,"244":206,"85":989861888,"24":3801090,"241":0,"157":3808432129,"16":24450293,"22":16640,"159":1355908160,"5":3638974464,"45":2088730629,"162":20480,"9":57,"10":262383,"66":13037,"197":206,"233":53249,"192":1497,"122":45056,"6":58,"21":1744830464,"210":24577,"64":98129776,"1":19422872971788851,"240":16794881,"7":3670016,"227":1048949,"80":3518433281,"217":802160640,"4":15663360,"113":520155137,"205":0,"60":131313,"129":2147866893,"48":0,"239":16806175,"52":486591830,"196":13522235,"2":15794176,"117":345047040,"50":10,"187":57797770052785467,"209":7840768246126362629,"216":-4397765036127287552},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":19422872971788851,"io_data_keys":[0,244,85,24,241,157,16,22,159,5,45,162,9,10,66,197,233,192,122,6,21,210,64,1,240,7,227,80,217,4,113,205,60,129,48,239,52,196,2,117,50,187,209,216]} 
[2026-07-11 16:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":106320,"description":"Unknown IO ID 0"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":989861888,"description":"Unknown IO ID 85"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":0,"description":"Unknown IO ID 241"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":3808432129,"description":"Unknown IO ID 157"} 
[2026-07-11 16:26:40] local.INFO: Odometer value processed {"io_id":16,"raw_meters":24450293,"kilometers":24450.293} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":22,"value":16640,"description":"Unknown IO ID 22"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":159,"value":1355908160,"description":"Unknown IO ID 159"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":5,"value":3638974464,"description":"Unknown IO ID 5"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2088730629,"description":"Unknown IO ID 45"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":162,"value":20480,"description":"Unknown IO ID 162"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":57,"description":"Unknown IO ID 9"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":262383,"description":"Unknown IO ID 10"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":233,"value":53249,"description":"Unknown IO ID 233"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":192,"value":1497,"description":"Unknown IO ID 192"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":45056,"description":"Unknown IO ID 122"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":6,"value":58,"description":"Unknown IO ID 6"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":21,"value":1744830464,"description":"Unknown IO ID 21"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":210,"value":24577,"description":"Unknown IO ID 210"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":64,"value":98129776,"description":"Unknown IO ID 64"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":240,"value":16794881,"description":"Power Status (1-byte)"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":7,"value":3670016,"description":"Unknown IO ID 7"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":227,"value":1048949,"description":"Unknown IO ID 227"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":3518433281,"description":"Unknown IO ID 80"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":802160640,"description":"Unknown IO ID 217"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":4,"value":15663360,"description":"Unknown IO ID 4"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":520155137,"description":"Unknown IO ID 113"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":60,"value":131313,"description":"Unknown IO ID 60"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":129,"value":2147866893,"description":"Unknown IO ID 129"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":48,"value":0,"description":"Unknown IO ID 48"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":239,"value":16806175,"description":"Ignition (1-byte)"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":52,"value":486591830,"description":"Unknown IO ID 52"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":196,"value":13522235,"description":"Unknown IO ID 196"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":345047040,"description":"Unknown IO ID 117"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":50,"value":10,"description":"Unknown IO ID 50"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":187,"value":57797770052785467,"description":"Unknown IO ID 187"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":209,"value":7840768246126362629,"description":"Unknown IO ID 209"} 
[2026-07-11 16:26:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":-4397765036127287552,"description":"Unknown IO ID 216"} 
[2026-07-11 16:26:40] local.INFO: IO Data Validated and Processed {"original_count":44,"validated_count":44,"validated_data":{"unknown_0":106320,"unknown_244":206,"unknown_85":989861888,"ignition":3801090,"unknown_241":0,"unknown_157":3808432129,"odometer":24450.293,"unknown_22":16640,"unknown_159":1355908160,"unknown_5":3638974464,"unknown_45":2088730629,"unknown_162":20480,"unknown_9":57,"unknown_10":262383,"power":13037,"unknown_197":206,"unknown_233":53249,"unknown_192":1497,"unknown_122":45056,"unknown_6":58,"unknown_21":1744830464,"unknown_210":24577,"unknown_64":98129776,"imei":19422872971788851,"unknown_240":16794881,"unknown_7":3670016,"unknown_227":1048949,"unknown_80":3518433281,"unknown_217":802160640,"unknown_4":15663360,"unknown_113":520155137,"cell_id":0,"unknown_60":131313,"unknown_129":2147866893,"unknown_48":0,"unknown_239":16806175,"unknown_52":486591830,"unknown_196":13522235,"power_alt":15794176,"unknown_117":345047040,"unknown_50":10,"unknown_187":57797770052785467,"unknown_209":7840768246126362629,"unknown_216":-4397765036127287552}} 
[2026-07-11 16:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":128787,"result":{"success":true,"processed":1,"errors":1,"skipped":0,"total":2,"results":[{"success":true,"position_id":471316,"device_id":194233,"message":"Position recorded successfully"},{"success":false,"message":"SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '2040-07-02 04:35:29' for column 'devicetime' at row 1 (Connection: mysql, SQL: insert into `tc_positions` (`deviceid`, `devicetime`, `latitude`, `longitude`, `altitude`, `speed`, `mode`, `attributes`, `network`, `ignition`, `power`, `gnss_fix`, `gsm_signal_strength`, `alert_id`, `gf_id`, `main_input_voltage`, `internal_battery_voltage`, `packet`, `kilometer`, `created_at`, `updated_at`) values (194233, 2040-07-02 04:35:29, -28.5147023, 16.7773184, 8704, 17665, H, {\"header\":\"NRM\",\"imei\":\"862567072406932\",\"alert_id\":\"00\",\"packet_status\":\"L\",\"GNSS_fix\":\"0\",\"date\":\"02\\/07\\/40\",\"time\":\"04:35:29\",\"latitude\":\"28.514702\",\"latitude_dir\":\"S\",\"longitude\":\"16.777318\",\"longitude_dir\":\"E\",\"mcc\":\"000\",\"mnc\":\"x00\",\"lac\":\"0000\",\"cell_id\":\"000000000\",\"speed\":\"017665\",\"heading\":\"061441\",\"no_of_satellite\":\"00\",\"hdop\":\"00\",\"signal_strength\":\"00\",\"ignition\":\"1\",\"power\":\"1\",\"vehicle_mode\":\"H\",\"altitude\":\"008704\",\"network_operator\":\"00000\",\"odometer\":\"024450.293\"}, 00000, 1, 1, 0, ?, ?, ?, ?, ?, NRM, 151147.46, 2026-07-11 16:26:40, 2026-07-11 16:26:40))","record":{"timestamp":2224796729344,"priority":0,"gps":{"longitude":167773184,"latitude":4009820273,"longitudeDeg":16.7773184,"latitudeDeg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665},"io":{"eventIoId":0,"totalIo":4,"n1":0,"n2":66,"n4":52,"n8":7,"ioData":{"0":106320,"244":206,"85":989861888,"24":3801090,"241":0,"157":3808432129,"16":24450293,"22":16640,"159":1355908160,"5":3638974464,"45":2088730629,"162":20480,"9":57,"10":262383,"66":13037,"197":206,"233":53249,"192":1497,"122":45056,"6":58,"21":1744830464,"210":24577,"64":98129776,"1":19422872971788851,"240":16794881,"7":3670016,"227":1048949,"80":3518433281,"217":802160640,"4":15663360,"113":520155137,"205":0,"60":131313,"129":2147866893,"48":0,"239":16806175,"52":486591830,"196":13522235,"2":15794176,"117":345047040,"50":10,"187":57797770052785467,"209":7840768246126362629,"216":-4397765036127287552},"length":527},"recordLength":551,"parser_version":"v2.0-fixed","parsing_timestamp":"2026-07-11T10:56:39.958428Z"}}]}} 
[2026-07-11 16:26:40] local.INFO: GPS data processed {"connection_id":128787,"processed":1,"errors":1,"total":2} 
[2026-07-11 16:26:40] local.INFO: Acknowledgment sent {"connection_id":128787,"records_acknowledged":2,"records_expected":10,"ack_packet":"00000000000000028e02000061e4"} 
[2026-07-11 16:26:41] local.INFO: TCP Data received {"connection_id":128600,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:26:41] local.INFO: Processing buffer {"connection_id":128600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:26:41] local.INFO: Packet analysis {"connection_id":128600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:26:41] local.INFO: Extracted packet for processing {"connection_id":128600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 16:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:26: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-07-11 16:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:26:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":128600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:26:41] local.INFO: GPS data processed {"connection_id":128600,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:26:41] local.INFO: Acknowledgment sent {"connection_id":128600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:26:59] local.INFO: TCP Data received {"connection_id":129495,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:59] local.INFO: Processing buffer {"connection_id":129495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:59] local.INFO: IMEI packet received {"connection_id":129495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":129495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:26:59] local.INFO: TCP Data received {"connection_id":129495,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:59] local.INFO: Processing buffer {"connection_id":129495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:26:59] local.INFO: IMEI packet received {"connection_id":129495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":129495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:27:03] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:27:03] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:27:03] local.INFO: IMEI packet received {"connection_id":130730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":130730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:27:05] local.INFO: TCP Data received {"connection_id":129495,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:27:05] local.INFO: Processing buffer {"connection_id":129495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:27:05] local.INFO: IMEI packet received {"connection_id":129495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":129495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:27:06] local.INFO: TCP Data received {"connection_id":129495,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cf4dd8012d1825000721b7a0004c012f2f..."} 
[2026-07-11 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cf4dd8012d1825000721b7a0004c012f2f..."} 
[2026-07-11 16:27:06] local.INFO: Processing buffer {"connection_id":129495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cf4dd8012d1825000721b7a0004c012f2f..."} 
[2026-07-11 16:27:06] local.INFO: Packet analysis {"connection_id":129495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cf"} 
[2026-07-11 16:27:06] local.INFO: Extracted packet for processing {"connection_id":129495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cf"} 
[2026-07-11 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650208,"longitude_deg":75.6557056,"latitude_deg":11.9650208,"altitude":76,"angle":303,"satellites":47,"speed":6,"hex_longitude":"2d182500","hex_latitude":"0721b7a0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644400896001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749337711706112,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679017984,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767191000,"timestamp_ms":1783767191000,"timestamp_seconds":1783767191,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cf4dd8"} 
[2026-07-11 16:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 16:27:06] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:06] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3458017281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-58546438659494912,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6906268735379128313,"corrected_to":0} 
[2026-07-11 16:27:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":402730264,"corrected_to":0} 
[2026-07-11 16:27:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:06] local.WARNING: Large IO value detected {"io_id":137,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,108,159,251,45,183,75,47,10,66,169,181,111,1,240,154,80,33,4,113,205,246,8,44,239,54,2,20,7,78,35,137],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-6906268735379128313,"validated":0},{"io_id":246,"original":402730264,"validated":0}]} 
[2026-07-11 16:27:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476710500769595392,"timestamp_seconds":5476710500769595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644400896001,"66":13319,"120":206,"28":31744,"24":6,"16":5749337711706112,"45":1739796861679017984},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644400896001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:27:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749337711706112,"km_value":5749337711706.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679017984,"description":"Unknown IO ID 45"} 
[2026-07-11 16:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644400896001,"power":13319,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739796861679017984}} 
[2026-07-11 16:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":129495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:27:06] local.INFO: GPS data processed {"connection_id":129495,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:27:06] local.INFO: Acknowledgment sent {"connection_id":129495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:27:09] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:27:09] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:27:09] local.INFO: IMEI packet received {"connection_id":130730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":130730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:27:10] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:27:10] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:27:10] local.INFO: Packet analysis {"connection_id":130730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:27:10] local.INFO: Extracted packet for processing {"connection_id":130730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 16:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:27: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-07-11 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:27:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":130730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:27:10] local.INFO: GPS data processed {"connection_id":130730,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:27:10] local.INFO: Acknowledgment sent {"connection_id":130730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:27:11] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d25348012d7c68c005da1380000001630a..."} 
[2026-07-11 16:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d25348012d7c68c005da1380000001630a..."} 
[2026-07-11 16:27:11] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d25348012d7c68c005da1380000001630a..."} 
[2026-07-11 16:27:11] local.INFO: Packet analysis {"connection_id":128787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d2"} 
[2026-07-11 16:27:11] local.INFO: Extracted packet for processing {"connection_id":128787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d2"} 
[2026-07-11 16:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763128000,"raw_latitude":98177920,"longitude_deg":76.3128,"latitude_deg":9.817792,"altitude":0,"angle":355,"satellites":10,"speed":50,"hex_longitude":"2d7c68c0","hex_latitude":"05da1380","is_valid_coordinates":true} 
[2026-07-11 16:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644449792001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105016073555804160,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967652045644320768,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783767389000,"timestamp_ms":1783767389000,"timestamp_seconds":1783767389,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d25348"} 
[2026-07-11 16:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 16:27:11] 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-07-11 16:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644449792001,"66":13319,"244":206,"85":15104,"24":50,"16":105016073555804160,"45":8967652045644320768},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-11 16:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644449792001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:27:11] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 16:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105016073555804160,"km_value":105016073555804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967652045644320768,"description":"Unknown IO ID 45"} 
[2026-07-11 16:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644449792001,"power":13319,"unknown_244":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8967652045644320768}} 
[2026-07-11 16:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":128787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:27:11] local.INFO: GPS data processed {"connection_id":128787,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:27:11] local.INFO: Acknowledgment sent {"connection_id":128787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:27:38] local.INFO: TCP Data received {"connection_id":129495,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cf9fe0012d1824c00721b7e8004c012a2e..."} 
[2026-07-11 16:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cf9fe0012d1824c00721b7e8004c012a2e..."} 
[2026-07-11 16:27:38] local.INFO: Processing buffer {"connection_id":129495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cf9fe0012d1824c00721b7e8004c012a2e..."} 
[2026-07-11 16:27:38] local.INFO: Packet analysis {"connection_id":129495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cf"} 
[2026-07-11 16:27:38] local.INFO: Extracted packet for processing {"connection_id":129495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cf"} 
[2026-07-11 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650280,"longitude_deg":75.6556992,"latitude_deg":11.965028,"altitude":76,"angle":298,"satellites":46,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b7e8","is_valid_coordinates":true} 
[2026-07-11 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644400896001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749380661379072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679017984,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783767212000,"timestamp_ms":1783767212000,"timestamp_seconds":1783767212,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cf9fe0"} 
[2026-07-11 16:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 16:27:38] local.WARNING: Large IO value detected {"io_id":108,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3463393281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-2267562077359560192,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-3810043991563288569,"corrected_to":0} 
[2026-07-11 16:27:38] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966759,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:38] local.WARNING: Large IO value detected {"io_id":224,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,108,159,77,45,183,76,47,10,66,251,75,169,1,240,104,80,33,4,113,205,29,38,192,46,239,55,2,20,7,74,25,224],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-3810043991563288569,"validated":0}]} 
[2026-07-11 16:27:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476710500769595392,"timestamp_seconds":5476710500769595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644400896001,"66":13993,"120":206,"28":31744,"24":0,"16":5749380661379072,"45":1739796861679017984},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644400896001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:27:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:27:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749380661379072,"km_value":5749380661379.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679017984,"description":"Unknown IO ID 45"} 
[2026-07-11 16:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644400896001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739796861679017984}} 
[2026-07-11 16:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":129495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:27:38] local.INFO: GPS data processed {"connection_id":129495,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:27:38] local.INFO: Acknowledgment sent {"connection_id":129495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:27:41] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:27:41] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:27:41] local.INFO: Packet analysis {"connection_id":130730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:27:41] local.INFO: Extracted packet for processing {"connection_id":130730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 16:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:27:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":130730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:27:41] local.INFO: GPS data processed {"connection_id":130730,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:27:41] local.INFO: Acknowledgment sent {"connection_id":130730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:27:42] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d26ea0012d7c5d0005da34b80000015b09..."} 
[2026-07-11 16:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d26ea0012d7c5d0005da34b80000015b09..."} 
[2026-07-11 16:27:42] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d26ea0012d7c5d0005da34b80000015b09..."} 
[2026-07-11 16:27:42] local.INFO: Packet analysis {"connection_id":128787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d2"} 
[2026-07-11 16:27:42] local.INFO: Extracted packet for processing {"connection_id":128787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d2"} 
[2026-07-11 16:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763124992,"raw_latitude":98186424,"longitude_deg":76.3124992,"latitude_deg":9.8186424,"altitude":0,"angle":347,"satellites":9,"speed":51,"hex_longitude":"2d7c5d00","hex_latitude":"05da34b8","is_valid_coordinates":true} 
[2026-07-11 16:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644451584001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105016511642468352,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964626189647052800,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783767396000,"timestamp_ms":1783767396000,"timestamp_seconds":1783767396,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d26ea0"} 
[2026-07-11 16:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":30720,"corrected_to":0} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3643789312,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3521761281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":217,"raw_value":950259521375176448,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455751374,"corrected_to":0} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57797774347752763,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-6946801130344972283,"note":"Value kept but may cause issues"} 
[2026-07-11 16:27:42] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,244,85,24,241,157,16,23,159,55,45,128,239,7,10,66,32,192,200,6,22,5,1,240,227,80,217,4,113,205,58,210,124,112,52,197,2,117,60,51,209],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":200,"original":30720,"validated":0},{"io_id":205,"original":1455751374,"validated":0}]} 
[2026-07-11 16:27:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":390369580810240,"timestamp_seconds":390369580810.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644451584001,"66":13330,"245":206,"85":15104,"24":51,"16":105016511642468352,"45":8964626189647052800},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-11 16:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644451584001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105016511642468352,"km_value":105016511642468.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964626189647052800,"description":"Unknown IO ID 45"} 
[2026-07-11 16:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644451584001,"power":13330,"geofence_id":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8964626189647052800}} 
[2026-07-11 16:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":128787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:27:42] local.INFO: GPS data processed {"connection_id":128787,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:27:42] local.INFO: Acknowledgment sent {"connection_id":128787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:27:59] local.INFO: TCP Data received {"connection_id":128788,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:27:59] local.INFO: Processing buffer {"connection_id":128788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:27:59] local.INFO: IMEI packet received {"connection_id":128788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":128788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:28:02] local.INFO: TCP Data received {"connection_id":128788,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:28:02] local.INFO: Processing buffer {"connection_id":128788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:28:02] local.INFO: IMEI packet received {"connection_id":128788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":128788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:28:03] local.INFO: TCP Data received {"connection_id":130731,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:28:03] local.INFO: Processing buffer {"connection_id":130731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:28:03] local.INFO: IMEI packet received {"connection_id":130731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":130731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:28:04] local.INFO: TCP Data received {"connection_id":128788,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:28:04] local.INFO: Processing buffer {"connection_id":128788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:28:04] local.INFO: IMEI packet received {"connection_id":128788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":128788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:28:06] local.INFO: TCP Data received {"connection_id":128788,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50cff1e8012d1823800721b6f8004c012a2d..."} 
[2026-07-11 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50cff1e8012d1823800721b6f8004c012a2d..."} 
[2026-07-11 16:28:06] local.INFO: Processing buffer {"connection_id":128788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50cff1e8012d1823800721b6f8004c012a2d..."} 
[2026-07-11 16:28:06] local.INFO: Packet analysis {"connection_id":128788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50cf"} 
[2026-07-11 16:28:06] local.INFO: Extracted packet for processing {"connection_id":128788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50cf"} 
[2026-07-11 16:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650040,"longitude_deg":75.6556672,"latitude_deg":11.965004,"altitude":76,"angle":298,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6f8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644406272001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749402136215552,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934858752,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767233000,"timestamp_ms":1783767233000,"timestamp_seconds":1783767233,"priority":1,"record_length":96,"hex_timestamp":"0000019f50cff1e8"} 
[2026-07-11 16:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 16:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644406272001,"66":13135,"120":206,"28":31744,"24":0,"16":5749402136215552,"45":1739726492934858752},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644406272001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:28:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749402136215552,"km_value":5749402136215.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934858752,"description":"Unknown IO ID 45"} 
[2026-07-11 16:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644406272001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934858752}} 
[2026-07-11 16:28:06] local.INFO: TCP Data received {"connection_id":130731,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":128788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:28:06] local.INFO: GPS data processed {"connection_id":128788,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:28:06] local.INFO: Acknowledgment sent {"connection_id":128788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:28:06] local.INFO: Processing buffer {"connection_id":130731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:28:06] local.INFO: IMEI packet received {"connection_id":130731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":130731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:28:07] local.INFO: TCP Data received {"connection_id":130731,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d289f8012d7c528005da5888000001580a..."} 
[2026-07-11 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d289f8012d7c528005da5888000001580a..."} 
[2026-07-11 16:28:07] local.INFO: Processing buffer {"connection_id":130731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d289f8012d7c528005da5888000001580a..."} 
[2026-07-11 16:28:07] local.INFO: Packet analysis {"connection_id":130731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d2"} 
[2026-07-11 16:28:07] local.INFO: Extracted packet for processing {"connection_id":130731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d2"} 
[2026-07-11 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763122304,"raw_latitude":98195592,"longitude_deg":76.3122304,"latitude_deg":9.8195592,"altitude":0,"angle":344,"satellites":10,"speed":55,"hex_longitude":"2d7c5280","hex_latitude":"05da5888","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644453376001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105016971203969024,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961318858672879616,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783767403000,"timestamp_ms":1783767403000,"timestamp_seconds":1783767403,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d289f8"} 
[2026-07-11 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-07-11 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57797774347752763,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277637015672786224,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3523553281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3445253714938431744,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455751374,"corrected_to":0} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3221608826,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252758,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3646386176,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-5257951270081167355,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":60,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-4251171182780344320,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:07] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,245,85,24,241,157,16,23,159,83,45,192,19,10,66,244,55,128,239,7,32,1,240,227,22,80,217,4,113,205,57,233,121,176,6,50,197,2,117,5,58,209,60,86,31],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1455751374,"validated":0}]} 
[2026-07-11 16:28:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":381569192886272,"timestamp_seconds":381569192886.272,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 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-07-11 16:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644453376001,"66":13243,"245":206,"85":15104,"24":55,"16":105016971203969024,"45":8961318858672879616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-11 16:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644453376001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105016971203969024,"km_value":105016971203969.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961318858672879616,"description":"Unknown IO ID 45"} 
[2026-07-11 16:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644453376001,"power":13243,"geofence_id":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8961318858672879616}} 
[2026-07-11 16:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":130731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:28:07] local.INFO: GPS data processed {"connection_id":130731,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:28:07] local.INFO: Acknowledgment sent {"connection_id":130731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:28:09] local.INFO: TCP Data received {"connection_id":129497,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:28:09] local.INFO: Processing buffer {"connection_id":129497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:28:09] local.INFO: IMEI packet received {"connection_id":129497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":129497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:28:14] local.INFO: TCP Data received {"connection_id":129497,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:28:14] local.INFO: Processing buffer {"connection_id":129497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:28:14] local.INFO: IMEI packet received {"connection_id":129497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":129497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:28:15] local.INFO: TCP Data received {"connection_id":129497,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:28:15] local.INFO: Processing buffer {"connection_id":129497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:28:15] local.INFO: Packet analysis {"connection_id":129497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:28:15] local.INFO: Extracted packet for processing {"connection_id":129497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:28:15] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 16:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:28:15] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":129497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:28:15] local.INFO: GPS data processed {"connection_id":129497,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:28:15] local.INFO: Acknowledgment sent {"connection_id":129497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:28:15] local.INFO: TCP Data received {"connection_id":129496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:28:15] local.INFO: Processing buffer {"connection_id":129496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:28:15] local.INFO: IMEI packet received {"connection_id":129496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":129496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:28:19] local.INFO: TCP Data received {"connection_id":129497,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:28:19] local.INFO: Processing buffer {"connection_id":129497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:28:19] local.INFO: Packet analysis {"connection_id":129497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:28:19] local.INFO: Extracted packet for processing {"connection_id":129497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:28:19] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 16:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:28:19] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:28:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":129497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:28:19] local.INFO: GPS data processed {"connection_id":129497,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:28:19] local.INFO: Acknowledgment sent {"connection_id":129497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:28:37] local.INFO: TCP Data received {"connection_id":128788,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d043f0012d1823800721b6f8004c012a2d..."} 
[2026-07-11 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d043f0012d1823800721b6f8004c012a2d..."} 
[2026-07-11 16:28:37] local.INFO: Processing buffer {"connection_id":128788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d043f0012d1823800721b6f8004c012a2d..."} 
[2026-07-11 16:28:37] local.INFO: Packet analysis {"connection_id":128788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:28:37] local.INFO: Extracted packet for processing {"connection_id":128788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650040,"longitude_deg":75.6556672,"latitude_deg":11.965004,"altitude":76,"angle":298,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6f8","is_valid_coordinates":true} 
[2026-07-11 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644411648001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749402136215552,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213908992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783767254000,"timestamp_ms":1783767254000,"timestamp_seconds":1783767254,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d043f0"} 
[2026-07-11 16:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-11 16:28:37] 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-07-11 16:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644411648001,"66":13863,"120":206,"28":31744,"24":0,"16":5749402136215552,"45":1739374649213908992},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644411648001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:28:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749402136215552,"km_value":5749402136215.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213908992,"description":"Unknown IO ID 45"} 
[2026-07-11 16:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644411648001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213908992}} 
[2026-07-11 16:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":128788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:28:37] local.INFO: GPS data processed {"connection_id":128788,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:28:37] local.INFO: Acknowledgment sent {"connection_id":128788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:28:38] local.INFO: TCP Data received {"connection_id":130731,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d3fd10012d7bed0005dbdd60000301620e..."} 
[2026-07-11 16:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d3fd10012d7bed0005dbdd60000301620e..."} 
[2026-07-11 16:28:38] local.INFO: Processing buffer {"connection_id":130731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d3fd10012d7bed0005dbdd60000301620e..."} 
[2026-07-11 16:28:38] local.INFO: Packet analysis {"connection_id":130731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d3"} 
[2026-07-11 16:28:38] local.INFO: Extracted packet for processing {"connection_id":130731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d3"} 
[2026-07-11 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763096320,"raw_latitude":98295136,"longitude_deg":76.309632,"latitude_deg":9.8295136,"altitude":3,"angle":354,"satellites":14,"speed":52,"hex_longitude":"2d7bed00","hex_latitude":"05dbdd60","is_valid_coordinates":true} 
[2026-07-11 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644477696001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105021974840868864,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931271404934449152,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783767498000,"timestamp_ms":1783767498000,"timestamp_seconds":1783767498,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d3fd10"} 
[2026-07-11 16:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":57885692328301883,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3546849281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3672207360,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-1749647160364793851,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-4640959415982880000,"note":"Value kept but may cause issues"} 
[2026-07-11 16:28:38] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,186,85,24,241,157,16,28,159,198,45,192,149,13,10,66,171,64,114,12,27,139,1,240,116,227,80,219,4,113,205,42,69,32,120,239,52,187,2,117,5,23,210,218],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-11 16:28:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72441383729102848,"timestamp_seconds":72441383729102.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644477696001,"66":13363,"168":206,"85":15104,"24":52,"16":105021974840868864,"45":8931271404934449152},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 16:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644477696001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:28:38] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 16:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105021974840868864,"km_value":105021974840868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931271404934449152,"description":"Unknown IO ID 45"} 
[2026-07-11 16:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644477696001,"power":13363,"unknown_168":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8931271404934449152}} 
[2026-07-11 16:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":130731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:28:38] local.INFO: GPS data processed {"connection_id":130731,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:28:38] local.INFO: Acknowledgment sent {"connection_id":130731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:28:50] local.INFO: TCP Data received {"connection_id":128789,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:28:50] local.INFO: Processing buffer {"connection_id":128789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:28:50] local.INFO: IMEI packet received {"connection_id":128789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":128789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:29:03] local.INFO: TCP Data received {"connection_id":130733,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:29:03] local.INFO: Processing buffer {"connection_id":130733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:29:03] local.INFO: IMEI packet received {"connection_id":130733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":130733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:29:04] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:29:04] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:29:04] local.INFO: IMEI packet received {"connection_id":130732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":130732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:29:05] local.INFO: TCP Data received {"connection_id":129498,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:05] local.INFO: Processing buffer {"connection_id":129498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:05] local.INFO: IMEI packet received {"connection_id":129498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":129498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:29:05] local.INFO: TCP Data received {"connection_id":129498,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:05] local.INFO: Processing buffer {"connection_id":129498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:05] local.INFO: IMEI packet received {"connection_id":129498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":129498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:29:08] local.INFO: TCP Data received {"connection_id":130733,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:29:08] local.INFO: Processing buffer {"connection_id":130733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:29:08] local.INFO: IMEI packet received {"connection_id":130733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":130733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:29:09] local.INFO: TCP Data received {"connection_id":130733,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d41868012d7be8c005dc0218000401650e..."} 
[2026-07-11 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d41868012d7be8c005dc0218000401650e..."} 
[2026-07-11 16:29:09] local.INFO: Processing buffer {"connection_id":130733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d41868012d7be8c005dc0218000401650e..."} 
[2026-07-11 16:29:09] local.INFO: Packet analysis {"connection_id":130733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:29:09] local.INFO: Extracted packet for processing {"connection_id":130733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":98304536,"longitude_deg":76.3095232,"latitude_deg":9.8304536,"altitude":4,"angle":357,"satellites":14,"speed":53,"hex_longitude":"2d7be8c0","hex_latitude":"05dc0218","is_valid_coordinates":true} 
[2026-07-11 16:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644479488001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105022430107402240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929793661309116416,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783767505000,"timestamp_ms":1783767505000,"timestamp_seconds":1783767505,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d41868"} 
[2026-07-11 16:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 16:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644479488001,"66":13439,"168":206,"85":15104,"24":53,"16":105022430107402240,"45":8929793661309116416},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 16:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644479488001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:29:09] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 16:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105022430107402240,"km_value":105022430107402.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929793661309116416,"description":"Unknown IO ID 45"} 
[2026-07-11 16:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644479488001,"power":13439,"unknown_168":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8929793661309116416}} 
[2026-07-11 16:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":130733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:29:09] local.INFO: GPS data processed {"connection_id":130733,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:29:09] local.INFO: Acknowledgment sent {"connection_id":130733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:29:09] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:29:09] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:29:09] local.INFO: IMEI packet received {"connection_id":130732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":130732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:29:10] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:29:10] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:29:10] local.INFO: Packet analysis {"connection_id":130732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:29:10] local.INFO: Extracted packet for processing {"connection_id":130732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 16:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:29: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-07-11 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:29:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":130732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:29:10] local.INFO: GPS data processed {"connection_id":130732,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:29:10] local.INFO: Acknowledgment sent {"connection_id":130732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:29:10] local.INFO: TCP Data received {"connection_id":129498,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:10] local.INFO: Processing buffer {"connection_id":129498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:10] local.INFO: IMEI packet received {"connection_id":129498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":129498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:29:11] local.INFO: TCP Data received {"connection_id":129498,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d095f8012d1823800721b6f8004c012a2e..."} 
[2026-07-11 16:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d095f8012d1823800721b6f8004c012a2e..."} 
[2026-07-11 16:29:11] local.INFO: Processing buffer {"connection_id":129498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d095f8012d1823800721b6f8004c012a2e..."} 
[2026-07-11 16:29:11] local.INFO: Packet analysis {"connection_id":129498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:29:11] local.INFO: Extracted packet for processing {"connection_id":129498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650040,"longitude_deg":75.6556672,"latitude_deg":11.965004,"altitude":76,"angle":298,"satellites":46,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6f8","is_valid_coordinates":true} 
[2026-07-11 16:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644417024001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749402136215552,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213908992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783767275000,"timestamp_ms":1783767275000,"timestamp_seconds":1783767275,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d095f8"} 
[2026-07-11 16:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-11 16:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644417024001,"66":13015,"120":206,"28":31744,"24":0,"16":5749402136215552,"45":1739374649213908992},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644417024001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:29:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749402136215552,"km_value":5749402136215.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213908992,"description":"Unknown IO ID 45"} 
[2026-07-11 16:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644417024001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213908992}} 
[2026-07-11 16:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":129498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:29:11] local.INFO: GPS data processed {"connection_id":129498,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:29:11] local.INFO: Acknowledgment sent {"connection_id":129498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:29:15] local.INFO: TCP Data received {"connection_id":129498,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0e800012d1823400721b600004c012a2e..."} 
[2026-07-11 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0e800012d1823400721b600004c012a2e..."} 
[2026-07-11 16:29:15] local.INFO: Processing buffer {"connection_id":129498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0e800012d1823400721b600004c012a2e..."} 
[2026-07-11 16:29:15] local.INFO: Packet analysis {"connection_id":129498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:29:15] local.INFO: Extracted packet for processing {"connection_id":129498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649792,"longitude_deg":75.6556608,"latitude_deg":11.9649792,"altitude":76,"angle":298,"satellites":46,"speed":1,"hex_longitude":"2d182340","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-07-11 16:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644422400001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749415021117440,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213908992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783767296000,"timestamp_ms":1783767296000,"timestamp_seconds":1783767296,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0e800"} 
[2026-07-11 16:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 16:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644422400001,"66":13102,"120":206,"28":31744,"24":1,"16":5749415021117440,"45":1739374649213908992},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644422400001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:29:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:29:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749415021117440,"km_value":5749415021117.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213908992,"description":"Unknown IO ID 45"} 
[2026-07-11 16:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644422400001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739374649213908992}} 
[2026-07-11 16:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":129498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:29:15] local.INFO: GPS data processed {"connection_id":129498,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:29:15] local.INFO: Acknowledgment sent {"connection_id":129498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:29:40] local.INFO: TCP Data received {"connection_id":130733,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d433c0012d7be74005dc26f0000501650d..."} 
[2026-07-11 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d433c0012d7be74005dc26f0000501650d..."} 
[2026-07-11 16:29:40] local.INFO: Processing buffer {"connection_id":130733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d433c0012d7be74005dc26f0000501650d..."} 
[2026-07-11 16:29:40] local.INFO: Packet analysis {"connection_id":130733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:29:40] local.INFO: Extracted packet for processing {"connection_id":130733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763094848,"raw_latitude":98313968,"longitude_deg":76.3094848,"latitude_deg":9.8313968,"altitude":5,"angle":357,"satellites":13,"speed":54,"hex_longitude":"2d7be740","hex_latitude":"05dc26f0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644481280001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105022889668902912,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392660502528,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783767512000,"timestamp_ms":1783767512000,"timestamp_seconds":1783767512,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d433c0"} 
[2026-07-11 16:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-11 16:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644481280001,"66":13515,"168":206,"85":15104,"24":54,"16":105022889668902912,"45":8928597392660502528},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 16:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644481280001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:29:40] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 16:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105022889668902912,"km_value":105022889668902.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392660502528,"description":"Unknown IO ID 45"} 
[2026-07-11 16:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644481280001,"power":13515,"unknown_168":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8928597392660502528}} 
[2026-07-11 16:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":130733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:29:40] local.INFO: GPS data processed {"connection_id":130733,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:29:40] local.INFO: Acknowledgment sent {"connection_id":130733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:29:40] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:29:40] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:29:40] local.INFO: Packet analysis {"connection_id":130732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:29:40] local.INFO: Extracted packet for processing {"connection_id":130732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 16:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:29:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":130732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:29:41] local.INFO: GPS data processed {"connection_id":130732,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:29:41] local.INFO: Acknowledgment sent {"connection_id":130732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:29:59] local.INFO: TCP Data received {"connection_id":128601,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:59] local.INFO: Processing buffer {"connection_id":128601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:29:59] local.INFO: IMEI packet received {"connection_id":128601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":128601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:30:04] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:30:04] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:30:04] local.INFO: IMEI packet received {"connection_id":130734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":130734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:30:04] local.INFO: TCP Data received {"connection_id":128790,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:30:04] local.INFO: Processing buffer {"connection_id":128790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:30:04] local.INFO: IMEI packet received {"connection_id":128790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":128790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:30:05] local.INFO: TCP Data received {"connection_id":128601,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:30:05] local.INFO: Processing buffer {"connection_id":128601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:30:05] local.INFO: IMEI packet received {"connection_id":128601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":128601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:30:06] local.INFO: TCP Data received {"connection_id":128601,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d46e58012d1823000721b660004c012a2e..."} 
[2026-07-11 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d46e58012d1823000721b660004c012a2e..."} 
[2026-07-11 16:30:06] local.INFO: Processing buffer {"connection_id":128601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d46e58012d1823000721b660004c012a2e..."} 
[2026-07-11 16:30:06] local.INFO: Packet analysis {"connection_id":128601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:30:06] local.INFO: Extracted packet for processing {"connection_id":128601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649888,"longitude_deg":75.6556544,"latitude_deg":11.9649888,"altitude":76,"angle":298,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b660","is_valid_coordinates":true} 
[2026-07-11 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644481536001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749445085888512,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725514752,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767527000,"timestamp_ms":1783767527000,"timestamp_seconds":1783767527,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d46e58"} 
[2026-07-11 16:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 16:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644481536001,"66":12841,"120":206,"28":31744,"24":0,"16":5749445085888512,"45":1739233911725514752},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644481536001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:30:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749445085888512,"km_value":5749445085888.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725514752,"description":"Unknown IO ID 45"} 
[2026-07-11 16:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644481536001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725514752}} 
[2026-07-11 16:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":128601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:30:06] local.INFO: GPS data processed {"connection_id":128601,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:30:06] local.INFO: Acknowledgment sent {"connection_id":128601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:30:08] local.INFO: TCP Data received {"connection_id":128790,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:30:08] local.INFO: Processing buffer {"connection_id":128790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:30:08] local.INFO: IMEI packet received {"connection_id":128790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":128790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:30:09] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:30:09] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:30:09] local.INFO: IMEI packet received {"connection_id":130734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":130734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:30:09] local.INFO: TCP Data received {"connection_id":128790,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d44f18012d7be60005dc4c60000601670d..."} 
[2026-07-11 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d44f18012d7be60005dc4c60000601670d..."} 
[2026-07-11 16:30:09] local.INFO: Processing buffer {"connection_id":128790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d44f18012d7be60005dc4c60000601670d..."} 
[2026-07-11 16:30:09] local.INFO: Packet analysis {"connection_id":128790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:30:09] local.INFO: Extracted packet for processing {"connection_id":128790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763094528,"raw_latitude":98323552,"longitude_deg":76.3094528,"latitude_deg":9.8323552,"altitude":6,"angle":359,"satellites":13,"speed":54,"hex_longitude":"2d7be600","hex_latitude":"05dc4c60","is_valid_coordinates":true} 
[2026-07-11 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644483072001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105023353525370880,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928175180197851136,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783767519000,"timestamp_ms":1783767519000,"timestamp_seconds":1783767519,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d44f18"} 
[2026-07-11 16:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-11 16:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644483072001,"66":13374,"168":206,"85":15104,"24":54,"16":105023353525370880,"45":8928175180197851136},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 16:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644483072001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:30:09] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 16:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105023353525370880,"km_value":105023353525370.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928175180197851136,"description":"Unknown IO ID 45"} 
[2026-07-11 16:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644483072001,"power":13374,"unknown_168":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8928175180197851136}} 
[2026-07-11 16:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":128790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:30:09] local.INFO: GPS data processed {"connection_id":128790,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:30:09] local.INFO: Acknowledgment sent {"connection_id":128790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:30:10] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:30:10] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d0b538012cb2998007821ea8004600ef30..."} 
[2026-07-11 16:30:10] local.INFO: Packet analysis {"connection_id":130734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:30:10] local.INFO: Extracted packet for processing {"connection_id":130734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d0"} 
[2026-07-11 16:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644347392001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767283000,"timestamp_ms":1783767283000,"timestamp_seconds":1783767283,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d0b538"} 
[2026-07-11 16:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:30: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-07-11 16:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644347392001,"66":25702,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644347392001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:30:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644347392001,"power":25702,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":130734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:30:10] local.INFO: GPS data processed {"connection_id":130734,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:30:10] local.INFO: Acknowledgment sent {"connection_id":130734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:30:10] local.INFO: TCP Data received {"connection_id":128601,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d4c060012d1823000721b660004c012a2d..."} 
[2026-07-11 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d4c060012d1823000721b660004c012a2d..."} 
[2026-07-11 16:30:10] local.INFO: Processing buffer {"connection_id":128601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d4c060012d1823000721b660004c012a2d..."} 
[2026-07-11 16:30:10] local.INFO: Packet analysis {"connection_id":128601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:30:10] local.INFO: Extracted packet for processing {"connection_id":128601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649888,"longitude_deg":75.6556544,"latitude_deg":11.9649888,"altitude":76,"angle":298,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b660","is_valid_coordinates":true} 
[2026-07-11 16:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644486912001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749445085888512,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725514752,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767548000,"timestamp_ms":1783767548000,"timestamp_seconds":1783767548,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d4c060"} 
[2026-07-11 16:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 16:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644486912001,"66":12776,"120":206,"28":31744,"24":0,"16":5749445085888512,"45":1739233911725514752},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644486912001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:30:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:30:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749445085888512,"km_value":5749445085888.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725514752,"description":"Unknown IO ID 45"} 
[2026-07-11 16:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644486912001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725514752}} 
[2026-07-11 16:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":128601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:30:10] local.INFO: GPS data processed {"connection_id":128601,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:30:10] local.INFO: Acknowledgment sent {"connection_id":128601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:30:40] local.INFO: TCP Data received {"connection_id":128790,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d5d1d0012d7bb74005ddff800007015f0f..."} 
[2026-07-11 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d5d1d0012d7bb74005ddff800007015f0f..."} 
[2026-07-11 16:30:40] local.INFO: Processing buffer {"connection_id":128790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d5d1d0012d7bb74005ddff800007015f0f..."} 
[2026-07-11 16:30:40] local.INFO: Packet analysis {"connection_id":128790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:30:40] local.INFO: Extracted packet for processing {"connection_id":128790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763082560,"raw_latitude":98434944,"longitude_deg":76.308256,"latitude_deg":9.8434944,"altitude":7,"angle":351,"satellites":15,"speed":36,"hex_longitude":"2d7bb740","hex_latitude":"05ddff80","is_valid_coordinates":true} 
[2026-07-11 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644507136001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105028803838869504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916705074925520896,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783767618000,"timestamp_ms":1783767618000,"timestamp_seconds":1783767618,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d5d1d0"} 
[2026-07-11 16:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 16:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644507136001,"66":13243,"185":206,"85":15104,"24":36,"16":105028803838869504,"45":8916705074925520896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-11 16:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644507136001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:30:40] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-11 16:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105028803838869504,"km_value":105028803838869.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916705074925520896,"description":"Unknown IO ID 45"} 
[2026-07-11 16:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644507136001,"power":13243,"unknown_185":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8916705074925520896}} 
[2026-07-11 16:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":128790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:30:40] local.INFO: GPS data processed {"connection_id":128790,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:30:40] local.INFO: Acknowledgment sent {"connection_id":128790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:30:40] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:30:40] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:30:40] local.INFO: Packet analysis {"connection_id":130734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:30:40] local.INFO: Extracted packet for processing {"connection_id":130734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:30: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-07-11 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:30:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":130734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:30:40] local.INFO: GPS data processed {"connection_id":130734,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:30:40] local.INFO: Acknowledgment sent {"connection_id":130734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:30:42] local.INFO: TCP Data received {"connection_id":128601,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d4dbb8012d1822800721b600004b00da2e..."} 
[2026-07-11 16:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d4dbb8012d1822800721b600004b00da2e..."} 
[2026-07-11 16:30:42] local.INFO: Processing buffer {"connection_id":128601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d4dbb8012d1822800721b600004b00da2e..."} 
[2026-07-11 16:30:42] local.INFO: Packet analysis {"connection_id":128601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:30:42] local.INFO: Extracted packet for processing {"connection_id":128601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d4"} 
[2026-07-11 16:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649792,"longitude_deg":75.6556416,"latitude_deg":11.9649792,"altitude":75,"angle":218,"satellites":46,"speed":2,"hex_longitude":"2d182280","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-07-11 16:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644492288001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749453675823104,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725514752,"note":"Value kept but may cause issues"} 
[2026-07-11 16:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783767555000,"timestamp_ms":1783767555000,"timestamp_seconds":1783767555,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d4dbb8"} 
[2026-07-11 16:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644492288001,"66":12776,"120":206,"28":31744,"24":2,"16":5749453675823104,"45":1739233911725514752},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644492288001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:30:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:30:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749453675823104,"km_value":5749453675823.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725514752,"description":"Unknown IO ID 45"} 
[2026-07-11 16:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644492288001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739233911725514752}} 
[2026-07-11 16:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":128601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:30:42] local.INFO: GPS data processed {"connection_id":128601,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:30:42] local.INFO: Acknowledgment sent {"connection_id":128601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:30:56] local.INFO: TCP Data received {"connection_id":129500,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:30:56] local.INFO: Processing buffer {"connection_id":129500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:30:56] local.INFO: IMEI packet received {"connection_id":129500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":129500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:30:59] local.INFO: TCP Data received {"connection_id":129500,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:30:59] local.INFO: Processing buffer {"connection_id":129500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:30:59] local.INFO: IMEI packet received {"connection_id":129500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":129500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:31:02] local.INFO: TCP Data received {"connection_id":128791,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:31:02] local.INFO: Processing buffer {"connection_id":128791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:31:02] local.INFO: IMEI packet received {"connection_id":128791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":128791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:31:03] local.INFO: TCP Data received {"connection_id":130735,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:31:03] local.INFO: Processing buffer {"connection_id":130735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:31:03] local.INFO: IMEI packet received {"connection_id":130735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":130735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:31:05] local.INFO: TCP Data received {"connection_id":129500,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:31:05] local.INFO: Processing buffer {"connection_id":129500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:31:05] local.INFO: IMEI packet received {"connection_id":129500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":129500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:31:06] local.INFO: TCP Data received {"connection_id":129500,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d52dc0012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d52dc0012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:31:06] local.INFO: Processing buffer {"connection_id":129500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d52dc0012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:31:06] local.INFO: Packet analysis {"connection_id":129500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:06] local.INFO: Extracted packet for processing {"connection_id":129500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644494080001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237134848,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767576000,"timestamp_ms":1783767576000,"timestamp_seconds":1783767576,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d52dc0"} 
[2026-07-11 16:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644494080001,"66":12722,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739093174237134848},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644494080001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:31:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237134848,"description":"Unknown IO ID 45"} 
[2026-07-11 16:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644494080001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237134848}} 
[2026-07-11 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":129500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:31:06] local.INFO: GPS data processed {"connection_id":129500,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:31:06] local.INFO: Acknowledgment sent {"connection_id":129500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:31:08] local.INFO: TCP Data received {"connection_id":128791,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:31:08] local.INFO: Processing buffer {"connection_id":128791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:31:08] local.INFO: IMEI packet received {"connection_id":128791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":128791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:31:09] local.INFO: TCP Data received {"connection_id":128791,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d5f4f8012d7bb10005de24c80007015e0d..."} 
[2026-07-11 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d5f4f8012d7bb10005de24c80007015e0d..."} 
[2026-07-11 16:31:09] local.INFO: Processing buffer {"connection_id":128791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d5f4f8012d7bb10005de24c80007015e0d..."} 
[2026-07-11 16:31:09] local.INFO: Packet analysis {"connection_id":128791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:09] local.INFO: Extracted packet for processing {"connection_id":128791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763080960,"raw_latitude":98444488,"longitude_deg":76.308096,"latitude_deg":9.8444488,"altitude":7,"angle":350,"satellites":13,"speed":43,"hex_longitude":"2d7bb100","hex_latitude":"05de24c8","is_valid_coordinates":true} 
[2026-07-11 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644510208001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105029271990304768,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914664381346709504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783767627000,"timestamp_ms":1783767627000,"timestamp_seconds":1783767627,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d5f4f8"} 
[2026-07-11 16:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 16:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644510208001,"66":13102,"185":206,"85":15104,"24":43,"16":105029271990304768,"45":8914664381346709504},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-11 16:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644510208001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:31:09] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-11 16:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105029271990304768,"km_value":105029271990304.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914664381346709504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644510208001,"power":13102,"unknown_185":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8914664381346709504}} 
[2026-07-11 16:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":128791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:31:09] local.INFO: GPS data processed {"connection_id":128791,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:31:09] local.INFO: Acknowledgment sent {"connection_id":128791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:31:09] local.INFO: TCP Data received {"connection_id":130735,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:31:09] local.INFO: Processing buffer {"connection_id":130735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:31:09] local.INFO: IMEI packet received {"connection_id":130735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":130735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:31:10] local.INFO: TCP Data received {"connection_id":130735,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:31:10] local.INFO: Processing buffer {"connection_id":130735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:31:10] local.INFO: Packet analysis {"connection_id":130735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:10] local.INFO: Extracted packet for processing {"connection_id":130735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:31: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-07-11 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:31:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":130735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:31:10] local.INFO: GPS data processed {"connection_id":130735,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:31:10] local.INFO: Acknowledgment sent {"connection_id":130735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:31:37] local.INFO: TCP Data received {"connection_id":129500,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d57fc8012d1822400721b5a0004b00d32b..."} 
[2026-07-11 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d57fc8012d1822400721b5a0004b00d32b..."} 
[2026-07-11 16:31:37] local.INFO: Processing buffer {"connection_id":129500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d57fc8012d1822400721b5a0004b00d32b..."} 
[2026-07-11 16:31:37] local.INFO: Packet analysis {"connection_id":129500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:37] local.INFO: Extracted packet for processing {"connection_id":129500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644499456001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783767597000,"timestamp_ms":1783767597000,"timestamp_seconds":1783767597,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d57fc8"} 
[2026-07-11 16:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 16:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644499456001,"66":12776,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644499456001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:31:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644499456001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":129500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:31:37] local.INFO: GPS data processed {"connection_id":129500,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:31:37] local.INFO: Acknowledgment sent {"connection_id":129500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:31:39] local.INFO: TCP Data received {"connection_id":128791,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d61820012d7ba94005de48100004015b0e..."} 
[2026-07-11 16:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d61820012d7ba94005de48100004015b0e..."} 
[2026-07-11 16:31:39] local.INFO: Processing buffer {"connection_id":128791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d61820012d7ba94005de48100004015b0e..."} 
[2026-07-11 16:31:39] local.INFO: Packet analysis {"connection_id":128791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:31:39] local.INFO: Extracted packet for processing {"connection_id":128791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763078976,"raw_latitude":98453520,"longitude_deg":76.3078976,"latitude_deg":9.845352,"altitude":4,"angle":347,"satellites":14,"speed":39,"hex_longitude":"2d7ba940","hex_latitude":"05de4810","is_valid_coordinates":true} 
[2026-07-11 16:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644512512001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105029718666903552,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912905162744711168,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783767636000,"timestamp_ms":1783767636000,"timestamp_seconds":1783767636,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d61820"} 
[2026-07-11 16:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 16:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644512512001,"66":13222,"50":206,"85":15104,"24":39,"16":105029718666903552,"45":8912905162744711168},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-11 16:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644512512001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:31:39] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 16:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105029718666903552,"km_value":105029718666903.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912905162744711168,"description":"Unknown IO ID 45"} 
[2026-07-11 16:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644512512001,"power":13222,"unknown_50":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8912905162744711168}} 
[2026-07-11 16:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":128791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:31:39] local.INFO: GPS data processed {"connection_id":128791,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:31:39] local.INFO: Acknowledgment sent {"connection_id":128791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:31:41] local.INFO: TCP Data received {"connection_id":130735,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:31:41] local.INFO: Processing buffer {"connection_id":130735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:31:41] local.INFO: Packet analysis {"connection_id":130735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:41] local.INFO: Extracted packet for processing {"connection_id":130735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:31: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-07-11 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:31:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":130735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:31:41] local.INFO: GPS data processed {"connection_id":130735,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:31:41] local.INFO: Acknowledgment sent {"connection_id":130735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:32:00] local.INFO: TCP Data received {"connection_id":128792,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:32:00] local.INFO: Processing buffer {"connection_id":128792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:32:00] local.INFO: IMEI packet received {"connection_id":128792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":128792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:32:00] local.INFO: TCP Data received {"connection_id":128792,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:32:00] local.INFO: Processing buffer {"connection_id":128792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:32:00] local.INFO: IMEI packet received {"connection_id":128792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":128792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:32:03] local.INFO: TCP Data received {"connection_id":128793,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:32:03] local.INFO: Processing buffer {"connection_id":128793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:32:03] local.INFO: IMEI packet received {"connection_id":128793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":128793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:32:05] local.INFO: TCP Data received {"connection_id":128792,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:32:05] local.INFO: Processing buffer {"connection_id":128792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:32:05] local.INFO: IMEI packet received {"connection_id":128792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":128792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:32:06] local.INFO: TCP Data received {"connection_id":128792,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d5d1d0012d1822400721b5a0004b00d32b..."} 
[2026-07-11 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d5d1d0012d1822400721b5a0004b00d32b..."} 
[2026-07-11 16:32:06] local.INFO: Processing buffer {"connection_id":128792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d5d1d0012d1822400721b5a0004b00d32b..."} 
[2026-07-11 16:32:06] local.INFO: Packet analysis {"connection_id":128792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:32:06] local.INFO: Extracted packet for processing {"connection_id":128792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644504832001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767618000,"timestamp_ms":1783767618000,"timestamp_seconds":1783767618,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d5d1d0"} 
[2026-07-11 16:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644504832001,"66":11950,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644504832001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:32:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:32:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644504832001,"power":11950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":128792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:32:06] local.INFO: GPS data processed {"connection_id":128792,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:32:06] local.INFO: Acknowledgment sent {"connection_id":128792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:32:08] local.INFO: TCP Data received {"connection_id":128793,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:32:08] local.INFO: Processing buffer {"connection_id":128793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:32:08] local.INFO: IMEI packet received {"connection_id":128793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":128793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:32:08] local.INFO: TCP Data received {"connection_id":128793,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d66a28012d7ba34005de60680000015d0d..."} 
[2026-07-11 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d66a28012d7ba34005de60680000015d0d..."} 
[2026-07-11 16:32:08] local.INFO: Processing buffer {"connection_id":128793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d66a28012d7ba34005de60680000015d0d..."} 
[2026-07-11 16:32:08] local.INFO: Packet analysis {"connection_id":128793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:32:08] local.INFO: Extracted packet for processing {"connection_id":128793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763077440,"raw_latitude":98459752,"longitude_deg":76.307744,"latitude_deg":9.8459752,"altitude":0,"angle":349,"satellites":13,"speed":0,"hex_longitude":"2d7ba340","hex_latitude":"05de6068","is_valid_coordinates":true} 
[2026-07-11 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644514816001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105030049379385344,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910723731677515776,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783767657000,"timestamp_ms":1783767657000,"timestamp_seconds":1783767657,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d66a28"} 
[2026-07-11 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 16:32:08] 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-07-11 16:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644514816001,"66":13015,"50":206,"85":15104,"24":0,"16":105030049379385344,"45":8910723731677515776},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-11 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644514816001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:32:08] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 16:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105030049379385344,"km_value":105030049379385.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910723731677515776,"description":"Unknown IO ID 45"} 
[2026-07-11 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644514816001,"power":13015,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8910723731677515776}} 
[2026-07-11 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":128793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:32:08] local.INFO: GPS data processed {"connection_id":128793,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:32:08] local.INFO: Acknowledgment sent {"connection_id":128793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:32:09] local.INFO: TCP Data received {"connection_id":128603,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:32:09] local.INFO: Processing buffer {"connection_id":128603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:32:09] local.INFO: IMEI packet received {"connection_id":128603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":128603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:32:14] local.INFO: TCP Data received {"connection_id":128603,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:32:14] local.INFO: Processing buffer {"connection_id":128603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:32:14] local.INFO: IMEI packet received {"connection_id":128603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":128603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:32:15] local.INFO: TCP Data received {"connection_id":128603,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:32:15] local.INFO: Processing buffer {"connection_id":128603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:32:15] local.INFO: Packet analysis {"connection_id":128603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:32:15] local.INFO: Extracted packet for processing {"connection_id":128603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:32:15] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:32:15] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:32:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":128603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:32:15] local.INFO: GPS data processed {"connection_id":128603,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:32:15] local.INFO: Acknowledgment sent {"connection_id":128603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:32:19] local.INFO: TCP Data received {"connection_id":128603,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:32:19] local.INFO: Processing buffer {"connection_id":128603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:32:19] local.INFO: Packet analysis {"connection_id":128603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:32:19] local.INFO: Extracted packet for processing {"connection_id":128603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:32:19] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:32:19] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":128603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:32:19] local.INFO: GPS data processed {"connection_id":128603,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:32:19] local.INFO: Acknowledgment sent {"connection_id":128603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:32:37] local.INFO: TCP Data received {"connection_id":128792,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d623d8012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d623d8012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:32:37] local.INFO: Processing buffer {"connection_id":128792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d623d8012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:32:37] local.INFO: Packet analysis {"connection_id":128792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:32:37] local.INFO: Extracted packet for processing {"connection_id":128792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644510208001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783767639000,"timestamp_ms":1783767639000,"timestamp_seconds":1783767639,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d623d8"} 
[2026-07-11 16:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 16:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644510208001,"66":12743,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644510208001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:32:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644510208001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":128792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:32:37] local.INFO: GPS data processed {"connection_id":128792,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:32:37] local.INFO: Acknowledgment sent {"connection_id":128792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:32:39] local.INFO: TCP Data received {"connection_id":128793,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d69520012d7ba3c005de63000000000010..."} 
[2026-07-11 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d69520012d7ba3c005de63000000000010..."} 
[2026-07-11 16:32:39] local.INFO: Processing buffer {"connection_id":128793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d69520012d7ba3c005de63000000000010..."} 
[2026-07-11 16:32:39] local.INFO: Packet analysis {"connection_id":128793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:32:39] local.INFO: Extracted packet for processing {"connection_id":128793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763077568,"raw_latitude":98460416,"longitude_deg":76.3077568,"latitude_deg":9.8460416,"altitude":0,"angle":0,"satellites":16,"speed":4,"hex_longitude":"2d7ba3c0","hex_latitude":"05de6300","is_valid_coordinates":true} 
[2026-07-11 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644520192001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105030088034091008,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909034881818847232,"note":"Value kept but may cause issues"} 
[2026-07-11 16:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783767668000,"timestamp_ms":1783767668000,"timestamp_seconds":1783767668,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d69520"} 
[2026-07-11 16:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 16:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644520192001,"66":13276,"50":206,"85":15104,"24":4,"16":105030088034091008,"45":8909034881818847232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-11 16:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644520192001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:32:39] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 16:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105030088034091008,"km_value":105030088034091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909034881818847232,"description":"Unknown IO ID 45"} 
[2026-07-11 16:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644520192001,"power":13276,"unknown_50":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8909034881818847232}} 
[2026-07-11 16:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":128793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:32:39] local.INFO: GPS data processed {"connection_id":128793,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:32:39] local.INFO: Acknowledgment sent {"connection_id":128793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:33:03] local.INFO: TCP Data received {"connection_id":128794,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:33:03] local.INFO: Processing buffer {"connection_id":128794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:33:03] local.INFO: IMEI packet received {"connection_id":128794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":128794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:33:03] local.INFO: TCP Data received {"connection_id":128794,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:33:03] local.INFO: Processing buffer {"connection_id":128794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:33:03] local.INFO: IMEI packet received {"connection_id":128794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":128794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:33:04] local.INFO: TCP Data received {"connection_id":128795,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:33:04] local.INFO: Processing buffer {"connection_id":128795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:33:04] local.INFO: IMEI packet received {"connection_id":128795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":128795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:33:04] local.INFO: TCP Data received {"connection_id":128794,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d675e0012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d675e0012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:33:04] local.INFO: Processing buffer {"connection_id":128794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d675e0012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:33:04] local.INFO: Packet analysis {"connection_id":128794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:33:04] local.INFO: Extracted packet for processing {"connection_id":128794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644515584001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783767660000,"timestamp_ms":1783767660000,"timestamp_seconds":1783767660,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d675e0"} 
[2026-07-11 16:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 16:33:04] 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-07-11 16: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-07-11 16:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":128794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":128794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":128794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644515584001,"66":12689,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644515584001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:33:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644515584001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":128794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:33:04] local.INFO: GPS data processed {"connection_id":128794,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:33:04] local.INFO: Acknowledgment sent {"connection_id":128794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:33:06] local.INFO: TCP Data received {"connection_id":128794,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d6c7e8012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d6c7e8012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:33:06] local.INFO: Processing buffer {"connection_id":128794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d6c7e8012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:33:06] local.INFO: Packet analysis {"connection_id":128794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:33:06] local.INFO: Extracted packet for processing {"connection_id":128794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d6"} 
[2026-07-11 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644520960001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767681000,"timestamp_ms":1783767681000,"timestamp_seconds":1783767681,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d6c7e8"} 
[2026-07-11 16:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 16:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644520960001,"66":12722,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644520960001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:33:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644520960001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":128794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:33:06] local.INFO: GPS data processed {"connection_id":128794,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:33:06] local.INFO: Acknowledgment sent {"connection_id":128794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:33:07] local.INFO: TCP Data received {"connection_id":128796,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:33:07] local.INFO: Processing buffer {"connection_id":128796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:33:07] local.INFO: IMEI packet received {"connection_id":128796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":128796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:33:09] local.INFO: TCP Data received {"connection_id":128795,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:33:09] local.INFO: Processing buffer {"connection_id":128795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:33:09] local.INFO: IMEI packet received {"connection_id":128795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":128795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:33:10] local.INFO: TCP Data received {"connection_id":128795,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:33:10] local.INFO: Processing buffer {"connection_id":128795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:33:10] local.INFO: Packet analysis {"connection_id":128795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:33:10] local.INFO: Extracted packet for processing {"connection_id":128795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:33: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-07-11 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:33:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":128795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:33:10] local.INFO: GPS data processed {"connection_id":128795,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:33:10] local.INFO: Acknowledgment sent {"connection_id":128795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:33:10] local.INFO: TCP Data received {"connection_id":128796,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:33:10] local.INFO: Processing buffer {"connection_id":128796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:33:10] local.INFO: IMEI packet received {"connection_id":128796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":128796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:33:11] local.INFO: TCP Data received {"connection_id":128796,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d7f0c8012d7b7c4005dfe268000d015e0d..."} 
[2026-07-11 16:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d7f0c8012d7b7c4005dfe268000d015e0d..."} 
[2026-07-11 16:33:11] local.INFO: Processing buffer {"connection_id":128796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d7f0c8012d7b7c4005dfe268000d015e0d..."} 
[2026-07-11 16:33:11] local.INFO: Packet analysis {"connection_id":128796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d7"} 
[2026-07-11 16:33:11] local.INFO: Extracted packet for processing {"connection_id":128796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d7"} 
[2026-07-11 16:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763067456,"raw_latitude":98558568,"longitude_deg":76.3067456,"latitude_deg":9.8558568,"altitude":13,"angle":350,"satellites":13,"speed":51,"hex_longitude":"2d7b7c40","hex_latitude":"05dfe268","is_valid_coordinates":true} 
[2026-07-11 16:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644544000001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105034876922626048,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899535101377855488,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783767757000,"timestamp_ms":1783767757000,"timestamp_seconds":1783767757,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d7f0c8"} 
[2026-07-11 16:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-11 16:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644544000001,"66":13559,"49":206,"85":15104,"24":51,"16":105034876922626048,"45":8899535101377855488},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-11 16:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644544000001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:33:11] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 16:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105034876922626048,"km_value":105034876922626.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899535101377855488,"description":"Unknown IO ID 45"} 
[2026-07-11 16:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644544000001,"power":13559,"unknown_49":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8899535101377855488}} 
[2026-07-11 16:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":128796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:33:11] local.INFO: GPS data processed {"connection_id":128796,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:33:11] local.INFO: Acknowledgment sent {"connection_id":128796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:33:13] local.INFO: TCP Data received {"connection_id":128796,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d81008012d7b764005e00898000d015e10..."} 
[2026-07-11 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d81008012d7b764005e00898000d015e10..."} 
[2026-07-11 16:33:13] local.INFO: Processing buffer {"connection_id":128796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d81008012d7b764005e00898000d015e10..."} 
[2026-07-11 16:33:13] local.INFO: Packet analysis {"connection_id":128796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:33:13] local.INFO: Extracted packet for processing {"connection_id":128796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":98568344,"longitude_deg":76.306592,"latitude_deg":9.8568344,"altitude":13,"angle":350,"satellites":16,"speed":48,"hex_longitude":"2d7b7640","hex_latitude":"05e00898","is_valid_coordinates":true} 
[2026-07-11 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644545792001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105035357958963200,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898057357752428544,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783767765000,"timestamp_ms":1783767765000,"timestamp_seconds":1783767765,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d81008"} 
[2026-07-11 16:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-11 16:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644545792001,"66":13374,"49":206,"85":15104,"24":48,"16":105035357958963200,"45":8898057357752428544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-11 16:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644545792001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:33:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 16:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105035357958963200,"km_value":105035357958963.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898057357752428544,"description":"Unknown IO ID 45"} 
[2026-07-11 16:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644545792001,"power":13374,"unknown_49":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8898057357752428544}} 
[2026-07-11 16:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":128796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:33:13] local.INFO: GPS data processed {"connection_id":128796,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:33:13] local.INFO: Acknowledgment sent {"connection_id":128796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:33:37] local.INFO: TCP Data received {"connection_id":128794,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d719f0012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d719f0012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:33:37] local.INFO: Processing buffer {"connection_id":128794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d719f0012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:33:37] local.INFO: Packet analysis {"connection_id":128794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d7"} 
[2026-07-11 16:33:37] local.INFO: Extracted packet for processing {"connection_id":128794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d7"} 
[2026-07-11 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644526336001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783767702000,"timestamp_ms":1783767702000,"timestamp_seconds":1783767702,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d719f0"} 
[2026-07-11 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 16:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644526336001,"66":12722,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644526336001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:33:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644526336001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":128794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:33:37] local.INFO: GPS data processed {"connection_id":128794,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:33:37] local.INFO: Acknowledgment sent {"connection_id":128794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:33:41] local.INFO: TCP Data received {"connection_id":128795,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:33:41] local.INFO: Processing buffer {"connection_id":128795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:33:41] local.INFO: Packet analysis {"connection_id":128795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:33:41] local.INFO: Extracted packet for processing {"connection_id":128795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:33:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:33: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-07-11 16:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:33:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":128795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:33:41] local.INFO: GPS data processed {"connection_id":128795,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:33:41] local.INFO: Acknowledgment sent {"connection_id":128795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:33:45] local.INFO: TCP Data received {"connection_id":128796,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d82f48012d7b718005e02f38000d01610f..."} 
[2026-07-11 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d82f48012d7b718005e02f38000d01610f..."} 
[2026-07-11 16:33:45] local.INFO: Processing buffer {"connection_id":128796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d82f48012d7b718005e02f38000d01610f..."} 
[2026-07-11 16:33:45] local.INFO: Packet analysis {"connection_id":128796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:33:45] local.INFO: Extracted packet for processing {"connection_id":128796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763064704,"raw_latitude":98578232,"longitude_deg":76.3064704,"latitude_deg":9.8578232,"altitude":13,"angle":353,"satellites":15,"speed":52,"hex_longitude":"2d7b7180","hex_latitude":"05e02f38","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644547840001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105035838995300352,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368507894667264,"note":"Value kept but may cause issues"} 
[2026-07-11 16:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783767773000,"timestamp_ms":1783767773000,"timestamp_seconds":1783767773,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d82f48"} 
[2026-07-11 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-07-11 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 16:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644547840001,"66":13243,"49":206,"85":15104,"24":52,"16":105035838995300352,"45":8896368507894667264},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-11 16:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644547840001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:33:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 16:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105035838995300352,"km_value":105035838995300.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368507894667264,"description":"Unknown IO ID 45"} 
[2026-07-11 16:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644547840001,"power":13243,"unknown_49":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8896368507894667264}} 
[2026-07-11 16:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":128796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:33:45] local.INFO: GPS data processed {"connection_id":128796,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:33:45] local.INFO: Acknowledgment sent {"connection_id":128796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:33:59] local.INFO: TCP Data received {"connection_id":129501,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:33:59] local.INFO: Processing buffer {"connection_id":129501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:33:59] local.INFO: IMEI packet received {"connection_id":129501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":129501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:34:03] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:34:03] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:34:03] local.INFO: IMEI packet received {"connection_id":130737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":130737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:34:04] local.INFO: TCP Data received {"connection_id":130738,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:34:04] local.INFO: Processing buffer {"connection_id":130738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:34:04] local.INFO: IMEI packet received {"connection_id":130738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":130738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:34:05] local.INFO: TCP Data received {"connection_id":129501,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:34:05] local.INFO: Processing buffer {"connection_id":129501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:34:05] local.INFO: IMEI packet received {"connection_id":129501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":129501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:34:06] local.INFO: TCP Data received {"connection_id":129501,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d76bf8012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d76bf8012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:34:06] local.INFO: Processing buffer {"connection_id":129501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d76bf8012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:34:06] local.INFO: Packet analysis {"connection_id":129501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d7"} 
[2026-07-11 16:34:06] local.INFO: Extracted packet for processing {"connection_id":129501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d7"} 
[2026-07-11 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644531712001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767723000,"timestamp_ms":1783767723000,"timestamp_seconds":1783767723,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d76bf8"} 
[2026-07-11 16:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 16:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644531712001,"66":12722,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644531712001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:34:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:34:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644531712001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":129501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:34:06] local.INFO: GPS data processed {"connection_id":129501,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:34:06] local.INFO: Acknowledgment sent {"connection_id":129501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:34:08] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:34:08] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:34:08] local.INFO: IMEI packet received {"connection_id":130737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":130737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:34:08] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d84aa0012d7b6d0005e05220000d016110..."} 
[2026-07-11 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d84aa0012d7b6d0005e05220000d016110..."} 
[2026-07-11 16:34:08] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d84aa0012d7b6d0005e05220000d016110..."} 
[2026-07-11 16:34:08] local.INFO: Packet analysis {"connection_id":130737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:34:08] local.INFO: Extracted packet for processing {"connection_id":130737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763063552,"raw_latitude":98587168,"longitude_deg":76.3063552,"latitude_deg":9.8587168,"altitude":13,"angle":353,"satellites":16,"speed":49,"hex_longitude":"2d7b6d00","hex_latitude":"05e05220","is_valid_coordinates":true} 
[2026-07-11 16:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644549888001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105036277081964544,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895031501757822976,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783767780000,"timestamp_ms":1783767780000,"timestamp_seconds":1783767780,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d84aa0"} 
[2026-07-11 16:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 16:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644549888001,"66":13363,"49":206,"85":15104,"24":49,"16":105036277081964544,"45":8895031501757822976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-11 16:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644549888001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:34:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 16:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105036277081964544,"km_value":105036277081964.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895031501757822976,"description":"Unknown IO ID 45"} 
[2026-07-11 16:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644549888001,"power":13363,"unknown_49":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8895031501757822976}} 
[2026-07-11 16:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":130737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:34:09] local.INFO: GPS data processed {"connection_id":130737,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:34:09] local.INFO: Acknowledgment sent {"connection_id":130737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:34:09] local.INFO: TCP Data received {"connection_id":130738,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:34:09] local.INFO: Processing buffer {"connection_id":130738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:34:09] local.INFO: IMEI packet received {"connection_id":130738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":130738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:34:10] local.INFO: TCP Data received {"connection_id":130738,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:34:10] local.INFO: Processing buffer {"connection_id":130738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:34:10] local.INFO: Packet analysis {"connection_id":130738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:34:10] local.INFO: Extracted packet for processing {"connection_id":130738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:34: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-07-11 16:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:34:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":130738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:34:10] local.INFO: GPS data processed {"connection_id":130738,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:34:10] local.INFO: Acknowledgment sent {"connection_id":130738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:34:15] local.INFO: TCP Data received {"connection_id":128605,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:34:15] local.INFO: Processing buffer {"connection_id":128605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:34:15] local.INFO: IMEI packet received {"connection_id":128605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":128605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:34:37] local.INFO: TCP Data received {"connection_id":129501,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d7be00012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d7be00012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:34:37] local.INFO: Processing buffer {"connection_id":129501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d7be00012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:34:37] local.INFO: Packet analysis {"connection_id":129501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d7"} 
[2026-07-11 16:34:37] local.INFO: Extracted packet for processing {"connection_id":129501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d7"} 
[2026-07-11 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644537088001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783767744000,"timestamp_ms":1783767744000,"timestamp_seconds":1783767744,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d7be00"} 
[2026-07-11 16:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 16:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644537088001,"66":12645,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644537088001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:34:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644537088001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":129501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:34:37] local.INFO: GPS data processed {"connection_id":129501,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:34:37] local.INFO: Acknowledgment sent {"connection_id":129501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:34:39] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d869e0012d7b67c005e07818000d01610f..."} 
[2026-07-11 16:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d869e0012d7b67c005e07818000d01610f..."} 
[2026-07-11 16:34:39] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d869e0012d7b67c005e07818000d01610f..."} 
[2026-07-11 16:34:39] local.INFO: Packet analysis {"connection_id":130737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:34:39] local.INFO: Extracted packet for processing {"connection_id":130737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98596888,"longitude_deg":76.3062208,"latitude_deg":9.8596888,"altitude":13,"angle":353,"satellites":15,"speed":48,"hex_longitude":"2d7b67c0","hex_latitude":"05e07818","is_valid_coordinates":true} 
[2026-07-11 16:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644551680001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105036753823334400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893764864364912640,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783767788000,"timestamp_ms":1783767788000,"timestamp_seconds":1783767788,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d869e0"} 
[2026-07-11 16:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 16:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644551680001,"66":13330,"49":206,"85":15104,"24":48,"16":105036753823334400,"45":8893764864364912640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-11 16:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644551680001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:34:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 16:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105036753823334400,"km_value":105036753823334.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893764864364912640,"description":"Unknown IO ID 45"} 
[2026-07-11 16:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644551680001,"power":13330,"unknown_49":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8893764864364912640}} 
[2026-07-11 16:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":130737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:34:40] local.INFO: GPS data processed {"connection_id":130737,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:34:40] local.INFO: Acknowledgment sent {"connection_id":130737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:34:41] local.INFO: TCP Data received {"connection_id":130738,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:34:41] local.INFO: Processing buffer {"connection_id":130738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:34:41] local.INFO: Packet analysis {"connection_id":130738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:34:41] local.INFO: Extracted packet for processing {"connection_id":130738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:34: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-07-11 16:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:34:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":130738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:34:41] local.INFO: GPS data processed {"connection_id":130738,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:34:41] local.INFO: Acknowledgment sent {"connection_id":130738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:34:45] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:34:45] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:34:45] local.INFO: IMEI packet received {"connection_id":130739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":130739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:34:59] local.INFO: TCP Data received {"connection_id":129502,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:34:59] local.INFO: Processing buffer {"connection_id":129502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:34:59] local.INFO: IMEI packet received {"connection_id":129502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":129502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:35:04] local.INFO: TCP Data received {"connection_id":128797,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:35:04] local.INFO: Processing buffer {"connection_id":128797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:35:04] local.INFO: IMEI packet received {"connection_id":128797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:35:04] local.INFO: TCP Data received {"connection_id":129503,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:35:04] local.INFO: Processing buffer {"connection_id":129503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:35:04] local.INFO: IMEI packet received {"connection_id":129503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":129503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:35:04] local.INFO: TCP Data received {"connection_id":129502,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:35:04] local.INFO: Processing buffer {"connection_id":129502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:35:04] local.INFO: IMEI packet received {"connection_id":129502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":129502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:35:05] local.INFO: TCP Data received {"connection_id":129502,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d81008012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d81008012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:35:05] local.INFO: Processing buffer {"connection_id":129502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d81008012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:35:05] local.INFO: Packet analysis {"connection_id":129502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:05] local.INFO: Extracted packet for processing {"connection_id":129502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644542464001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783767765000,"timestamp_ms":1783767765000,"timestamp_seconds":1783767765,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d81008"} 
[2026-07-11 16:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:35:05] 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-07-11 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 16:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644542464001,"66":12711,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644542464001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:35:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644542464001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":129502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:35:05] local.INFO: GPS data processed {"connection_id":129502,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:35:05] local.INFO: Acknowledgment sent {"connection_id":129502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:35:07] local.INFO: TCP Data received {"connection_id":128797,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:35:07] local.INFO: Processing buffer {"connection_id":128797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:35:07] local.INFO: IMEI packet received {"connection_id":128797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":128797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:35:09] local.INFO: TCP Data received {"connection_id":128797,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d88920012d7b634005e09e48000d01600f..."} 
[2026-07-11 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d88920012d7b634005e09e48000d01600f..."} 
[2026-07-11 16:35:09] local.INFO: Processing buffer {"connection_id":128797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d88920012d7b634005e09e48000d01600f..."} 
[2026-07-11 16:35:09] local.INFO: Packet analysis {"connection_id":128797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:09] local.INFO: Extracted packet for processing {"connection_id":128797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763061056,"raw_latitude":98606664,"longitude_deg":76.3061056,"latitude_deg":9.8606664,"altitude":13,"angle":352,"satellites":15,"speed":44,"hex_longitude":"2d7b6340","hex_latitude":"05e09e48","is_valid_coordinates":true} 
[2026-07-11 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644553728001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105037230564704256,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120739670016,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783767796000,"timestamp_ms":1783767796000,"timestamp_seconds":1783767796,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d88920"} 
[2026-07-11 16:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277371483615088048,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3622881281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":223,"raw_value":8277616166669716992,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805006542,"corrected_to":0} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2147868607,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3751299072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":149,"raw_value":57886199134442811,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-7570549678751875067,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3531048973315872768,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.WARNING: Large IO value detected {"io_id":55,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:09] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,49,85,24,241,157,16,42,159,74,45,82,13,10,66,41,47,128,15,64,1,240,62,227,80,223,4,113,205,51,213,129,14,239,52,2,117,5,12,149,215,44,167,55],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2805006542,"validated":0}]} 
[2026-07-11 16:35:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937136914525323264,"timestamp_seconds":937136914525323.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644553728001,"66":13341,"36":206,"85":15104,"24":44,"16":105037230564704256,"45":8892287120739670016},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-11 16:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644553728001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:35:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-11 16:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105037230564704256,"km_value":105037230564704.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120739670016,"description":"Unknown IO ID 45"} 
[2026-07-11 16:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644553728001,"power":13341,"unknown_36":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8892287120739670016}} 
[2026-07-11 16:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":128797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:35:09] local.INFO: GPS data processed {"connection_id":128797,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:35:09] local.INFO: Acknowledgment sent {"connection_id":128797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:35:09] local.INFO: TCP Data received {"connection_id":129503,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:35:09] local.INFO: Processing buffer {"connection_id":129503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:35:09] local.INFO: IMEI packet received {"connection_id":129503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":129503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:35:09] local.INFO: TCP Data received {"connection_id":129503,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:35:10] local.INFO: Processing buffer {"connection_id":129503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d54d00012cb2998007821ea8004600ef2e..."} 
[2026-07-11 16:35:10] local.INFO: Packet analysis {"connection_id":129503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:35:10] local.INFO: Extracted packet for processing {"connection_id":129503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d5"} 
[2026-07-11 16:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":70,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767584000,"timestamp_ms":1783767584000,"timestamp_seconds":1783767584,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d54d00"} 
[2026-07-11 16:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:35: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-07-11 16:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 16:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644424448001,"66":25625,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:35:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644424448001,"power":25625,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":129503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:35:10] local.INFO: GPS data processed {"connection_id":129503,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:35:10] local.INFO: Acknowledgment sent {"connection_id":129503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:35:13] local.INFO: TCP Data received {"connection_id":128797,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d8a860012d7b5e0005e0c158000d01610e..."} 
[2026-07-11 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d8a860012d7b5e0005e0c158000d01610e..."} 
[2026-07-11 16:35:13] local.INFO: Processing buffer {"connection_id":128797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d8a860012d7b5e0005e0c158000d01610e..."} 
[2026-07-11 16:35:13] local.INFO: Packet analysis {"connection_id":128797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:13] local.INFO: Extracted packet for processing {"connection_id":128797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763059712,"raw_latitude":98615640,"longitude_deg":76.3059712,"latitude_deg":9.861564,"altitude":13,"angle":353,"satellites":14,"speed":50,"hex_longitude":"2d7b5e00","hex_latitude":"05e0c158","is_valid_coordinates":true} 
[2026-07-11 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644555776001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105037672946335744,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891020483346974720,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783767804000,"timestamp_ms":1783767804000,"timestamp_seconds":1783767804,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d8a860"} 
[2026-07-11 16:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 16:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644555776001,"66":13406,"35":206,"85":15104,"24":50,"16":105037672946335744,"45":8891020483346974720},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-11 16:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644555776001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:35:13] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 16:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105037672946335744,"km_value":105037672946335.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891020483346974720,"description":"Unknown IO ID 45"} 
[2026-07-11 16:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644555776001,"power":13406,"unknown_35":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8891020483346974720}} 
[2026-07-11 16:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":128797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:35:13] local.INFO: GPS data processed {"connection_id":128797,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:35:13] local.INFO: Acknowledgment sent {"connection_id":128797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:35:37] local.INFO: TCP Data received {"connection_id":129502,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d86210012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d86210012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:35:37] local.INFO: Processing buffer {"connection_id":129502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d86210012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:35:37] local.INFO: Packet analysis {"connection_id":129502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:37] local.INFO: Extracted packet for processing {"connection_id":129502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644547840001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783767786000,"timestamp_ms":1783767786000,"timestamp_seconds":1783767786,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d86210"} 
[2026-07-11 16:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:35: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-07-11 16:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 16:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644547840001,"66":12689,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644547840001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:35:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644547840001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":129502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:35:37] local.INFO: GPS data processed {"connection_id":129502,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:35:37] local.INFO: Acknowledgment sent {"connection_id":129502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:35:40] local.INFO: TCP Data received {"connection_id":129503,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:35:40] local.INFO: Processing buffer {"connection_id":129503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:35:40] local.INFO: Packet analysis {"connection_id":129503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:35:40] local.INFO: Extracted packet for processing {"connection_id":129503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:35:40] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:35: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-07-11 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:35:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":129503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:35:40] local.INFO: GPS data processed {"connection_id":129503,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:35:40] local.INFO: Acknowledgment sent {"connection_id":129503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:35:44] local.INFO: TCP Data received {"connection_id":128797,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d8c3b8012d7b58c005e0e458000d016110..."} 
[2026-07-11 16:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d8c3b8012d7b58c005e0e458000d016110..."} 
[2026-07-11 16:35:44] local.INFO: Processing buffer {"connection_id":128797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d8c3b8012d7b58c005e0e458000d016110..."} 
[2026-07-11 16:35:44] local.INFO: Packet analysis {"connection_id":128797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:44] local.INFO: Extracted packet for processing {"connection_id":128797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98624600,"longitude_deg":76.3058368,"latitude_deg":9.86246,"altitude":13,"angle":353,"satellites":16,"speed":52,"hex_longitude":"2d7b58c0","hex_latitude":"05e0e458","is_valid_coordinates":true} 
[2026-07-11 16:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644557824001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105038111032999936,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889542739721541632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783767811000,"timestamp_ms":1783767811000,"timestamp_seconds":1783767811,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d8c3b8"} 
[2026-07-11 16:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-11 16:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644557824001,"66":13222,"35":206,"85":15104,"24":52,"16":105038111032999936,"45":8889542739721541632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-11 16:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644557824001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:35:44] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 16:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105038111032999936,"km_value":105038111032999.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889542739721541632,"description":"Unknown IO ID 45"} 
[2026-07-11 16:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644557824001,"power":13222,"unknown_35":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8889542739721541632}} 
[2026-07-11 16:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":128797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:35:44] local.INFO: GPS data processed {"connection_id":128797,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:35:44] local.INFO: Acknowledgment sent {"connection_id":128797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:35:59] local.INFO: TCP Data received {"connection_id":130740,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:35:59] local.INFO: Processing buffer {"connection_id":130740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:35:59] local.INFO: IMEI packet received {"connection_id":130740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":130740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:36:03] local.INFO: TCP Data received {"connection_id":130741,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:36:03] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:36:03] local.INFO: IMEI packet received {"connection_id":130741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":130741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:36:05] local.INFO: TCP Data received {"connection_id":130740,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:36:05] local.INFO: Processing buffer {"connection_id":130740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:36:05] local.INFO: IMEI packet received {"connection_id":130740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":130740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:36:06] local.INFO: TCP Data received {"connection_id":130740,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d8b418012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d8b418012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:36:06] local.INFO: Processing buffer {"connection_id":130740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d8b418012d1822400721b5a0004b00d32c..."} 
[2026-07-11 16:36:06] local.INFO: Packet analysis {"connection_id":130740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:36:06] local.INFO: Extracted packet for processing {"connection_id":130740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644553216001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783767807000,"timestamp_ms":1783767807000,"timestamp_seconds":1783767807,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d8b418"} 
[2026-07-11 16:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 16:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644553216001,"66":12591,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644553216001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:36:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:36:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644553216001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":130740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:36:06] local.INFO: GPS data processed {"connection_id":130740,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:36:06] local.INFO: Acknowledgment sent {"connection_id":130740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:36:08] local.INFO: TCP Data received {"connection_id":130741,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:36:08] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:36:08] local.INFO: IMEI packet received {"connection_id":130741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":130741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:36:09] local.INFO: TCP Data received {"connection_id":130741,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d8e6e0012d7b528005e10770000b015b0f..."} 
[2026-07-11 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d8e6e0012d7b528005e10770000b015b0f..."} 
[2026-07-11 16:36:09] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d8e6e0012d7b528005e10770000b015b0f..."} 
[2026-07-11 16:36:09] local.INFO: Packet analysis {"connection_id":130741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:36:09] local.INFO: Extracted packet for processing {"connection_id":130741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d8"} 
[2026-07-11 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98633584,"longitude_deg":76.3056768,"latitude_deg":9.8633584,"altitude":11,"angle":347,"satellites":15,"speed":28,"hex_longitude":"2d7b5280","hex_latitude":"05e10770","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644559616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105038553414631424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996096104448,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783767820000,"timestamp_ms":1783767820000,"timestamp_seconds":1783767820,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d8e6e0"} 
[2026-07-11 16:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 16:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644559616001,"66":13189,"35":206,"85":15104,"24":28,"16":105038553414631424,"45":8888064996096104448},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-11 16:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644559616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:36:09] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 16:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105038553414631424,"km_value":105038553414631.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996096104448,"description":"Unknown IO ID 45"} 
[2026-07-11 16:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644559616001,"power":13189,"unknown_35":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8888064996096104448}} 
[2026-07-11 16:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":130741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:36:09] local.INFO: GPS data processed {"connection_id":130741,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:36:09] local.INFO: Acknowledgment sent {"connection_id":130741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:36:09] local.INFO: TCP Data received {"connection_id":130742,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:36:09] local.INFO: Processing buffer {"connection_id":130742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:36:09] local.INFO: IMEI packet received {"connection_id":130742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":130742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:36:14] local.INFO: TCP Data received {"connection_id":130742,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:36:14] local.INFO: Processing buffer {"connection_id":130742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:36:14] local.INFO: IMEI packet received {"connection_id":130742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":130742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:36:15] local.INFO: TCP Data received {"connection_id":130742,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:36:15] local.INFO: Processing buffer {"connection_id":130742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:36:15] local.INFO: Packet analysis {"connection_id":130742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:36:15] local.INFO: Extracted packet for processing {"connection_id":130742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:36:15] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":130742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:36:15] local.INFO: GPS data processed {"connection_id":130742,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:36:15] local.INFO: Acknowledgment sent {"connection_id":130742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:36:19] local.INFO: TCP Data received {"connection_id":130742,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:36:19] local.INFO: Processing buffer {"connection_id":130742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:36:19] local.INFO: Packet analysis {"connection_id":130742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:36:19] local.INFO: Extracted packet for processing {"connection_id":130742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:36:19] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:36:19] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:36:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":130742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:36:19] local.INFO: GPS data processed {"connection_id":130742,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:36:19] local.INFO: Acknowledgment sent {"connection_id":130742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:36:37] local.INFO: TCP Data received {"connection_id":130740,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d90620012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d90620012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:36:37] local.INFO: Processing buffer {"connection_id":130740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d90620012d1822400721b5a0004b00d32d..."} 
[2026-07-11 16:36:37] local.INFO: Packet analysis {"connection_id":130740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:36:37] local.INFO: Extracted packet for processing {"connection_id":130740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644558592001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783767828000,"timestamp_ms":1783767828000,"timestamp_seconds":1783767828,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d90620"} 
[2026-07-11 16:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 16:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644558592001,"66":12428,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644558592001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:36:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644558592001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":130740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:36:37] local.INFO: GPS data processed {"connection_id":130740,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:36:37] local.INFO: Acknowledgment sent {"connection_id":130740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:36:40] local.INFO: TCP Data received {"connection_id":130741,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d915c0012d7b4bc005e12be0000a015b10..."} 
[2026-07-11 16:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d915c0012d7b4bc005e12be0000a015b10..."} 
[2026-07-11 16:36:40] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d915c0012d7b4bc005e12be0000a015b10..."} 
[2026-07-11 16:36:40] local.INFO: Packet analysis {"connection_id":130741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:36:40] local.INFO: Extracted packet for processing {"connection_id":130741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":98642912,"longitude_deg":76.305504,"latitude_deg":9.8642912,"altitude":10,"angle":347,"satellites":16,"speed":31,"hex_longitude":"2d7b4bc0","hex_latitude":"05e12be0","is_valid_coordinates":true} 
[2026-07-11 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644561920001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105039012976132096,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777493962752,"note":"Value kept but may cause issues"} 
[2026-07-11 16:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783767832000,"timestamp_ms":1783767832000,"timestamp_seconds":1783767832,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d915c0"} 
[2026-07-11 16:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 16:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644561920001,"66":13352,"35":206,"85":15104,"24":31,"16":105039012976132096,"45":8886305777493962752},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-11 16:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644561920001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:36:40] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 16:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105039012976132096,"km_value":105039012976132.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777493962752,"description":"Unknown IO ID 45"} 
[2026-07-11 16:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644561920001,"power":13352,"unknown_35":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8886305777493962752}} 
[2026-07-11 16:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":130741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:36:40] local.INFO: GPS data processed {"connection_id":130741,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:36:40] local.INFO: Acknowledgment sent {"connection_id":130741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:36:59] local.INFO: TCP Data received {"connection_id":128799,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:36:59] local.INFO: Processing buffer {"connection_id":128799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:36:59] local.INFO: IMEI packet received {"connection_id":128799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":128799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:37:02] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:37:02] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:37:02] local.INFO: IMEI packet received {"connection_id":128801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":128801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:37:03] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:37:03] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:37:03] local.INFO: IMEI packet received {"connection_id":128801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":128801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:37:04] local.INFO: TCP Data received {"connection_id":128800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:37:04] local.INFO: Processing buffer {"connection_id":128800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:37:04] local.INFO: IMEI packet received {"connection_id":128800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":128800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:37:08] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:37:08] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:37:08] local.INFO: IMEI packet received {"connection_id":128801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":128801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:37:09] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d963e0012d7b458005e146080009016111..."} 
[2026-07-11 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d963e0012d7b458005e146080009016111..."} 
[2026-07-11 16:37:09] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d963e0012d7b458005e146080009016111..."} 
[2026-07-11 16:37:09] local.INFO: Packet analysis {"connection_id":128801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:37:09] local.INFO: Extracted packet for processing {"connection_id":128801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98649608,"longitude_deg":76.305344,"latitude_deg":9.8649608,"altitude":9,"angle":353,"satellites":17,"speed":0,"hex_longitude":"2d7b4580","hex_latitude":"05e14608","is_valid_coordinates":true} 
[2026-07-11 16:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644564992001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105039356573515776,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403553792,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783767852000,"timestamp_ms":1783767852000,"timestamp_seconds":1783767852,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d963e0"} 
[2026-07-11 16:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-11 16:37:09] 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-07-11 16:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644564992001,"66":13178,"170":206,"85":15104,"24":0,"16":105039356573515776,"45":8884405821403553792},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-11 16:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644564992001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:37:09] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-11 16:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105039356573515776,"km_value":105039356573515.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403553792,"description":"Unknown IO ID 45"} 
[2026-07-11 16:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644564992001,"power":13178,"unknown_170":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8884405821403553792}} 
[2026-07-11 16:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":128801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:37:09] local.INFO: GPS data processed {"connection_id":128801,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:37:09] local.INFO: Acknowledgment sent {"connection_id":128801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:37:09] local.INFO: TCP Data received {"connection_id":128800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:37:09] local.INFO: Processing buffer {"connection_id":128800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:37:09] local.INFO: IMEI packet received {"connection_id":128800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":128800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:37:10] local.INFO: TCP Data received {"connection_id":128800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:37:10] local.INFO: Processing buffer {"connection_id":128800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:37:10] local.INFO: Packet analysis {"connection_id":128800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:37:10] local.INFO: Extracted packet for processing {"connection_id":128800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16: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-07-11 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:37:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":128800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:37:10] local.INFO: GPS data processed {"connection_id":128800,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:37:10] local.INFO: Acknowledgment sent {"connection_id":128800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:37:13] local.INFO: TCP Data received {"connection_id":128799,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:37:13] local.INFO: Processing buffer {"connection_id":128799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:37:13] local.INFO: IMEI packet received {"connection_id":128799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":128799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:37:19] local.INFO: TCP Data received {"connection_id":128799,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d95828012d1822400721b5a0004b00d32e..."} 
[2026-07-11 16:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d95828012d1822400721b5a0004b00d32e..."} 
[2026-07-11 16:37:19] local.INFO: Processing buffer {"connection_id":128799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d95828012d1822400721b5a0004b00d32e..."} 
[2026-07-11 16:37:19] local.INFO: Packet analysis {"connection_id":128799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:37:19] local.INFO: Extracted packet for processing {"connection_id":128799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649696,"longitude_deg":75.6556352,"latitude_deg":11.9649696,"altitude":75,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-11 16:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644563968001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5749457970790400,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492932608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783767849000,"timestamp_ms":1783767849000,"timestamp_seconds":1783767849,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d95828"} 
[2026-07-11 16:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 16:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644563968001,"66":12341,"120":206,"28":31744,"24":0,"16":5749457970790400,"45":1739022805492932608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 16:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644563968001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:37:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 16:37:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5749457970790400,"km_value":5749457970790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492932608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644563968001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492932608}} 
[2026-07-11 16:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":128799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:37:19] local.INFO: GPS data processed {"connection_id":128799,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:37:19] local.INFO: Acknowledgment sent {"connection_id":128799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:37:40] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dbf420012d7b2b8005e236600011016712..."} 
[2026-07-11 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dbf420012d7b2b8005e236600011016712..."} 
[2026-07-11 16:37:40] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dbf420012d7b2b8005e236600011016712..."} 
[2026-07-11 16:37:40] local.INFO: Packet analysis {"connection_id":128801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50db"} 
[2026-07-11 16:37:40] local.INFO: Extracted packet for processing {"connection_id":128801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50db"} 
[2026-07-11 16:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763046784,"raw_latitude":98711136,"longitude_deg":76.3046784,"latitude_deg":9.8711136,"altitude":17,"angle":359,"satellites":18,"speed":14,"hex_longitude":"2d7b2b80","hex_latitude":"05e23660","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644607744001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105042418885197824,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876031940862031872,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768020000,"timestamp_ms":1783768020000,"timestamp_seconds":1783768020,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dbf420"} 
[2026-07-11 16:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 16:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644607744001,"66":13222,"169":206,"85":15104,"24":14,"16":105042418885197824,"45":8876031940862031872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 16:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644607744001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:37:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 16:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105042418885197824,"km_value":105042418885197.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876031940862031872,"description":"Unknown IO ID 45"} 
[2026-07-11 16:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644607744001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8876031940862031872}} 
[2026-07-11 16:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":128801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:37:40] local.INFO: GPS data processed {"connection_id":128801,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:37:40] local.INFO: Acknowledgment sent {"connection_id":128801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:37:41] local.INFO: TCP Data received {"connection_id":128800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:37:41] local.INFO: Processing buffer {"connection_id":128800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:37:41] local.INFO: Packet analysis {"connection_id":128800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:37:41] local.INFO: Extracted packet for processing {"connection_id":128800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:37:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:37: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-07-11 16:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:37:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":128800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:37:41] local.INFO: GPS data processed {"connection_id":128800,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:37:41] local.INFO: Acknowledgment sent {"connection_id":128800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:38:03] local.INFO: TCP Data received {"connection_id":129505,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:38:03] local.INFO: Processing buffer {"connection_id":129505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:38:03] local.INFO: IMEI packet received {"connection_id":129505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":129505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:38:04] local.INFO: TCP Data received {"connection_id":128607,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:04] local.INFO: Processing buffer {"connection_id":128607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:04] local.INFO: IMEI packet received {"connection_id":128607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":128607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:38:04] local.INFO: TCP Data received {"connection_id":129504,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:38:04] local.INFO: Processing buffer {"connection_id":129504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:38:04] local.INFO: IMEI packet received {"connection_id":129504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":129504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:38:04] local.INFO: TCP Data received {"connection_id":128607,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:04] local.INFO: Processing buffer {"connection_id":128607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:04] local.INFO: IMEI packet received {"connection_id":128607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":128607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:38:08] local.INFO: TCP Data received {"connection_id":129505,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:38:08] local.INFO: Processing buffer {"connection_id":129505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:38:08] local.INFO: IMEI packet received {"connection_id":129505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":129505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:38:08] local.INFO: TCP Data received {"connection_id":129505,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dc3e58012d7b284005e25ad80013016411..."} 
[2026-07-11 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dc3e58012d7b284005e25ad80013016411..."} 
[2026-07-11 16:38:08] local.INFO: Processing buffer {"connection_id":129505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dc3e58012d7b284005e25ad80013016411..."} 
[2026-07-11 16:38:08] local.INFO: Packet analysis {"connection_id":129505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:38:08] local.INFO: Extracted packet for processing {"connection_id":129505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763045952,"raw_latitude":98720472,"longitude_deg":76.3045952,"latitude_deg":9.8720472,"altitude":19,"angle":356,"satellites":17,"speed":24,"hex_longitude":"2d7b2840","hex_latitude":"05e25ad8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644613120001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105042874151731200,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875328253422100480,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783768039000,"timestamp_ms":1783768039000,"timestamp_seconds":1783768039,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dc3e58"} 
[2026-07-11 16:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 16:38:08] 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-07-11 16: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-07-11 16:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644613120001,"66":13254,"169":206,"85":15104,"24":24,"16":105042874151731200,"45":8875328253422100480},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 16:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644613120001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:38:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 16:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105042874151731200,"km_value":105042874151731.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875328253422100480,"description":"Unknown IO ID 45"} 
[2026-07-11 16:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644613120001,"power":13254,"unknown_169":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8875328253422100480}} 
[2026-07-11 16:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":129505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:38:09] local.INFO: GPS data processed {"connection_id":129505,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:38:09] local.INFO: Acknowledgment sent {"connection_id":129505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:38:09] local.INFO: TCP Data received {"connection_id":129504,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:38:09] local.INFO: Processing buffer {"connection_id":129504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:38:09] local.INFO: IMEI packet received {"connection_id":129504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":129504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:38:09] local.INFO: TCP Data received {"connection_id":128607,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:09] local.INFO: Processing buffer {"connection_id":128607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:09] local.INFO: IMEI packet received {"connection_id":128607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":128607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:38:10] local.INFO: TCP Data received {"connection_id":129504,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:38:10] local.INFO: Processing buffer {"connection_id":129504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:38:10] local.INFO: Packet analysis {"connection_id":129504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:38:10] local.INFO: Extracted packet for processing {"connection_id":129504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:38:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":129504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:38:10] local.INFO: GPS data processed {"connection_id":129504,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:38:10] local.INFO: Acknowledgment sent {"connection_id":129504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:38:10] local.INFO: TCP Data received {"connection_id":128607,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dbcd10012d188e0007217ee8004e00712e..."} 
[2026-07-11 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dbcd10012d188e0007217ee8004e00712e..."} 
[2026-07-11 16:38:10] local.INFO: Processing buffer {"connection_id":128607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dbcd10012d188e0007217ee8004e00712e..."} 
[2026-07-11 16:38:10] local.INFO: Packet analysis {"connection_id":128607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50db"} 
[2026-07-11 16:38:10] local.INFO: Extracted packet for processing {"connection_id":128607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50db"} 
[2026-07-11 16:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756583936,"raw_latitude":119635688,"longitude_deg":75.6583936,"latitude_deg":11.9635688,"altitude":78,"angle":113,"satellites":46,"speed":34,"hex_longitude":"2d188e00","hex_latitude":"07217ee8","is_valid_coordinates":true} 
[2026-07-11 16:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644610048001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5751124418101248,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767522146881445888,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768010000,"timestamp_ms":1783768010000,"timestamp_seconds":1783768010,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dbcd10"} 
[2026-07-11 16:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 16:38:10] 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-07-11 16:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644610048001,"66":12982,"121":206,"28":31744,"24":34,"16":5751124418101248,"45":1767522146881445888},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644610048001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:38:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5751124418101248,"km_value":5751124418101.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767522146881445888,"description":"Unknown IO ID 45"} 
[2026-07-11 16:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644610048001,"power":12982,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1767522146881445888}} 
[2026-07-11 16:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":128607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:38:10] local.INFO: GPS data processed {"connection_id":128607,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:38:10] local.INFO: Acknowledgment sent {"connection_id":128607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:38:40] local.INFO: TCP Data received {"connection_id":129505,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dc6d38012d7b230005e27f480016016011..."} 
[2026-07-11 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dc6d38012d7b230005e27f480016016011..."} 
[2026-07-11 16:38:40] local.INFO: Processing buffer {"connection_id":129505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dc6d38012d7b230005e27f480016016011..."} 
[2026-07-11 16:38:40] local.INFO: Packet analysis {"connection_id":129505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:38:40] local.INFO: Extracted packet for processing {"connection_id":129505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763044608,"raw_latitude":98729800,"longitude_deg":76.3044608,"latitude_deg":9.87298,"altitude":22,"angle":352,"satellites":17,"speed":33,"hex_longitude":"2d7b2300","hex_latitude":"05e27f48","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644617984001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105043333713231872,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874413459750180864,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768051000,"timestamp_ms":1783768051000,"timestamp_seconds":1783768051,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dc6d38"} 
[2026-07-11 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-07-11 16:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 16:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644617984001,"66":13243,"96":206,"85":15104,"24":33,"16":105043333713231872,"45":8874413459750180864},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 16:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644617984001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:38:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 16:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105043333713231872,"km_value":105043333713231.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874413459750180864,"description":"Unknown IO ID 45"} 
[2026-07-11 16:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644617984001,"power":13243,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8874413459750180864}} 
[2026-07-11 16:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":129505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:38:40] local.INFO: GPS data processed {"connection_id":129505,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:38:40] local.INFO: Acknowledgment sent {"connection_id":129505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:38:41] local.INFO: TCP Data received {"connection_id":129504,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:38:41] local.INFO: Processing buffer {"connection_id":129504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:38:41] local.INFO: Packet analysis {"connection_id":129504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:38:41] local.INFO: Extracted packet for processing {"connection_id":129504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:38: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-07-11 16:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:38:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":129504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:38:41] local.INFO: GPS data processed {"connection_id":129504,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:38:41] local.INFO: Acknowledgment sent {"connection_id":129504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:38:42] local.INFO: TCP Data received {"connection_id":128607,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dbfbf0012d18ac00072172e0004d007d2d..."} 
[2026-07-11 16:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dbfbf0012d18ac00072172e0004d007d2d..."} 
[2026-07-11 16:38:42] local.INFO: Processing buffer {"connection_id":128607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dbfbf0012d18ac00072172e0004d007d2d..."} 
[2026-07-11 16:38:42] local.INFO: Packet analysis {"connection_id":128607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50db"} 
[2026-07-11 16:38:42] local.INFO: Extracted packet for processing {"connection_id":128607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50db"} 
[2026-07-11 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632608,"longitude_deg":75.6591616,"latitude_deg":11.9632608,"altitude":77,"angle":125,"satellites":45,"speed":21,"hex_longitude":"2d18ac00","hex_latitude":"072172e0","is_valid_coordinates":true} 
[2026-07-11 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644610560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5751519555092480,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769351734229919744,"note":"Value kept but may cause issues"} 
[2026-07-11 16:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783768022000,"timestamp_ms":1783768022000,"timestamp_seconds":1783768022,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dbfbf0"} 
[2026-07-11 16:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-11 16:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644610560001,"66":13004,"121":206,"28":31744,"24":21,"16":5751519555092480,"45":1769351734229919744},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644610560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:38:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5751519555092480,"km_value":5751519555092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769351734229919744,"description":"Unknown IO ID 45"} 
[2026-07-11 16:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644610560001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1769351734229919744}} 
[2026-07-11 16:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":128607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:38:43] local.INFO: GPS data processed {"connection_id":128607,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:38:43] local.INFO: Acknowledgment sent {"connection_id":128607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:38:57] local.INFO: TCP Data received {"connection_id":128802,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:57] local.INFO: Processing buffer {"connection_id":128802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:57] local.INFO: IMEI packet received {"connection_id":128802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":128802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:38:59] local.INFO: TCP Data received {"connection_id":128802,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:59] local.INFO: Processing buffer {"connection_id":128802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:38:59] local.INFO: IMEI packet received {"connection_id":128802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":128802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:39:01] local.INFO: TCP Data received {"connection_id":128802,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:39:01] local.INFO: Processing buffer {"connection_id":128802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:39:01] local.INFO: IMEI packet received {"connection_id":128802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":128802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:39:02] local.INFO: TCP Data received {"connection_id":128802,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dcfdc0012d190c400720c8f8003500772e..."} 
[2026-07-11 16:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dcfdc0012d190c400720c8f8003500772e..."} 
[2026-07-11 16:39:02] local.INFO: Processing buffer {"connection_id":128802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dcfdc0012d190c400720c8f8003500772e..."} 
[2026-07-11 16:39:02] local.INFO: Packet analysis {"connection_id":128802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:39:02] local.INFO: Extracted packet for processing {"connection_id":128802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:39:02] local.INFO: GPS Element Parsed {"raw_longitude":756616256,"raw_latitude":119589112,"longitude_deg":75.6616256,"latitude_deg":11.9589112,"altitude":53,"angle":119,"satellites":46,"speed":38,"hex_longitude":"2d190c40","hex_latitude":"0720c8f8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644628736001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5754040700895232,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799469556726853632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783768088000,"timestamp_ms":1783768088000,"timestamp_seconds":1783768088,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dcfdc0"} 
[2026-07-11 16:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 16:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644628736001,"66":14113,"121":206,"28":31744,"24":38,"16":5754040700895232,"45":1799469556726853632},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644628736001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:39:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:39:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5754040700895232,"km_value":5754040700895.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799469556726853632,"description":"Unknown IO ID 45"} 
[2026-07-11 16:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644628736001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1799469556726853632}} 
[2026-07-11 16:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":128802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:39:02] local.INFO: GPS data processed {"connection_id":128802,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:39:02] local.INFO: Acknowledgment sent {"connection_id":128802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:39:03] local.INFO: TCP Data received {"connection_id":128609,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:39:03] local.INFO: Processing buffer {"connection_id":128609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:39:03] local.INFO: IMEI packet received {"connection_id":128609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":128609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:39:04] local.INFO: TCP Data received {"connection_id":129506,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:39:04] local.INFO: Processing buffer {"connection_id":129506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:39:04] local.INFO: IMEI packet received {"connection_id":129506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":129506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:39:07] local.INFO: TCP Data received {"connection_id":128609,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:39:07] local.INFO: Processing buffer {"connection_id":128609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:39:07] local.INFO: IMEI packet received {"connection_id":128609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":128609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:39:08] local.INFO: TCP Data received {"connection_id":128609,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dc9448012d7b1dc005e2a2b00016015f0f..."} 
[2026-07-11 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dc9448012d7b1dc005e2a2b00016015f0f..."} 
[2026-07-11 16:39:08] local.INFO: Processing buffer {"connection_id":128609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dc9448012d7b1dc005e2a2b00016015f0f..."} 
[2026-07-11 16:39:08] local.INFO: Packet analysis {"connection_id":128609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:39:08] local.INFO: Extracted packet for processing {"connection_id":128609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763043264,"raw_latitude":98738864,"longitude_deg":76.3043264,"latitude_deg":9.8738864,"altitude":22,"angle":351,"satellites":15,"speed":40,"hex_longitude":"2d7b1dc0","hex_latitude":"05e2a2b0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644621056001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105043776094863360,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872935716124837888,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783768061000,"timestamp_ms":1783768061000,"timestamp_seconds":1783768061,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dc9448"} 
[2026-07-11 16:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 16:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644621056001,"66":13189,"96":206,"85":15104,"24":40,"16":105043776094863360,"45":8872935716124837888},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 16:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644621056001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:39:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 16:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105043776094863360,"km_value":105043776094863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872935716124837888,"description":"Unknown IO ID 45"} 
[2026-07-11 16:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644621056001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8872935716124837888}} 
[2026-07-11 16:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":128609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:39:08] local.INFO: GPS data processed {"connection_id":128609,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:39:08] local.INFO: Acknowledgment sent {"connection_id":128609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:39:09] local.INFO: TCP Data received {"connection_id":129506,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:39:09] local.INFO: Processing buffer {"connection_id":129506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:39:09] local.INFO: IMEI packet received {"connection_id":129506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":129506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:39:10] local.INFO: TCP Data received {"connection_id":129506,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:39:10] local.INFO: Processing buffer {"connection_id":129506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:39:10] local.INFO: Packet analysis {"connection_id":129506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:39:10] local.INFO: Extracted packet for processing {"connection_id":129506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:39:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":129506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:39:10] local.INFO: GPS data processed {"connection_id":129506,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:39:10] local.INFO: Acknowledgment sent {"connection_id":129506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:39:33] local.INFO: TCP Data received {"connection_id":128802,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dd1d00012d192dc00720bb68003000702e..."} 
[2026-07-11 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dd1d00012d192dc00720bb68003000702e..."} 
[2026-07-11 16:39:33] local.INFO: Processing buffer {"connection_id":128802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dd1d00012d192dc00720bb68003000702e..."} 
[2026-07-11 16:39:33] local.INFO: Packet analysis {"connection_id":128802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:39:33] local.INFO: Extracted packet for processing {"connection_id":128802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756624832,"raw_latitude":119585640,"longitude_deg":75.6624832,"latitude_deg":11.958564,"altitude":48,"angle":112,"satellites":46,"speed":45,"hex_longitude":"2d192dc0","hex_latitude":"0720bb68","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644630528001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5754478787559424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804887950027716608,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783768096000,"timestamp_ms":1783768096000,"timestamp_seconds":1783768096,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dd1d00"} 
[2026-07-11 16:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 16:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":128802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":128802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":128802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644630528001,"66":14265,"121":206,"28":31744,"24":45,"16":5754478787559424,"45":1804887950027716608},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644630528001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:39:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:39:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5754478787559424,"km_value":5754478787559.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804887950027716608,"description":"Unknown IO ID 45"} 
[2026-07-11 16:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644630528001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1804887950027716608}} 
[2026-07-11 16:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":128802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:39:34] local.INFO: GPS data processed {"connection_id":128802,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:39:34] local.INFO: Acknowledgment sent {"connection_id":128802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:39:40] local.INFO: TCP Data received {"connection_id":128609,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dcb388012d7b18c005e2c5680016015e0e..."} 
[2026-07-11 16:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dcb388012d7b18c005e2c5680016015e0e..."} 
[2026-07-11 16:39:40] local.INFO: Processing buffer {"connection_id":128609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dcb388012d7b18c005e2c5680016015e0e..."} 
[2026-07-11 16:39:40] local.INFO: Packet analysis {"connection_id":128609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:39:40] local.INFO: Extracted packet for processing {"connection_id":128609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763041984,"raw_latitude":98747752,"longitude_deg":76.3041984,"latitude_deg":9.8747752,"altitude":22,"angle":350,"satellites":14,"speed":49,"hex_longitude":"2d7b18c0","hex_latitude":"05e2c568","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644623616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105044209886560256,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871457972499427328,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768069000,"timestamp_ms":1783768069000,"timestamp_seconds":1783768069,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dcb388"} 
[2026-07-11 16:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 16:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644623616001,"66":13254,"96":206,"85":15104,"24":49,"16":105044209886560256,"45":8871457972499427328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 16:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644623616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:39:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 16:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105044209886560256,"km_value":105044209886560.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871457972499427328,"description":"Unknown IO ID 45"} 
[2026-07-11 16:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644623616001,"power":13254,"unknown_96":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8871457972499427328}} 
[2026-07-11 16:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":128609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:39:40] local.INFO: GPS data processed {"connection_id":128609,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:39:40] local.INFO: Acknowledgment sent {"connection_id":128609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:39:41] local.INFO: TCP Data received {"connection_id":129506,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:39:41] local.INFO: Processing buffer {"connection_id":129506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:39:41] local.INFO: Packet analysis {"connection_id":129506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:39:41] local.INFO: Extracted packet for processing {"connection_id":129506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:39: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-07-11 16:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:39:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":129506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:39:41] local.INFO: GPS data processed {"connection_id":129506,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:39:41] local.INFO: Acknowledgment sent {"connection_id":129506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:39:59] local.INFO: TCP Data received {"connection_id":128611,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:39:59] local.INFO: Processing buffer {"connection_id":128611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:39:59] local.INFO: IMEI packet received {"connection_id":128611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":128611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:40:02] local.INFO: TCP Data received {"connection_id":128612,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:40:02] local.INFO: Processing buffer {"connection_id":128612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:40:02] local.INFO: IMEI packet received {"connection_id":128612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":128612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:40:03] local.INFO: TCP Data received {"connection_id":129507,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:40:03] local.INFO: Processing buffer {"connection_id":129507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:40:03] local.INFO: IMEI packet received {"connection_id":129507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":129507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:40:04] local.INFO: TCP Data received {"connection_id":128611,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:40:04] local.INFO: Processing buffer {"connection_id":128611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:40:04] local.INFO: IMEI packet received {"connection_id":128611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":128611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:40:06] local.INFO: TCP Data received {"connection_id":128611,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dd28b8012d1939000720b5480030007b2e..."} 
[2026-07-11 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dd28b8012d1939000720b5480030007b2e..."} 
[2026-07-11 16:40:06] local.INFO: Processing buffer {"connection_id":128611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dd28b8012d1939000720b5480030007b2e..."} 
[2026-07-11 16:40:06] local.INFO: Packet analysis {"connection_id":128611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:40:06] local.INFO: Extracted packet for processing {"connection_id":128611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756627712,"raw_latitude":119584072,"longitude_deg":75.6627712,"latitude_deg":11.9584072,"altitude":48,"angle":123,"satellites":46,"speed":41,"hex_longitude":"2d193900","hex_latitude":"0720b548","is_valid_coordinates":true} 
[2026-07-11 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644632576001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5754633406382080,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814317361746634752,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783768099000,"timestamp_ms":1783768099000,"timestamp_seconds":1783768099,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dd28b8"} 
[2026-07-11 16:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 16:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644632576001,"66":14211,"121":206,"28":31744,"24":41,"16":5754633406382080,"45":1814317361746634752},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644632576001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:40:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5754633406382080,"km_value":5754633406382.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814317361746634752,"description":"Unknown IO ID 45"} 
[2026-07-11 16:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644632576001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1814317361746634752}} 
[2026-07-11 16:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":128611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:40:06] local.INFO: GPS data processed {"connection_id":128611,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:40:06] local.INFO: Acknowledgment sent {"connection_id":128611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:40:08] local.INFO: TCP Data received {"connection_id":128612,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:40:08] local.INFO: Processing buffer {"connection_id":128612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:40:08] local.INFO: IMEI packet received {"connection_id":128612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":128612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:40:09] local.INFO: TCP Data received {"connection_id":128612,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dcd2c8012d7b138005e2ea60001501620f..."} 
[2026-07-11 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dcd2c8012d7b138005e2ea60001501620f..."} 
[2026-07-11 16:40:09] local.INFO: Processing buffer {"connection_id":128612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dcd2c8012d7b138005e2ea60001501620f..."} 
[2026-07-11 16:40:09] local.INFO: Packet analysis {"connection_id":128612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:40:09] local.INFO: Extracted packet for processing {"connection_id":128612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98757216,"longitude_deg":76.304064,"latitude_deg":9.8757216,"altitude":21,"angle":354,"satellites":15,"speed":44,"hex_longitude":"2d7b1380","hex_latitude":"05e2ea60","is_valid_coordinates":true} 
[2026-07-11 16:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644625664001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105044673743028224,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870050597618149376,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783768077000,"timestamp_ms":1783768077000,"timestamp_seconds":1783768077,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dcd2c8"} 
[2026-07-11 16:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:40:09] 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-07-11 16:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 16:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644625664001,"66":13015,"96":206,"85":15104,"24":44,"16":105044673743028224,"45":8870050597618149376},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 16:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644625664001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:40:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 16:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105044673743028224,"km_value":105044673743028.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870050597618149376,"description":"Unknown IO ID 45"} 
[2026-07-11 16:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644625664001,"power":13015,"unknown_96":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8870050597618149376}} 
[2026-07-11 16:40:09] local.INFO: TCP Data received {"connection_id":129507,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:40:09] local.INFO: Processing buffer {"connection_id":129507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:40:09] local.INFO: IMEI packet received {"connection_id":129507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":129507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":128612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:40:09] local.INFO: GPS data processed {"connection_id":128612,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:40:09] local.INFO: Acknowledgment sent {"connection_id":128612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:40:10] local.INFO: TCP Data received {"connection_id":129507,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:40:10] local.INFO: Processing buffer {"connection_id":129507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50d9e4c8012cb2998007821ea8004900ef2f..."} 
[2026-07-11 16:40:10] local.INFO: Packet analysis {"connection_id":129507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:40:10] local.INFO: Extracted packet for processing {"connection_id":129507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50d9"} 
[2026-07-11 16:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":73,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644501504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783767885000,"timestamp_ms":1783767885000,"timestamp_seconds":1783767885,"priority":1,"record_length":96,"hex_timestamp":"0000019f50d9e4c8"} 
[2026-07-11 16:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:40: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-07-11 16:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-11 16:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644501504001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644501504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:40:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644501504001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":129507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:40:10] local.INFO: GPS data processed {"connection_id":129507,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:40:10] local.INFO: Acknowledgment sent {"connection_id":129507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:40:20] local.INFO: TCP Data received {"connection_id":128610,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:40:20] local.INFO: Processing buffer {"connection_id":128610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:40:20] local.INFO: IMEI packet received {"connection_id":128610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":128610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:40:38] local.INFO: TCP Data received {"connection_id":128611,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dd3858012d1946800720ae78002f006c2e..."} 
[2026-07-11 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dd3858012d1946800720ae78002f006c2e..."} 
[2026-07-11 16:40:38] local.INFO: Processing buffer {"connection_id":128611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dd3858012d1946800720ae78002f006c2e..."} 
[2026-07-11 16:40:38] local.INFO: Packet analysis {"connection_id":128611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:40:38] local.INFO: Extracted packet for processing {"connection_id":128611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756631168,"raw_latitude":119582328,"longitude_deg":75.6631168,"latitude_deg":11.9582328,"altitude":47,"angle":108,"satellites":46,"speed":33,"hex_longitude":"2d194680","hex_latitude":"0720ae78","is_valid_coordinates":true} 
[2026-07-11 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644633344001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5754818089975808,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817483955234228224,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783768103000,"timestamp_ms":1783768103000,"timestamp_seconds":1783768103,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dd3858"} 
[2026-07-11 16:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 16:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644633344001,"66":13396,"121":206,"28":31744,"24":33,"16":5754818089975808,"45":1817483955234228224},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644633344001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5754818089975808,"km_value":5754818089975.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817483955234228224,"description":"Unknown IO ID 45"} 
[2026-07-11 16:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644633344001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1817483955234228224}} 
[2026-07-11 16:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":128611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:40:38] local.INFO: GPS data processed {"connection_id":128611,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:40:38] local.INFO: Acknowledgment sent {"connection_id":128611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:40:41] local.INFO: TCP Data received {"connection_id":129507,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:40:41] local.INFO: Processing buffer {"connection_id":129507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:40:41] local.INFO: Packet analysis {"connection_id":129507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:40:41] local.INFO: Extracted packet for processing {"connection_id":129507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:40: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-07-11 16: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":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:40:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":129507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:40:41] local.INFO: GPS data processed {"connection_id":129507,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:40:41] local.INFO: Acknowledgment sent {"connection_id":129507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:40:41] local.INFO: TCP Data received {"connection_id":128612,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dcf9d8012d7b0ec005e30f080014016010..."} 
[2026-07-11 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dcf9d8012d7b0ec005e30f080014016010..."} 
[2026-07-11 16:40:41] local.INFO: Processing buffer {"connection_id":128612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dcf9d8012d7b0ec005e30f080014016010..."} 
[2026-07-11 16:40:41] local.INFO: Packet analysis {"connection_id":128612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:40:41] local.INFO: Extracted packet for processing {"connection_id":128612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dc"} 
[2026-07-11 16:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98766600,"longitude_deg":76.3039424,"latitude_deg":9.87666,"altitude":20,"angle":352,"satellites":16,"speed":29,"hex_longitude":"2d7b0ec0","hex_latitude":"05e30f08","is_valid_coordinates":true} 
[2026-07-11 16:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644627712001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105045133304528896,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853992841216,"note":"Value kept but may cause issues"} 
[2026-07-11 16:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783768087000,"timestamp_ms":1783768087000,"timestamp_seconds":1783768087,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dcf9d8"} 
[2026-07-11 16:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:40:41] 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-07-11 16:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 16:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644627712001,"66":13015,"96":206,"85":15104,"24":29,"16":105045133304528896,"45":8868572853992841216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 16:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644627712001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:40:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 16:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105045133304528896,"km_value":105045133304528.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853992841216,"description":"Unknown IO ID 45"} 
[2026-07-11 16:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644627712001,"power":13015,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8868572853992841216}} 
[2026-07-11 16:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":128612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:40:41] local.INFO: GPS data processed {"connection_id":128612,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:40:41] local.INFO: Acknowledgment sent {"connection_id":128612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:40:50] local.INFO: TCP Data received {"connection_id":128803,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:40:50] local.INFO: Processing buffer {"connection_id":128803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:40:50] local.INFO: IMEI packet received {"connection_id":128803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":128803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:40:59] local.INFO: TCP Data received {"connection_id":129508,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:40:59] local.INFO: Processing buffer {"connection_id":129508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:40:59] local.INFO: IMEI packet received {"connection_id":129508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":129508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:41:00] local.INFO: TCP Data received {"connection_id":129508,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:41:00] local.INFO: Processing buffer {"connection_id":129508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:41:00] local.INFO: IMEI packet received {"connection_id":129508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":129508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:41:03] local.INFO: TCP Data received {"connection_id":129509,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:41:03] local.INFO: Processing buffer {"connection_id":129509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:41:03] local.INFO: IMEI packet received {"connection_id":129509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":129509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:41:03] local.INFO: TCP Data received {"connection_id":128804,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:41:03] local.INFO: Processing buffer {"connection_id":128804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:41:03] local.INFO: IMEI packet received {"connection_id":128804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":128804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:41:04] local.INFO: TCP Data received {"connection_id":129508,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:41:04] local.INFO: Processing buffer {"connection_id":129508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:41:04] local.INFO: IMEI packet received {"connection_id":129508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":129508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:41:05] local.INFO: TCP Data received {"connection_id":129508,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dd4be0012d1954000720ab480030005d2c..."} 
[2026-07-11 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dd4be0012d1954000720ab480030005d2c..."} 
[2026-07-11 16:41:05] local.INFO: Processing buffer {"connection_id":129508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dd4be0012d1954000720ab480030005d2c..."} 
[2026-07-11 16:41:05] local.INFO: Packet analysis {"connection_id":129508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:41:05] local.INFO: Extracted packet for processing {"connection_id":129508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119581512,"longitude_deg":75.6634624,"latitude_deg":11.9581512,"altitude":48,"angle":93,"satellites":44,"speed":23,"hex_longitude":"2d195400","hex_latitude":"0720ab48","is_valid_coordinates":true} 
[2026-07-11 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644634368001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5754985593700352,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821283867419375616,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783768108000,"timestamp_ms":1783768108000,"timestamp_seconds":1783768108,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dd4be0"} 
[2026-07-11 16:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-11 16:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644634368001,"66":13048,"121":206,"28":31744,"24":23,"16":5754985593700352,"45":1821283867419375616},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644634368001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:41:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5754985593700352,"km_value":5754985593700.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821283867419375616,"description":"Unknown IO ID 45"} 
[2026-07-11 16:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644634368001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1821283867419375616}} 
[2026-07-11 16:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":129508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:41:06] local.INFO: GPS data processed {"connection_id":129508,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:41:06] local.INFO: Acknowledgment sent {"connection_id":129508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:41:07] local.INFO: TCP Data received {"connection_id":129509,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:41:07] local.INFO: Processing buffer {"connection_id":129509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:41:07] local.INFO: IMEI packet received {"connection_id":129509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":129509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:41:08] local.INFO: TCP Data received {"connection_id":129509,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:41:08] local.INFO: Processing buffer {"connection_id":129509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:41:08] local.INFO: IMEI packet received {"connection_id":129509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":129509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:41:09] local.INFO: TCP Data received {"connection_id":128804,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:41:09] local.INFO: Processing buffer {"connection_id":128804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:41:09] local.INFO: IMEI packet received {"connection_id":128804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":128804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:41:09] local.INFO: TCP Data received {"connection_id":129509,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50df4b98012d7acd8005e40ee0000b014a14..."} 
[2026-07-11 16:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50df4b98012d7acd8005e40ee0000b014a14..."} 
[2026-07-11 16:41:09] local.INFO: Processing buffer {"connection_id":129509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50df4b98012d7acd8005e40ee0000b014a14..."} 
[2026-07-11 16:41:09] local.INFO: Packet analysis {"connection_id":129509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:41:09] local.INFO: Extracted packet for processing {"connection_id":129509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":98832096,"longitude_deg":76.302272,"latitude_deg":9.8832096,"altitude":11,"angle":330,"satellites":20,"speed":26,"hex_longitude":"2d7acd80","hex_latitude":"05e40ee0","is_valid_coordinates":true} 
[2026-07-11 16:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644667904001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105048436134379520,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849995505548257280,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783768239000,"timestamp_ms":1783768239000,"timestamp_seconds":1783768239,"priority":1,"record_length":96,"hex_timestamp":"0000019f50df4b98"} 
[2026-07-11 16:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":5467370016369676800,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422374,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3733729281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3815061504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-7068398320308846587,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:09] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,52,159,9,45,192,223,12,19,10,66,218,187,13,64,1,240,166,227,51,80,4,113,205,20,62,249,48,239,2,117,5,14,221],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-11 16:41:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865072744891351040,"timestamp_seconds":865072744891351.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644667904001,"66":13319,"97":206,"85":15104,"24":26,"16":105048436134379520,"45":8849995505548257280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 16:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644667904001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105048436134379520,"km_value":105048436134379.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849995505548257280,"description":"Unknown IO ID 45"} 
[2026-07-11 16:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644667904001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8849995505548257280}} 
[2026-07-11 16:41:09] local.INFO: TCP Data received {"connection_id":128804,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:41:10] local.INFO: Processing buffer {"connection_id":128804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:41:10] local.INFO: Packet analysis {"connection_id":128804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:41:10] local.INFO: Extracted packet for processing {"connection_id":128804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:41: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-07-11 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":129509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:41:10] local.INFO: GPS data processed {"connection_id":129509,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:41:10] local.INFO: Acknowledgment sent {"connection_id":129509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:41:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":128804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:41:10] local.INFO: GPS data processed {"connection_id":128804,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:41:10] local.INFO: Acknowledgment sent {"connection_id":128804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:41:14] local.INFO: TCP Data received {"connection_id":129509,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50df5368012d7aca0005e41330000b013e14..."} 
[2026-07-11 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50df5368012d7aca0005e41330000b013e14..."} 
[2026-07-11 16:41:14] local.INFO: Processing buffer {"connection_id":129509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50df5368012d7aca0005e41330000b013e14..."} 
[2026-07-11 16:41:14] local.INFO: Packet analysis {"connection_id":129509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:41:14] local.INFO: Extracted packet for processing {"connection_id":129509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:41:14] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98833200,"longitude_deg":76.3021824,"latitude_deg":9.88332,"altitude":11,"angle":318,"satellites":20,"speed":29,"hex_longitude":"2d7aca00","hex_latitude":"05e41330","is_valid_coordinates":true} 
[2026-07-11 16:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644669184001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105048504853856256,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605642264576,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783768241000,"timestamp_ms":1783768241000,"timestamp_seconds":1783768241,"priority":1,"record_length":96,"hex_timestamp":"0000019f50df5368"} 
[2026-07-11 16:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":7293579656678871552,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3735009281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3816173568,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-1438898786096316411,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,52,159,56,45,128,1,12,20,10,66,9,192,223,19,218,240,29,227,80,4,113,205,21,140,239,2,117,5,13,17,133,221],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-11 16:41:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792996459155423232,"timestamp_seconds":792996459155423.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644669184001,"66":13254,"97":206,"85":15104,"24":29,"16":105048504853856256,"45":8848869605642264576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 16:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644669184001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:41:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:41:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105048504853856256,"km_value":105048504853856.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605642264576,"description":"Unknown IO ID 45"} 
[2026-07-11 16:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644669184001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8848869605642264576}} 
[2026-07-11 16:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":129509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:41:14] local.INFO: GPS data processed {"connection_id":129509,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:41:14] local.INFO: Acknowledgment sent {"connection_id":129509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:41:37] local.INFO: TCP Data received {"connection_id":129508,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dd72f0012d196a000720acc0003300522c..."} 
[2026-07-11 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dd72f0012d196a000720acc0003300522c..."} 
[2026-07-11 16:41:37] local.INFO: Processing buffer {"connection_id":129508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dd72f0012d196a000720acc0003300522c..."} 
[2026-07-11 16:41:37] local.INFO: Packet analysis {"connection_id":129508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:41:37] local.INFO: Extracted packet for processing {"connection_id":129508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50dd"} 
[2026-07-11 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119581888,"longitude_deg":75.6640256,"latitude_deg":11.9581888,"altitude":51,"angle":82,"satellites":44,"speed":28,"hex_longitude":"2d196a00","hex_latitude":"0720acc0","is_valid_coordinates":true} 
[2026-07-11 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644635648001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755256176640000,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779604760576,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783768118000,"timestamp_ms":1783768118000,"timestamp_seconds":1783768118,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dd72f0"} 
[2026-07-11 16:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:41: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-07-11 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 16:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644635648001,"66":13015,"121":206,"28":31744,"24":28,"16":5755256176640000,"45":1825083779604760576},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644635648001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:41:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755256176640000,"km_value":5755256176640,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779604760576,"description":"Unknown IO ID 45"} 
[2026-07-11 16:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644635648001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1825083779604760576}} 
[2026-07-11 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":129508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:41:37] local.INFO: GPS data processed {"connection_id":129508,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:41:37] local.INFO: Acknowledgment sent {"connection_id":129508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:41:40] local.INFO: TCP Data received {"connection_id":128804,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:41:40] local.INFO: Processing buffer {"connection_id":128804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:41:40] local.INFO: Packet analysis {"connection_id":128804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:41:40] local.INFO: Extracted packet for processing {"connection_id":128804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 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-07-11 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:41:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":128804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:41:40] local.INFO: GPS data processed {"connection_id":128804,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:41:40] local.INFO: Acknowledgment sent {"connection_id":128804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:41:45] local.INFO: TCP Data received {"connection_id":129509,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50df7e60012d7ab14005e42be8000c013713..."} 
[2026-07-11 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50df7e60012d7ab14005e42be8000c013713..."} 
[2026-07-11 16:41:45] local.INFO: Processing buffer {"connection_id":129509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50df7e60012d7ab14005e42be8000c013713..."} 
[2026-07-11 16:41:45] local.INFO: Packet analysis {"connection_id":129509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:41:45] local.INFO: Extracted packet for processing {"connection_id":129509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763015488,"raw_latitude":98839528,"longitude_deg":76.3015488,"latitude_deg":9.8839528,"altitude":12,"angle":311,"satellites":19,"speed":33,"hex_longitude":"2d7ab140","hex_latitude":"05e42be8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644669696001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105048934350585856,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443224059904,"note":"Value kept but may cause issues"} 
[2026-07-11 16:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783768252000,"timestamp_ms":1783768252000,"timestamp_seconds":1783768252,"priority":1,"record_length":96,"hex_timestamp":"0000019f50df7e60"} 
[2026-07-11 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-07-11 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 16:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644669696001,"66":13254,"97":206,"85":15104,"24":33,"16":105048934350585856,"45":8847884443224059904},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 16:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644669696001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:41:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105048934350585856,"km_value":105048934350585.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443224059904,"description":"Unknown IO ID 45"} 
[2026-07-11 16:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644669696001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8847884443224059904}} 
[2026-07-11 16:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":129509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:41:45] local.INFO: GPS data processed {"connection_id":129509,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:41:45] local.INFO: Acknowledgment sent {"connection_id":129509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:41:59] local.INFO: TCP Data received {"connection_id":130744,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:41:59] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:41:59] local.INFO: IMEI packet received {"connection_id":130744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":130744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:42:02] local.INFO: TCP Data received {"connection_id":128614,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:42:02] local.INFO: Processing buffer {"connection_id":128614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:42:02] local.INFO: IMEI packet received {"connection_id":128614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":128614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:42:03] local.INFO: TCP Data received {"connection_id":130744,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:42:03] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:42:03] local.INFO: IMEI packet received {"connection_id":130744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":130744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:42:04] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:42:04] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:42:04] local.INFO: IMEI packet received {"connection_id":128613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":128613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:42:04] local.INFO: TCP Data received {"connection_id":130744,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:42:04] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:42:04] local.INFO: IMEI packet received {"connection_id":130744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":130744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:42:05] local.INFO: TCP Data received {"connection_id":130744,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50df5750012d198b400720b2900039007a28..."} 
[2026-07-11 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50df5750012d198b400720b2900039007a28..."} 
[2026-07-11 16:42:05] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50df5750012d198b400720b2900039007a28..."} 
[2026-07-11 16:42:05] local.INFO: Packet analysis {"connection_id":130744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:05] local.INFO: Extracted packet for processing {"connection_id":130744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644664576001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783768242000,"timestamp_ms":1783768242000,"timestamp_seconds":1783768242,"priority":1,"record_length":96,"hex_timestamp":"0000019f50df5750"} 
[2026-07-11 16:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 16:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644664576001,"66":12852,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644664576001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644664576001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":130744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:42:05] local.INFO: GPS data processed {"connection_id":130744,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:42:05] local.INFO: Acknowledgment sent {"connection_id":130744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:42:07] local.INFO: TCP Data received {"connection_id":128614,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:42:07] local.INFO: Processing buffer {"connection_id":128614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:42:07] local.INFO: IMEI packet received {"connection_id":128614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":128614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:42:08] local.INFO: TCP Data received {"connection_id":128614,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dfa958012d7a944005e443e0000d013414..."} 
[2026-07-11 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dfa958012d7a944005e443e0000d013414..."} 
[2026-07-11 16:42:08] local.INFO: Processing buffer {"connection_id":128614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dfa958012d7a944005e443e0000d013414..."} 
[2026-07-11 16:42:08] local.INFO: Packet analysis {"connection_id":128614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:08] local.INFO: Extracted packet for processing {"connection_id":128614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763008064,"raw_latitude":98845664,"longitude_deg":76.3008064,"latitude_deg":9.8845664,"altitude":13,"angle":308,"satellites":20,"speed":35,"hex_longitude":"2d7a9440","hex_latitude":"05e443e0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644672512001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105049398207053824,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840917937552091136,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783768263000,"timestamp_ms":1783768263000,"timestamp_seconds":1783768263,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dfa958"} 
[2026-07-11 16:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 16:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644672512001,"66":13091,"97":206,"85":15104,"24":35,"16":105049398207053824,"45":8840917937552091136},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 16:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644672512001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105049398207053824,"km_value":105049398207053.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840917937552091136,"description":"Unknown IO ID 45"} 
[2026-07-11 16:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644672512001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8840917937552091136}} 
[2026-07-11 16:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":128614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:42:08] local.INFO: GPS data processed {"connection_id":128614,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:42:08] local.INFO: Acknowledgment sent {"connection_id":128614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:42:09] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:42:09] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:42:09] local.INFO: IMEI packet received {"connection_id":128613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":128613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:42:10] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:42:10] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:42:10] local.INFO: Packet analysis {"connection_id":128613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:42:10] local.INFO: Extracted packet for processing {"connection_id":128613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:42: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-07-11 16:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:42:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":128613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:42:10] local.INFO: GPS data processed {"connection_id":128613,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:42:10] local.INFO: Acknowledgment sent {"connection_id":128613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:42:10] local.INFO: TCP Data received {"connection_id":130744,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dfa958012d198b400720b2900039007a29..."} 
[2026-07-11 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dfa958012d198b400720b2900039007a29..."} 
[2026-07-11 16:42:10] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dfa958012d198b400720b2900039007a29..."} 
[2026-07-11 16:42:10] local.INFO: Packet analysis {"connection_id":130744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:10] local.INFO: Extracted packet for processing {"connection_id":130744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":41,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644669952001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768263000,"timestamp_ms":1783768263000,"timestamp_seconds":1783768263,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dfa958"} 
[2026-07-11 16:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 16:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644669952001,"66":12809,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644669952001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:42:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:42:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644669952001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":130744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:42:10] local.INFO: GPS data processed {"connection_id":130744,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:42:10] local.INFO: Acknowledgment sent {"connection_id":130744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:42:14] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:42:14] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:42:14] local.INFO: Packet analysis {"connection_id":128613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:42:14] local.INFO: Extracted packet for processing {"connection_id":128613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:42:14] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:42: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-07-11 16:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:42:14] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:42:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":128613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:42:14] local.INFO: GPS data processed {"connection_id":128613,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:42:14] local.INFO: Acknowledgment sent {"connection_id":128613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:42:40] local.INFO: TCP Data received {"connection_id":128614,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dfd068012d7a77c005e45a20000f013414..."} 
[2026-07-11 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dfd068012d7a77c005e45a20000f013414..."} 
[2026-07-11 16:42:40] local.INFO: Processing buffer {"connection_id":128614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dfd068012d7a77c005e45a20000f013414..."} 
[2026-07-11 16:42:40] local.INFO: Packet analysis {"connection_id":128614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:40] local.INFO: Extracted packet for processing {"connection_id":128614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763000768,"raw_latitude":98851360,"longitude_deg":76.3000768,"latitude_deg":9.885136,"altitude":15,"angle":308,"satellites":20,"speed":33,"hex_longitude":"2d7a77c0","hex_latitude":"05e45a20","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644675328001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105049840588685312,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832755163229052928,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768273000,"timestamp_ms":1783768273000,"timestamp_seconds":1783768273,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dfd068"} 
[2026-07-11 16:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 16:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644675328001,"66":12613,"97":206,"85":15104,"24":33,"16":105049840588685312,"45":8832755163229052928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 16:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644675328001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:42:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105049840588685312,"km_value":105049840588685.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832755163229052928,"description":"Unknown IO ID 45"} 
[2026-07-11 16:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644675328001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8832755163229052928}} 
[2026-07-11 16:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":128614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:42:40] local.INFO: GPS data processed {"connection_id":128614,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:42:40] local.INFO: Acknowledgment sent {"connection_id":128614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:42:42] local.INFO: TCP Data received {"connection_id":130744,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dffb60012d198b400720b2900039007a2a..."} 
[2026-07-11 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dffb60012d198b400720b2900039007a2a..."} 
[2026-07-11 16:42:42] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dffb60012d198b400720b2900039007a2a..."} 
[2026-07-11 16:42:42] local.INFO: Packet analysis {"connection_id":130744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:42] local.INFO: Extracted packet for processing {"connection_id":130744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":42,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644675328001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783768284000,"timestamp_ms":1783768284000,"timestamp_seconds":1783768284,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dffb60"} 
[2026-07-11 16:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-2469872546840213056,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2995781689,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587749606280732,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356218234891439149,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:42] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,114,159,87,45,64,178,57,40,10,66,5,179,1,240,85,80,32,4,113,205,15,139,144,239,50,2,20,7,124,192],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 16:42:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107417176674140160,"timestamp_seconds":4107417176674140.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644675328001,"66":12776,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644675328001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:42:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:42:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644675328001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":130744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:42:42] local.INFO: GPS data processed {"connection_id":130744,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:42:42] local.INFO: Acknowledgment sent {"connection_id":130744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:42:45] local.INFO: TCP Data received {"connection_id":128613,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:42:45] local.INFO: Processing buffer {"connection_id":128613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:42:45] local.INFO: Packet analysis {"connection_id":128613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:42:45] local.INFO: Extracted packet for processing {"connection_id":128613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:42:45] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:42:45] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:42:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":128613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:42:45] local.INFO: GPS data processed {"connection_id":128613,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:42:45] local.INFO: Acknowledgment sent {"connection_id":128613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:42:59] local.INFO: TCP Data received {"connection_id":130745,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:42:59] local.INFO: Processing buffer {"connection_id":130745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:42:59] local.INFO: IMEI packet received {"connection_id":130745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":130745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:43:04] local.INFO: TCP Data received {"connection_id":129512,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:43:04] local.INFO: Processing buffer {"connection_id":129512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:43:04] local.INFO: IMEI packet received {"connection_id":129512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":129512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:43:05] local.INFO: TCP Data received {"connection_id":130745,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:43:05] local.INFO: Processing buffer {"connection_id":130745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:43:05] local.INFO: IMEI packet received {"connection_id":130745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":130745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:43:06] local.INFO: TCP Data received {"connection_id":130745,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e04d68012d198b400720b2900039007a2c..."} 
[2026-07-11 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e04d68012d198b400720b2900039007a2c..."} 
[2026-07-11 16:43:06] local.INFO: Processing buffer {"connection_id":130745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e04d68012d198b400720b2900039007a2c..."} 
[2026-07-11 16:43:06] local.INFO: Packet analysis {"connection_id":130745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:43:06] local.INFO: Extracted packet for processing {"connection_id":130745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":44,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644680704001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783768305000,"timestamp_ms":1783768305000,"timestamp_seconds":1783768305,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e04d68"} 
[2026-07-11 16:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644680704001,"66":12809,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644680704001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:43:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644680704001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":130745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:43:06] local.INFO: GPS data processed {"connection_id":130745,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:43:06] local.INFO: Acknowledgment sent {"connection_id":130745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:43:08] local.INFO: TCP Data received {"connection_id":128805,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:43:08] local.INFO: Processing buffer {"connection_id":128805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:43:08] local.INFO: IMEI packet received {"connection_id":128805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":128805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:43:09] local.INFO: TCP Data received {"connection_id":129512,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:43:09] local.INFO: Processing buffer {"connection_id":129512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:43:09] local.INFO: IMEI packet received {"connection_id":129512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":129512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:43:10] local.INFO: TCP Data received {"connection_id":129512,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:43:10] local.INFO: Processing buffer {"connection_id":129512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:43:10] local.INFO: Packet analysis {"connection_id":129512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:43:10] local.INFO: Extracted packet for processing {"connection_id":129512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:43: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-07-11 16:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:43:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":129512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:43:10] local.INFO: GPS data processed {"connection_id":129512,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:43:10] local.INFO: Acknowledgment sent {"connection_id":129512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:43:12] local.INFO: TCP Data received {"connection_id":128805,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:43:12] local.INFO: Processing buffer {"connection_id":128805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:43:12] local.INFO: IMEI packet received {"connection_id":128805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":128805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:43:13] local.INFO: TCP Data received {"connection_id":128805,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50dffb60012d7a64c005e468a0000e011814..."} 
[2026-07-11 16:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50dffb60012d7a64c005e468a0000e011814..."} 
[2026-07-11 16:43:13] local.INFO: Processing buffer {"connection_id":128805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50dffb60012d7a64c005e468a0000e011814..."} 
[2026-07-11 16:43:13] local.INFO: Packet analysis {"connection_id":128805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:43:13] local.INFO: Extracted packet for processing {"connection_id":128805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50df"} 
[2026-07-11 16:43:13] local.INFO: GPS Element Parsed {"raw_longitude":762995904,"raw_latitude":98855072,"longitude_deg":76.2995904,"latitude_deg":9.8855072,"altitude":14,"angle":280,"satellites":20,"speed":8,"hex_longitude":"2d7a64c0","hex_latitude":"05e468a0","is_valid_coordinates":true} 
[2026-07-11 16:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644677888001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050136941428736,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824733126394257408,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783768284000,"timestamp_ms":1783768284000,"timestamp_seconds":1783768284,"priority":1,"record_length":96,"hex_timestamp":"0000019f50dffb60"} 
[2026-07-11 16:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 16:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644677888001,"66":13059,"97":206,"85":15104,"24":8,"16":105050136941428736,"45":8824733126394257408},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 16:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644677888001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050136941428736,"km_value":105050136941428.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824733126394257408,"description":"Unknown IO ID 45"} 
[2026-07-11 16:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644677888001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8824733126394257408}} 
[2026-07-11 16:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":128805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:43:13] local.INFO: GPS data processed {"connection_id":128805,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:43:13] local.INFO: Acknowledgment sent {"connection_id":128805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:43:18] local.INFO: TCP Data received {"connection_id":128805,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e00330012d7a634005e468b0000e010214..."} 
[2026-07-11 16:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e00330012d7a634005e468b0000e010214..."} 
[2026-07-11 16:43:18] local.INFO: Processing buffer {"connection_id":128805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e00330012d7a634005e468b0000e010214..."} 
[2026-07-11 16:43:18] local.INFO: Packet analysis {"connection_id":128805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:43:18] local.INFO: Extracted packet for processing {"connection_id":128805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:43:18] local.INFO: GPS Element Parsed {"raw_longitude":762995520,"raw_latitude":98855088,"longitude_deg":76.299552,"latitude_deg":9.8855088,"altitude":14,"angle":258,"satellites":20,"speed":7,"hex_longitude":"2d7a6340","hex_latitude":"05e468b0","is_valid_coordinates":true} 
[2026-07-11 16:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644680704001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050154121297920,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819385101837705216,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783768286000,"timestamp_ms":1783768286000,"timestamp_seconds":1783768286,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e00330"} 
[2026-07-11 16:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 16:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937510,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:18] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399455,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:18] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3746785281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2147869710,"corrected_to":0} 
[2026-07-11 16:43:18] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825330176,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,97,85,24,241,157,16,54,159,208,45,192,90,15,20,10,66,169,64,67,13,53,126,1,240,198,227,80,228,4,113,205,29,75,224,239,52,2,117,5,12,31],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2147869710,"validated":0}]} 
[2026-07-11 16:43:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009114265686638592,"timestamp_seconds":1009114265686638.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644680704001,"66":12689,"97":206,"85":15104,"24":7,"16":105050154121297920,"45":8819385101837705216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 16:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644680704001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:43:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050154121297920,"km_value":105050154121297.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819385101837705216,"description":"Unknown IO ID 45"} 
[2026-07-11 16:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644680704001,"power":12689,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8819385101837705216}} 
[2026-07-11 16:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":128805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:43:18] local.INFO: GPS data processed {"connection_id":128805,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:43:18] local.INFO: Acknowledgment sent {"connection_id":128805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:43:38] local.INFO: TCP Data received {"connection_id":130745,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e09f70012d198b400720b2900039007a2a..."} 
[2026-07-11 16:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e09f70012d198b400720b2900039007a2a..."} 
[2026-07-11 16:43:38] local.INFO: Processing buffer {"connection_id":130745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e09f70012d198b400720b2900039007a2a..."} 
[2026-07-11 16:43:38] local.INFO: Packet analysis {"connection_id":130745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:43:38] local.INFO: Extracted packet for processing {"connection_id":130745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":42,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644686080001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783768326000,"timestamp_ms":1783768326000,"timestamp_seconds":1783768326,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e09f70"} 
[2026-07-11 16:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-2445683291029140672,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2995781689,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573969125860,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356103885698923053,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,114,159,251,45,64,178,57,42,10,66,169,41,87,1,240,52,80,32,4,113,205,179,139,144,43,239,50,2,20,7,124,195],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 16:43:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107417189559042048,"timestamp_seconds":4107417189559042.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644686080001,"66":12809,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644686080001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:43:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644686080001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":130745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:43:38] local.INFO: GPS data processed {"connection_id":130745,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:43:38] local.INFO: Acknowledgment sent {"connection_id":130745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:43:40] local.INFO: TCP Data received {"connection_id":129512,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:43:40] local.INFO: Processing buffer {"connection_id":129512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:43:40] local.INFO: Packet analysis {"connection_id":129512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:43:40] local.INFO: Extracted packet for processing {"connection_id":129512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:43:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":129512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:43:40] local.INFO: GPS data processed {"connection_id":129512,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:43:40] local.INFO: Acknowledgment sent {"connection_id":129512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:44:03] local.INFO: TCP Data received {"connection_id":130746,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:44:03] local.INFO: Processing buffer {"connection_id":130746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:44:03] local.INFO: IMEI packet received {"connection_id":130746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":130746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:44:04] local.INFO: TCP Data received {"connection_id":128615,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:44:04] local.INFO: Processing buffer {"connection_id":128615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:44:04] local.INFO: IMEI packet received {"connection_id":128615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":128615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:44:04] local.INFO: TCP Data received {"connection_id":130747,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:44:04] local.INFO: Processing buffer {"connection_id":130747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:44:04] local.INFO: IMEI packet received {"connection_id":130747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":130747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:44:08] local.INFO: TCP Data received {"connection_id":130746,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:44:08] local.INFO: Processing buffer {"connection_id":130746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:44:08] local.INFO: IMEI packet received {"connection_id":130746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":130746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:44:09] local.INFO: TCP Data received {"connection_id":130746,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e00b00012d7a620005e46828000e00ea14..."} 
[2026-07-11 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e00b00012d7a620005e46828000e00ea14..."} 
[2026-07-11 16:44:09] local.INFO: Processing buffer {"connection_id":130746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e00b00012d7a620005e46828000e00ea14..."} 
[2026-07-11 16:44:09] local.INFO: Packet analysis {"connection_id":130746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:44:09] local.INFO: Extracted packet for processing {"connection_id":130746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":98854952,"longitude_deg":76.29952,"latitude_deg":9.8854952,"altitude":14,"angle":234,"satellites":20,"speed":6,"hex_longitude":"2d7a6200","hex_latitude":"05e46828","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644681216001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050171301167104,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818962889372643328,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783768288000,"timestamp_ms":1783768288000,"timestamp_seconds":1783768288,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e00b00"} 
[2026-07-11 16:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 16:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644681216001,"66":12385,"97":206,"85":15104,"24":6,"16":105050171301167104,"45":8818962889372643328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 16:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644681216001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050171301167104,"km_value":105050171301167.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818962889372643328,"description":"Unknown IO ID 45"} 
[2026-07-11 16:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644681216001,"power":12385,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8818962889372643328}} 
[2026-07-11 16:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":130746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:44:09] local.INFO: GPS data processed {"connection_id":130746,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:44:09] local.INFO: Acknowledgment sent {"connection_id":130746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:44:09] local.INFO: TCP Data received {"connection_id":128615,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:44:09] local.INFO: Processing buffer {"connection_id":128615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:44:09] local.INFO: IMEI packet received {"connection_id":128615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":128615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:44:09] local.INFO: TCP Data received {"connection_id":130747,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:44:09] local.INFO: Processing buffer {"connection_id":130747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:44:09] local.INFO: IMEI packet received {"connection_id":130747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":130747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:44:10] local.INFO: TCP Data received {"connection_id":128615,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:44:10] local.INFO: Processing buffer {"connection_id":128615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:44:10] local.INFO: Packet analysis {"connection_id":128615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:44:10] local.INFO: Extracted packet for processing {"connection_id":128615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:44: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-07-11 16: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":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:44:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":128615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:44:10] local.INFO: GPS data processed {"connection_id":128615,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:44:10] local.INFO: Acknowledgment sent {"connection_id":128615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:44:10] local.INFO: TCP Data received {"connection_id":130747,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e0f178012d198b400720b2900039007a2d..."} 
[2026-07-11 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e0f178012d198b400720b2900039007a2d..."} 
[2026-07-11 16:44:10] local.INFO: Processing buffer {"connection_id":130747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e0f178012d198b400720b2900039007a2d..."} 
[2026-07-11 16:44:10] local.INFO: Packet analysis {"connection_id":130747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:44:10] local.INFO: Extracted packet for processing {"connection_id":130747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":45,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644691456001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768347000,"timestamp_ms":1783768347000,"timestamp_seconds":1783768347,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e0f178"} 
[2026-07-11 16:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-2422593546845844672,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2995781689,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887275109916,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356103885698923051,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,114,159,77,45,64,178,57,44,10,66,251,42,169,1,240,9,80,32,4,113,205,5,139,144,40,239,50,2,20,7,124,195],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 16:44:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107417180969107456,"timestamp_seconds":4107417180969107.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644691456001,"66":12722,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644691456001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:44:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:44:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644691456001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":130747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:44:10] local.INFO: GPS data processed {"connection_id":130747,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:44:10] local.INFO: Acknowledgment sent {"connection_id":130747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:44:11] local.INFO: TCP Data received {"connection_id":130747,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e14380012d198b400720b2900039007a2c..."} 
[2026-07-11 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e14380012d198b400720b2900039007a2c..."} 
[2026-07-11 16:44:11] local.INFO: Processing buffer {"connection_id":130747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e14380012d198b400720b2900039007a2c..."} 
[2026-07-11 16:44:11] local.INFO: Packet analysis {"connection_id":130747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:44:11] local.INFO: Extracted packet for processing {"connection_id":130747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":44,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644696832001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783768368000,"timestamp_ms":1783768368000,"timestamp_seconds":1783768368,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e14380"} 
[2026-07-11 16:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 16:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644696832001,"66":12776,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644696832001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:44:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644696832001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":130747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:44:11] local.INFO: GPS data processed {"connection_id":130747,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:44:11] local.INFO: Acknowledgment sent {"connection_id":130747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:44:40] local.INFO: TCP Data received {"connection_id":130746,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e01e88012d7a5e8005e46640000e00f714..."} 
[2026-07-11 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e01e88012d7a5e8005e46640000e00f714..."} 
[2026-07-11 16:44:40] local.INFO: Processing buffer {"connection_id":130746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e01e88012d7a5e8005e46640000e00f714..."} 
[2026-07-11 16:44:40] local.INFO: Packet analysis {"connection_id":130746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:44:40] local.INFO: Extracted packet for processing {"connection_id":130746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:44:40] local.INFO: GPS Element Parsed {"raw_longitude":762994304,"raw_latitude":98854464,"longitude_deg":76.2994304,"latitude_deg":9.8854464,"altitude":14,"angle":247,"satellites":20,"speed":8,"hex_longitude":"2d7a5e80","hex_latitude":"05e46640","is_valid_coordinates":true} 
[2026-07-11 16:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644681728001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050222840774656,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045651720192,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768293000,"timestamp_ms":1783768293000,"timestamp_seconds":1783768293,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e01e88"} 
[2026-07-11 16:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 16:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644681728001,"66":12765,"97":206,"85":15104,"24":8,"16":105050222840774656,"45":8818611045651720192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 16:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644681728001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:44:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 16:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 16:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050222840774656,"km_value":105050222840774.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045651720192,"description":"Unknown IO ID 45"} 
[2026-07-11 16:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644681728001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8818611045651720192}} 
[2026-07-11 16:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":130746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:44:40] local.INFO: GPS data processed {"connection_id":130746,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:44:40] local.INFO: Acknowledgment sent {"connection_id":130746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:44:41] local.INFO: TCP Data received {"connection_id":128615,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:44:41] local.INFO: Processing buffer {"connection_id":128615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:44:41] local.INFO: Packet analysis {"connection_id":128615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:44:41] local.INFO: Extracted packet for processing {"connection_id":128615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:44: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-07-11 16:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:44:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":128615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:44:41] local.INFO: GPS data processed {"connection_id":128615,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:44:41] local.INFO: Acknowledgment sent {"connection_id":128615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:44:43] local.INFO: TCP Data received {"connection_id":130747,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e19588012d198b400720b2900039007a2b..."} 
[2026-07-11 16:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e19588012d198b400720b2900039007a2b..."} 
[2026-07-11 16:44:43] local.INFO: Processing buffer {"connection_id":130747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e19588012d198b400720b2900039007a2b..."} 
[2026-07-11 16:44:43] local.INFO: Packet analysis {"connection_id":130747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:44:43] local.INFO: Extracted packet for processing {"connection_id":130747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644702208001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783768389000,"timestamp_ms":1783768389000,"timestamp_seconds":1783768389,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e19588"} 
[2026-07-11 16:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 16:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644702208001,"66":12743,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644702208001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:44:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644702208001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":130747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:44:43] local.INFO: GPS data processed {"connection_id":130747,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:44:43] local.INFO: Acknowledgment sent {"connection_id":130747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:44:59] local.INFO: TCP Data received {"connection_id":128807,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:44:59] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:44:59] local.INFO: IMEI packet received {"connection_id":128807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":128807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:45:03] local.INFO: TCP Data received {"connection_id":130748,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:45:03] local.INFO: Processing buffer {"connection_id":130748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:45:03] local.INFO: IMEI packet received {"connection_id":130748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":130748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:45:04] local.INFO: TCP Data received {"connection_id":130749,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:45:04] local.INFO: Processing buffer {"connection_id":130749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:45:04] local.INFO: IMEI packet received {"connection_id":130749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":130749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:45:04] local.INFO: TCP Data received {"connection_id":128807,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:45:04] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:45:04] local.INFO: IMEI packet received {"connection_id":128807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:45:05] local.INFO: TCP Data received {"connection_id":128807,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e1e790012d198b400720b2900039007a2b..."} 
[2026-07-11 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e1e790012d198b400720b2900039007a2b..."} 
[2026-07-11 16:45:05] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e1e790012d198b400720b2900039007a2b..."} 
[2026-07-11 16:45:05] local.INFO: Packet analysis {"connection_id":128807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:45:05] local.INFO: Extracted packet for processing {"connection_id":128807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644707584001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783768410000,"timestamp_ms":1783768410000,"timestamp_seconds":1783768410,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e1e790"} 
[2026-07-11 16:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 16:45:05] 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-07-11 16:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644707584001,"66":12711,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644707584001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644707584001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":128807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:45:05] local.INFO: GPS data processed {"connection_id":128807,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:45:05] local.INFO: Acknowledgment sent {"connection_id":128807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:45:08] local.INFO: TCP Data received {"connection_id":130748,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:45:08] local.INFO: Processing buffer {"connection_id":130748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:45:08] local.INFO: IMEI packet received {"connection_id":130748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":130748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:45:09] local.INFO: TCP Data received {"connection_id":130748,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e06ca8012d7a5b8005e46688000e00f613..."} 
[2026-07-11 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e06ca8012d7a5b8005e46688000e00f613..."} 
[2026-07-11 16:45:09] local.INFO: Processing buffer {"connection_id":130748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e06ca8012d7a5b8005e46688000e00f613..."} 
[2026-07-11 16:45:09] local.INFO: Packet analysis {"connection_id":130748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:45:09] local.INFO: Extracted packet for processing {"connection_id":130748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":762993536,"raw_latitude":98854536,"longitude_deg":76.2993536,"latitude_deg":9.8854536,"altitude":14,"angle":246,"satellites":19,"speed":0,"hex_longitude":"2d7a5b80","hex_latitude":"05e46688","is_valid_coordinates":true} 
[2026-07-11 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644683008001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050270085414912,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817625883233107968,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783768313000,"timestamp_ms":1783768313000,"timestamp_seconds":1783768313,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e06ca8"} 
[2026-07-11 16:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 16:45:09] 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-07-11 16:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644683008001,"66":13059,"157":206,"87":12288,"24":0,"16":105050270085414912,"45":8817625883233107968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644683008001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:45:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:45:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050270085414912,"km_value":105050270085414.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817625883233107968,"description":"Unknown IO ID 45"} 
[2026-07-11 16:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644683008001,"power":13059,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8817625883233107968}} 
[2026-07-11 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":130748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:45:09] local.INFO: GPS data processed {"connection_id":130748,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:45:09] local.INFO: Acknowledgment sent {"connection_id":130748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:45:09] local.INFO: TCP Data received {"connection_id":130749,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:45:09] local.INFO: Processing buffer {"connection_id":130749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:45:09] local.INFO: IMEI packet received {"connection_id":130749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":130749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:45:10] local.INFO: TCP Data received {"connection_id":130749,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:45:10] local.INFO: Processing buffer {"connection_id":130749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50de7c90012cb2998007821ea8004a00ef33..."} 
[2026-07-11 16:45:10] local.INFO: Packet analysis {"connection_id":130749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:45:10] local.INFO: Extracted packet for processing {"connection_id":130749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50de"} 
[2026-07-11 16:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":51,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644578560001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768186000,"timestamp_ms":1783768186000,"timestamp_seconds":1783768186,"priority":1,"record_length":96,"hex_timestamp":"0000019f50de7c90"} 
[2026-07-11 16:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:45: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-07-11 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644578560001,"66":25582,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644578560001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:45:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644578560001,"power":25582,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":130749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:45:10] local.INFO: GPS data processed {"connection_id":130749,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:45:10] local.INFO: Acknowledgment sent {"connection_id":130749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:45:10] local.INFO: TCP Data received {"connection_id":128807,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e23998012d198b400720b2900039007a2a..."} 
[2026-07-11 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e23998012d198b400720b2900039007a2a..."} 
[2026-07-11 16:45:10] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e23998012d198b400720b2900039007a2a..."} 
[2026-07-11 16:45:10] local.INFO: Packet analysis {"connection_id":128807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e2"} 
[2026-07-11 16:45:10] local.INFO: Extracted packet for processing {"connection_id":128807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e2"} 
[2026-07-11 16:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":42,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644712960001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768431000,"timestamp_ms":1783768431000,"timestamp_seconds":1783768431,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e23998"} 
[2026-07-11 16:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 16:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644712960001,"66":12722,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644712960001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:45:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:45:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644712960001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":128807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:45:10] local.INFO: GPS data processed {"connection_id":128807,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:45:10] local.INFO: Acknowledgment sent {"connection_id":128807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:45:40] local.INFO: TCP Data received {"connection_id":130748,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e0beb0012d7a5b8005e46688000e00f617..."} 
[2026-07-11 16:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e0beb0012d7a5b8005e46688000e00f617..."} 
[2026-07-11 16:45:40] local.INFO: Processing buffer {"connection_id":130748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e0beb0012d7a5b8005e46688000e00f617..."} 
[2026-07-11 16:45:40] local.INFO: Packet analysis {"connection_id":130748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:45:40] local.INFO: Extracted packet for processing {"connection_id":130748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e0"} 
[2026-07-11 16:45:40] local.INFO: GPS Element Parsed {"raw_longitude":762993536,"raw_latitude":98854536,"longitude_deg":76.2993536,"latitude_deg":9.8854536,"altitude":14,"angle":246,"satellites":23,"speed":0,"hex_longitude":"2d7a5b80","hex_latitude":"05e46688","is_valid_coordinates":true} 
[2026-07-11 16:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644688128001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050270085414912,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816781458302994432,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768334000,"timestamp_ms":1783768334000,"timestamp_seconds":1783768334,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e0beb0"} 
[2026-07-11 16:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732262,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399459,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3757793281,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3221611610,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3829653504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,157,87,24,241,16,54,159,30,45,128,102,14,20,10,66,97,85,11,104,3,64,1,240,145,227,80,228,4,113,205,8,208,119,32,239,49,2,117,5,13,35],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-11 16:45:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009076877995802624,"timestamp_seconds":1009076877995802.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644688128001,"66":13276,"157":206,"87":12288,"24":0,"16":105050270085414912,"45":8816781458302994432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644688128001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:45:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:45:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050270085414912,"km_value":105050270085414.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816781458302994432,"description":"Unknown IO ID 45"} 
[2026-07-11 16:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644688128001,"power":13276,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8816781458302994432}} 
[2026-07-11 16:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":130748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:45:40] local.INFO: GPS data processed {"connection_id":130748,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:45:40] local.INFO: Acknowledgment sent {"connection_id":130748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:45:41] local.INFO: TCP Data received {"connection_id":130749,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:45:41] local.INFO: Processing buffer {"connection_id":130749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:45:41] local.INFO: Packet analysis {"connection_id":130749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:45:41] local.INFO: Extracted packet for processing {"connection_id":130749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":77,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644655616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783768487000,"timestamp_ms":1783768487000,"timestamp_seconds":1783768487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e31458"} 
[2026-07-11 16:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:45: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-07-11 16:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644655616001,"66":25495,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644655616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:45:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644655616001,"power":25495,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":130749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:45:41] local.INFO: GPS data processed {"connection_id":130749,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:45:41] local.INFO: Acknowledgment sent {"connection_id":130749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:45:42] local.INFO: TCP Data received {"connection_id":128807,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e28ba0012d198b400720b2900039007a29..."} 
[2026-07-11 16:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e28ba0012d198b400720b2900039007a29..."} 
[2026-07-11 16:45:42] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e28ba0012d198b400720b2900039007a29..."} 
[2026-07-11 16:45:42] local.INFO: Packet analysis {"connection_id":128807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e2"} 
[2026-07-11 16:45:42] local.INFO: Extracted packet for processing {"connection_id":128807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e2"} 
[2026-07-11 16:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":41,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644718336001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783768452000,"timestamp_ms":1783768452000,"timestamp_seconds":1783768452,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e28ba0"} 
[2026-07-11 16:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 16:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644718336001,"66":12667,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644718336001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:45:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:45:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644718336001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":128807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:45:42] local.INFO: GPS data processed {"connection_id":128807,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:45:42] local.INFO: Acknowledgment sent {"connection_id":128807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:46:00] local.INFO: TCP Data received {"connection_id":130750,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:00] local.INFO: Processing buffer {"connection_id":130750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:00] local.INFO: IMEI packet received {"connection_id":130750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":130750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:46:03] local.INFO: TCP Data received {"connection_id":130751,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:46:03] local.INFO: Processing buffer {"connection_id":130751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:46:03] local.INFO: IMEI packet received {"connection_id":130751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":130751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:46:03] local.INFO: TCP Data received {"connection_id":129514,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:46:03] local.INFO: Processing buffer {"connection_id":129514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:46:03] local.INFO: IMEI packet received {"connection_id":129514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":129514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:46:04] local.INFO: TCP Data received {"connection_id":130750,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:04] local.INFO: Processing buffer {"connection_id":130750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:04] local.INFO: IMEI packet received {"connection_id":130750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":130750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:46:06] local.INFO: TCP Data received {"connection_id":130750,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e2dda8012d198b400720b2900039007a27..."} 
[2026-07-11 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e2dda8012d198b400720b2900039007a27..."} 
[2026-07-11 16:46:06] local.INFO: Processing buffer {"connection_id":130750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e2dda8012d198b400720b2900039007a27..."} 
[2026-07-11 16:46:06] local.INFO: Packet analysis {"connection_id":130750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e2"} 
[2026-07-11 16:46:06] local.INFO: Extracted packet for processing {"connection_id":130750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e2"} 
[2026-07-11 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644723712001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783768473000,"timestamp_ms":1783768473000,"timestamp_seconds":1783768473,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e2dda8"} 
[2026-07-11 16:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 16:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644723712001,"66":12689,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644723712001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:46:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644723712001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":130750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:46:06] local.INFO: GPS data processed {"connection_id":130750,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:46:06] local.INFO: Acknowledgment sent {"connection_id":130750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:46:08] local.INFO: TCP Data received {"connection_id":128616,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:46:08] local.INFO: Processing buffer {"connection_id":128616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:46:08] local.INFO: IMEI packet received {"connection_id":128616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":128616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:46:08] local.INFO: TCP Data received {"connection_id":130751,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:46:08] local.INFO: Processing buffer {"connection_id":130751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:46:08] local.INFO: IMEI packet received {"connection_id":130751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":130751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:46:09] local.INFO: TCP Data received {"connection_id":129514,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:46:09] local.INFO: Processing buffer {"connection_id":129514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:46:09] local.INFO: IMEI packet received {"connection_id":129514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":129514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:46:09] local.INFO: TCP Data received {"connection_id":130751,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e10118012d7a520005e464d0000e00f918..."} 
[2026-07-11 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e10118012d7a520005e464d0000e00f918..."} 
[2026-07-11 16:46:09] local.INFO: Processing buffer {"connection_id":130751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e10118012d7a520005e464d0000e00f918..."} 
[2026-07-11 16:46:09] local.INFO: Packet analysis {"connection_id":130751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:46:09] local.INFO: Extracted packet for processing {"connection_id":130751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":762991104,"raw_latitude":98854096,"longitude_deg":76.2991104,"latitude_deg":9.8854096,"altitude":14,"angle":249,"satellites":24,"speed":5,"hex_longitude":"2d7a5200","hex_latitude":"05e464d0","is_valid_coordinates":true} 
[2026-07-11 16:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644693504001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050394639466496,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816781458302994432,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783768351000,"timestamp_ms":1783768351000,"timestamp_seconds":1783768351,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e10118"} 
[2026-07-11 16:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-11 16:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644693504001,"66":12982,"157":206,"87":12288,"24":5,"16":105050394639466496,"45":8816781458302994432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644693504001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:46:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:46:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050394639466496,"km_value":105050394639466.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816781458302994432,"description":"Unknown IO ID 45"} 
[2026-07-11 16:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644693504001,"power":12982,"unknown_157":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8816781458302994432}} 
[2026-07-11 16:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":130751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:46:09] local.INFO: GPS data processed {"connection_id":130751,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:46:09] local.INFO: Acknowledgment sent {"connection_id":130751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:46:10] local.INFO: TCP Data received {"connection_id":129514,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:46:10] local.INFO: Processing buffer {"connection_id":129514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:46:10] local.INFO: Packet analysis {"connection_id":129514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:46:10] local.INFO: Extracted packet for processing {"connection_id":129514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":77,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644655616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768487000,"timestamp_ms":1783768487000,"timestamp_seconds":1783768487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e31458"} 
[2026-07-11 16:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:46: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-07-11 16:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644655616001,"66":25495,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644655616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:46:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644655616001,"power":25495,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":129514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:46:10] local.INFO: GPS data processed {"connection_id":129514,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:46:10] local.INFO: Acknowledgment sent {"connection_id":129514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:46:38] local.INFO: TCP Data received {"connection_id":130750,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e32fb0012d198b400720b2900039007a26..."} 
[2026-07-11 16:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e32fb0012d198b400720b2900039007a26..."} 
[2026-07-11 16:46:38] local.INFO: Processing buffer {"connection_id":130750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e32fb0012d198b400720b2900039007a26..."} 
[2026-07-11 16:46:38] local.INFO: Packet analysis {"connection_id":130750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:46:38] local.INFO: Extracted packet for processing {"connection_id":130750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":38,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644729088001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783768494000,"timestamp_ms":1783768494000,"timestamp_seconds":1783768494,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e32fb0"} 
[2026-07-11 16:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 16:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644729088001,"66":12678,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644729088001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:46:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644729088001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":130750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:46:38] local.INFO: GPS data processed {"connection_id":130750,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:46:38] local.INFO: Acknowledgment sent {"connection_id":130750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:46:40] local.INFO: TCP Data received {"connection_id":130751,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e10118012d7a520005e464d0000e00f918..."} 
[2026-07-11 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e10118012d7a520005e464d0000e00f918..."} 
[2026-07-11 16:46:40] local.INFO: Processing buffer {"connection_id":130751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e10118012d7a520005e464d0000e00f918..."} 
[2026-07-11 16:46:40] local.INFO: Packet analysis {"connection_id":130751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:46:40] local.INFO: Extracted packet for processing {"connection_id":130751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":762991104,"raw_latitude":98854096,"longitude_deg":76.2991104,"latitude_deg":9.8854096,"altitude":14,"angle":249,"satellites":24,"speed":5,"hex_longitude":"2d7a5200","hex_latitude":"05e464d0","is_valid_coordinates":true} 
[2026-07-11 16:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644697856001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050394639466496,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814107446024130560,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768351000,"timestamp_ms":1783768351000,"timestamp_seconds":1783768351,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e10118"} 
[2026-07-11 16:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-11 16:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644697856001,"66":12982,"157":206,"87":12288,"24":5,"16":105050394639466496,"45":8814107446024130560},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644697856001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:46:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:46:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050394639466496,"km_value":105050394639466.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814107446024130560,"description":"Unknown IO ID 45"} 
[2026-07-11 16:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644697856001,"power":12982,"unknown_157":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8814107446024130560}} 
[2026-07-11 16:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":130751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:46:40] local.INFO: GPS data processed {"connection_id":130751,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:46:40] local.INFO: Acknowledgment sent {"connection_id":130751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:46:40] local.INFO: TCP Data received {"connection_id":129514,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:46:40] local.INFO: Processing buffer {"connection_id":129514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:46:40] local.INFO: Packet analysis {"connection_id":129514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:46:40] local.INFO: Extracted packet for processing {"connection_id":129514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":77,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644655616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768487000,"timestamp_ms":1783768487000,"timestamp_seconds":1783768487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e31458"} 
[2026-07-11 16:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:46: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-07-11 16: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":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644655616001,"66":25495,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644655616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:46:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644655616001,"power":25495,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":129514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:46:41] local.INFO: GPS data processed {"connection_id":129514,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:46:41] local.INFO: Acknowledgment sent {"connection_id":129514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:46:45] local.INFO: TCP Data received {"connection_id":128617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:46:45] local.INFO: Processing buffer {"connection_id":128617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:46:45] local.INFO: IMEI packet received {"connection_id":128617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":128617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:46:56] local.INFO: TCP Data received {"connection_id":128808,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:56] local.INFO: Processing buffer {"connection_id":128808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:56] local.INFO: IMEI packet received {"connection_id":128808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":128808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:46:59] local.INFO: TCP Data received {"connection_id":128808,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:59] local.INFO: Processing buffer {"connection_id":128808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:46:59] local.INFO: IMEI packet received {"connection_id":128808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":128808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:47:02] local.INFO: TCP Data received {"connection_id":130752,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:47:02] local.INFO: Processing buffer {"connection_id":130752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:47:02] local.INFO: IMEI packet received {"connection_id":130752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":130752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:47:04] local.INFO: TCP Data received {"connection_id":128808,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:47:04] local.INFO: Processing buffer {"connection_id":128808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:47:04] local.INFO: IMEI packet received {"connection_id":128808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:47:06] local.INFO: TCP Data received {"connection_id":128808,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e381b8012d198b400720b2900039007a27..."} 
[2026-07-11 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e381b8012d198b400720b2900039007a27..."} 
[2026-07-11 16:47:06] local.INFO: Processing buffer {"connection_id":128808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e381b8012d198b400720b2900039007a27..."} 
[2026-07-11 16:47:06] local.INFO: Packet analysis {"connection_id":128808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:47:06] local.INFO: Extracted packet for processing {"connection_id":128808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644734464001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783768515000,"timestamp_ms":1783768515000,"timestamp_seconds":1783768515,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e381b8"} 
[2026-07-11 16:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 16:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644734464001,"66":12667,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644734464001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:47:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644734464001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":128808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:47:06] local.INFO: GPS data processed {"connection_id":128808,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:47:06] local.INFO: Acknowledgment sent {"connection_id":128808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:47:08] local.INFO: TCP Data received {"connection_id":130752,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:47:08] local.INFO: Processing buffer {"connection_id":130752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:47:08] local.INFO: IMEI packet received {"connection_id":130752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":130752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:47:09] local.INFO: TCP Data received {"connection_id":130752,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e110b8012d7a510005e46480000e010318..."} 
[2026-07-11 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e110b8012d7a510005e46480000e010318..."} 
[2026-07-11 16:47:09] local.INFO: Processing buffer {"connection_id":130752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e110b8012d7a510005e46480000e010318..."} 
[2026-07-11 16:47:09] local.INFO: Packet analysis {"connection_id":130752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:47:09] local.INFO: Extracted packet for processing {"connection_id":130752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e1"} 
[2026-07-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":762990848,"raw_latitude":98854016,"longitude_deg":76.2990848,"latitude_deg":9.8854016,"altitude":14,"angle":259,"satellites":24,"speed":0,"hex_longitude":"2d7a5100","hex_latitude":"05e46480","is_valid_coordinates":true} 
[2026-07-11 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644697856001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050394639466496,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814107446024130560,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783768355000,"timestamp_ms":1783768355000,"timestamp_seconds":1783768355,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e110b8"} 
[2026-07-11 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-11 16:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644697856001,"66":12874,"157":206,"87":12288,"24":0,"16":105050394639466496,"45":8814107446024130560},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644697856001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050394639466496,"km_value":105050394639466.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814107446024130560,"description":"Unknown IO ID 45"} 
[2026-07-11 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644697856001,"power":12874,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8814107446024130560}} 
[2026-07-11 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":130752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:47:09] local.INFO: GPS data processed {"connection_id":130752,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:47:09] local.INFO: Acknowledgment sent {"connection_id":130752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:47:09] local.INFO: TCP Data received {"connection_id":128618,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:47:09] local.INFO: Processing buffer {"connection_id":128618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:47:09] local.INFO: IMEI packet received {"connection_id":128618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":128618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:47:14] local.INFO: TCP Data received {"connection_id":128618,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:47:14] local.INFO: Processing buffer {"connection_id":128618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:47:14] local.INFO: IMEI packet received {"connection_id":128618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":128618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:47:15] local.INFO: TCP Data received {"connection_id":128618,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:47:15] local.INFO: Processing buffer {"connection_id":128618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:47:15] local.INFO: Packet analysis {"connection_id":128618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:47:15] local.INFO: Extracted packet for processing {"connection_id":128618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":77,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644655616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783768487000,"timestamp_ms":1783768487000,"timestamp_seconds":1783768487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e31458"} 
[2026-07-11 16:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644655616001,"66":25495,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644655616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:47:15] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:47:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644655616001,"power":25495,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":128618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:47:15] local.INFO: GPS data processed {"connection_id":128618,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:47:15] local.INFO: Acknowledgment sent {"connection_id":128618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:47:38] local.INFO: TCP Data received {"connection_id":128808,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e3d3c0012d198b400720b2900039007a2a..."} 
[2026-07-11 16:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e3d3c0012d198b400720b2900039007a2a..."} 
[2026-07-11 16:47:38] local.INFO: Processing buffer {"connection_id":128808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e3d3c0012d198b400720b2900039007a2a..."} 
[2026-07-11 16:47:38] local.INFO: Packet analysis {"connection_id":128808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:47:38] local.INFO: Extracted packet for processing {"connection_id":128808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":42,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644739840001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783768536000,"timestamp_ms":1783768536000,"timestamp_seconds":1783768536,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e3d3c0"} 
[2026-07-11 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-07-11 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 16:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644739840001,"66":12667,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644739840001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:47:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644739840001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":128808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:47:38] local.INFO: GPS data processed {"connection_id":128808,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:47:38] local.INFO: Acknowledgment sent {"connection_id":128808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:47:40] local.INFO: TCP Data received {"connection_id":130752,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e58d28012d7a51c005e46478000e010321..."} 
[2026-07-11 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e58d28012d7a51c005e46478000e010321..."} 
[2026-07-11 16:47:40] local.INFO: Processing buffer {"connection_id":130752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e58d28012d7a51c005e46478000e010321..."} 
[2026-07-11 16:47:40] local.INFO: Packet analysis {"connection_id":130752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e5"} 
[2026-07-11 16:47:40] local.INFO: Extracted packet for processing {"connection_id":130752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e5"} 
[2026-07-11 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":762991040,"raw_latitude":98854008,"longitude_deg":76.299104,"latitude_deg":9.8854008,"altitude":14,"angle":259,"satellites":33,"speed":0,"hex_longitude":"2d7a51c0","hex_latitude":"05e46478","is_valid_coordinates":true} 
[2026-07-11 16:47: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-07-11 16:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644698880001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050394639466496,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813825971047399424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768649000,"timestamp_ms":1783768649000,"timestamp_seconds":1783768649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e58d28"} 
[2026-07-11 16:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-11 16:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644698880001,"66":12809,"157":206,"87":12288,"24":0,"16":105050394639466496,"45":8813825971047399424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644698880001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:47:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:47:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050394639466496,"km_value":105050394639466.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813825971047399424,"description":"Unknown IO ID 45"} 
[2026-07-11 16:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644698880001,"power":12809,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8813825971047399424}} 
[2026-07-11 16:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":130752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:47:40] local.INFO: GPS data processed {"connection_id":130752,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:47:40] local.INFO: Acknowledgment sent {"connection_id":130752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:47:46] local.INFO: TCP Data received {"connection_id":128618,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:47:46] local.INFO: Processing buffer {"connection_id":128618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:47:46] local.INFO: Packet analysis {"connection_id":128618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:47:46] local.INFO: Extracted packet for processing {"connection_id":128618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":77,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644655616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783768487000,"timestamp_ms":1783768487000,"timestamp_seconds":1783768487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e31458"} 
[2026-07-11 16:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644655616001,"66":25495,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644655616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:47:46] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:47:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:47:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644655616001,"power":25495,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":128618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:47:46] local.INFO: GPS data processed {"connection_id":128618,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:47:46] local.INFO: Acknowledgment sent {"connection_id":128618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:48:00] local.INFO: TCP Data received {"connection_id":129516,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:48:00] local.INFO: Processing buffer {"connection_id":129516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:48:00] local.INFO: IMEI packet received {"connection_id":129516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":129516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:48:00] local.INFO: TCP Data received {"connection_id":129516,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:48:00] local.INFO: Processing buffer {"connection_id":129516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:48:00] local.INFO: IMEI packet received {"connection_id":129516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":129516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:48:04] local.INFO: TCP Data received {"connection_id":128619,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:48:04] local.INFO: Processing buffer {"connection_id":128619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:48:04] local.INFO: IMEI packet received {"connection_id":128619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":128619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:48:04] local.INFO: TCP Data received {"connection_id":129516,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:48:04] local.INFO: Processing buffer {"connection_id":129516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:48:04] local.INFO: IMEI packet received {"connection_id":129516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":129516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:48:06] local.INFO: TCP Data received {"connection_id":129516,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e425c8012d198b400720b2900039007a2b..."} 
[2026-07-11 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e425c8012d198b400720b2900039007a2b..."} 
[2026-07-11 16:48:06] local.INFO: Processing buffer {"connection_id":129516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e425c8012d198b400720b2900039007a2b..."} 
[2026-07-11 16:48:06] local.INFO: Packet analysis {"connection_id":129516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e4"} 
[2026-07-11 16:48:06] local.INFO: Extracted packet for processing {"connection_id":129516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e4"} 
[2026-07-11 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644745216001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783768557000,"timestamp_ms":1783768557000,"timestamp_seconds":1783768557,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e425c8"} 
[2026-07-11 16:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 16:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644745216001,"66":12645,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644745216001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:48:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644745216001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":129516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:48:06] local.INFO: GPS data processed {"connection_id":129516,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:48:06] local.INFO: Acknowledgment sent {"connection_id":129516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:48:08] local.INFO: TCP Data received {"connection_id":128809,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:48:08] local.INFO: Processing buffer {"connection_id":128809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:48:08] local.INFO: IMEI packet received {"connection_id":128809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":128809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:48:09] local.INFO: TCP Data received {"connection_id":128619,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:48:09] local.INFO: Processing buffer {"connection_id":128619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:48:09] local.INFO: IMEI packet received {"connection_id":128619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":128619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:48:10] local.INFO: TCP Data received {"connection_id":128619,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:48:10] local.INFO: Processing buffer {"connection_id":128619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:48:10] local.INFO: Packet analysis {"connection_id":128619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:48:10] local.INFO: Extracted packet for processing {"connection_id":128619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":77,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644655616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768487000,"timestamp_ms":1783768487000,"timestamp_seconds":1783768487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e31458"} 
[2026-07-11 16:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:48: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-07-11 16:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644655616001,"66":25495,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644655616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:48:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644655616001,"power":25495,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":128619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:48:10] local.INFO: GPS data processed {"connection_id":128619,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:48:10] local.INFO: Acknowledgment sent {"connection_id":128619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:48:13] local.INFO: TCP Data received {"connection_id":128809,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:48:13] local.INFO: Processing buffer {"connection_id":128809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:48:13] local.INFO: IMEI packet received {"connection_id":128809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":128809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:48:13] local.INFO: TCP Data received {"connection_id":128809,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e58d28012d7a51c005e46478000e010321..."} 
[2026-07-11 16:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e58d28012d7a51c005e46478000e010321..."} 
[2026-07-11 16:48:13] local.INFO: Processing buffer {"connection_id":128809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e58d28012d7a51c005e46478000e010321..."} 
[2026-07-11 16:48:13] local.INFO: Packet analysis {"connection_id":128809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e5"} 
[2026-07-11 16:48:13] local.INFO: Extracted packet for processing {"connection_id":128809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e5"} 
[2026-07-11 16:48:13] local.INFO: GPS Element Parsed {"raw_longitude":762991040,"raw_latitude":98854008,"longitude_deg":76.299104,"latitude_deg":9.8854008,"altitude":14,"angle":259,"satellites":33,"speed":0,"hex_longitude":"2d7a51c0","hex_latitude":"05e46478","is_valid_coordinates":true} 
[2026-07-11 16:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644774144001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050394639466496,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814037077279930368,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783768649000,"timestamp_ms":1783768649000,"timestamp_seconds":1783768649,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e58d28"} 
[2026-07-11 16:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-2302746779411914240,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2818649466,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2147869798,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1988295254784021996,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789676851769771,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:13] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,157,87,24,241,16,54,159,45,100,14,10,66,1,240,182,227,80,228,4,113,205,108,91,136,19,239,51,2,117,5,8,49,59],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0}]} 
[2026-07-11 16:48:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009091231776506095,"timestamp_seconds":1009091231776506.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644774144001,"66":12809,"157":206,"87":12288,"24":0,"16":105050394639466496,"45":8814037077279930368},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644774144001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:48:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:48:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050394639466496,"km_value":105050394639466.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814037077279930368,"description":"Unknown IO ID 45"} 
[2026-07-11 16:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644774144001,"power":12809,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8814037077279930368}} 
[2026-07-11 16:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":128809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:48:13] local.INFO: GPS data processed {"connection_id":128809,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:48:13] local.INFO: Acknowledgment sent {"connection_id":128809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:48:37] local.INFO: TCP Data received {"connection_id":129516,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e477d0012d198b400720b2900039007a2b..."} 
[2026-07-11 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e477d0012d198b400720b2900039007a2b..."} 
[2026-07-11 16:48:37] local.INFO: Processing buffer {"connection_id":129516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e477d0012d198b400720b2900039007a2b..."} 
[2026-07-11 16:48:37] local.INFO: Packet analysis {"connection_id":129516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e4"} 
[2026-07-11 16:48:37] local.INFO: Extracted packet for processing {"connection_id":129516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e4"} 
[2026-07-11 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644750592001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783768578000,"timestamp_ms":1783768578000,"timestamp_seconds":1783768578,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e477d0"} 
[2026-07-11 16:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 16:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644750592001,"66":12591,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644750592001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:48:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644750592001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":129516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:48:37] local.INFO: GPS data processed {"connection_id":129516,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:48:37] local.INFO: Acknowledgment sent {"connection_id":129516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:48:41] local.INFO: TCP Data received {"connection_id":128619,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:48:41] local.INFO: Processing buffer {"connection_id":128619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:48:41] local.INFO: Packet analysis {"connection_id":128619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:48:41] local.INFO: Extracted packet for processing {"connection_id":128619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":77,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644655616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783768487000,"timestamp_ms":1783768487000,"timestamp_seconds":1783768487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e31458"} 
[2026-07-11 16:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:48: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-07-11 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644655616001,"66":25495,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644655616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:48:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644655616001,"power":25495,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":128619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:48:41] local.INFO: GPS data processed {"connection_id":128619,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:48:41] local.INFO: Acknowledgment sent {"connection_id":128619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:48:45] local.INFO: TCP Data received {"connection_id":128809,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e5e318012d7a458005e45fe0001800fa22..."} 
[2026-07-11 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e5e318012d7a458005e45fe0001800fa22..."} 
[2026-07-11 16:48:45] local.INFO: Processing buffer {"connection_id":128809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e5e318012d7a458005e45fe0001800fa22..."} 
[2026-07-11 16:48:45] local.INFO: Packet analysis {"connection_id":128809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e5"} 
[2026-07-11 16:48:45] local.INFO: Extracted packet for processing {"connection_id":128809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e5"} 
[2026-07-11 16:48:45] local.INFO: GPS Element Parsed {"raw_longitude":762987904,"raw_latitude":98852832,"longitude_deg":76.2987904,"latitude_deg":9.8852832,"altitude":24,"angle":250,"satellites":34,"speed":11,"hex_longitude":"2d7a4580","hex_latitude":"05e45fe0","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644774144001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105050557848223744,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814037077279930368,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783768671000,"timestamp_ms":1783768671000,"timestamp_seconds":1783768671,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e5e318"} 
[2026-07-11 16:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-2297249221273035136,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1988831816458373356,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2147869798,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398416559787607,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 16:48:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,157,87,24,241,16,54,159,141,45,192,100,14,33,10,66,1,240,182,227,80,228,4,113,205,5,190,91,136,23,239,51,2,117,48,170],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0}]} 
[2026-07-11 16:48:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009091231776506096,"timestamp_seconds":1009091231776506.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 16:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644774144001,"66":12200,"157":206,"87":12288,"24":11,"16":105050557848223744,"45":8814037077279930368},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644774144001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:48:45] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:48:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105050557848223744,"km_value":105050557848223.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814037077279930368,"description":"Unknown IO ID 45"} 
[2026-07-11 16:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644774144001,"power":12200,"unknown_157":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8814037077279930368}} 
[2026-07-11 16:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":128809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:48:45] local.INFO: GPS data processed {"connection_id":128809,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:48:45] local.INFO: Acknowledgment sent {"connection_id":128809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:49:04] local.INFO: TCP Data received {"connection_id":129517,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:49:04] local.INFO: Processing buffer {"connection_id":129517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:49:04] local.INFO: IMEI packet received {"connection_id":129517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":129517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:49:04] local.INFO: TCP Data received {"connection_id":128810,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:49:04] local.INFO: Processing buffer {"connection_id":128810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:49:04] local.INFO: IMEI packet received {"connection_id":128810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":128810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:49:09] local.INFO: TCP Data received {"connection_id":129517,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:49:09] local.INFO: Processing buffer {"connection_id":129517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:49:09] local.INFO: IMEI packet received {"connection_id":129517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":129517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:49:10] local.INFO: TCP Data received {"connection_id":128810,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:49:10] local.INFO: Processing buffer {"connection_id":128810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:49:10] local.INFO: IMEI packet received {"connection_id":128810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":128810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:49:10] local.INFO: TCP Data received {"connection_id":129517,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:49:10] local.INFO: Processing buffer {"connection_id":129517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:49:10] local.INFO: Packet analysis {"connection_id":129517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:49:10] local.INFO: Extracted packet for processing {"connection_id":129517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":77,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644655616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783768487000,"timestamp_ms":1783768487000,"timestamp_seconds":1783768487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e31458"} 
[2026-07-11 16:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:49: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-07-11 16:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644655616001,"66":25495,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644655616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:49:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644655616001,"power":25495,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":129517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:49:10] local.INFO: GPS data processed {"connection_id":129517,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:49:10] local.INFO: Acknowledgment sent {"connection_id":129517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:49:11] local.INFO: TCP Data received {"connection_id":128810,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e4c9d8012d198b400720b2900039007a2c..."} 
[2026-07-11 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e4c9d8012d198b400720b2900039007a2c..."} 
[2026-07-11 16:49:11] local.INFO: Processing buffer {"connection_id":128810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e4c9d8012d198b400720b2900039007a2c..."} 
[2026-07-11 16:49:11] local.INFO: Packet analysis {"connection_id":128810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e4"} 
[2026-07-11 16:49:11] local.INFO: Extracted packet for processing {"connection_id":128810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e4"} 
[2026-07-11 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583376,"longitude_deg":75.6648768,"latitude_deg":11.9583376,"altitude":57,"angle":122,"satellites":44,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-11 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644755968001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5755681378402304,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068501504,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783768599000,"timestamp_ms":1783768599000,"timestamp_seconds":1783768599,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e4c9d8"} 
[2026-07-11 16:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 16:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644755968001,"66":12613,"121":206,"28":31744,"24":0,"16":5755681378402304,"45":1840635272068501504},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644755968001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:49:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5755681378402304,"km_value":5755681378402.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068501504,"description":"Unknown IO ID 45"} 
[2026-07-11 16:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644755968001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068501504}} 
[2026-07-11 16:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":128810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:49:11] local.INFO: GPS data processed {"connection_id":128810,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:49:11] local.INFO: Acknowledgment sent {"connection_id":128810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:49:31] local.INFO: TCP Data received {"connection_id":128811,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:49:31] local.INFO: Processing buffer {"connection_id":128811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:49:31] local.INFO: IMEI packet received {"connection_id":128811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":128811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:49:32] local.INFO: TCP Data received {"connection_id":128811,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:49:32] local.INFO: Processing buffer {"connection_id":128811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:49:32] local.INFO: IMEI packet received {"connection_id":128811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":128811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:49:34] local.INFO: TCP Data received {"connection_id":128811,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e692e0012d7a228005e46918001000f321..."} 
[2026-07-11 16:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e692e0012d7a228005e46918001000f321..."} 
[2026-07-11 16:49:34] local.INFO: Processing buffer {"connection_id":128811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e692e0012d7a228005e46918001000f321..."} 
[2026-07-11 16:49:34] local.INFO: Packet analysis {"connection_id":128811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e6"} 
[2026-07-11 16:49:34] local.INFO: Extracted packet for processing {"connection_id":128811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e6"} 
[2026-07-11 16:49:34] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":98855192,"longitude_deg":76.2978944,"latitude_deg":9.8855192,"altitude":16,"angle":243,"satellites":33,"speed":6,"hex_longitude":"2d7a2280","hex_latitude":"05e46918","is_valid_coordinates":true} 
[2026-07-11 16:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644791040001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051086129201152,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859607388160,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783768716000,"timestamp_ms":1783768716000,"timestamp_seconds":1783768716,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e692e0"} 
[2026-07-11 16:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 16:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":128811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":128811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":128811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644791040001,"66":12058,"157":206,"87":12288,"24":6,"16":105051086129201152,"45":8801018859607388160},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644791040001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:49:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:49:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051086129201152,"km_value":105051086129201.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859607388160,"description":"Unknown IO ID 45"} 
[2026-07-11 16:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644791040001,"power":12058,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8801018859607388160}} 
[2026-07-11 16:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":128811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:49:34] local.INFO: GPS data processed {"connection_id":128811,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:49:34] local.INFO: Acknowledgment sent {"connection_id":128811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:49:35] local.INFO: TCP Data received {"connection_id":128811,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e6b608012d7a1d8005e467c0000d00fb22..."} 
[2026-07-11 16:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e6b608012d7a1d8005e467c0000d00fb22..."} 
[2026-07-11 16:49:35] local.INFO: Processing buffer {"connection_id":128811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e6b608012d7a1d8005e467c0000d00fb22..."} 
[2026-07-11 16:49:35] local.INFO: Packet analysis {"connection_id":128811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e6"} 
[2026-07-11 16:49:35] local.INFO: Extracted packet for processing {"connection_id":128811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e6"} 
[2026-07-11 16:49:35] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98854848,"longitude_deg":76.2977664,"latitude_deg":9.8854848,"altitude":13,"angle":251,"satellites":34,"speed":3,"hex_longitude":"2d7a1d80","hex_latitude":"05e467c0","is_valid_coordinates":true} 
[2026-07-11 16:49: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-07-11 16:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644791296001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800737384630654976,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783768725000,"timestamp_ms":1783768725000,"timestamp_seconds":1783768725,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e6b608"} 
[2026-07-11 16:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 16:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":128811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":128811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":128811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644791296001,"66":12939,"157":206,"87":12288,"24":3,"16":105051150553710592,"45":8800737384630654976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644791296001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:49:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:49:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800737384630654976,"description":"Unknown IO ID 45"} 
[2026-07-11 16:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644791296001,"power":12939,"unknown_157":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8800737384630654976}} 
[2026-07-11 16:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":128811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:49:35] local.INFO: GPS data processed {"connection_id":128811,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:49:35] local.INFO: Acknowledgment sent {"connection_id":128811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:49:41] local.INFO: TCP Data received {"connection_id":129517,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:49:41] local.INFO: Processing buffer {"connection_id":129517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e31458012cb2998007821ea8004d00ef30..."} 
[2026-07-11 16:49:41] local.INFO: Packet analysis {"connection_id":129517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:49:41] local.INFO: Extracted packet for processing {"connection_id":129517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e3"} 
[2026-07-11 16:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":77,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644655616001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783768487000,"timestamp_ms":1783768487000,"timestamp_seconds":1783768487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e31458"} 
[2026-07-11 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-07-11 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-07-11 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 16:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644655616001,"66":25495,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644655616001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:49:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644655616001,"power":25495,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":129517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:49:41] local.INFO: GPS data processed {"connection_id":129517,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:49:41] local.INFO: Acknowledgment sent {"connection_id":129517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:50:03] local.INFO: TCP Data received {"connection_id":130754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:50:03] local.INFO: Processing buffer {"connection_id":130754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:50:03] local.INFO: IMEI packet received {"connection_id":130754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":130754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:50:08] local.INFO: TCP Data received {"connection_id":130754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:50:08] local.INFO: Processing buffer {"connection_id":130754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:50:08] local.INFO: IMEI packet received {"connection_id":130754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":130754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:50:09] local.INFO: TCP Data received {"connection_id":130754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e72750012cb2998007821ea8004a00ef31..."} 
[2026-07-11 16:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e72750012cb2998007821ea8004a00ef31..."} 
[2026-07-11 16:50:09] local.INFO: Processing buffer {"connection_id":130754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e72750012cb2998007821ea8004a00ef31..."} 
[2026-07-11 16:50:09] local.INFO: Packet analysis {"connection_id":130754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e7"} 
[2026-07-11 16:50:09] local.INFO: Extracted packet for processing {"connection_id":130754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e7"} 
[2026-07-11 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":749902208,"raw_latitude":125968040,"longitude_deg":74.9902208,"latitude_deg":12.596804,"altitude":74,"angle":239,"satellites":49,"speed":0,"hex_longitude":"2cb29980","hex_latitude":"07821ea8","is_valid_coordinates":true} 
[2026-07-11 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644732672001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197555350503424,"note":"Value kept but may cause issues"} 
[2026-07-11 16:50:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783768754000,"timestamp_ms":1783768754000,"timestamp_seconds":1783768754,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e72750"} 
[2026-07-11 16:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:50: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-07-11 16: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-07-11 16: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-07-11 16: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-07-11 16:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644732672001,"66":25462,"91":206,"85":36096,"24":0,"16":345197555350503424,"44":-5577285893785475072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644732672001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:50:09] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197555350503424,"km_value":345197555350503.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:50:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644732672001,"power":25462,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":130754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:50:09] local.INFO: GPS data processed {"connection_id":130754,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:50:09] local.INFO: Acknowledgment sent {"connection_id":130754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:50:12] local.INFO: TCP Data received {"connection_id":128812,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:50:12] local.INFO: Processing buffer {"connection_id":128812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:50:12] local.INFO: IMEI packet received {"connection_id":128812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":128812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:50:13] local.INFO: TCP Data received {"connection_id":128810,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e6b9f0012d19cb800720a6a80036002c2d..."} 
[2026-07-11 16:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e6b9f0012d19cb800720a6a80036002c2d..."} 
[2026-07-11 16:50:13] local.INFO: Processing buffer {"connection_id":128810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e6b9f0012d19cb800720a6a80036002c2d..."} 
[2026-07-11 16:50:13] local.INFO: Packet analysis {"connection_id":128810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e6"} 
[2026-07-11 16:50:13] local.INFO: Extracted packet for processing {"connection_id":128810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e6"} 
[2026-07-11 16:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119580328,"longitude_deg":75.6665216,"latitude_deg":11.9580328,"altitude":54,"angle":44,"satellites":45,"speed":18,"hex_longitude":"2d19cb80","hex_latitude":"0720a6a8","is_valid_coordinates":true} 
[2026-07-11 16:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644793600001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5756510307090432,"note":"Value kept but may cause issues"} 
[2026-07-11 16:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826856241152,"note":"Value kept but may cause issues"} 
[2026-07-11 16:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783768726000,"timestamp_ms":1783768726000,"timestamp_seconds":1783768726,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e6b9f0"} 
[2026-07-11 16:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 16:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 16:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 16:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 16:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644793600001,"66":13820,"121":206,"28":31744,"24":18,"16":5756510307090432,"45":1858297826856241152},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 16:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 16:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 16:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644793600001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:50:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 16:50:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 16:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5756510307090432,"km_value":5756510307090.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826856241152,"description":"Unknown IO ID 45"} 
[2026-07-11 16:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644793600001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1858297826856241152}} 
[2026-07-11 16:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":128810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:50:14] local.INFO: GPS data processed {"connection_id":128810,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:50:14] local.INFO: Acknowledgment sent {"connection_id":128810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:50:26] local.INFO: TCP Data received {"connection_id":128812,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:50:26] local.INFO: Processing buffer {"connection_id":128812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:50:26] local.INFO: IMEI packet received {"connection_id":128812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":128812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:50:31] local.INFO: TCP Data received {"connection_id":128621,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:31] local.INFO: Processing buffer {"connection_id":128621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:31] local.INFO: IMEI packet received {"connection_id":128621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":128621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:50:33] local.INFO: TCP Data received {"connection_id":128621,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:33] local.INFO: Processing buffer {"connection_id":128621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:33] local.INFO: IMEI packet received {"connection_id":128621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":128621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:50:34] local.INFO: TCP Data received {"connection_id":128621,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:34] local.INFO: Processing buffer {"connection_id":128621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:34] local.INFO: IMEI packet received {"connection_id":128621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":128621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:50:34] local.INFO: TCP Data received {"connection_id":128621,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:34] local.INFO: Processing buffer {"connection_id":128621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:50:34] local.INFO: IMEI packet received {"connection_id":128621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":128621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:50:40] local.INFO: TCP Data received {"connection_id":130754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e78128012cb2984007821ef8004a00ef30..."} 
[2026-07-11 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e78128012cb2984007821ef8004a00ef30..."} 
[2026-07-11 16:50:40] local.INFO: Processing buffer {"connection_id":130754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e78128012cb2984007821ef8004a00ef30..."} 
[2026-07-11 16:50:40] local.INFO: Packet analysis {"connection_id":130754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e7"} 
[2026-07-11 16:50:40] local.INFO: Extracted packet for processing {"connection_id":130754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e7"} 
[2026-07-11 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":749901888,"raw_latitude":125968120,"longitude_deg":74.9901888,"latitude_deg":12.596812,"altitude":74,"angle":239,"satellites":48,"speed":0,"hex_longitude":"2cb29840","hex_latitude":"07821ef8","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644801024001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345197559645470720,"note":"Value kept but may cause issues"} 
[2026-07-11 16:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577285893785475072,"note":"Value kept but may cause issues"} 
[2026-07-11 16:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783768777000,"timestamp_ms":1783768777000,"timestamp_seconds":1783768777,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e78128"} 
[2026-07-11 16:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":118,"data_length":795,"current_offset":136} 
[2026-07-11 16:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644801024001,"66":27865,"91":206,"85":36096,"24":0,"16":345197559645470720,"44":-5577285893785475072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-11 16:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644801024001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:50:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-11 16:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 16:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345197559645470720,"km_value":345197559645470.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577285893785475072,"description":"Unknown IO ID 44"} 
[2026-07-11 16:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644801024001,"power":27865,"unknown_91":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577285893785475072}} 
[2026-07-11 16:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":130754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:50:40] local.INFO: GPS data processed {"connection_id":130754,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:50:40] local.INFO: Acknowledgment sent {"connection_id":130754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:51:03] local.INFO: TCP Data received {"connection_id":128814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:03] local.INFO: Processing buffer {"connection_id":128814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:03] local.INFO: IMEI packet received {"connection_id":128814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":128814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:51:05] local.INFO: TCP Data received {"connection_id":128814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:05] local.INFO: Processing buffer {"connection_id":128814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:05] local.INFO: IMEI packet received {"connection_id":128814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":128814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:51:06] local.INFO: TCP Data received {"connection_id":128814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:06] local.INFO: Processing buffer {"connection_id":128814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:06] local.INFO: IMEI packet received {"connection_id":128814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":128814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:51:08] local.INFO: TCP Data received {"connection_id":128814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:08] local.INFO: Processing buffer {"connection_id":128814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:51:08] local.INFO: IMEI packet received {"connection_id":128814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":128814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:51:23] local.INFO: TCP Data received {"connection_id":128812,"ip":"42.106.6.33","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 16:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128812,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 16:51:23] local.INFO: Processing buffer {"connection_id":128812,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 16:51:23] local.INFO: IMEI packet received {"connection_id":128812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":128812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:52:15] local.INFO: TCP Data received {"connection_id":129518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:52:15] local.INFO: Processing buffer {"connection_id":129518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:52:15] local.INFO: IMEI packet received {"connection_id":129518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":129518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:52:50] local.INFO: TCP Data received {"connection_id":130755,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:52:50] local.INFO: Processing buffer {"connection_id":130755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:52:50] local.INFO: IMEI packet received {"connection_id":130755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":130755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:55:49] local.INFO: TCP Data received {"connection_id":129522,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:55:49] local.INFO: Processing buffer {"connection_id":129522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:55:49] local.INFO: IMEI packet received {"connection_id":129522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":129522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:55:58] local.INFO: TCP Data received {"connection_id":128819,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:55:58] local.INFO: Processing buffer {"connection_id":128819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 16:55:58] local.INFO: IMEI packet received {"connection_id":128819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 16:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":128819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:56:00] local.INFO: TCP Data received {"connection_id":128819,"ip":"117.224.20.79","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128819,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 16:56:00] local.INFO: Processing buffer {"connection_id":128819,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 16:56:00] local.INFO: IMEI packet received {"connection_id":128819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 16:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":128819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:56:02] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:56:02] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:56:02] local.INFO: IMEI packet received {"connection_id":128630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":128630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:56:08] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:56:08] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:56:08] local.INFO: IMEI packet received {"connection_id":128630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":128630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:56:09] local.INFO: TCP Data received {"connection_id":128631,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:56:09] local.INFO: Processing buffer {"connection_id":128631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:56:09] local.INFO: IMEI packet received {"connection_id":128631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":128631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:56:09] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50e6b608012d7a1d8005e467c0000d00fb22..."} 
[2026-07-11 16:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50e6b608012d7a1d8005e467c0000d00fb22..."} 
[2026-07-11 16:56:09] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50e6b608012d7a1d8005e467c0000d00fb22..."} 
[2026-07-11 16:56:09] local.INFO: Packet analysis {"connection_id":128630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50e6"} 
[2026-07-11 16:56:09] local.INFO: Extracted packet for processing {"connection_id":128630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50e6"} 
[2026-07-11 16:56:09] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98854848,"longitude_deg":76.2977664,"latitude_deg":9.8854848,"altitude":13,"angle":251,"satellites":34,"speed":3,"hex_longitude":"2d7a1d80","hex_latitude":"05e467c0","is_valid_coordinates":true} 
[2026-07-11 16:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644793600001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747013632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783768725000,"timestamp_ms":1783768725000,"timestamp_seconds":1783768725,"priority":1,"record_length":96,"hex_timestamp":"0000019f50e6b608"} 
[2026-07-11 16:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 16:56:09] 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-07-11 16: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-07-11 16:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644793600001,"66":12939,"157":206,"87":12288,"24":3,"16":105051150553710592,"45":8799330009747013632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 16:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644793600001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:56:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 16:56:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747013632,"description":"Unknown IO ID 45"} 
[2026-07-11 16:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644793600001,"power":12939,"unknown_157":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8799330009747013632}} 
[2026-07-11 16:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":128630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:56:09] local.INFO: GPS data processed {"connection_id":128630,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:56:09] local.INFO: Acknowledgment sent {"connection_id":128630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:56:10] local.INFO: TCP Data received {"connection_id":128631,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ec20c0012cb4514007809218004c00ac32..."} 
[2026-07-11 16:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ec20c0012cb4514007809218004c00ac32..."} 
[2026-07-11 16:56:10] local.INFO: Processing buffer {"connection_id":128631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ec20c0012cb4514007809218004c00ac32..."} 
[2026-07-11 16:56:10] local.INFO: Packet analysis {"connection_id":128631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ec"} 
[2026-07-11 16:56:10] local.INFO: Extracted packet for processing {"connection_id":128631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ec"} 
[2026-07-11 16:56:10] local.INFO: GPS Element Parsed {"raw_longitude":750014784,"raw_latitude":125866520,"longitude_deg":75.0014784,"latitude_deg":12.586652,"altitude":76,"angle":172,"satellites":50,"speed":9,"hex_longitude":"2cb45140","hex_latitude":"07809218","is_valid_coordinates":true} 
[2026-07-11 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644879104001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345205982076338176,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5453577641546153984,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783769080000,"timestamp_ms":1783769080000,"timestamp_seconds":1783769080,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ec20c0"} 
[2026-07-11 16:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 16:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644879104001,"66":27865,"239":206,"85":36864,"24":9,"16":345205982076338176,"44":-5453577641546153984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 16:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644879104001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:56:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 16:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345205982076338176,"km_value":345205982076338.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5453577641546153984,"description":"Unknown IO ID 44"} 
[2026-07-11 16:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644879104001,"power":27865,"unknown_239":206,"unknown_85":36864,"ignition":9,"odometer":null,"unknown_44":-5453577641546153984}} 
[2026-07-11 16:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":128631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:56:10] local.INFO: GPS data processed {"connection_id":128631,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:56:10] local.INFO: Acknowledgment sent {"connection_id":128631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:56:41] local.INFO: TCP Data received {"connection_id":128631,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ec6328012cb4524007808138004d00b932..."} 
[2026-07-11 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ec6328012cb4524007808138004d00b932..."} 
[2026-07-11 16:56:41] local.INFO: Processing buffer {"connection_id":128631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ec6328012cb4524007808138004d00b932..."} 
[2026-07-11 16:56:41] local.INFO: Packet analysis {"connection_id":128631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ec"} 
[2026-07-11 16:56:41] local.INFO: Extracted packet for processing {"connection_id":128631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ec"} 
[2026-07-11 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":750015040,"raw_latitude":125862200,"longitude_deg":75.001504,"latitude_deg":12.58622,"altitude":77,"angle":185,"satellites":50,"speed":17,"hex_longitude":"2cb45240","hex_latitude":"07808138","is_valid_coordinates":true} 
[2026-07-11 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644884480001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345206196824702976,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5453507272802953216,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783769097000,"timestamp_ms":1783769097000,"timestamp_seconds":1783769097,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ec6328"} 
[2026-07-11 16:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 16:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644884480001,"66":27843,"240":206,"85":36864,"24":17,"16":345206196824702976,"44":-5453507272802953216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,85,24,16,44]} 
[2026-07-11 16:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644884480001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:56:41] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-11 16:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345206196824702976,"km_value":345206196824703.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5453507272802953216,"description":"Unknown IO ID 44"} 
[2026-07-11 16:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644884480001,"power":27843,"unknown_240":206,"unknown_85":36864,"ignition":17,"odometer":null,"unknown_44":-5453507272802953216}} 
[2026-07-11 16:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":128631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:56:41] local.INFO: GPS data processed {"connection_id":128631,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:56:41] local.INFO: Acknowledgment sent {"connection_id":128631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:56:41] local.INFO: TCP Data received {"connection_id":128630,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:56:41] local.INFO: Processing buffer {"connection_id":128630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:56:41] local.INFO: Packet analysis {"connection_id":128630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50eb"} 
[2026-07-11 16:56:41] local.INFO: Extracted packet for processing {"connection_id":128630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50eb"} 
[2026-07-11 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854736,"longitude_deg":76.2978048,"latitude_deg":9.8854736,"altitude":12,"angle":251,"satellites":41,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e46750","is_valid_coordinates":true} 
[2026-07-11 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644793600001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747013632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783769026000,"timestamp_ms":1783769026000,"timestamp_seconds":1783769026,"priority":1,"record_length":96,"hex_timestamp":"0000019f50eb4dd0"} 
[2026-07-11 16:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 16:56:41] 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-07-11 16:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644793600001,"66":12232,"145":206,"87":12288,"24":0,"16":105051150553710592,"45":8799330009747013632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 16:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644793600001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:56:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 16:56:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747013632,"description":"Unknown IO ID 45"} 
[2026-07-11 16:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644793600001,"power":12232,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799330009747013632}} 
[2026-07-11 16:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":128630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:56:41] local.INFO: GPS data processed {"connection_id":128630,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:56:41] local.INFO: Acknowledgment sent {"connection_id":128630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:57:05] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:57:05] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:57:05] local.INFO: IMEI packet received {"connection_id":128821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":128821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:57:08] local.INFO: TCP Data received {"connection_id":128822,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:57:08] local.INFO: Processing buffer {"connection_id":128822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:57:08] local.INFO: IMEI packet received {"connection_id":128822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":128822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:57:09] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:57:09] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:57:09] local.INFO: IMEI packet received {"connection_id":128821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":128821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:57:13] local.INFO: TCP Data received {"connection_id":128822,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:57:13] local.INFO: Processing buffer {"connection_id":128822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:57:13] local.INFO: IMEI packet received {"connection_id":128822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":128822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:57:14] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:57:14] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:57:14] local.INFO: IMEI packet received {"connection_id":128821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":128821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:57:14] local.INFO: TCP Data received {"connection_id":128822,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:57:14] local.INFO: Processing buffer {"connection_id":128822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:57:14] local.INFO: Packet analysis {"connection_id":128822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50eb"} 
[2026-07-11 16:57:14] local.INFO: Extracted packet for processing {"connection_id":128822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50eb"} 
[2026-07-11 16:57:14] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854736,"longitude_deg":76.2978048,"latitude_deg":9.8854736,"altitude":12,"angle":251,"satellites":41,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e46750","is_valid_coordinates":true} 
[2026-07-11 16:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644793600001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747013632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783769026000,"timestamp_ms":1783769026000,"timestamp_seconds":1783769026,"priority":1,"record_length":96,"hex_timestamp":"0000019f50eb4dd0"} 
[2026-07-11 16:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 16:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644793600001,"66":12232,"145":206,"87":12288,"24":0,"16":105051150553710592,"45":8799330009747013632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 16:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644793600001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:57:14] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 16:57:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747013632,"description":"Unknown IO ID 45"} 
[2026-07-11 16:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644793600001,"power":12232,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799330009747013632}} 
[2026-07-11 16:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":128822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:57:14] local.INFO: GPS data processed {"connection_id":128822,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:57:14] local.INFO: Acknowledgment sent {"connection_id":128822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:57:27] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ec9208012cb44dc007806c30005100c433..."} 
[2026-07-11 16:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ec9208012cb44dc007806c30005100c433..."} 
[2026-07-11 16:57:27] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ec9208012cb44dc007806c30005100c433..."} 
[2026-07-11 16:57:27] local.INFO: Packet analysis {"connection_id":128821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ec"} 
[2026-07-11 16:57:27] local.INFO: Extracted packet for processing {"connection_id":128821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ec"} 
[2026-07-11 16:57:27] local.INFO: GPS Element Parsed {"raw_longitude":750013888,"raw_latitude":125856816,"longitude_deg":75.0013888,"latitude_deg":12.5856816,"altitude":81,"angle":196,"satellites":51,"speed":21,"hex_longitude":"2cb44dc0","hex_latitude":"07806c30","is_valid_coordinates":true} 
[2026-07-11 16:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644888832001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345206463112675328,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5453225797827348480,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783769109000,"timestamp_ms":1783769109000,"timestamp_seconds":1783769109,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ec9208"} 
[2026-07-11 16:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 16:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644888832001,"66":27843,"240":206,"85":36864,"24":21,"16":345206463112675328,"44":-5453225797827348480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,85,24,16,44]} 
[2026-07-11 16:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644888832001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:57:27] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-11 16:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345206463112675328,"km_value":345206463112675.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:57:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5453225797827348480,"description":"Unknown IO ID 44"} 
[2026-07-11 16:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644888832001,"power":27843,"unknown_240":206,"unknown_85":36864,"ignition":21,"odometer":null,"unknown_44":-5453225797827348480}} 
[2026-07-11 16:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":128821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:57:27] local.INFO: GPS data processed {"connection_id":128821,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:57:27] local.INFO: Acknowledgment sent {"connection_id":128821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:57:28] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50eccca0012cb44480078048d8005300bf2f..."} 
[2026-07-11 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50eccca0012cb44480078048d8005300bf2f..."} 
[2026-07-11 16:57:28] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50eccca0012cb44480078048d8005300bf2f..."} 
[2026-07-11 16:57:28] local.INFO: Packet analysis {"connection_id":128821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ec"} 
[2026-07-11 16:57:28] local.INFO: Extracted packet for processing {"connection_id":128821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ec"} 
[2026-07-11 16:57:28] local.INFO: GPS Element Parsed {"raw_longitude":750011520,"raw_latitude":125847768,"longitude_deg":75.001152,"latitude_deg":12.5847768,"altitude":83,"angle":191,"satellites":47,"speed":28,"hex_longitude":"2cb44480","hex_latitude":"078048d8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 16:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644891904001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345206918379208704,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5454492435223924736,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783769124000,"timestamp_ms":1783769124000,"timestamp_seconds":1783769124,"priority":1,"record_length":96,"hex_timestamp":"0000019f50eccca0"} 
[2026-07-11 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-07-11 16:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 16:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 16:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":128821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":128821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":128821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644891904001,"66":27767,"241":206,"85":36864,"24":28,"16":345206918379208704,"44":-5454492435223924736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-07-11 16:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644891904001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:57:28] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-11 16:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345206918379208704,"km_value":345206918379208.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:57:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5454492435223924736,"description":"Unknown IO ID 44"} 
[2026-07-11 16:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644891904001,"power":27767,"unknown_241":206,"unknown_85":36864,"ignition":28,"odometer":null,"unknown_44":-5454492435223924736}} 
[2026-07-11 16:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":128821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:57:28] local.INFO: GPS data processed {"connection_id":128821,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:57:28] local.INFO: Acknowledgment sent {"connection_id":128821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:57:46] local.INFO: TCP Data received {"connection_id":128822,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:57:46] local.INFO: Processing buffer {"connection_id":128822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:57:46] local.INFO: Packet analysis {"connection_id":128822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50eb"} 
[2026-07-11 16:57:46] local.INFO: Extracted packet for processing {"connection_id":128822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50eb"} 
[2026-07-11 16:57:46] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854736,"longitude_deg":76.2978048,"latitude_deg":9.8854736,"altitude":12,"angle":251,"satellites":41,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e46750","is_valid_coordinates":true} 
[2026-07-11 16: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-07-11 16:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644793600001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747013632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783769026000,"timestamp_ms":1783769026000,"timestamp_seconds":1783769026,"priority":1,"record_length":96,"hex_timestamp":"0000019f50eb4dd0"} 
[2026-07-11 16:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 16:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16: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-07-11 16:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644793600001,"66":12232,"145":206,"87":12288,"24":0,"16":105051150553710592,"45":8799330009747013632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 16:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644793600001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:57:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 16:57:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747013632,"description":"Unknown IO ID 45"} 
[2026-07-11 16:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644793600001,"power":12232,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799330009747013632}} 
[2026-07-11 16:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":128822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:57:46] local.INFO: GPS data processed {"connection_id":128822,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:57:46] local.INFO: Acknowledgment sent {"connection_id":128822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:58:01] local.INFO: TCP Data received {"connection_id":129523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:58:01] local.INFO: Processing buffer {"connection_id":129523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:58:01] local.INFO: IMEI packet received {"connection_id":129523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":129523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:58:05] local.INFO: TCP Data received {"connection_id":129523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:58:05] local.INFO: Processing buffer {"connection_id":129523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:58:05] local.INFO: IMEI packet received {"connection_id":129523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":129523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:58:09] local.INFO: TCP Data received {"connection_id":129523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:58:09] local.INFO: Processing buffer {"connection_id":129523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:58:09] local.INFO: IMEI packet received {"connection_id":129523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":129523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:58:10] local.INFO: TCP Data received {"connection_id":129523,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ee4788012cb3de80077ecb40004800e131..."} 
[2026-07-11 16:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ee4788012cb3de80077ecb40004800e131..."} 
[2026-07-11 16:58:10] local.INFO: Processing buffer {"connection_id":129523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ee4788012cb3de80077ecb40004800e131..."} 
[2026-07-11 16:58:10] local.INFO: Packet analysis {"connection_id":129523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ee"} 
[2026-07-11 16:58:10] local.INFO: Extracted packet for processing {"connection_id":129523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ee"} 
[2026-07-11 16:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749985408,"raw_latitude":125750080,"longitude_deg":74.9985408,"latitude_deg":12.575008,"altitude":72,"angle":225,"satellites":49,"speed":43,"hex_longitude":"2cb3de80","hex_latitude":"077ecb40","is_valid_coordinates":true} 
[2026-07-11 16:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644918528001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345211874771468288,"note":"Value kept but may cause issues"} 
[2026-07-11 16:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5480106658129926144,"note":"Value kept but may cause issues"} 
[2026-07-11 16:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783769221000,"timestamp_ms":1783769221000,"timestamp_seconds":1783769221,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ee4788"} 
[2026-07-11 16:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 16:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 16:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644918528001,"66":27930,"33":206,"85":36864,"24":43,"16":345211874771468288,"44":-5480106658129926144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-07-11 16:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644918528001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:58:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 16:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345211874771468288,"km_value":345211874771468.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5480106658129926144,"description":"Unknown IO ID 44"} 
[2026-07-11 16:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644918528001,"power":27930,"unknown_33":206,"unknown_85":36864,"ignition":43,"odometer":null,"unknown_44":-5480106658129926144}} 
[2026-07-11 16:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":129523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:58:10] local.INFO: GPS data processed {"connection_id":129523,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:58:10] local.INFO: Acknowledgment sent {"connection_id":129523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:58:13] local.INFO: TCP Data received {"connection_id":129523,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ee4788012cb3de80077ecb40004800e131..."} 
[2026-07-11 16:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ee4788012cb3de80077ecb40004800e131..."} 
[2026-07-11 16:58:13] local.INFO: Processing buffer {"connection_id":129523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ee4788012cb3de80077ecb40004800e131..."} 
[2026-07-11 16:58:13] local.INFO: Packet analysis {"connection_id":129523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ee"} 
[2026-07-11 16:58:13] local.INFO: Extracted packet for processing {"connection_id":129523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ee"} 
[2026-07-11 16:58:13] local.INFO: GPS Element Parsed {"raw_longitude":749985408,"raw_latitude":125750080,"longitude_deg":74.9985408,"latitude_deg":12.575008,"altitude":72,"angle":225,"satellites":49,"speed":43,"hex_longitude":"2cb3de80","hex_latitude":"077ecb40","is_valid_coordinates":true} 
[2026-07-11 16:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644920576001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345211874771468288,"note":"Value kept but may cause issues"} 
[2026-07-11 16:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5485806526410309632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783769221000,"timestamp_ms":1783769221000,"timestamp_seconds":1783769221,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ee4788"} 
[2026-07-11 16:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:58:13] 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-07-11 16:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 16:58:13] 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-07-11 16:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644920576001,"66":27930,"33":206,"85":36864,"24":43,"16":345211874771468288,"44":-5485806526410309632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-07-11 16:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644920576001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:58:13] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 16:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345211874771468288,"km_value":345211874771468.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5485806526410309632,"description":"Unknown IO ID 44"} 
[2026-07-11 16:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644920576001,"power":27930,"unknown_33":206,"unknown_85":36864,"ignition":43,"odometer":null,"unknown_44":-5485806526410309632}} 
[2026-07-11 16:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":129523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:58:13] local.INFO: GPS data processed {"connection_id":129523,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:58:13] local.INFO: Acknowledgment sent {"connection_id":129523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:58:19] local.INFO: TCP Data received {"connection_id":130758,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:19] local.INFO: Processing buffer {"connection_id":130758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:19] local.INFO: IMEI packet received {"connection_id":130758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 16:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":130758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:58:20] local.INFO: TCP Data received {"connection_id":130758,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:20] local.INFO: Processing buffer {"connection_id":130758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:20] local.INFO: IMEI packet received {"connection_id":130758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":130758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:58:23] local.INFO: TCP Data received {"connection_id":130758,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:23] local.INFO: Processing buffer {"connection_id":130758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:23] local.INFO: IMEI packet received {"connection_id":130758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":130758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:58:28] local.INFO: TCP Data received {"connection_id":130758,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:28] local.INFO: Processing buffer {"connection_id":130758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 16:58:28] local.INFO: IMEI packet received {"connection_id":130758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 16:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":130758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:58:29] local.INFO: TCP Data received {"connection_id":130758,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:58:29] local.INFO: Processing buffer {"connection_id":130758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50eb4dd0012d7a1f0005e46750000c00fb29..."} 
[2026-07-11 16:58:29] local.INFO: Packet analysis {"connection_id":130758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50eb"} 
[2026-07-11 16:58:29] local.INFO: Extracted packet for processing {"connection_id":130758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50eb"} 
[2026-07-11 16:58:29] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854736,"longitude_deg":76.2978048,"latitude_deg":9.8854736,"altitude":12,"angle":251,"satellites":41,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e46750","is_valid_coordinates":true} 
[2026-07-11 16:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644793600001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 16:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747013632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783769026000,"timestamp_ms":1783769026000,"timestamp_seconds":1783769026,"priority":1,"record_length":96,"hex_timestamp":"0000019f50eb4dd0"} 
[2026-07-11 16:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 16:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 16:58:29] 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-07-11 16:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 16:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 16:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 16:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644793600001,"66":12232,"145":206,"87":12288,"24":0,"16":105051150553710592,"45":8799330009747013632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-11 16:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 16:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 16:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644793600001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:58:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 16:58:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 16:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747013632,"description":"Unknown IO ID 45"} 
[2026-07-11 16:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644793600001,"power":12232,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799330009747013632}} 
[2026-07-11 16:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":130758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:58:30] local.INFO: GPS data processed {"connection_id":130758,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:58:30] local.INFO: Acknowledgment sent {"connection_id":130758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:58:45] local.INFO: TCP Data received {"connection_id":129524,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:58:45] local.INFO: Processing buffer {"connection_id":129524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 16:58:45] local.INFO: IMEI packet received {"connection_id":129524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 16:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":129524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:59:15] local.INFO: TCP Data received {"connection_id":129523,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ee6ab0012cb3c140077eb4b0004700e530..."} 
[2026-07-11 16:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ee6ab0012cb3c140077eb4b0004700e530..."} 
[2026-07-11 16:59:15] local.INFO: Processing buffer {"connection_id":129523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ee6ab0012cb3c140077eb4b0004700e530..."} 
[2026-07-11 16:59:15] local.INFO: Packet analysis {"connection_id":129523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ee"} 
[2026-07-11 16:59:15] local.INFO: Extracted packet for processing {"connection_id":129523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ee"} 
[2026-07-11 16:59:15] local.INFO: GPS Element Parsed {"raw_longitude":749977920,"raw_latitude":125744304,"longitude_deg":74.997792,"latitude_deg":12.5744304,"altitude":71,"angle":229,"satellites":48,"speed":34,"hex_longitude":"2cb3c140","hex_latitude":"077eb4b0","is_valid_coordinates":true} 
[2026-07-11 16:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644920576001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345212330038001664,"note":"Value kept but may cause issues"} 
[2026-07-11 16:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5485806526410309632,"note":"Value kept but may cause issues"} 
[2026-07-11 16:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783769230000,"timestamp_ms":1783769230000,"timestamp_seconds":1783769230,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ee6ab0"} 
[2026-07-11 16:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 16:59:15] 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-07-11 16:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644920576001,"66":27865,"33":206,"85":36864,"24":34,"16":345212330038001664,"44":-5485806526410309632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-07-11 16:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644920576001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:59:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 16:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-11 16:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345212330038001664,"km_value":345212330038001.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5485806526410309632,"description":"Unknown IO ID 44"} 
[2026-07-11 16:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644920576001,"power":27865,"unknown_33":206,"unknown_85":36864,"ignition":34,"odometer":null,"unknown_44":-5485806526410309632}} 
[2026-07-11 16:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":129523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:59:15] local.INFO: GPS data processed {"connection_id":129523,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:59:15] local.INFO: Acknowledgment sent {"connection_id":129523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 16:59:39] local.INFO: TCP Data received {"connection_id":128824,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:59:39] local.INFO: Processing buffer {"connection_id":128824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:59:39] local.INFO: IMEI packet received {"connection_id":128824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 16:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":128824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 16:59:39] local.INFO: TCP Data received {"connection_id":128824,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:59:39] local.INFO: Processing buffer {"connection_id":128824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:59:39] local.INFO: IMEI packet received {"connection_id":128824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":128824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:59:43] local.INFO: TCP Data received {"connection_id":128824,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:59:43] local.INFO: Processing buffer {"connection_id":128824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 16:59:43] local.INFO: IMEI packet received {"connection_id":128824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 16:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":128824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 16:59:44] local.INFO: TCP Data received {"connection_id":128824,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50efca40012cb32400077e0ea00038008f33..."} 
[2026-07-11 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50efca40012cb32400077e0ea00038008f33..."} 
[2026-07-11 16:59:44] local.INFO: Processing buffer {"connection_id":128824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50efca40012cb32400077e0ea00038008f33..."} 
[2026-07-11 16:59:44] local.INFO: Packet analysis {"connection_id":128824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ef"} 
[2026-07-11 16:59:44] local.INFO: Extracted packet for processing {"connection_id":128824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ef"} 
[2026-07-11 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":749937664,"raw_latitude":125701792,"longitude_deg":74.9937664,"latitude_deg":12.5701792,"altitude":56,"angle":143,"satellites":51,"speed":21,"hex_longitude":"2cb32400","hex_latitude":"077e0ea0","is_valid_coordinates":true} 
[2026-07-11 16:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 16:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644945408001,"note":"Value kept but may cause issues"} 
[2026-07-11 16:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345215242025828352,"note":"Value kept but may cause issues"} 
[2026-07-11 16:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5538794190788208640,"note":"Value kept but may cause issues"} 
[2026-07-11 16:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 16:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783769320000,"timestamp_ms":1783769320000,"timestamp_seconds":1783769320,"priority":1,"record_length":96,"hex_timestamp":"0000019f50efca40"} 
[2026-07-11 16:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 16:59:44] 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-07-11 16:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 16:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 16:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 16:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 16:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 16:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 16:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 16:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 16:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644945408001,"66":27767,"3":206,"85":36608,"24":21,"16":345215242025828352,"44":-5538794190788208640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 16:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 16:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 16:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644945408001,"description":"Unknown IO ID 0"} 
[2026-07-11 16:59:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 16:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 16:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345215242025828352,"km_value":345215242025828.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 16:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5538794190788208640,"description":"Unknown IO ID 44"} 
[2026-07-11 16:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644945408001,"power":27767,"unknown_3":206,"unknown_85":36608,"ignition":21,"odometer":null,"unknown_44":-5538794190788208640}} 
[2026-07-11 16:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":128824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 16:59:44] local.INFO: GPS data processed {"connection_id":128824,"processed":1,"errors":0,"total":1} 
[2026-07-11 16:59:44] local.INFO: Acknowledgment sent {"connection_id":128824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:00:17] local.INFO: TCP Data received {"connection_id":129525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:00:17] local.INFO: Processing buffer {"connection_id":129525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:00:17] local.INFO: IMEI packet received {"connection_id":129525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":129525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:00:27] local.INFO: TCP Data received {"connection_id":129525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:00:27] local.INFO: Processing buffer {"connection_id":129525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:00:27] local.INFO: IMEI packet received {"connection_id":129525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":129525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:00:28] local.INFO: TCP Data received {"connection_id":129525,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 17:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129525,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 17:00:28] local.INFO: Processing buffer {"connection_id":129525,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 17:00:28] local.INFO: IMEI packet received {"connection_id":129525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":129525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:01:04] local.INFO: TCP Data received {"connection_id":129527,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:01:04] local.INFO: Processing buffer {"connection_id":129527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:01:04] local.INFO: IMEI packet received {"connection_id":129527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":129527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:01:09] local.INFO: TCP Data received {"connection_id":129527,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:01:09] local.INFO: Processing buffer {"connection_id":129527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:01:09] local.INFO: IMEI packet received {"connection_id":129527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":129527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:01:11] local.INFO: TCP Data received {"connection_id":129527,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f03f70012d187e40072181b0004e01112c..."} 
[2026-07-11 17:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f03f70012d187e40072181b0004e01112c..."} 
[2026-07-11 17:01:11] local.INFO: Processing buffer {"connection_id":129527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f03f70012d187e40072181b0004e01112c..."} 
[2026-07-11 17:01:11] local.INFO: Packet analysis {"connection_id":129527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f0"} 
[2026-07-11 17:01:11] local.INFO: Extracted packet for processing {"connection_id":129527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f0"} 
[2026-07-11 17:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756579904,"raw_latitude":119636400,"longitude_deg":75.6579904,"latitude_deg":11.96364,"altitude":78,"angle":273,"satellites":44,"speed":32,"hex_longitude":"2d187e40","hex_latitude":"072181b0","is_valid_coordinates":true} 
[2026-07-11 17:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644953088001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5766603480236032,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766677721951285248,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783769350000,"timestamp_ms":1783769350000,"timestamp_seconds":1783769350,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f03f70"} 
[2026-07-11 17:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 17:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:11] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13494137,"corrected_to":0} 
[2026-07-11 17:01:11] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:11] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4023777281,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 17:01:11] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,124,159,12,45,115,76,46,10,66,121,4,64,113,75,221,1,240,246,123,80,33,205,32,194,196,239,54,2,20,7,67,34],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":246,"original":13494137,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 17:01:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620805889047986176,"timestamp_seconds":5620805889047986.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644953088001,"66":13798,"120":206,"28":31744,"24":32,"16":5766603480236032,"45":1766677721951285248},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644953088001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:01:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5766603480236032,"km_value":5766603480236.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766677721951285248,"description":"Unknown IO ID 45"} 
[2026-07-11 17:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644953088001,"power":13798,"unknown_120":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1766677721951285248}} 
[2026-07-11 17:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":129527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:01:11] local.INFO: GPS data processed {"connection_id":129527,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:01:11] local.INFO: Acknowledgment sent {"connection_id":129527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:01:12] local.INFO: TCP Data received {"connection_id":129527,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f06298012d1860c007218290004e011f2a..."} 
[2026-07-11 17:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f06298012d1860c007218290004e011f2a..."} 
[2026-07-11 17:01:12] local.INFO: Processing buffer {"connection_id":129527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f06298012d1860c007218290004e011f2a..."} 
[2026-07-11 17:01:12] local.INFO: Packet analysis {"connection_id":129527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f0"} 
[2026-07-11 17:01:12] local.INFO: Extracted packet for processing {"connection_id":129527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f0"} 
[2026-07-11 17:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756572352,"raw_latitude":119636624,"longitude_deg":75.6572352,"latitude_deg":11.9636624,"altitude":78,"angle":287,"satellites":42,"speed":34,"hex_longitude":"2d1860c0","hex_latitude":"07218290","is_valid_coordinates":true} 
[2026-07-11 17:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644953600001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5766959962521600,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764918503346909184,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783769359000,"timestamp_ms":1783769359000,"timestamp_seconds":1783769359,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f06298"} 
[2026-07-11 17:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-11 17:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644953600001,"66":14080,"120":206,"28":31744,"24":34,"16":5766959962521600,"45":1764918503346909184},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644953600001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:01:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:01:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5766959962521600,"km_value":5766959962521.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764918503346909184,"description":"Unknown IO ID 45"} 
[2026-07-11 17:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644953600001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1764918503346909184}} 
[2026-07-11 17:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":129527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:01:12] local.INFO: GPS data processed {"connection_id":129527,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:01:12] local.INFO: Acknowledgment sent {"connection_id":129527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:01:44] local.INFO: TCP Data received {"connection_id":129527,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f08d90012d184040072191b0005101232b..."} 
[2026-07-11 17:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f08d90012d184040072191b0005101232b..."} 
[2026-07-11 17:01:44] local.INFO: Processing buffer {"connection_id":129527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f08d90012d184040072191b0005101232b..."} 
[2026-07-11 17:01:44] local.INFO: Packet analysis {"connection_id":129527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f0"} 
[2026-07-11 17:01:44] local.INFO: Extracted packet for processing {"connection_id":129527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f0"} 
[2026-07-11 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756564032,"raw_latitude":119640496,"longitude_deg":75.6564032,"latitude_deg":11.9640496,"altitude":81,"angle":291,"satellites":43,"speed":31,"hex_longitude":"2d184040","hex_latitude":"072191b0","is_valid_coordinates":true} 
[2026-07-11 17:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644955904001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5767398049185792,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756614991534002176,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783769370000,"timestamp_ms":1783769370000,"timestamp_seconds":1783769370,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f08d90"} 
[2026-07-11 17:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 17:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:44] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4026849281,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 17:01:44] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:44] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-07-11 17:01:44] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,125,159,63,45,64,129,78,44,10,66,124,55,128,12,1,240,180,80,33,4,113,205,23,221,190,239,54,121,2,20,7,70,32],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 17:01:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620808075186405376,"timestamp_seconds":5620808075186405.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644955904001,"66":14048,"120":206,"28":31744,"24":31,"16":5767398049185792,"45":1756614991534002176},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644955904001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:01:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:01:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5767398049185792,"km_value":5767398049185.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756614991534002176,"description":"Unknown IO ID 45"} 
[2026-07-11 17:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644955904001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1756614991534002176}} 
[2026-07-11 17:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":129527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:01:44] local.INFO: GPS data processed {"connection_id":129527,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:01:44] local.INFO: Acknowledgment sent {"connection_id":129527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:01:59] local.INFO: TCP Data received {"connection_id":129529,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:01:59] local.INFO: Processing buffer {"connection_id":129529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:01:59] local.INFO: IMEI packet received {"connection_id":129529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":129529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:02:04] local.INFO: TCP Data received {"connection_id":129529,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:02:04] local.INFO: Processing buffer {"connection_id":129529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:02:04] local.INFO: IMEI packet received {"connection_id":129529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":129529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:02:06] local.INFO: TCP Data received {"connection_id":129529,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f1d998012d185e4007220d00005500202c..."} 
[2026-07-11 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f1d998012d185e4007220d00005500202c..."} 
[2026-07-11 17:02:06] local.INFO: Processing buffer {"connection_id":129529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f1d998012d185e4007220d00005500202c..."} 
[2026-07-11 17:02:06] local.INFO: Packet analysis {"connection_id":129529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f1"} 
[2026-07-11 17:02:06] local.INFO: Extracted packet for processing {"connection_id":129529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f1"} 
[2026-07-11 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756571712,"raw_latitude":119672064,"longitude_deg":75.6571712,"latitude_deg":11.9672064,"altitude":85,"angle":32,"satellites":44,"speed":35,"hex_longitude":"2d185e40","hex_latitude":"07220d00","is_valid_coordinates":true} 
[2026-07-11 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644977664001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5769408093880320,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749859592099950592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783769455000,"timestamp_ms":1783769455000,"timestamp_seconds":1783769455,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f1d998"} 
[2026-07-11 17:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 17:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644977664001,"66":14080,"120":206,"28":31744,"24":35,"16":5769408093880320,"45":1749859592099950592},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644977664001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:02:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:02:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5769408093880320,"km_value":5769408093880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749859592099950592,"description":"Unknown IO ID 45"} 
[2026-07-11 17:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644977664001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1749859592099950592}} 
[2026-07-11 17:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":129529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:02:06] local.INFO: GPS data processed {"connection_id":129529,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:02:06] local.INFO: Acknowledgment sent {"connection_id":129529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:02:07] local.INFO: TCP Data received {"connection_id":129529,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f200a8012d18720007222a68005900212c..."} 
[2026-07-11 17:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f200a8012d18720007222a68005900212c..."} 
[2026-07-11 17:02:07] local.INFO: Processing buffer {"connection_id":129529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f200a8012d18720007222a68005900212c..."} 
[2026-07-11 17:02:07] local.INFO: Packet analysis {"connection_id":129529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:02:07] local.INFO: Extracted packet for processing {"connection_id":129529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119679592,"longitude_deg":75.6576768,"latitude_deg":11.9679592,"altitude":89,"angle":33,"satellites":44,"speed":36,"hex_longitude":"2d187200","hex_latitude":"07222a68","is_valid_coordinates":true} 
[2026-07-11 17:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644980480001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5769846180544512,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755911304101298176,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783769465000,"timestamp_ms":1783769465000,"timestamp_seconds":1783769465,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f200a8"} 
[2026-07-11 17:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 17:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:07] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221692840,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4047841281,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:07] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2847408204,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-11 17:02:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4980743,"corrected_to":0} 
[2026-07-11 17:02:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,127,159,174,45,192,237,81,10,66,126,131,206,78,80,64,1,240,60,125,33,4,113,205,11,65,200,44,239,56,2,20,7,76],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":200,"original":4980743,"validated":0}]} 
[2026-07-11 17:02:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6124930866576818176,"timestamp_seconds":6124930866576818.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644980480001,"66":14080,"120":206,"28":31744,"24":36,"16":5769846180544512,"45":1755911304101298176},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644980480001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:02:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5769846180544512,"km_value":5769846180544.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755911304101298176,"description":"Unknown IO ID 45"} 
[2026-07-11 17:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644980480001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1755911304101298176}} 
[2026-07-11 17:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":129529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:02:07] local.INFO: GPS data processed {"connection_id":129529,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:02:07] local.INFO: Acknowledgment sent {"connection_id":129529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:02:38] local.INFO: TCP Data received {"connection_id":129529,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f227b8012d188600072247e0005d00212d..."} 
[2026-07-11 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f227b8012d188600072247e0005d00212d..."} 
[2026-07-11 17:02:38] local.INFO: Processing buffer {"connection_id":129529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f227b8012d188600072247e0005d00212d..."} 
[2026-07-11 17:02:38] local.INFO: Packet analysis {"connection_id":129529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:02:38] local.INFO: Extracted packet for processing {"connection_id":129529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756581888,"raw_latitude":119687136,"longitude_deg":75.6581888,"latitude_deg":11.9687136,"altitude":93,"angle":33,"satellites":45,"speed":34,"hex_longitude":"2d188600","hex_latitude":"072247e0","is_valid_coordinates":true} 
[2026-07-11 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644983040001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5770284267208704,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434893260800,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783769475000,"timestamp_ms":1783769475000,"timestamp_seconds":1783769475,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f227b8"} 
[2026-07-11 17:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 17:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4048609281,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2919759948,"note":"Value kept but may cause issues"} 
[2026-07-11 17:02:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-11 17:02:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,127,159,217,45,64,13,85,44,10,66,174,192,237,81,126,131,1,240,22,80,33,4,113,205,18,69,29,184,239,56,2,20,7,76,8],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-11 17:02:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6413162342240223232,"timestamp_seconds":6413162342240223.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644983040001,"66":13939,"120":206,"28":31744,"24":34,"16":5770284267208704,"45":1761470434893260800},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644983040001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:02:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5770284267208704,"km_value":5770284267208.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434893260800,"description":"Unknown IO ID 45"} 
[2026-07-11 17:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644983040001,"power":13939,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1761470434893260800}} 
[2026-07-11 17:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":129529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:02:38] local.INFO: GPS data processed {"connection_id":129529,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:02:38] local.INFO: Acknowledgment sent {"connection_id":129529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:02:59] local.INFO: TCP Data received {"connection_id":128828,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:02:59] local.INFO: Processing buffer {"connection_id":128828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:02:59] local.INFO: IMEI packet received {"connection_id":128828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":128828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:03:04] local.INFO: TCP Data received {"connection_id":128828,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:03:04] local.INFO: Processing buffer {"connection_id":128828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:03:04] local.INFO: IMEI packet received {"connection_id":128828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":128828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:03:05] local.INFO: TCP Data received {"connection_id":128828,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f25698012d189a80072266a00065001e29..."} 
[2026-07-11 17:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f25698012d189a80072266a00065001e29..."} 
[2026-07-11 17:03:05] local.INFO: Processing buffer {"connection_id":128828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f25698012d189a80072266a00065001e29..."} 
[2026-07-11 17:03:05] local.INFO: Packet analysis {"connection_id":128828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:03:05] local.INFO: Extracted packet for processing {"connection_id":128828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756587136,"raw_latitude":119695008,"longitude_deg":75.6587136,"latitude_deg":11.9695008,"altitude":101,"angle":30,"satellites":41,"speed":26,"hex_longitude":"2d189a80","hex_latitude":"072266a0","is_valid_coordinates":true} 
[2026-07-11 17:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644985600001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5770739533742080,"note":"Value kept but may cause issues"} 
[2026-07-11 17:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767099934429405184,"note":"Value kept but may cause issues"} 
[2026-07-11 17:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783769487000,"timestamp_ms":1783769487000,"timestamp_seconds":1783769487,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f25698"} 
[2026-07-11 17:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:03:05] 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-07-11 17:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-11 17:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644985600001,"66":13896,"120":206,"28":31744,"24":26,"16":5770739533742080,"45":1767099934429405184},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644985600001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:03:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5770739533742080,"km_value":5770739533742.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767099934429405184,"description":"Unknown IO ID 45"} 
[2026-07-11 17:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644985600001,"power":13896,"unknown_120":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1767099934429405184}} 
[2026-07-11 17:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":128828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:03:05] local.INFO: GPS data processed {"connection_id":128828,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:03:05] local.INFO: Acknowledgment sent {"connection_id":128828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:03:36] local.INFO: TCP Data received {"connection_id":128828,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f27da8012d18a24007227860006900122a..."} 
[2026-07-11 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f27da8012d18a24007227860006900122a..."} 
[2026-07-11 17:03:36] local.INFO: Processing buffer {"connection_id":128828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f27da8012d18a24007227860006900122a..."} 
[2026-07-11 17:03:36] local.INFO: Packet analysis {"connection_id":128828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:03:36] local.INFO: Extracted packet for processing {"connection_id":128828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756589120,"raw_latitude":119699552,"longitude_deg":75.658912,"latitude_deg":11.9699552,"altitude":105,"angle":18,"satellites":42,"speed":19,"hex_longitude":"2d18a240","hex_latitude":"07227860","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644988672001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5770980051910656,"note":"Value kept but may cause issues"} 
[2026-07-11 17:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772870171453988864,"note":"Value kept but may cause issues"} 
[2026-07-11 17:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783769497000,"timestamp_ms":1783769497000,"timestamp_seconds":1783769497,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f27da8"} 
[2026-07-11 17:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-07-11 17:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644988672001,"66":12993,"120":206,"28":31744,"24":19,"16":5770980051910656,"45":1772870171453988864},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644988672001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:03:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:03:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5770980051910656,"km_value":5770980051910.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772870171453988864,"description":"Unknown IO ID 45"} 
[2026-07-11 17:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644988672001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1772870171453988864}} 
[2026-07-11 17:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":128828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:03:36] local.INFO: GPS data processed {"connection_id":128828,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:03:36] local.INFO: Acknowledgment sent {"connection_id":128828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:03:59] local.INFO: TCP Data received {"connection_id":128831,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:03:59] local.INFO: Processing buffer {"connection_id":128831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:03:59] local.INFO: IMEI packet received {"connection_id":128831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":128831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:04:04] local.INFO: TCP Data received {"connection_id":128831,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:04:04] local.INFO: Processing buffer {"connection_id":128831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:04:04] local.INFO: IMEI packet received {"connection_id":128831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":128831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:04:06] local.INFO: TCP Data received {"connection_id":128831,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f2a0d0012d18a64007228a38006d00062d..."} 
[2026-07-11 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f2a0d0012d18a64007228a38006d00062d..."} 
[2026-07-11 17:04:06] local.INFO: Processing buffer {"connection_id":128831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f2a0d0012d18a64007228a38006d00062d..."} 
[2026-07-11 17:04:06] local.INFO: Packet analysis {"connection_id":128831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:04:06] local.INFO: Extracted packet for processing {"connection_id":128831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f2"} 
[2026-07-11 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119704120,"longitude_deg":75.6590144,"latitude_deg":11.970412,"altitude":109,"angle":6,"satellites":45,"speed":23,"hex_longitude":"2d18a640","hex_latitude":"07228a38","is_valid_coordinates":true} 
[2026-07-11 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456644991232001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771207685177344,"note":"Value kept but may cause issues"} 
[2026-07-11 17:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775051602524659712,"note":"Value kept but may cause issues"} 
[2026-07-11 17:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783769506000,"timestamp_ms":1783769506000,"timestamp_seconds":1783769506,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f2a0d0"} 
[2026-07-11 17:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-11 17:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456644991232001,"66":12461,"120":206,"28":31744,"24":23,"16":5771207685177344,"45":1775051602524659712},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456644991232001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:04:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771207685177344,"km_value":5771207685177.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775051602524659712,"description":"Unknown IO ID 45"} 
[2026-07-11 17:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456644991232001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1775051602524659712}} 
[2026-07-11 17:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":128831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:04:06] local.INFO: GPS data processed {"connection_id":128831,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:04:06] local.INFO: Acknowledgment sent {"connection_id":128831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:04:38] local.INFO: TCP Data received {"connection_id":128831,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f3f0c0012d18960007229c080074014b2e..."} 
[2026-07-11 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f3f0c0012d18960007229c080074014b2e..."} 
[2026-07-11 17:04:38] local.INFO: Processing buffer {"connection_id":128831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f3f0c0012d18960007229c080074014b2e..."} 
[2026-07-11 17:04:38] local.INFO: Packet analysis {"connection_id":128831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f3"} 
[2026-07-11 17:04:38] local.INFO: Extracted packet for processing {"connection_id":128831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f3"} 
[2026-07-11 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645010176001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771885009039230976,"note":"Value kept but may cause issues"} 
[2026-07-11 17:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783769592000,"timestamp_ms":1783769592000,"timestamp_seconds":1783769592,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f3f0c0"} 
[2026-07-11 17:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-11 17:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645010176001,"66":12982,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771885009039230976},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645010176001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:04:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:04:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771885009039230976,"description":"Unknown IO ID 45"} 
[2026-07-11 17:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645010176001,"power":12982,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771885009039230976}} 
[2026-07-11 17:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":128831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:04:38] local.INFO: GPS data processed {"connection_id":128831,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:04:38] local.INFO: Acknowledgment sent {"connection_id":128831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:04:50] local.INFO: TCP Data received {"connection_id":130759,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:04:50] local.INFO: Processing buffer {"connection_id":130759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:04:50] local.INFO: IMEI packet received {"connection_id":130759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":130759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:04:59] local.INFO: TCP Data received {"connection_id":130760,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:04:59] local.INFO: Processing buffer {"connection_id":130760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:04:59] local.INFO: IMEI packet received {"connection_id":130760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":130760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:05:04] local.INFO: TCP Data received {"connection_id":130760,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:05:04] local.INFO: Processing buffer {"connection_id":130760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:05:04] local.INFO: IMEI packet received {"connection_id":130760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":130760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:05:06] local.INFO: TCP Data received {"connection_id":130760,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f442c8012d18960007229c080074014b2d..."} 
[2026-07-11 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f442c8012d18960007229c080074014b2d..."} 
[2026-07-11 17:05:06] local.INFO: Processing buffer {"connection_id":130760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f442c8012d18960007229c080074014b2d..."} 
[2026-07-11 17:05:06] local.INFO: Packet analysis {"connection_id":130760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:05:06] local.INFO: Extracted packet for processing {"connection_id":130760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645015552001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783769613000,"timestamp_ms":1783769613000,"timestamp_seconds":1783769613,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f442c8"} 
[2026-07-11 17:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-11 17:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645015552001,"66":12972,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645015552001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:05:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645015552001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":130760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:05:06] local.INFO: GPS data processed {"connection_id":130760,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:05:06] local.INFO: Acknowledgment sent {"connection_id":130760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:05:28] local.INFO: TCP Data received {"connection_id":130761,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:05:28] local.INFO: Processing buffer {"connection_id":130761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:05:28] local.INFO: IMEI packet received {"connection_id":130761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":130761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:05:29] local.INFO: TCP Data received {"connection_id":130761,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f4a470012cb37180077b1520001d00bf2f..."} 
[2026-07-11 17:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f4a470012cb37180077b1520001d00bf2f..."} 
[2026-07-11 17:05:29] local.INFO: Processing buffer {"connection_id":130761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f4a470012cb37180077b1520001d00bf2f..."} 
[2026-07-11 17:05:29] local.INFO: Packet analysis {"connection_id":130761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:05:29] local.INFO: Extracted packet for processing {"connection_id":130761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:05:29] local.INFO: GPS Element Parsed {"raw_longitude":749957504,"raw_latitude":125506848,"longitude_deg":74.9957504,"latitude_deg":12.5506848,"altitude":29,"angle":191,"satellites":47,"speed":33,"hex_longitude":"2cb37180","hex_latitude":"077b1520","is_valid_coordinates":true} 
[2026-07-11 17:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645024256001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345225794760474624,"note":"Value kept but may cause issues"} 
[2026-07-11 17:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5514728080327245824,"note":"Value kept but may cause issues"} 
[2026-07-11 17:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783769638000,"timestamp_ms":1783769638000,"timestamp_seconds":1783769638,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f4a470"} 
[2026-07-11 17:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:05: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-07-11 17:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645024256001,"66":27995,"47":206,"85":36608,"24":33,"16":345225794760474624,"44":-5514728080327245824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-07-11 17:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645024256001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:05:29] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-11 17:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345225794760474624,"km_value":345225794760474.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5514728080327245824,"description":"Unknown IO ID 44"} 
[2026-07-11 17:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645024256001,"power":27995,"unknown_47":206,"unknown_85":36608,"ignition":33,"odometer":null,"unknown_44":-5514728080327245824}} 
[2026-07-11 17:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":130761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:05:29] local.INFO: GPS data processed {"connection_id":130761,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:05:29] local.INFO: Acknowledgment sent {"connection_id":130761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:05:37] local.INFO: TCP Data received {"connection_id":130760,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f494d0012d18960007229c080074014b2d..."} 
[2026-07-11 17:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f494d0012d18960007229c080074014b2d..."} 
[2026-07-11 17:05:37] local.INFO: Processing buffer {"connection_id":130760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f494d0012d18960007229c080074014b2d..."} 
[2026-07-11 17:05:37] local.INFO: Packet analysis {"connection_id":130760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:05:37] local.INFO: Extracted packet for processing {"connection_id":130760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645020928001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783769634000,"timestamp_ms":1783769634000,"timestamp_seconds":1783769634,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f494d0"} 
[2026-07-11 17:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:05: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-07-11 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 17:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645020928001,"66":12950,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645020928001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:05:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645020928001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":130760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:05:37] local.INFO: GPS data processed {"connection_id":130760,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:05:37] local.INFO: Acknowledgment sent {"connection_id":130760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:05:59] local.INFO: TCP Data received {"connection_id":129530,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:05:59] local.INFO: Processing buffer {"connection_id":129530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:05:59] local.INFO: IMEI packet received {"connection_id":129530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":129530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:06:03] local.INFO: TCP Data received {"connection_id":129531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:06:03] local.INFO: Processing buffer {"connection_id":129531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:06:03] local.INFO: IMEI packet received {"connection_id":129531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":129531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:06:04] local.INFO: TCP Data received {"connection_id":129530,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:06:04] local.INFO: Processing buffer {"connection_id":129530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:06:04] local.INFO: IMEI packet received {"connection_id":129530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":129530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:06:06] local.INFO: TCP Data received {"connection_id":129530,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f4e6d8012d18960007229c080074014b2f..."} 
[2026-07-11 17:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f4e6d8012d18960007229c080074014b2f..."} 
[2026-07-11 17:06:06] local.INFO: Processing buffer {"connection_id":129530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f4e6d8012d18960007229c080074014b2f..."} 
[2026-07-11 17:06:06] local.INFO: Packet analysis {"connection_id":129530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:06:06] local.INFO: Extracted packet for processing {"connection_id":129530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":47,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645026304001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783769655000,"timestamp_ms":1783769655000,"timestamp_seconds":1783769655,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f4e6d8"} 
[2026-07-11 17:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 17:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645026304001,"66":12939,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645026304001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:06:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645026304001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":129530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:06:06] local.INFO: GPS data processed {"connection_id":129530,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:06:06] local.INFO: Acknowledgment sent {"connection_id":129530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:06:08] local.INFO: TCP Data received {"connection_id":129531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:06:08] local.INFO: Processing buffer {"connection_id":129531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:06:08] local.INFO: IMEI packet received {"connection_id":129531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":129531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:06:09] local.INFO: TCP Data received {"connection_id":129531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f4db20012cb36940077af848001900cb32..."} 
[2026-07-11 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f4db20012cb36940077af848001900cb32..."} 
[2026-07-11 17:06:09] local.INFO: Processing buffer {"connection_id":129531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f4db20012cb36940077af848001900cb32..."} 
[2026-07-11 17:06:09] local.INFO: Packet analysis {"connection_id":129531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:06:09] local.INFO: Extracted packet for processing {"connection_id":129531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":749955392,"raw_latitude":125499464,"longitude_deg":74.9955392,"latitude_deg":12.5499464,"altitude":25,"angle":203,"satellites":50,"speed":19,"hex_longitude":"2cb36940","hex_latitude":"077af848","is_valid_coordinates":true} 
[2026-07-11 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645027328001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345226168422629376,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5516487298934038528,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783769652000,"timestamp_ms":1783769652000,"timestamp_seconds":1783769652,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f4db20"} 
[2026-07-11 17:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:06:09] 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-07-11 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 17:06:09] 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-07-11 17:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:06: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-07-11 17:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645027328001,"66":27865,"47":206,"85":36608,"24":19,"16":345226168422629376,"44":-5516487298934038528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-07-11 17:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645027328001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:06:09] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-11 17:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345226168422629376,"km_value":345226168422629.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5516487298934038528,"description":"Unknown IO ID 44"} 
[2026-07-11 17:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645027328001,"power":27865,"unknown_47":206,"unknown_85":36608,"ignition":19,"odometer":null,"unknown_44":-5516487298934038528}} 
[2026-07-11 17:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":129531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:06:09] local.INFO: GPS data processed {"connection_id":129531,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:06:09] local.INFO: Acknowledgment sent {"connection_id":129531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:06:37] local.INFO: TCP Data received {"connection_id":129530,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f538e0012d18960007229c080074014b2e..."} 
[2026-07-11 17:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f538e0012d18960007229c080074014b2e..."} 
[2026-07-11 17:06:37] local.INFO: Processing buffer {"connection_id":129530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f538e0012d18960007229c080074014b2e..."} 
[2026-07-11 17:06:37] local.INFO: Packet analysis {"connection_id":129530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f5"} 
[2026-07-11 17:06:37] local.INFO: Extracted packet for processing {"connection_id":129530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f5"} 
[2026-07-11 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":46,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645031680001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783769676000,"timestamp_ms":1783769676000,"timestamp_seconds":1783769676,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f538e0"} 
[2026-07-11 17:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:06: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-07-11 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 17:06:37] 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-07-11 17:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645031680001,"66":12863,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645031680001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:06:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645031680001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":129530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:06:38] local.INFO: GPS data processed {"connection_id":129530,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:06:38] local.INFO: Acknowledgment sent {"connection_id":129530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:06:40] local.INFO: TCP Data received {"connection_id":129531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f4e6d8012cb36700077af2a0001800be31..."} 
[2026-07-11 17:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f4e6d8012cb36700077af2a0001800be31..."} 
[2026-07-11 17:06:40] local.INFO: Processing buffer {"connection_id":129531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f4e6d8012cb36700077af2a0001800be31..."} 
[2026-07-11 17:06:40] local.INFO: Packet analysis {"connection_id":129531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:06:40] local.INFO: Extracted packet for processing {"connection_id":129531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f4"} 
[2026-07-11 17:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749954816,"raw_latitude":125498016,"longitude_deg":74.9954816,"latitude_deg":12.5498016,"altitude":24,"angle":190,"satellites":49,"speed":20,"hex_longitude":"2cb36700","hex_latitude":"077af2a0","is_valid_coordinates":true} 
[2026-07-11 17:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645030912001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345226241437073408,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5518809467493791744,"note":"Value kept but may cause issues"} 
[2026-07-11 17:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783769655000,"timestamp_ms":1783769655000,"timestamp_seconds":1783769655,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f4e6d8"} 
[2026-07-11 17:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:06:40] 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-07-11 17:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 17:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645030912001,"66":27800,"47":206,"85":36608,"24":20,"16":345226241437073408,"44":-5518809467493791744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-07-11 17:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645030912001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:06:40] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-11 17:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345226241437073408,"km_value":345226241437073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5518809467493791744,"description":"Unknown IO ID 44"} 
[2026-07-11 17:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645030912001,"power":27800,"unknown_47":206,"unknown_85":36608,"ignition":20,"odometer":null,"unknown_44":-5518809467493791744}} 
[2026-07-11 17:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":129531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:06:40] local.INFO: GPS data processed {"connection_id":129531,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:06:40] local.INFO: Acknowledgment sent {"connection_id":129531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:07:05] local.INFO: TCP Data received {"connection_id":128832,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:07:05] local.INFO: Processing buffer {"connection_id":128832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:07:05] local.INFO: IMEI packet received {"connection_id":128832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":128832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:07:07] local.INFO: TCP Data received {"connection_id":129533,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:07:07] local.INFO: Processing buffer {"connection_id":129533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:07:07] local.INFO: IMEI packet received {"connection_id":129533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":129533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:07:08] local.INFO: TCP Data received {"connection_id":129533,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:07:08] local.INFO: Processing buffer {"connection_id":129533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:07:08] local.INFO: IMEI packet received {"connection_id":129533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":129533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:07:09] local.INFO: TCP Data received {"connection_id":128832,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:07:09] local.INFO: Processing buffer {"connection_id":128832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:07:09] local.INFO: IMEI packet received {"connection_id":128832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":128832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:07:09] local.INFO: TCP Data received {"connection_id":129533,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:07:09] local.INFO: Processing buffer {"connection_id":129533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:07:09] local.INFO: IMEI packet received {"connection_id":129533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":129533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:07:10] local.INFO: TCP Data received {"connection_id":129533,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f66990012cb41040077a54c8002b009230..."} 
[2026-07-11 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f66990012cb41040077a54c8002b009230..."} 
[2026-07-11 17:07:10] local.INFO: Processing buffer {"connection_id":129533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f66990012cb41040077a54c8002b009230..."} 
[2026-07-11 17:07:10] local.INFO: Packet analysis {"connection_id":129533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:07:10] local.INFO: Extracted packet for processing {"connection_id":129533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749998144,"raw_latitude":125457608,"longitude_deg":74.9998144,"latitude_deg":12.5457608,"altitude":43,"angle":146,"satellites":48,"speed":26,"hex_longitude":"2cb41040","hex_latitude":"077a54c8","is_valid_coordinates":true} 
[2026-07-11 17:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345229149129932800,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5477643752158705664,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783769754000,"timestamp_ms":1783769754000,"timestamp_seconds":1783769754,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f66990"} 
[2026-07-11 17:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645053184001,"66":27876,"47":206,"85":36608,"24":26,"16":345229149129932800,"44":-5477643752158705664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-07-11 17:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:07:10] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-11 17:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345229149129932800,"km_value":345229149129932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5477643752158705664,"description":"Unknown IO ID 44"} 
[2026-07-11 17:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645053184001,"power":27876,"unknown_47":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5477643752158705664}} 
[2026-07-11 17:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":129533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:07:10] local.INFO: GPS data processed {"connection_id":129533,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:07:10] local.INFO: Acknowledgment sent {"connection_id":129533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:07:11] local.INFO: TCP Data received {"connection_id":128832,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f58ae8012d18960007229c080074014b2d..."} 
[2026-07-11 17:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f58ae8012d18960007229c080074014b2d..."} 
[2026-07-11 17:07:11] local.INFO: Processing buffer {"connection_id":128832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f58ae8012d18960007229c080074014b2d..."} 
[2026-07-11 17:07:11] local.INFO: Packet analysis {"connection_id":128832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f5"} 
[2026-07-11 17:07:11] local.INFO: Extracted packet for processing {"connection_id":128832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f5"} 
[2026-07-11 17:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645037056001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783769697000,"timestamp_ms":1783769697000,"timestamp_seconds":1783769697,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f58ae8"} 
[2026-07-11 17:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 17:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645037056001,"66":12863,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645037056001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:07:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645037056001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":128832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:07:11] local.INFO: GPS data processed {"connection_id":128832,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:07:11] local.INFO: Acknowledgment sent {"connection_id":128832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:07:15] local.INFO: TCP Data received {"connection_id":128832,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f5dcf0012d18960007229c080074014b2c..."} 
[2026-07-11 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f5dcf0012d18960007229c080074014b2c..."} 
[2026-07-11 17:07:15] local.INFO: Processing buffer {"connection_id":128832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f5dcf0012d18960007229c080074014b2c..."} 
[2026-07-11 17:07:15] local.INFO: Packet analysis {"connection_id":128832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f5"} 
[2026-07-11 17:07:15] local.INFO: Extracted packet for processing {"connection_id":128832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f5"} 
[2026-07-11 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645042432001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783769718000,"timestamp_ms":1783769718000,"timestamp_seconds":1783769718,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f5dcf0"} 
[2026-07-11 17:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 17:07:15] 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-07-11 17:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645042432001,"66":12841,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645042432001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:07:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:07:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645042432001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":128832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:07:15] local.INFO: GPS data processed {"connection_id":128832,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:07:15] local.INFO: Acknowledgment sent {"connection_id":128832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:07:41] local.INFO: TCP Data received {"connection_id":129533,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f69488012cb420c0077a3ea8002e008730..."} 
[2026-07-11 17:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f69488012cb420c0077a3ea8002e008730..."} 
[2026-07-11 17:07:41] local.INFO: Processing buffer {"connection_id":129533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f69488012cb420c0077a3ea8002e008730..."} 
[2026-07-11 17:07:41] local.INFO: Packet analysis {"connection_id":129533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:07:41] local.INFO: Extracted packet for processing {"connection_id":129533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:07:41] local.INFO: GPS Element Parsed {"raw_longitude":750002368,"raw_latitude":125451944,"longitude_deg":75.0002368,"latitude_deg":12.5451944,"altitude":46,"angle":135,"satellites":48,"speed":23,"hex_longitude":"2cb420c0","hex_latitude":"077a3ea8","is_valid_coordinates":true} 
[2026-07-11 17:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645057024001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345229488432349184,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5471803146393827328,"note":"Value kept but may cause issues"} 
[2026-07-11 17:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783769765000,"timestamp_ms":1783769765000,"timestamp_seconds":1783769765,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f69488"} 
[2026-07-11 17:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:07:41] 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-07-11 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 17:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645057024001,"66":27821,"47":206,"85":36608,"24":23,"16":345229488432349184,"44":-5471803146393827328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-07-11 17:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645057024001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:07:41] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-11 17:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345229488432349184,"km_value":345229488432349.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5471803146393827328,"description":"Unknown IO ID 44"} 
[2026-07-11 17:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645057024001,"power":27821,"unknown_47":206,"unknown_85":36608,"ignition":23,"odometer":null,"unknown_44":-5471803146393827328}} 
[2026-07-11 17:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":129533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:07:41] local.INFO: GPS data processed {"connection_id":129533,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:07:41] local.INFO: Acknowledgment sent {"connection_id":129533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:07:59] local.INFO: TCP Data received {"connection_id":130763,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:07:59] local.INFO: Processing buffer {"connection_id":130763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:07:59] local.INFO: IMEI packet received {"connection_id":130763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":130763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:08:02] local.INFO: TCP Data received {"connection_id":130763,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:08:02] local.INFO: Processing buffer {"connection_id":130763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:08:02] local.INFO: IMEI packet received {"connection_id":130763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":130763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:08:03] local.INFO: TCP Data received {"connection_id":130763,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f62ef8012d18960007229c080074014b2c..."} 
[2026-07-11 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f62ef8012d18960007229c080074014b2c..."} 
[2026-07-11 17:08:03] local.INFO: Processing buffer {"connection_id":130763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f62ef8012d18960007229c080074014b2c..."} 
[2026-07-11 17:08:03] local.INFO: Packet analysis {"connection_id":130763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:08:03] local.INFO: Extracted packet for processing {"connection_id":130763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645047808001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783769739000,"timestamp_ms":1783769739000,"timestamp_seconds":1783769739,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f62ef8"} 
[2026-07-11 17:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645047808001,"66":12841,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645047808001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:08:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645047808001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":130763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:08:03] local.INFO: GPS data processed {"connection_id":130763,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:08:03] local.INFO: Acknowledgment sent {"connection_id":130763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:08:04] local.INFO: TCP Data received {"connection_id":128833,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:08:04] local.INFO: Processing buffer {"connection_id":128833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:08:04] local.INFO: IMEI packet received {"connection_id":128833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":128833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:08:09] local.INFO: TCP Data received {"connection_id":128833,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:08:09] local.INFO: Processing buffer {"connection_id":128833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:08:09] local.INFO: IMEI packet received {"connection_id":128833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":128833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:08:09] local.INFO: TCP Data received {"connection_id":128833,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f7a5f8012cb406c00779f3f8003000c030..."} 
[2026-07-11 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f7a5f8012cb406c00779f3f8003000c030..."} 
[2026-07-11 17:08:09] local.INFO: Processing buffer {"connection_id":128833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f7a5f8012cb406c00779f3f8003000c030..."} 
[2026-07-11 17:08:09] local.INFO: Packet analysis {"connection_id":128833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:08:09] local.INFO: Extracted packet for processing {"connection_id":128833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:08:09] local.INFO: GPS Element Parsed {"raw_longitude":749995712,"raw_latitude":125432824,"longitude_deg":74.9995712,"latitude_deg":12.5432824,"altitude":48,"angle":192,"satellites":48,"speed":32,"hex_longitude":"2cb406c0","hex_latitude":"0779f3f8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645075456001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345230691023192064,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5472014252631109632,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783769835000,"timestamp_ms":1783769835000,"timestamp_seconds":1783769835,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f7a5f8"} 
[2026-07-11 17:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:08:09] 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-07-11 17: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-11 17:08:09] 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-07-11 17: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-07-11 17:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:08: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-07-11 17:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645075456001,"66":27767,"46":206,"85":36608,"24":32,"16":345230691023192064,"44":-5472014252631109632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-07-11 17:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645075456001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:08:09] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-11 17:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345230691023192064,"km_value":345230691023192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5472014252631109632,"description":"Unknown IO ID 44"} 
[2026-07-11 17:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645075456001,"power":27767,"unknown_46":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-5472014252631109632}} 
[2026-07-11 17:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":128833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:08:10] local.INFO: GPS data processed {"connection_id":128833,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:08:10] local.INFO: Acknowledgment sent {"connection_id":128833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:08:35] local.INFO: TCP Data received {"connection_id":130763,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f68100012d18960007229c080074014b2c..."} 
[2026-07-11 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f68100012d18960007229c080074014b2c..."} 
[2026-07-11 17:08:35] local.INFO: Processing buffer {"connection_id":130763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f68100012d18960007229c080074014b2c..."} 
[2026-07-11 17:08:35] local.INFO: Packet analysis {"connection_id":130763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:08:35] local.INFO: Extracted packet for processing {"connection_id":130763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645053184001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783769760000,"timestamp_ms":1783769760000,"timestamp_seconds":1783769760,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f68100"} 
[2026-07-11 17:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645053184001,"66":12841,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645053184001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:08:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645053184001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":130763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:08:35] local.INFO: GPS data processed {"connection_id":130763,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:08:35] local.INFO: Acknowledgment sent {"connection_id":130763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:08:40] local.INFO: TCP Data received {"connection_id":128833,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f7adc8012cb406400779ed90003000b432..."} 
[2026-07-11 17:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f7adc8012cb406400779ed90003000b432..."} 
[2026-07-11 17:08:40] local.INFO: Processing buffer {"connection_id":128833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f7adc8012cb406400779ed90003000b432..."} 
[2026-07-11 17:08:40] local.INFO: Packet analysis {"connection_id":128833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:08:40] local.INFO: Extracted packet for processing {"connection_id":128833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:08:40] local.INFO: GPS Element Parsed {"raw_longitude":749995584,"raw_latitude":125431184,"longitude_deg":74.9995584,"latitude_deg":12.5431184,"altitude":48,"angle":180,"satellites":50,"speed":32,"hex_longitude":"2cb40640","hex_latitude":"0779ed90","is_valid_coordinates":true} 
[2026-07-11 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645077760001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345230772627570688,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5474477158678923264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783769837000,"timestamp_ms":1783769837000,"timestamp_seconds":1783769837,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f7adc8"} 
[2026-07-11 17:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:08:40] 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-07-11 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 17:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645077760001,"66":27876,"46":206,"85":36608,"24":32,"16":345230772627570688,"44":-5474477158678923264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-07-11 17:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645077760001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:08:40] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-11 17:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345230772627570688,"km_value":345230772627570.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5474477158678923264,"description":"Unknown IO ID 44"} 
[2026-07-11 17:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645077760001,"power":27876,"unknown_46":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-5474477158678923264}} 
[2026-07-11 17:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":128833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:08:40] local.INFO: GPS data processed {"connection_id":128833,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:08:40] local.INFO: Acknowledgment sent {"connection_id":128833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:09:00] local.INFO: TCP Data received {"connection_id":128638,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:09:00] local.INFO: Processing buffer {"connection_id":128638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:09:00] local.INFO: IMEI packet received {"connection_id":128638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":128638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:09:03] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:09:03] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:09:03] local.INFO: IMEI packet received {"connection_id":128834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":128834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:09:04] local.INFO: TCP Data received {"connection_id":128638,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:09:04] local.INFO: Processing buffer {"connection_id":128638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:09:04] local.INFO: IMEI packet received {"connection_id":128638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":128638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:09:04] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:09:05] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:09:05] local.INFO: IMEI packet received {"connection_id":128834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":128834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:09:06] local.INFO: TCP Data received {"connection_id":128638,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f6d308012d18960007229c080074014b2b..."} 
[2026-07-11 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f6d308012d18960007229c080074014b2b..."} 
[2026-07-11 17:09:06] local.INFO: Processing buffer {"connection_id":128638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f6d308012d18960007229c080074014b2b..."} 
[2026-07-11 17:09:06] local.INFO: Packet analysis {"connection_id":128638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:09:06] local.INFO: Extracted packet for processing {"connection_id":128638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f6"} 
[2026-07-11 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645058560001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783769781000,"timestamp_ms":1783769781000,"timestamp_seconds":1783769781,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f6d308"} 
[2026-07-11 17:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645058560001,"66":12841,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645058560001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:09:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645058560001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":128638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:09:06] local.INFO: GPS data processed {"connection_id":128638,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:09:06] local.INFO: Acknowledgment sent {"connection_id":128638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:09:09] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:09:09] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:09:09] local.INFO: IMEI packet received {"connection_id":128834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":128834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:09:10] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f7b598012cb407000779e748002f00a532..."} 
[2026-07-11 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f7b598012cb407000779e748002f00a532..."} 
[2026-07-11 17:09:10] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f7b598012cb407000779e748002f00a532..."} 
[2026-07-11 17:09:10] local.INFO: Packet analysis {"connection_id":128834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:09:10] local.INFO: Extracted packet for processing {"connection_id":128834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749995776,"raw_latitude":125429576,"longitude_deg":74.9995776,"latitude_deg":12.5429576,"altitude":47,"angle":165,"satellites":50,"speed":31,"hex_longitude":"2cb40700","hex_latitude":"0779e748","is_valid_coordinates":true} 
[2026-07-11 17:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645078272001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345230849936982016,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5474617896167698432,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783769839000,"timestamp_ms":1783769839000,"timestamp_seconds":1783769839,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f7b598"} 
[2026-07-11 17:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 17:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645078272001,"66":27767,"46":206,"85":36608,"24":31,"16":345230849936982016,"44":-5474617896167698432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-07-11 17:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645078272001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:09:10] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-11 17:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345230849936982016,"km_value":345230849936982.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5474617896167698432,"description":"Unknown IO ID 44"} 
[2026-07-11 17:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645078272001,"power":27767,"unknown_46":206,"unknown_85":36608,"ignition":31,"odometer":null,"unknown_44":-5474617896167698432}} 
[2026-07-11 17:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":128834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:09:10] local.INFO: GPS data processed {"connection_id":128834,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:09:10] local.INFO: Acknowledgment sent {"connection_id":128834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:09:38] local.INFO: TCP Data received {"connection_id":128638,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f72510012d18960007229c080074014b2c..."} 
[2026-07-11 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f72510012d18960007229c080074014b2c..."} 
[2026-07-11 17:09:38] local.INFO: Processing buffer {"connection_id":128638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f72510012d18960007229c080074014b2c..."} 
[2026-07-11 17:09:38] local.INFO: Packet analysis {"connection_id":128638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:09:38] local.INFO: Extracted packet for processing {"connection_id":128638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645063936001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783769802000,"timestamp_ms":1783769802000,"timestamp_seconds":1783769802,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f72510"} 
[2026-07-11 17:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645063936001,"66":12776,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645063936001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:09:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645063936001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":128638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:09:38] local.INFO: GPS data processed {"connection_id":128638,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:09:38] local.INFO: Acknowledgment sent {"connection_id":128638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:09:40] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f7bd68012cb409800779e180002f009632..."} 
[2026-07-11 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f7bd68012cb409800779e180002f009632..."} 
[2026-07-11 17:09:40] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f7bd68012cb409800779e180002f009632..."} 
[2026-07-11 17:09:40] local.INFO: Packet analysis {"connection_id":128834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:09:40] local.INFO: Extracted packet for processing {"connection_id":128834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":749996416,"raw_latitude":125428096,"longitude_deg":74.9996416,"latitude_deg":12.5428096,"altitude":47,"angle":150,"satellites":50,"speed":31,"hex_longitude":"2cb40980","hex_latitude":"0779e180","is_valid_coordinates":true} 
[2026-07-11 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645078784001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345230927246393344,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5474406789935577088,"note":"Value kept but may cause issues"} 
[2026-07-11 17:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783769841000,"timestamp_ms":1783769841000,"timestamp_seconds":1783769841,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f7bd68"} 
[2026-07-11 17:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:09:40] 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-07-11 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 17:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645078784001,"66":27876,"46":206,"85":36608,"24":31,"16":345230927246393344,"44":-5474406789935577088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-07-11 17:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645078784001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:09:40] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-11 17:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345230927246393344,"km_value":345230927246393.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5474406789935577088,"description":"Unknown IO ID 44"} 
[2026-07-11 17:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645078784001,"power":27876,"unknown_46":206,"unknown_85":36608,"ignition":31,"odometer":null,"unknown_44":-5474406789935577088}} 
[2026-07-11 17:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":128834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:09:40] local.INFO: GPS data processed {"connection_id":128834,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:09:40] local.INFO: Acknowledgment sent {"connection_id":128834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:09:59] local.INFO: TCP Data received {"connection_id":130765,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:09:59] local.INFO: Processing buffer {"connection_id":130765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:09:59] local.INFO: IMEI packet received {"connection_id":130765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":130765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:10:02] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:02] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:02] local.INFO: IMEI packet received {"connection_id":130766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":130766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:10:03] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:03] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:03] local.INFO: IMEI packet received {"connection_id":130766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":130766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:10:04] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:04] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:04] local.INFO: IMEI packet received {"connection_id":130766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":130766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:10:04] local.INFO: TCP Data received {"connection_id":130765,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:10:04] local.INFO: Processing buffer {"connection_id":130765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:10:04] local.INFO: IMEI packet received {"connection_id":130765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":130765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:10:06] local.INFO: TCP Data received {"connection_id":130765,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f77718012d18960007229c080074014b2b..."} 
[2026-07-11 17:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f77718012d18960007229c080074014b2b..."} 
[2026-07-11 17:10:06] local.INFO: Processing buffer {"connection_id":130765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f77718012d18960007229c080074014b2b..."} 
[2026-07-11 17:10:06] local.INFO: Packet analysis {"connection_id":130765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:10:06] local.INFO: Extracted packet for processing {"connection_id":130765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645069312001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783769823000,"timestamp_ms":1783769823000,"timestamp_seconds":1783769823,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f77718"} 
[2026-07-11 17:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 17:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645069312001,"66":12776,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645069312001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:10:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645069312001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":130765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:10:06] local.INFO: GPS data processed {"connection_id":130765,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:10:06] local.INFO: Acknowledgment sent {"connection_id":130765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:10:09] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:09] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:10:09] local.INFO: IMEI packet received {"connection_id":130766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":130766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:10:10] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f97ab8012cb4a1000778fae8003a008f32..."} 
[2026-07-11 17:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f97ab8012cb4a1000778fae8003a008f32..."} 
[2026-07-11 17:10:10] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f97ab8012cb4a1000778fae8003a008f32..."} 
[2026-07-11 17:10:10] local.INFO: Packet analysis {"connection_id":130766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:10:10] local.INFO: Extracted packet for processing {"connection_id":130766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:10:10] local.INFO: GPS Element Parsed {"raw_longitude":750035200,"raw_latitude":125369064,"longitude_deg":75.00352,"latitude_deg":12.5369064,"altitude":58,"angle":143,"satellites":50,"speed":34,"hex_longitude":"2cb4a100","hex_latitude":"0778fae8","is_valid_coordinates":true} 
[2026-07-11 17:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645104896001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345234393285001216,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5437463199255793664,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783769955000,"timestamp_ms":1783769955000,"timestamp_seconds":1783769955,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f97ab8"} 
[2026-07-11 17:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 17:10:10] 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-07-11 17:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645104896001,"66":28028,"46":206,"85":36608,"24":34,"16":345234393285001216,"44":-5437463199255793664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-07-11 17:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645104896001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:10:10] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-11 17:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345234393285001216,"km_value":345234393285001.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5437463199255793664,"description":"Unknown IO ID 44"} 
[2026-07-11 17:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645104896001,"power":28028,"unknown_46":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5437463199255793664}} 
[2026-07-11 17:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":130766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:10:10] local.INFO: GPS data processed {"connection_id":130766,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:10:10] local.INFO: Acknowledgment sent {"connection_id":130766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:10:16] local.INFO: TCP Data received {"connection_id":130764,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:10:16] local.INFO: Processing buffer {"connection_id":130764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:10:16] local.INFO: IMEI packet received {"connection_id":130764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":130764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:10:37] local.INFO: TCP Data received {"connection_id":130765,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f7c920012d18960007229c080074014b24..."} 
[2026-07-11 17:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f7c920012d18960007229c080074014b24..."} 
[2026-07-11 17:10:37] local.INFO: Processing buffer {"connection_id":130765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f7c920012d18960007229c080074014b24..."} 
[2026-07-11 17:10:37] local.INFO: Packet analysis {"connection_id":130765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:10:37] local.INFO: Extracted packet for processing {"connection_id":130765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f7"} 
[2026-07-11 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119708680,"longitude_deg":75.6585984,"latitude_deg":11.970868,"altitude":116,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d189600","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-07-11 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645074688001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771675836612608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534062290944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783769844000,"timestamp_ms":1783769844000,"timestamp_seconds":1783769844,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f7c920"} 
[2026-07-11 17:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:10: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-07-11 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 17:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645074688001,"66":12722,"120":206,"28":31744,"24":0,"16":5771675836612608,"45":1771603534062290944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645074688001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:10:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771675836612608,"km_value":5771675836612.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534062290944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645074688001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771603534062290944}} 
[2026-07-11 17:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":130765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:10:37] local.INFO: GPS data processed {"connection_id":130765,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:10:37] local.INFO: Acknowledgment sent {"connection_id":130765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:10:41] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f99de0012cb4b4800778df400039009f32..."} 
[2026-07-11 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f99de0012cb4b4800778df400039009f32..."} 
[2026-07-11 17:10:41] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f99de0012cb4b4800778df400039009f32..."} 
[2026-07-11 17:10:41] local.INFO: Packet analysis {"connection_id":130766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:10:41] local.INFO: Extracted packet for processing {"connection_id":130766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:10:41] local.INFO: GPS Element Parsed {"raw_longitude":750040192,"raw_latitude":125361984,"longitude_deg":75.0040192,"latitude_deg":12.5361984,"altitude":57,"angle":159,"satellites":50,"speed":36,"hex_longitude":"2cb4b480","hex_latitude":"0778df40","is_valid_coordinates":true} 
[2026-07-11 17:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645108480001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345234814191796224,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5431059643537627136,"note":"Value kept but may cause issues"} 
[2026-07-11 17:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783769964000,"timestamp_ms":1783769964000,"timestamp_seconds":1783769964,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f99de0"} 
[2026-07-11 17:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:10:41] 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-07-11 17:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-11 17:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645108480001,"66":27821,"46":206,"85":36608,"24":36,"16":345234814191796224,"44":-5431059643537627136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-07-11 17:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645108480001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:10:41] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-11 17:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345234814191796224,"km_value":345234814191796.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5431059643537627136,"description":"Unknown IO ID 44"} 
[2026-07-11 17:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645108480001,"power":27821,"unknown_46":206,"unknown_85":36608,"ignition":36,"odometer":null,"unknown_44":-5431059643537627136}} 
[2026-07-11 17:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":130766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:10:41] local.INFO: GPS data processed {"connection_id":130766,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:10:41] local.INFO: Acknowledgment sent {"connection_id":130766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:10:54] local.INFO: TCP Data received {"connection_id":130767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:10:54] local.INFO: Processing buffer {"connection_id":130767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:10:54] local.INFO: IMEI packet received {"connection_id":130767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":130767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:10:55] local.INFO: TCP Data received {"connection_id":130767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:10:55] local.INFO: Processing buffer {"connection_id":130767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:10:55] local.INFO: IMEI packet received {"connection_id":130767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 17:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":130767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:10:59] local.INFO: TCP Data received {"connection_id":128639,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:10:59] local.INFO: Processing buffer {"connection_id":128639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:10:59] local.INFO: IMEI packet received {"connection_id":128639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":128639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:11:00] local.INFO: TCP Data received {"connection_id":130767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:11:00] local.INFO: Processing buffer {"connection_id":130767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:11:00] local.INFO: IMEI packet received {"connection_id":130767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 17:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":130767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:11:03] local.INFO: TCP Data received {"connection_id":130769,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:11:03] local.INFO: Processing buffer {"connection_id":130769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:11:03] local.INFO: IMEI packet received {"connection_id":130769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":130769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:11:04] local.INFO: TCP Data received {"connection_id":130768,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:11:04] local.INFO: Processing buffer {"connection_id":130768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:11:04] local.INFO: IMEI packet received {"connection_id":130768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":130768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:11:04] local.INFO: TCP Data received {"connection_id":128639,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:11:04] local.INFO: Processing buffer {"connection_id":128639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:11:04] local.INFO: IMEI packet received {"connection_id":128639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":128639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:11:06] local.INFO: TCP Data received {"connection_id":128639,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fa3e08012d18a4c007229cc8007500372d..."} 
[2026-07-11 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fa3e08012d18a4c007229cc8007500372d..."} 
[2026-07-11 17:11:06] local.INFO: Processing buffer {"connection_id":128639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fa3e08012d18a4c007229cc8007500372d..."} 
[2026-07-11 17:11:06] local.INFO: Packet analysis {"connection_id":128639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:11:06] local.INFO: Extracted packet for processing {"connection_id":128639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756589760,"raw_latitude":119708872,"longitude_deg":75.658976,"latitude_deg":11.9708872,"altitude":117,"angle":55,"satellites":45,"speed":5,"hex_longitude":"2d18a4c0","hex_latitude":"07229cc8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645120768001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5771856225239040,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077503721472,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783770005000,"timestamp_ms":1783770005000,"timestamp_seconds":1783770005,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fa3e08"} 
[2026-07-11 17:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 17:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645120768001,"66":14265,"120":206,"28":31744,"24":5,"16":5771856225239040,"45":1775333077503721472},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645120768001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:11:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5771856225239040,"km_value":5771856225239.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077503721472,"description":"Unknown IO ID 45"} 
[2026-07-11 17:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645120768001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1775333077503721472}} 
[2026-07-11 17:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":128639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:11:06] local.INFO: GPS data processed {"connection_id":128639,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:11:06] local.INFO: Acknowledgment sent {"connection_id":128639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:11:07] local.INFO: TCP Data received {"connection_id":130769,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:11:07] local.INFO: Processing buffer {"connection_id":130769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:11:07] local.INFO: IMEI packet received {"connection_id":130769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":130769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:11:08] local.INFO: TCP Data received {"connection_id":130769,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f9a5b0012cb4b6400778d888003800aa30..."} 
[2026-07-11 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f9a5b0012cb4b6400778d888003800aa30..."} 
[2026-07-11 17:11:08] local.INFO: Processing buffer {"connection_id":130769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f9a5b0012cb4b6400778d888003800aa30..."} 
[2026-07-11 17:11:08] local.INFO: Packet analysis {"connection_id":130769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:11:08] local.INFO: Extracted packet for processing {"connection_id":130769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":750040640,"raw_latitude":125360264,"longitude_deg":75.004064,"latitude_deg":12.5360264,"altitude":56,"angle":170,"satellites":48,"speed":34,"hex_longitude":"2cb4b640","hex_latitude":"0778d888","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645110784001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345234900091142144,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5425570881493581824,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783769966000,"timestamp_ms":1783769966000,"timestamp_seconds":1783769966,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f9a5b0"} 
[2026-07-11 17:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:11: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-07-11 17:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645110784001,"66":27832,"46":206,"85":36608,"24":34,"16":345234900091142144,"44":-5425570881493581824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-07-11 17:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645110784001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:11:08] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-11 17:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345234900091142144,"km_value":345234900091142.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:11:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5425570881493581824,"description":"Unknown IO ID 44"} 
[2026-07-11 17:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645110784001,"power":27832,"unknown_46":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5425570881493581824}} 
[2026-07-11 17:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":130769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:11:08] local.INFO: GPS data processed {"connection_id":130769,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:11:08] local.INFO: Acknowledgment sent {"connection_id":130769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:11:10] local.INFO: TCP Data received {"connection_id":130768,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:11:10] local.INFO: Processing buffer {"connection_id":130768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:11:10] local.INFO: IMEI packet received {"connection_id":130768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":130768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:11:13] local.INFO: TCP Data received {"connection_id":130768,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f99610012d7a1d0005e46ad80011015b2a..."} 
[2026-07-11 17:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f99610012d7a1d0005e46ad80011015b2a..."} 
[2026-07-11 17:11:13] local.INFO: Processing buffer {"connection_id":130768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f99610012d7a1d0005e46ad80011015b2a..."} 
[2026-07-11 17:11:13] local.INFO: Packet analysis {"connection_id":130768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:11:13] local.INFO: Extracted packet for processing {"connection_id":130768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:11:13] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645104896001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783769962000,"timestamp_ms":1783769962000,"timestamp_seconds":1783769962,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f99610"} 
[2026-07-11 17:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-11 17:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645104896001,"66":12232,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645104896001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:11:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645104896001,"power":12232,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":130768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:11:13] local.INFO: GPS data processed {"connection_id":130768,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:11:13] local.INFO: Acknowledgment sent {"connection_id":130768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:11:17] local.INFO: TCP Data received {"connection_id":130768,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f9e818012d7a1d0005e46ad80011015b25..."} 
[2026-07-11 17:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f9e818012d7a1d0005e46ad80011015b25..."} 
[2026-07-11 17:11:17] local.INFO: Processing buffer {"connection_id":130768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f9e818012d7a1d0005e46ad80011015b25..."} 
[2026-07-11 17:11:17] local.INFO: Packet analysis {"connection_id":130768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:11:17] local.INFO: Extracted packet for processing {"connection_id":130768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:11:17] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":37,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645110272001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783769983000,"timestamp_ms":1783769983000,"timestamp_seconds":1783769983,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f9e818"} 
[2026-07-11 17:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 17:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645110272001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645110272001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:11:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645110272001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":130768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:11:17] local.INFO: GPS data processed {"connection_id":130768,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:11:17] local.INFO: Acknowledgment sent {"connection_id":130768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:11:37] local.INFO: TCP Data received {"connection_id":128639,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50faf5a0012d18be00072302c0006500342c..."} 
[2026-07-11 17:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50faf5a0012d18be00072302c0006500342c..."} 
[2026-07-11 17:11:37] local.INFO: Processing buffer {"connection_id":128639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50faf5a0012d18be00072302c0006500342c..."} 
[2026-07-11 17:11:37] local.INFO: Packet analysis {"connection_id":128639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:11:37] local.INFO: Extracted packet for processing {"connection_id":128639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756596224,"raw_latitude":119734976,"longitude_deg":75.6596224,"latitude_deg":11.9734976,"altitude":101,"angle":52,"satellites":44,"speed":30,"hex_longitude":"2d18be00","hex_latitude":"072302c0","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645132800001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773226319806464,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781666264486141952,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783770052000,"timestamp_ms":1783770052000,"timestamp_seconds":1783770052,"priority":1,"record_length":96,"hex_timestamp":"0000019f50faf5a0"} 
[2026-07-11 17:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:11:37] 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-07-11 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 17:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645132800001,"66":13015,"112":206,"28":31744,"24":30,"16":5773226319806464,"45":1781666264486141952},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645132800001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:11:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773226319806464,"km_value":5773226319806.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781666264486141952,"description":"Unknown IO ID 45"} 
[2026-07-11 17:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645132800001,"power":13015,"unknown_112":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1781666264486141952}} 
[2026-07-11 17:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":128639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:11:37] local.INFO: GPS data processed {"connection_id":128639,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:11:37] local.INFO: Acknowledgment sent {"connection_id":128639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:11:39] local.INFO: TCP Data received {"connection_id":130769,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50f9d0a8012cb4b7c00778b4d0003800b231..."} 
[2026-07-11 17:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50f9d0a8012cb4b7c00778b4d0003800b231..."} 
[2026-07-11 17:11:39] local.INFO: Processing buffer {"connection_id":130769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50f9d0a8012cb4b7c00778b4d0003800b231..."} 
[2026-07-11 17:11:39] local.INFO: Packet analysis {"connection_id":130769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:11:39] local.INFO: Extracted packet for processing {"connection_id":130769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50f9"} 
[2026-07-11 17:11:39] local.INFO: GPS Element Parsed {"raw_longitude":750041024,"raw_latitude":125351120,"longitude_deg":75.0041024,"latitude_deg":12.535112,"altitude":56,"angle":178,"satellites":49,"speed":33,"hex_longitude":"2cb4b7c0","hex_latitude":"0778b4d0","is_valid_coordinates":true} 
[2026-07-11 17:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645111296001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345235342472773632,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5425078300284778496,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783769977000,"timestamp_ms":1783769977000,"timestamp_seconds":1783769977,"priority":1,"record_length":96,"hex_timestamp":"0000019f50f9d0a8"} 
[2026-07-11 17:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-11 17:11:39] 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-07-11 17:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645111296001,"66":27691,"23":206,"85":36608,"24":33,"16":345235342472773632,"44":-5425078300284778496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,44]} 
[2026-07-11 17:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645111296001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:11:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-11 17:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345235342472773632,"km_value":345235342472773.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:11:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5425078300284778496,"description":"Unknown IO ID 44"} 
[2026-07-11 17:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645111296001,"power":27691,"unknown_23":206,"unknown_85":36608,"ignition":33,"odometer":null,"unknown_44":-5425078300284778496}} 
[2026-07-11 17:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":130769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:11:39] local.INFO: GPS data processed {"connection_id":130769,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:11:39] local.INFO: Acknowledgment sent {"connection_id":130769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:11:48] local.INFO: TCP Data received {"connection_id":130768,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fa3a20012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fa3a20012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:11:48] local.INFO: Processing buffer {"connection_id":130768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fa3a20012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:11:48] local.INFO: Packet analysis {"connection_id":130768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:11:48] local.INFO: Extracted packet for processing {"connection_id":130768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:11:48] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":41,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645115648001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783770004000,"timestamp_ms":1783770004000,"timestamp_seconds":1783770004,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fa3a20"} 
[2026-07-11 17:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645115648001,"66":12069,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645115648001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:11:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:11:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645115648001,"power":12069,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":130768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:11:48] local.INFO: GPS data processed {"connection_id":130768,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:11:48] local.INFO: Acknowledgment sent {"connection_id":130768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:11:59] local.INFO: TCP Data received {"connection_id":130770,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:11:59] local.INFO: Processing buffer {"connection_id":130770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:11:59] local.INFO: IMEI packet received {"connection_id":130770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":130770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:12:03] local.INFO: TCP Data received {"connection_id":130770,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:12:03] local.INFO: Processing buffer {"connection_id":130770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:12:03] local.INFO: IMEI packet received {"connection_id":130770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":130770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:12:03] local.INFO: TCP Data received {"connection_id":128835,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:12:03] local.INFO: Processing buffer {"connection_id":128835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:12:03] local.INFO: IMEI packet received {"connection_id":128835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":128835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:12:03] local.INFO: TCP Data received {"connection_id":128836,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:12:03] local.INFO: Processing buffer {"connection_id":128836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:12:03] local.INFO: IMEI packet received {"connection_id":128836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":128836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:12:04] local.INFO: TCP Data received {"connection_id":130770,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:12:04] local.INFO: Processing buffer {"connection_id":130770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:12:04] local.INFO: IMEI packet received {"connection_id":130770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":130770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:12:07] local.INFO: TCP Data received {"connection_id":130770,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fafd70012d18c34007230550006500482c..."} 
[2026-07-11 17:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fafd70012d18c34007230550006500482c..."} 
[2026-07-11 17:12:07] local.INFO: Processing buffer {"connection_id":130770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fafd70012d18c34007230550006500482c..."} 
[2026-07-11 17:12:07] local.INFO: Packet analysis {"connection_id":130770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:07] local.INFO: Extracted packet for processing {"connection_id":130770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119735632,"longitude_deg":75.6597568,"latitude_deg":11.9735632,"altitude":101,"angle":72,"satellites":44,"speed":28,"hex_longitude":"2d18c340","hex_latitude":"07230550","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645133312001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773299334250496,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782862533137448960,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783770054000,"timestamp_ms":1783770054000,"timestamp_seconds":1783770054,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fafd70"} 
[2026-07-11 17:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 17:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645133312001,"66":12298,"112":206,"28":31744,"24":28,"16":5773299334250496,"45":1782862533137448960},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645133312001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:12:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773299334250496,"km_value":5773299334250.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782862533137448960,"description":"Unknown IO ID 45"} 
[2026-07-11 17:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645133312001,"power":12298,"unknown_112":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1782862533137448960}} 
[2026-07-11 17:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":130770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:12:07] local.INFO: GPS data processed {"connection_id":130770,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:12:07] local.INFO: Acknowledgment sent {"connection_id":130770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:12:09] local.INFO: TCP Data received {"connection_id":128836,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:12:09] local.INFO: Processing buffer {"connection_id":128836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:12:09] local.INFO: IMEI packet received {"connection_id":128836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":128836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:12:10] local.INFO: TCP Data received {"connection_id":128836,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fa22b0012cb4b640077896a8003600b932..."} 
[2026-07-11 17:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fa22b0012cb4b640077896a8003600b932..."} 
[2026-07-11 17:12:10] local.INFO: Processing buffer {"connection_id":128836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fa22b0012cb4b640077896a8003600b932..."} 
[2026-07-11 17:12:10] local.INFO: Packet analysis {"connection_id":128836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:10] local.INFO: Extracted packet for processing {"connection_id":128836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:10] local.INFO: GPS Element Parsed {"raw_longitude":750040640,"raw_latitude":125343400,"longitude_deg":75.004064,"latitude_deg":12.53434,"altitude":54,"angle":185,"satellites":50,"speed":15,"hex_longitude":"2cb4b640","hex_latitude":"077896a8","is_valid_coordinates":true} 
[2026-07-11 17:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645114112001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345235720429895680,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5424656087822053376,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783769998000,"timestamp_ms":1783769998000,"timestamp_seconds":1783769998,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fa22b0"} 
[2026-07-11 17:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 17:12:10] 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-07-11 17:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645114112001,"66":27930,"23":206,"85":36608,"24":15,"16":345235720429895680,"44":-5424656087822053376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,44]} 
[2026-07-11 17:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645114112001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:12:10] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-11 17:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345235720429895680,"km_value":345235720429895.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5424656087822053376,"description":"Unknown IO ID 44"} 
[2026-07-11 17:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645114112001,"power":27930,"unknown_23":206,"unknown_85":36608,"ignition":15,"odometer":null,"unknown_44":-5424656087822053376}} 
[2026-07-11 17:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":128836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:12:10] local.INFO: GPS data processed {"connection_id":128836,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:12:10] local.INFO: Acknowledgment sent {"connection_id":128836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:12:11] local.INFO: TCP Data received {"connection_id":128835,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:12:11] local.INFO: Processing buffer {"connection_id":128835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:12:11] local.INFO: IMEI packet received {"connection_id":128835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":128835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:12:13] local.INFO: TCP Data received {"connection_id":128835,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fa8c28012d7a1d0005e46ad80011015b2a..."} 
[2026-07-11 17:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fa8c28012d7a1d0005e46ad80011015b2a..."} 
[2026-07-11 17:12:13] local.INFO: Processing buffer {"connection_id":128835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fa8c28012d7a1d0005e46ad80011015b2a..."} 
[2026-07-11 17:12:13] local.INFO: Packet analysis {"connection_id":128835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:13] local.INFO: Extracted packet for processing {"connection_id":128835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:13] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645121024001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783770025000,"timestamp_ms":1783770025000,"timestamp_seconds":1783770025,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fa8c28"} 
[2026-07-11 17:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-11 17:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645121024001,"66":12102,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645121024001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:12:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645121024001,"power":12102,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":128835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:12:13] local.INFO: GPS data processed {"connection_id":128835,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:12:13] local.INFO: Acknowledgment sent {"connection_id":128835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:12:40] local.INFO: TCP Data received {"connection_id":130770,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fb0540012d18c88007230628006400572c..."} 
[2026-07-11 17:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fb0540012d18c88007230628006400572c..."} 
[2026-07-11 17:12:40] local.INFO: Processing buffer {"connection_id":130770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fb0540012d18c88007230628006400572c..."} 
[2026-07-11 17:12:40] local.INFO: Packet analysis {"connection_id":130770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:12:40] local.INFO: Extracted packet for processing {"connection_id":130770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119735848,"longitude_deg":75.6598912,"latitude_deg":11.9735848,"altitude":100,"angle":87,"satellites":44,"speed":24,"hex_longitude":"2d18c880","hex_latitude":"07230628","is_valid_coordinates":true} 
[2026-07-11 17:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773363758759936,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276765347840,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783770056000,"timestamp_ms":1783770056000,"timestamp_seconds":1783770056,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fb0540"} 
[2026-07-11 17:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049401561600,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452308,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5835143255560099999,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3797942745108054222,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":43009,"corrected_to":0} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514189189717098501,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4205537281,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3485991021,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2147951305,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":48,"raw_value":7036874418421764,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604775,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2180775936,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":111,"raw_value":1460151861116928,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-1297036692682702847,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,112,28,24,241,158,16,130,159,245,45,2,101,44,10,66,237,192,254,102,46,202,128,1,240,3,80,34,4,113,205,26,160,32,48,239,50,20,7,111,129],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":202,"original":43009,"validated":0},{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:12:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7277896351648317440,"timestamp_seconds":7277896351648317.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645133824001,"66":13015,"112":206,"28":31744,"24":24,"16":5773363758759936,"45":1784340276765347840},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:12:40] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:12:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773363758759936,"km_value":5773363758759.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276765347840,"description":"Unknown IO ID 45"} 
[2026-07-11 17:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645133824001,"power":13015,"unknown_112":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1784340276765347840}} 
[2026-07-11 17:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":130770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:12:41] local.INFO: GPS data processed {"connection_id":130770,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:12:41] local.INFO: Acknowledgment sent {"connection_id":130770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:12:41] local.INFO: TCP Data received {"connection_id":128836,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fa4da8012cb4b5c0077880f8003500ae32..."} 
[2026-07-11 17:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fa4da8012cb4b5c0077880f8003500ae32..."} 
[2026-07-11 17:12:41] local.INFO: Processing buffer {"connection_id":128836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fa4da8012cb4b5c0077880f8003500ae32..."} 
[2026-07-11 17:12:41] local.INFO: Packet analysis {"connection_id":128836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:41] local.INFO: Extracted packet for processing {"connection_id":128836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:41] local.INFO: GPS Element Parsed {"raw_longitude":750040512,"raw_latitude":125337848,"longitude_deg":75.0040512,"latitude_deg":12.5337848,"altitude":53,"angle":174,"satellites":50,"speed":24,"hex_longitude":"2cb4b5c0","hex_latitude":"077880f8","is_valid_coordinates":true} 
[2026-07-11 17:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645119488001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345235991012835328,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5425078300289095680,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783770009000,"timestamp_ms":1783770009000,"timestamp_seconds":1783770009,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fa4da8"} 
[2026-07-11 17:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:12:41] 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-07-11 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:12:41] 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-07-11 17:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645119488001,"66":27865,"23":206,"85":36608,"24":24,"16":345235991012835328,"44":-5425078300289095680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,44]} 
[2026-07-11 17:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645119488001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:12:41] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-11 17:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345235991012835328,"km_value":345235991012835.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5425078300289095680,"description":"Unknown IO ID 44"} 
[2026-07-11 17:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645119488001,"power":27865,"unknown_23":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5425078300289095680}} 
[2026-07-11 17:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":128836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:12:41] local.INFO: GPS data processed {"connection_id":128836,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:12:41] local.INFO: Acknowledgment sent {"connection_id":128836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:12:45] local.INFO: TCP Data received {"connection_id":128835,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fade30012d7a1d0005e46ad80011015b27..."} 
[2026-07-11 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fade30012d7a1d0005e46ad80011015b27..."} 
[2026-07-11 17:12:45] local.INFO: Processing buffer {"connection_id":128835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fade30012d7a1d0005e46ad80011015b27..."} 
[2026-07-11 17:12:45] local.INFO: Packet analysis {"connection_id":128835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:45] local.INFO: Extracted packet for processing {"connection_id":128835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fa"} 
[2026-07-11 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645126400001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783770046000,"timestamp_ms":1783770046000,"timestamp_seconds":1783770046,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fade30"} 
[2026-07-11 17:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 17:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645126400001,"66":12102,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645126400001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:12:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645126400001,"power":12102,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":128835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:12:45] local.INFO: GPS data processed {"connection_id":128835,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:12:45] local.INFO: Acknowledgment sent {"connection_id":128835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:13:03] local.INFO: TCP Data received {"connection_id":128640,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:13:03] local.INFO: Processing buffer {"connection_id":128640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:13:03] local.INFO: IMEI packet received {"connection_id":128640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":128640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:13:04] local.INFO: TCP Data received {"connection_id":130771,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:13:04] local.INFO: Processing buffer {"connection_id":130771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:13:04] local.INFO: IMEI packet received {"connection_id":130771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":130771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:13:05] local.INFO: TCP Data received {"connection_id":130771,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:13:05] local.INFO: Processing buffer {"connection_id":130771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:13:05] local.INFO: IMEI packet received {"connection_id":130771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":130771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:13:07] local.INFO: TCP Data received {"connection_id":130771,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fb10f8012d18ce80072305c8006300622d..."} 
[2026-07-11 17:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fb10f8012d18ce80072305c8006300622d..."} 
[2026-07-11 17:13:07] local.INFO: Processing buffer {"connection_id":130771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fb10f8012d18ce80072305c8006300622d..."} 
[2026-07-11 17:13:07] local.INFO: Packet analysis {"connection_id":130771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:07] local.INFO: Extracted packet for processing {"connection_id":130771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756600448,"raw_latitude":119735752,"longitude_deg":75.6600448,"latitude_deg":11.9735752,"altitude":99,"angle":98,"satellites":45,"speed":15,"hex_longitude":"2d18ce80","hex_latitude":"072305c8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645134336001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773432478236672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785818020393134080,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783770059000,"timestamp_ms":1783770059000,"timestamp_seconds":1783770059,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fb10f8"} 
[2026-07-11 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-07-11 17:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 17:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645134336001,"66":13015,"112":206,"28":31744,"24":15,"16":5773432478236672,"45":1785818020393134080},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645134336001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:13:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773432478236672,"km_value":5773432478236.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785818020393134080,"description":"Unknown IO ID 45"} 
[2026-07-11 17:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645134336001,"power":13015,"unknown_112":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1785818020393134080}} 
[2026-07-11 17:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":130771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:13:07] local.INFO: GPS data processed {"connection_id":130771,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:13:07] local.INFO: Acknowledgment sent {"connection_id":130771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:13:08] local.INFO: TCP Data received {"connection_id":128641,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:13:08] local.INFO: Processing buffer {"connection_id":128641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:13:08] local.INFO: IMEI packet received {"connection_id":128641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":128641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:13:08] local.INFO: TCP Data received {"connection_id":128640,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:13:08] local.INFO: Processing buffer {"connection_id":128640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:13:08] local.INFO: IMEI packet received {"connection_id":128640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":128640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:13:08] local.INFO: TCP Data received {"connection_id":128640,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fbebb8012cb4fc800777c260003800a830..."} 
[2026-07-11 17:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fbebb8012cb4fc800777c260003800a830..."} 
[2026-07-11 17:13:09] local.INFO: Processing buffer {"connection_id":128640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fbebb8012cb4fc800777c260003800a830..."} 
[2026-07-11 17:13:09] local.INFO: Packet analysis {"connection_id":128640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:09] local.INFO: Extracted packet for processing {"connection_id":128640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:09] local.INFO: GPS Element Parsed {"raw_longitude":750058624,"raw_latitude":125289056,"longitude_deg":75.0058624,"latitude_deg":12.5289056,"altitude":56,"angle":168,"satellites":48,"speed":24,"hex_longitude":"2cb4fc80","hex_latitude":"0777c260","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645147136001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345238636712689664,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5406500951839057920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770115000,"timestamp_ms":1783770115000,"timestamp_seconds":1783770115,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fbebb8"} 
[2026-07-11 17:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:13:09] 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-07-11 17: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-11 17:13:09] 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-07-11 17: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-07-11 17:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17: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-07-11 17:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645147136001,"66":27800,"22":206,"85":36608,"24":24,"16":345238636712689664,"44":-5406500951839057920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-07-11 17:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645147136001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:13:09] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-11 17:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345238636712689664,"km_value":345238636712689.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5406500951839057920,"description":"Unknown IO ID 44"} 
[2026-07-11 17:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645147136001,"power":27800,"unknown_22":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5406500951839057920}} 
[2026-07-11 17:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":128640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:13:09] local.INFO: GPS data processed {"connection_id":128640,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:13:09] local.INFO: Acknowledgment sent {"connection_id":128640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:13:10] local.INFO: TCP Data received {"connection_id":130771,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fb18c8012d18d0c007230590006300552c..."} 
[2026-07-11 17:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fb18c8012d18d0c007230590006300552c..."} 
[2026-07-11 17:13:10] local.INFO: Processing buffer {"connection_id":130771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fb18c8012d18d0c007230590006300552c..."} 
[2026-07-11 17:13:10] local.INFO: Packet analysis {"connection_id":130771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:10] local.INFO: Extracted packet for processing {"connection_id":130771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119735696,"longitude_deg":75.6601024,"latitude_deg":11.9735696,"altitude":99,"angle":85,"satellites":44,"speed":9,"hex_longitude":"2d18d0c0","hex_latitude":"07230590","is_valid_coordinates":true} 
[2026-07-11 17:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645135104001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773462543007744,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787506870253373440,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783770061000,"timestamp_ms":1783770061000,"timestamp_seconds":1783770061,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fb18c8"} 
[2026-07-11 17:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:13:10] 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-07-11 17:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 17:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645135104001,"66":12113,"112":206,"28":31744,"24":9,"16":5773462543007744,"45":1787506870253373440},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645135104001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:13:10] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773462543007744,"km_value":5773462543007.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787506870253373440,"description":"Unknown IO ID 45"} 
[2026-07-11 17:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645135104001,"power":12113,"unknown_112":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1787506870253373440}} 
[2026-07-11 17:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":130771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:13:10] local.INFO: GPS data processed {"connection_id":130771,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:13:10] local.INFO: Acknowledgment sent {"connection_id":130771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:13:15] local.INFO: TCP Data received {"connection_id":128641,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:13:15] local.INFO: Processing buffer {"connection_id":128641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:13:15] local.INFO: IMEI packet received {"connection_id":128641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":128641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:13:17] local.INFO: TCP Data received {"connection_id":128641,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fb3038012d7a1d0005e46ad80011015b26..."} 
[2026-07-11 17:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fb3038012d7a1d0005e46ad80011015b26..."} 
[2026-07-11 17:13:17] local.INFO: Processing buffer {"connection_id":128641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fb3038012d7a1d0005e46ad80011015b26..."} 
[2026-07-11 17:13:17] local.INFO: Packet analysis {"connection_id":128641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:17] local.INFO: Extracted packet for processing {"connection_id":128641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:17] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645131776001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783770067000,"timestamp_ms":1783770067000,"timestamp_seconds":1783770067,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fb3038"} 
[2026-07-11 17:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 17:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645131776001,"66":11950,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645131776001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:13:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645131776001,"power":11950,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":128641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:13:17] local.INFO: GPS data processed {"connection_id":128641,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:13:17] local.INFO: Acknowledgment sent {"connection_id":128641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:13:40] local.INFO: TCP Data received {"connection_id":128640,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fcd230012cb55400077746300034008631..."} 
[2026-07-11 17:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fcd230012cb55400077746300034008631..."} 
[2026-07-11 17:13:40] local.INFO: Processing buffer {"connection_id":128640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fcd230012cb55400077746300034008631..."} 
[2026-07-11 17:13:40] local.INFO: Packet analysis {"connection_id":128640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:13:40] local.INFO: Extracted packet for processing {"connection_id":128640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:13:40] local.INFO: GPS Element Parsed {"raw_longitude":750081024,"raw_latitude":125257264,"longitude_deg":75.0081024,"latitude_deg":12.5257264,"altitude":52,"angle":134,"satellites":49,"speed":23,"hex_longitude":"2cb55400","hex_latitude":"07774630","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645164032001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345240625282547712,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5381590416409096192,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783770174000,"timestamp_ms":1783770174000,"timestamp_seconds":1783770174,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fcd230"} 
[2026-07-11 17:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:13:40] 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-07-11 17: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 17:13:40] 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-07-11 17: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-07-11 17:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645164032001,"66":27908,"22":206,"85":36608,"24":23,"16":345240625282547712,"44":-5381590416409096192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-07-11 17:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645164032001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:13:40] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-11 17:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345240625282547712,"km_value":345240625282547.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5381590416409096192,"description":"Unknown IO ID 44"} 
[2026-07-11 17:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645164032001,"power":27908,"unknown_22":206,"unknown_85":36608,"ignition":23,"odometer":null,"unknown_44":-5381590416409096192}} 
[2026-07-11 17:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":128640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:13:40] local.INFO: GPS data processed {"connection_id":128640,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:13:40] local.INFO: Acknowledgment sent {"connection_id":128640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:13:42] local.INFO: TCP Data received {"connection_id":130771,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fb1cb0012d18d1c0072305d80063003c2d..."} 
[2026-07-11 17:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fb1cb0012d18d1c0072305d80063003c2d..."} 
[2026-07-11 17:13:42] local.INFO: Processing buffer {"connection_id":130771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fb1cb0012d18d1c0072305d80063003c2d..."} 
[2026-07-11 17:13:42] local.INFO: Packet analysis {"connection_id":130771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:42] local.INFO: Extracted packet for processing {"connection_id":130771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119735768,"longitude_deg":75.660128,"latitude_deg":11.9735768,"altitude":99,"angle":60,"satellites":45,"speed":8,"hex_longitude":"2d18d1c0","hex_latitude":"072305d8","is_valid_coordinates":true} 
[2026-07-11 17:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645135616001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773475427909632,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188950958080,"note":"Value kept but may cause issues"} 
[2026-07-11 17:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783770062000,"timestamp_ms":1783770062000,"timestamp_seconds":1783770062,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fb1cb0"} 
[2026-07-11 17:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:13:42] 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-07-11 17:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-11 17:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645135616001,"66":13015,"112":206,"28":31744,"24":8,"16":5773475427909632,"45":1788140188950958080},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645135616001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:13:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:13:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773475427909632,"km_value":5773475427909.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188950958080,"description":"Unknown IO ID 45"} 
[2026-07-11 17:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645135616001,"power":13015,"unknown_112":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1788140188950958080}} 
[2026-07-11 17:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":130771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:13:42] local.INFO: GPS data processed {"connection_id":130771,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:13:42] local.INFO: Acknowledgment sent {"connection_id":130771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:13:59] local.INFO: TCP Data received {"connection_id":130773,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:13:59] local.INFO: Processing buffer {"connection_id":130773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:13:59] local.INFO: IMEI packet received {"connection_id":130773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":130773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:14:03] local.INFO: TCP Data received {"connection_id":128838,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:14:03] local.INFO: Processing buffer {"connection_id":128838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:14:03] local.INFO: IMEI packet received {"connection_id":128838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":128838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:14:03] local.INFO: TCP Data received {"connection_id":128839,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:14:03] local.INFO: Processing buffer {"connection_id":128839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:14:03] local.INFO: IMEI packet received {"connection_id":128839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":128839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:14:04] local.INFO: TCP Data received {"connection_id":130773,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:14:04] local.INFO: Processing buffer {"connection_id":130773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:14:04] local.INFO: IMEI packet received {"connection_id":130773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":130773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:14:05] local.INFO: TCP Data received {"connection_id":130773,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fb2098012d18d24007230640006300202d..."} 
[2026-07-11 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fb2098012d18d24007230640006300202d..."} 
[2026-07-11 17:14:05] local.INFO: Processing buffer {"connection_id":130773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fb2098012d18d24007230640006300202d..."} 
[2026-07-11 17:14:05] local.INFO: Packet analysis {"connection_id":130773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:14:05] local.INFO: Extracted packet for processing {"connection_id":130773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735872,"longitude_deg":75.6601408,"latitude_deg":11.9735872,"altitude":99,"angle":32,"satellites":45,"speed":5,"hex_longitude":"2d18d240","hex_latitude":"07230640","is_valid_coordinates":true} 
[2026-07-11 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645135872001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773484017844224,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663927687168,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770063000,"timestamp_ms":1783770063000,"timestamp_seconds":1783770063,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fb2098"} 
[2026-07-11 17:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:14: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-07-11 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 17:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645135872001,"66":13015,"112":206,"28":31744,"24":5,"16":5773484017844224,"45":1788421663927687168},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645135872001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:14:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773484017844224,"km_value":5773484017844.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663927687168,"description":"Unknown IO ID 45"} 
[2026-07-11 17:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645135872001,"power":13015,"unknown_112":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1788421663927687168}} 
[2026-07-11 17:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":130773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:14:05] local.INFO: GPS data processed {"connection_id":130773,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:14:05] local.INFO: Acknowledgment sent {"connection_id":130773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:14:08] local.INFO: TCP Data received {"connection_id":128838,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:14:08] local.INFO: Processing buffer {"connection_id":128838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:14:08] local.INFO: IMEI packet received {"connection_id":128838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":128838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:14:08] local.INFO: TCP Data received {"connection_id":128839,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:14:08] local.INFO: Processing buffer {"connection_id":128839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:14:08] local.INFO: IMEI packet received {"connection_id":128839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":128839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:14:09] local.INFO: TCP Data received {"connection_id":128839,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fcda00012cb557c007774380003400742f..."} 
[2026-07-11 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fcda00012cb557c007774380003400742f..."} 
[2026-07-11 17:14:09] local.INFO: Processing buffer {"connection_id":128839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fcda00012cb557c007774380003400742f..."} 
[2026-07-11 17:14:09] local.INFO: Packet analysis {"connection_id":128839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:14:09] local.INFO: Extracted packet for processing {"connection_id":128839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":750081984,"raw_latitude":125256576,"longitude_deg":75.0081984,"latitude_deg":12.5256576,"altitude":52,"angle":116,"satellites":47,"speed":23,"hex_longitude":"2cb557c0","hex_latitude":"07774380","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645164544001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345240681117122560,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5380675622735040512,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770176000,"timestamp_ms":1783770176000,"timestamp_seconds":1783770176,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fcda00"} 
[2026-07-11 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-07-11 17:14:09] 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-07-11 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:14: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-07-11 17:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645164544001,"66":27865,"22":206,"85":36608,"24":23,"16":345240681117122560,"44":-5380675622735040512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-07-11 17:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645164544001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:14:09] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-11 17:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345240681117122560,"km_value":345240681117122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5380675622735040512,"description":"Unknown IO ID 44"} 
[2026-07-11 17:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645164544001,"power":27865,"unknown_22":206,"unknown_85":36608,"ignition":23,"odometer":null,"unknown_44":-5380675622735040512}} 
[2026-07-11 17:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":128839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:14:09] local.INFO: GPS data processed {"connection_id":128839,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:14:09] local.INFO: Acknowledgment sent {"connection_id":128839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:14:12] local.INFO: TCP Data received {"connection_id":128838,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fb8240012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fb8240012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:14:12] local.INFO: Processing buffer {"connection_id":128838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fb8240012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:14:12] local.INFO: Packet analysis {"connection_id":128838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:14:12] local.INFO: Extracted packet for processing {"connection_id":128838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:14:12] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645137152001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783770088000,"timestamp_ms":1783770088000,"timestamp_seconds":1783770088,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fb8240"} 
[2026-07-11 17:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 17:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645137152001,"66":12048,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645137152001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:14:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645137152001,"power":12048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":128838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:14:12] local.INFO: GPS data processed {"connection_id":128838,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:14:12] local.INFO: Acknowledgment sent {"connection_id":128838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:14:39] local.INFO: TCP Data received {"connection_id":130773,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fb72a0012d18d24007230678006300202c..."} 
[2026-07-11 17:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fb72a0012d18d24007230678006300202c..."} 
[2026-07-11 17:14:39] local.INFO: Processing buffer {"connection_id":130773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fb72a0012d18d24007230678006300202c..."} 
[2026-07-11 17:14:39] local.INFO: Packet analysis {"connection_id":130773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:14:39] local.INFO: Extracted packet for processing {"connection_id":130773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":44,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645136128001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416069120,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783770084000,"timestamp_ms":1783770084000,"timestamp_seconds":1783770084,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fb72a0"} 
[2026-07-11 17:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 17:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645136128001,"66":13015,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416069120},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645136128001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:14:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416069120,"description":"Unknown IO ID 45"} 
[2026-07-11 17:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645136128001,"power":13015,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416069120}} 
[2026-07-11 17:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":130773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:14:39] local.INFO: GPS data processed {"connection_id":130773,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:14:39] local.INFO: Acknowledgment sent {"connection_id":130773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:14:40] local.INFO: TCP Data received {"connection_id":128839,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fce1d0012cb55c40077742280033006430..."} 
[2026-07-11 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fce1d0012cb55c40077742280033006430..."} 
[2026-07-11 17:14:40] local.INFO: Processing buffer {"connection_id":128839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fce1d0012cb55c40077742280033006430..."} 
[2026-07-11 17:14:40] local.INFO: Packet analysis {"connection_id":128839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:14:40] local.INFO: Extracted packet for processing {"connection_id":128839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":750083136,"raw_latitude":125256232,"longitude_deg":75.0083136,"latitude_deg":12.5256232,"altitude":51,"angle":100,"satellites":48,"speed":24,"hex_longitude":"2cb55c40","hex_latitude":"07774228","is_valid_coordinates":true} 
[2026-07-11 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645165056001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345240741246664704,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5379620091572551680,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783770178000,"timestamp_ms":1783770178000,"timestamp_seconds":1783770178,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fce1d0"} 
[2026-07-11 17:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:14:40] 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-07-11 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 17:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645165056001,"66":27767,"22":206,"85":36608,"24":24,"16":345240741246664704,"44":-5379620091572551680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-07-11 17:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645165056001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:14:40] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-11 17:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345240741246664704,"km_value":345240741246664.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5379620091572551680,"description":"Unknown IO ID 44"} 
[2026-07-11 17:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645165056001,"power":27767,"unknown_22":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5379620091572551680}} 
[2026-07-11 17:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":128839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:14:40] local.INFO: GPS data processed {"connection_id":128839,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:14:40] local.INFO: Acknowledgment sent {"connection_id":128839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:14:49] local.INFO: TCP Data received {"connection_id":128838,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fbd448012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fbd448012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:14:49] local.INFO: Processing buffer {"connection_id":128838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fbd448012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:14:49] local.INFO: Packet analysis {"connection_id":128838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:14:49] local.INFO: Extracted packet for processing {"connection_id":128838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:14:49] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":41,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645142528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783770109000,"timestamp_ms":1783770109000,"timestamp_seconds":1783770109,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fbd448"} 
[2026-07-11 17:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8446350468040359936,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505202580717568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4198113281,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629747077391969,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6457879504479387624,"corrected_to":0} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4786565578489856,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1987538790733751510,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194866688,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84858232962933866,"note":"Value kept but may cause issues"} 
[2026-07-11 17:14:49] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,55,159,48,45,106,17,38,10,66,222,39,140,1,240,70,227,80,228,4,113,205,232,29,216,37,239,47,2,117,5,69,8],"length":583,"final_offset":713,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-6457879504479387624,"validated":0}]} 
[2026-07-11 17:14:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225360800978305024,"timestamp_seconds":1225360800978305.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":128838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":128838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":128838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645142528001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645142528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:14:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645142528001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":128838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:14:49] local.INFO: GPS data processed {"connection_id":128838,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:14:49] local.INFO: Acknowledgment sent {"connection_id":128838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:14:59] local.INFO: TCP Data received {"connection_id":129536,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:14:59] local.INFO: Processing buffer {"connection_id":129536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:14:59] local.INFO: IMEI packet received {"connection_id":129536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":129536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:15:04] local.INFO: TCP Data received {"connection_id":129536,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:15:04] local.INFO: Processing buffer {"connection_id":129536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:15:04] local.INFO: IMEI packet received {"connection_id":129536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:15:05] local.INFO: TCP Data received {"connection_id":129536,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fbc4a8012d18d240072306780063002024..."} 
[2026-07-11 17:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fbc4a8012d18d240072306780063002024..."} 
[2026-07-11 17:15:05] local.INFO: Processing buffer {"connection_id":129536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fbc4a8012d18d240072306780063002024..."} 
[2026-07-11 17:15:05] local.INFO: Packet analysis {"connection_id":129536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:15:05] local.INFO: Extracted packet for processing {"connection_id":129536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fb"} 
[2026-07-11 17:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645141504001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770105000,"timestamp_ms":1783770105000,"timestamp_seconds":1783770105,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fbc4a8"} 
[2026-07-11 17:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:15:05] 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-07-11 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 17:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645141504001,"66":12993,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645141504001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:15:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:15:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645141504001,"power":12993,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":129536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:15:05] local.INFO: GPS data processed {"connection_id":129536,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:15:05] local.INFO: Acknowledgment sent {"connection_id":129536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:15:08] local.INFO: TCP Data received {"connection_id":128642,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:15:08] local.INFO: Processing buffer {"connection_id":128642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:15:08] local.INFO: IMEI packet received {"connection_id":128642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":128642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:15:09] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:15:09] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:15:09] local.INFO: IMEI packet received {"connection_id":128643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":128643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:15:10] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:15:10] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:15:10] local.INFO: IMEI packet received {"connection_id":128643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":128643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:15:11] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fd2ff0012cb580c007773d78003000612f..."} 
[2026-07-11 17:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fd2ff0012cb580c007773d78003000612f..."} 
[2026-07-11 17:15:11] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fd2ff0012cb580c007773d78003000612f..."} 
[2026-07-11 17:15:11] local.INFO: Packet analysis {"connection_id":128643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:15:11] local.INFO: Extracted packet for processing {"connection_id":128643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":750092480,"raw_latitude":125255032,"longitude_deg":75.009248,"latitude_deg":12.5255032,"altitude":48,"angle":97,"satellites":47,"speed":28,"hex_longitude":"2cb580c0","hex_latitude":"07773d78","is_valid_coordinates":true} 
[2026-07-11 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645165568001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345241183628296192,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5378353454177441792,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783770198000,"timestamp_ms":1783770198000,"timestamp_seconds":1783770198,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fd2ff0"} 
[2026-07-11 17:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:15:11] 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-07-11 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 17:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645165568001,"66":27789,"22":206,"85":36608,"24":28,"16":345241183628296192,"44":-5378353454177441792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-07-11 17:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645165568001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:15:11] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-11 17:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345241183628296192,"km_value":345241183628296.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5378353454177441792,"description":"Unknown IO ID 44"} 
[2026-07-11 17:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645165568001,"power":27789,"unknown_22":206,"unknown_85":36608,"ignition":28,"odometer":null,"unknown_44":-5378353454177441792}} 
[2026-07-11 17:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":128643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:15:11] local.INFO: GPS data processed {"connection_id":128643,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:15:11] local.INFO: Acknowledgment sent {"connection_id":128643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:15:13] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fd7258012cb5a4c0077738000031006d31..."} 
[2026-07-11 17:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fd7258012cb5a4c0077738000031006d31..."} 
[2026-07-11 17:15:13] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fd7258012cb5a4c0077738000031006d31..."} 
[2026-07-11 17:15:13] local.INFO: Packet analysis {"connection_id":128643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:15:13] local.INFO: Extracted packet for processing {"connection_id":128643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:15:13] local.INFO: GPS Element Parsed {"raw_longitude":750101696,"raw_latitude":125253632,"longitude_deg":75.0101696,"latitude_deg":12.5253632,"altitude":49,"angle":109,"satellites":49,"speed":24,"hex_longitude":"2cb5a4c0","hex_latitude":"07773800","is_valid_coordinates":true} 
[2026-07-11 17:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645170688001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345241626009927680,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5368079617527810048,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783770215000,"timestamp_ms":1783770215000,"timestamp_seconds":1783770215,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fd7258"} 
[2026-07-11 17:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:15:13] 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-07-11 17:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 17:15:13] 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-07-11 17:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645170688001,"66":27908,"191":206,"85":36608,"24":24,"16":345241626009927680,"44":-5368079617527810048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,44]} 
[2026-07-11 17:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645170688001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:15:13] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-11 17:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345241626009927680,"km_value":345241626009927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5368079617527810048,"description":"Unknown IO ID 44"} 
[2026-07-11 17:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645170688001,"power":27908,"unknown_191":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5368079617527810048}} 
[2026-07-11 17:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":128643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:15:13] local.INFO: GPS data processed {"connection_id":128643,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:15:13] local.INFO: Acknowledgment sent {"connection_id":128643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:15:13] local.INFO: TCP Data received {"connection_id":128642,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:15:13] local.INFO: Processing buffer {"connection_id":128642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:15:13] local.INFO: IMEI packet received {"connection_id":128642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":128642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:15:15] local.INFO: TCP Data received {"connection_id":128642,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fc2650012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fc2650012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:15:15] local.INFO: Processing buffer {"connection_id":128642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fc2650012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:15:15] local.INFO: Packet analysis {"connection_id":128642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:15:15] local.INFO: Extracted packet for processing {"connection_id":128642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:15:15] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645147904001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783770130000,"timestamp_ms":1783770130000,"timestamp_seconds":1783770130,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fc2650"} 
[2026-07-11 17:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645147904001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645147904001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645147904001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":128642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:15:15] local.INFO: GPS data processed {"connection_id":128642,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:15:15] local.INFO: Acknowledgment sent {"connection_id":128642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:15:20] local.INFO: TCP Data received {"connection_id":128642,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fc7858012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fc7858012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:15:20] local.INFO: Processing buffer {"connection_id":128642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fc7858012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:15:20] local.INFO: Packet analysis {"connection_id":128642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:15:20] local.INFO: Extracted packet for processing {"connection_id":128642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:15:20] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645153280001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783770151000,"timestamp_ms":1783770151000,"timestamp_seconds":1783770151,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fc7858"} 
[2026-07-11 17:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645153280001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645153280001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645153280001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":128642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:15:20] local.INFO: GPS data processed {"connection_id":128642,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:15:20] local.INFO: Acknowledgment sent {"connection_id":128642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:15:37] local.INFO: TCP Data received {"connection_id":129536,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fc16b0012d18d240072306780063002028..."} 
[2026-07-11 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fc16b0012d18d240072306780063002028..."} 
[2026-07-11 17:15:37] local.INFO: Processing buffer {"connection_id":129536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fc16b0012d18d240072306780063002028..."} 
[2026-07-11 17:15:37] local.INFO: Packet analysis {"connection_id":129536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:15:37] local.INFO: Extracted packet for processing {"connection_id":129536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645146880001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783770126000,"timestamp_ms":1783770126000,"timestamp_seconds":1783770126,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fc16b0"} 
[2026-07-11 17:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:15: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-07-11 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-11 17:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645146880001,"66":12939,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645146880001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:15:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645146880001,"power":12939,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":129536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:15:37] local.INFO: GPS data processed {"connection_id":129536,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:15:37] local.INFO: Acknowledgment sent {"connection_id":129536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:15:45] local.INFO: TCP Data received {"connection_id":128643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fd7258012cb5a4c0077738000031006d31..."} 
[2026-07-11 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fd7258012cb5a4c0077738000031006d31..."} 
[2026-07-11 17:15:45] local.INFO: Processing buffer {"connection_id":128643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fd7258012cb5a4c0077738000031006d31..."} 
[2026-07-11 17:15:45] local.INFO: Packet analysis {"connection_id":128643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:15:45] local.INFO: Extracted packet for processing {"connection_id":128643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:15:45] local.INFO: GPS Element Parsed {"raw_longitude":750101696,"raw_latitude":125253632,"longitude_deg":75.0101696,"latitude_deg":12.5253632,"altitude":49,"angle":109,"satellites":49,"speed":24,"hex_longitude":"2cb5a4c0","hex_latitude":"07773800","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645175040001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345241626009927680,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5357946518366584832,"note":"Value kept but may cause issues"} 
[2026-07-11 17:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783770215000,"timestamp_ms":1783770215000,"timestamp_seconds":1783770215,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fd7258"} 
[2026-07-11 17:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:15:45] 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-07-11 17: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-07-11 17:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645175040001,"66":27908,"191":206,"85":36608,"24":24,"16":345241626009927680,"44":-5357946518366584832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,44]} 
[2026-07-11 17:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645175040001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:15:45] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-11 17:15:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345241626009927680,"km_value":345241626009927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:15:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5357946518366584832,"description":"Unknown IO ID 44"} 
[2026-07-11 17:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645175040001,"power":27908,"unknown_191":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5357946518366584832}} 
[2026-07-11 17:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":128643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:15:45] local.INFO: GPS data processed {"connection_id":128643,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:15:45] local.INFO: Acknowledgment sent {"connection_id":128643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:15:59] local.INFO: TCP Data received {"connection_id":130776,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:15:59] local.INFO: Processing buffer {"connection_id":130776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:15:59] local.INFO: IMEI packet received {"connection_id":130776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":130776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:16:03] local.INFO: TCP Data received {"connection_id":129537,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:16:03] local.INFO: Processing buffer {"connection_id":129537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:16:03] local.INFO: IMEI packet received {"connection_id":129537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":129537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:16:04] local.INFO: TCP Data received {"connection_id":128644,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:16:04] local.INFO: Processing buffer {"connection_id":128644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:16:04] local.INFO: IMEI packet received {"connection_id":128644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":128644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:16:04] local.INFO: TCP Data received {"connection_id":130776,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:16:04] local.INFO: Processing buffer {"connection_id":130776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:16:04] local.INFO: IMEI packet received {"connection_id":130776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":130776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:16:04] local.INFO: TCP Data received {"connection_id":129537,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:16:04] local.INFO: Processing buffer {"connection_id":129537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:16:04] local.INFO: IMEI packet received {"connection_id":129537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":129537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:16:05] local.INFO: TCP Data received {"connection_id":130776,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fc68b8012d18d240072306780063002028..."} 
[2026-07-11 17:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fc68b8012d18d240072306780063002028..."} 
[2026-07-11 17:16:05] local.INFO: Processing buffer {"connection_id":130776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fc68b8012d18d240072306780063002028..."} 
[2026-07-11 17:16:05] local.INFO: Packet analysis {"connection_id":130776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:16:05] local.INFO: Extracted packet for processing {"connection_id":130776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645152256001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770147000,"timestamp_ms":1783770147000,"timestamp_seconds":1783770147,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fc68b8"} 
[2026-07-11 17:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:16: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-07-11 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 17:16:05] 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-07-11 17: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-07-11 17:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645152256001,"66":12950,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645152256001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:16:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645152256001,"power":12950,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":130776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:16:05] local.INFO: GPS data processed {"connection_id":130776,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:16:05] local.INFO: Acknowledgment sent {"connection_id":130776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:16:07] local.INFO: TCP Data received {"connection_id":128644,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:16:07] local.INFO: Processing buffer {"connection_id":128644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:16:07] local.INFO: IMEI packet received {"connection_id":128644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":128644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:16:08] local.INFO: TCP Data received {"connection_id":129537,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:16:08] local.INFO: Processing buffer {"connection_id":129537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:16:08] local.INFO: IMEI packet received {"connection_id":129537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":129537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:16:08] local.INFO: TCP Data received {"connection_id":128644,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fee188012cb63480077667f0003a00a32d..."} 
[2026-07-11 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fee188012cb63480077667f0003a00a32d..."} 
[2026-07-11 17:16:08] local.INFO: Processing buffer {"connection_id":128644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fee188012cb63480077667f0003a00a32d..."} 
[2026-07-11 17:16:08] local.INFO: Packet analysis {"connection_id":128644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:16:08] local.INFO: Extracted packet for processing {"connection_id":128644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":750138496,"raw_latitude":125200368,"longitude_deg":75.0138496,"latitude_deg":12.5200368,"altitude":58,"angle":163,"satellites":45,"speed":37,"hex_longitude":"2cb63480","hex_latitude":"077667f0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645196544001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345244842940432384,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5320721452707833856,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783770309000,"timestamp_ms":1783770309000,"timestamp_seconds":1783770309,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fee188"} 
[2026-07-11 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-07-11 17:16: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-07-11 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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-11 17:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645196544001,"66":27930,"190":206,"85":36608,"24":37,"16":345244842940432384,"44":-5320721452707833856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,44]} 
[2026-07-11 17:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645196544001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:16:08] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-11 17:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345244842940432384,"km_value":345244842940432.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:16:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5320721452707833856,"description":"Unknown IO ID 44"} 
[2026-07-11 17:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645196544001,"power":27930,"unknown_190":206,"unknown_85":36608,"ignition":37,"odometer":null,"unknown_44":-5320721452707833856}} 
[2026-07-11 17:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":128644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:16:08] local.INFO: GPS data processed {"connection_id":128644,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:16:08] local.INFO: Acknowledgment sent {"connection_id":128644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:16:09] local.INFO: TCP Data received {"connection_id":128644,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ff0898012cb64000077643e0003a00a12c..."} 
[2026-07-11 17:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ff0898012cb64000077643e0003a00a12c..."} 
[2026-07-11 17:16:09] local.INFO: Processing buffer {"connection_id":128644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ff0898012cb64000077643e0003a00a12c..."} 
[2026-07-11 17:16:09] local.INFO: Packet analysis {"connection_id":128644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:16:09] local.INFO: Extracted packet for processing {"connection_id":128644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:16:09] local.INFO: GPS Element Parsed {"raw_longitude":750141440,"raw_latitude":125191136,"longitude_deg":75.014144,"latitude_deg":12.5191136,"altitude":58,"angle":161,"satellites":44,"speed":38,"hex_longitude":"2cb64000","hex_latitude":"077643e0","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645199104001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345245311091867648,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5317484490478063616,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770319000,"timestamp_ms":1783770319000,"timestamp_seconds":1783770319,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ff0898"} 
[2026-07-11 17:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:16:09] 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-07-11 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:16:09] 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-07-11 17: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-07-11 17:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645199104001,"66":27713,"190":206,"85":36608,"24":38,"16":345245311091867648,"44":-5317484490478063616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,44]} 
[2026-07-11 17:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645199104001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:16:09] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-11 17:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345245311091867648,"km_value":345245311091867.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5317484490478063616,"description":"Unknown IO ID 44"} 
[2026-07-11 17:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645199104001,"power":27713,"unknown_190":206,"unknown_85":36608,"ignition":38,"odometer":null,"unknown_44":-5317484490478063616}} 
[2026-07-11 17:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":128644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:16:09] local.INFO: GPS data processed {"connection_id":128644,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:16:09] local.INFO: Acknowledgment sent {"connection_id":128644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:16:10] local.INFO: TCP Data received {"connection_id":129537,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fcca60012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fcca60012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:16:10] local.INFO: Processing buffer {"connection_id":129537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fcca60012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:16:10] local.INFO: Packet analysis {"connection_id":129537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:16:10] local.INFO: Extracted packet for processing {"connection_id":129537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645158656001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783770172000,"timestamp_ms":1783770172000,"timestamp_seconds":1783770172,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fcca60"} 
[2026-07-11 17:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645158656001,"66":11743,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645158656001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645158656001,"power":11743,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":129537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:16:10] local.INFO: GPS data processed {"connection_id":129537,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:16:10] local.INFO: Acknowledgment sent {"connection_id":129537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:16:15] local.INFO: TCP Data received {"connection_id":129537,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fd1c68012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fd1c68012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:16:15] local.INFO: Processing buffer {"connection_id":129537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fd1c68012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:16:15] local.INFO: Packet analysis {"connection_id":129537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:16:15] local.INFO: Extracted packet for processing {"connection_id":129537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:16:15] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645164032001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783770193000,"timestamp_ms":1783770193000,"timestamp_seconds":1783770193,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fd1c68"} 
[2026-07-11 17:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-11 17:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645164032001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645164032001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645164032001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":129537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:16:15] local.INFO: GPS data processed {"connection_id":129537,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:16:15] local.INFO: Acknowledgment sent {"connection_id":129537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:16:36] local.INFO: TCP Data received {"connection_id":130776,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fcbac0012d18d240072306780063002028..."} 
[2026-07-11 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fcbac0012d18d240072306780063002028..."} 
[2026-07-11 17:16:36] local.INFO: Processing buffer {"connection_id":130776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fcbac0012d18d240072306780063002028..."} 
[2026-07-11 17:16:36] local.INFO: Packet analysis {"connection_id":130776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:16:36] local.INFO: Extracted packet for processing {"connection_id":130776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fc"} 
[2026-07-11 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645157632001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783770168000,"timestamp_ms":1783770168000,"timestamp_seconds":1783770168,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fcbac0"} 
[2026-07-11 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-07-11 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 17:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645157632001,"66":12939,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645157632001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:16:36] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645157632001,"power":12939,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":130776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:16:36] local.INFO: GPS data processed {"connection_id":130776,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:16:36] local.INFO: Acknowledgment sent {"connection_id":130776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:16:40] local.INFO: TCP Data received {"connection_id":128644,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ff2fa8012cb649c007762218003a00a82d..."} 
[2026-07-11 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ff2fa8012cb649c007762218003a00a82d..."} 
[2026-07-11 17:16:40] local.INFO: Processing buffer {"connection_id":128644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ff2fa8012cb649c007762218003a00a82d..."} 
[2026-07-11 17:16:40] local.INFO: Packet analysis {"connection_id":128644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:16:40] local.INFO: Extracted packet for processing {"connection_id":128644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":750143936,"raw_latitude":125182488,"longitude_deg":75.0143936,"latitude_deg":12.5182488,"altitude":58,"angle":168,"satellites":45,"speed":26,"hex_longitude":"2cb649c0","hex_latitude":"07762218","is_valid_coordinates":true} 
[2026-07-11 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645201664001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345245749178531840,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5314247528248254464,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783770329000,"timestamp_ms":1783770329000,"timestamp_seconds":1783770329,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ff2fa8"} 
[2026-07-11 17:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:16:40] 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-07-11 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-11 17:16:40] 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-07-11 17:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645201664001,"66":27713,"224":206,"85":36608,"24":26,"16":345245749178531840,"44":-5314247528248254464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-07-11 17:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645201664001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:16:40] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-11 17:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345245749178531840,"km_value":345245749178531.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5314247528248254464,"description":"Unknown IO ID 44"} 
[2026-07-11 17:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645201664001,"power":27713,"unknown_224":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5314247528248254464}} 
[2026-07-11 17:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":128644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:16:40] local.INFO: GPS data processed {"connection_id":128644,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:16:40] local.INFO: Acknowledgment sent {"connection_id":128644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:16:45] local.INFO: TCP Data received {"connection_id":128645,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:16:45] local.INFO: Processing buffer {"connection_id":128645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:16:45] local.INFO: IMEI packet received {"connection_id":128645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":128645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:16:51] local.INFO: TCP Data received {"connection_id":129537,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fd6e70012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fd6e70012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:16:51] local.INFO: Processing buffer {"connection_id":129537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fd6e70012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:16:51] local.INFO: Packet analysis {"connection_id":129537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:16:51] local.INFO: Extracted packet for processing {"connection_id":129537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:16:51] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645169408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783770214000,"timestamp_ms":1783770214000,"timestamp_seconds":1783770214,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fd6e70"} 
[2026-07-11 17:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645169408001,"66":12069,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645169408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645169408001,"power":12069,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":129537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:16:51] local.INFO: GPS data processed {"connection_id":129537,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:16:51] local.INFO: Acknowledgment sent {"connection_id":129537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:16:59] local.INFO: TCP Data received {"connection_id":128840,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:16:59] local.INFO: Processing buffer {"connection_id":128840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:16:59] local.INFO: IMEI packet received {"connection_id":128840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":128840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:17:04] local.INFO: TCP Data received {"connection_id":128646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:17:04] local.INFO: Processing buffer {"connection_id":128646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:17:04] local.INFO: IMEI packet received {"connection_id":128646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":128646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:17:04] local.INFO: TCP Data received {"connection_id":128840,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:17:04] local.INFO: Processing buffer {"connection_id":128840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:17:04] local.INFO: IMEI packet received {"connection_id":128840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":128840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:17:05] local.INFO: TCP Data received {"connection_id":128840,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fd0cc8012d18d24007230678006300202b..."} 
[2026-07-11 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fd0cc8012d18d24007230678006300202b..."} 
[2026-07-11 17:17:05] local.INFO: Processing buffer {"connection_id":128840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fd0cc8012d18d24007230678006300202b..."} 
[2026-07-11 17:17:05] local.INFO: Packet analysis {"connection_id":128840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:17:05] local.INFO: Extracted packet for processing {"connection_id":128840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645163008001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770189000,"timestamp_ms":1783770189000,"timestamp_seconds":1783770189,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fd0cc8"} 
[2026-07-11 17:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:17: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-07-11 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 17:17:05] 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-07-11 17:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645163008001,"66":12885,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645163008001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:17:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645163008001,"power":12885,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":128840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:17:05] local.INFO: GPS data processed {"connection_id":128840,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:17:05] local.INFO: Acknowledgment sent {"connection_id":128840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:17:09] local.INFO: TCP Data received {"connection_id":128646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:17:09] local.INFO: Processing buffer {"connection_id":128646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:17:09] local.INFO: IMEI packet received {"connection_id":128646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":128646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:17:10] local.INFO: TCP Data received {"connection_id":128646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ff81b0012cb64cc007761530003a00a22b..."} 
[2026-07-11 17:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ff81b0012cb64cc007761530003a00a22b..."} 
[2026-07-11 17:17:10] local.INFO: Processing buffer {"connection_id":128646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ff81b0012cb64cc007761530003a00a22b..."} 
[2026-07-11 17:17:10] local.INFO: Packet analysis {"connection_id":128646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:17:10] local.INFO: Extracted packet for processing {"connection_id":128646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":750144704,"raw_latitude":125179184,"longitude_deg":75.0144704,"latitude_deg":12.5179184,"altitude":58,"angle":162,"satellites":43,"speed":0,"hex_longitude":"2cb64cc0","hex_latitude":"07761530","is_valid_coordinates":true} 
[2026-07-11 17:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645204224001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345245916682256384,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5311503147227539456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783770350000,"timestamp_ms":1783770350000,"timestamp_seconds":1783770350,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ff81b0"} 
[2026-07-11 17:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-11 17:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645204224001,"66":27865,"224":206,"85":36608,"24":0,"16":345245916682256384,"44":-5311503147227539456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-07-11 17:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645204224001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:17:10] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-11 17:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345245916682256384,"km_value":345245916682256.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5311503147227539456,"description":"Unknown IO ID 44"} 
[2026-07-11 17:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645204224001,"power":27865,"unknown_224":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5311503147227539456}} 
[2026-07-11 17:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":128646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:17:10] local.INFO: GPS data processed {"connection_id":128646,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:17:10] local.INFO: Acknowledgment sent {"connection_id":128646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:17:37] local.INFO: TCP Data received {"connection_id":128840,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fd5ed0012d18d240072306780063002028..."} 
[2026-07-11 17:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fd5ed0012d18d240072306780063002028..."} 
[2026-07-11 17:17:37] local.INFO: Processing buffer {"connection_id":128840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fd5ed0012d18d240072306780063002028..."} 
[2026-07-11 17:17:37] local.INFO: Packet analysis {"connection_id":128840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:17:37] local.INFO: Extracted packet for processing {"connection_id":128840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645168384001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783770210000,"timestamp_ms":1783770210000,"timestamp_seconds":1783770210,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fd5ed0"} 
[2026-07-11 17:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:17: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-07-11 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 17:17: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-07-11 17: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-07-11 17:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645168384001,"66":12885,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645168384001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:17:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645168384001,"power":12885,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":128840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:17:37] local.INFO: GPS data processed {"connection_id":128840,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:17:37] local.INFO: Acknowledgment sent {"connection_id":128840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:17:38] local.INFO: TCP Data received {"connection_id":130777,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:17:38] local.INFO: Processing buffer {"connection_id":130777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:17:38] local.INFO: IMEI packet received {"connection_id":130777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":130777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:17:42] local.INFO: TCP Data received {"connection_id":128646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ffc030012cb64f0007761088003b00712f..."} 
[2026-07-11 17:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ffc030012cb64f0007761088003b00712f..."} 
[2026-07-11 17:17:42] local.INFO: Processing buffer {"connection_id":128646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ffc030012cb64f0007761088003b00712f..."} 
[2026-07-11 17:17:42] local.INFO: Packet analysis {"connection_id":128646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:17:42] local.INFO: Extracted packet for processing {"connection_id":128646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:17:42] local.INFO: GPS Element Parsed {"raw_longitude":750145280,"raw_latitude":125177992,"longitude_deg":75.014528,"latitude_deg":12.5177992,"altitude":59,"angle":113,"satellites":47,"speed":7,"hex_longitude":"2cb64f00","hex_latitude":"07761088","is_valid_coordinates":true} 
[2026-07-11 17:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645209600001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345245985401733120,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5310658722298253312,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783770366000,"timestamp_ms":1783770366000,"timestamp_seconds":1783770366,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ffc030"} 
[2026-07-11 17:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 17:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645209600001,"66":27865,"224":206,"85":36608,"24":7,"16":345245985401733120,"44":-5310658722298253312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-07-11 17:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645209600001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:17:42] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-11 17:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345245985401733120,"km_value":345245985401733.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5310658722298253312,"description":"Unknown IO ID 44"} 
[2026-07-11 17:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645209600001,"power":27865,"unknown_224":206,"unknown_85":36608,"ignition":7,"odometer":null,"unknown_44":-5310658722298253312}} 
[2026-07-11 17:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":128646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:17:42] local.INFO: GPS data processed {"connection_id":128646,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:17:42] local.INFO: Acknowledgment sent {"connection_id":128646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:17:43] local.INFO: TCP Data received {"connection_id":130777,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:17:43] local.INFO: Processing buffer {"connection_id":130777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:17:43] local.INFO: IMEI packet received {"connection_id":130777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":130777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:17:47] local.INFO: TCP Data received {"connection_id":130777,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fdc078012d7a1d0005e46ad80011015b26..."} 
[2026-07-11 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fdc078012d7a1d0005e46ad80011015b26..."} 
[2026-07-11 17:17:47] local.INFO: Processing buffer {"connection_id":130777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fdc078012d7a1d0005e46ad80011015b26..."} 
[2026-07-11 17:17:47] local.INFO: Packet analysis {"connection_id":130777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:17:47] local.INFO: Extracted packet for processing {"connection_id":130777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:17:47] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":38,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645174784001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783770235000,"timestamp_ms":1783770235000,"timestamp_seconds":1783770235,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fdc078"} 
[2026-07-11 17:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-11 17:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645174784001,"66":12069,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645174784001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:17:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645174784001,"power":12069,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":130777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:17:48] local.INFO: GPS data processed {"connection_id":130777,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:17:48] local.INFO: Acknowledgment sent {"connection_id":130777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:17:59] local.INFO: TCP Data received {"connection_id":130778,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:17:59] local.INFO: Processing buffer {"connection_id":130778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:17:59] local.INFO: IMEI packet received {"connection_id":130778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":130778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:18:00] local.INFO: TCP Data received {"connection_id":130778,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:18:00] local.INFO: Processing buffer {"connection_id":130778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:18:00] local.INFO: IMEI packet received {"connection_id":130778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":130778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:18:04] local.INFO: TCP Data received {"connection_id":128648,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:18:04] local.INFO: Processing buffer {"connection_id":128648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:18:04] local.INFO: IMEI packet received {"connection_id":128648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":128648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:18:04] local.INFO: TCP Data received {"connection_id":130778,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:18:04] local.INFO: Processing buffer {"connection_id":130778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:18:04] local.INFO: IMEI packet received {"connection_id":130778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":130778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:18:05] local.INFO: TCP Data received {"connection_id":130778,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fdb0d8012d18d240072306780063002029..."} 
[2026-07-11 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fdb0d8012d18d240072306780063002029..."} 
[2026-07-11 17:18:05] local.INFO: Processing buffer {"connection_id":130778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fdb0d8012d18d240072306780063002029..."} 
[2026-07-11 17:18:05] local.INFO: Packet analysis {"connection_id":130778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:18:05] local.INFO: Extracted packet for processing {"connection_id":130778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fd"} 
[2026-07-11 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645173760001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770231000,"timestamp_ms":1783770231000,"timestamp_seconds":1783770231,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fdb0d8"} 
[2026-07-11 17:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:18:05] 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-07-11 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 17:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645173760001,"66":12863,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645173760001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:18:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645173760001,"power":12863,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":130778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:18:05] local.INFO: GPS data processed {"connection_id":130778,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:18:05] local.INFO: Acknowledgment sent {"connection_id":130778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:18:08] local.INFO: TCP Data received {"connection_id":128649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:18:08] local.INFO: Processing buffer {"connection_id":128649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:18:08] local.INFO: IMEI packet received {"connection_id":128649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":128649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:18:08] local.INFO: TCP Data received {"connection_id":128648,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:18:08] local.INFO: Processing buffer {"connection_id":128648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:18:08] local.INFO: IMEI packet received {"connection_id":128648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":128648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:18:09] local.INFO: TCP Data received {"connection_id":128648,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ffc418012cb64fc007761070003b00622e..."} 
[2026-07-11 17:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ffc418012cb64fc007761070003b00622e..."} 
[2026-07-11 17:18:09] local.INFO: Processing buffer {"connection_id":128648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ffc418012cb64fc007761070003b00622e..."} 
[2026-07-11 17:18:09] local.INFO: Packet analysis {"connection_id":128648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:18:09] local.INFO: Extracted packet for processing {"connection_id":128648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:18:09] local.INFO: GPS Element Parsed {"raw_longitude":750145472,"raw_latitude":125177968,"longitude_deg":75.0145472,"latitude_deg":12.5177968,"altitude":59,"angle":98,"satellites":46,"speed":6,"hex_longitude":"2cb64fc0","hex_latitude":"07761070","is_valid_coordinates":true} 
[2026-07-11 17:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645213696001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345245993991667712,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5310025403600959488,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770367000,"timestamp_ms":1783770367000,"timestamp_seconds":1783770367,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ffc418"} 
[2026-07-11 17:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:18:09] 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-07-11 17:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 17:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645213696001,"66":27843,"224":206,"85":36608,"24":6,"16":345245993991667712,"44":-5310025403600959488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-07-11 17:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645213696001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:18:09] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-11 17:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345245993991667712,"km_value":345245993991667.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:18:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5310025403600959488,"description":"Unknown IO ID 44"} 
[2026-07-11 17:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645213696001,"power":27843,"unknown_224":206,"unknown_85":36608,"ignition":6,"odometer":null,"unknown_44":-5310025403600959488}} 
[2026-07-11 17:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":128648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:18:09] local.INFO: GPS data processed {"connection_id":128648,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:18:09] local.INFO: Acknowledgment sent {"connection_id":128648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:18:20] local.INFO: TCP Data received {"connection_id":128649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:18:20] local.INFO: Processing buffer {"connection_id":128649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:18:20] local.INFO: IMEI packet received {"connection_id":128649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":128649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:18:23] local.INFO: TCP Data received {"connection_id":128649,"ip":"42.106.6.17","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f50..."} 
[2026-07-11 17:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128649,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f50..."} 
[2026-07-11 17:18:23] local.INFO: Processing buffer {"connection_id":128649,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f50..."} 
[2026-07-11 17:18:23] local.INFO: IMEI packet received {"connection_id":128649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":128649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:18:27] local.INFO: TCP Data received {"connection_id":128649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fe6488012d7a1d0005e46ad80011015b2d..."} 
[2026-07-11 17:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fe6488012d7a1d0005e46ad80011015b2d..."} 
[2026-07-11 17:18:27] local.INFO: Processing buffer {"connection_id":128649,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f50fe1280012d7a1d0005e46ad80011015b2b..."} 
[2026-07-11 17:18:27] local.INFO: Packet analysis {"connection_id":128649,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:18:27] local.INFO: Extracted packet for processing {"connection_id":128649,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:18:27] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645180160001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783770256000,"timestamp_ms":1783770256000,"timestamp_seconds":1783770256,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fe1280"} 
[2026-07-11 17:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-11 17:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645180160001,"66":12004,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645180160001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:18:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645180160001,"power":12004,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":128649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:18:27] local.INFO: GPS data processed {"connection_id":128649,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:18:27] local.INFO: Acknowledgment sent {"connection_id":128649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:18:27] local.INFO: Packet analysis {"connection_id":128649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:18:27] local.INFO: Extracted packet for processing {"connection_id":128649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:18:27] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":45,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645185536001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783770277000,"timestamp_ms":1783770277000,"timestamp_seconds":1783770277,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fe6488"} 
[2026-07-11 17:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 17:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":128649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":128649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":128649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645185536001,"66":12015,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645185536001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:18:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645185536001,"power":12015,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":128649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:18:27] local.INFO: GPS data processed {"connection_id":128649,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:18:27] local.INFO: Acknowledgment sent {"connection_id":128649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:18:32] local.INFO: TCP Data received {"connection_id":128649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50feb690012d7a1d0005e46ad80011015b2a..."} 
[2026-07-11 17:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50feb690012d7a1d0005e46ad80011015b2a..."} 
[2026-07-11 17:18:32] local.INFO: Processing buffer {"connection_id":128649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50feb690012d7a1d0005e46ad80011015b2a..."} 
[2026-07-11 17:18:32] local.INFO: Packet analysis {"connection_id":128649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:18:32] local.INFO: Extracted packet for processing {"connection_id":128649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:18:32] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645190912001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783770298000,"timestamp_ms":1783770298000,"timestamp_seconds":1783770298,"priority":1,"record_length":96,"hex_timestamp":"0000019f50feb690"} 
[2026-07-11 17:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 17:18:32] 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-07-11 17:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645190912001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645190912001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:18:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645190912001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":128649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:18:32] local.INFO: GPS data processed {"connection_id":128649,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:18:32] local.INFO: Acknowledgment sent {"connection_id":128649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:18:37] local.INFO: TCP Data received {"connection_id":130778,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fe02e0012d18d24007230678006300202b..."} 
[2026-07-11 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fe02e0012d18d24007230678006300202b..."} 
[2026-07-11 17:18:37] local.INFO: Processing buffer {"connection_id":130778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fe02e0012d18d24007230678006300202b..."} 
[2026-07-11 17:18:37] local.INFO: Packet analysis {"connection_id":130778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:18:37] local.INFO: Extracted packet for processing {"connection_id":130778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645179136001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783770252000,"timestamp_ms":1783770252000,"timestamp_seconds":1783770252,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fe02e0"} 
[2026-07-11 17:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:18:37] 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-07-11 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 17:18:37] 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-07-11 17:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645179136001,"66":12841,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645179136001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:18:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645179136001,"power":12841,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":130778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:18:37] local.INFO: GPS data processed {"connection_id":130778,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:18:37] local.INFO: Acknowledgment sent {"connection_id":130778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:18:40] local.INFO: TCP Data received {"connection_id":128648,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ffe358012cb6530007761188003b00542d..."} 
[2026-07-11 17:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ffe358012cb6530007761188003b00542d..."} 
[2026-07-11 17:18:40] local.INFO: Processing buffer {"connection_id":128648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ffe358012cb6530007761188003b00542d..."} 
[2026-07-11 17:18:40] local.INFO: Packet analysis {"connection_id":128648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:18:40] local.INFO: Extracted packet for processing {"connection_id":128648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:18:40] local.INFO: GPS Element Parsed {"raw_longitude":750146304,"raw_latitude":125178248,"longitude_deg":75.0146304,"latitude_deg":12.5178248,"altitude":59,"angle":84,"satellites":45,"speed":7,"hex_longitude":"2cb65300","hex_latitude":"07761188","is_valid_coordinates":true} 
[2026-07-11 17:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645213952001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345246036941340672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5309814297368432640,"note":"Value kept but may cause issues"} 
[2026-07-11 17:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783770375000,"timestamp_ms":1783770375000,"timestamp_seconds":1783770375,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ffe358"} 
[2026-07-11 17:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:18:40] 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-07-11 17:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 17:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645213952001,"66":27908,"224":206,"85":36608,"24":7,"16":345246036941340672,"44":-5309814297368432640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-07-11 17:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645213952001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:18:40] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-11 17:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345246036941340672,"km_value":345246036941340.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:18:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5309814297368432640,"description":"Unknown IO ID 44"} 
[2026-07-11 17:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645213952001,"power":27908,"unknown_224":206,"unknown_85":36608,"ignition":7,"odometer":null,"unknown_44":-5309814297368432640}} 
[2026-07-11 17:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":128648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:18:40] local.INFO: GPS data processed {"connection_id":128648,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:18:40] local.INFO: Acknowledgment sent {"connection_id":128648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:18:59] local.INFO: TCP Data received {"connection_id":130779,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:18:59] local.INFO: Processing buffer {"connection_id":130779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:18:59] local.INFO: IMEI packet received {"connection_id":130779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":130779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:19:02] local.INFO: TCP Data received {"connection_id":130779,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:19:02] local.INFO: Processing buffer {"connection_id":130779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:19:02] local.INFO: IMEI packet received {"connection_id":130779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":130779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:19:04] local.INFO: TCP Data received {"connection_id":129538,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:19:04] local.INFO: Processing buffer {"connection_id":129538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:19:04] local.INFO: IMEI packet received {"connection_id":129538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":129538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:19:04] local.INFO: TCP Data received {"connection_id":130779,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:19:04] local.INFO: Processing buffer {"connection_id":130779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:19:04] local.INFO: IMEI packet received {"connection_id":130779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":130779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:19:05] local.INFO: TCP Data received {"connection_id":128841,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:19:05] local.INFO: Processing buffer {"connection_id":128841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:19:05] local.INFO: IMEI packet received {"connection_id":128841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":128841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:19:06] local.INFO: TCP Data received {"connection_id":130779,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fe54e8012d18d240072306780063002028..."} 
[2026-07-11 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fe54e8012d18d240072306780063002028..."} 
[2026-07-11 17:19:06] local.INFO: Processing buffer {"connection_id":130779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fe54e8012d18d240072306780063002028..."} 
[2026-07-11 17:19:06] local.INFO: Packet analysis {"connection_id":130779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:19:06] local.INFO: Extracted packet for processing {"connection_id":130779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645184512001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783770273000,"timestamp_ms":1783770273000,"timestamp_seconds":1783770273,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fe54e8"} 
[2026-07-11 17:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645184512001,"66":12841,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645184512001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:19:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645184512001,"power":12841,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":130779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:19:06] local.INFO: GPS data processed {"connection_id":130779,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:19:06] local.INFO: Acknowledgment sent {"connection_id":130779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:19:10] local.INFO: TCP Data received {"connection_id":129538,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:19:10] local.INFO: Processing buffer {"connection_id":129538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:19:10] local.INFO: IMEI packet received {"connection_id":129538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":129538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:19:11] local.INFO: TCP Data received {"connection_id":129538,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f510029a8012cb67740077614f0003c005729..."} 
[2026-07-11 17:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510029a8012cb67740077614f0003c005729..."} 
[2026-07-11 17:19:11] local.INFO: Processing buffer {"connection_id":129538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510029a8012cb67740077614f0003c005729..."} 
[2026-07-11 17:19:11] local.INFO: Packet analysis {"connection_id":129538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5100"} 
[2026-07-11 17:19:11] local.INFO: Extracted packet for processing {"connection_id":129538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5100"} 
[2026-07-11 17:19:11] local.INFO: GPS Element Parsed {"raw_longitude":750155584,"raw_latitude":125179120,"longitude_deg":75.0155584,"latitude_deg":12.517912,"altitude":60,"angle":87,"satellites":41,"speed":26,"hex_longitude":"2cb67740","hex_latitude":"077614f0","is_valid_coordinates":true} 
[2026-07-11 17:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645216000001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345246475028004864,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5308899503694051328,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783770393000,"timestamp_ms":1783770393000,"timestamp_seconds":1783770393,"priority":1,"record_length":96,"hex_timestamp":"0000019f510029a8"} 
[2026-07-11 17:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:19:11] 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-07-11 17:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645216000001,"66":27669,"225":206,"85":36608,"24":26,"16":345246475028004864,"44":-5308899503694051328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-07-11 17:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645216000001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:19:11] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-11 17:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345246475028004864,"km_value":345246475028004.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5308899503694051328,"description":"Unknown IO ID 44"} 
[2026-07-11 17:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645216000001,"power":27669,"unknown_225":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5308899503694051328}} 
[2026-07-11 17:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":129538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:19:11] local.INFO: GPS data processed {"connection_id":129538,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:19:11] local.INFO: Acknowledgment sent {"connection_id":129538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:19:14] local.INFO: TCP Data received {"connection_id":128841,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:19:14] local.INFO: Processing buffer {"connection_id":128841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:19:14] local.INFO: IMEI packet received {"connection_id":128841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":128841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:19:16] local.INFO: TCP Data received {"connection_id":128841,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ff0898012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ff0898012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:19:16] local.INFO: Processing buffer {"connection_id":128841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ff0898012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:19:16] local.INFO: Packet analysis {"connection_id":128841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:19:16] local.INFO: Extracted packet for processing {"connection_id":128841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:19:16] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":41,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645196288001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783770319000,"timestamp_ms":1783770319000,"timestamp_seconds":1783770319,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ff0898"} 
[2026-07-11 17:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645196288001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645196288001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645196288001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":128841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:19:16] local.INFO: GPS data processed {"connection_id":128841,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:19:16] local.INFO: Acknowledgment sent {"connection_id":128841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:19:42] local.INFO: TCP Data received {"connection_id":129538,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51006058012cb69cc007761440003e005e2b..."} 
[2026-07-11 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51006058012cb69cc007761440003e005e2b..."} 
[2026-07-11 17:19:42] local.INFO: Processing buffer {"connection_id":129538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51006058012cb69cc007761440003e005e2b..."} 
[2026-07-11 17:19:42] local.INFO: Packet analysis {"connection_id":129538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5100"} 
[2026-07-11 17:19:42] local.INFO: Extracted packet for processing {"connection_id":129538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5100"} 
[2026-07-11 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":750165184,"raw_latitude":125178944,"longitude_deg":75.0165184,"latitude_deg":12.5178944,"altitude":62,"angle":94,"satellites":43,"speed":28,"hex_longitude":"2cb69cc0","hex_latitude":"07761440","is_valid_coordinates":true} 
[2026-07-11 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645220608001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345246934589505536,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5298696035788066816,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783770407000,"timestamp_ms":1783770407000,"timestamp_seconds":1783770407,"priority":1,"record_length":96,"hex_timestamp":"0000019f51006058"} 
[2026-07-11 17:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-11 17:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645220608001,"66":27919,"225":206,"85":36608,"24":28,"16":345246934589505536,"44":-5298696035788066816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-07-11 17:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645220608001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:19:42] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-11 17:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345246934589505536,"km_value":345246934589505.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5298696035788066816,"description":"Unknown IO ID 44"} 
[2026-07-11 17:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645220608001,"power":27919,"unknown_225":206,"unknown_85":36608,"ignition":28,"odometer":null,"unknown_44":-5298696035788066816}} 
[2026-07-11 17:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":129538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:19:42] local.INFO: GPS data processed {"connection_id":129538,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:19:42] local.INFO: Acknowledgment sent {"connection_id":129538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:19:44] local.INFO: TCP Data received {"connection_id":130779,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fea6f0012d18d24007230678006300202b..."} 
[2026-07-11 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fea6f0012d18d24007230678006300202b..."} 
[2026-07-11 17:19:44] local.INFO: Processing buffer {"connection_id":130779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fea6f0012d18d24007230678006300202b..."} 
[2026-07-11 17:19:44] local.INFO: Packet analysis {"connection_id":130779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:19:44] local.INFO: Extracted packet for processing {"connection_id":130779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50fe"} 
[2026-07-11 17:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645189888001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783770294000,"timestamp_ms":1783770294000,"timestamp_seconds":1783770294,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fea6f0"} 
[2026-07-11 17:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645189888001,"66":12809,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645189888001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:19:44] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:19:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645189888001,"power":12809,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":130779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:19:45] local.INFO: GPS data processed {"connection_id":130779,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:19:45] local.INFO: Acknowledgment sent {"connection_id":130779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:19:48] local.INFO: TCP Data received {"connection_id":128841,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ff5aa0012d7a1d0005e46ad80011015b2c..."} 
[2026-07-11 17:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ff5aa0012d7a1d0005e46ad80011015b2c..."} 
[2026-07-11 17:19:48] local.INFO: Processing buffer {"connection_id":128841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ff5aa0012d7a1d0005e46ad80011015b2c..."} 
[2026-07-11 17:19:48] local.INFO: Packet analysis {"connection_id":128841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:19:48] local.INFO: Extracted packet for processing {"connection_id":128841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:19:48] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645201664001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783770340000,"timestamp_ms":1783770340000,"timestamp_seconds":1783770340,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ff5aa0"} 
[2026-07-11 17:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645201664001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645201664001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:19:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645201664001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":128841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:19:48] local.INFO: GPS data processed {"connection_id":128841,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:19:48] local.INFO: Acknowledgment sent {"connection_id":128841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:20:03] local.INFO: TCP Data received {"connection_id":130780,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:20:03] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:20:03] local.INFO: IMEI packet received {"connection_id":130780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":130780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:20:04] local.INFO: TCP Data received {"connection_id":128652,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:20:04] local.INFO: Processing buffer {"connection_id":128652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:20:04] local.INFO: IMEI packet received {"connection_id":128652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":128652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:20:05] local.INFO: TCP Data received {"connection_id":128652,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:20:05] local.INFO: Processing buffer {"connection_id":128652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:20:05] local.INFO: IMEI packet received {"connection_id":128652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":128652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:20:06] local.INFO: TCP Data received {"connection_id":128652,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51022d48012d18d24007230678006300202c..."} 
[2026-07-11 17:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51022d48012d18d24007230678006300202c..."} 
[2026-07-11 17:20:06] local.INFO: Processing buffer {"connection_id":128652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51022d48012d18d24007230678006300202c..."} 
[2026-07-11 17:20:06] local.INFO: Packet analysis {"connection_id":128652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:06] local.INFO: Extracted packet for processing {"connection_id":128652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":44,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645249024001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783770525000,"timestamp_ms":1783770525000,"timestamp_seconds":1783770525,"priority":1,"record_length":96,"hex_timestamp":"0000019f51022d48"} 
[2026-07-11 17:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-11 17:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645249024001,"66":12613,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645249024001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:20:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645249024001,"power":12613,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":128652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:20:06] local.INFO: GPS data processed {"connection_id":128652,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:20:06] local.INFO: Acknowledgment sent {"connection_id":128652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:20:07] local.INFO: TCP Data received {"connection_id":130780,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:20:07] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:20:07] local.INFO: IMEI packet received {"connection_id":130780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":130780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:20:08] local.INFO: TCP Data received {"connection_id":130781,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:20:08] local.INFO: Processing buffer {"connection_id":130781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:20:08] local.INFO: IMEI packet received {"connection_id":130781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":130781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:20:08] local.INFO: TCP Data received {"connection_id":130780,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:20:08] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:20:08] local.INFO: IMEI packet received {"connection_id":130780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":130780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:20:09] local.INFO: TCP Data received {"connection_id":130780,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51027b68012cb7c0c00775a100003e00712d..."} 
[2026-07-11 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51027b68012cb7c0c00775a100003e00712d..."} 
[2026-07-11 17:20:09] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51027b68012cb7c0c00775a100003e00712d..."} 
[2026-07-11 17:20:09] local.INFO: Packet analysis {"connection_id":130780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:09] local.INFO: Extracted packet for processing {"connection_id":130780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":750239936,"raw_latitude":125149440,"longitude_deg":75.0239936,"latitude_deg":12.514944,"altitude":62,"angle":113,"satellites":45,"speed":48,"hex_longitude":"2cb7c0c0","hex_latitude":"0775a100","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645257472001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345250825829875712,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5215942392641796096,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770545000,"timestamp_ms":1783770545000,"timestamp_seconds":1783770545,"priority":1,"record_length":96,"hex_timestamp":"0000019f51027b68"} 
[2026-07-11 17:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:20:09] 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-07-11 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 17:20:09] 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-07-11 17: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-07-11 17:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645257472001,"66":27821,"159":206,"85":36608,"24":48,"16":345250825829875712,"44":-5215942392641796096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 17:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645257472001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:20:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 17:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345250825829875712,"km_value":345250825829875.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5215942392641796096,"description":"Unknown IO ID 44"} 
[2026-07-11 17:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645257472001,"power":27821,"unknown_159":206,"unknown_85":36608,"ignition":48,"odometer":null,"unknown_44":-5215942392641796096}} 
[2026-07-11 17:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":130780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:20:09] local.INFO: GPS data processed {"connection_id":130780,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:20:09] local.INFO: Acknowledgment sent {"connection_id":130780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:20:13] local.INFO: TCP Data received {"connection_id":130781,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:20:13] local.INFO: Processing buffer {"connection_id":130781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:20:13] local.INFO: IMEI packet received {"connection_id":130781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":130781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:20:14] local.INFO: TCP Data received {"connection_id":130780,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51029aa8012cb7e44007758fe8003d00762d..."} 
[2026-07-11 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51029aa8012cb7e44007758fe8003d00762d..."} 
[2026-07-11 17:20:14] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51029aa8012cb7e44007758fe8003d00762d..."} 
[2026-07-11 17:20:14] local.INFO: Packet analysis {"connection_id":130780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:14] local.INFO: Extracted packet for processing {"connection_id":130780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":750249024,"raw_latitude":125145064,"longitude_deg":75.0249024,"latitude_deg":12.5145064,"altitude":61,"angle":118,"satellites":45,"speed":49,"hex_longitude":"2cb7e440","hex_latitude":"07758fe8","is_valid_coordinates":true} 
[2026-07-11 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645259520001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345251302571245568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5205950030969503744,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783770553000,"timestamp_ms":1783770553000,"timestamp_seconds":1783770553,"priority":1,"record_length":96,"hex_timestamp":"0000019f51029aa8"} 
[2026-07-11 17:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:20:14] 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-07-11 17:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645259520001,"66":27800,"159":206,"85":36608,"24":49,"16":345251302571245568,"44":-5205950030969503744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 17:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645259520001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:20:14] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 17:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345251302571245568,"km_value":345251302571245.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:20:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5205950030969503744,"description":"Unknown IO ID 44"} 
[2026-07-11 17:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645259520001,"power":27800,"unknown_159":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-5205950030969503744}} 
[2026-07-11 17:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":130780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:20:14] local.INFO: GPS data processed {"connection_id":130780,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:20:14] local.INFO: Acknowledgment sent {"connection_id":130780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:20:14] local.INFO: TCP Data received {"connection_id":130781,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50ffaca8012d7a1d0005e46ad80011015b2c..."} 
[2026-07-11 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50ffaca8012d7a1d0005e46ad80011015b2c..."} 
[2026-07-11 17:20:14] local.INFO: Processing buffer {"connection_id":130781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50ffaca8012d7a1d0005e46ad80011015b2c..."} 
[2026-07-11 17:20:14] local.INFO: Packet analysis {"connection_id":130781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:20:14] local.INFO: Extracted packet for processing {"connection_id":130781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645207040001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783770361000,"timestamp_ms":1783770361000,"timestamp_seconds":1783770361,"priority":1,"record_length":96,"hex_timestamp":"0000019f50ffaca8"} 
[2026-07-11 17:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645207040001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645207040001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645207040001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":130781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:20:14] local.INFO: GPS data processed {"connection_id":130781,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:20:14] local.INFO: Acknowledgment sent {"connection_id":130781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:20:16] local.INFO: TCP Data received {"connection_id":130781,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f50fffeb0012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f50fffeb0012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:20:16] local.INFO: Processing buffer {"connection_id":130781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f50fffeb0012d7a1d0005e46ad80011015b29..."} 
[2026-07-11 17:20:16] local.INFO: Packet analysis {"connection_id":130781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:20:16] local.INFO: Extracted packet for processing {"connection_id":130781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f50ff"} 
[2026-07-11 17:20:16] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":41,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645212416001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783770382000,"timestamp_ms":1783770382000,"timestamp_seconds":1783770382,"priority":1,"record_length":96,"hex_timestamp":"0000019f50fffeb0"} 
[2026-07-11 17:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 17:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645212416001,"66":12048,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645212416001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645212416001,"power":12048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":130781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:20:16] local.INFO: GPS data processed {"connection_id":130781,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:20:16] local.INFO: Acknowledgment sent {"connection_id":130781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:20:38] local.INFO: TCP Data received {"connection_id":128652,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51027f50012d18d24007230678006300202a..."} 
[2026-07-11 17:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51027f50012d18d24007230678006300202a..."} 
[2026-07-11 17:20:38] local.INFO: Processing buffer {"connection_id":128652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51027f50012d18d24007230678006300202a..."} 
[2026-07-11 17:20:38] local.INFO: Packet analysis {"connection_id":128652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:38] local.INFO: Extracted packet for processing {"connection_id":128652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645254400001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783770546000,"timestamp_ms":1783770546000,"timestamp_seconds":1783770546,"priority":1,"record_length":96,"hex_timestamp":"0000019f51027f50"} 
[2026-07-11 17:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 17:20: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-07-11 17:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645254400001,"66":12613,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645254400001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:20:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645254400001,"power":12613,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":128652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:20:38] local.INFO: GPS data processed {"connection_id":128652,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:20:38] local.INFO: Acknowledgment sent {"connection_id":128652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:20:45] local.INFO: TCP Data received {"connection_id":130780,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5102b9e8012cb8054007757b50003c007b2e..."} 
[2026-07-11 17:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5102b9e8012cb8054007757b50003c007b2e..."} 
[2026-07-11 17:20:45] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5102b9e8012cb8054007757b50003c007b2e..."} 
[2026-07-11 17:20:45] local.INFO: Packet analysis {"connection_id":130780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:45] local.INFO: Extracted packet for processing {"connection_id":130780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":750257472,"raw_latitude":125139792,"longitude_deg":75.0257472,"latitude_deg":12.5139792,"altitude":60,"angle":123,"satellites":46,"speed":49,"hex_longitude":"2cb80540","hex_latitude":"07757b50","is_valid_coordinates":true} 
[2026-07-11 17:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645261568001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345251779312615424,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5195957669297395712,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783770561000,"timestamp_ms":1783770561000,"timestamp_seconds":1783770561,"priority":1,"record_length":96,"hex_timestamp":"0000019f5102b9e8"} 
[2026-07-11 17:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 17:20:45] 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-07-11 17:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645261568001,"66":27843,"159":206,"85":36608,"24":49,"16":345251779312615424,"44":-5195957669297395712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 17:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645261568001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:20:45] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 17:20:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345251779312615424,"km_value":345251779312615.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5195957669297395712,"description":"Unknown IO ID 44"} 
[2026-07-11 17:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645261568001,"power":27843,"unknown_159":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-5195957669297395712}} 
[2026-07-11 17:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":130780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:20:45] local.INFO: GPS data processed {"connection_id":130780,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:20:45] local.INFO: Acknowledgment sent {"connection_id":130780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:20:47] local.INFO: TCP Data received {"connection_id":130781,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510050b8012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510050b8012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:20:47] local.INFO: Processing buffer {"connection_id":130781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510050b8012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:20:47] local.INFO: Packet analysis {"connection_id":130781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5100"} 
[2026-07-11 17:20:47] local.INFO: Extracted packet for processing {"connection_id":130781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5100"} 
[2026-07-11 17:20:47] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645217792001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783770403000,"timestamp_ms":1783770403000,"timestamp_seconds":1783770403,"priority":1,"record_length":96,"hex_timestamp":"0000019f510050b8"} 
[2026-07-11 17:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8446350468040359936,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505202580717568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4273377281,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629184436676193,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4828122687631327488,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6457879504479387624,"corrected_to":0} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4786565595267072,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182126630404352,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807270,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1987538790733751509,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194808320,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84858232962933866,"note":"Value kept but may cause issues"} 
[2026-07-11 17:20:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,97,85,24,241,157,16,55,159,172,45,106,17,44,10,66,90,8,1,240,26,227,80,228,4,113,205,100,29,216,239,46,2,117,5,69,120],"length":583,"final_offset":713,"validated_count":37,"validation_warnings":[{"io_id":205,"original":-6457879504479387624,"validated":0}]} 
[2026-07-11 17:20:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225360805273272320,"timestamp_seconds":1225360805273272.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645217792001,"66":12037,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645217792001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:20:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645217792001,"power":12037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":130781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:20:47] local.INFO: GPS data processed {"connection_id":130781,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:20:47] local.INFO: Acknowledgment sent {"connection_id":130781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:20:59] local.INFO: TCP Data received {"connection_id":129539,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:20:59] local.INFO: Processing buffer {"connection_id":129539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:20:59] local.INFO: IMEI packet received {"connection_id":129539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":129539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:21:03] local.INFO: TCP Data received {"connection_id":128842,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:21:03] local.INFO: Processing buffer {"connection_id":128842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:21:03] local.INFO: IMEI packet received {"connection_id":128842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":128842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:21:03] local.INFO: TCP Data received {"connection_id":128653,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:21:03] local.INFO: Processing buffer {"connection_id":128653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:21:03] local.INFO: IMEI packet received {"connection_id":128653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":128653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:21:04] local.INFO: TCP Data received {"connection_id":129539,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:21:04] local.INFO: Processing buffer {"connection_id":129539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:21:04] local.INFO: IMEI packet received {"connection_id":129539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":129539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:21:08] local.INFO: TCP Data received {"connection_id":128842,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:21:08] local.INFO: Processing buffer {"connection_id":128842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:21:08] local.INFO: IMEI packet received {"connection_id":128842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":128842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:21:09] local.INFO: TCP Data received {"connection_id":128653,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:21:09] local.INFO: Processing buffer {"connection_id":128653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:21:09] local.INFO: IMEI packet received {"connection_id":128653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":128653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:21:09] local.INFO: TCP Data received {"connection_id":129539,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5102d158012d18d24007230678006300202b..."} 
[2026-07-11 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5102d158012d18d24007230678006300202b..."} 
[2026-07-11 17:21:09] local.INFO: Processing buffer {"connection_id":129539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5102d158012d18d24007230678006300202b..."} 
[2026-07-11 17:21:09] local.INFO: Packet analysis {"connection_id":129539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:21:09] local.INFO: Extracted packet for processing {"connection_id":129539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645259776001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770567000,"timestamp_ms":1783770567000,"timestamp_seconds":1783770567,"priority":1,"record_length":96,"hex_timestamp":"0000019f5102d158"} 
[2026-07-11 17:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 17:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645259776001,"66":12548,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645259776001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:21:09] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645259776001,"power":12548,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":129539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:21:09] local.INFO: GPS data processed {"connection_id":129539,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:21:09] local.INFO: Acknowledgment sent {"connection_id":129539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:21:10] local.INFO: TCP Data received {"connection_id":128653,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5102d928012cb82580077565f8003c007c2d..."} 
[2026-07-11 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5102d928012cb82580077565f8003c007c2d..."} 
[2026-07-11 17:21:10] local.INFO: Processing buffer {"connection_id":128653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5102d928012cb82580077565f8003c007c2d..."} 
[2026-07-11 17:21:10] local.INFO: Packet analysis {"connection_id":128653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:21:10] local.INFO: Extracted packet for processing {"connection_id":128653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":750265728,"raw_latitude":125134328,"longitude_deg":75.0265728,"latitude_deg":12.5134328,"altitude":60,"angle":124,"satellites":45,"speed":48,"hex_longitude":"2cb82580","hex_latitude":"077565f8","is_valid_coordinates":true} 
[2026-07-11 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645263616001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345252251759017984,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5186668995067293696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783770569000,"timestamp_ms":1783770569000,"timestamp_seconds":1783770569,"priority":1,"record_length":96,"hex_timestamp":"0000019f5102d928"} 
[2026-07-11 17:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 17:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645263616001,"66":27832,"159":206,"85":36608,"24":48,"16":345252251759017984,"44":-5186668995067293696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 17:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645263616001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:21:10] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 17:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345252251759017984,"km_value":345252251759018.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5186668995067293696,"description":"Unknown IO ID 44"} 
[2026-07-11 17:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645263616001,"power":27832,"unknown_159":206,"unknown_85":36608,"ignition":48,"odometer":null,"unknown_44":-5186668995067293696}} 
[2026-07-11 17:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":128653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:21:10] local.INFO: GPS data processed {"connection_id":128653,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:21:10] local.INFO: Acknowledgment sent {"connection_id":128653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:21:10] local.INFO: TCP Data received {"connection_id":128842,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5100a2c0012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5100a2c0012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:21:10] local.INFO: Processing buffer {"connection_id":128842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5100a2c0012d7a1d0005e46ad80011015b28..."} 
[2026-07-11 17:21:10] local.INFO: Packet analysis {"connection_id":128842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5100"} 
[2026-07-11 17:21:10] local.INFO: Extracted packet for processing {"connection_id":128842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5100"} 
[2026-07-11 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645223168001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783770424000,"timestamp_ms":1783770424000,"timestamp_seconds":1783770424,"priority":1,"record_length":96,"hex_timestamp":"0000019f5100a2c0"} 
[2026-07-11 17:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4278753281,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6457879504479387624,"corrected_to":0} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2415996282,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182130925371648,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1987538790733751507,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194811136,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,97,85,24,241,157,16,55,159,254,45,106,17,41,10,66,172,44,90,1,240,26,227,80,228,4,113,205,182,29,216,42,239,47,2,117,5,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-6457879504479387624,"validated":0}]} 
[2026-07-11 17:21:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225360800978305024,"timestamp_seconds":1225360800978305.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645223168001,"66":12058,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645223168001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645223168001,"power":12058,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":128842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:21:10] local.INFO: GPS data processed {"connection_id":128842,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:21:10] local.INFO: Acknowledgment sent {"connection_id":128842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:21:41] local.INFO: TCP Data received {"connection_id":129539,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51032360012d18d24007230678006300202b..."} 
[2026-07-11 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51032360012d18d24007230678006300202b..."} 
[2026-07-11 17:21:41] local.INFO: Processing buffer {"connection_id":129539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51032360012d18d24007230678006300202b..."} 
[2026-07-11 17:21:41] local.INFO: Packet analysis {"connection_id":129539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5103"} 
[2026-07-11 17:21:41] local.INFO: Extracted packet for processing {"connection_id":129539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5103"} 
[2026-07-11 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645265152001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783770588000,"timestamp_ms":1783770588000,"timestamp_seconds":1783770588,"priority":1,"record_length":96,"hex_timestamp":"0000019f51032360"} 
[2026-07-11 17:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184168521933,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432749031,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2197094400,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,112,28,24,241,158,16,130,159,127,45,64,6,99,42,10,66,44,219,1,240,81,35,4,113,205,55,210,120,41,239,49,2,20,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:21:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133737178810548224,"timestamp_seconds":7133737178810548.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645265152001,"66":12602,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645265152001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:21:41] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:21:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645265152001,"power":12602,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:21:41] local.INFO: TCP Data received {"connection_id":128653,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5102f868012cb84500077551b0003d00772d..."} 
[2026-07-11 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5102f868012cb84500077551b0003d00772d..."} 
[2026-07-11 17:21:41] local.INFO: Processing buffer {"connection_id":128653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5102f868012cb84500077551b0003d00772d..."} 
[2026-07-11 17:21:41] local.INFO: Packet analysis {"connection_id":128653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:21:41] local.INFO: Extracted packet for processing {"connection_id":128653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5102"} 
[2026-07-11 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":750273792,"raw_latitude":125129136,"longitude_deg":75.0273792,"latitude_deg":12.5129136,"altitude":61,"angle":119,"satellites":45,"speed":46,"hex_longitude":"2cb84500","hex_latitude":"077551b0","is_valid_coordinates":true} 
[2026-07-11 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645265664001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345252711320518656,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5177591427069773824,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783770577000,"timestamp_ms":1783770577000,"timestamp_seconds":1783770577,"priority":1,"record_length":96,"hex_timestamp":"0000019f5102f868"} 
[2026-07-11 17:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-11 17:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645265664001,"66":27843,"159":206,"85":36608,"24":46,"16":345252711320518656,"44":-5177591427069773824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645265664001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:21:41] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 17:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345252711320518656,"km_value":345252711320518.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5177591427069773824,"description":"Unknown IO ID 44"} 
[2026-07-11 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645265664001,"power":27843,"unknown_159":206,"unknown_85":36608,"ignition":46,"odometer":null,"unknown_44":-5177591427069773824}} 
[2026-07-11 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":128653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:21:41] local.INFO: GPS data processed {"connection_id":128653,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:21:41] local.INFO: Acknowledgment sent {"connection_id":128653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":129539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:21:41] local.INFO: GPS data processed {"connection_id":129539,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:21:41] local.INFO: Acknowledgment sent {"connection_id":129539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:21:43] local.INFO: TCP Data received {"connection_id":128842,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5104cd28012d7a1d0005e46ad80011015b2d..."} 
[2026-07-11 17:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5104cd28012d7a1d0005e46ad80011015b2d..."} 
[2026-07-11 17:21:43] local.INFO: Processing buffer {"connection_id":128842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5104cd28012d7a1d0005e46ad80011015b2d..."} 
[2026-07-11 17:21:43] local.INFO: Packet analysis {"connection_id":128842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:21:43] local.INFO: Extracted packet for processing {"connection_id":128842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:21:43] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855640,"longitude_deg":76.2977536,"latitude_deg":9.885564,"altitude":17,"angle":347,"satellites":45,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46ad8","is_valid_coordinates":true} 
[2026-07-11 17:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645293056001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051150553710592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783770697000,"timestamp_ms":1783770697000,"timestamp_seconds":1783770697,"priority":1,"record_length":96,"hex_timestamp":"0000019f5104cd28"} 
[2026-07-11 17:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 17:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645293056001,"66":11341,"97":206,"85":15104,"24":0,"16":105051150553710592,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645293056001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051150553710592,"km_value":105051150553710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645293056001,"power":11341,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":128842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:21:43] local.INFO: GPS data processed {"connection_id":128842,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:21:43] local.INFO: Acknowledgment sent {"connection_id":128842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:21:59] local.INFO: TCP Data received {"connection_id":130784,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:21:59] local.INFO: Processing buffer {"connection_id":130784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:21:59] local.INFO: IMEI packet received {"connection_id":130784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":130784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:22:02] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:22:02] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:22:02] local.INFO: IMEI packet received {"connection_id":128654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":128654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:22:03] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:22:03] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:22:03] local.INFO: IMEI packet received {"connection_id":128654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":128654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:22:03] local.INFO: TCP Data received {"connection_id":128655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:22:03] local.INFO: Processing buffer {"connection_id":128655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:22:03] local.INFO: IMEI packet received {"connection_id":128655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":128655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:22:04] local.INFO: TCP Data received {"connection_id":130784,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:22:04] local.INFO: Processing buffer {"connection_id":130784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:22:04] local.INFO: IMEI packet received {"connection_id":130784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":130784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:22:05] local.INFO: TCP Data received {"connection_id":130784,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51037568012d18d24007230678006300202b..."} 
[2026-07-11 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51037568012d18d24007230678006300202b..."} 
[2026-07-11 17:22:05] local.INFO: Processing buffer {"connection_id":130784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51037568012d18d24007230678006300202b..."} 
[2026-07-11 17:22:05] local.INFO: Packet analysis {"connection_id":130784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5103"} 
[2026-07-11 17:22:05] local.INFO: Extracted packet for processing {"connection_id":130784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5103"} 
[2026-07-11 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645270528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770609000,"timestamp_ms":1783770609000,"timestamp_seconds":1783770609,"priority":1,"record_length":96,"hex_timestamp":"0000019f51037568"} 
[2026-07-11 17:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:22: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-07-11 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-11 17:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645270528001,"66":11787,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645270528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:22:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645270528001,"power":11787,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":130784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:22:05] local.INFO: GPS data processed {"connection_id":130784,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:22:05] local.INFO: Acknowledgment sent {"connection_id":130784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:22:08] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:22:08] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:22:08] local.INFO: IMEI packet received {"connection_id":128654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":128654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:22:09] local.INFO: TCP Data received {"connection_id":128655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:22:09] local.INFO: Processing buffer {"connection_id":128655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:22:09] local.INFO: IMEI packet received {"connection_id":128655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:22:10] local.INFO: TCP Data received {"connection_id":128655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f510313c0012cb86240077544e0003e006b2e..."} 
[2026-07-11 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510313c0012cb86240077544e0003e006b2e..."} 
[2026-07-11 17:22:10] local.INFO: Processing buffer {"connection_id":128655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510313c0012cb86240077544e0003e006b2e..."} 
[2026-07-11 17:22:10] local.INFO: Packet analysis {"connection_id":128655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5103"} 
[2026-07-11 17:22:10] local.INFO: Extracted packet for processing {"connection_id":128655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5103"} 
[2026-07-11 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":750281280,"raw_latitude":125125856,"longitude_deg":75.028128,"latitude_deg":12.5125856,"altitude":62,"angle":107,"satellites":46,"speed":44,"hex_longitude":"2cb86240","hex_latitude":"077544e0","is_valid_coordinates":true} 
[2026-07-11 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645267712001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345253097867575296,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5168724965304717312,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783770584000,"timestamp_ms":1783770584000,"timestamp_seconds":1783770584,"priority":1,"record_length":96,"hex_timestamp":"0000019f510313c0"} 
[2026-07-11 17:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 17:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645267712001,"66":27919,"159":206,"85":36608,"24":44,"16":345253097867575296,"44":-5168724965304717312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 17:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645267712001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:22:10] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 17:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345253097867575296,"km_value":345253097867575.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5168724965304717312,"description":"Unknown IO ID 44"} 
[2026-07-11 17:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645267712001,"power":27919,"unknown_159":206,"unknown_85":36608,"ignition":44,"odometer":null,"unknown_44":-5168724965304717312}} 
[2026-07-11 17:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:22:10] local.INFO: GPS data processed {"connection_id":128655,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:22:10] local.INFO: Acknowledgment sent {"connection_id":128655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:22:10] local.INFO: TCP Data received {"connection_id":130783,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:22:10] local.INFO: Processing buffer {"connection_id":130783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:22:10] local.INFO: IMEI packet received {"connection_id":130783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":130783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:22:13] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5104d110012d7a1c4005e46880001000802d..."} 
[2026-07-11 17:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5104d110012d7a1c4005e46880001000802d..."} 
[2026-07-11 17:22:13] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5104d110012d7a1c4005e46880001000802d..."} 
[2026-07-11 17:22:13] local.INFO: Packet analysis {"connection_id":128654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:22:13] local.INFO: Extracted packet for processing {"connection_id":128654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855040,"longitude_deg":76.2977344,"latitude_deg":9.885504,"altitude":16,"angle":128,"satellites":45,"speed":1,"hex_longitude":"2d7a1c40","hex_latitude":"05e46880","is_valid_coordinates":true} 
[2026-07-11 17:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645298432001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051180618481664,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258861056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783770698000,"timestamp_ms":1783770698000,"timestamp_seconds":1783770698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5104d110"} 
[2026-07-11 17:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 17:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645298432001,"66":11515,"97":206,"85":15104,"24":1,"16":105051180618481664,"45":8799189272258861056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645298432001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051180618481664,"km_value":105051180618481.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258861056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645298432001,"power":11515,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8799189272258861056}} 
[2026-07-11 17:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":128654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:22:13] local.INFO: GPS data processed {"connection_id":128654,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:22:13] local.INFO: Acknowledgment sent {"connection_id":128654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:22:37] local.INFO: TCP Data received {"connection_id":130784,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5103c770012d18d24007230678006300202a..."} 
[2026-07-11 17:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5103c770012d18d24007230678006300202a..."} 
[2026-07-11 17:22:37] local.INFO: Processing buffer {"connection_id":130784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5103c770012d18d24007230678006300202a..."} 
[2026-07-11 17:22:37] local.INFO: Packet analysis {"connection_id":130784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5103"} 
[2026-07-11 17:22:37] local.INFO: Extracted packet for processing {"connection_id":130784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5103"} 
[2026-07-11 17:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645275904001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783770630000,"timestamp_ms":1783770630000,"timestamp_seconds":1783770630,"priority":1,"record_length":96,"hex_timestamp":"0000019f5103c770"} 
[2026-07-11 17:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:22:37] 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-07-11 17:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6966785812025234152,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4613694853954429696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":20,"raw_value":-9010295479484809216,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2954361355555047936,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,112,28,24,241,158,16,130,159,35,45,64,6,99,43,10,66,209,127,1,240,69,81,4,113,205,219,210,120,42,239,47,2,20,84,206,32],"length":533,"final_offset":663,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:22:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133737178810548224,"timestamp_seconds":7133737178810548.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645275904001,"66":12548,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645275904001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:22:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:22:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645275904001,"power":12548,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":130784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:22:37] local.INFO: GPS data processed {"connection_id":130784,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:22:37] local.INFO: Acknowledgment sent {"connection_id":130784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:22:41] local.INFO: TCP Data received {"connection_id":128655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5104bd88012cb9c8c00774f0f80051005e2f..."} 
[2026-07-11 17:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5104bd88012cb9c8c00774f0f80051005e2f..."} 
[2026-07-11 17:22:41] local.INFO: Processing buffer {"connection_id":128655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5104bd88012cb9c8c00774f0f80051005e2f..."} 
[2026-07-11 17:22:41] local.INFO: Packet analysis {"connection_id":128655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:22:41] local.INFO: Extracted packet for processing {"connection_id":128655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:22:41] local.INFO: GPS Element Parsed {"raw_longitude":750373056,"raw_latitude":125104376,"longitude_deg":75.0373056,"latitude_deg":12.5104376,"altitude":81,"angle":94,"satellites":47,"speed":42,"hex_longitude":"2cb9c8c0","hex_latitude":"0774f0f8","is_valid_coordinates":true} 
[2026-07-11 17:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645295104001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345257581813432320,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5069786510997102592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783770693000,"timestamp_ms":1783770693000,"timestamp_seconds":1783770693,"priority":1,"record_length":96,"hex_timestamp":"0000019f5104bd88"} 
[2026-07-11 17:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:22:41] 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-07-11 17: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-11 17:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645295104001,"66":27713,"19":206,"85":36608,"24":42,"16":345257581813432320,"44":-5069786510997102592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-07-11 17:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645295104001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:22:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-11 17:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345257581813432320,"km_value":345257581813432.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5069786510997102592,"description":"Unknown IO ID 44"} 
[2026-07-11 17:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645295104001,"power":27713,"unknown_19":206,"unknown_85":36608,"ignition":42,"odometer":null,"unknown_44":-5069786510997102592}} 
[2026-07-11 17:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":128655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:22:41] local.INFO: GPS data processed {"connection_id":128655,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:22:41] local.INFO: Acknowledgment sent {"connection_id":128655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:22:45] local.INFO: TCP Data received {"connection_id":128654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5104d4f8012d7a1cc005e46878001000662c..."} 
[2026-07-11 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5104d4f8012d7a1cc005e46878001000662c..."} 
[2026-07-11 17:22:45] local.INFO: Processing buffer {"connection_id":128654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5104d4f8012d7a1cc005e46878001000662c..."} 
[2026-07-11 17:22:45] local.INFO: Packet analysis {"connection_id":128654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:22:45] local.INFO: Extracted packet for processing {"connection_id":128654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":98855032,"longitude_deg":76.2977472,"latitude_deg":9.8855032,"altitude":16,"angle":102,"satellites":44,"speed":2,"hex_longitude":"2d7a1cc0","hex_latitude":"05e46878","is_valid_coordinates":true} 
[2026-07-11 17:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645298688001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051184913448960,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798978166026174464,"note":"Value kept but may cause issues"} 
[2026-07-11 17:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783770699000,"timestamp_ms":1783770699000,"timestamp_seconds":1783770699,"priority":1,"record_length":96,"hex_timestamp":"0000019f5104d4f8"} 
[2026-07-11 17:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-11 17:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645298688001,"66":11515,"97":206,"85":15104,"24":2,"16":105051184913448960,"45":8798978166026174464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645298688001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051184913448960,"km_value":105051184913448.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798978166026174464,"description":"Unknown IO ID 45"} 
[2026-07-11 17:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645298688001,"power":11515,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8798978166026174464}} 
[2026-07-11 17:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":128654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:22:45] local.INFO: GPS data processed {"connection_id":128654,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:22:45] local.INFO: Acknowledgment sent {"connection_id":128654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:22:50] local.INFO: TCP Data received {"connection_id":130785,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:22:50] local.INFO: Processing buffer {"connection_id":130785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:22:50] local.INFO: IMEI packet received {"connection_id":130785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":130785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:22:59] local.INFO: TCP Data received {"connection_id":128843,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:22:59] local.INFO: Processing buffer {"connection_id":128843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:22:59] local.INFO: IMEI packet received {"connection_id":128843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":128843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:23:04] local.INFO: TCP Data received {"connection_id":128843,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:23:04] local.INFO: Processing buffer {"connection_id":128843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:23:04] local.INFO: IMEI packet received {"connection_id":128843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":128843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:23:05] local.INFO: TCP Data received {"connection_id":128843,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51041978012d18d240072306780063002029..."} 
[2026-07-11 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51041978012d18d240072306780063002029..."} 
[2026-07-11 17:23:05] local.INFO: Processing buffer {"connection_id":128843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51041978012d18d240072306780063002029..."} 
[2026-07-11 17:23:05] local.INFO: Packet analysis {"connection_id":128843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:23:05] local.INFO: Extracted packet for processing {"connection_id":128843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645281280001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770651000,"timestamp_ms":1783770651000,"timestamp_seconds":1783770651,"priority":1,"record_length":96,"hex_timestamp":"0000019f51041978"} 
[2026-07-11 17:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:23: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-07-11 17:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:05] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184168521933,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:23:05] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2197094400,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:05] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,112,28,24,241,158,16,130,159,117,45,64,6,99,43,10,66,35,209,1,240,4,81,113,205,210,120,44,239,49,2,20,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:23:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133737174515580928,"timestamp_seconds":7133737174515581.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645281280001,"66":12558,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645281280001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:23:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645281280001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":128843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:23:05] local.INFO: GPS data processed {"connection_id":128843,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:23:05] local.INFO: Acknowledgment sent {"connection_id":128843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:23:06] local.INFO: TCP Data received {"connection_id":129540,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:23:06] local.INFO: Processing buffer {"connection_id":129540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:23:06] local.INFO: IMEI packet received {"connection_id":129540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":129540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:23:08] local.INFO: TCP Data received {"connection_id":129540,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:23:08] local.INFO: Processing buffer {"connection_id":129540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:23:08] local.INFO: IMEI packet received {"connection_id":129540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":129540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:23:13] local.INFO: TCP Data received {"connection_id":129540,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:23:13] local.INFO: Processing buffer {"connection_id":129540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:23:13] local.INFO: IMEI packet received {"connection_id":129540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":129540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:23:14] local.INFO: TCP Data received {"connection_id":129540,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5104e0b0012cb9eec00774ee70004f005d2f..."} 
[2026-07-11 17:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5104e0b0012cb9eec00774ee70004f005d2f..."} 
[2026-07-11 17:23:14] local.INFO: Processing buffer {"connection_id":129540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5104e0b0012cb9eec00774ee70004f005d2f..."} 
[2026-07-11 17:23:14] local.INFO: Packet analysis {"connection_id":129540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:23:14] local.INFO: Extracted packet for processing {"connection_id":129540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:23:14] local.INFO: GPS Element Parsed {"raw_longitude":750382784,"raw_latitude":125103728,"longitude_deg":75.0382784,"latitude_deg":12.5103728,"altitude":79,"angle":93,"satellites":47,"speed":38,"hex_longitude":"2cb9eec0","hex_latitude":"0774ee70","is_valid_coordinates":true} 
[2026-07-11 17:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645297408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345258041374932992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5059583043091499008,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783770702000,"timestamp_ms":1783770702000,"timestamp_seconds":1783770702,"priority":1,"record_length":96,"hex_timestamp":"0000019f5104e0b0"} 
[2026-07-11 17:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-11 17:23:14] 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-07-11 17:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645297408001,"66":27865,"19":206,"85":36608,"24":38,"16":345258041374932992,"44":-5059583043091499008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-07-11 17:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645297408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:23:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-11 17:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345258041374932992,"km_value":345258041374933.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5059583043091499008,"description":"Unknown IO ID 44"} 
[2026-07-11 17:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645297408001,"power":27865,"unknown_19":206,"unknown_85":36608,"ignition":38,"odometer":null,"unknown_44":-5059583043091499008}} 
[2026-07-11 17:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":129540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:23:14] local.INFO: GPS data processed {"connection_id":129540,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:23:14] local.INFO: Acknowledgment sent {"connection_id":129540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:23:23] local.INFO: TCP Data received {"connection_id":130786,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:23:23] local.INFO: Processing buffer {"connection_id":130786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:23:23] local.INFO: IMEI packet received {"connection_id":130786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":130786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:23:25] local.INFO: TCP Data received {"connection_id":130786,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:23:25] local.INFO: Processing buffer {"connection_id":130786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:23:25] local.INFO: IMEI packet received {"connection_id":130786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":130786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:23:26] local.INFO: TCP Data received {"connection_id":130786,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5104d8e0012d7a1d0005e46890000f004f2d..."} 
[2026-07-11 17:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5104d8e0012d7a1d0005e46890000f004f2d..."} 
[2026-07-11 17:23:26] local.INFO: Processing buffer {"connection_id":130786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5104d8e0012d7a1d0005e46890000f004f2d..."} 
[2026-07-11 17:23:26] local.INFO: Packet analysis {"connection_id":130786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:23:26] local.INFO: Extracted packet for processing {"connection_id":130786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:23:26] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98855056,"longitude_deg":76.2977536,"latitude_deg":9.8855056,"altitude":15,"angle":79,"satellites":45,"speed":2,"hex_longitude":"2d7a1d00","hex_latitude":"05e46890","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645298944001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051189208416256,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903514527744,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783770700000,"timestamp_ms":1783770700000,"timestamp_seconds":1783770700,"priority":1,"record_length":96,"hex_timestamp":"0000019f5104d8e0"} 
[2026-07-11 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-07-11 17:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-11 17:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645298944001,"66":11515,"97":206,"85":15104,"24":2,"16":105051189208416256,"45":8799118903514527744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645298944001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:23:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051189208416256,"km_value":105051189208416.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903514527744,"description":"Unknown IO ID 45"} 
[2026-07-11 17:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645298944001,"power":11515,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8799118903514527744}} 
[2026-07-11 17:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":130786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:23:26] local.INFO: GPS data processed {"connection_id":130786,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:23:26] local.INFO: Acknowledgment sent {"connection_id":130786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:23:27] local.INFO: TCP Data received {"connection_id":130786,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51052700012d7a220005e46900000f00542d..."} 
[2026-07-11 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51052700012d7a220005e46900000f00542d..."} 
[2026-07-11 17:23:27] local.INFO: Processing buffer {"connection_id":130786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51052700012d7a220005e46900000f00542d..."} 
[2026-07-11 17:23:27] local.INFO: Packet analysis {"connection_id":130786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:23:27] local.INFO: Extracted packet for processing {"connection_id":130786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":762978816,"raw_latitude":98855168,"longitude_deg":76.2978816,"latitude_deg":9.8855168,"altitude":15,"angle":84,"satellites":45,"speed":0,"hex_longitude":"2d7a2200","hex_latitude":"05e46900","is_valid_coordinates":true} 
[2026-07-11 17:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645299200001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105051257927892992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258711552,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783770720000,"timestamp_ms":1783770720000,"timestamp_seconds":1783770720,"priority":1,"record_length":96,"hex_timestamp":"0000019f51052700"} 
[2026-07-11 17:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-11 17:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645299200001,"66":11189,"97":206,"85":15104,"24":0,"16":105051257927892992,"45":8799189272258711552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645299200001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:23:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105051257927892992,"km_value":105051257927892.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258711552,"description":"Unknown IO ID 45"} 
[2026-07-11 17:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645299200001,"power":11189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799189272258711552}} 
[2026-07-11 17:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":130786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:23:27] local.INFO: GPS data processed {"connection_id":130786,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:23:27] local.INFO: Acknowledgment sent {"connection_id":130786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:23:37] local.INFO: TCP Data received {"connection_id":128843,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51046b80012d18d240072306780063002028..."} 
[2026-07-11 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51046b80012d18d240072306780063002028..."} 
[2026-07-11 17:23:37] local.INFO: Processing buffer {"connection_id":128843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51046b80012d18d240072306780063002028..."} 
[2026-07-11 17:23:37] local.INFO: Packet analysis {"connection_id":128843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:23:37] local.INFO: Extracted packet for processing {"connection_id":128843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645286656001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783770672000,"timestamp_ms":1783770672000,"timestamp_seconds":1783770672,"priority":1,"record_length":96,"hex_timestamp":"0000019f51046b80"} 
[2026-07-11 17:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:23:37] 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-07-11 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249578303587288696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2197094400,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,112,28,24,241,158,16,130,159,199,45,64,6,99,42,10,66,117,43,35,1,240,58,81,4,113,205,127,210,120,239,49,2,20,7,231,84,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:23:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133737170220613632,"timestamp_seconds":7133737170220614.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645286656001,"66":12558,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645286656001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:23:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645286656001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":128843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:23:37] local.INFO: GPS data processed {"connection_id":128843,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:23:37] local.INFO: Acknowledgment sent {"connection_id":128843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:23:45] local.INFO: TCP Data received {"connection_id":129540,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f510507c0012cba14400774ec08004e005d30..."} 
[2026-07-11 17:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510507c0012cba14400774ec08004e005d30..."} 
[2026-07-11 17:23:45] local.INFO: Processing buffer {"connection_id":129540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510507c0012cba14400774ec08004e005d30..."} 
[2026-07-11 17:23:45] local.INFO: Packet analysis {"connection_id":129540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:23:45] local.INFO: Extracted packet for processing {"connection_id":129540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:23:45] local.INFO: GPS Element Parsed {"raw_longitude":750392384,"raw_latitude":125103112,"longitude_deg":75.0392384,"latitude_deg":12.5103112,"altitude":78,"angle":93,"satellites":48,"speed":36,"hex_longitude":"2cba1440","hex_latitude":"0774ec08","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645299712001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345258500936433664,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5048886993976659968,"note":"Value kept but may cause issues"} 
[2026-07-11 17:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783770712000,"timestamp_ms":1783770712000,"timestamp_seconds":1783770712,"priority":1,"record_length":96,"hex_timestamp":"0000019f510507c0"} 
[2026-07-11 17:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 17:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645299712001,"66":27800,"19":206,"85":36608,"24":36,"16":345258500936433664,"44":-5048886993976659968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-07-11 17:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645299712001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:23:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-11 17:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345258500936433664,"km_value":345258500936433.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:23:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5048886993976659968,"description":"Unknown IO ID 44"} 
[2026-07-11 17:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645299712001,"power":27800,"unknown_19":206,"unknown_85":36608,"ignition":36,"odometer":null,"unknown_44":-5048886993976659968}} 
[2026-07-11 17:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":129540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:23:45] local.INFO: GPS data processed {"connection_id":129540,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:23:45] local.INFO: Acknowledgment sent {"connection_id":129540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:23:59] local.INFO: TCP Data received {"connection_id":128844,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:23:59] local.INFO: Processing buffer {"connection_id":128844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:23:59] local.INFO: IMEI packet received {"connection_id":128844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":128844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:24:01] local.INFO: TCP Data received {"connection_id":129541,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:24:01] local.INFO: Processing buffer {"connection_id":129541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:24:01] local.INFO: IMEI packet received {"connection_id":129541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":129541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:24:03] local.INFO: TCP Data received {"connection_id":129541,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:24:03] local.INFO: Processing buffer {"connection_id":129541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:24:03] local.INFO: IMEI packet received {"connection_id":129541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":129541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:24:05] local.INFO: TCP Data received {"connection_id":128844,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:24:05] local.INFO: Processing buffer {"connection_id":128844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:24:05] local.INFO: IMEI packet received {"connection_id":128844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":128844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:24:06] local.INFO: TCP Data received {"connection_id":128844,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5104bd88012d18d240072306780063002025..."} 
[2026-07-11 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5104bd88012d18d240072306780063002025..."} 
[2026-07-11 17:24:06] local.INFO: Processing buffer {"connection_id":128844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5104bd88012d18d240072306780063002025..."} 
[2026-07-11 17:24:06] local.INFO: Packet analysis {"connection_id":128844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:24:06] local.INFO: Extracted packet for processing {"connection_id":128844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5104"} 
[2026-07-11 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645292032001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783770693000,"timestamp_ms":1783770693000,"timestamp_seconds":1783770693,"priority":1,"record_length":96,"hex_timestamp":"0000019f5104bd88"} 
[2026-07-11 17:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249578303587288696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2197094400,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,112,28,24,241,158,16,130,159,25,45,64,6,99,41,10,66,199,42,117,1,240,11,81,35,4,113,205,209,210,120,43,239,49,2,20,7,231,84,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:24:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133737165925646336,"timestamp_seconds":7133737165925646.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645292032001,"66":12548,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645292032001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:24:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645292032001,"power":12548,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":128844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:24:06] local.INFO: GPS data processed {"connection_id":128844,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:24:06] local.INFO: Acknowledgment sent {"connection_id":128844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:24:07] local.INFO: TCP Data received {"connection_id":130787,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:24:07] local.INFO: Processing buffer {"connection_id":130787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:24:07] local.INFO: IMEI packet received {"connection_id":130787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":130787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:24:09] local.INFO: TCP Data received {"connection_id":129541,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:24:09] local.INFO: Processing buffer {"connection_id":129541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:24:09] local.INFO: IMEI packet received {"connection_id":129541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":129541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:24:10] local.INFO: TCP Data received {"connection_id":129541,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f510532b8012cba39c00774e988004e005d30..."} 
[2026-07-11 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510532b8012cba39c00774e988004e005d30..."} 
[2026-07-11 17:24:10] local.INFO: Processing buffer {"connection_id":129541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510532b8012cba39c00774e988004e005d30..."} 
[2026-07-11 17:24:10] local.INFO: Packet analysis {"connection_id":129541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:24:10] local.INFO: Extracted packet for processing {"connection_id":129541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":750401984,"raw_latitude":125102472,"longitude_deg":75.0401984,"latitude_deg":12.5102472,"altitude":78,"angle":93,"satellites":48,"speed":31,"hex_longitude":"2cba39c0","hex_latitude":"0774e988","is_valid_coordinates":true} 
[2026-07-11 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645302272001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345258956202967040,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5038331682350168064,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783770723000,"timestamp_ms":1783770723000,"timestamp_seconds":1783770723,"priority":1,"record_length":96,"hex_timestamp":"0000019f510532b8"} 
[2026-07-11 17:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 17:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645302272001,"66":27876,"19":206,"85":36608,"24":31,"16":345258956202967040,"44":-5038331682350168064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-07-11 17:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645302272001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:24:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-11 17:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345258956202967040,"km_value":345258956202967.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5038331682350168064,"description":"Unknown IO ID 44"} 
[2026-07-11 17:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645302272001,"power":27876,"unknown_19":206,"unknown_85":36608,"ignition":31,"odometer":null,"unknown_44":-5038331682350168064}} 
[2026-07-11 17:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":129541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:24:10] local.INFO: GPS data processed {"connection_id":129541,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:24:10] local.INFO: Acknowledgment sent {"connection_id":129541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:24:12] local.INFO: TCP Data received {"connection_id":130787,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:24:12] local.INFO: Processing buffer {"connection_id":130787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:24:12] local.INFO: IMEI packet received {"connection_id":130787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":130787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:24:22] local.INFO: TCP Data received {"connection_id":130787,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5106b958012d79e3c005e491f8000f010c2c..."} 
[2026-07-11 17:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5106b958012d79e3c005e491f8000f010c2c..."} 
[2026-07-11 17:24:22] local.INFO: Processing buffer {"connection_id":130787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5106b958012d79e3c005e491f8000f010c2c..."} 
[2026-07-11 17:24:22] local.INFO: Packet analysis {"connection_id":130787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:24:22] local.INFO: Extracted packet for processing {"connection_id":130787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:24:22] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":98865656,"longitude_deg":76.296288,"latitude_deg":9.8865656,"altitude":15,"angle":268,"satellites":44,"speed":10,"hex_longitude":"2d79e3c0","hex_latitude":"05e491f8","is_valid_coordinates":true} 
[2026-07-11 17:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645330432001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052524943245312,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783426673565636608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783770823000,"timestamp_ms":1783770823000,"timestamp_seconds":1783770823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5106b958"} 
[2026-07-11 17:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-11 17:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645330432001,"66":12743,"157":206,"87":12288,"24":10,"16":105052524943245312,"45":8783426673565636608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 17:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645330432001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:24:22] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 17:24:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 17:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052524943245312,"km_value":105052524943245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783426673565636608,"description":"Unknown IO ID 45"} 
[2026-07-11 17:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645330432001,"power":12743,"unknown_157":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8783426673565636608}} 
[2026-07-11 17:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":130787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:24:22] local.INFO: GPS data processed {"connection_id":130787,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:24:22] local.INFO: Acknowledgment sent {"connection_id":130787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:24:38] local.INFO: TCP Data received {"connection_id":128844,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51050f90012d18d24007230678006300202b..."} 
[2026-07-11 17:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51050f90012d18d24007230678006300202b..."} 
[2026-07-11 17:24:38] local.INFO: Processing buffer {"connection_id":128844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51050f90012d18d24007230678006300202b..."} 
[2026-07-11 17:24:38] local.INFO: Packet analysis {"connection_id":128844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:24:38] local.INFO: Extracted packet for processing {"connection_id":128844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645297408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783770714000,"timestamp_ms":1783770714000,"timestamp_seconds":1783770714,"priority":1,"record_length":96,"hex_timestamp":"0000019f51050f90"} 
[2026-07-11 17:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:38] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:24:38] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2197094400,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,112,28,24,241,158,16,130,159,107,45,64,6,99,40,10,66,25,41,199,1,240,4,81,35,113,205,210,120,43,239,49,2,20,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:24:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133737153040744448,"timestamp_seconds":7133737153040744.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645297408001,"66":12548,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645297408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:24:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645297408001,"power":12548,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":128844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:24:38] local.INFO: GPS data processed {"connection_id":128844,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:24:38] local.INFO: Acknowledgment sent {"connection_id":128844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:24:42] local.INFO: TCP Data received {"connection_id":129541,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51056580012cba5f400774e6c0004f005e30..."} 
[2026-07-11 17:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51056580012cba5f400774e6c0004f005e30..."} 
[2026-07-11 17:24:42] local.INFO: Processing buffer {"connection_id":129541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51056580012cba5f400774e6c0004f005e30..."} 
[2026-07-11 17:24:42] local.INFO: Packet analysis {"connection_id":129541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:24:42] local.INFO: Extracted packet for processing {"connection_id":129541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:24:42] local.INFO: GPS Element Parsed {"raw_longitude":750411584,"raw_latitude":125101760,"longitude_deg":75.0411584,"latitude_deg":12.510176,"altitude":79,"angle":94,"satellites":48,"speed":28,"hex_longitude":"2cba5f40","hex_latitude":"0774e6c0","is_valid_coordinates":true} 
[2026-07-11 17:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645305088001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345259411469500416,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5027776370723682304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783770736000,"timestamp_ms":1783770736000,"timestamp_seconds":1783770736,"priority":1,"record_length":96,"hex_timestamp":"0000019f51056580"} 
[2026-07-11 17:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 17:24:42] 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-07-11 17:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645305088001,"66":27821,"93":206,"85":36608,"24":28,"16":345259411469500416,"44":-5027776370723682304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-07-11 17:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645305088001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:24:42] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-11 17:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345259411469500416,"km_value":345259411469500.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5027776370723682304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645305088001,"power":27821,"unknown_93":206,"unknown_85":36608,"ignition":28,"odometer":null,"unknown_44":-5027776370723682304}} 
[2026-07-11 17:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":129541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:24:42] local.INFO: GPS data processed {"connection_id":129541,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:24:42] local.INFO: Acknowledgment sent {"connection_id":129541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:24:59] local.INFO: TCP Data received {"connection_id":128845,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:24:59] local.INFO: Processing buffer {"connection_id":128845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:24:59] local.INFO: IMEI packet received {"connection_id":128845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":128845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:25:00] local.INFO: TCP Data received {"connection_id":128845,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:25:00] local.INFO: Processing buffer {"connection_id":128845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:25:00] local.INFO: IMEI packet received {"connection_id":128845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":128845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:25:02] local.INFO: TCP Data received {"connection_id":130789,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:25:02] local.INFO: Processing buffer {"connection_id":130789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:25:02] local.INFO: IMEI packet received {"connection_id":130789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":130789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:25:03] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:25:03] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:25:03] local.INFO: IMEI packet received {"connection_id":130788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":130788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:25:04] local.INFO: TCP Data received {"connection_id":128845,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:25:04] local.INFO: Processing buffer {"connection_id":128845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:25:04] local.INFO: IMEI packet received {"connection_id":128845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":128845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:25:04] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:25:04] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:25:04] local.INFO: IMEI packet received {"connection_id":130788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":130788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:25:05] local.INFO: TCP Data received {"connection_id":128845,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51056198012d18d240072306780063002028..."} 
[2026-07-11 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51056198012d18d240072306780063002028..."} 
[2026-07-11 17:25:05] local.INFO: Processing buffer {"connection_id":128845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51056198012d18d240072306780063002028..."} 
[2026-07-11 17:25:05] local.INFO: Packet analysis {"connection_id":128845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:25:05] local.INFO: Extracted packet for processing {"connection_id":128845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645302784001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770735000,"timestamp_ms":1783770735000,"timestamp_seconds":1783770735,"priority":1,"record_length":96,"hex_timestamp":"0000019f51056198"} 
[2026-07-11 17:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:25: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-07-11 17:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:05] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:25:05] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2197094400,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,112,28,24,241,158,16,130,159,189,45,64,6,99,37,10,66,107,40,25,1,240,14,81,35,4,113,205,117,210,120,43,239,46,2,20,7,231],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:25:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133737178810548224,"timestamp_seconds":7133737178810548.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645302784001,"66":12558,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645302784001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:25:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645302784001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":128845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:25:05] local.INFO: GPS data processed {"connection_id":128845,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:25:05] local.INFO: Acknowledgment sent {"connection_id":128845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:25:08] local.INFO: TCP Data received {"connection_id":130789,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:25:08] local.INFO: Processing buffer {"connection_id":130789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:25:08] local.INFO: IMEI packet received {"connection_id":130789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":130789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:25:08] local.INFO: TCP Data received {"connection_id":130789,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5106bd40012d79e28005e49238000f01262a..."} 
[2026-07-11 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5106bd40012d79e28005e49238000f01262a..."} 
[2026-07-11 17:25:08] local.INFO: Processing buffer {"connection_id":130789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5106bd40012d79e28005e49238000f01262a..."} 
[2026-07-11 17:25:08] local.INFO: Packet analysis {"connection_id":130789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:25:08] local.INFO: Extracted packet for processing {"connection_id":130789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98865720,"longitude_deg":76.296256,"latitude_deg":9.886572,"altitude":15,"angle":294,"satellites":42,"speed":11,"hex_longitude":"2d79e280","hex_latitude":"05e49238","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645330688001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052537828147200,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829844740096,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783770824000,"timestamp_ms":1783770824000,"timestamp_seconds":1783770824,"priority":1,"record_length":96,"hex_timestamp":"0000019f5106bd40"} 
[2026-07-11 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-07-11 17:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 17:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645330688001,"66":12461,"157":206,"87":12288,"24":11,"16":105052537828147200,"45":8783074829844740096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 17:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645330688001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:25:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 17:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 17:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052537828147200,"km_value":105052537828147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829844740096,"description":"Unknown IO ID 45"} 
[2026-07-11 17:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645330688001,"power":12461,"unknown_157":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8783074829844740096}} 
[2026-07-11 17:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":130789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:25:09] local.INFO: GPS data processed {"connection_id":130789,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:25:09] local.INFO: Acknowledgment sent {"connection_id":130789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:25:09] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:25:09] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:25:09] local.INFO: IMEI packet received {"connection_id":130788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":130788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:25:10] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5106f7d8012cbbf8400774d7d80055006530..."} 
[2026-07-11 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5106f7d8012cbbf8400774d7d80055006530..."} 
[2026-07-11 17:25:10] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5106f7d8012cbbf8400774d7d80055006530..."} 
[2026-07-11 17:25:10] local.INFO: Packet analysis {"connection_id":130788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:25:10] local.INFO: Extracted packet for processing {"connection_id":130788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:25:10] local.INFO: GPS Element Parsed {"raw_longitude":750516288,"raw_latitude":125097944,"longitude_deg":75.0516288,"latitude_deg":12.5097944,"altitude":85,"angle":101,"satellites":48,"speed":41,"hex_longitude":"2cbbf840","hex_latitude":"0774d7d8","is_valid_coordinates":true} 
[2026-07-11 17:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645332480001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345264389336596480,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4912934580226437120,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783770839000,"timestamp_ms":1783770839000,"timestamp_seconds":1783770839,"priority":1,"record_length":96,"hex_timestamp":"0000019f5106f7d8"} 
[2026-07-11 17:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645332480001,"66":27800,"92":206,"85":36608,"24":41,"16":345264389336596480,"44":-4912934580226437120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,44]} 
[2026-07-11 17:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645332480001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:25:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 17:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345264389336596480,"km_value":345264389336596.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4912934580226437120,"description":"Unknown IO ID 44"} 
[2026-07-11 17:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645332480001,"power":27800,"unknown_92":206,"unknown_85":36608,"ignition":41,"odometer":null,"unknown_44":-4912934580226437120}} 
[2026-07-11 17:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":130788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:25:10] local.INFO: GPS data processed {"connection_id":130788,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:25:10] local.INFO: Acknowledgment sent {"connection_id":130788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:25:37] local.INFO: TCP Data received {"connection_id":128845,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5105b3a0012d18d240072306780063002029..."} 
[2026-07-11 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5105b3a0012d18d240072306780063002029..."} 
[2026-07-11 17:25:37] local.INFO: Processing buffer {"connection_id":128845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5105b3a0012d18d240072306780063002029..."} 
[2026-07-11 17:25:37] local.INFO: Packet analysis {"connection_id":128845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:25:37] local.INFO: Extracted packet for processing {"connection_id":128845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5105"} 
[2026-07-11 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645308160001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783770756000,"timestamp_ms":1783770756000,"timestamp_seconds":1783770756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5105b3a0"} 
[2026-07-11 17:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:25:37] 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-07-11 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249578303587288696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2197094400,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,112,28,24,241,158,16,130,159,15,45,64,6,99,43,10,66,189,37,107,1,240,14,81,35,4,113,205,199,210,120,42,239,49,2,20,7,231,84,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:25:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133737165925646336,"timestamp_seconds":7133737165925646.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645308160001,"66":12548,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645308160001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:25:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645308160001,"power":12548,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":128845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:25:37] local.INFO: GPS data processed {"connection_id":128845,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:25:37] local.INFO: Acknowledgment sent {"connection_id":128845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:25:40] local.INFO: TCP Data received {"connection_id":130789,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5106c128012d79e20005e492e0001001482a..."} 
[2026-07-11 17:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5106c128012d79e20005e492e0001001482a..."} 
[2026-07-11 17:25:40] local.INFO: Processing buffer {"connection_id":130789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5106c128012d79e20005e492e0001001482a..."} 
[2026-07-11 17:25:40] local.INFO: Packet analysis {"connection_id":130789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:25:40] local.INFO: Extracted packet for processing {"connection_id":130789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:25:40] local.INFO: GPS Element Parsed {"raw_longitude":762962432,"raw_latitude":98865888,"longitude_deg":76.2962432,"latitude_deg":9.8865888,"altitude":16,"angle":328,"satellites":42,"speed":8,"hex_longitude":"2d79e200","hex_latitude":"05e492e0","is_valid_coordinates":true} 
[2026-07-11 17:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645330944001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052550713049088,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123868160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783770825000,"timestamp_ms":1783770825000,"timestamp_seconds":1783770825,"priority":1,"record_length":96,"hex_timestamp":"0000019f5106c128"} 
[2026-07-11 17:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645330944001,"66":12461,"157":206,"87":12288,"24":8,"16":105052550713049088,"45":8782722986123868160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 17:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645330944001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:25:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 17:25:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 17:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052550713049088,"km_value":105052550713049.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123868160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645330944001,"power":12461,"unknown_157":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8782722986123868160}} 
[2026-07-11 17:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":130789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:25:40] local.INFO: GPS data processed {"connection_id":130789,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:25:40] local.INFO: Acknowledgment sent {"connection_id":130789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:25:41] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51071ee8012cbc1c000774d1680057006530..."} 
[2026-07-11 17:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51071ee8012cbc1c000774d1680057006530..."} 
[2026-07-11 17:25:41] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51071ee8012cbc1c000774d1680057006530..."} 
[2026-07-11 17:25:41] local.INFO: Packet analysis {"connection_id":130788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:25:41] local.INFO: Extracted packet for processing {"connection_id":130788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:25:41] local.INFO: GPS Element Parsed {"raw_longitude":750525440,"raw_latitude":125096296,"longitude_deg":75.052544,"latitude_deg":12.5096296,"altitude":87,"angle":101,"satellites":48,"speed":28,"hex_longitude":"2cbc1c00","hex_latitude":"0774d168","is_valid_coordinates":true} 
[2026-07-11 17:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645334784001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345264827423260672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4902097793623533568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783770849000,"timestamp_ms":1783770849000,"timestamp_seconds":1783770849,"priority":1,"record_length":96,"hex_timestamp":"0000019f51071ee8"} 
[2026-07-11 17:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:25:41] 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-07-11 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 17:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645334784001,"66":27767,"92":206,"85":36608,"24":28,"16":345264827423260672,"44":-4902097793623533568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,44]} 
[2026-07-11 17:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645334784001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:25:41] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 17:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345264827423260672,"km_value":345264827423260.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4902097793623533568,"description":"Unknown IO ID 44"} 
[2026-07-11 17:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645334784001,"power":27767,"unknown_92":206,"unknown_85":36608,"ignition":28,"odometer":null,"unknown_44":-4902097793623533568}} 
[2026-07-11 17:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":130788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:25:41] local.INFO: GPS data processed {"connection_id":130788,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:25:41] local.INFO: Acknowledgment sent {"connection_id":130788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:26:01] local.INFO: TCP Data received {"connection_id":128658,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:26:01] local.INFO: Processing buffer {"connection_id":128658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:26:01] local.INFO: IMEI packet received {"connection_id":128658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":128658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:26:02] local.INFO: TCP Data received {"connection_id":130790,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:02] local.INFO: Processing buffer {"connection_id":130790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:02] local.INFO: IMEI packet received {"connection_id":130790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":130790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:26:03] local.INFO: TCP Data received {"connection_id":128658,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:26:03] local.INFO: Processing buffer {"connection_id":128658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:26:03] local.INFO: IMEI packet received {"connection_id":128658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":128658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:26:04] local.INFO: TCP Data received {"connection_id":130790,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:04] local.INFO: Processing buffer {"connection_id":130790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:04] local.INFO: IMEI packet received {"connection_id":130790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":130790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:26:08] local.INFO: TCP Data received {"connection_id":129543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:26:08] local.INFO: Processing buffer {"connection_id":129543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:26:08] local.INFO: IMEI packet received {"connection_id":129543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":129543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:26:09] local.INFO: TCP Data received {"connection_id":128658,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:26:09] local.INFO: Processing buffer {"connection_id":128658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:26:09] local.INFO: IMEI packet received {"connection_id":128658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":128658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:26:09] local.INFO: TCP Data received {"connection_id":128658,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51076538012cbc40400774c960005700652e..."} 
[2026-07-11 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51076538012cbc40400774c960005700652e..."} 
[2026-07-11 17:26:09] local.INFO: Processing buffer {"connection_id":128658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51076538012cbc40400774c960005700652e..."} 
[2026-07-11 17:26:09] local.INFO: Packet analysis {"connection_id":128658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:26:09] local.INFO: Extracted packet for processing {"connection_id":128658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":750534720,"raw_latitude":125094240,"longitude_deg":75.053472,"latitude_deg":12.509424,"altitude":87,"angle":101,"satellites":46,"speed":22,"hex_longitude":"2cbc4040","hex_latitude":"0774c960","is_valid_coordinates":true} 
[2026-07-11 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645337344001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345265278394826752,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4892035063206549504,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770867000,"timestamp_ms":1783770867000,"timestamp_seconds":1783770867,"priority":1,"record_length":96,"hex_timestamp":"0000019f51076538"} 
[2026-07-11 17:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:26:09] 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-07-11 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 17:26:09] 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-07-11 17:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645337344001,"66":27800,"92":206,"85":36608,"24":22,"16":345265278394826752,"44":-4892035063206549504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,44]} 
[2026-07-11 17:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645337344001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:26:09] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-11 17:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345265278394826752,"km_value":345265278394826.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4892035063206549504,"description":"Unknown IO ID 44"} 
[2026-07-11 17:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645337344001,"power":27800,"unknown_92":206,"unknown_85":36608,"ignition":22,"odometer":null,"unknown_44":-4892035063206549504}} 
[2026-07-11 17:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":128658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:26:09] local.INFO: GPS data processed {"connection_id":128658,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:26:09] local.INFO: Acknowledgment sent {"connection_id":128658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:26:10] local.INFO: TCP Data received {"connection_id":130790,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:10] local.INFO: Processing buffer {"connection_id":130790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:10] local.INFO: IMEI packet received {"connection_id":130790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":130790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:26:11] local.INFO: TCP Data received {"connection_id":130790,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510605a8012d18d240072306780063002029..."} 
[2026-07-11 17:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510605a8012d18d240072306780063002029..."} 
[2026-07-11 17:26:11] local.INFO: Processing buffer {"connection_id":130790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510605a8012d18d240072306780063002029..."} 
[2026-07-11 17:26:11] local.INFO: Packet analysis {"connection_id":130790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:26:11] local.INFO: Extracted packet for processing {"connection_id":130790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645313536001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783770777000,"timestamp_ms":1783770777000,"timestamp_seconds":1783770777,"priority":1,"record_length":96,"hex_timestamp":"0000019f510605a8"} 
[2026-07-11 17:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 17:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:11] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-11 17:26:11] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2197094400,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:11] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,112,28,24,241,158,16,130,159,97,45,64,6,99,40,10,66,15,43,189,1,240,4,81,35,113,205,25,210,120,41,239,49,2,20,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-11 17:26:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133737170220613632,"timestamp_seconds":7133737170220614.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645313536001,"66":12526,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645313536001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:26:11] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645313536001,"power":12526,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":130790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:26:11] local.INFO: GPS data processed {"connection_id":130790,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:26:11] local.INFO: Acknowledgment sent {"connection_id":130790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:26:16] local.INFO: TCP Data received {"connection_id":129543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:26:16] local.INFO: Processing buffer {"connection_id":129543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:26:16] local.INFO: IMEI packet received {"connection_id":129543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":129543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:26:17] local.INFO: TCP Data received {"connection_id":129543,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5106f008012d79e24005e490f0000e00a529..."} 
[2026-07-11 17:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5106f008012d79e24005e490f0000e00a529..."} 
[2026-07-11 17:26:17] local.INFO: Processing buffer {"connection_id":129543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5106f008012d79e24005e490f0000e00a529..."} 
[2026-07-11 17:26:17] local.INFO: Packet analysis {"connection_id":129543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:26:17] local.INFO: Extracted packet for processing {"connection_id":129543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:26:17] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":98865392,"longitude_deg":76.2962496,"latitude_deg":9.8865392,"altitude":14,"angle":165,"satellites":41,"speed":3,"hex_longitude":"2d79e240","hex_latitude":"05e490f0","is_valid_coordinates":true} 
[2026-07-11 17:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645331200001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052602252656640,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248635555840,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783770837000,"timestamp_ms":1783770837000,"timestamp_seconds":1783770837,"priority":1,"record_length":96,"hex_timestamp":"0000019f5106f008"} 
[2026-07-11 17:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645331200001,"66":13015,"157":206,"87":12288,"24":3,"16":105052602252656640,"45":8782582248635555840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 17:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645331200001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:26:17] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 17:26:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 17:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052602252656640,"km_value":105052602252656.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248635555840,"description":"Unknown IO ID 45"} 
[2026-07-11 17:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645331200001,"power":13015,"unknown_157":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8782582248635555840}} 
[2026-07-11 17:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":129543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:26:17] local.INFO: GPS data processed {"connection_id":129543,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:26:17] local.INFO: Acknowledgment sent {"connection_id":129543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:26:18] local.INFO: TCP Data received {"connection_id":129543,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5106f7d8012d79e24005e49048000e00b32a..."} 
[2026-07-11 17:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5106f7d8012d79e24005e49048000e00b32a..."} 
[2026-07-11 17:26:18] local.INFO: Processing buffer {"connection_id":129543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5106f7d8012d79e24005e49048000e00b32a..."} 
[2026-07-11 17:26:18] local.INFO: Packet analysis {"connection_id":129543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:26:18] local.INFO: Extracted packet for processing {"connection_id":129543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:26:18] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":98865224,"longitude_deg":76.2962496,"latitude_deg":9.8865224,"altitude":14,"angle":179,"satellites":42,"speed":3,"hex_longitude":"2d79e240","hex_latitude":"05e49048","is_valid_coordinates":true} 
[2026-07-11 17:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645334272001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052610842591232,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617379606528,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783770839000,"timestamp_ms":1783770839000,"timestamp_seconds":1783770839,"priority":1,"record_length":96,"hex_timestamp":"0000019f5106f7d8"} 
[2026-07-11 17:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 17:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645334272001,"66":12809,"157":206,"87":12288,"24":3,"16":105052610842591232,"45":8782652617379606528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 17:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645334272001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:26:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 17:26:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 17:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052610842591232,"km_value":105052610842591.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617379606528,"description":"Unknown IO ID 45"} 
[2026-07-11 17:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645334272001,"power":12809,"unknown_157":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8782652617379606528}} 
[2026-07-11 17:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":129543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:26:18] local.INFO: GPS data processed {"connection_id":129543,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:26:18] local.INFO: Acknowledgment sent {"connection_id":129543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:26:42] local.INFO: TCP Data received {"connection_id":130790,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510657b0012d18d240072306780063002029..."} 
[2026-07-11 17:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510657b0012d18d240072306780063002029..."} 
[2026-07-11 17:26:42] local.INFO: Processing buffer {"connection_id":130790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510657b0012d18d240072306780063002029..."} 
[2026-07-11 17:26:42] local.INFO: Packet analysis {"connection_id":130790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:26:42] local.INFO: Extracted packet for processing {"connection_id":130790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645318912001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783770798000,"timestamp_ms":1783770798000,"timestamp_seconds":1783770798,"priority":1,"record_length":96,"hex_timestamp":"0000019f510657b0"} 
[2026-07-11 17:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:26:42] 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-07-11 17:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 17:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645318912001,"66":12526,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645318912001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:26:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:26:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645318912001,"power":12526,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":130790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:26:43] local.INFO: GPS data processed {"connection_id":130790,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:26:43] local.INFO: Acknowledgment sent {"connection_id":130790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:26:48] local.INFO: TCP Data received {"connection_id":128658,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51089db8012cbc1f4007740518004b00842f..."} 
[2026-07-11 17:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51089db8012cbc1f4007740518004b00842f..."} 
[2026-07-11 17:26:48] local.INFO: Processing buffer {"connection_id":128658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51089db8012cbc1f4007740518004b00842f..."} 
[2026-07-11 17:26:48] local.INFO: Packet analysis {"connection_id":128658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5108"} 
[2026-07-11 17:26:48] local.INFO: Extracted packet for processing {"connection_id":128658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5108"} 
[2026-07-11 17:26:48] local.INFO: GPS Element Parsed {"raw_longitude":750526272,"raw_latitude":125043992,"longitude_deg":75.0526272,"latitude_deg":12.5043992,"altitude":75,"angle":132,"satellites":47,"speed":32,"hex_longitude":"2cbc1f40","hex_latitude":"07740518","is_valid_coordinates":true} 
[2026-07-11 17:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645361920001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345268465260560384,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4892316538196334592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783770947000,"timestamp_ms":1783770947000,"timestamp_seconds":1783770947,"priority":1,"record_length":96,"hex_timestamp":"0000019f51089db8"} 
[2026-07-11 17:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 17:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645361920001,"66":27658,"72":206,"85":36608,"24":32,"16":345268465260560384,"44":-4892316538196334592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-07-11 17:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645361920001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:26:48] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-11 17:26:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345268465260560384,"km_value":345268465260560.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:26:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4892316538196334592,"description":"Unknown IO ID 44"} 
[2026-07-11 17:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645361920001,"power":27658,"unknown_72":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-4892316538196334592}} 
[2026-07-11 17:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":128658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:26:48] local.INFO: GPS data processed {"connection_id":128658,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:26:48] local.INFO: Acknowledgment sent {"connection_id":128658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:26:59] local.INFO: TCP Data received {"connection_id":129544,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:59] local.INFO: Processing buffer {"connection_id":129544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:26:59] local.INFO: IMEI packet received {"connection_id":129544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":129544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:27:03] local.INFO: TCP Data received {"connection_id":129545,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:27:03] local.INFO: Processing buffer {"connection_id":129545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:27:03] local.INFO: IMEI packet received {"connection_id":129545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":129545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:27:03] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:27:03] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:27:03] local.INFO: IMEI packet received {"connection_id":128660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":128660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:27:04] local.INFO: TCP Data received {"connection_id":129544,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:27:04] local.INFO: Processing buffer {"connection_id":129544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:27:04] local.INFO: IMEI packet received {"connection_id":129544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":129544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:27:05] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:27:05] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:27:05] local.INFO: IMEI packet received {"connection_id":128660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":128660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:27:05] local.INFO: TCP Data received {"connection_id":129544,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5106a9b8012d18d240072306780063002023..."} 
[2026-07-11 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5106a9b8012d18d240072306780063002023..."} 
[2026-07-11 17:27:05] local.INFO: Processing buffer {"connection_id":129544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5106a9b8012d18d240072306780063002023..."} 
[2026-07-11 17:27:05] local.INFO: Packet analysis {"connection_id":129544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:27:05] local.INFO: Extracted packet for processing {"connection_id":129544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645324288001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770819000,"timestamp_ms":1783770819000,"timestamp_seconds":1783770819,"priority":1,"record_length":96,"hex_timestamp":"0000019f5106a9b8"} 
[2026-07-11 17:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:27: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-07-11 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 17:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645324288001,"66":12526,"112":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-11 17:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645324288001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:27:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 17:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645324288001,"power":12526,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":129544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:27:06] local.INFO: GPS data processed {"connection_id":129544,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:27:06] local.INFO: Acknowledgment sent {"connection_id":129544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:27:08] local.INFO: TCP Data received {"connection_id":129545,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:27:08] local.INFO: Processing buffer {"connection_id":129545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:27:08] local.INFO: IMEI packet received {"connection_id":129545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":129545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:27:08] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:27:08] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:27:08] local.INFO: IMEI packet received {"connection_id":128660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":128660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:27:09] local.INFO: TCP Data received {"connection_id":129545,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5106fbc0012d79e24005e48fd8000d00a62a..."} 
[2026-07-11 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5106fbc0012d79e24005e48fd8000d00a62a..."} 
[2026-07-11 17:27:09] local.INFO: Processing buffer {"connection_id":129545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5106fbc0012d79e24005e48fd8000d00a62a..."} 
[2026-07-11 17:27:09] local.INFO: Packet analysis {"connection_id":129545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:27:09] local.INFO: Extracted packet for processing {"connection_id":129545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":98865112,"longitude_deg":76.2962496,"latitude_deg":9.8865112,"altitude":13,"angle":166,"satellites":42,"speed":4,"hex_longitude":"2d79e240","hex_latitude":"05e48fd8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645334784001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052615137558528,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617379563520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770840000,"timestamp_ms":1783770840000,"timestamp_seconds":1783770840,"priority":1,"record_length":96,"hex_timestamp":"0000019f5106fbc0"} 
[2026-07-11 17:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":81,"raw_value":465823499328030336,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2448949263,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1972119239716175315,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2306068643659697751,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,56,159,240,45,64,144,14,41,10,66,193,146,42,189,128,1,173,227,81,228,4,113,205,181,229,44,239,48,2,117,5,13,46,77],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0}]} 
[2026-07-11 17:27:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009003309501186048,"timestamp_seconds":1009003309501186.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645334784001,"66":12809,"157":206,"87":12288,"24":4,"16":105052615137558528,"45":8782652617379563520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 17:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645334784001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:27:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 17:27:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 17:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052615137558528,"km_value":105052615137558.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617379563520,"description":"Unknown IO ID 45"} 
[2026-07-11 17:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645334784001,"power":12809,"unknown_157":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8782652617379563520}} 
[2026-07-11 17:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":129545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:27:09] local.INFO: GPS data processed {"connection_id":129545,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:27:09] local.INFO: Acknowledgment sent {"connection_id":129545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:27:09] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5108a970012cbc27400773ff90004c00782f..."} 
[2026-07-11 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5108a970012cbc27400773ff90004c00782f..."} 
[2026-07-11 17:27:09] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5108a970012cbc27400773ff90004c00782f..."} 
[2026-07-11 17:27:09] local.INFO: Packet analysis {"connection_id":128660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5108"} 
[2026-07-11 17:27:09] local.INFO: Extracted packet for processing {"connection_id":128660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5108"} 
[2026-07-11 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":750528320,"raw_latitude":125042576,"longitude_deg":75.052832,"latitude_deg":12.5042576,"altitude":76,"angle":120,"satellites":47,"speed":33,"hex_longitude":"2cbc2740","hex_latitude":"0773ff90","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645362432001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345268585519644672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4891120269545629696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770950000,"timestamp_ms":1783770950000,"timestamp_seconds":1783770950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5108a970"} 
[2026-07-11 17:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:27:09] 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-07-11 17: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 17:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645362432001,"66":27767,"72":206,"85":36608,"24":33,"16":345268585519644672,"44":-4891120269545629696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-07-11 17:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645362432001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:27:09] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-11 17:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345268585519644672,"km_value":345268585519644.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:27:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4891120269545629696,"description":"Unknown IO ID 44"} 
[2026-07-11 17:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645362432001,"power":27767,"unknown_72":206,"unknown_85":36608,"ignition":33,"odometer":null,"unknown_44":-4891120269545629696}} 
[2026-07-11 17:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":128660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:27:09] local.INFO: GPS data processed {"connection_id":128660,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:27:09] local.INFO: Acknowledgment sent {"connection_id":128660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:27:37] local.INFO: TCP Data received {"connection_id":129544,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5106fbc0012d18d240072306780063002027..."} 
[2026-07-11 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5106fbc0012d18d240072306780063002027..."} 
[2026-07-11 17:27:37] local.INFO: Processing buffer {"connection_id":129544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5106fbc0012d18d240072306780063002027..."} 
[2026-07-11 17:27:37] local.INFO: Packet analysis {"connection_id":129544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:27:37] local.INFO: Extracted packet for processing {"connection_id":129544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5106"} 
[2026-07-11 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645329664001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783770840000,"timestamp_ms":1783770840000,"timestamp_seconds":1783770840,"priority":1,"record_length":96,"hex_timestamp":"0000019f5106fbc0"} 
[2026-07-11 17:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:27:37] 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-07-11 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 17:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645329664001,"66":12504,"62":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-07-11 17:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645329664001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:27:37] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-11 17:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645329664001,"power":12504,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":129544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:27:37] local.INFO: GPS data processed {"connection_id":129544,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:27:37] local.INFO: Acknowledgment sent {"connection_id":129544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:27:40] local.INFO: TCP Data received {"connection_id":128660,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5108d080012cbc47c00773ef18004b00742e..."} 
[2026-07-11 17:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5108d080012cbc47c00773ef18004b00742e..."} 
[2026-07-11 17:27:40] local.INFO: Processing buffer {"connection_id":128660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5108d080012cbc47c00773ef18004b00742e..."} 
[2026-07-11 17:27:40] local.INFO: Packet analysis {"connection_id":128660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5108"} 
[2026-07-11 17:27:40] local.INFO: Extracted packet for processing {"connection_id":128660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5108"} 
[2026-07-11 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":750536640,"raw_latitude":125038360,"longitude_deg":75.053664,"latitude_deg":12.503836,"altitude":75,"angle":116,"satellites":46,"speed":37,"hex_longitude":"2cbc47c0","hex_latitude":"0773ef18","is_valid_coordinates":true} 
[2026-07-11 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645363200001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345269027901276160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4888868469732306944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783770960000,"timestamp_ms":1783770960000,"timestamp_seconds":1783770960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5108d080"} 
[2026-07-11 17:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 17:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645363200001,"66":27745,"72":206,"85":36608,"24":37,"16":345269027901276160,"44":-4888868469732306944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-07-11 17:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645363200001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:27:40] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-11 17:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-11 17:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345269027901276160,"km_value":345269027901276.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4888868469732306944,"description":"Unknown IO ID 44"} 
[2026-07-11 17:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645363200001,"power":27745,"unknown_72":206,"unknown_85":36608,"ignition":37,"odometer":null,"unknown_44":-4888868469732306944}} 
[2026-07-11 17:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":128660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:27:40] local.INFO: GPS data processed {"connection_id":128660,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:27:40] local.INFO: Acknowledgment sent {"connection_id":128660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:27:40] local.INFO: TCP Data received {"connection_id":129545,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51070390012d79e28005e48f00000d00992b..."} 
[2026-07-11 17:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51070390012d79e28005e48f00000d00992b..."} 
[2026-07-11 17:27:40] local.INFO: Processing buffer {"connection_id":129545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51070390012d79e28005e48f00000d00992b..."} 
[2026-07-11 17:27:40] local.INFO: Packet analysis {"connection_id":129545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:27:40] local.INFO: Extracted packet for processing {"connection_id":129545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98864896,"longitude_deg":76.296256,"latitude_deg":9.8864896,"altitude":13,"angle":153,"satellites":43,"speed":4,"hex_longitude":"2d79e280","hex_latitude":"05e48f00","is_valid_coordinates":true} 
[2026-07-11 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645335040001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052628022460416,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617379534848,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783770842000,"timestamp_ms":1783770842000,"timestamp_seconds":1783770842,"priority":1,"record_length":96,"hex_timestamp":"0000019f51070390"} 
[2026-07-11 17:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":55297,"corrected_to":0} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3221611665,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":81,"raw_value":466923010955806080,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2453143567,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718518,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1972207200646401491,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-07-11 17:27:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,157,87,24,241,16,56,159,247,45,64,144,14,42,10,66,240,41,193,1,173,227,81,228,4,113,205,11,185,248,44,239,49,2,117,5,15,48,179],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":247,"original":55297,"validated":0},{"io_id":205,"original":916259022,"validated":0}]} 
[2026-07-11 17:27:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936931421812162560,"timestamp_seconds":936931421812162.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645335040001,"66":12885,"182":206,"87":13824,"24":4,"16":105052628022460416,"45":8782652617379534848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-11 17:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645335040001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:27:40] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-11 17:27:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-11 17:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052628022460416,"km_value":105052628022460.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617379534848,"description":"Unknown IO ID 45"} 
[2026-07-11 17:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645335040001,"power":12885,"unknown_182":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8782652617379534848}} 
[2026-07-11 17:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":129545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:27:40] local.INFO: GPS data processed {"connection_id":129545,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:27:40] local.INFO: Acknowledgment sent {"connection_id":129545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:27:59] local.INFO: TCP Data received {"connection_id":128846,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:27:59] local.INFO: Processing buffer {"connection_id":128846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:27:59] local.INFO: IMEI packet received {"connection_id":128846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":128846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:28:03] local.INFO: TCP Data received {"connection_id":128847,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:28:03] local.INFO: Processing buffer {"connection_id":128847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:28:03] local.INFO: IMEI packet received {"connection_id":128847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":128847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:28:04] local.INFO: TCP Data received {"connection_id":128846,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:28:04] local.INFO: Processing buffer {"connection_id":128846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:28:04] local.INFO: IMEI packet received {"connection_id":128846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":128846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:28:05] local.INFO: TCP Data received {"connection_id":128848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:28:05] local.INFO: Processing buffer {"connection_id":128848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:28:05] local.INFO: IMEI packet received {"connection_id":128848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":128848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:28:06] local.INFO: TCP Data received {"connection_id":128846,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51074dc8012d18d240072306780063002020..."} 
[2026-07-11 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51074dc8012d18d240072306780063002020..."} 
[2026-07-11 17:28:06] local.INFO: Processing buffer {"connection_id":128846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51074dc8012d18d240072306780063002020..."} 
[2026-07-11 17:28:06] local.INFO: Packet analysis {"connection_id":128846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:28:06] local.INFO: Extracted packet for processing {"connection_id":128846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":32,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645335040001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783770861000,"timestamp_ms":1783770861000,"timestamp_seconds":1783770861,"priority":1,"record_length":96,"hex_timestamp":"0000019f51074dc8"} 
[2026-07-11 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-07-11 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 17:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645335040001,"66":12341,"62":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-07-11 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645335040001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:28:06] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-11 17:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645335040001,"power":12341,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":128846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:28:06] local.INFO: GPS data processed {"connection_id":128846,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:28:06] local.INFO: Acknowledgment sent {"connection_id":128846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:28:08] local.INFO: TCP Data received {"connection_id":128847,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:28:08] local.INFO: Processing buffer {"connection_id":128847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:28:08] local.INFO: IMEI packet received {"connection_id":128847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":128847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:28:09] local.INFO: TCP Data received {"connection_id":128847,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51070778012d79e28005e48ea0000d00a52b..."} 
[2026-07-11 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51070778012d79e28005e48ea0000d00a52b..."} 
[2026-07-11 17:28:09] local.INFO: Processing buffer {"connection_id":128847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51070778012d79e28005e48ea0000d00a52b..."} 
[2026-07-11 17:28:09] local.INFO: Packet analysis {"connection_id":128847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:28:09] local.INFO: Extracted packet for processing {"connection_id":128847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98864800,"longitude_deg":76.296256,"latitude_deg":9.88648,"altitude":13,"angle":165,"satellites":43,"speed":3,"hex_longitude":"2d79e280","hex_latitude":"05e48ea0","is_valid_coordinates":true} 
[2026-07-11 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645335552001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052632317427712,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123657216,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783770843000,"timestamp_ms":1783770843000,"timestamp_seconds":1783770843,"priority":1,"record_length":96,"hex_timestamp":"0000019f51070778"} 
[2026-07-11 17:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 17:28:09] 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-07-11 17:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645335552001,"66":12667,"182":206,"87":13824,"24":3,"16":105052632317427712,"45":8782722986123657216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-11 17:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645335552001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:28:09] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-11 17:28:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-11 17:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052632317427712,"km_value":105052632317427.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123657216,"description":"Unknown IO ID 45"} 
[2026-07-11 17:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645335552001,"power":12667,"unknown_182":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8782722986123657216}} 
[2026-07-11 17:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":128847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:28:09] local.INFO: GPS data processed {"connection_id":128847,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:28:09] local.INFO: Acknowledgment sent {"connection_id":128847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:28:10] local.INFO: TCP Data received {"connection_id":128848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:28:10] local.INFO: Processing buffer {"connection_id":128848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:28:10] local.INFO: IMEI packet received {"connection_id":128848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":128848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:28:11] local.INFO: TCP Data received {"connection_id":128848,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 17:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128848,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 17:28:11] local.INFO: Processing buffer {"connection_id":128848,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 17:28:11] local.INFO: IMEI packet received {"connection_id":128848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":128848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:28:20] local.INFO: TCP Data received {"connection_id":130791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:28:20] local.INFO: Processing buffer {"connection_id":130791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:28:20] local.INFO: IMEI packet received {"connection_id":130791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":130791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:28:39] local.INFO: TCP Data received {"connection_id":128847,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51072aa0012d79e28005e48ca0000b00aa2c..."} 
[2026-07-11 17:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51072aa0012d79e28005e48ca0000b00aa2c..."} 
[2026-07-11 17:28:39] local.INFO: Processing buffer {"connection_id":128847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51072aa0012d79e28005e48ca0000b00aa2c..."} 
[2026-07-11 17:28:39] local.INFO: Packet analysis {"connection_id":128847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:28:39] local.INFO: Extracted packet for processing {"connection_id":128847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:28:39] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98864288,"longitude_deg":76.296256,"latitude_deg":9.8864288,"altitude":11,"angle":170,"satellites":44,"speed":0,"hex_longitude":"2d79e280","hex_latitude":"05e48ca0","is_valid_coordinates":true} 
[2026-07-11 17:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645335808001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052662382198784,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123632640,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783770852000,"timestamp_ms":1783770852000,"timestamp_seconds":1783770852,"priority":1,"record_length":96,"hex_timestamp":"0000019f51072aa0"} 
[2026-07-11 17:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 17:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645335808001,"66":12711,"182":206,"87":13824,"24":0,"16":105052662382198784,"45":8782722986123632640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-11 17:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645335808001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:28:39] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-11 17:28:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-11 17:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052662382198784,"km_value":105052662382198.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123632640,"description":"Unknown IO ID 45"} 
[2026-07-11 17:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645335808001,"power":12711,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782722986123632640}} 
[2026-07-11 17:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":128847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:28:39] local.INFO: GPS data processed {"connection_id":128847,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:28:39] local.INFO: Acknowledgment sent {"connection_id":128847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:28:42] local.INFO: TCP Data received {"connection_id":128846,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51079fd0012d18d240072306780063002027..."} 
[2026-07-11 17:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51079fd0012d18d240072306780063002027..."} 
[2026-07-11 17:28:42] local.INFO: Processing buffer {"connection_id":128846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51079fd0012d18d240072306780063002027..."} 
[2026-07-11 17:28:42] local.INFO: Packet analysis {"connection_id":128846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:28:42] local.INFO: Extracted packet for processing {"connection_id":128846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645340416001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783770882000,"timestamp_ms":1783770882000,"timestamp_seconds":1783770882,"priority":1,"record_length":96,"hex_timestamp":"0000019f51079fd0"} 
[2026-07-11 17:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 17:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645340416001,"66":12504,"62":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-07-11 17:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645340416001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:28:42] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-11 17:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645340416001,"power":12504,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":128846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:28:42] local.INFO: GPS data processed {"connection_id":128846,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:28:42] local.INFO: Acknowledgment sent {"connection_id":128846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:28:45] local.INFO: TCP Data received {"connection_id":128661,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:28:45] local.INFO: Processing buffer {"connection_id":128661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:28:45] local.INFO: IMEI packet received {"connection_id":128661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":128661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:28:59] local.INFO: TCP Data received {"connection_id":128849,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:28:59] local.INFO: Processing buffer {"connection_id":128849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:28:59] local.INFO: IMEI packet received {"connection_id":128849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":128849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:29:03] local.INFO: TCP Data received {"connection_id":130792,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:29:03] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:29:03] local.INFO: IMEI packet received {"connection_id":130792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":130792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:29:04] local.INFO: TCP Data received {"connection_id":128849,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:29:04] local.INFO: Processing buffer {"connection_id":128849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:29:04] local.INFO: IMEI packet received {"connection_id":128849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":128849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:29:04] local.INFO: TCP Data received {"connection_id":130792,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:29:04] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:29:04] local.INFO: IMEI packet received {"connection_id":130792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":130792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:29:05] local.INFO: TCP Data received {"connection_id":128849,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5107f1d8012d18d240072306780063002026..."} 
[2026-07-11 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5107f1d8012d18d240072306780063002026..."} 
[2026-07-11 17:29:05] local.INFO: Processing buffer {"connection_id":128849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5107f1d8012d18d240072306780063002026..."} 
[2026-07-11 17:29:05] local.INFO: Packet analysis {"connection_id":128849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:29:05] local.INFO: Extracted packet for processing {"connection_id":128849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119735928,"longitude_deg":75.6601408,"latitude_deg":11.9735928,"altitude":99,"angle":32,"satellites":38,"speed":0,"hex_longitude":"2d18d240","hex_latitude":"07230678","is_valid_coordinates":true} 
[2026-07-11 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645345792001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773488312811520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401416083456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783770903000,"timestamp_ms":1783770903000,"timestamp_seconds":1783770903,"priority":1,"record_length":96,"hex_timestamp":"0000019f5107f1d8"} 
[2026-07-11 17:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:29: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-07-11 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 17:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645345792001,"66":12461,"62":206,"28":31744,"24":0,"16":5773488312811520,"45":1788562401416083456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-07-11 17:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645345792001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:29:05] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-11 17:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773488312811520,"km_value":5773488312811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401416083456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645345792001,"power":12461,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788562401416083456}} 
[2026-07-11 17:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":128849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:29:06] local.INFO: GPS data processed {"connection_id":128849,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:29:06] local.INFO: Acknowledgment sent {"connection_id":128849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:29:09] local.INFO: TCP Data received {"connection_id":130792,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:29:09] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:29:09] local.INFO: IMEI packet received {"connection_id":130792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":130792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:29:10] local.INFO: TCP Data received {"connection_id":130792,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51072aa0012d79e28005e48ca0000b00aa2c..."} 
[2026-07-11 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51072aa0012d79e28005e48ca0000b00aa2c..."} 
[2026-07-11 17:29:10] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51072aa0012d79e28005e48ca0000b00aa2c..."} 
[2026-07-11 17:29:10] local.INFO: Packet analysis {"connection_id":130792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:29:10] local.INFO: Extracted packet for processing {"connection_id":130792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5107"} 
[2026-07-11 17:29:10] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98864288,"longitude_deg":76.296256,"latitude_deg":9.8864288,"altitude":11,"angle":170,"satellites":44,"speed":0,"hex_longitude":"2d79e280","hex_latitude":"05e48ca0","is_valid_coordinates":true} 
[2026-07-11 17:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645338112001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052662382198784,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123501568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783770852000,"timestamp_ms":1783770852000,"timestamp_seconds":1783770852,"priority":1,"record_length":96,"hex_timestamp":"0000019f51072aa0"} 
[2026-07-11 17:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 17:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 17:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645338112001,"66":12711,"182":206,"87":13824,"24":0,"16":105052662382198784,"45":8782722986123501568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-11 17:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645338112001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:29:10] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-11 17:29:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-11 17:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052662382198784,"km_value":105052662382198.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123501568,"description":"Unknown IO ID 45"} 
[2026-07-11 17:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645338112001,"power":12711,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782722986123501568}} 
[2026-07-11 17:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":130792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:29:10] local.INFO: GPS data processed {"connection_id":130792,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:29:10] local.INFO: Acknowledgment sent {"connection_id":130792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:29:13] local.INFO: TCP Data received {"connection_id":130792,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510a91b8012d79e14005e48c48000b00aa26..."} 
[2026-07-11 17:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510a91b8012d79e14005e48c48000b00aa26..."} 
[2026-07-11 17:29:13] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510a91b8012d79e14005e48c48000b00aa26..."} 
[2026-07-11 17:29:13] local.INFO: Packet analysis {"connection_id":130792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510a"} 
[2026-07-11 17:29:13] local.INFO: Extracted packet for processing {"connection_id":130792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510a"} 
[2026-07-11 17:29:13] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":98864200,"longitude_deg":76.296224,"latitude_deg":9.88642,"altitude":11,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d79e140","hex_latitude":"05e48c48","is_valid_coordinates":true} 
[2026-07-11 17:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645338112001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105052662382198784,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123501568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783771075000,"timestamp_ms":1783771075000,"timestamp_seconds":1783771075,"priority":1,"record_length":96,"hex_timestamp":"0000019f510a91b8"} 
[2026-07-11 17:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 17:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 17:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645338112001,"66":12645,"157":206,"87":12288,"24":0,"16":105052662382198784,"45":8782722986123501568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 17:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645338112001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:29:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 17:29:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 17:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105052662382198784,"km_value":105052662382198.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123501568,"description":"Unknown IO ID 45"} 
[2026-07-11 17:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645338112001,"power":12645,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8782722986123501568}} 
[2026-07-11 17:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":130792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:29:13] local.INFO: GPS data processed {"connection_id":130792,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:29:13] local.INFO: Acknowledgment sent {"connection_id":130792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:29:37] local.INFO: TCP Data received {"connection_id":128849,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510b7448012d18c40007230328006700f42a..."} 
[2026-07-11 17:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510b7448012d18c40007230328006700f42a..."} 
[2026-07-11 17:29:37] local.INFO: Processing buffer {"connection_id":128849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510b7448012d18c40007230328006700f42a..."} 
[2026-07-11 17:29:37] local.INFO: Packet analysis {"connection_id":128849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:29:37] local.INFO: Extracted packet for processing {"connection_id":128849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119735080,"longitude_deg":75.659776,"latitude_deg":11.973508,"altitude":103,"angle":244,"satellites":42,"speed":23,"hex_longitude":"2d18c400","hex_latitude":"07230328","is_valid_coordinates":true} 
[2026-07-11 17:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645409792001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773694471241728,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332951212032,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783771133000,"timestamp_ms":1783771133000,"timestamp_seconds":1783771133,"priority":1,"record_length":96,"hex_timestamp":"0000019f510b7448"} 
[2026-07-11 17:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 17:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645409792001,"66":14070,"81":206,"28":31744,"24":23,"16":5773694471241728,"45":1785114332951212032},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-07-11 17:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645409792001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 17:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773694471241728,"km_value":5773694471241.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332951212032,"description":"Unknown IO ID 45"} 
[2026-07-11 17:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645409792001,"power":14070,"unknown_81":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1785114332951212032}} 
[2026-07-11 17:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":128849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:29:37] local.INFO: GPS data processed {"connection_id":128849,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:29:37] local.INFO: Acknowledgment sent {"connection_id":128849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:29:45] local.INFO: TCP Data received {"connection_id":130792,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510bed60012d7a2b0005e4af880009008927..."} 
[2026-07-11 17:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510bed60012d7a2b0005e4af880009008927..."} 
[2026-07-11 17:29:45] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510bed60012d7a2b0005e4af880009008927..."} 
[2026-07-11 17:29:45] local.INFO: Packet analysis {"connection_id":130792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:29:45] local.INFO: Extracted packet for processing {"connection_id":130792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:29:45] local.INFO: GPS Element Parsed {"raw_longitude":762981120,"raw_latitude":98873224,"longitude_deg":76.298112,"latitude_deg":9.8873224,"altitude":9,"angle":137,"satellites":39,"speed":13,"hex_longitude":"2d7a2b00","hex_latitude":"05e4af88","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645417728001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105053723239120896,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802848446960656384,"note":"Value kept but may cause issues"} 
[2026-07-11 17:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783771164000,"timestamp_ms":1783771164000,"timestamp_seconds":1783771164,"priority":1,"record_length":96,"hex_timestamp":"0000019f510bed60"} 
[2026-07-11 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-07-11 17:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645417728001,"66":12841,"157":206,"87":12288,"24":13,"16":105053723239120896,"45":8802848446960656384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 17:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645417728001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:29:45] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 17:29:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 17:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105053723239120896,"km_value":105053723239120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802848446960656384,"description":"Unknown IO ID 45"} 
[2026-07-11 17:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645417728001,"power":12841,"unknown_157":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8802848446960656384}} 
[2026-07-11 17:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":130792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:29:45] local.INFO: GPS data processed {"connection_id":130792,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:29:45] local.INFO: Acknowledgment sent {"connection_id":130792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:30:02] local.INFO: TCP Data received {"connection_id":128851,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:30:02] local.INFO: Processing buffer {"connection_id":128851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:30:02] local.INFO: IMEI packet received {"connection_id":128851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":128851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:30:03] local.INFO: TCP Data received {"connection_id":128851,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:30:03] local.INFO: Processing buffer {"connection_id":128851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:30:03] local.INFO: IMEI packet received {"connection_id":128851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":128851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:30:04] local.INFO: TCP Data received {"connection_id":129547,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:30:04] local.INFO: Processing buffer {"connection_id":129547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:30:04] local.INFO: IMEI packet received {"connection_id":129547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":129547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:30:04] local.INFO: TCP Data received {"connection_id":129547,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:30:04] local.INFO: Processing buffer {"connection_id":129547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:30:04] local.INFO: IMEI packet received {"connection_id":129547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":129547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:30:05] local.INFO: TCP Data received {"connection_id":129547,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:30:05] local.INFO: Processing buffer {"connection_id":129547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:30:05] local.INFO: IMEI packet received {"connection_id":129547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":129547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:30:06] local.INFO: TCP Data received {"connection_id":129547,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510b7c18012d18bfc007230070006700e62b..."} 
[2026-07-11 17:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510b7c18012d18bfc007230070006700e62b..."} 
[2026-07-11 17:30:06] local.INFO: Processing buffer {"connection_id":129547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510b7c18012d18bfc007230070006700e62b..."} 
[2026-07-11 17:30:06] local.INFO: Packet analysis {"connection_id":129547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:30:06] local.INFO: Extracted packet for processing {"connection_id":129547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756596672,"raw_latitude":119734384,"longitude_deg":75.6596672,"latitude_deg":11.9734384,"altitude":103,"angle":230,"satellites":43,"speed":27,"hex_longitude":"2d18bfc0","hex_latitude":"07230070","is_valid_coordinates":true} 
[2026-07-11 17:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645410048001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773754600783872,"note":"Value kept but may cause issues"} 
[2026-07-11 17:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382997739520,"note":"Value kept but may cause issues"} 
[2026-07-11 17:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783771135000,"timestamp_ms":1783771135000,"timestamp_seconds":1783771135,"priority":1,"record_length":96,"hex_timestamp":"0000019f510b7c18"} 
[2026-07-11 17:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 17:30:06] 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-07-11 17:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645410048001,"66":13928,"81":206,"28":31744,"24":27,"16":5773754600783872,"45":1784551382997739520},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-07-11 17:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645410048001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 17:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773754600783872,"km_value":5773754600783.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382997739520,"description":"Unknown IO ID 45"} 
[2026-07-11 17:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645410048001,"power":13928,"unknown_81":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1784551382997739520}} 
[2026-07-11 17:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":129547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:30:06] local.INFO: GPS data processed {"connection_id":129547,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:30:06] local.INFO: Acknowledgment sent {"connection_id":129547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:30:08] local.INFO: TCP Data received {"connection_id":128851,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:30:08] local.INFO: Processing buffer {"connection_id":128851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:30:08] local.INFO: IMEI packet received {"connection_id":128851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":128851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:30:38] local.INFO: TCP Data received {"connection_id":129547,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510b87d0012d18ba000722fa40006800d22b..."} 
[2026-07-11 17:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510b87d0012d18ba000722fa40006800d22b..."} 
[2026-07-11 17:30:38] local.INFO: Processing buffer {"connection_id":129547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510b87d0012d18ba000722fa40006800d22b..."} 
[2026-07-11 17:30:38] local.INFO: Packet analysis {"connection_id":129547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:30:38] local.INFO: Extracted packet for processing {"connection_id":129547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756595200,"raw_latitude":119732800,"longitude_deg":75.65952,"latitude_deg":11.97328,"altitude":104,"angle":210,"satellites":43,"speed":29,"hex_longitude":"2d18ba00","hex_latitude":"0722fa40","is_valid_coordinates":true} 
[2026-07-11 17:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645410560001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5773857679998976,"note":"Value kept but may cause issues"} 
[2026-07-11 17:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783355114346541056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783771138000,"timestamp_ms":1783771138000,"timestamp_seconds":1783771138,"priority":1,"record_length":96,"hex_timestamp":"0000019f510b87d0"} 
[2026-07-11 17:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-11 17:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645410560001,"66":13928,"81":206,"28":31744,"24":29,"16":5773857679998976,"45":1783355114346541056},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-07-11 17:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645410560001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 17:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5773857679998976,"km_value":5773857679998.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783355114346541056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645410560001,"power":13928,"unknown_81":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1783355114346541056}} 
[2026-07-11 17:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":129547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:30:38] local.INFO: GPS data processed {"connection_id":129547,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:30:38] local.INFO: Acknowledgment sent {"connection_id":129547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:30:38] local.INFO: TCP Data received {"connection_id":128851,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510bf918012d7a2dc005e4ab500009009727..."} 
[2026-07-11 17:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510bf918012d7a2dc005e4ab500009009727..."} 
[2026-07-11 17:30:38] local.INFO: Processing buffer {"connection_id":128851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510bf918012d7a2dc005e4ab500009009727..."} 
[2026-07-11 17:30:38] local.INFO: Packet analysis {"connection_id":128851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:30:38] local.INFO: Extracted packet for processing {"connection_id":128851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510b"} 
[2026-07-11 17:30:38] local.INFO: GPS Element Parsed {"raw_longitude":762981824,"raw_latitude":98872144,"longitude_deg":76.2981824,"latitude_deg":9.8872144,"altitude":9,"angle":151,"satellites":39,"speed":19,"hex_longitude":"2d7a2dc0","hex_latitude":"05e4ab50","is_valid_coordinates":true} 
[2026-07-11 17:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645417984001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105053783368663040,"note":"Value kept but may cause issues"} 
[2026-07-11 17:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803129921937311744,"note":"Value kept but may cause issues"} 
[2026-07-11 17:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783771167000,"timestamp_ms":1783771167000,"timestamp_seconds":1783771167,"priority":1,"record_length":96,"hex_timestamp":"0000019f510bf918"} 
[2026-07-11 17:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645417984001,"66":13059,"157":206,"87":12288,"24":19,"16":105053783368663040,"45":8803129921937311744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-11 17:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645417984001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:30:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 17:30:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 17:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105053783368663040,"km_value":105053783368663.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803129921937311744,"description":"Unknown IO ID 45"} 
[2026-07-11 17:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645417984001,"power":13059,"unknown_157":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8803129921937311744}} 
[2026-07-11 17:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":128851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:30:38] local.INFO: GPS data processed {"connection_id":128851,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:30:38] local.INFO: Acknowledgment sent {"connection_id":128851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:31:00] local.INFO: TCP Data received {"connection_id":129549,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:31:00] local.INFO: Processing buffer {"connection_id":129549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:31:00] local.INFO: IMEI packet received {"connection_id":129549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":129549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:31:02] local.INFO: TCP Data received {"connection_id":128852,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:31:02] local.INFO: Processing buffer {"connection_id":128852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:31:02] local.INFO: IMEI packet received {"connection_id":128852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":128852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:31:04] local.INFO: TCP Data received {"connection_id":129549,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:31:04] local.INFO: Processing buffer {"connection_id":129549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:31:04] local.INFO: IMEI packet received {"connection_id":129549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":129549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:31:06] local.INFO: TCP Data received {"connection_id":129549,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510c7a00012d18a44007229cc80072011a2b..."} 
[2026-07-11 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510c7a00012d18a44007229cc80072011a2b..."} 
[2026-07-11 17:31:06] local.INFO: Processing buffer {"connection_id":129549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510c7a00012d18a44007229cc80072011a2b..."} 
[2026-07-11 17:31:06] local.INFO: Packet analysis {"connection_id":129549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:06] local.INFO: Extracted packet for processing {"connection_id":129549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756589632,"raw_latitude":119708872,"longitude_deg":75.6589632,"latitude_deg":11.9708872,"altitude":114,"angle":282,"satellites":43,"speed":7,"hex_longitude":"2d18a440","hex_latitude":"07229cc8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645426432001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775137580253184,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502433873920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783771200000,"timestamp_ms":1783771200000,"timestamp_seconds":1783771200,"priority":1,"record_length":96,"hex_timestamp":"0000019f510c7a00"} 
[2026-07-11 17:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867790979,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-6647305204015300499,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2981101679,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638289767360337,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2215378944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-5115862783312736740,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,132,159,106,45,192,156,114,43,10,66,75,157,41,249,1,240,224,81,34,4,113,205,25,217,162,168,239,54,2,20,7,110,32,55,124],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 17:31:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8214862773147336704,"timestamp_seconds":8214862773147337.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645426432001,"66":14048,"120":206,"28":31744,"24":7,"16":5775137580253184,"45":1776177502433873920},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645426432001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:31:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775137580253184,"km_value":5775137580253.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502433873920,"description":"Unknown IO ID 45"} 
[2026-07-11 17:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645426432001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1776177502433873920}} 
[2026-07-11 17:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":129549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:31:06] local.INFO: GPS data processed {"connection_id":129549,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:31:06] local.INFO: Acknowledgment sent {"connection_id":129549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:31:08] local.INFO: TCP Data received {"connection_id":128852,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:31:08] local.INFO: Processing buffer {"connection_id":128852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:31:08] local.INFO: IMEI packet received {"connection_id":128852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":128852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:31:09] local.INFO: TCP Data received {"connection_id":128852,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510c2be0012d7a420005e48d480009009128..."} 
[2026-07-11 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510c2be0012d7a420005e48d480009009128..."} 
[2026-07-11 17:31:09] local.INFO: Processing buffer {"connection_id":128852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510c2be0012d7a420005e48d480009009128..."} 
[2026-07-11 17:31:09] local.INFO: Packet analysis {"connection_id":128852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:09] local.INFO: Extracted packet for processing {"connection_id":128852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":762987008,"raw_latitude":98864456,"longitude_deg":76.2987008,"latitude_deg":9.8864456,"altitude":9,"angle":145,"satellites":40,"speed":30,"hex_longitude":"2d7a4200","hex_latitude":"05e48d48","is_valid_coordinates":true} 
[2026-07-11 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645418752001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105054230045261824,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903978122989568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783771180000,"timestamp_ms":1783771180000,"timestamp_seconds":1783771180,"priority":1,"record_length":96,"hex_timestamp":"0000019f510c2be0"} 
[2026-07-11 17:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311862,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079708874014732,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2931294215,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221611691,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184310,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3835559936,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:09] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,157,87,24,241,16,57,159,237,45,175,9,39,10,66,233,176,38,229,64,1,240,242,227,81,228,4,113,205,14,131,27,112,37,239,50,2,117,5,8,12],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0}]} 
[2026-07-11 17:31:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648684540102115328,"timestamp_seconds":648684540102115.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645418752001,"66":13222,"95":206,"87":13824,"24":30,"16":105054230045261824,"45":8803903978122989568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-11 17:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645418752001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:31:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 17:31:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-11 17:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105054230045261824,"km_value":105054230045261.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903978122989568,"description":"Unknown IO ID 45"} 
[2026-07-11 17:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645418752001,"power":13222,"unknown_95":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8803903978122989568}} 
[2026-07-11 17:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":128852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:31:09] local.INFO: GPS data processed {"connection_id":128852,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:31:09] local.INFO: Acknowledgment sent {"connection_id":128852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:31:10] local.INFO: TCP Data received {"connection_id":129549,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510c89a0012d18a00007229d280071010c2b..."} 
[2026-07-11 17:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510c89a0012d18a00007229d280071010c2b..."} 
[2026-07-11 17:31:10] local.INFO: Processing buffer {"connection_id":129549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510c89a0012d18a00007229d280071010c2b..."} 
[2026-07-11 17:31:10] local.INFO: Packet analysis {"connection_id":129549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:10] local.INFO: Extracted packet for processing {"connection_id":129549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756588544,"raw_latitude":119708968,"longitude_deg":75.6588544,"latitude_deg":11.9708968,"altitude":113,"angle":268,"satellites":43,"speed":12,"hex_longitude":"2d18a000","hex_latitude":"07229d28","is_valid_coordinates":true} 
[2026-07-11 17:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645427200001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775193414828032,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775614552480466944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783771204000,"timestamp_ms":1783771204000,"timestamp_seconds":1783771204,"priority":1,"record_length":96,"hex_timestamp":"0000019f510c89a0"} 
[2026-07-11 17:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 17:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645427200001,"66":14374,"120":206,"28":31744,"24":12,"16":5775193414828032,"45":1775614552480466944},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645427200001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:31:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775193414828032,"km_value":5775193414828.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775614552480466944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645427200001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1775614552480466944}} 
[2026-07-11 17:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":129549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:31:10] local.INFO: GPS data processed {"connection_id":129549,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:31:10] local.INFO: Acknowledgment sent {"connection_id":129549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:31:40] local.INFO: TCP Data received {"connection_id":128852,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510c4f08012d7a570005e474700009008627..."} 
[2026-07-11 17:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510c4f08012d7a570005e474700009008627..."} 
[2026-07-11 17:31:40] local.INFO: Processing buffer {"connection_id":128852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510c4f08012d7a570005e474700009008627..."} 
[2026-07-11 17:31:40] local.INFO: Packet analysis {"connection_id":128852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:40] local.INFO: Extracted packet for processing {"connection_id":128852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":762992384,"raw_latitude":98858096,"longitude_deg":76.2992384,"latitude_deg":9.8858096,"altitude":9,"angle":134,"satellites":39,"speed":36,"hex_longitude":"2d7a5700","hex_latitude":"05e47470","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645422080001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105054633772187648,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809603846399412224,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783771189000,"timestamp_ms":1783771189000,"timestamp_seconds":1783771189,"priority":1,"record_length":96,"hex_timestamp":"0000019f510c4f08"} 
[2026-07-11 17:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 17:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645422080001,"66":12982,"95":206,"87":13824,"24":36,"16":105054633772187648,"45":8809603846399412224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-11 17:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645422080001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:31:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 17:31:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-11 17:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105054633772187648,"km_value":105054633772187.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809603846399412224,"description":"Unknown IO ID 45"} 
[2026-07-11 17:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645422080001,"power":12982,"unknown_95":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8809603846399412224}} 
[2026-07-11 17:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":128852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:31:40] local.INFO: GPS data processed {"connection_id":128852,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:31:40] local.INFO: Acknowledgment sent {"connection_id":128852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:31:41] local.INFO: TCP Data received {"connection_id":129549,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510ca110012d189a0007229d300070011d2b..."} 
[2026-07-11 17:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510ca110012d189a0007229d300070011d2b..."} 
[2026-07-11 17:31:41] local.INFO: Processing buffer {"connection_id":129549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510ca110012d189a0007229d300070011d2b..."} 
[2026-07-11 17:31:41] local.INFO: Packet analysis {"connection_id":129549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:41] local.INFO: Extracted packet for processing {"connection_id":129549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756587008,"raw_latitude":119708976,"longitude_deg":75.6587008,"latitude_deg":11.9708976,"altitude":112,"angle":285,"satellites":43,"speed":6,"hex_longitude":"2d189a00","hex_latitude":"07229d30","is_valid_coordinates":true} 
[2026-07-11 17:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645428224001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775262134304768,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774418283829471232,"note":"Value kept but may cause issues"} 
[2026-07-11 17:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783771210000,"timestamp_ms":1783771210000,"timestamp_seconds":1783771210,"priority":1,"record_length":96,"hex_timestamp":"0000019f510ca110"} 
[2026-07-11 17:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:31: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-07-11 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 17:31:41] 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-07-11 17:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645428224001,"66":14080,"70":206,"28":31744,"24":6,"16":5775262134304768,"45":1774418283829471232},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645428224001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:31:41] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:31:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775262134304768,"km_value":5775262134304.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774418283829471232,"description":"Unknown IO ID 45"} 
[2026-07-11 17:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645428224001,"power":14080,"unknown_70":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1774418283829471232}} 
[2026-07-11 17:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":129549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:31:42] local.INFO: GPS data processed {"connection_id":129549,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:31:42] local.INFO: Acknowledgment sent {"connection_id":129549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:31:59] local.INFO: TCP Data received {"connection_id":129550,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:31:59] local.INFO: Processing buffer {"connection_id":129550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:31:59] local.INFO: IMEI packet received {"connection_id":129550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":129550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:32:03] local.INFO: TCP Data received {"connection_id":129550,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:32:03] local.INFO: Processing buffer {"connection_id":129550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:32:03] local.INFO: IMEI packet received {"connection_id":129550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":129550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:32:04] local.INFO: TCP Data received {"connection_id":129550,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510cb880012d18964007229db0006f01102b..."} 
[2026-07-11 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510cb880012d18964007229db0006f01102b..."} 
[2026-07-11 17:32:04] local.INFO: Processing buffer {"connection_id":129550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510cb880012d18964007229db0006f01102b..."} 
[2026-07-11 17:32:04] local.INFO: Packet analysis {"connection_id":129550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:32:04] local.INFO: Extracted packet for processing {"connection_id":129550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709104,"longitude_deg":75.6586048,"latitude_deg":11.9709104,"altitude":111,"angle":272,"satellites":43,"speed":5,"hex_longitude":"2d189640","hex_latitude":"07229db0","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645429760001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775309378945024,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772729433969209344,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783771216000,"timestamp_ms":1783771216000,"timestamp_seconds":1783771216,"priority":1,"record_length":96,"hex_timestamp":"0000019f510cb880"} 
[2026-07-11 17:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 17:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:04] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2629304434,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-11 17:32:04] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3221693085,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:04] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2221408256,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,70,28,24,241,158,16,132,159,137,45,157,113,43,10,66,120,122,64,156,114,110,1,240,12,81,34,4,205,7,75,167,232,41,239,54,2,20,112,11],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-11 17:32:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8070764077745831936,"timestamp_seconds":8070764077745832.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":129550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":129550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":129550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645429760001,"66":13156,"70":206,"28":31744,"24":5,"16":5775309378945024,"45":1772729433969209344},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645429760001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:32:04] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775309378945024,"km_value":5775309378945.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772729433969209344,"description":"Unknown IO ID 45"} 
[2026-07-11 17:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645429760001,"power":13156,"unknown_70":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1772729433969209344}} 
[2026-07-11 17:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":129550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:32:05] local.INFO: GPS data processed {"connection_id":129550,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:32:05] local.INFO: Acknowledgment sent {"connection_id":129550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:32:08] local.INFO: TCP Data received {"connection_id":130795,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:32:08] local.INFO: Processing buffer {"connection_id":130795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:32:08] local.INFO: IMEI packet received {"connection_id":130795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":130795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:32:13] local.INFO: TCP Data received {"connection_id":130795,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:32:13] local.INFO: Processing buffer {"connection_id":130795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:32:13] local.INFO: IMEI packet received {"connection_id":130795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":130795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:32:14] local.INFO: TCP Data received {"connection_id":130795,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510c7de8012d7a740005e45d080007007f25..."} 
[2026-07-11 17:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510c7de8012d7a740005e45d080007007f25..."} 
[2026-07-11 17:32:14] local.INFO: Processing buffer {"connection_id":130795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510c7de8012d7a740005e45d080007007f25..."} 
[2026-07-11 17:32:14] local.INFO: Packet analysis {"connection_id":130795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:32:14] local.INFO: Extracted packet for processing {"connection_id":130795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:32:14] local.INFO: GPS Element Parsed {"raw_longitude":762999808,"raw_latitude":98852104,"longitude_deg":76.2999808,"latitude_deg":9.8852104,"altitude":7,"angle":127,"satellites":37,"speed":32,"hex_longitude":"2d7a7400","hex_latitude":"05e45d08","is_valid_coordinates":true} 
[2026-07-11 17:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645424384001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105055093333688320,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815514820908707840,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783771201000,"timestamp_ms":1783771201000,"timestamp_seconds":1783771201,"priority":1,"record_length":96,"hex_timestamp":"0000019f510c7de8"} 
[2026-07-11 17:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-11 17:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645424384001,"66":12906,"95":206,"87":13824,"24":32,"16":105055093333688320,"45":8815514820908707840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-11 17:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645424384001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:32:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 17:32:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-11 17:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105055093333688320,"km_value":105055093333688.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815514820908707840,"description":"Unknown IO ID 45"} 
[2026-07-11 17:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645424384001,"power":12906,"unknown_95":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8815514820908707840}} 
[2026-07-11 17:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":130795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:32:14] local.INFO: GPS data processed {"connection_id":130795,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:32:14] local.INFO: Acknowledgment sent {"connection_id":130795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:32:15] local.INFO: TCP Data received {"connection_id":130795,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510ca4f8012d7a92c005e445780005008128..."} 
[2026-07-11 17:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510ca4f8012d7a92c005e445780005008128..."} 
[2026-07-11 17:32:15] local.INFO: Processing buffer {"connection_id":130795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510ca4f8012d7a92c005e445780005008128..."} 
[2026-07-11 17:32:15] local.INFO: Packet analysis {"connection_id":130795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:32:15] local.INFO: Extracted packet for processing {"connection_id":130795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:32:15] local.INFO: GPS Element Parsed {"raw_longitude":763007680,"raw_latitude":98846072,"longitude_deg":76.300768,"latitude_deg":9.8846072,"altitude":5,"angle":129,"satellites":40,"speed":36,"hex_longitude":"2d7a92c0","hex_latitude":"05e44578","is_valid_coordinates":true} 
[2026-07-11 17:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645427456001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105055570075058176,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823677595231782912,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783771211000,"timestamp_ms":1783771211000,"timestamp_seconds":1783771211,"priority":1,"record_length":96,"hex_timestamp":"0000019f510ca4f8"} 
[2026-07-11 17:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-11 17:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645427456001,"66":12765,"95":206,"87":13824,"24":36,"16":105055570075058176,"45":8823677595231782912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-11 17:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645427456001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:32:15] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 17:32:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-11 17:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105055570075058176,"km_value":105055570075058.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823677595231782912,"description":"Unknown IO ID 45"} 
[2026-07-11 17:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645427456001,"power":12765,"unknown_95":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8823677595231782912}} 
[2026-07-11 17:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":130795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:32:15] local.INFO: GPS data processed {"connection_id":130795,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:32:15] local.INFO: Acknowledgment sent {"connection_id":130795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:32:37] local.INFO: TCP Data received {"connection_id":129550,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510d0a88012d18930007229e800070011027..."} 
[2026-07-11 17:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510d0a88012d18930007229e800070011027..."} 
[2026-07-11 17:32:37] local.INFO: Processing buffer {"connection_id":129550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510d0a88012d18930007229e800070011027..."} 
[2026-07-11 17:32:37] local.INFO: Packet analysis {"connection_id":129550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:32:37] local.INFO: Extracted packet for processing {"connection_id":129550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756585216,"raw_latitude":119709312,"longitude_deg":75.6585216,"latitude_deg":11.9709312,"altitude":112,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d189300","hex_latitude":"07229e80","is_valid_coordinates":true} 
[2026-07-11 17:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645431296001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775360918552576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806577152,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783771237000,"timestamp_ms":1783771237000,"timestamp_seconds":1783771237,"priority":1,"record_length":96,"hex_timestamp":"0000019f510d0a88"} 
[2026-07-11 17:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:32:37] 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-07-11 17:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-11 17:32:37] 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-07-11 17:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645431296001,"66":13091,"70":206,"28":31744,"24":0,"16":5775360918552576,"45":1771673902806577152},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645431296001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:32:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775360918552576,"km_value":5775360918552.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806577152,"description":"Unknown IO ID 45"} 
[2026-07-11 17:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645431296001,"power":13091,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806577152}} 
[2026-07-11 17:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":129550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:32:37] local.INFO: GPS data processed {"connection_id":129550,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:32:37] local.INFO: Acknowledgment sent {"connection_id":129550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:32:45] local.INFO: TCP Data received {"connection_id":130795,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510cd7c0012d7aae0005e42f680004008224..."} 
[2026-07-11 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510cd7c0012d7aae0005e42f680004008224..."} 
[2026-07-11 17:32:45] local.INFO: Processing buffer {"connection_id":130795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510cd7c0012d7aae0005e42f680004008224..."} 
[2026-07-11 17:32:45] local.INFO: Packet analysis {"connection_id":130795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:32:45] local.INFO: Extracted packet for processing {"connection_id":130795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510c"} 
[2026-07-11 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763014656,"raw_latitude":98840424,"longitude_deg":76.3014656,"latitude_deg":9.8840424,"altitude":4,"angle":130,"satellites":36,"speed":29,"hex_longitude":"2d7aae00","hex_latitude":"05e42f68","is_valid_coordinates":true} 
[2026-07-11 17:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645430016001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105056003866755072,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832332950764091392,"note":"Value kept but may cause issues"} 
[2026-07-11 17:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783771224000,"timestamp_ms":1783771224000,"timestamp_seconds":1783771224,"priority":1,"record_length":96,"hex_timestamp":"0000019f510cd7c0"} 
[2026-07-11 17:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 17:32:45] 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-07-11 17:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645430016001,"66":13298,"97":206,"85":15104,"24":29,"16":105056003866755072,"45":8832332950764091392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645430016001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105056003866755072,"km_value":105056003866755.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832332950764091392,"description":"Unknown IO ID 45"} 
[2026-07-11 17:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645430016001,"power":13298,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8832332950764091392}} 
[2026-07-11 17:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":130795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:32:46] local.INFO: GPS data processed {"connection_id":130795,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:32:46] local.INFO: Acknowledgment sent {"connection_id":130795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:32:59] local.INFO: TCP Data received {"connection_id":128664,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:32:59] local.INFO: Processing buffer {"connection_id":128664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:32:59] local.INFO: IMEI packet received {"connection_id":128664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":128664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:33:03] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:33:03] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:33:03] local.INFO: IMEI packet received {"connection_id":128854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":128854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:33:04] local.INFO: TCP Data received {"connection_id":128664,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:33:04] local.INFO: Processing buffer {"connection_id":128664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:33:04] local.INFO: IMEI packet received {"connection_id":128664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":128664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:33:06] local.INFO: TCP Data received {"connection_id":128664,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510d21f8012d18940007229e980070005b29..."} 
[2026-07-11 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510d21f8012d18940007229e980070005b29..."} 
[2026-07-11 17:33:06] local.INFO: Processing buffer {"connection_id":128664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510d21f8012d18940007229e980070005b29..."} 
[2026-07-11 17:33:06] local.INFO: Packet analysis {"connection_id":128664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:33:06] local.INFO: Extracted packet for processing {"connection_id":128664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756585472,"raw_latitude":119709336,"longitude_deg":75.6585472,"latitude_deg":11.9709336,"altitude":112,"angle":91,"satellites":41,"speed":6,"hex_longitude":"2d189400","hex_latitude":"07229e98","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645436672001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775369508487168,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770759109132320768,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783771243000,"timestamp_ms":1783771243000,"timestamp_seconds":1783771243,"priority":1,"record_length":96,"hex_timestamp":"0000019f510d21f8"} 
[2026-07-11 17:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 17:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645436672001,"66":13135,"70":206,"28":31744,"24":6,"16":5775369508487168,"45":1770759109132320768},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645436672001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:33:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775369508487168,"km_value":5775369508487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770759109132320768,"description":"Unknown IO ID 45"} 
[2026-07-11 17:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645436672001,"power":13135,"unknown_70":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1770759109132320768}} 
[2026-07-11 17:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":128664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:33:06] local.INFO: GPS data processed {"connection_id":128664,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:33:06] local.INFO: Acknowledgment sent {"connection_id":128664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:33:07] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:33:07] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:33:07] local.INFO: IMEI packet received {"connection_id":128854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":128854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:33:08] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510ef6b8012d7b05c005e357a0000b009e26..."} 
[2026-07-11 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510ef6b8012d7b05c005e357a0000b009e26..."} 
[2026-07-11 17:33:08] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510ef6b8012d7b05c005e357a0000b009e26..."} 
[2026-07-11 17:33:08] local.INFO: Packet analysis {"connection_id":128854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510e"} 
[2026-07-11 17:33:08] local.INFO: Extracted packet for processing {"connection_id":128854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510e"} 
[2026-07-11 17:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98785184,"longitude_deg":76.303712,"latitude_deg":9.8785184,"altitude":11,"angle":158,"satellites":38,"speed":4,"hex_longitude":"2d7b05c0","hex_latitude":"05e357a0","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645467648001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105058950214320128,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204326094848,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783771363000,"timestamp_ms":1783771363000,"timestamp_seconds":1783771363,"priority":1,"record_length":96,"hex_timestamp":"0000019f510ef6b8"} 
[2026-07-11 17:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 17:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645467648001,"66":13037,"97":206,"85":15104,"24":4,"16":105058950214320128,"45":8864632204326094848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645467648001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105058950214320128,"km_value":105058950214320.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204326094848,"description":"Unknown IO ID 45"} 
[2026-07-11 17:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645467648001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8864632204326094848}} 
[2026-07-11 17:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":128854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:33:08] local.INFO: GPS data processed {"connection_id":128854,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:33:08] local.INFO: Acknowledgment sent {"connection_id":128854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:33:14] local.INFO: TCP Data received {"connection_id":129551,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:33:14] local.INFO: Processing buffer {"connection_id":129551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:33:14] local.INFO: IMEI packet received {"connection_id":129551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":129551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:33:15] local.INFO: TCP Data received {"connection_id":129551,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f510dd1c0012cbc8f000771ab30001c00592e..."} 
[2026-07-11 17:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510dd1c0012cbc8f000771ab30001c00592e..."} 
[2026-07-11 17:33:15] local.INFO: Processing buffer {"connection_id":129551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510dd1c0012cbc8f000771ab30001c00592e..."} 
[2026-07-11 17:33:15] local.INFO: Packet analysis {"connection_id":129551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:33:15] local.INFO: Extracted packet for processing {"connection_id":129551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:33:15] local.INFO: GPS Element Parsed {"raw_longitude":750554880,"raw_latitude":124889904,"longitude_deg":75.055488,"latitude_deg":12.4889904,"altitude":28,"angle":89,"satellites":46,"speed":18,"hex_longitude":"2cbc8f00","hex_latitude":"0771ab30","is_valid_coordinates":true} 
[2026-07-11 17:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645448448001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345280864831143936,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4862339453216339968,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783771288000,"timestamp_ms":1783771288000,"timestamp_seconds":1783771288,"priority":1,"record_length":96,"hex_timestamp":"0000019f510dd1c0"} 
[2026-07-11 17:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 17:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645448448001,"66":27908,"158":206,"85":37888,"24":18,"16":345280864831143936,"44":-4862339453216339968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-11 17:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645448448001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:33:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-11 17:33:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345280864831143936,"km_value":345280864831143.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4862339453216339968,"description":"Unknown IO ID 44"} 
[2026-07-11 17:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645448448001,"power":27908,"unknown_158":206,"unknown_85":37888,"ignition":18,"odometer":null,"unknown_44":-4862339453216339968}} 
[2026-07-11 17:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":129551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:33:15] local.INFO: GPS data processed {"connection_id":129551,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:33:15] local.INFO: Acknowledgment sent {"connection_id":129551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:33:37] local.INFO: TCP Data received {"connection_id":128664,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510d7400012d18964007229e58006f006523..."} 
[2026-07-11 17:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510d7400012d18964007229e58006f006523..."} 
[2026-07-11 17:33:37] local.INFO: Processing buffer {"connection_id":128664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510d7400012d18964007229e58006f006523..."} 
[2026-07-11 17:33:37] local.INFO: Packet analysis {"connection_id":128664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:33:37] local.INFO: Extracted packet for processing {"connection_id":128664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645438208001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771040584109037568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783771264000,"timestamp_ms":1783771264000,"timestamp_seconds":1783771264,"priority":1,"record_length":96,"hex_timestamp":"0000019f510d7400"} 
[2026-07-11 17:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:33:37] 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-07-11 17:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-11 17:33:37] 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-07-11 17:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645438208001,"66":13048,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771040584109037568},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645438208001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:33:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771040584109037568,"description":"Unknown IO ID 45"} 
[2026-07-11 17:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645438208001,"power":13048,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771040584109037568}} 
[2026-07-11 17:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":128664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:33:37] local.INFO: GPS data processed {"connection_id":128664,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:33:37] local.INFO: Acknowledgment sent {"connection_id":128664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:33:39] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510f1dc8012d7b0a0005e34b20000c00aa2a..."} 
[2026-07-11 17:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510f1dc8012d7b0a0005e34b20000c00aa2a..."} 
[2026-07-11 17:33:39] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510f1dc8012d7b0a0005e34b20000c00aa2a..."} 
[2026-07-11 17:33:39] local.INFO: Packet analysis {"connection_id":128854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:33:39] local.INFO: Extracted packet for processing {"connection_id":128854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98781984,"longitude_deg":76.3038208,"latitude_deg":9.8781984,"altitude":12,"angle":170,"satellites":42,"speed":16,"hex_longitude":"2d7b0a00","hex_latitude":"05e34b20","is_valid_coordinates":true} 
[2026-07-11 17:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645468928001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105059117718044672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573070229504,"note":"Value kept but may cause issues"} 
[2026-07-11 17:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783771373000,"timestamp_ms":1783771373000,"timestamp_seconds":1783771373,"priority":1,"record_length":96,"hex_timestamp":"0000019f510f1dc8"} 
[2026-07-11 17:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-11 17:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645468928001,"66":12961,"97":206,"85":15104,"24":16,"16":105059117718044672,"45":8864702573070229504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645468928001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105059117718044672,"km_value":105059117718044.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573070229504,"description":"Unknown IO ID 45"} 
[2026-07-11 17:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645468928001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8864702573070229504}} 
[2026-07-11 17:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":128854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:33:39] local.INFO: GPS data processed {"connection_id":128854,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:33:39] local.INFO: Acknowledgment sent {"connection_id":128854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:33:59] local.INFO: TCP Data received {"connection_id":130796,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:33:59] local.INFO: Processing buffer {"connection_id":130796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:33:59] local.INFO: IMEI packet received {"connection_id":130796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":130796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:34:00] local.INFO: TCP Data received {"connection_id":129552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:34:00] local.INFO: Processing buffer {"connection_id":129552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:34:00] local.INFO: IMEI packet received {"connection_id":129552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":129552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:34:03] local.INFO: TCP Data received {"connection_id":128665,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:34:03] local.INFO: Processing buffer {"connection_id":128665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:34:03] local.INFO: IMEI packet received {"connection_id":128665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":128665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:34:04] local.INFO: TCP Data received {"connection_id":130796,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:34:04] local.INFO: Processing buffer {"connection_id":130796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:34:04] local.INFO: IMEI packet received {"connection_id":130796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":130796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:34:06] local.INFO: TCP Data received {"connection_id":130796,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510dc608012d18964007229e58006f006528..."} 
[2026-07-11 17:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510dc608012d18964007229e58006f006528..."} 
[2026-07-11 17:34:06] local.INFO: Processing buffer {"connection_id":130796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510dc608012d18964007229e58006f006528..."} 
[2026-07-11 17:34:06] local.INFO: Packet analysis {"connection_id":130796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:34:06] local.INFO: Extracted packet for processing {"connection_id":130796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510d"} 
[2026-07-11 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645443584001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783771285000,"timestamp_ms":1783771285000,"timestamp_seconds":1783771285,"priority":1,"record_length":96,"hex_timestamp":"0000019f510dc608"} 
[2026-07-11 17:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 17:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645443584001,"66":13080,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645443584001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:34:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:34:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645443584001,"power":13080,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":130796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:34:06] local.INFO: GPS data processed {"connection_id":130796,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:34:06] local.INFO: Acknowledgment sent {"connection_id":130796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:34:08] local.INFO: TCP Data received {"connection_id":128665,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:34:08] local.INFO: Processing buffer {"connection_id":128665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:34:08] local.INFO: IMEI packet received {"connection_id":128665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":128665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:34:09] local.INFO: TCP Data received {"connection_id":128665,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510f4ca8012d7b0cc005e332d0000e00b51f..."} 
[2026-07-11 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510f4ca8012d7b0cc005e332d0000e00b51f..."} 
[2026-07-11 17:34:09] local.INFO: Processing buffer {"connection_id":128665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510f4ca8012d7b0cc005e332d0000e00b51f..."} 
[2026-07-11 17:34:09] local.INFO: Packet analysis {"connection_id":128665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:34:09] local.INFO: Extracted packet for processing {"connection_id":128665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98775760,"longitude_deg":76.3038912,"latitude_deg":9.877576,"altitude":14,"angle":181,"satellites":31,"speed":20,"hex_longitude":"2d7b0cc0","hex_latitude":"05e332d0","is_valid_coordinates":true} 
[2026-07-11 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645471488001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105059422660722688,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841720430592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783771385000,"timestamp_ms":1783771385000,"timestamp_seconds":1783771385,"priority":1,"record_length":96,"hex_timestamp":"0000019f510f4ca8"} 
[2026-07-11 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 17:34:09] 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-07-11 17:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645471488001,"66":13059,"97":206,"85":15104,"24":20,"16":105059422660722688,"45":8865898841720430592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645471488001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105059422660722688,"km_value":105059422660722.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841720430592,"description":"Unknown IO ID 45"} 
[2026-07-11 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645471488001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8865898841720430592}} 
[2026-07-11 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":128665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:34:09] local.INFO: GPS data processed {"connection_id":128665,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:34:09] local.INFO: Acknowledgment sent {"connection_id":128665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:34:18] local.INFO: TCP Data received {"connection_id":128855,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:34:18] local.INFO: Processing buffer {"connection_id":128855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:34:18] local.INFO: IMEI packet received {"connection_id":128855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":128855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:34:25] local.INFO: TCP Data received {"connection_id":128855,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:34:25] local.INFO: Processing buffer {"connection_id":128855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:34:25] local.INFO: IMEI packet received {"connection_id":128855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":128855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:34:25] local.INFO: TCP Data received {"connection_id":128855,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 17:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128855,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 17:34:25] local.INFO: Processing buffer {"connection_id":128855,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 17:34:25] local.INFO: IMEI packet received {"connection_id":128855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":128855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:34:38] local.INFO: TCP Data received {"connection_id":130796,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510e1810012d18964007229e58006f006526..."} 
[2026-07-11 17:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510e1810012d18964007229e58006f006526..."} 
[2026-07-11 17:34:38] local.INFO: Processing buffer {"connection_id":130796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510e1810012d18964007229e58006f006526..."} 
[2026-07-11 17:34:38] local.INFO: Packet analysis {"connection_id":130796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510e"} 
[2026-07-11 17:34:38] local.INFO: Extracted packet for processing {"connection_id":130796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510e"} 
[2026-07-11 17:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645448960001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783771306000,"timestamp_ms":1783771306000,"timestamp_seconds":1783771306,"priority":1,"record_length":96,"hex_timestamp":"0000019f510e1810"} 
[2026-07-11 17:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-11 17:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645448960001,"66":12232,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645448960001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:34:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645448960001,"power":12232,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":130796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:34:38] local.INFO: GPS data processed {"connection_id":130796,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:34:38] local.INFO: Acknowledgment sent {"connection_id":130796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:34:40] local.INFO: TCP Data received {"connection_id":128665,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510f96e0012d7b0f0005e31b38000d00aa1e..."} 
[2026-07-11 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510f96e0012d7b0f0005e31b38000d00aa1e..."} 
[2026-07-11 17:34:40] local.INFO: Processing buffer {"connection_id":128665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510f96e0012d7b0f0005e31b38000d00aa1e..."} 
[2026-07-11 17:34:40] local.INFO: Packet analysis {"connection_id":128665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:34:40] local.INFO: Extracted packet for processing {"connection_id":128665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98769720,"longitude_deg":76.3039488,"latitude_deg":9.876972,"altitude":13,"angle":170,"satellites":30,"speed":12,"hex_longitude":"2d7b0f00","hex_latitude":"05e31b38","is_valid_coordinates":true} 
[2026-07-11 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645474560001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105059719013466112,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897904791552,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783771404000,"timestamp_ms":1783771404000,"timestamp_seconds":1783771404,"priority":1,"record_length":96,"hex_timestamp":"0000019f510f96e0"} 
[2026-07-11 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861350,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:40] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:40] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:40] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":47105,"corrected_to":0} 
[2026-07-11 17:34:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-11 17:34:40] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2684431738,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3817699328,"note":"Value kept but may cause issues"} 
[2026-07-11 17:34:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,62,159,29,45,75,12,42,10,66,246,192,87,11,38,227,128,1,240,117,81,4,113,205,125,253,48,40,239,51,2,5,15],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":246,"original":47105,"validated":0},{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-11 17:34:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009005461280915456,"timestamp_seconds":1009005461280915.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645474560001,"66":13135,"97":206,"85":15104,"24":12,"16":105059719013466112,"45":8866672897904791552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645474560001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:34:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105059719013466112,"km_value":105059719013466.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897904791552,"description":"Unknown IO ID 45"} 
[2026-07-11 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645474560001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8866672897904791552}} 
[2026-07-11 17:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":128665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:34:40] local.INFO: GPS data processed {"connection_id":128665,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:34:40] local.INFO: Acknowledgment sent {"connection_id":128665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:34:45] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:34:45] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:34:45] local.INFO: IMEI packet received {"connection_id":128856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":128856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:35:01] local.INFO: TCP Data received {"connection_id":128857,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:35:01] local.INFO: Processing buffer {"connection_id":128857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:35:01] local.INFO: IMEI packet received {"connection_id":128857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":128857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:35:03] local.INFO: TCP Data received {"connection_id":128857,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:35:03] local.INFO: Processing buffer {"connection_id":128857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:35:03] local.INFO: IMEI packet received {"connection_id":128857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":128857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:35:04] local.INFO: TCP Data received {"connection_id":128666,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:35:04] local.INFO: Processing buffer {"connection_id":128666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:35:04] local.INFO: IMEI packet received {"connection_id":128666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:35:07] local.INFO: TCP Data received {"connection_id":128857,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:35:07] local.INFO: Processing buffer {"connection_id":128857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:35:07] local.INFO: IMEI packet received {"connection_id":128857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":128857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:35:09] local.INFO: TCP Data received {"connection_id":128857,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510fba08012d7b120005e31190000c009e1d..."} 
[2026-07-11 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510fba08012d7b120005e31190000c009e1d..."} 
[2026-07-11 17:35:09] local.INFO: Processing buffer {"connection_id":128857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510fba08012d7b120005e31190000c009e1d..."} 
[2026-07-11 17:35:09] local.INFO: Packet analysis {"connection_id":128857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:35:09] local.INFO: Extracted packet for processing {"connection_id":128857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98767248,"longitude_deg":76.3040256,"latitude_deg":9.8767248,"altitude":12,"angle":158,"satellites":29,"speed":13,"hex_longitude":"2d7b1200","hex_latitude":"05e31190","is_valid_coordinates":true} 
[2026-07-11 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645479424001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105059843567517696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216600844288,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783771413000,"timestamp_ms":1783771413000,"timestamp_seconds":1783771413,"priority":1,"record_length":96,"hex_timestamp":"0000019f510fba08"} 
[2026-07-11 17:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-11 17:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645479424001,"66":12961,"97":206,"85":15104,"24":13,"16":105059843567517696,"45":8867306216600844288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645479424001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105059843567517696,"km_value":105059843567517.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216600844288,"description":"Unknown IO ID 45"} 
[2026-07-11 17:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645479424001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8867306216600844288}} 
[2026-07-11 17:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":128857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:35:09] local.INFO: GPS data processed {"connection_id":128857,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:35:09] local.INFO: Acknowledgment sent {"connection_id":128857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:35:09] local.INFO: TCP Data received {"connection_id":128666,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:35:09] local.INFO: Processing buffer {"connection_id":128666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:35:09] local.INFO: IMEI packet received {"connection_id":128666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":128666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:35:11] local.INFO: TCP Data received {"connection_id":128666,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510e6a18012d18964007229e58006f006525..."} 
[2026-07-11 17:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510e6a18012d18964007229e58006f006525..."} 
[2026-07-11 17:35:11] local.INFO: Processing buffer {"connection_id":128666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510e6a18012d18964007229e58006f006525..."} 
[2026-07-11 17:35:11] local.INFO: Packet analysis {"connection_id":128666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510e"} 
[2026-07-11 17:35:11] local.INFO: Extracted packet for processing {"connection_id":128666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510e"} 
[2026-07-11 17:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645454336001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783771327000,"timestamp_ms":1783771327000,"timestamp_seconds":1783771327,"priority":1,"record_length":96,"hex_timestamp":"0000019f510e6a18"} 
[2026-07-11 17:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 17:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645454336001,"66":12993,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645454336001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:35:11] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:35:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645454336001,"power":12993,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":128666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:35:11] local.INFO: GPS data processed {"connection_id":128666,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:35:11] local.INFO: Acknowledgment sent {"connection_id":128666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:35:13] local.INFO: TCP Data received {"connection_id":128666,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510ebc20012d18964007229e58006f006522..."} 
[2026-07-11 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510ebc20012d18964007229e58006f006522..."} 
[2026-07-11 17:35:13] local.INFO: Processing buffer {"connection_id":128666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510ebc20012d18964007229e58006f006522..."} 
[2026-07-11 17:35:13] local.INFO: Packet analysis {"connection_id":128666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510e"} 
[2026-07-11 17:35:13] local.INFO: Extracted packet for processing {"connection_id":128666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510e"} 
[2026-07-11 17:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645459712001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783771348000,"timestamp_ms":1783771348000,"timestamp_seconds":1783771348,"priority":1,"record_length":96,"hex_timestamp":"0000019f510ebc20"} 
[2026-07-11 17:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-11 17:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645459712001,"66":12972,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645459712001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:35:13] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:35:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645459712001,"power":12972,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":128666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:35:13] local.INFO: GPS data processed {"connection_id":128666,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:35:13] local.INFO: Acknowledgment sent {"connection_id":128666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:35:40] local.INFO: TCP Data received {"connection_id":128857,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f510fd178012d7b144005e30760000b00aa1e..."} 
[2026-07-11 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510fd178012d7b144005e30760000b00aa1e..."} 
[2026-07-11 17:35:40] local.INFO: Processing buffer {"connection_id":128857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510fd178012d7b144005e30760000b00aa1e..."} 
[2026-07-11 17:35:40] local.INFO: Packet analysis {"connection_id":128857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:35:40] local.INFO: Extracted packet for processing {"connection_id":128857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98764640,"longitude_deg":76.3040832,"latitude_deg":9.876464,"altitude":11,"angle":170,"satellites":30,"speed":17,"hex_longitude":"2d7b1440","hex_latitude":"05e30760","is_valid_coordinates":true} 
[2026-07-11 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645481728001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105059972416536576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641530343424,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783771419000,"timestamp_ms":1783771419000,"timestamp_seconds":1783771419,"priority":1,"record_length":96,"hex_timestamp":"0000019f510fd178"} 
[2026-07-11 17:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 17:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645481728001,"66":13048,"97":206,"85":15104,"24":17,"16":105059972416536576,"45":8868150641530343424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645481728001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:35:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105059972416536576,"km_value":105059972416536.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641530343424,"description":"Unknown IO ID 45"} 
[2026-07-11 17:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645481728001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8868150641530343424}} 
[2026-07-11 17:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":128857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:35:40] local.INFO: GPS data processed {"connection_id":128857,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:35:40] local.INFO: Acknowledgment sent {"connection_id":128857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:35:44] local.INFO: TCP Data received {"connection_id":128666,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510f0e28012d18964007229e58006f006526..."} 
[2026-07-11 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510f0e28012d18964007229e58006f006526..."} 
[2026-07-11 17:35:44] local.INFO: Processing buffer {"connection_id":128666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510f0e28012d18964007229e58006f006526..."} 
[2026-07-11 17:35:44] local.INFO: Packet analysis {"connection_id":128666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:35:44] local.INFO: Extracted packet for processing {"connection_id":128666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:35:44] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645465088001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783771369000,"timestamp_ms":1783771369000,"timestamp_seconds":1783771369,"priority":1,"record_length":96,"hex_timestamp":"0000019f510f0e28"} 
[2026-07-11 17:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:35: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-07-11 17:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 17:35:44] 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-07-11 17:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645465088001,"66":12917,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645465088001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:35:44] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:35:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645465088001,"power":12917,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":128666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:35:44] local.INFO: GPS data processed {"connection_id":128666,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:35:44] local.INFO: Acknowledgment sent {"connection_id":128666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:35:59] local.INFO: TCP Data received {"connection_id":128858,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:35:59] local.INFO: Processing buffer {"connection_id":128858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:35:59] local.INFO: IMEI packet received {"connection_id":128858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":128858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:36:02] local.INFO: TCP Data received {"connection_id":130797,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:36:02] local.INFO: Processing buffer {"connection_id":130797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:36:02] local.INFO: IMEI packet received {"connection_id":130797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":130797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:36:04] local.INFO: TCP Data received {"connection_id":128858,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:36:04] local.INFO: Processing buffer {"connection_id":128858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:36:04] local.INFO: IMEI packet received {"connection_id":128858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":128858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:36:05] local.INFO: TCP Data received {"connection_id":128858,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510f6030012d18964007229e58006f006526..."} 
[2026-07-11 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510f6030012d18964007229e58006f006526..."} 
[2026-07-11 17:36:05] local.INFO: Processing buffer {"connection_id":128858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510f6030012d18964007229e58006f006526..."} 
[2026-07-11 17:36:05] local.INFO: Packet analysis {"connection_id":128858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:36:05] local.INFO: Extracted packet for processing {"connection_id":128858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645470464001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783771390000,"timestamp_ms":1783771390000,"timestamp_seconds":1783771390,"priority":1,"record_length":96,"hex_timestamp":"0000019f510f6030"} 
[2026-07-11 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-07-11 17:36: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-07-11 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 17:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645470464001,"66":12928,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645470464001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:36:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645470464001,"power":12928,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":128858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:36:05] local.INFO: GPS data processed {"connection_id":128858,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:36:05] local.INFO: Acknowledgment sent {"connection_id":128858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:36:07] local.INFO: TCP Data received {"connection_id":130797,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:36:07] local.INFO: Processing buffer {"connection_id":130797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:36:07] local.INFO: IMEI packet received {"connection_id":130797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":130797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:36:08] local.INFO: TCP Data received {"connection_id":130797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f511017c8012d7b1ac005e2e388000900ac1d..."} 
[2026-07-11 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511017c8012d7b1ac005e2e388000900ac1d..."} 
[2026-07-11 17:36:08] local.INFO: Processing buffer {"connection_id":130797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511017c8012d7b1ac005e2e388000900ac1d..."} 
[2026-07-11 17:36:08] local.INFO: Packet analysis {"connection_id":130797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:36:08] local.INFO: Extracted packet for processing {"connection_id":130797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763042496,"raw_latitude":98755464,"longitude_deg":76.3042496,"latitude_deg":9.8755464,"altitude":9,"angle":172,"satellites":29,"speed":19,"hex_longitude":"2d7b1ac0","hex_latitude":"05e2e388","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645483264001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105060427683069952,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960227274752,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783771437000,"timestamp_ms":1783771437000,"timestamp_seconds":1783771437,"priority":1,"record_length":96,"hex_timestamp":"0000019f511017c8"} 
[2026-07-11 17:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 17:36: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-07-11 17: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-07-11 17:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645483264001,"66":12765,"97":206,"85":15104,"24":19,"16":105060427683069952,"45":8868783960227274752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-11 17:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645483264001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 17:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105060427683069952,"km_value":105060427683069.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960227274752,"description":"Unknown IO ID 45"} 
[2026-07-11 17:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645483264001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8868783960227274752}} 
[2026-07-11 17:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":130797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:36:08] local.INFO: GPS data processed {"connection_id":130797,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:36:08] local.INFO: Acknowledgment sent {"connection_id":130797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:36:37] local.INFO: TCP Data received {"connection_id":128858,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f510fb238012d18964007229e58006f006526..."} 
[2026-07-11 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f510fb238012d18964007229e58006f006526..."} 
[2026-07-11 17:36:37] local.INFO: Processing buffer {"connection_id":128858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f510fb238012d18964007229e58006f006526..."} 
[2026-07-11 17:36:37] local.INFO: Packet analysis {"connection_id":128858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:36:37] local.INFO: Extracted packet for processing {"connection_id":128858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f510f"} 
[2026-07-11 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645475840001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783771411000,"timestamp_ms":1783771411000,"timestamp_seconds":1783771411,"priority":1,"record_length":96,"hex_timestamp":"0000019f510fb238"} 
[2026-07-11 17:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:36:37] 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-07-11 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-11 17:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645475840001,"66":12885,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645475840001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645475840001,"power":12885,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":128858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:36:37] local.INFO: GPS data processed {"connection_id":128858,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:36:37] local.INFO: Acknowledgment sent {"connection_id":128858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:36:39] local.INFO: TCP Data received {"connection_id":130797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51122ef0012d7b410005e1b6300000008d24..."} 
[2026-07-11 17:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51122ef0012d7b410005e1b6300000008d24..."} 
[2026-07-11 17:36:39] local.INFO: Processing buffer {"connection_id":130797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51122ef0012d7b410005e1b6300000008d24..."} 
[2026-07-11 17:36:39] local.INFO: Packet analysis {"connection_id":130797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5112"} 
[2026-07-11 17:36:39] local.INFO: Extracted packet for processing {"connection_id":130797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5112"} 
[2026-07-11 17:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98678320,"longitude_deg":76.3052288,"latitude_deg":9.867832,"altitude":0,"angle":141,"satellites":36,"speed":3,"hex_longitude":"2d7b4100","hex_latitude":"05e1b630","is_valid_coordinates":true} 
[2026-07-11 17:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645521920001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105064215844225024,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596668903424,"note":"Value kept but may cause issues"} 
[2026-07-11 17:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783771574000,"timestamp_ms":1783771574000,"timestamp_seconds":1783771574,"priority":1,"record_length":96,"hex_timestamp":"0000019f51122ef0"} 
[2026-07-11 17:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 17:36:39] 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-07-11 17:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645521920001,"66":12635,"96":206,"85":15104,"24":3,"16":105064215844225024,"45":8881309596668903424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-11 17:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645521920001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:36:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 17:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105064215844225024,"km_value":105064215844225.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596668903424,"description":"Unknown IO ID 45"} 
[2026-07-11 17:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645521920001,"power":12635,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8881309596668903424}} 
[2026-07-11 17:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":130797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:36:39] local.INFO: GPS data processed {"connection_id":130797,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:36:39] local.INFO: Acknowledgment sent {"connection_id":130797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:36:57] local.INFO: TCP Data received {"connection_id":128668,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:36:57] local.INFO: Processing buffer {"connection_id":128668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:36:57] local.INFO: IMEI packet received {"connection_id":128668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":128668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:36:59] local.INFO: TCP Data received {"connection_id":128668,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:36:59] local.INFO: Processing buffer {"connection_id":128668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:36:59] local.INFO: IMEI packet received {"connection_id":128668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":128668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:37:02] local.INFO: TCP Data received {"connection_id":130798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:02] local.INFO: Processing buffer {"connection_id":130798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:02] local.INFO: IMEI packet received {"connection_id":130798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":130798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:37:04] local.INFO: TCP Data received {"connection_id":130798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:04] local.INFO: Processing buffer {"connection_id":130798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:04] local.INFO: IMEI packet received {"connection_id":130798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":130798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:37:04] local.INFO: TCP Data received {"connection_id":128668,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:37:04] local.INFO: Processing buffer {"connection_id":128668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:37:04] local.INFO: IMEI packet received {"connection_id":128668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":128668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:37:05] local.INFO: TCP Data received {"connection_id":128668,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51100440012d18964007229e58006f006527..."} 
[2026-07-11 17:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51100440012d18964007229e58006f006527..."} 
[2026-07-11 17:37:05] local.INFO: Processing buffer {"connection_id":128668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51100440012d18964007229e58006f006527..."} 
[2026-07-11 17:37:05] local.INFO: Packet analysis {"connection_id":128668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:37:05] local.INFO: Extracted packet for processing {"connection_id":128668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645481216001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783771432000,"timestamp_ms":1783771432000,"timestamp_seconds":1783771432,"priority":1,"record_length":96,"hex_timestamp":"0000019f51100440"} 
[2026-07-11 17:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:37: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-07-11 17:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 17:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645481216001,"66":12852,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645481216001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:37:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645481216001,"power":12852,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":128668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:37:05] local.INFO: GPS data processed {"connection_id":128668,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:37:05] local.INFO: Acknowledgment sent {"connection_id":128668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:37:06] local.INFO: TCP Data received {"connection_id":130798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:06] local.INFO: Processing buffer {"connection_id":130798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:06] local.INFO: IMEI packet received {"connection_id":130798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":130798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:37:07] local.INFO: TCP Data received {"connection_id":130798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:07] local.INFO: Processing buffer {"connection_id":130798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:37:07] local.INFO: IMEI packet received {"connection_id":130798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":130798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:37:37] local.INFO: TCP Data received {"connection_id":128668,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51105648012d18964007229e58006f006527..."} 
[2026-07-11 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51105648012d18964007229e58006f006527..."} 
[2026-07-11 17:37:37] local.INFO: Processing buffer {"connection_id":128668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51105648012d18964007229e58006f006527..."} 
[2026-07-11 17:37:37] local.INFO: Packet analysis {"connection_id":128668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:37:37] local.INFO: Extracted packet for processing {"connection_id":128668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645486592001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783771453000,"timestamp_ms":1783771453000,"timestamp_seconds":1783771453,"priority":1,"record_length":96,"hex_timestamp":"0000019f51105648"} 
[2026-07-11 17:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:37:37] 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-07-11 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 17:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645486592001,"66":12689,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645486592001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:37:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645486592001,"power":12689,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":128668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:37:37] local.INFO: GPS data processed {"connection_id":128668,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:37:37] local.INFO: Acknowledgment sent {"connection_id":128668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:37:59] local.INFO: TCP Data received {"connection_id":128859,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:37:59] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:37:59] local.INFO: IMEI packet received {"connection_id":128859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":128859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:38:00] local.INFO: TCP Data received {"connection_id":128859,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:38:00] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:38:00] local.INFO: IMEI packet received {"connection_id":128859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":128859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:38:04] local.INFO: TCP Data received {"connection_id":128859,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:38:04] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:38:04] local.INFO: IMEI packet received {"connection_id":128859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":128859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:38:06] local.INFO: TCP Data received {"connection_id":128859,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5110a850012d18964007229e58006f006528..."} 
[2026-07-11 17:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5110a850012d18964007229e58006f006528..."} 
[2026-07-11 17:38:06] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5110a850012d18964007229e58006f006528..."} 
[2026-07-11 17:38:06] local.INFO: Packet analysis {"connection_id":128859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:38:06] local.INFO: Extracted packet for processing {"connection_id":128859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645491968001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783771474000,"timestamp_ms":1783771474000,"timestamp_seconds":1783771474,"priority":1,"record_length":96,"hex_timestamp":"0000019f5110a850"} 
[2026-07-11 17:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 17:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645491968001,"66":12819,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645491968001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:38:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645491968001,"power":12819,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":128859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:38:06] local.INFO: GPS data processed {"connection_id":128859,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:38:06] local.INFO: Acknowledgment sent {"connection_id":128859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:38:37] local.INFO: TCP Data received {"connection_id":128859,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5110fa58012d18964007229e58006f006524..."} 
[2026-07-11 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5110fa58012d18964007229e58006f006524..."} 
[2026-07-11 17:38:37] local.INFO: Processing buffer {"connection_id":128859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5110fa58012d18964007229e58006f006524..."} 
[2026-07-11 17:38:37] local.INFO: Packet analysis {"connection_id":128859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:38:37] local.INFO: Extracted packet for processing {"connection_id":128859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5110"} 
[2026-07-11 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645497344001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783771495000,"timestamp_ms":1783771495000,"timestamp_seconds":1783771495,"priority":1,"record_length":96,"hex_timestamp":"0000019f5110fa58"} 
[2026-07-11 17:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:38:37] 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-07-11 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503687752974336,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84751001588277918,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":81,"raw_value":1038669057392940608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2656567407,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1781735717337300968,"corrected_to":0} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":88,"raw_value":31244156844113920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052611505990349284,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2226257920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2494528002495374629,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195061504,"note":"Value kept but may cause issues"} 
[2026-07-11 17:38:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,70,28,24,241,158,16,132,159,86,45,64,111,39,10,66,4,178,1,240,85,81,34,113,205,14,150,88,38,239,50,2,20,7,124,69],"length":625,"final_offset":755,"validated_count":36,"validation_warnings":[{"io_id":205,"original":-1781735717337300968,"validated":0}]} 
[2026-07-11 17:38:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7998504160683098112,"timestamp_seconds":7998504160683098.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645497344001,"66":12841,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645497344001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:38:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645497344001,"power":12841,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":128859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:38:38] local.INFO: GPS data processed {"connection_id":128859,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:38:38] local.INFO: Acknowledgment sent {"connection_id":128859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:38:59] local.INFO: TCP Data received {"connection_id":129557,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:38:59] local.INFO: Processing buffer {"connection_id":129557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:38:59] local.INFO: IMEI packet received {"connection_id":129557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":129557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:39:03] local.INFO: TCP Data received {"connection_id":129557,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:39:03] local.INFO: Processing buffer {"connection_id":129557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:39:03] local.INFO: IMEI packet received {"connection_id":129557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":129557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:39:04] local.INFO: TCP Data received {"connection_id":129557,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:39:04] local.INFO: Processing buffer {"connection_id":129557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:39:04] local.INFO: IMEI packet received {"connection_id":129557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":129557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:39:05] local.INFO: TCP Data received {"connection_id":129557,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51114c60012d18964007229e58006f006524..."} 
[2026-07-11 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51114c60012d18964007229e58006f006524..."} 
[2026-07-11 17:39:05] local.INFO: Processing buffer {"connection_id":129557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51114c60012d18964007229e58006f006524..."} 
[2026-07-11 17:39:05] local.INFO: Packet analysis {"connection_id":129557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5111"} 
[2026-07-11 17:39:05] local.INFO: Extracted packet for processing {"connection_id":129557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5111"} 
[2026-07-11 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645502720001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783771516000,"timestamp_ms":1783771516000,"timestamp_seconds":1783771516,"priority":1,"record_length":96,"hex_timestamp":"0000019f51114c60"} 
[2026-07-11 17:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:39: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-07-11 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645502720001,"66":12798,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645502720001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:39:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645502720001,"power":12798,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":129557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:39:05] local.INFO: GPS data processed {"connection_id":129557,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:39:05] local.INFO: Acknowledgment sent {"connection_id":129557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:39:28] local.INFO: TCP Data received {"connection_id":129558,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:39:28] local.INFO: Processing buffer {"connection_id":129558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:39:28] local.INFO: IMEI packet received {"connection_id":129558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":129558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:39:29] local.INFO: TCP Data received {"connection_id":129558,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51141350012cbcf200076e8b80005200a82e..."} 
[2026-07-11 17:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51141350012cbcf200076e8b80005200a82e..."} 
[2026-07-11 17:39:29] local.INFO: Processing buffer {"connection_id":129558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51141350012cbcf200076e8b80005200a82e..."} 
[2026-07-11 17:39:29] local.INFO: Packet analysis {"connection_id":129558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5114"} 
[2026-07-11 17:39:29] local.INFO: Extracted packet for processing {"connection_id":129558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5114"} 
[2026-07-11 17:39:29] local.INFO: GPS Element Parsed {"raw_longitude":750580224,"raw_latitude":124685184,"longitude_deg":75.0580224,"latitude_deg":12.4685184,"altitude":82,"angle":168,"satellites":46,"speed":43,"hex_longitude":"2cbcf200","hex_latitude":"076e8b80","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645552640001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345293148437610496,"note":"Value kept but may cause issues"} 
[2026-07-11 17:39:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833417899409448960,"note":"Value kept but may cause issues"} 
[2026-07-11 17:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783771698000,"timestamp_ms":1783771698000,"timestamp_seconds":1783771698,"priority":1,"record_length":96,"hex_timestamp":"0000019f51141350"} 
[2026-07-11 17:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 17:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":129558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":129558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":129558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645552640001,"66":27865,"107":206,"85":37888,"24":43,"16":345293148437610496,"44":-4833417899409448960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-07-11 17:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645552640001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:39:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-11 17:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345293148437610496,"km_value":345293148437610.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833417899409448960,"description":"Unknown IO ID 44"} 
[2026-07-11 17:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645552640001,"power":27865,"unknown_107":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4833417899409448960}} 
[2026-07-11 17:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":129558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:39:29] local.INFO: GPS data processed {"connection_id":129558,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:39:29] local.INFO: Acknowledgment sent {"connection_id":129558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:39:36] local.INFO: TCP Data received {"connection_id":129557,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51119e68012d18964007229e58006f006521..."} 
[2026-07-11 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51119e68012d18964007229e58006f006521..."} 
[2026-07-11 17:39:36] local.INFO: Processing buffer {"connection_id":129557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51119e68012d18964007229e58006f006521..."} 
[2026-07-11 17:39:36] local.INFO: Packet analysis {"connection_id":129557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5111"} 
[2026-07-11 17:39:36] local.INFO: Extracted packet for processing {"connection_id":129557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5111"} 
[2026-07-11 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645508096001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783771537000,"timestamp_ms":1783771537000,"timestamp_seconds":1783771537,"priority":1,"record_length":96,"hex_timestamp":"0000019f51119e68"} 
[2026-07-11 17:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 17:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645508096001,"66":12776,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645508096001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:39:36] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645508096001,"power":12776,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":129557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:39:36] local.INFO: GPS data processed {"connection_id":129557,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:39:36] local.INFO: Acknowledgment sent {"connection_id":129557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:40:03] local.INFO: TCP Data received {"connection_id":128672,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:03] local.INFO: Processing buffer {"connection_id":128672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:03] local.INFO: IMEI packet received {"connection_id":128672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":128672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:40:04] local.INFO: TCP Data received {"connection_id":128672,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:04] local.INFO: Processing buffer {"connection_id":128672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:04] local.INFO: IMEI packet received {"connection_id":128672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":128672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:40:04] local.INFO: TCP Data received {"connection_id":129561,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:40:04] local.INFO: Processing buffer {"connection_id":129561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:40:04] local.INFO: IMEI packet received {"connection_id":129561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":129561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:40:04] local.INFO: TCP Data received {"connection_id":128672,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:04] local.INFO: Processing buffer {"connection_id":128672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:04] local.INFO: IMEI packet received {"connection_id":128672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":128672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:40:05] local.INFO: TCP Data received {"connection_id":128672,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:05] local.INFO: Processing buffer {"connection_id":128672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:40:05] local.INFO: IMEI packet received {"connection_id":128672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":128672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:40:07] local.INFO: TCP Data received {"connection_id":129561,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:40:07] local.INFO: Processing buffer {"connection_id":129561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:40:07] local.INFO: IMEI packet received {"connection_id":129561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":129561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:40:08] local.INFO: TCP Data received {"connection_id":129561,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5111f070012d18964007229e58006f006525..."} 
[2026-07-11 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5111f070012d18964007229e58006f006525..."} 
[2026-07-11 17:40:08] local.INFO: Processing buffer {"connection_id":129561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5111f070012d18964007229e58006f006525..."} 
[2026-07-11 17:40:08] local.INFO: Packet analysis {"connection_id":129561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5111"} 
[2026-07-11 17:40:08] local.INFO: Extracted packet for processing {"connection_id":129561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5111"} 
[2026-07-11 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645513472001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783771558000,"timestamp_ms":1783771558000,"timestamp_seconds":1783771558,"priority":1,"record_length":96,"hex_timestamp":"0000019f5111f070"} 
[2026-07-11 17:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 17:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645513472001,"66":12743,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645513472001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:40:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645513472001,"power":12743,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":129561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:40:08] local.INFO: GPS data processed {"connection_id":129561,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:40:08] local.INFO: Acknowledgment sent {"connection_id":129561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:40:20] local.INFO: TCP Data received {"connection_id":128671,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:40:20] local.INFO: Processing buffer {"connection_id":128671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:40:20] local.INFO: IMEI packet received {"connection_id":128671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":128671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:40:39] local.INFO: TCP Data received {"connection_id":129561,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51124278012d18964007229e58006f006524..."} 
[2026-07-11 17:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51124278012d18964007229e58006f006524..."} 
[2026-07-11 17:40:39] local.INFO: Processing buffer {"connection_id":129561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51124278012d18964007229e58006f006524..."} 
[2026-07-11 17:40:39] local.INFO: Packet analysis {"connection_id":129561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5112"} 
[2026-07-11 17:40:39] local.INFO: Extracted packet for processing {"connection_id":129561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5112"} 
[2026-07-11 17:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645518848001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783771579000,"timestamp_ms":1783771579000,"timestamp_seconds":1783771579,"priority":1,"record_length":96,"hex_timestamp":"0000019f51124278"} 
[2026-07-11 17:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 17:40:39] 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-07-11 17:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645518848001,"66":12711,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645518848001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:40:39] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:40:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645518848001,"power":12711,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":129561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:40:39] local.INFO: GPS data processed {"connection_id":129561,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:40:39] local.INFO: Acknowledgment sent {"connection_id":129561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:40:50] local.INFO: TCP Data received {"connection_id":130800,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:40:50] local.INFO: Processing buffer {"connection_id":130800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:40:50] local.INFO: IMEI packet received {"connection_id":130800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":130800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:40:59] local.INFO: TCP Data received {"connection_id":128673,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:40:59] local.INFO: Processing buffer {"connection_id":128673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:40:59] local.INFO: IMEI packet received {"connection_id":128673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":128673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:41:04] local.INFO: TCP Data received {"connection_id":128673,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:41:04] local.INFO: Processing buffer {"connection_id":128673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:41:04] local.INFO: IMEI packet received {"connection_id":128673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":128673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:41:06] local.INFO: TCP Data received {"connection_id":128673,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51129480012d18964007229e58006f006523..."} 
[2026-07-11 17:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51129480012d18964007229e58006f006523..."} 
[2026-07-11 17:41:06] local.INFO: Processing buffer {"connection_id":128673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51129480012d18964007229e58006f006523..."} 
[2026-07-11 17:41:06] local.INFO: Packet analysis {"connection_id":128673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5112"} 
[2026-07-11 17:41:06] local.INFO: Extracted packet for processing {"connection_id":128673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5112"} 
[2026-07-11 17:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645524224001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783771600000,"timestamp_ms":1783771600000,"timestamp_seconds":1783771600,"priority":1,"record_length":96,"hex_timestamp":"0000019f51129480"} 
[2026-07-11 17:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 17:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645524224001,"66":12711,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645524224001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:41:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645524224001,"power":12711,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":128673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:41:06] local.INFO: GPS data processed {"connection_id":128673,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:41:06] local.INFO: Acknowledgment sent {"connection_id":128673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:41:37] local.INFO: TCP Data received {"connection_id":128673,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5112e688012d18964007229e58006f006527..."} 
[2026-07-11 17:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5112e688012d18964007229e58006f006527..."} 
[2026-07-11 17:41:37] local.INFO: Processing buffer {"connection_id":128673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5112e688012d18964007229e58006f006527..."} 
[2026-07-11 17:41:37] local.INFO: Packet analysis {"connection_id":128673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5112"} 
[2026-07-11 17:41:37] local.INFO: Extracted packet for processing {"connection_id":128673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5112"} 
[2026-07-11 17:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645529600001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783771621000,"timestamp_ms":1783771621000,"timestamp_seconds":1783771621,"priority":1,"record_length":96,"hex_timestamp":"0000019f5112e688"} 
[2026-07-11 17:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 17:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645529600001,"66":12711,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645529600001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:41:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645529600001,"power":12711,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":128673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:41:38] local.INFO: GPS data processed {"connection_id":128673,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:41:38] local.INFO: Acknowledgment sent {"connection_id":128673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:41:59] local.INFO: TCP Data received {"connection_id":129563,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:41:59] local.INFO: Processing buffer {"connection_id":129563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:41:59] local.INFO: IMEI packet received {"connection_id":129563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":129563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:42:04] local.INFO: TCP Data received {"connection_id":129563,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:42:04] local.INFO: Processing buffer {"connection_id":129563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:42:04] local.INFO: IMEI packet received {"connection_id":129563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":129563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:42:05] local.INFO: TCP Data received {"connection_id":129563,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51133890012d18964007229e58006f006524..."} 
[2026-07-11 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51133890012d18964007229e58006f006524..."} 
[2026-07-11 17:42:05] local.INFO: Processing buffer {"connection_id":129563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51133890012d18964007229e58006f006524..."} 
[2026-07-11 17:42:05] local.INFO: Packet analysis {"connection_id":129563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5113"} 
[2026-07-11 17:42:05] local.INFO: Extracted packet for processing {"connection_id":129563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5113"} 
[2026-07-11 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645534976001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783771642000,"timestamp_ms":1783771642000,"timestamp_seconds":1783771642,"priority":1,"record_length":96,"hex_timestamp":"0000019f51133890"} 
[2026-07-11 17:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:42: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-07-11 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 17:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645534976001,"66":12689,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645534976001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:42:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645534976001,"power":12689,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":129563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:42:05] local.INFO: GPS data processed {"connection_id":129563,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:42:05] local.INFO: Acknowledgment sent {"connection_id":129563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:42:08] local.INFO: TCP Data received {"connection_id":130802,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:42:08] local.INFO: Processing buffer {"connection_id":130802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:42:08] local.INFO: IMEI packet received {"connection_id":130802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":130802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:42:09] local.INFO: TCP Data received {"connection_id":130802,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5116ab60012d7cf44005e20df0000f005529..."} 
[2026-07-11 17:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5116ab60012d7cf44005e20df0000f005529..."} 
[2026-07-11 17:42:09] local.INFO: Processing buffer {"connection_id":130802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5116ab60012d7cf44005e20df0000f005529..."} 
[2026-07-11 17:42:09] local.INFO: Packet analysis {"connection_id":130802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:42:09] local.INFO: Extracted packet for processing {"connection_id":130802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763163712,"raw_latitude":98700784,"longitude_deg":76.3163712,"latitude_deg":9.8700784,"altitude":15,"angle":85,"satellites":41,"speed":27,"hex_longitude":"2d7cf440","hex_latitude":"05e20df0","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645593088001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105070130014191616,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995236593497726976,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783771868000,"timestamp_ms":1783771868000,"timestamp_seconds":1783771868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5116ab60"} 
[2026-07-11 17:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":423919525588762672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436902691328,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185973,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5842775412445117534,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3565444411773616334,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":18,"raw_value":17779103407013888,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":71,"raw_value":864691128455135233,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2147869202,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":42,"raw_value":6473924465000452,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579342,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792820224,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:09] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,43,85,24,241,157,16,72,159,38,45,128,7,10,66,3,64,11,18,40,71,216,1,240,144,227,81,226,4,113,205,27,189,98,160,42,239,48,2,117,5],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-07-11 17:42:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008892258827436032,"timestamp_seconds":1008892258827436.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645593088001,"66":12939,"43":206,"85":15104,"24":27,"16":105070130014191616,"45":8995236593497726976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-11 17:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645593088001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:42:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 17:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105070130014191616,"km_value":105070130014191.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995236593497726976,"description":"Unknown IO ID 45"} 
[2026-07-11 17:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645593088001,"power":12939,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8995236593497726976}} 
[2026-07-11 17:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":130802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:42:09] local.INFO: GPS data processed {"connection_id":130802,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:42:09] local.INFO: Acknowledgment sent {"connection_id":130802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:42:36] local.INFO: TCP Data received {"connection_id":129563,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5116bee8012d18964007229e58006f006526..."} 
[2026-07-11 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5116bee8012d18964007229e58006f006526..."} 
[2026-07-11 17:42:36] local.INFO: Processing buffer {"connection_id":129563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5116bee8012d18964007229e58006f006526..."} 
[2026-07-11 17:42:36] local.INFO: Packet analysis {"connection_id":129563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:42:36] local.INFO: Extracted packet for processing {"connection_id":129563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645594112001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783771873000,"timestamp_ms":1783771873000,"timestamp_seconds":1783771873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5116bee8"} 
[2026-07-11 17:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":53249,"corrected_to":0} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249512332889595480,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2656567407,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2226257920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5044258204389742592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,70,28,24,241,158,16,132,159,26,45,64,111,40,10,66,200,39,118,1,240,47,81,34,4,113,205,210,150,88,43,239,49,2,20,7,231,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":200,"original":53249,"validated":0},{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-07-11 17:42:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7998504134913294336,"timestamp_seconds":7998504134913294.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645594112001,"66":12558,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645594112001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:42:36] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645594112001,"power":12558,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":129563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:42:37] local.INFO: GPS data processed {"connection_id":129563,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:42:37] local.INFO: Acknowledgment sent {"connection_id":129563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:42:40] local.INFO: TCP Data received {"connection_id":130802,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5116e5f8012d7d080005e20d60001100612b..."} 
[2026-07-11 17:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5116e5f8012d7d080005e20d60001100612b..."} 
[2026-07-11 17:42:40] local.INFO: Processing buffer {"connection_id":130802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5116e5f8012d7d080005e20d60001100612b..."} 
[2026-07-11 17:42:40] local.INFO: Packet analysis {"connection_id":130802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:42:40] local.INFO: Extracted packet for processing {"connection_id":130802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":98700640,"longitude_deg":76.3168768,"latitude_deg":9.870064,"altitude":17,"angle":97,"satellites":43,"speed":17,"hex_longitude":"2d7d0800","hex_latitude":"05e20d60","is_valid_coordinates":true} 
[2026-07-11 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645598208001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105070374827327488,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003891949032042496,"note":"Value kept but may cause issues"} 
[2026-07-11 17:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783771883000,"timestamp_ms":1783771883000,"timestamp_seconds":1783771883,"priority":1,"record_length":96,"hex_timestamp":"0000019f5116e5f8"} 
[2026-07-11 17:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 17:42:40] 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-07-11 17:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645598208001,"66":12982,"43":206,"85":15104,"24":17,"16":105070374827327488,"45":9003891949032042496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-11 17:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645598208001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:42:40] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 17:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105070374827327488,"km_value":105070374827327.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003891949032042496,"description":"Unknown IO ID 45"} 
[2026-07-11 17:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645598208001,"power":12982,"unknown_43":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9003891949032042496}} 
[2026-07-11 17:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":130802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:42:40] local.INFO: GPS data processed {"connection_id":130802,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:42:40] local.INFO: Acknowledgment sent {"connection_id":130802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:43:02] local.INFO: TCP Data received {"connection_id":130803,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:43:02] local.INFO: Processing buffer {"connection_id":130803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:43:02] local.INFO: IMEI packet received {"connection_id":130803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":130803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:43:04] local.INFO: TCP Data received {"connection_id":128861,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:04] local.INFO: Processing buffer {"connection_id":128861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:04] local.INFO: IMEI packet received {"connection_id":128861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":128861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:43:08] local.INFO: TCP Data received {"connection_id":130803,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:43:08] local.INFO: Processing buffer {"connection_id":130803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:43:08] local.INFO: IMEI packet received {"connection_id":130803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":130803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:43:08] local.INFO: TCP Data received {"connection_id":130803,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51172090012d7d2bc005e20a300014005e2c..."} 
[2026-07-11 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51172090012d7d2bc005e20a300014005e2c..."} 
[2026-07-11 17:43:08] local.INFO: Processing buffer {"connection_id":130803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51172090012d7d2bc005e20a300014005e2c..."} 
[2026-07-11 17:43:08] local.INFO: Packet analysis {"connection_id":130803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5117"} 
[2026-07-11 17:43:08] local.INFO: Extracted packet for processing {"connection_id":130803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5117"} 
[2026-07-11 17:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":98699824,"longitude_deg":76.317792,"latitude_deg":9.8699824,"altitude":20,"angle":94,"satellites":44,"speed":23,"hex_longitude":"2d7d2bc0","hex_latitude":"05e20a30","is_valid_coordinates":true} 
[2026-07-11 17:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645602048001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105070812913991680,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009451079822041088,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783771898000,"timestamp_ms":1783771898000,"timestamp_seconds":1783771898,"priority":1,"record_length":96,"hex_timestamp":"0000019f51172090"} 
[2026-07-11 17:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-11 17:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645602048001,"66":12798,"61":206,"85":15104,"24":23,"16":105070812913991680,"45":9009451079822041088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 17:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645602048001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:43:08] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 17:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105070812913991680,"km_value":105070812913991.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009451079822041088,"description":"Unknown IO ID 45"} 
[2026-07-11 17:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645602048001,"power":12798,"unknown_61":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9009451079822041088}} 
[2026-07-11 17:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":130803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:43:08] local.INFO: GPS data processed {"connection_id":130803,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:43:08] local.INFO: Acknowledgment sent {"connection_id":130803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:43:09] local.INFO: TCP Data received {"connection_id":128861,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:09] local.INFO: Processing buffer {"connection_id":128861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:09] local.INFO: IMEI packet received {"connection_id":128861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":128861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:43:11] local.INFO: TCP Data received {"connection_id":128861,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511710f0012d18964007229e58006f006525..."} 
[2026-07-11 17:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511710f0012d18964007229e58006f006525..."} 
[2026-07-11 17:43:11] local.INFO: Processing buffer {"connection_id":128861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511710f0012d18964007229e58006f006525..."} 
[2026-07-11 17:43:11] local.INFO: Packet analysis {"connection_id":128861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5117"} 
[2026-07-11 17:43:11] local.INFO: Extracted packet for processing {"connection_id":128861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5117"} 
[2026-07-11 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645599488001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783771894000,"timestamp_ms":1783771894000,"timestamp_seconds":1783771894,"priority":1,"record_length":96,"hex_timestamp":"0000019f511710f0"} 
[2026-07-11 17:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2656567407,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":53249,"corrected_to":0} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249512332889595480,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2226257920,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5044258204389742592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,70,28,24,241,158,16,132,159,108,45,64,111,34,10,66,26,40,200,1,240,4,81,113,205,36,150,88,41,239,49,2,20,7,231,84,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":200,"original":53249,"validated":0},{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-07-11 17:43:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7998504152093163520,"timestamp_seconds":7998504152093164.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645599488001,"66":12537,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645599488001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:43:11] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645599488001,"power":12537,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":128861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:43:11] local.INFO: GPS data processed {"connection_id":128861,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:43:11] local.INFO: Acknowledgment sent {"connection_id":128861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:43:39] local.INFO: TCP Data received {"connection_id":130803,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5118b6d0012d7e2cc005e20b28000a00a629..."} 
[2026-07-11 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5118b6d0012d7e2cc005e20b28000a00a629..."} 
[2026-07-11 17:43:39] local.INFO: Processing buffer {"connection_id":130803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5118b6d0012d7e2cc005e20b28000a00a629..."} 
[2026-07-11 17:43:39] local.INFO: Packet analysis {"connection_id":130803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:43:39] local.INFO: Extracted packet for processing {"connection_id":130803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763243712,"raw_latitude":98700072,"longitude_deg":76.3243712,"latitude_deg":9.8700072,"altitude":10,"angle":166,"satellites":41,"speed":6,"hex_longitude":"2d7e2cc0","hex_latitude":"05e20b28","is_valid_coordinates":true} 
[2026-07-11 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645629696001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105074047024365568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091289929300639744,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783772002000,"timestamp_ms":1783772002000,"timestamp_seconds":1783772002,"priority":1,"record_length":96,"hex_timestamp":"0000019f5118b6d0"} 
[2026-07-11 17:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437171126784,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185973,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5843419657539517895,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3645101831677083854,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4539628424389459969,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3791847424,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":15,"raw_value":18342053628870656,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":423899459501359180,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.WARNING: Large IO value detected {"io_id":42,"raw_value":9007199255396356,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:39] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,61,85,24,241,157,16,76,159,92,45,18,12,38,10,66,75,77,64,20,13,40,69,1,240,184,227,81,226,4,113,205,50,248,239,48,2,117,5,15,128,42],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-07-11 17:43:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720706949767430144,"timestamp_seconds":720706949767430.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645629696001,"66":12667,"61":206,"85":15104,"24":6,"16":105074047024365568,"45":9091289929300639744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 17:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645629696001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:43:39] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 17:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105074047024365568,"km_value":105074047024365.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091289929300639744,"description":"Unknown IO ID 45"} 
[2026-07-11 17:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645629696001,"power":12667,"unknown_61":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9091289929300639744}} 
[2026-07-11 17:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":130803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:43:39] local.INFO: GPS data processed {"connection_id":130803,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:43:39] local.INFO: Acknowledgment sent {"connection_id":130803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:43:48] local.INFO: TCP Data received {"connection_id":128861,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511762f8012d18964007229e58006f006526..."} 
[2026-07-11 17:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511762f8012d18964007229e58006f006526..."} 
[2026-07-11 17:43:48] local.INFO: Processing buffer {"connection_id":128861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511762f8012d18964007229e58006f006526..."} 
[2026-07-11 17:43:48] local.INFO: Packet analysis {"connection_id":128861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5117"} 
[2026-07-11 17:43:48] local.INFO: Extracted packet for processing {"connection_id":128861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5117"} 
[2026-07-11 17:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645604864001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783771915000,"timestamp_ms":1783771915000,"timestamp_seconds":1783771915,"priority":1,"record_length":96,"hex_timestamp":"0000019f511762f8"} 
[2026-07-11 17:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-11 17:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645604864001,"66":12537,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645604864001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:43:48] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:43:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645604864001,"power":12537,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":128861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:43:48] local.INFO: GPS data processed {"connection_id":128861,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:43:48] local.INFO: Acknowledgment sent {"connection_id":128861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:43:57] local.INFO: TCP Data received {"connection_id":128678,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:57] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:57] local.INFO: IMEI packet received {"connection_id":128678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":128678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:43:59] local.INFO: TCP Data received {"connection_id":128678,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:59] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:43:59] local.INFO: IMEI packet received {"connection_id":128678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":128678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:44:02] local.INFO: TCP Data received {"connection_id":129566,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:44:02] local.INFO: Processing buffer {"connection_id":129566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:44:02] local.INFO: IMEI packet received {"connection_id":129566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":129566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:44:04] local.INFO: TCP Data received {"connection_id":128678,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:44:04] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:44:04] local.INFO: IMEI packet received {"connection_id":128678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":128678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:44:05] local.INFO: TCP Data received {"connection_id":128678,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5117b500012d18964007229e58006f006524..."} 
[2026-07-11 17:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5117b500012d18964007229e58006f006524..."} 
[2026-07-11 17:44:05] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5117b500012d18964007229e58006f006524..."} 
[2026-07-11 17:44:05] local.INFO: Packet analysis {"connection_id":128678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5117"} 
[2026-07-11 17:44:05] local.INFO: Extracted packet for processing {"connection_id":128678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5117"} 
[2026-07-11 17:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645610240001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783771936000,"timestamp_ms":1783771936000,"timestamp_seconds":1783771936,"priority":1,"record_length":96,"hex_timestamp":"0000019f5117b500"} 
[2026-07-11 17:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:44: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-07-11 17:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-11 17:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645610240001,"66":12526,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645610240001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:44:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645610240001,"power":12526,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":128678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:44:05] local.INFO: GPS data processed {"connection_id":128678,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:44:05] local.INFO: Acknowledgment sent {"connection_id":128678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:44:07] local.INFO: TCP Data received {"connection_id":129566,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:44:07] local.INFO: Processing buffer {"connection_id":129566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:44:07] local.INFO: IMEI packet received {"connection_id":129566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":129566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:44:08] local.INFO: TCP Data received {"connection_id":129566,"ip":"42.106.6.18","data_length":93,"data_hex":"00000000000000518e010000019f5118bea0012d7e2d0005e208c8000a00b22b..."} 
[2026-07-11 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129566,"packet_length":93,"packet_hex":"00000000000000518e010000019f5118bea0012d7e2d0005e208c8000a00b22b..."} 
[2026-07-11 17:44:08] local.INFO: Processing buffer {"connection_id":129566,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f5118bea0012d7e2d0005e208c8000a00b22b..."} 
[2026-07-11 17:44:08] local.INFO: Packet analysis {"connection_id":129566,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f5118"} 
[2026-07-11 17:44:08] local.INFO: Extracted packet for processing {"connection_id":129566,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f5118"} 
[2026-07-11 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763243776,"raw_latitude":98699464,"longitude_deg":76.3243776,"latitude_deg":9.8699464,"altitude":10,"angle":178,"satellites":43,"speed":15,"hex_longitude":"2d7e2d00","hex_latitude":"05e208c8","is_valid_coordinates":true} 
[2026-07-11 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":93,"current_offset":40} 
[2026-07-11 17:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:44:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:44:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 17:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129566,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-11 17:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 17:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-11 17:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 17:44:08] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 17:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":129566,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 17:44:08] local.ERROR: GPS data processing failed {"connection_id":129566,"error":"No valid data to process"} 
[2026-07-11 17:44:08] local.INFO: Acknowledgment sent {"connection_id":129566,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 17:44:37] local.INFO: TCP Data received {"connection_id":128678,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51180708012d18964007229e58006f006526..."} 
[2026-07-11 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51180708012d18964007229e58006f006526..."} 
[2026-07-11 17:44:37] local.INFO: Processing buffer {"connection_id":128678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51180708012d18964007229e58006f006526..."} 
[2026-07-11 17:44:37] local.INFO: Packet analysis {"connection_id":128678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:44:37] local.INFO: Extracted packet for processing {"connection_id":128678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645615616001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783771957000,"timestamp_ms":1783771957000,"timestamp_seconds":1783771957,"priority":1,"record_length":96,"hex_timestamp":"0000019f51180708"} 
[2026-07-11 17:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 17:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645615616001,"66":12526,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645615616001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:44:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645615616001,"power":12526,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":128678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:44:37] local.INFO: GPS data processed {"connection_id":128678,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:44:37] local.INFO: Acknowledgment sent {"connection_id":128678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:44:39] local.INFO: TCP Data received {"connection_id":129566,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5118ed80012d7e2b8005e1e5b0000b00b328..."} 
[2026-07-11 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5118ed80012d7e2b8005e1e5b0000b00b328..."} 
[2026-07-11 17:44:39] local.INFO: Processing buffer {"connection_id":129566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5118ed80012d7e2b8005e1e5b0000b00b328..."} 
[2026-07-11 17:44:39] local.INFO: Packet analysis {"connection_id":129566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:44:39] local.INFO: Extracted packet for processing {"connection_id":129566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763243392,"raw_latitude":98690480,"longitude_deg":76.3243392,"latitude_deg":9.869048,"altitude":11,"angle":179,"satellites":40,"speed":33,"hex_longitude":"2d7e2b80","hex_latitude":"05e1e5b0","is_valid_coordinates":true} 
[2026-07-11 17:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645633024001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105074510880833536,"note":"Value kept but may cause issues"} 
[2026-07-11 17:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091923247997962240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783772016000,"timestamp_ms":1783772016000,"timestamp_seconds":1783772016,"priority":1,"record_length":96,"hex_timestamp":"0000019f5118ed80"} 
[2026-07-11 17:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 17:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645633024001,"66":12819,"61":206,"85":15104,"24":33,"16":105074510880833536,"45":9091923247997962240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 17:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645633024001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:44:39] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 17:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105074510880833536,"km_value":105074510880833.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091923247997962240,"description":"Unknown IO ID 45"} 
[2026-07-11 17:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645633024001,"power":12819,"unknown_61":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9091923247997962240}} 
[2026-07-11 17:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":129566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:44:39] local.INFO: GPS data processed {"connection_id":129566,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:44:39] local.INFO: Acknowledgment sent {"connection_id":129566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:44:59] local.INFO: TCP Data received {"connection_id":130805,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:44:59] local.INFO: Processing buffer {"connection_id":130805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:44:59] local.INFO: IMEI packet received {"connection_id":130805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":130805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:45:00] local.INFO: TCP Data received {"connection_id":130805,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:45:00] local.INFO: Processing buffer {"connection_id":130805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:45:00] local.INFO: IMEI packet received {"connection_id":130805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":130805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:45:04] local.INFO: TCP Data received {"connection_id":130805,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:45:04] local.INFO: Processing buffer {"connection_id":130805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:45:04] local.INFO: IMEI packet received {"connection_id":130805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":130805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:45:05] local.INFO: TCP Data received {"connection_id":130805,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51185910012d18964007229e58006f006527..."} 
[2026-07-11 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51185910012d18964007229e58006f006527..."} 
[2026-07-11 17:45:05] local.INFO: Processing buffer {"connection_id":130805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51185910012d18964007229e58006f006527..."} 
[2026-07-11 17:45:05] local.INFO: Packet analysis {"connection_id":130805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:45:05] local.INFO: Extracted packet for processing {"connection_id":130805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645620992001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783771978000,"timestamp_ms":1783771978000,"timestamp_seconds":1783771978,"priority":1,"record_length":96,"hex_timestamp":"0000019f51185910"} 
[2026-07-11 17:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:45: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-07-11 17:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 17:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645620992001,"66":12526,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645620992001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:45:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645620992001,"power":12526,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":130805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:45:05] local.INFO: GPS data processed {"connection_id":130805,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:45:05] local.INFO: Acknowledgment sent {"connection_id":130805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:45:05] local.INFO: TCP Data received {"connection_id":129567,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:45:05] local.INFO: Processing buffer {"connection_id":129567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:45:05] local.INFO: IMEI packet received {"connection_id":129567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":129567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:45:07] local.INFO: TCP Data received {"connection_id":129567,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:45:07] local.INFO: Processing buffer {"connection_id":129567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:45:07] local.INFO: IMEI packet received {"connection_id":129567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":129567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:45:09] local.INFO: TCP Data received {"connection_id":130806,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:45:09] local.INFO: Processing buffer {"connection_id":130806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:45:09] local.INFO: IMEI packet received {"connection_id":130806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":130806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:45:09] local.INFO: TCP Data received {"connection_id":130806,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5115ccb8012cbceb80076db3d8004f00b52f..."} 
[2026-07-11 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5115ccb8012cbceb80076db3d8004f00b52f..."} 
[2026-07-11 17:45:09] local.INFO: Processing buffer {"connection_id":130806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5115ccb8012cbceb80076db3d8004f00b52f..."} 
[2026-07-11 17:45:09] local.INFO: Packet analysis {"connection_id":130806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5115"} 
[2026-07-11 17:45:09] local.INFO: Extracted packet for processing {"connection_id":130806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5115"} 
[2026-07-11 17:45:09] local.INFO: GPS Element Parsed {"raw_longitude":750578560,"raw_latitude":124629976,"longitude_deg":75.057856,"latitude_deg":12.4629976,"altitude":79,"angle":181,"satellites":47,"speed":25,"hex_longitude":"2cbceb80","hex_latitude":"076db3d8","is_valid_coordinates":true} 
[2026-07-11 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645582592001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345295897216679936,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268169437184,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783771811000,"timestamp_ms":1783771811000,"timestamp_seconds":1783771811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5115ccb8"} 
[2026-07-11 17:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:45: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-07-11 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 17:45:09] 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-07-11 17:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:45: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-07-11 17:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645582592001,"66":27213,"105":206,"85":37888,"24":25,"16":345295897216679936,"44":-4833488268169437184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645582592001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:45:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345295897216679936,"km_value":345295897216679.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:45:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268169437184,"description":"Unknown IO ID 44"} 
[2026-07-11 17:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645582592001,"power":27213,"unknown_105":206,"unknown_85":37888,"ignition":25,"odometer":null,"unknown_44":-4833488268169437184}} 
[2026-07-11 17:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":130806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:45:09] local.INFO: GPS data processed {"connection_id":130806,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:45:09] local.INFO: Acknowledgment sent {"connection_id":130806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:45:13] local.INFO: TCP Data received {"connection_id":129567,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:45:13] local.INFO: Processing buffer {"connection_id":129567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:45:13] local.INFO: IMEI packet received {"connection_id":129567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":129567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:45:13] local.INFO: TCP Data received {"connection_id":129567,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5119fb08012d7e128005e10368000e00b72a..."} 
[2026-07-11 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5119fb08012d7e128005e10368000e00b72a..."} 
[2026-07-11 17:45:13] local.INFO: Processing buffer {"connection_id":129567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5119fb08012d7e128005e10368000e00b72a..."} 
[2026-07-11 17:45:13] local.INFO: Packet analysis {"connection_id":129567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5119"} 
[2026-07-11 17:45:13] local.INFO: Extracted packet for processing {"connection_id":129567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5119"} 
[2026-07-11 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763236992,"raw_latitude":98632552,"longitude_deg":76.3236992,"latitude_deg":9.8632552,"altitude":14,"angle":183,"satellites":42,"speed":21,"hex_longitude":"2d7e1280","hex_latitude":"05e10368","is_valid_coordinates":true} 
[2026-07-11 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645652992001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105077418573692928,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084816004819347456,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783772085000,"timestamp_ms":1783772085000,"timestamp_seconds":1783772085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5119fb08"} 
[2026-07-11 17:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 17:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645652992001,"66":12461,"60":206,"85":15104,"24":21,"16":105077418573692928,"45":9084816004819347456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 17:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645652992001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:45:13] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 17:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105077418573692928,"km_value":105077418573692.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084816004819347456,"description":"Unknown IO ID 45"} 
[2026-07-11 17:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645652992001,"power":12461,"unknown_60":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9084816004819347456}} 
[2026-07-11 17:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":129567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:45:13] local.INFO: GPS data processed {"connection_id":129567,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:45:13] local.INFO: Acknowledgment sent {"connection_id":129567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:45:40] local.INFO: TCP Data received {"connection_id":130805,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5118ab18012d18964007229e58006f006525..."} 
[2026-07-11 17:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5118ab18012d18964007229e58006f006525..."} 
[2026-07-11 17:45:40] local.INFO: Processing buffer {"connection_id":130805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5118ab18012d18964007229e58006f006525..."} 
[2026-07-11 17:45:40] local.INFO: Packet analysis {"connection_id":130805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:45:40] local.INFO: Extracted packet for processing {"connection_id":130805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645626368001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783771999000,"timestamp_ms":1783771999000,"timestamp_seconds":1783771999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5118ab18"} 
[2026-07-11 17:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:45: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-07-11 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 17:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645626368001,"66":12113,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645626368001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:45:40] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:45:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645626368001,"power":12113,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":130805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:45:40] local.INFO: GPS data processed {"connection_id":130805,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:45:40] local.INFO: Acknowledgment sent {"connection_id":130805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:45:40] local.INFO: TCP Data received {"connection_id":130806,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f51160368012cbceb00076d9098004d00b32f..."} 
[2026-07-11 17:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51160368012cbceb00076d9098004d00b32f..."} 
[2026-07-11 17:45:40] local.INFO: Processing buffer {"connection_id":130806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51160368012cbceb00076d9098004d00b32f..."} 
[2026-07-11 17:45:40] local.INFO: Packet analysis {"connection_id":130806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:45:40] local.INFO: Extracted packet for processing {"connection_id":130806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":750578432,"raw_latitude":124620952,"longitude_deg":75.0578432,"latitude_deg":12.4620952,"altitude":77,"angle":179,"satellites":47,"speed":23,"hex_longitude":"2cbceb00","hex_latitude":"076d9098","is_valid_coordinates":true} 
[2026-07-11 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645583616001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296335303344128,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833629005658466304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783771825000,"timestamp_ms":1783771825000,"timestamp_seconds":1783771825,"priority":1,"record_length":96,"hex_timestamp":"0000019f51160368"} 
[2026-07-11 17:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 17:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645583616001,"66":27767,"105":206,"85":37888,"24":23,"16":345296335303344128,"44":-4833629005658466304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645583616001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:45:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296335303344128,"km_value":345296335303344.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:45:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833629005658466304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645583616001,"power":27767,"unknown_105":206,"unknown_85":37888,"ignition":23,"odometer":null,"unknown_44":-4833629005658466304}} 
[2026-07-11 17:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":130806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:45:40] local.INFO: GPS data processed {"connection_id":130806,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:45:40] local.INFO: Acknowledgment sent {"connection_id":130806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:45:44] local.INFO: TCP Data received {"connection_id":129567,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511a0e90012d7e12c005e0f6f8000f00ac2a..."} 
[2026-07-11 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511a0e90012d7e12c005e0f6f8000f00ac2a..."} 
[2026-07-11 17:45:44] local.INFO: Processing buffer {"connection_id":129567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511a0e90012d7e12c005e0f6f8000f00ac2a..."} 
[2026-07-11 17:45:44] local.INFO: Packet analysis {"connection_id":129567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:45:44] local.INFO: Extracted packet for processing {"connection_id":129567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":98629368,"longitude_deg":76.3237056,"latitude_deg":9.8629368,"altitude":15,"angle":172,"satellites":42,"speed":30,"hex_longitude":"2d7e12c0","hex_latitude":"05e0f6f8","is_valid_coordinates":true} 
[2026-07-11 17:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645653760001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105077573192515584,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084464161098000384,"note":"Value kept but may cause issues"} 
[2026-07-11 17:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783772090000,"timestamp_ms":1783772090000,"timestamp_seconds":1783772090,"priority":1,"record_length":96,"hex_timestamp":"0000019f511a0e90"} 
[2026-07-11 17:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645653760001,"66":12385,"60":206,"85":15104,"24":30,"16":105077573192515584,"45":9084464161098000384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 17:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645653760001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:45:44] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 17:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105077573192515584,"km_value":105077573192515.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084464161098000384,"description":"Unknown IO ID 45"} 
[2026-07-11 17:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645653760001,"power":12385,"unknown_60":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9084464161098000384}} 
[2026-07-11 17:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":129567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:45:44] local.INFO: GPS data processed {"connection_id":129567,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:45:44] local.INFO: Acknowledgment sent {"connection_id":129567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:46:02] local.INFO: TCP Data received {"connection_id":128679,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:46:02] local.INFO: Processing buffer {"connection_id":128679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:46:02] local.INFO: IMEI packet received {"connection_id":128679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":128679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:46:02] local.INFO: TCP Data received {"connection_id":130808,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:46:02] local.INFO: Processing buffer {"connection_id":130808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:46:02] local.INFO: IMEI packet received {"connection_id":130808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":130808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:46:03] local.INFO: TCP Data received {"connection_id":130809,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:46:03] local.INFO: Processing buffer {"connection_id":130809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:46:03] local.INFO: IMEI packet received {"connection_id":130809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":130809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:46:04] local.INFO: TCP Data received {"connection_id":128679,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:46:04] local.INFO: Processing buffer {"connection_id":128679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:46:04] local.INFO: IMEI packet received {"connection_id":128679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":128679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:46:05] local.INFO: TCP Data received {"connection_id":128679,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5118fd20012d18964007229e58006f006529..."} 
[2026-07-11 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5118fd20012d18964007229e58006f006529..."} 
[2026-07-11 17:46:05] local.INFO: Processing buffer {"connection_id":128679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5118fd20012d18964007229e58006f006529..."} 
[2026-07-11 17:46:05] local.INFO: Packet analysis {"connection_id":128679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:46:05] local.INFO: Extracted packet for processing {"connection_id":128679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5118"} 
[2026-07-11 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645631744001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783772020000,"timestamp_ms":1783772020000,"timestamp_seconds":1783772020,"priority":1,"record_length":96,"hex_timestamp":"0000019f5118fd20"} 
[2026-07-11 17:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:46: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-07-11 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-11 17:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645631744001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645631744001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:46:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645631744001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":128679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:46:06] local.INFO: GPS data processed {"connection_id":128679,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:46:06] local.INFO: Acknowledgment sent {"connection_id":128679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:46:07] local.INFO: TCP Data received {"connection_id":130808,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:46:07] local.INFO: Processing buffer {"connection_id":130808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:46:07] local.INFO: IMEI packet received {"connection_id":130808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":130808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:46:07] local.INFO: TCP Data received {"connection_id":128679,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51194f28012d18964007229e58006f006525..."} 
[2026-07-11 17:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51194f28012d18964007229e58006f006525..."} 
[2026-07-11 17:46:07] local.INFO: Processing buffer {"connection_id":128679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51194f28012d18964007229e58006f006525..."} 
[2026-07-11 17:46:07] local.INFO: Packet analysis {"connection_id":128679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5119"} 
[2026-07-11 17:46:07] local.INFO: Extracted packet for processing {"connection_id":128679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5119"} 
[2026-07-11 17:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645637120001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783772041000,"timestamp_ms":1783772041000,"timestamp_seconds":1783772041,"priority":1,"record_length":96,"hex_timestamp":"0000019f51194f28"} 
[2026-07-11 17:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:46: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-07-11 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645637120001,"66":12504,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645637120001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:46:07] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645637120001,"power":12504,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":128679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:46:07] local.INFO: GPS data processed {"connection_id":128679,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:46:07] local.INFO: Acknowledgment sent {"connection_id":128679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:46:08] local.INFO: TCP Data received {"connection_id":130808,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511b0c78012d7ebc0005e0f170000e004429..."} 
[2026-07-11 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511b0c78012d7ebc0005e0f170000e004429..."} 
[2026-07-11 17:46:08] local.INFO: Processing buffer {"connection_id":130808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511b0c78012d7ebc0005e0f170000e004429..."} 
[2026-07-11 17:46:08] local.INFO: Packet analysis {"connection_id":130808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:46:08] local.INFO: Extracted packet for processing {"connection_id":130808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763280384,"raw_latitude":98627952,"longitude_deg":76.3280384,"latitude_deg":9.8627952,"altitude":14,"angle":68,"satellites":41,"speed":30,"hex_longitude":"2d7ebc00","hex_latitude":"05e0f170","is_valid_coordinates":true} 
[2026-07-11 17:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645669888001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105079978374201344,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126896513834969088,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783772155000,"timestamp_ms":1783772155000,"timestamp_seconds":1783772155,"priority":1,"record_length":96,"hex_timestamp":"0000019f511b0c78"} 
[2026-07-11 17:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303144406928807,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":60,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3661103118,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3221302654,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3772889088,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,60,85,24,241,157,16,81,159,233,45,64,223,14,40,10,66,217,220,182,128,1,240,106,227,80,224,4,113,205,48,131,57,32,39,239,50,2,117,5,15,8],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-07-11 17:46:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936806068898496512,"timestamp_seconds":936806068898496.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645669888001,"66":12982,"60":206,"85":15104,"24":30,"16":105079978374201344,"45":9126896513834969088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 17:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645669888001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:46:08] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 17:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105079978374201344,"km_value":105079978374201.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126896513834969088,"description":"Unknown IO ID 45"} 
[2026-07-11 17:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645669888001,"power":12982,"unknown_60":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9126896513834969088}} 
[2026-07-11 17:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":130808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:46:08] local.INFO: GPS data processed {"connection_id":130808,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:46:08] local.INFO: Acknowledgment sent {"connection_id":130808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:46:09] local.INFO: TCP Data received {"connection_id":130809,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:46:09] local.INFO: Processing buffer {"connection_id":130809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:46:09] local.INFO: IMEI packet received {"connection_id":130809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":130809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:46:09] local.INFO: TCP Data received {"connection_id":130809,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f51163630012cbcec00076d82a0004c00af2f..."} 
[2026-07-11 17:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51163630012cbcec00076d82a0004c00af2f..."} 
[2026-07-11 17:46:09] local.INFO: Processing buffer {"connection_id":130809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51163630012cbcec00076d82a0004c00af2f..."} 
[2026-07-11 17:46:09] local.INFO: Packet analysis {"connection_id":130809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:46:09] local.INFO: Extracted packet for processing {"connection_id":130809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5116"} 
[2026-07-11 17:46:09] local.INFO: GPS Element Parsed {"raw_longitude":750578688,"raw_latitude":124617376,"longitude_deg":75.0578688,"latitude_deg":12.4617376,"altitude":76,"angle":175,"satellites":47,"speed":0,"hex_longitude":"2cbcec00","hex_latitude":"076d82a0","is_valid_coordinates":true} 
[2026-07-11 17:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645587200001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833769743149131776,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783771838000,"timestamp_ms":1783771838000,"timestamp_seconds":1783771838,"priority":1,"record_length":96,"hex_timestamp":"0000019f51163630"} 
[2026-07-11 17:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 17:46:09] 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-07-11 17:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645587200001,"66":26636,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833769743149131776},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645587200001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:46:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833769743149131776,"description":"Unknown IO ID 44"} 
[2026-07-11 17:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645587200001,"power":26636,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833769743149131776}} 
[2026-07-11 17:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":130809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:46:10] local.INFO: GPS data processed {"connection_id":130809,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:46:10] local.INFO: Acknowledgment sent {"connection_id":130809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:46:10] local.INFO: TCP Data received {"connection_id":130807,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:46:10] local.INFO: Processing buffer {"connection_id":130807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:46:10] local.INFO: IMEI packet received {"connection_id":130807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":130807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:46:39] local.INFO: TCP Data received {"connection_id":128679,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5119a130012d18964007229e58006f006526..."} 
[2026-07-11 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5119a130012d18964007229e58006f006526..."} 
[2026-07-11 17:46:39] local.INFO: Processing buffer {"connection_id":128679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5119a130012d18964007229e58006f006526..."} 
[2026-07-11 17:46:39] local.INFO: Packet analysis {"connection_id":128679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5119"} 
[2026-07-11 17:46:39] local.INFO: Extracted packet for processing {"connection_id":128679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5119"} 
[2026-07-11 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645642496001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783772062000,"timestamp_ms":1783772062000,"timestamp_seconds":1783772062,"priority":1,"record_length":96,"hex_timestamp":"0000019f5119a130"} 
[2026-07-11 17:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 17:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645642496001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645642496001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:46:39] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645642496001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:46:39] local.INFO: TCP Data received {"connection_id":130808,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511b1448012d7ec1c005e0f320000e004f27..."} 
[2026-07-11 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511b1448012d7ec1c005e0f320000e004f27..."} 
[2026-07-11 17:46:39] local.INFO: Processing buffer {"connection_id":130808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511b1448012d7ec1c005e0f320000e004f27..."} 
[2026-07-11 17:46:39] local.INFO: Packet analysis {"connection_id":130808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:46:39] local.INFO: Extracted packet for processing {"connection_id":130808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763281856,"raw_latitude":98628384,"longitude_deg":76.3281856,"latitude_deg":9.8628384,"altitude":14,"angle":79,"satellites":39,"speed":31,"hex_longitude":"2d7ec1c0","hex_latitude":"05e0f320","is_valid_coordinates":true} 
[2026-07-11 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645671680001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105080051388645376,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132174169649278976,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783772157000,"timestamp_ms":1783772157000,"timestamp_seconds":1783772157,"priority":1,"record_length":96,"hex_timestamp":"0000019f511b1448"} 
[2026-07-11 17:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-11 17:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645671680001,"66":12135,"60":206,"85":15104,"24":31,"16":105080051388645376,"45":9132174169649278976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 17:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645671680001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:46:39] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 17:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105080051388645376,"km_value":105080051388645.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132174169649278976,"description":"Unknown IO ID 45"} 
[2026-07-11 17:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645671680001,"power":12135,"unknown_60":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9132174169649278976}} 
[2026-07-11 17:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":128679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:46:39] local.INFO: GPS data processed {"connection_id":128679,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:46:39] local.INFO: Acknowledgment sent {"connection_id":128679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":130808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:46:39] local.INFO: GPS data processed {"connection_id":130808,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:46:39] local.INFO: Acknowledgment sent {"connection_id":130808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:46:40] local.INFO: TCP Data received {"connection_id":130809,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:46:40] local.INFO: Processing buffer {"connection_id":130809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:46:40] local.INFO: Packet analysis {"connection_id":130809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:46:40] local.INFO: Extracted packet for processing {"connection_id":130809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 17:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:46: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-07-11 17: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:46:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":130809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:46:40] local.INFO: GPS data processed {"connection_id":130809,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:46:40] local.INFO: Acknowledgment sent {"connection_id":130809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:46:50] local.INFO: TCP Data received {"connection_id":128680,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:46:50] local.INFO: Processing buffer {"connection_id":128680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:46:50] local.INFO: IMEI packet received {"connection_id":128680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":128680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:46:59] local.INFO: TCP Data received {"connection_id":129568,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:46:59] local.INFO: Processing buffer {"connection_id":129568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:46:59] local.INFO: IMEI packet received {"connection_id":129568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":129568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:47:02] local.INFO: TCP Data received {"connection_id":128863,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:47:02] local.INFO: Processing buffer {"connection_id":128863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:47:02] local.INFO: IMEI packet received {"connection_id":128863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":128863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:47:03] local.INFO: TCP Data received {"connection_id":128863,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:47:03] local.INFO: Processing buffer {"connection_id":128863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:47:03] local.INFO: IMEI packet received {"connection_id":128863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":128863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:47:04] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:47:04] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:47:04] local.INFO: IMEI packet received {"connection_id":128862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:47:04] local.INFO: TCP Data received {"connection_id":129568,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:47:04] local.INFO: Processing buffer {"connection_id":129568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:47:04] local.INFO: IMEI packet received {"connection_id":129568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":129568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:47:06] local.INFO: TCP Data received {"connection_id":129568,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5119f338012d18964007229e58006f006525..."} 
[2026-07-11 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5119f338012d18964007229e58006f006525..."} 
[2026-07-11 17:47:06] local.INFO: Processing buffer {"connection_id":129568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5119f338012d18964007229e58006f006525..."} 
[2026-07-11 17:47:06] local.INFO: Packet analysis {"connection_id":129568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5119"} 
[2026-07-11 17:47:06] local.INFO: Extracted packet for processing {"connection_id":129568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5119"} 
[2026-07-11 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645647872001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783772083000,"timestamp_ms":1783772083000,"timestamp_seconds":1783772083,"priority":1,"record_length":96,"hex_timestamp":"0000019f5119f338"} 
[2026-07-11 17:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645647872001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645647872001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:47:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645647872001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":129568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:47:06] local.INFO: GPS data processed {"connection_id":129568,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:47:06] local.INFO: Acknowledgment sent {"connection_id":129568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:47:08] local.INFO: TCP Data received {"connection_id":128863,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:47:08] local.INFO: Processing buffer {"connection_id":128863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:47:08] local.INFO: IMEI packet received {"connection_id":128863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":128863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:47:08] local.INFO: TCP Data received {"connection_id":128863,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511b3388012d7ed90005e0f5a8000e005b26..."} 
[2026-07-11 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511b3388012d7ed90005e0f5a8000e005b26..."} 
[2026-07-11 17:47:08] local.INFO: Processing buffer {"connection_id":128863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511b3388012d7ed90005e0f5a8000e005b26..."} 
[2026-07-11 17:47:08] local.INFO: Packet analysis {"connection_id":128863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:47:08] local.INFO: Extracted packet for processing {"connection_id":128863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":98629032,"longitude_deg":76.3287808,"latitude_deg":9.8629032,"altitude":14,"angle":91,"satellites":38,"speed":27,"hex_longitude":"2d7ed900","hex_latitude":"05e0f5a8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645672192001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105080339151454208,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133792650765475840,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783772165000,"timestamp_ms":1783772165000,"timestamp_seconds":1783772165,"priority":1,"record_length":96,"hex_timestamp":"0000019f511b3388"} 
[2026-07-11 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-07-11 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-11 17:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645672192001,"66":13037,"60":206,"85":15104,"24":27,"16":105080339151454208,"45":9133792650765475840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 17:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645672192001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:47:08] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 17:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105080339151454208,"km_value":105080339151454.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133792650765475840,"description":"Unknown IO ID 45"} 
[2026-07-11 17:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645672192001,"power":13037,"unknown_60":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9133792650765475840}} 
[2026-07-11 17:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":128863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:47:08] local.INFO: GPS data processed {"connection_id":128863,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:47:08] local.INFO: Acknowledgment sent {"connection_id":128863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:47:09] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:47:09] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:47:09] local.INFO: IMEI packet received {"connection_id":128862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":128862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:47:09] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:47:09] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:47:09] local.INFO: Packet analysis {"connection_id":128862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:47:09] local.INFO: Extracted packet for processing {"connection_id":128862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 17:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:47: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-07-11 17: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:47: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-07-11 17:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:47:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":128862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:47:09] local.INFO: GPS data processed {"connection_id":128862,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:47:09] local.INFO: Acknowledgment sent {"connection_id":128862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:47:37] local.INFO: TCP Data received {"connection_id":129568,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511a4540012d18964007229e58006f006528..."} 
[2026-07-11 17:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511a4540012d18964007229e58006f006528..."} 
[2026-07-11 17:47:37] local.INFO: Processing buffer {"connection_id":129568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511a4540012d18964007229e58006f006528..."} 
[2026-07-11 17:47:37] local.INFO: Packet analysis {"connection_id":129568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:47:37] local.INFO: Extracted packet for processing {"connection_id":129568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645653248001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783772104000,"timestamp_ms":1783772104000,"timestamp_seconds":1783772104,"priority":1,"record_length":96,"hex_timestamp":"0000019f511a4540"} 
[2026-07-11 17:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645653248001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645653248001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:47:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645653248001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":129568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:47:37] local.INFO: GPS data processed {"connection_id":129568,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:47:37] local.INFO: Acknowledgment sent {"connection_id":129568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:47:39] local.INFO: TCP Data received {"connection_id":128863,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511c7ba8012d7fd80005e0b030000f009428..."} 
[2026-07-11 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511c7ba8012d7fd80005e0b030000f009428..."} 
[2026-07-11 17:47:39] local.INFO: Processing buffer {"connection_id":128863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511c7ba8012d7fd80005e0b030000f009428..."} 
[2026-07-11 17:47:39] local.INFO: Packet analysis {"connection_id":128863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:47:39] local.INFO: Extracted packet for processing {"connection_id":128863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763353088,"raw_latitude":98611248,"longitude_deg":76.3353088,"latitude_deg":9.8611248,"altitude":15,"angle":148,"satellites":40,"speed":34,"hex_longitude":"2d7fd800","hex_latitude":"05e0b030","is_valid_coordinates":true} 
[2026-07-11 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645694208001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105083745060519936,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207609463404560384,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783772249000,"timestamp_ms":1783772249000,"timestamp_seconds":1783772249,"priority":1,"record_length":96,"hex_timestamp":"0000019f511c7ba8"} 
[2026-07-11 17:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:47: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-07-11 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-11 17:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645694208001,"66":12906,"122":206,"85":15104,"24":34,"16":105083745060519936,"45":9207609463404560384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-11 17:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645694208001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:47:39] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-11 17:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105083745060519936,"km_value":105083745060519.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207609463404560384,"description":"Unknown IO ID 45"} 
[2026-07-11 17:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645694208001,"power":12906,"unknown_122":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9207609463404560384}} 
[2026-07-11 17:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":128863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:47:39] local.INFO: GPS data processed {"connection_id":128863,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:47:39] local.INFO: Acknowledgment sent {"connection_id":128863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:47:41] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:47:41] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:47:41] local.INFO: Packet analysis {"connection_id":128862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:47:41] local.INFO: Extracted packet for processing {"connection_id":128862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 17:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 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-07-11 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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:47:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":128862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:47:41] local.INFO: GPS data processed {"connection_id":128862,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:47:41] local.INFO: Acknowledgment sent {"connection_id":128862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:48:02] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:02] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:02] local.INFO: IMEI packet received {"connection_id":128681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":128681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:48:04] local.INFO: TCP Data received {"connection_id":130811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:48:04] local.INFO: Processing buffer {"connection_id":130811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:48:04] local.INFO: IMEI packet received {"connection_id":130811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":130811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:48:04] local.INFO: TCP Data received {"connection_id":130810,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:48:04] local.INFO: Processing buffer {"connection_id":130810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:48:04] local.INFO: IMEI packet received {"connection_id":130810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":130810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:48:05] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:05] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:05] local.INFO: IMEI packet received {"connection_id":128681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":128681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:48:05] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:05] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:05] local.INFO: IMEI packet received {"connection_id":128681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":128681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:48:08] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:08] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:48:08] local.INFO: IMEI packet received {"connection_id":128681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":128681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:48:09] local.INFO: TCP Data received {"connection_id":130811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:48:09] local.INFO: Processing buffer {"connection_id":130811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:48:09] local.INFO: IMEI packet received {"connection_id":130811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":130811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:48:09] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511c7f90012d7fd94005e0ad20000e00a127..."} 
[2026-07-11 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511c7f90012d7fd94005e0ad20000e00a127..."} 
[2026-07-11 17:48:09] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511c7f90012d7fd94005e0ad20000e00a127..."} 
[2026-07-11 17:48:09] local.INFO: Packet analysis {"connection_id":128681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:48:09] local.INFO: Extracted packet for processing {"connection_id":128681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763353408,"raw_latitude":98610464,"longitude_deg":76.3353408,"latitude_deg":9.8610464,"altitude":14,"angle":161,"satellites":39,"speed":33,"hex_longitude":"2d7fd940","hex_latitude":"05e0ad20","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645695744001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105083788010192896,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212113063030829056,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772250000,"timestamp_ms":1783772250000,"timestamp_seconds":1783772250,"priority":1,"record_length":96,"hex_timestamp":"0000019f511c7f90"} 
[2026-07-11 17:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-11 17:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645695744001,"66":12906,"122":206,"85":15104,"24":33,"16":105083788010192896,"45":9212113063030829056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-11 17:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645695744001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:48:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-11 17:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105083788010192896,"km_value":105083788010192.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212113063030829056,"description":"Unknown IO ID 45"} 
[2026-07-11 17:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645695744001,"power":12906,"unknown_122":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9212113063030829056}} 
[2026-07-11 17:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":128681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:48:09] local.INFO: GPS data processed {"connection_id":128681,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:48:09] local.INFO: Acknowledgment sent {"connection_id":128681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:48:09] local.INFO: TCP Data received {"connection_id":130811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:48:09] local.INFO: Processing buffer {"connection_id":130811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:48:09] local.INFO: Packet analysis {"connection_id":130811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:48:09] local.INFO: Extracted packet for processing {"connection_id":130811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 17:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:48: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-07-11 17: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17: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-07-11 17:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:48:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":130811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:48:10] local.INFO: GPS data processed {"connection_id":130811,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:48:10] local.INFO: Acknowledgment sent {"connection_id":130811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:48:10] local.INFO: TCP Data received {"connection_id":130810,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:48:10] local.INFO: Processing buffer {"connection_id":130810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:48:10] local.INFO: IMEI packet received {"connection_id":130810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":130810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:48:11] local.INFO: TCP Data received {"connection_id":130810,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511a9748012d18964007229e58006f006528..."} 
[2026-07-11 17:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511a9748012d18964007229e58006f006528..."} 
[2026-07-11 17:48:11] local.INFO: Processing buffer {"connection_id":130810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511a9748012d18964007229e58006f006528..."} 
[2026-07-11 17:48:11] local.INFO: Packet analysis {"connection_id":130810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:48:11] local.INFO: Extracted packet for processing {"connection_id":130810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645658624001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783772125000,"timestamp_ms":1783772125000,"timestamp_seconds":1783772125,"priority":1,"record_length":96,"hex_timestamp":"0000019f511a9748"} 
[2026-07-11 17:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645658624001,"66":12504,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645658624001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:48:11] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645658624001,"power":12504,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":130810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:48:11] local.INFO: GPS data processed {"connection_id":130810,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:48:11] local.INFO: Acknowledgment sent {"connection_id":130810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:48:17] local.INFO: TCP Data received {"connection_id":130810,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ae950012d18964007229e58006f006528..."} 
[2026-07-11 17:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ae950012d18964007229e58006f006528..."} 
[2026-07-11 17:48:17] local.INFO: Processing buffer {"connection_id":130810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ae950012d18964007229e58006f006528..."} 
[2026-07-11 17:48:17] local.INFO: Packet analysis {"connection_id":130810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:48:17] local.INFO: Extracted packet for processing {"connection_id":130810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645664000001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783772146000,"timestamp_ms":1783772146000,"timestamp_seconds":1783772146,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ae950"} 
[2026-07-11 17:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:48: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-07-11 17:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 17:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645664000001,"66":11928,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645664000001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:48:17] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:48:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645664000001,"power":11928,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":130810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:48:18] local.INFO: GPS data processed {"connection_id":130810,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:48:18] local.INFO: Acknowledgment sent {"connection_id":130810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:48:40] local.INFO: TCP Data received {"connection_id":128681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511c8760012d7fda0005e0a650000e00b428..."} 
[2026-07-11 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511c8760012d7fda0005e0a650000e00b428..."} 
[2026-07-11 17:48:40] local.INFO: Processing buffer {"connection_id":128681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511c8760012d7fda0005e0a650000e00b428..."} 
[2026-07-11 17:48:40] local.INFO: Packet analysis {"connection_id":128681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:48:40] local.INFO: Extracted packet for processing {"connection_id":128681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763353600,"raw_latitude":98608720,"longitude_deg":76.33536,"latitude_deg":9.860872,"altitude":14,"angle":180,"satellites":40,"speed":36,"hex_longitude":"2d7fda00","hex_latitude":"05e0a650","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645696000001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105083873909538816,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212464906751516672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772252000,"timestamp_ms":1783772252000,"timestamp_seconds":1783772252,"priority":1,"record_length":96,"hex_timestamp":"0000019f511c8760"} 
[2026-07-11 17:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-11 17:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645696000001,"66":12602,"122":206,"85":15104,"24":36,"16":105083873909538816,"45":9212464906751516672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-11 17:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645696000001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:48:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-11 17:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105083873909538816,"km_value":105083873909538.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212464906751516672,"description":"Unknown IO ID 45"} 
[2026-07-11 17:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645696000001,"power":12602,"unknown_122":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9212464906751516672}} 
[2026-07-11 17:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":128681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:48:40] local.INFO: GPS data processed {"connection_id":128681,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:48:40] local.INFO: Acknowledgment sent {"connection_id":128681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:48:41] local.INFO: TCP Data received {"connection_id":130811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:48:41] local.INFO: Processing buffer {"connection_id":130811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:48:41] local.INFO: Packet analysis {"connection_id":130811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:48:41] local.INFO: Extracted packet for processing {"connection_id":130811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:48:41] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 17:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:48: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-07-11 17:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:48:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":130811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:48:41] local.INFO: GPS data processed {"connection_id":130811,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:48:41] local.INFO: Acknowledgment sent {"connection_id":130811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:49:00] local.INFO: TCP Data received {"connection_id":128682,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:49:00] local.INFO: Processing buffer {"connection_id":128682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:49:00] local.INFO: IMEI packet received {"connection_id":128682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":128682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:49:02] local.INFO: TCP Data received {"connection_id":128866,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:49:02] local.INFO: Processing buffer {"connection_id":128866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:49:02] local.INFO: IMEI packet received {"connection_id":128866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":128866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:49:03] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:49:03] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:49:03] local.INFO: IMEI packet received {"connection_id":128865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":128865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:49:04] local.INFO: TCP Data received {"connection_id":128682,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:49:04] local.INFO: Processing buffer {"connection_id":128682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:49:04] local.INFO: IMEI packet received {"connection_id":128682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":128682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:49:06] local.INFO: TCP Data received {"connection_id":128682,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511b3b58012d18964007229e58006f006527..."} 
[2026-07-11 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511b3b58012d18964007229e58006f006527..."} 
[2026-07-11 17:49:06] local.INFO: Processing buffer {"connection_id":128682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511b3b58012d18964007229e58006f006527..."} 
[2026-07-11 17:49:06] local.INFO: Packet analysis {"connection_id":128682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:49:06] local.INFO: Extracted packet for processing {"connection_id":128682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645669376001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783772167000,"timestamp_ms":1783772167000,"timestamp_seconds":1783772167,"priority":1,"record_length":96,"hex_timestamp":"0000019f511b3b58"} 
[2026-07-11 17:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 17:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645669376001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645669376001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:49:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:49:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645669376001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":128682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:49:06] local.INFO: GPS data processed {"connection_id":128682,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:49:06] local.INFO: Acknowledgment sent {"connection_id":128682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:49:06] local.INFO: TCP Data received {"connection_id":128866,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:49:06] local.INFO: Processing buffer {"connection_id":128866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:49:06] local.INFO: IMEI packet received {"connection_id":128866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":128866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:49:07] local.INFO: TCP Data received {"connection_id":128866,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:49:07] local.INFO: Processing buffer {"connection_id":128866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:49:07] local.INFO: IMEI packet received {"connection_id":128866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":128866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:49:08] local.INFO: TCP Data received {"connection_id":128866,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511d7990012d8011c005dfd730000d009326..."} 
[2026-07-11 17:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511d7990012d8011c005dfd730000d009326..."} 
[2026-07-11 17:49:08] local.INFO: Processing buffer {"connection_id":128866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511d7990012d8011c005dfd730000d009326..."} 
[2026-07-11 17:49:08] local.INFO: Packet analysis {"connection_id":128866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:49:08] local.INFO: Extracted packet for processing {"connection_id":128866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763367872,"raw_latitude":98555696,"longitude_deg":76.3367872,"latitude_deg":9.8555696,"altitude":13,"angle":147,"satellites":38,"speed":31,"hex_longitude":"2d8011c0","hex_latitude":"05dfd730","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645711360001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105086601213771776,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220135049391497216,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783772314000,"timestamp_ms":1783772314000,"timestamp_seconds":1783772314,"priority":1,"record_length":96,"hex_timestamp":"0000019f511d7990"} 
[2026-07-11 17:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 17:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645711360001,"66":11830,"121":206,"85":15104,"24":31,"16":105086601213771776,"45":-9220135049391497216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-11 17:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645711360001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:49:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 17:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105086601213771776,"km_value":105086601213771.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220135049391497216,"description":"Unknown IO ID 45"} 
[2026-07-11 17:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645711360001,"power":11830,"unknown_121":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9220135049391497216}} 
[2026-07-11 17:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":128866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:49:08] local.INFO: GPS data processed {"connection_id":128866,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:49:08] local.INFO: Acknowledgment sent {"connection_id":128866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:49:09] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:49:09] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:49:09] local.INFO: IMEI packet received {"connection_id":128865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":128865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:49:09] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:49:09] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:49:09] local.INFO: Packet analysis {"connection_id":128865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:49:09] local.INFO: Extracted packet for processing {"connection_id":128865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:49:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 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-07-11 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-07-11 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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:49:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:49:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":128865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:49:09] local.INFO: GPS data processed {"connection_id":128865,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:49:09] local.INFO: Acknowledgment sent {"connection_id":128865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:49:37] local.INFO: TCP Data received {"connection_id":128682,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511b8d60012d18964007229e58006f006527..."} 
[2026-07-11 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511b8d60012d18964007229e58006f006527..."} 
[2026-07-11 17:49:37] local.INFO: Processing buffer {"connection_id":128682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511b8d60012d18964007229e58006f006527..."} 
[2026-07-11 17:49:37] local.INFO: Packet analysis {"connection_id":128682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:49:37] local.INFO: Extracted packet for processing {"connection_id":128682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645674752001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783772188000,"timestamp_ms":1783772188000,"timestamp_seconds":1783772188,"priority":1,"record_length":96,"hex_timestamp":"0000019f511b8d60"} 
[2026-07-11 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-07-11 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645674752001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645674752001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:49:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645674752001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":128682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:49:38] local.INFO: GPS data processed {"connection_id":128682,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:49:38] local.INFO: Acknowledgment sent {"connection_id":128682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:49:39] local.INFO: TCP Data received {"connection_id":128866,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511dbfe0012d801b0005dfc6a8000e009e26..."} 
[2026-07-11 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511dbfe0012d801b0005dfc6a8000e009e26..."} 
[2026-07-11 17:49:39] local.INFO: Processing buffer {"connection_id":128866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511dbfe0012d801b0005dfc6a8000e009e26..."} 
[2026-07-11 17:49:39] local.INFO: Packet analysis {"connection_id":128866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:49:39] local.INFO: Extracted packet for processing {"connection_id":128866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763370240,"raw_latitude":98551464,"longitude_deg":76.337024,"latitude_deg":9.8551464,"altitude":14,"angle":158,"satellites":38,"speed":15,"hex_longitude":"2d801b00","hex_latitude":"05dfc6a8","is_valid_coordinates":true} 
[2026-07-11 17:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645712384001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105086841731940352,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218375830787903488,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783772332000,"timestamp_ms":1783772332000,"timestamp_seconds":1783772332,"priority":1,"record_length":96,"hex_timestamp":"0000019f511dbfe0"} 
[2026-07-11 17:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-11 17:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645712384001,"66":13222,"121":206,"85":15104,"24":15,"16":105086841731940352,"45":-9218375830787903488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-11 17:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645712384001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:49:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 17:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105086841731940352,"km_value":105086841731940.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218375830787903488,"description":"Unknown IO ID 45"} 
[2026-07-11 17:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645712384001,"power":13222,"unknown_121":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9218375830787903488}} 
[2026-07-11 17:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":128866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:49:39] local.INFO: GPS data processed {"connection_id":128866,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:49:39] local.INFO: Acknowledgment sent {"connection_id":128866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:49:40] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:49:40] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:49:40] local.INFO: Packet analysis {"connection_id":128865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:49:40] local.INFO: Extracted packet for processing {"connection_id":128865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:49:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 17:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:49: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-07-11 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:49:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":128865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:49:40] local.INFO: GPS data processed {"connection_id":128865,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:49:40] local.INFO: Acknowledgment sent {"connection_id":128865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:50:00] local.INFO: TCP Data received {"connection_id":130812,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:50:00] local.INFO: Processing buffer {"connection_id":130812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:50:00] local.INFO: IMEI packet received {"connection_id":130812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":130812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:50:02] local.INFO: TCP Data received {"connection_id":129571,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:50:02] local.INFO: Processing buffer {"connection_id":129571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:50:02] local.INFO: IMEI packet received {"connection_id":129571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":129571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:50:03] local.INFO: TCP Data received {"connection_id":129570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:50:03] local.INFO: Processing buffer {"connection_id":129570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:50:03] local.INFO: IMEI packet received {"connection_id":129570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":129570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:50:04] local.INFO: TCP Data received {"connection_id":130812,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:50:04] local.INFO: Processing buffer {"connection_id":130812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:50:04] local.INFO: IMEI packet received {"connection_id":130812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":130812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:50:05] local.INFO: TCP Data received {"connection_id":130812,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511bdf68012d18964007229e58006f006526..."} 
[2026-07-11 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511bdf68012d18964007229e58006f006526..."} 
[2026-07-11 17:50:05] local.INFO: Processing buffer {"connection_id":130812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511bdf68012d18964007229e58006f006526..."} 
[2026-07-11 17:50:05] local.INFO: Packet analysis {"connection_id":130812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:50:05] local.INFO: Extracted packet for processing {"connection_id":130812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511b"} 
[2026-07-11 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645680128001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783772209000,"timestamp_ms":1783772209000,"timestamp_seconds":1783772209,"priority":1,"record_length":96,"hex_timestamp":"0000019f511bdf68"} 
[2026-07-11 17:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:50: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-07-11 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645680128001,"66":12374,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645680128001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:50:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645680128001,"power":12374,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":130812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:50:05] local.INFO: GPS data processed {"connection_id":130812,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:50:05] local.INFO: Acknowledgment sent {"connection_id":130812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:50:08] local.INFO: TCP Data received {"connection_id":129571,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:50:08] local.INFO: Processing buffer {"connection_id":129571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:50:08] local.INFO: IMEI packet received {"connection_id":129571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":129571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:50:09] local.INFO: TCP Data received {"connection_id":129571,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511df2a8012d80290005dfa6d8000d009d27..."} 
[2026-07-11 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511df2a8012d80290005dfa6d8000d009d27..."} 
[2026-07-11 17:50:09] local.INFO: Processing buffer {"connection_id":129571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511df2a8012d80290005dfa6d8000d009d27..."} 
[2026-07-11 17:50:09] local.INFO: Packet analysis {"connection_id":129571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:50:09] local.INFO: Extracted packet for processing {"connection_id":129571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763373824,"raw_latitude":98543320,"longitude_deg":76.3373824,"latitude_deg":9.854332,"altitude":13,"angle":157,"satellites":39,"speed":27,"hex_longitude":"2d802900","hex_latitude":"05dfa6d8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645716992001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105087271228669952,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215772187254413312,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772345000,"timestamp_ms":1783772345000,"timestamp_seconds":1783772345,"priority":1,"record_length":96,"hex_timestamp":"0000019f511df2a8"} 
[2026-07-11 17:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:50:09] 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-07-11 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 17:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645716992001,"66":13015,"121":206,"85":15104,"24":27,"16":105087271228669952,"45":-9215772187254413312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-11 17:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645716992001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:50:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 17:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105087271228669952,"km_value":105087271228669.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215772187254413312,"description":"Unknown IO ID 45"} 
[2026-07-11 17:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645716992001,"power":13015,"unknown_121":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9215772187254413312}} 
[2026-07-11 17:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":129571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:50:09] local.INFO: GPS data processed {"connection_id":129571,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:50:09] local.INFO: Acknowledgment sent {"connection_id":129571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:50:09] local.INFO: TCP Data received {"connection_id":129570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:50:09] local.INFO: Processing buffer {"connection_id":129570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:50:09] local.INFO: IMEI packet received {"connection_id":129570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":129570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:50:10] local.INFO: TCP Data received {"connection_id":129570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:50:10] local.INFO: Processing buffer {"connection_id":129570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:50:10] local.INFO: Packet analysis {"connection_id":129570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:50:10] local.INFO: Extracted packet for processing {"connection_id":129570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 17:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:50:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":129570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:50:10] local.INFO: GPS data processed {"connection_id":129570,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:50:10] local.INFO: Acknowledgment sent {"connection_id":129570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:50:41] local.INFO: TCP Data received {"connection_id":129571,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511e11e8012d80328005df90a0000c009227..."} 
[2026-07-11 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511e11e8012d80328005df90a0000c009227..."} 
[2026-07-11 17:50:41] local.INFO: Processing buffer {"connection_id":129571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511e11e8012d80328005df90a0000c009227..."} 
[2026-07-11 17:50:41] local.INFO: Packet analysis {"connection_id":129571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511e"} 
[2026-07-11 17:50:41] local.INFO: Extracted packet for processing {"connection_id":129571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511e"} 
[2026-07-11 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763376256,"raw_latitude":98537632,"longitude_deg":76.3376256,"latitude_deg":9.8537632,"altitude":12,"angle":146,"satellites":39,"speed":28,"hex_longitude":"2d803280","hex_latitude":"05df90a0","is_valid_coordinates":true} 
[2026-07-11 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645720320001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105087571876380672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9211831537582548992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772353000,"timestamp_ms":1783772353000,"timestamp_seconds":1783772353,"priority":1,"record_length":96,"hex_timestamp":"0000019f511e11e8"} 
[2026-07-11 17:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 17:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645720320001,"66":12961,"121":206,"85":15104,"24":28,"16":105087571876380672,"45":-9211831537582548992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645720320001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105087571876380672,"km_value":105087571876380.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9211831537582548992,"description":"Unknown IO ID 45"} 
[2026-07-11 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645720320001,"power":12961,"unknown_121":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9211831537582548992}} 
[2026-07-11 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":129571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:50:41] local.INFO: GPS data processed {"connection_id":129571,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:50:41] local.INFO: Acknowledgment sent {"connection_id":129571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:50:41] local.INFO: TCP Data received {"connection_id":129570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:50:41] local.INFO: Processing buffer {"connection_id":129570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:50:41] local.INFO: Packet analysis {"connection_id":129570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:50:41] local.INFO: Extracted packet for processing {"connection_id":129570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 17:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:50: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-07-11 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":129570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:50:41] local.INFO: GPS data processed {"connection_id":129570,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:50:41] local.INFO: Acknowledgment sent {"connection_id":129570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:50:41] local.INFO: TCP Data received {"connection_id":130812,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511c3170012d18964007229e58006f006528..."} 
[2026-07-11 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511c3170012d18964007229e58006f006528..."} 
[2026-07-11 17:50:41] local.INFO: Processing buffer {"connection_id":130812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511c3170012d18964007229e58006f006528..."} 
[2026-07-11 17:50:41] local.INFO: Packet analysis {"connection_id":130812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:50:41] local.INFO: Extracted packet for processing {"connection_id":130812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645685504001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772230000,"timestamp_ms":1783772230000,"timestamp_seconds":1783772230,"priority":1,"record_length":96,"hex_timestamp":"0000019f511c3170"} 
[2026-07-11 17:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:50: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-07-11 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-11 17:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645685504001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645685504001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645685504001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":130812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:50:41] local.INFO: GPS data processed {"connection_id":130812,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:50:41] local.INFO: Acknowledgment sent {"connection_id":130812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:50:59] local.INFO: TCP Data received {"connection_id":128867,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:50:59] local.INFO: Processing buffer {"connection_id":128867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:50:59] local.INFO: IMEI packet received {"connection_id":128867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":128867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:51:03] local.INFO: TCP Data received {"connection_id":129572,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:51:03] local.INFO: Processing buffer {"connection_id":129572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:51:03] local.INFO: IMEI packet received {"connection_id":129572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":129572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:51:04] local.INFO: TCP Data received {"connection_id":128867,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:51:04] local.INFO: Processing buffer {"connection_id":128867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:51:04] local.INFO: IMEI packet received {"connection_id":128867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":128867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:51:05] local.INFO: TCP Data received {"connection_id":128867,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511c8378012d18964007229e58006f006529..."} 
[2026-07-11 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511c8378012d18964007229e58006f006529..."} 
[2026-07-11 17:51:05] local.INFO: Processing buffer {"connection_id":128867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511c8378012d18964007229e58006f006529..."} 
[2026-07-11 17:51:05] local.INFO: Packet analysis {"connection_id":128867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:51:05] local.INFO: Extracted packet for processing {"connection_id":128867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645690880001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783772251000,"timestamp_ms":1783772251000,"timestamp_seconds":1783772251,"priority":1,"record_length":96,"hex_timestamp":"0000019f511c8378"} 
[2026-07-11 17:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645690880001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645690880001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:51:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645690880001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":128867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:51:06] local.INFO: GPS data processed {"connection_id":128867,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:51:06] local.INFO: Acknowledgment sent {"connection_id":128867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:51:08] local.INFO: TCP Data received {"connection_id":128868,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:51:08] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:51:08] local.INFO: IMEI packet received {"connection_id":128868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":128868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:51:09] local.INFO: TCP Data received {"connection_id":129572,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:51:09] local.INFO: Processing buffer {"connection_id":129572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:51:09] local.INFO: IMEI packet received {"connection_id":129572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":129572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:51:09] local.INFO: TCP Data received {"connection_id":129572,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:51:09] local.INFO: Processing buffer {"connection_id":129572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ad9b0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 17:51:09] local.INFO: Packet analysis {"connection_id":129572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:51:09] local.INFO: Extracted packet for processing {"connection_id":129572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511a"} 
[2026-07-11 17:51:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645590528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268173336576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772142000,"timestamp_ms":1783772142000,"timestamp_seconds":1783772142,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ad9b0"} 
[2026-07-11 17:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:51: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-07-11 17: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 17:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:51: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-07-11 17:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645590528001,"66":26267,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4833488268173336576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645590528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:51:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268173336576,"description":"Unknown IO ID 44"} 
[2026-07-11 17:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645590528001,"power":26267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4833488268173336576}} 
[2026-07-11 17:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":129572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:51:09] local.INFO: GPS data processed {"connection_id":129572,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:51:09] local.INFO: Acknowledgment sent {"connection_id":129572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:51:10] local.INFO: TCP Data received {"connection_id":128868,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:51:10] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:51:10] local.INFO: IMEI packet received {"connection_id":128868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":128868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:51:12] local.INFO: TCP Data received {"connection_id":128868,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:51:12] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:51:12] local.INFO: IMEI packet received {"connection_id":128868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":128868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:51:13] local.INFO: TCP Data received {"connection_id":128868,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f69a8012d80680005dea278000700b527..."} 
[2026-07-11 17:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f69a8012d80680005dea278000700b527..."} 
[2026-07-11 17:51:13] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f69a8012d80680005dea278000700b527..."} 
[2026-07-11 17:51:13] local.INFO: Packet analysis {"connection_id":128868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:51:13] local.INFO: Extracted packet for processing {"connection_id":128868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763389952,"raw_latitude":98476664,"longitude_deg":76.3389952,"latitude_deg":9.8476664,"altitude":7,"angle":181,"satellites":39,"speed":27,"hex_longitude":"2d806800","hex_latitude":"05dea278","is_valid_coordinates":true} 
[2026-07-11 17:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645741568001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105090672842768384,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196209676389916672,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783772441000,"timestamp_ms":1783772441000,"timestamp_seconds":1783772441,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f69a8"} 
[2026-07-11 17:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 17:51:13] 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-07-11 17:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645741568001,"66":12885,"99":206,"85":15104,"24":27,"16":105090672842768384,"45":-9196209676389916672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-11 17:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645741568001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:51:13] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-11 17:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105090672842768384,"km_value":105090672842768.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196209676389916672,"description":"Unknown IO ID 45"} 
[2026-07-11 17:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645741568001,"power":12885,"unknown_99":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9196209676389916672}} 
[2026-07-11 17:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":128868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:51:13] local.INFO: GPS data processed {"connection_id":128868,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:51:13] local.INFO: Acknowledgment sent {"connection_id":128868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:51:18] local.INFO: TCP Data received {"connection_id":128868,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012d80674005de9cf0000800c527..."} 
[2026-07-11 17:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012d80674005de9cf0000800c527..."} 
[2026-07-11 17:51:18] local.INFO: Processing buffer {"connection_id":128868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012d80674005de9cf0000800c527..."} 
[2026-07-11 17:51:18] local.INFO: Packet analysis {"connection_id":128868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:51:18] local.INFO: Extracted packet for processing {"connection_id":128868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":763389760,"raw_latitude":98475248,"longitude_deg":76.338976,"latitude_deg":9.8475248,"altitude":8,"angle":197,"satellites":39,"speed":28,"hex_longitude":"2d806740","hex_latitude":"05de9cf0","is_valid_coordinates":true} 
[2026-07-11 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645744896001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105090741562245120,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194098614066841600,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 17:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 17:51:18] 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-07-11 17:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645744896001,"66":12917,"99":206,"85":15104,"24":28,"16":105090741562245120,"45":-9194098614066841600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-11 17:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645744896001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:51:18] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-11 17:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105090741562245120,"km_value":105090741562245.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194098614066841600,"description":"Unknown IO ID 45"} 
[2026-07-11 17:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645744896001,"power":12917,"unknown_99":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9194098614066841600}} 
[2026-07-11 17:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":128868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:51:18] local.INFO: GPS data processed {"connection_id":128868,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:51:18] local.INFO: Acknowledgment sent {"connection_id":128868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:51:37] local.INFO: TCP Data received {"connection_id":128867,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511cd580012d18964007229e58006f006525..."} 
[2026-07-11 17:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511cd580012d18964007229e58006f006525..."} 
[2026-07-11 17:51:37] local.INFO: Processing buffer {"connection_id":128867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511cd580012d18964007229e58006f006525..."} 
[2026-07-11 17:51:37] local.INFO: Packet analysis {"connection_id":128867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:51:37] local.INFO: Extracted packet for processing {"connection_id":128867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511c"} 
[2026-07-11 17:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645696256001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783772272000,"timestamp_ms":1783772272000,"timestamp_seconds":1783772272,"priority":1,"record_length":96,"hex_timestamp":"0000019f511cd580"} 
[2026-07-11 17:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645696256001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645696256001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:51:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645696256001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":128867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:51:37] local.INFO: GPS data processed {"connection_id":128867,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:51:37] local.INFO: Acknowledgment sent {"connection_id":128867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:51:40] local.INFO: TCP Data received {"connection_id":129572,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:51:40] local.INFO: Processing buffer {"connection_id":129572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:51:40] local.INFO: Packet analysis {"connection_id":129572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:51:40] local.INFO: Extracted packet for processing {"connection_id":129572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:51:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 17:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:51: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-07-11 17: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:51:40] 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-07-11 17: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-07-11 17:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:51:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":129572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:51:40] local.INFO: GPS data processed {"connection_id":129572,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:51:40] local.INFO: Acknowledgment sent {"connection_id":129572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:51:59] local.INFO: TCP Data received {"connection_id":128684,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:51:59] local.INFO: Processing buffer {"connection_id":128684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:51:59] local.INFO: IMEI packet received {"connection_id":128684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":128684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:52:00] local.INFO: TCP Data received {"connection_id":128684,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:52:00] local.INFO: Processing buffer {"connection_id":128684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:52:00] local.INFO: IMEI packet received {"connection_id":128684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":128684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:52:03] local.INFO: TCP Data received {"connection_id":130814,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:52:03] local.INFO: Processing buffer {"connection_id":130814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:52:03] local.INFO: IMEI packet received {"connection_id":130814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":130814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:52:03] local.INFO: TCP Data received {"connection_id":130814,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:52:03] local.INFO: Processing buffer {"connection_id":130814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:52:03] local.INFO: IMEI packet received {"connection_id":130814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":130814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:52:04] local.INFO: TCP Data received {"connection_id":128685,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:52:04] local.INFO: Processing buffer {"connection_id":128685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:52:04] local.INFO: IMEI packet received {"connection_id":128685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":128685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:52:04] local.INFO: TCP Data received {"connection_id":128684,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:52:04] local.INFO: Processing buffer {"connection_id":128684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:52:04] local.INFO: IMEI packet received {"connection_id":128684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":128684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:52:05] local.INFO: TCP Data received {"connection_id":128684,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511d2788012d18964007229e58006f006529..."} 
[2026-07-11 17:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511d2788012d18964007229e58006f006529..."} 
[2026-07-11 17:52:05] local.INFO: Processing buffer {"connection_id":128684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511d2788012d18964007229e58006f006529..."} 
[2026-07-11 17:52:05] local.INFO: Packet analysis {"connection_id":128684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:52:05] local.INFO: Extracted packet for processing {"connection_id":128684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645701632001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783772293000,"timestamp_ms":1783772293000,"timestamp_seconds":1783772293,"priority":1,"record_length":96,"hex_timestamp":"0000019f511d2788"} 
[2026-07-11 17:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645701632001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645701632001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:52:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645701632001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":128684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:52:05] local.INFO: GPS data processed {"connection_id":128684,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:52:05] local.INFO: Acknowledgment sent {"connection_id":128684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:52:08] local.INFO: TCP Data received {"connection_id":130814,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:52:08] local.INFO: Processing buffer {"connection_id":130814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:52:08] local.INFO: IMEI packet received {"connection_id":130814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":130814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:52:08] local.INFO: TCP Data received {"connection_id":130814,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f8118012d80658005de9218000900b027..."} 
[2026-07-11 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f8118012d80658005de9218000900b027..."} 
[2026-07-11 17:52:08] local.INFO: Processing buffer {"connection_id":130814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f8118012d80658005de9218000900b027..."} 
[2026-07-11 17:52:08] local.INFO: Packet analysis {"connection_id":130814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:52:08] local.INFO: Extracted packet for processing {"connection_id":130814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763389312,"raw_latitude":98472472,"longitude_deg":76.3389312,"latitude_deg":9.8472472,"altitude":9,"angle":176,"satellites":39,"speed":29,"hex_longitude":"2d806580","hex_latitude":"05de9218","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105090879001198592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194309720299737088,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783772447000,"timestamp_ms":1783772447000,"timestamp_seconds":1783772447,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f8118"} 
[2026-07-11 17:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 17:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":13059,"99":206,"85":15104,"24":29,"16":105090879001198592,"45":-9194309720299737088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-07-11 17:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:52:08] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-11 17:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105090879001198592,"km_value":105090879001198.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194309720299737088,"description":"Unknown IO ID 45"} 
[2026-07-11 17:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":13059,"unknown_99":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9194309720299737088}} 
[2026-07-11 17:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":130814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:52:08] local.INFO: GPS data processed {"connection_id":130814,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:52:08] local.INFO: Acknowledgment sent {"connection_id":130814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:52:09] local.INFO: TCP Data received {"connection_id":128685,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:52:09] local.INFO: Processing buffer {"connection_id":128685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:52:09] local.INFO: IMEI packet received {"connection_id":128685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":128685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:52:09] local.INFO: TCP Data received {"connection_id":128685,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:52:09] local.INFO: Processing buffer {"connection_id":128685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:52:09] local.INFO: Packet analysis {"connection_id":128685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:52:09] local.INFO: Extracted packet for processing {"connection_id":128685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:52:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 17:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 17: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:52:09] 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-07-11 17: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-07-11 17:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:52:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:52:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":128685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:52:09] local.INFO: GPS data processed {"connection_id":128685,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:52:09] local.INFO: Acknowledgment sent {"connection_id":128685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:52:20] local.INFO: TCP Data received {"connection_id":129573,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:52:20] local.INFO: Processing buffer {"connection_id":129573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:52:20] local.INFO: IMEI packet received {"connection_id":129573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":129573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:52:37] local.INFO: TCP Data received {"connection_id":128684,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511d7990012d18964007229e58006f00652a..."} 
[2026-07-11 17:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511d7990012d18964007229e58006f00652a..."} 
[2026-07-11 17:52:37] local.INFO: Processing buffer {"connection_id":128684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511d7990012d18964007229e58006f00652a..."} 
[2026-07-11 17:52:37] local.INFO: Packet analysis {"connection_id":128684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:52:37] local.INFO: Extracted packet for processing {"connection_id":128684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645707008001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783772314000,"timestamp_ms":1783772314000,"timestamp_seconds":1783772314,"priority":1,"record_length":96,"hex_timestamp":"0000019f511d7990"} 
[2026-07-11 17:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645707008001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645707008001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:52:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645707008001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":128684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:52:37] local.INFO: GPS data processed {"connection_id":128684,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:52:37] local.INFO: Acknowledgment sent {"connection_id":128684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:52:40] local.INFO: TCP Data received {"connection_id":130814,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51211758012d806b0005dd8430000800a228..."} 
[2026-07-11 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51211758012d806b0005dd8430000800a228..."} 
[2026-07-11 17:52:40] local.INFO: Processing buffer {"connection_id":130814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51211758012d806b0005dd8430000800a228..."} 
[2026-07-11 17:52:40] local.INFO: Packet analysis {"connection_id":130814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5121"} 
[2026-07-11 17:52:40] local.INFO: Extracted packet for processing {"connection_id":130814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5121"} 
[2026-07-11 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763390720,"raw_latitude":98403376,"longitude_deg":76.339072,"latitude_deg":9.8403376,"altitude":8,"angle":162,"satellites":40,"speed":16,"hex_longitude":"2d806b00","hex_latitude":"05dd8430","is_valid_coordinates":true} 
[2026-07-11 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645771776001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105094319270002688,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193746770363779072,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772551000,"timestamp_ms":1783772551000,"timestamp_seconds":1783772551,"priority":1,"record_length":96,"hex_timestamp":"0000019f51211758"} 
[2026-07-11 17:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 17:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645771776001,"66":12613,"100":206,"85":15104,"24":16,"16":105094319270002688,"45":-9193746770363779072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-11 17:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645771776001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:52:40] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-11 17:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105094319270002688,"km_value":105094319270002.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193746770363779072,"description":"Unknown IO ID 45"} 
[2026-07-11 17:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645771776001,"power":12613,"unknown_100":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9193746770363779072}} 
[2026-07-11 17:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":130814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:52:40] local.INFO: GPS data processed {"connection_id":130814,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:52:40] local.INFO: Acknowledgment sent {"connection_id":130814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:52:40] local.INFO: TCP Data received {"connection_id":128685,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:52:40] local.INFO: Processing buffer {"connection_id":128685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:52:40] local.INFO: Packet analysis {"connection_id":128685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:52:40] local.INFO: Extracted packet for processing {"connection_id":128685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 17:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:52: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-07-11 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:52:40] 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-07-11 17:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:52:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":128685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:52:40] local.INFO: GPS data processed {"connection_id":128685,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:52:40] local.INFO: Acknowledgment sent {"connection_id":128685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:52:45] local.INFO: TCP Data received {"connection_id":128869,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:52:45] local.INFO: Processing buffer {"connection_id":128869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:52:45] local.INFO: IMEI packet received {"connection_id":128869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":128869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:53:03] local.INFO: TCP Data received {"connection_id":130815,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:53:03] local.INFO: Processing buffer {"connection_id":130815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:53:03] local.INFO: IMEI packet received {"connection_id":130815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":130815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:53:03] local.INFO: TCP Data received {"connection_id":129574,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:03] local.INFO: Processing buffer {"connection_id":129574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:03] local.INFO: IMEI packet received {"connection_id":129574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":129574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:53:04] local.INFO: TCP Data received {"connection_id":128870,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:53:04] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:53:04] local.INFO: IMEI packet received {"connection_id":128870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":128870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:53:04] local.INFO: TCP Data received {"connection_id":129574,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:04] local.INFO: Processing buffer {"connection_id":129574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:04] local.INFO: IMEI packet received {"connection_id":129574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":129574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:53:04] local.INFO: TCP Data received {"connection_id":130815,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:53:04] local.INFO: Processing buffer {"connection_id":130815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:53:04] local.INFO: IMEI packet received {"connection_id":130815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":130815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:53:05] local.INFO: TCP Data received {"connection_id":130815,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51211f28012d806b4005dd81d8000800b428..."} 
[2026-07-11 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51211f28012d806b4005dd81d8000800b428..."} 
[2026-07-11 17:53:05] local.INFO: Processing buffer {"connection_id":130815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51211f28012d806b4005dd81d8000800b428..."} 
[2026-07-11 17:53:05] local.INFO: Packet analysis {"connection_id":130815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5121"} 
[2026-07-11 17:53:05] local.INFO: Extracted packet for processing {"connection_id":130815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5121"} 
[2026-07-11 17:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763390784,"raw_latitude":98402776,"longitude_deg":76.3390784,"latitude_deg":9.8402776,"altitude":8,"angle":180,"satellites":40,"speed":10,"hex_longitude":"2d806b40","hex_latitude":"05dd81d8","is_valid_coordinates":true} 
[2026-07-11 17:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645773056001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105094349334773760,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193254189155471360,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783772553000,"timestamp_ms":1783772553000,"timestamp_seconds":1783772553,"priority":1,"record_length":96,"hex_timestamp":"0000019f51211f28"} 
[2026-07-11 17:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:53:05] 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-07-11 17:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 17:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645773056001,"66":12526,"100":206,"85":15104,"24":10,"16":105094349334773760,"45":-9193254189155471360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-11 17:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645773056001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:53:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-11 17:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105094349334773760,"km_value":105094349334773.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193254189155471360,"description":"Unknown IO ID 45"} 
[2026-07-11 17:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645773056001,"power":12526,"unknown_100":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9193254189155471360}} 
[2026-07-11 17:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":130815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:53:05] local.INFO: GPS data processed {"connection_id":130815,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:53:05] local.INFO: Acknowledgment sent {"connection_id":130815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:53:09] local.INFO: TCP Data received {"connection_id":128870,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:53:09] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:53:09] local.INFO: IMEI packet received {"connection_id":128870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":128870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:53:09] local.INFO: TCP Data received {"connection_id":129574,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:09] local.INFO: Processing buffer {"connection_id":129574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:09] local.INFO: IMEI packet received {"connection_id":129574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":129574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:53:09] local.INFO: TCP Data received {"connection_id":128870,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:53:09] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:53:09] local.INFO: Packet analysis {"connection_id":128870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:53:09] local.INFO: Extracted packet for processing {"connection_id":128870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:53:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 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-07-11 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-07-11 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:53:09] 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-07-11 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-07-11 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-07-11 17:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:53:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":128870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:53:09] local.INFO: GPS data processed {"connection_id":128870,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:53:09] local.INFO: Acknowledgment sent {"connection_id":128870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:53:11] local.INFO: TCP Data received {"connection_id":129574,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511dcb98012d18964007229e58006f006527..."} 
[2026-07-11 17:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511dcb98012d18964007229e58006f006527..."} 
[2026-07-11 17:53:11] local.INFO: Processing buffer {"connection_id":129574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511dcb98012d18964007229e58006f006527..."} 
[2026-07-11 17:53:11] local.INFO: Packet analysis {"connection_id":129574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:53:11] local.INFO: Extracted packet for processing {"connection_id":129574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511d"} 
[2026-07-11 17:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645712384001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783772335000,"timestamp_ms":1783772335000,"timestamp_seconds":1783772335,"priority":1,"record_length":96,"hex_timestamp":"0000019f511dcb98"} 
[2026-07-11 17:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645712384001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645712384001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:53:11] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645712384001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":129574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:53:11] local.INFO: GPS data processed {"connection_id":129574,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:53:11] local.INFO: Acknowledgment sent {"connection_id":129574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:53:36] local.INFO: TCP Data received {"connection_id":130815,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512201b8012d804f4005dd0800000900cc26..."} 
[2026-07-11 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512201b8012d804f4005dd0800000900cc26..."} 
[2026-07-11 17:53:36] local.INFO: Processing buffer {"connection_id":130815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512201b8012d804f4005dd0800000900cc26..."} 
[2026-07-11 17:53:36] local.INFO: Packet analysis {"connection_id":130815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:53:36] local.INFO: Extracted packet for processing {"connection_id":130815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763383616,"raw_latitude":98371584,"longitude_deg":76.3383616,"latitude_deg":9.8371584,"altitude":9,"angle":204,"satellites":38,"speed":23,"hex_longitude":"2d804f40","hex_latitude":"05dd0800","is_valid_coordinates":true} 
[2026-07-11 17:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645788160001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105096342199599104,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200783644790482944,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783772611000,"timestamp_ms":1783772611000,"timestamp_seconds":1783772611,"priority":1,"record_length":96,"hex_timestamp":"0000019f512201b8"} 
[2026-07-11 17:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 17:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645788160001,"66":12645,"249":206,"85":15104,"24":23,"16":105096342199599104,"45":-9200783644790482944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-11 17:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645788160001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:53:36] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-11 17:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105096342199599104,"km_value":105096342199599.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200783644790482944,"description":"Unknown IO ID 45"} 
[2026-07-11 17:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645788160001,"power":12645,"unknown_249":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9200783644790482944}} 
[2026-07-11 17:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":130815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:53:36] local.INFO: GPS data processed {"connection_id":130815,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:53:36] local.INFO: Acknowledgment sent {"connection_id":130815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:53:40] local.INFO: TCP Data received {"connection_id":128870,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:53:40] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:53:40] local.INFO: Packet analysis {"connection_id":128870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:53:40] local.INFO: Extracted packet for processing {"connection_id":128870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 17:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:53: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-07-11 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:53:40] 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-07-11 17:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:53:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:53:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":128870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:53:40] local.INFO: GPS data processed {"connection_id":128870,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:53:40] local.INFO: Acknowledgment sent {"connection_id":128870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:53:43] local.INFO: TCP Data received {"connection_id":129574,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511e1da0012d18964007229e58006f006524..."} 
[2026-07-11 17:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511e1da0012d18964007229e58006f006524..."} 
[2026-07-11 17:53:43] local.INFO: Processing buffer {"connection_id":129574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511e1da0012d18964007229e58006f006524..."} 
[2026-07-11 17:53:43] local.INFO: Packet analysis {"connection_id":129574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511e"} 
[2026-07-11 17:53:43] local.INFO: Extracted packet for processing {"connection_id":129574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511e"} 
[2026-07-11 17:53:43] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645717760001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783772356000,"timestamp_ms":1783772356000,"timestamp_seconds":1783772356,"priority":1,"record_length":96,"hex_timestamp":"0000019f511e1da0"} 
[2026-07-11 17:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:53: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-07-11 17:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645717760001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645717760001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:53:43] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645717760001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":129574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:53:43] local.INFO: GPS data processed {"connection_id":129574,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:53:43] local.INFO: Acknowledgment sent {"connection_id":129574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:53:59] local.INFO: TCP Data received {"connection_id":129575,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:59] local.INFO: Processing buffer {"connection_id":129575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:53:59] local.INFO: IMEI packet received {"connection_id":129575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":129575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:54:03] local.INFO: TCP Data received {"connection_id":128687,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:54:03] local.INFO: Processing buffer {"connection_id":128687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:54:03] local.INFO: IMEI packet received {"connection_id":128687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":128687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:54:05] local.INFO: TCP Data received {"connection_id":129575,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:54:05] local.INFO: Processing buffer {"connection_id":129575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:54:05] local.INFO: IMEI packet received {"connection_id":129575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":129575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:54:05] local.INFO: TCP Data received {"connection_id":130816,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:54:05] local.INFO: Processing buffer {"connection_id":130816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:54:05] local.INFO: IMEI packet received {"connection_id":130816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":130816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:54:06] local.INFO: TCP Data received {"connection_id":129575,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511e6fa8012d18964007229e58006f006527..."} 
[2026-07-11 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511e6fa8012d18964007229e58006f006527..."} 
[2026-07-11 17:54:06] local.INFO: Processing buffer {"connection_id":129575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511e6fa8012d18964007229e58006f006527..."} 
[2026-07-11 17:54:06] local.INFO: Packet analysis {"connection_id":129575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511e"} 
[2026-07-11 17:54:06] local.INFO: Extracted packet for processing {"connection_id":129575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511e"} 
[2026-07-11 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645723136001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783772377000,"timestamp_ms":1783772377000,"timestamp_seconds":1783772377,"priority":1,"record_length":96,"hex_timestamp":"0000019f511e6fa8"} 
[2026-07-11 17:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645723136001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645723136001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:54:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645723136001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":129575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:54:06] local.INFO: GPS data processed {"connection_id":129575,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:54:06] local.INFO: Acknowledgment sent {"connection_id":129575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:54:07] local.INFO: TCP Data received {"connection_id":130816,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:54:07] local.INFO: Processing buffer {"connection_id":130816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:54:07] local.INFO: IMEI packet received {"connection_id":130816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":130816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:54:09] local.INFO: TCP Data received {"connection_id":128687,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:54:09] local.INFO: Processing buffer {"connection_id":128687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:54:09] local.INFO: IMEI packet received {"connection_id":128687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":128687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:54:09] local.INFO: TCP Data received {"connection_id":128687,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:54:09] local.INFO: Processing buffer {"connection_id":128687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:54:09] local.INFO: Packet analysis {"connection_id":128687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:54:09] local.INFO: Extracted packet for processing {"connection_id":128687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 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-07-11 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-07-11 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:54:09] 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-07-11 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-07-11 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-07-11 17:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:54:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:54:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":128687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:54:09] local.INFO: GPS data processed {"connection_id":128687,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:54:09] local.INFO: Acknowledgment sent {"connection_id":128687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:54:12] local.INFO: TCP Data received {"connection_id":130816,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:54:12] local.INFO: Processing buffer {"connection_id":130816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:54:12] local.INFO: IMEI packet received {"connection_id":130816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":130816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:54:13] local.INFO: TCP Data received {"connection_id":130816,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512205a0012d804e4005dd0650000900dc25..."} 
[2026-07-11 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512205a0012d804e4005dd0650000900dc25..."} 
[2026-07-11 17:54:13] local.INFO: Processing buffer {"connection_id":130816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512205a0012d804e4005dd0650000900dc25..."} 
[2026-07-11 17:54:13] local.INFO: Packet analysis {"connection_id":130816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:54:13] local.INFO: Extracted packet for processing {"connection_id":130816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763383360,"raw_latitude":98371152,"longitude_deg":76.338336,"latitude_deg":9.8371152,"altitude":9,"angle":220,"satellites":37,"speed":21,"hex_longitude":"2d804e40","hex_latitude":"05dd0650","is_valid_coordinates":true} 
[2026-07-11 17:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645788416001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105096367969402880,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201065119767330816,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783772612000,"timestamp_ms":1783772612000,"timestamp_seconds":1783772612,"priority":1,"record_length":96,"hex_timestamp":"0000019f512205a0"} 
[2026-07-11 17:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 17:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645788416001,"66":12645,"249":206,"85":15104,"24":21,"16":105096367969402880,"45":-9201065119767330816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-11 17:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645788416001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:54:13] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-11 17:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105096367969402880,"km_value":105096367969402.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201065119767330816,"description":"Unknown IO ID 45"} 
[2026-07-11 17:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645788416001,"power":12645,"unknown_249":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9201065119767330816}} 
[2026-07-11 17:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":130816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:54:13] local.INFO: GPS data processed {"connection_id":130816,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:54:13] local.INFO: Acknowledgment sent {"connection_id":130816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:54:18] local.INFO: TCP Data received {"connection_id":130816,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51220988012d804cc005dd0510000900e826..."} 
[2026-07-11 17:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51220988012d804cc005dd0510000900e826..."} 
[2026-07-11 17:54:18] local.INFO: Processing buffer {"connection_id":130816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51220988012d804cc005dd0510000900e826..."} 
[2026-07-11 17:54:18] local.INFO: Packet analysis {"connection_id":130816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:54:18] local.INFO: Extracted packet for processing {"connection_id":130816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:54:18] local.INFO: GPS Element Parsed {"raw_longitude":763382976,"raw_latitude":98370832,"longitude_deg":76.3382976,"latitude_deg":9.8370832,"altitude":9,"angle":232,"satellites":38,"speed":20,"hex_longitude":"2d804cc0","hex_latitude":"05dd0510","is_valid_coordinates":true} 
[2026-07-11 17:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645788672001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105096389444239360,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201346594744152064,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783772613000,"timestamp_ms":1783772613000,"timestamp_seconds":1783772613,"priority":1,"record_length":96,"hex_timestamp":"0000019f51220988"} 
[2026-07-11 17:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:54: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-07-11 17:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 17:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645788672001,"66":12667,"249":206,"85":15104,"24":20,"16":105096389444239360,"45":-9201346594744152064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-11 17:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645788672001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:54:18] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-11 17:54:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105096389444239360,"km_value":105096389444239.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201346594744152064,"description":"Unknown IO ID 45"} 
[2026-07-11 17:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645788672001,"power":12667,"unknown_249":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9201346594744152064}} 
[2026-07-11 17:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":130816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:54:18] local.INFO: GPS data processed {"connection_id":130816,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:54:18] local.INFO: Acknowledgment sent {"connection_id":130816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:54:38] local.INFO: TCP Data received {"connection_id":129575,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511ec1b0012d18964007229e58006f006525..."} 
[2026-07-11 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511ec1b0012d18964007229e58006f006525..."} 
[2026-07-11 17:54:38] local.INFO: Processing buffer {"connection_id":129575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511ec1b0012d18964007229e58006f006525..."} 
[2026-07-11 17:54:38] local.INFO: Packet analysis {"connection_id":129575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511e"} 
[2026-07-11 17:54:38] local.INFO: Extracted packet for processing {"connection_id":129575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511e"} 
[2026-07-11 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645728512001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783772398000,"timestamp_ms":1783772398000,"timestamp_seconds":1783772398,"priority":1,"record_length":96,"hex_timestamp":"0000019f511ec1b0"} 
[2026-07-11 17:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645728512001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645728512001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:54:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645728512001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":129575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:54:38] local.INFO: GPS data processed {"connection_id":129575,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:54:38] local.INFO: Acknowledgment sent {"connection_id":129575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:54:41] local.INFO: TCP Data received {"connection_id":128687,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:54:41] local.INFO: Processing buffer {"connection_id":128687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:54:41] local.INFO: Packet analysis {"connection_id":128687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:54:41] local.INFO: Extracted packet for processing {"connection_id":128687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:54:41] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 17:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:54: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-07-11 17:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:54:41] 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-07-11 17:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:54:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":128687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:54:41] local.INFO: GPS data processed {"connection_id":128687,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:54:41] local.INFO: Acknowledgment sent {"connection_id":128687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:54:59] local.INFO: TCP Data received {"connection_id":129576,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:54:59] local.INFO: Processing buffer {"connection_id":129576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:54:59] local.INFO: IMEI packet received {"connection_id":129576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":129576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:55:02] local.INFO: TCP Data received {"connection_id":128689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:55:02] local.INFO: Processing buffer {"connection_id":128689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:55:02] local.INFO: IMEI packet received {"connection_id":128689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":128689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:55:03] local.INFO: TCP Data received {"connection_id":129577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:55:03] local.INFO: Processing buffer {"connection_id":129577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:55:03] local.INFO: IMEI packet received {"connection_id":129577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":129577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:55:04] local.INFO: TCP Data received {"connection_id":129576,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:55:04] local.INFO: Processing buffer {"connection_id":129576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:55:04] local.INFO: IMEI packet received {"connection_id":129576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":129576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:55:05] local.INFO: TCP Data received {"connection_id":129576,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f13b8012d18964007229e58006f006526..."} 
[2026-07-11 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f13b8012d18964007229e58006f006526..."} 
[2026-07-11 17:55:05] local.INFO: Processing buffer {"connection_id":129576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f13b8012d18964007229e58006f006526..."} 
[2026-07-11 17:55:05] local.INFO: Packet analysis {"connection_id":129576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:55:05] local.INFO: Extracted packet for processing {"connection_id":129576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645733888001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783772419000,"timestamp_ms":1783772419000,"timestamp_seconds":1783772419,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f13b8"} 
[2026-07-11 17:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645733888001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645733888001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:55:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645733888001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":129576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:55:06] local.INFO: GPS data processed {"connection_id":129576,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:55:06] local.INFO: Acknowledgment sent {"connection_id":129576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:55:06] local.INFO: TCP Data received {"connection_id":128689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:55:06] local.INFO: Processing buffer {"connection_id":128689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:55:06] local.INFO: IMEI packet received {"connection_id":128689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":128689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:55:07] local.INFO: TCP Data received {"connection_id":128689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51233650012d8067c005dca8f8000800cf28..."} 
[2026-07-11 17:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51233650012d8067c005dca8f8000800cf28..."} 
[2026-07-11 17:55:07] local.INFO: Processing buffer {"connection_id":128689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51233650012d8067c005dca8f8000800cf28..."} 
[2026-07-11 17:55:07] local.INFO: Packet analysis {"connection_id":128689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:55:07] local.INFO: Extracted packet for processing {"connection_id":128689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763389888,"raw_latitude":98347256,"longitude_deg":76.3389888,"latitude_deg":9.8347256,"altitude":8,"angle":207,"satellites":40,"speed":9,"hex_longitude":"2d8067c0","hex_latitude":"05dca8f8","is_valid_coordinates":true} 
[2026-07-11 17:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645808128001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105097634984755200,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194098614099904512,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783772690000,"timestamp_ms":1783772690000,"timestamp_seconds":1783772690,"priority":1,"record_length":96,"hex_timestamp":"0000019f51233650"} 
[2026-07-11 17:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 17:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645808128001,"66":12526,"251":206,"85":15104,"24":9,"16":105097634984755200,"45":-9194098614099904512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-11 17:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645808128001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:55:07] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-11 17:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105097634984755200,"km_value":105097634984755.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194098614099904512,"description":"Unknown IO ID 45"} 
[2026-07-11 17:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645808128001,"power":12526,"unknown_251":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9194098614099904512}} 
[2026-07-11 17:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":128689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:55:07] local.INFO: GPS data processed {"connection_id":128689,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:55:07] local.INFO: Acknowledgment sent {"connection_id":128689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:55:08] local.INFO: TCP Data received {"connection_id":128689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51233a38012d8066c005dca820000800e828..."} 
[2026-07-11 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51233a38012d8066c005dca820000800e828..."} 
[2026-07-11 17:55:08] local.INFO: Processing buffer {"connection_id":128689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51233a38012d8066c005dca820000800e828..."} 
[2026-07-11 17:55:08] local.INFO: Packet analysis {"connection_id":128689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:55:08] local.INFO: Extracted packet for processing {"connection_id":128689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763389632,"raw_latitude":98347040,"longitude_deg":76.3389632,"latitude_deg":9.834704,"altitude":8,"angle":232,"satellites":40,"speed":14,"hex_longitude":"2d8066c0","hex_latitude":"05dca820","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645808640001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105097647869657088,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194168982844147712,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783772691000,"timestamp_ms":1783772691000,"timestamp_seconds":1783772691,"priority":1,"record_length":96,"hex_timestamp":"0000019f51233a38"} 
[2026-07-11 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-07-11 17:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 17:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645808640001,"66":12841,"251":206,"85":15104,"24":14,"16":105097647869657088,"45":-9194168982844147712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-11 17:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645808640001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:55:08] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-11 17:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105097647869657088,"km_value":105097647869657.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194168982844147712,"description":"Unknown IO ID 45"} 
[2026-07-11 17:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645808640001,"power":12841,"unknown_251":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9194168982844147712}} 
[2026-07-11 17:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":128689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:55:08] local.INFO: GPS data processed {"connection_id":128689,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:55:08] local.INFO: Acknowledgment sent {"connection_id":128689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:55:09] local.INFO: TCP Data received {"connection_id":129577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:55:09] local.INFO: Processing buffer {"connection_id":129577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:55:09] local.INFO: IMEI packet received {"connection_id":129577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":129577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:55:09] local.INFO: TCP Data received {"connection_id":129577,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:55:09] local.INFO: Processing buffer {"connection_id":129577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:55:09] local.INFO: Packet analysis {"connection_id":129577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:55:09] local.INFO: Extracted packet for processing {"connection_id":129577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 17:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:55: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-07-11 17: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:55:09] 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-07-11 17: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-07-11 17:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:55:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":129577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:55:09] local.INFO: GPS data processed {"connection_id":129577,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:55:09] local.INFO: Acknowledgment sent {"connection_id":129577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:55:37] local.INFO: TCP Data received {"connection_id":129576,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51229a10012d18964007229e58006f006521..."} 
[2026-07-11 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51229a10012d18964007229e58006f006521..."} 
[2026-07-11 17:55:37] local.INFO: Processing buffer {"connection_id":129576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51229a10012d18964007229e58006f006521..."} 
[2026-07-11 17:55:37] local.INFO: Packet analysis {"connection_id":129576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:55:37] local.INFO: Extracted packet for processing {"connection_id":129576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645793024001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783772650000,"timestamp_ms":1783772650000,"timestamp_seconds":1783772650,"priority":1,"record_length":96,"hex_timestamp":"0000019f51229a10"} 
[2026-07-11 17:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645793024001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645793024001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:55:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645793024001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":129576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:55:37] local.INFO: GPS data processed {"connection_id":129576,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:55:37] local.INFO: Acknowledgment sent {"connection_id":129576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:55:39] local.INFO: TCP Data received {"connection_id":128689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51233e20012d80650005dca788000900fe28..."} 
[2026-07-11 17:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51233e20012d80650005dca788000900fe28..."} 
[2026-07-11 17:55:39] local.INFO: Processing buffer {"connection_id":128689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51233e20012d80650005dca788000900fe28..."} 
[2026-07-11 17:55:39] local.INFO: Packet analysis {"connection_id":128689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:55:39] local.INFO: Extracted packet for processing {"connection_id":128689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763389184,"raw_latitude":98346888,"longitude_deg":76.3389184,"latitude_deg":9.8346888,"altitude":9,"angle":254,"satellites":40,"speed":17,"hex_longitude":"2d806500","hex_latitude":"05dca788","is_valid_coordinates":true} 
[2026-07-11 17:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645808896001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105097673639460864,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194450457820913664,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783772692000,"timestamp_ms":1783772692000,"timestamp_seconds":1783772692,"priority":1,"record_length":96,"hex_timestamp":"0000019f51233e20"} 
[2026-07-11 17:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 17:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645808896001,"66":12841,"251":206,"85":15104,"24":17,"16":105097673639460864,"45":-9194450457820913664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-11 17:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645808896001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:55:39] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-11 17:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105097673639460864,"km_value":105097673639460.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194450457820913664,"description":"Unknown IO ID 45"} 
[2026-07-11 17:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645808896001,"power":12841,"unknown_251":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9194450457820913664}} 
[2026-07-11 17:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":128689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:55:39] local.INFO: GPS data processed {"connection_id":128689,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:55:39] local.INFO: Acknowledgment sent {"connection_id":128689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:55:40] local.INFO: TCP Data received {"connection_id":129577,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:55:40] local.INFO: Processing buffer {"connection_id":129577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:55:40] local.INFO: Packet analysis {"connection_id":129577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:55:40] local.INFO: Extracted packet for processing {"connection_id":129577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:55:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 17:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:55: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-07-11 17: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:55:40] 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-07-11 17: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-07-11 17:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:55:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":129577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:55:40] local.INFO: GPS data processed {"connection_id":129577,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:55:40] local.INFO: Acknowledgment sent {"connection_id":129577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:55:59] local.INFO: TCP Data received {"connection_id":129579,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:55:59] local.INFO: Processing buffer {"connection_id":129579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:55:59] local.INFO: IMEI packet received {"connection_id":129579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":129579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:56:03] local.INFO: TCP Data received {"connection_id":130817,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:56:03] local.INFO: Processing buffer {"connection_id":130817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:56:03] local.INFO: IMEI packet received {"connection_id":130817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":130817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:56:04] local.INFO: TCP Data received {"connection_id":129579,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:56:04] local.INFO: Processing buffer {"connection_id":129579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:56:04] local.INFO: IMEI packet received {"connection_id":129579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":129579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:56:05] local.INFO: TCP Data received {"connection_id":129579,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5122ec18012d18964007229e58006f006526..."} 
[2026-07-11 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5122ec18012d18964007229e58006f006526..."} 
[2026-07-11 17:56:05] local.INFO: Processing buffer {"connection_id":129579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5122ec18012d18964007229e58006f006526..."} 
[2026-07-11 17:56:05] local.INFO: Packet analysis {"connection_id":129579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:56:05] local.INFO: Extracted packet for processing {"connection_id":129579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5122"} 
[2026-07-11 17:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645798400001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783772671000,"timestamp_ms":1783772671000,"timestamp_seconds":1783772671,"priority":1,"record_length":96,"hex_timestamp":"0000019f5122ec18"} 
[2026-07-11 17:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:56: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-07-11 17:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645798400001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645798400001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:56:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645798400001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":129579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:56:05] local.INFO: GPS data processed {"connection_id":129579,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:56:05] local.INFO: Acknowledgment sent {"connection_id":129579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:56:09] local.INFO: TCP Data received {"connection_id":130817,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:56:09] local.INFO: Processing buffer {"connection_id":130817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:56:09] local.INFO: IMEI packet received {"connection_id":130817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":130817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:56:10] local.INFO: TCP Data received {"connection_id":130817,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:56:10] local.INFO: Processing buffer {"connection_id":130817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f511f7178012cbce580076d7fb8004b00af2b..."} 
[2026-07-11 17:56:10] local.INFO: Packet analysis {"connection_id":130817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:56:10] local.INFO: Extracted packet for processing {"connection_id":130817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f511f"} 
[2026-07-11 17:56:10] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645668352001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783772443000,"timestamp_ms":1783772443000,"timestamp_seconds":1783772443,"priority":1,"record_length":96,"hex_timestamp":"0000019f511f7178"} 
[2026-07-11 17:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 17: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-11 17:56:10] 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-07-11 17:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645668352001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645668352001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:56:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645668352001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":130817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:56:10] local.INFO: GPS data processed {"connection_id":130817,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:56:10] local.INFO: Acknowledgment sent {"connection_id":130817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:56:37] local.INFO: TCP Data received {"connection_id":129579,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51233e20012d18964007229e58006f006525..."} 
[2026-07-11 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51233e20012d18964007229e58006f006525..."} 
[2026-07-11 17:56:37] local.INFO: Processing buffer {"connection_id":129579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51233e20012d18964007229e58006f006525..."} 
[2026-07-11 17:56:37] local.INFO: Packet analysis {"connection_id":129579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:56:37] local.INFO: Extracted packet for processing {"connection_id":129579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645803776001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783772692000,"timestamp_ms":1783772692000,"timestamp_seconds":1783772692,"priority":1,"record_length":96,"hex_timestamp":"0000019f51233e20"} 
[2026-07-11 17:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645803776001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645803776001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:56:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645803776001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":129579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:56:37] local.INFO: GPS data processed {"connection_id":129579,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:56:37] local.INFO: Acknowledgment sent {"connection_id":129579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:56:40] local.INFO: TCP Data received {"connection_id":130817,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:56:40] local.INFO: Processing buffer {"connection_id":130817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:56:40] local.INFO: Packet analysis {"connection_id":130817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:56:40] local.INFO: Extracted packet for processing {"connection_id":130817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 17:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:56: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-07-11 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 17:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:56:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:56:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":130817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:56:40] local.INFO: GPS data processed {"connection_id":130817,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:56:40] local.INFO: Acknowledgment sent {"connection_id":130817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:56:44] local.INFO: TCP Data received {"connection_id":130818,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:56:44] local.INFO: Processing buffer {"connection_id":130818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:56:44] local.INFO: IMEI packet received {"connection_id":130818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":130818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:56:45] local.INFO: TCP Data received {"connection_id":130818,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:56:45] local.INFO: Processing buffer {"connection_id":130818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:56:45] local.INFO: IMEI packet received {"connection_id":130818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":130818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:56:47] local.INFO: TCP Data received {"connection_id":130818,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51244ba8012d7f904005dca948000d015325..."} 
[2026-07-11 17:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51244ba8012d7f904005dca948000d015325..."} 
[2026-07-11 17:56:47] local.INFO: Processing buffer {"connection_id":130818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51244ba8012d7f904005dca948000d015325..."} 
[2026-07-11 17:56:47] local.INFO: Packet analysis {"connection_id":130818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:56:47] local.INFO: Extracted packet for processing {"connection_id":130818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":763334720,"raw_latitude":98347336,"longitude_deg":76.333472,"latitude_deg":9.8347336,"altitude":13,"angle":339,"satellites":37,"speed":48,"hex_longitude":"2d7f9040","hex_latitude":"05dca948","is_valid_coordinates":true} 
[2026-07-11 17:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645824768001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105100693001469952,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013458125903872,"note":"Value kept but may cause issues"} 
[2026-07-11 17:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783772761000,"timestamp_ms":1783772761000,"timestamp_seconds":1783772761,"priority":1,"record_length":96,"hex_timestamp":"0000019f51244ba8"} 
[2026-07-11 17:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:56: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-07-11 17:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 17:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645824768001,"66":12765,"251":206,"85":15104,"24":48,"16":105100693001469952,"45":9195013458125903872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-11 17:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645824768001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:56:47] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-11 17:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105100693001469952,"km_value":105100693001469.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013458125903872,"description":"Unknown IO ID 45"} 
[2026-07-11 17:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645824768001,"power":12765,"unknown_251":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9195013458125903872}} 
[2026-07-11 17:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":130818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:56:47] local.INFO: GPS data processed {"connection_id":130818,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:56:47] local.INFO: Acknowledgment sent {"connection_id":130818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:56:59] local.INFO: TCP Data received {"connection_id":129581,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:56:59] local.INFO: Processing buffer {"connection_id":129581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:56:59] local.INFO: IMEI packet received {"connection_id":129581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":129581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:57:04] local.INFO: TCP Data received {"connection_id":129581,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:57:04] local.INFO: Processing buffer {"connection_id":129581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:57:04] local.INFO: IMEI packet received {"connection_id":129581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":129581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:57:04] local.INFO: TCP Data received {"connection_id":128690,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:57:04] local.INFO: Processing buffer {"connection_id":128690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:57:04] local.INFO: IMEI packet received {"connection_id":128690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":128690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:57:05] local.INFO: TCP Data received {"connection_id":129581,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51239028012d18964007229e58006f006526..."} 
[2026-07-11 17:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51239028012d18964007229e58006f006526..."} 
[2026-07-11 17:57:05] local.INFO: Processing buffer {"connection_id":129581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51239028012d18964007229e58006f006526..."} 
[2026-07-11 17:57:05] local.INFO: Packet analysis {"connection_id":129581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:57:05] local.INFO: Extracted packet for processing {"connection_id":129581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645809152001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783772713000,"timestamp_ms":1783772713000,"timestamp_seconds":1783772713,"priority":1,"record_length":96,"hex_timestamp":"0000019f51239028"} 
[2026-07-11 17:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645809152001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645809152001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:57:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645809152001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":129581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:57:05] local.INFO: GPS data processed {"connection_id":129581,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:57:05] local.INFO: Acknowledgment sent {"connection_id":129581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:57:07] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:57:07] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:57:07] local.INFO: IMEI packet received {"connection_id":128871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":128871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:57:09] local.INFO: TCP Data received {"connection_id":128690,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:57:09] local.INFO: Processing buffer {"connection_id":128690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:57:09] local.INFO: IMEI packet received {"connection_id":128690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":128690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:57:09] local.INFO: TCP Data received {"connection_id":128690,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:57:09] local.INFO: Processing buffer {"connection_id":128690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:57:09] local.INFO: Packet analysis {"connection_id":128690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:57:09] local.INFO: Extracted packet for processing {"connection_id":128690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:57:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 17:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:57: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-07-11 17:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 17:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:57:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":128690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:57:09] local.INFO: GPS data processed {"connection_id":128690,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:57:09] local.INFO: Acknowledgment sent {"connection_id":128690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:57:13] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:57:13] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:57:13] local.INFO: IMEI packet received {"connection_id":128871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":128871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:57:14] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51253220012d7f3c0005dd9fa80004015f27..."} 
[2026-07-11 17:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51253220012d7f3c0005dd9fa80004015f27..."} 
[2026-07-11 17:57:14] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51253220012d7f3c0005dd9fa80004015f27..."} 
[2026-07-11 17:57:14] local.INFO: Packet analysis {"connection_id":128871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:57:14] local.INFO: Extracted packet for processing {"connection_id":128871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763313152,"raw_latitude":98410408,"longitude_deg":76.3313152,"latitude_deg":9.8410408,"altitude":4,"angle":351,"satellites":39,"speed":43,"hex_longitude":"2d7f3c00","hex_latitude":"05dd9fa8","is_valid_coordinates":true} 
[2026-07-11 17:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645840640001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105103995831320576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168132597866940416,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783772820000,"timestamp_ms":1783772820000,"timestamp_seconds":1783772820,"priority":1,"record_length":96,"hex_timestamp":"0000019f51253220"} 
[2026-07-11 17:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 17:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645840640001,"66":12939,"111":206,"85":15104,"24":43,"16":105103995831320576,"45":9168132597866940416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-11 17:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645840640001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:57:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 17:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105103995831320576,"km_value":105103995831320.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168132597866940416,"description":"Unknown IO ID 45"} 
[2026-07-11 17:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645840640001,"power":12939,"unknown_111":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9168132597866940416}} 
[2026-07-11 17:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":128871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:57:14] local.INFO: GPS data processed {"connection_id":128871,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:57:14] local.INFO: Acknowledgment sent {"connection_id":128871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:57:36] local.INFO: TCP Data received {"connection_id":129581,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5123e230012d18964007229e58006f00652b..."} 
[2026-07-11 17:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5123e230012d18964007229e58006f00652b..."} 
[2026-07-11 17:57:36] local.INFO: Processing buffer {"connection_id":129581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5123e230012d18964007229e58006f00652b..."} 
[2026-07-11 17:57:36] local.INFO: Packet analysis {"connection_id":129581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:57:36] local.INFO: Extracted packet for processing {"connection_id":129581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5123"} 
[2026-07-11 17:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645814528001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783772734000,"timestamp_ms":1783772734000,"timestamp_seconds":1783772734,"priority":1,"record_length":96,"hex_timestamp":"0000019f5123e230"} 
[2026-07-11 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-07-11 17:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645814528001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645814528001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:57:36] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645814528001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":129581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:57:36] local.INFO: GPS data processed {"connection_id":129581,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:57:36] local.INFO: Acknowledgment sent {"connection_id":129581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:57:40] local.INFO: TCP Data received {"connection_id":128690,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:57:40] local.INFO: Processing buffer {"connection_id":128690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:57:40] local.INFO: Packet analysis {"connection_id":128690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:57:40] local.INFO: Extracted packet for processing {"connection_id":128690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 17:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:57: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-07-11 17: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 17:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:57:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":128690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:57:40] local.INFO: GPS data processed {"connection_id":128690,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:57:40] local.INFO: Acknowledgment sent {"connection_id":128690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:57:45] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512545a8012d7f364005ddb4800005015426..."} 
[2026-07-11 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512545a8012d7f364005ddb4800005015426..."} 
[2026-07-11 17:57:45] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512545a8012d7f364005ddb4800005015426..."} 
[2026-07-11 17:57:45] local.INFO: Packet analysis {"connection_id":128871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:57:45] local.INFO: Extracted packet for processing {"connection_id":128871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763311680,"raw_latitude":98415744,"longitude_deg":76.331168,"latitude_deg":9.8415744,"altitude":5,"angle":340,"satellites":38,"speed":43,"hex_longitude":"2d7f3640","hex_latitude":"05ddb480","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645841920001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105104266414260224,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168202966612551680,"note":"Value kept but may cause issues"} 
[2026-07-11 17:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783772825000,"timestamp_ms":1783772825000,"timestamp_seconds":1783772825,"priority":1,"record_length":96,"hex_timestamp":"0000019f512545a8"} 
[2026-07-11 17:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 17:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645841920001,"66":13059,"205":206,"85":15104,"24":43,"16":105104266414260224,"45":9168202966612551680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-11 17:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645841920001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105104266414260224,"km_value":105104266414260.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168202966612551680,"description":"Unknown IO ID 45"} 
[2026-07-11 17:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645841920001,"power":13059,"cell_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9168202966612551680}} 
[2026-07-11 17:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":128871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:57:45] local.INFO: GPS data processed {"connection_id":128871,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:57:45] local.INFO: Acknowledgment sent {"connection_id":128871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:58:02] local.INFO: TCP Data received {"connection_id":128693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:58:02] local.INFO: Processing buffer {"connection_id":128693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:58:02] local.INFO: IMEI packet received {"connection_id":128693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":128693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:58:03] local.INFO: TCP Data received {"connection_id":128692,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:58:03] local.INFO: Processing buffer {"connection_id":128692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:58:03] local.INFO: IMEI packet received {"connection_id":128692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":128692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:58:05] local.INFO: TCP Data received {"connection_id":128691,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:58:05] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:58:05] local.INFO: IMEI packet received {"connection_id":128691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:58:05] local.INFO: TCP Data received {"connection_id":128691,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:58:05] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:58:05] local.INFO: IMEI packet received {"connection_id":128691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:58:07] local.INFO: TCP Data received {"connection_id":128691,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:58:07] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:58:07] local.INFO: IMEI packet received {"connection_id":128691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":128691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:58:08] local.INFO: TCP Data received {"connection_id":128691,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51243438012d18964007229e58006f006525..."} 
[2026-07-11 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51243438012d18964007229e58006f006525..."} 
[2026-07-11 17:58:08] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51243438012d18964007229e58006f006525..."} 
[2026-07-11 17:58:08] local.INFO: Packet analysis {"connection_id":128691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:08] local.INFO: Extracted packet for processing {"connection_id":128691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645819904001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783772755000,"timestamp_ms":1783772755000,"timestamp_seconds":1783772755,"priority":1,"record_length":96,"hex_timestamp":"0000019f51243438"} 
[2026-07-11 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-07-11 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645819904001,"66":12461,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645819904001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:58:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645819904001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":128691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:58:08] local.INFO: GPS data processed {"connection_id":128691,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:58:08] local.INFO: Acknowledgment sent {"connection_id":128691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:58:08] local.INFO: TCP Data received {"connection_id":128693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:58:08] local.INFO: Processing buffer {"connection_id":128693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:58:08] local.INFO: IMEI packet received {"connection_id":128693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":128693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:58:09] local.INFO: TCP Data received {"connection_id":128692,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:58:09] local.INFO: Processing buffer {"connection_id":128692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:58:09] local.INFO: IMEI packet received {"connection_id":128692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":128692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:58:09] local.INFO: TCP Data received {"connection_id":128693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51255d18012d7f2b8005ddcbb00005014828..."} 
[2026-07-11 17:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51255d18012d7f2b8005ddcbb00005014828..."} 
[2026-07-11 17:58:09] local.INFO: Processing buffer {"connection_id":128693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51255d18012d7f2b8005ddcbb00005014828..."} 
[2026-07-11 17:58:09] local.INFO: Packet analysis {"connection_id":128693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:58:09] local.INFO: Extracted packet for processing {"connection_id":128693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763308928,"raw_latitude":98421680,"longitude_deg":76.3308928,"latitude_deg":9.842168,"altitude":5,"angle":328,"satellites":40,"speed":44,"hex_longitude":"2d7f2b80","hex_latitude":"05ddcbb0","is_valid_coordinates":true} 
[2026-07-11 17:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645843200001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105104579946872832,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166584485497831424,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772831000,"timestamp_ms":1783772831000,"timestamp_seconds":1783772831,"priority":1,"record_length":96,"hex_timestamp":"0000019f51255d18"} 
[2026-07-11 17:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496680,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":102,"raw_value":4227858432,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":155,"raw_value":58077557095399474,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3709636608,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,205,85,24,241,157,16,103,159,50,45,4,39,10,66,111,30,192,137,11,128,1,240,254,227,102,81,221,113,59,216,80,120,239,155,2,117,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[]} 
[2026-07-11 17:58:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360661967354658816,"timestamp_seconds":360661967354658.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645843200001,"66":12917,"205":206,"85":15104,"24":44,"16":105104579946872832,"45":9166584485497831424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645843200001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105104579946872832,"km_value":105104579946872.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166584485497831424,"description":"Unknown IO ID 45"} 
[2026-07-11 17:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645843200001,"power":12917,"cell_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9166584485497831424}} 
[2026-07-11 17:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":128693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:58:09] local.INFO: GPS data processed {"connection_id":128693,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:58:09] local.INFO: Acknowledgment sent {"connection_id":128693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:58:09] local.INFO: TCP Data received {"connection_id":128692,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:58:09] local.INFO: Processing buffer {"connection_id":128692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:58:09] local.INFO: Packet analysis {"connection_id":128692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:09] local.INFO: Extracted packet for processing {"connection_id":128692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 17:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:58: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-07-11 17: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 17:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:58: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-07-11 17:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":128692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:58:09] local.INFO: GPS data processed {"connection_id":128692,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:58:09] local.INFO: Acknowledgment sent {"connection_id":128692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:58:09] local.INFO: TCP Data received {"connection_id":128691,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51248640012d18964007229e58006f006525..."} 
[2026-07-11 17:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51248640012d18964007229e58006f006525..."} 
[2026-07-11 17:58:09] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51248640012d18964007229e58006f006525..."} 
[2026-07-11 17:58:09] local.INFO: Packet analysis {"connection_id":128691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:09] local.INFO: Extracted packet for processing {"connection_id":128691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 17:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645825280001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772776000,"timestamp_ms":1783772776000,"timestamp_seconds":1783772776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51248640"} 
[2026-07-11 17:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 17:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645825280001,"66":12385,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645825280001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645825280001,"power":12385,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":128691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:58:10] local.INFO: GPS data processed {"connection_id":128691,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:58:10] local.INFO: Acknowledgment sent {"connection_id":128691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:58:40] local.INFO: TCP Data received {"connection_id":128693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51258040012d7f174005ddec280005015227..."} 
[2026-07-11 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51258040012d7f174005ddec280005015227..."} 
[2026-07-11 17:58:40] local.INFO: Processing buffer {"connection_id":128693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51258040012d7f174005ddec280005015227..."} 
[2026-07-11 17:58:40] local.INFO: Packet analysis {"connection_id":128693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:58:40] local.INFO: Extracted packet for processing {"connection_id":128693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763303744,"raw_latitude":98429992,"longitude_deg":76.3303744,"latitude_deg":9.8429992,"altitude":5,"angle":338,"satellites":39,"speed":40,"hex_longitude":"2d7f1740","hex_latitude":"05ddec28","is_valid_coordinates":true} 
[2026-07-11 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645844736001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105105056688242688,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163558629499711488,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772840000,"timestamp_ms":1783772840000,"timestamp_seconds":1783772840,"priority":1,"record_length":96,"hex_timestamp":"0000019f51258040"} 
[2026-07-11 17:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:58: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-07-11 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 17:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645844736001,"66":13178,"205":206,"85":15104,"24":40,"16":105105056688242688,"45":9163558629499711488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-11 17:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645844736001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105105056688242688,"km_value":105105056688242.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163558629499711488,"description":"Unknown IO ID 45"} 
[2026-07-11 17:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645844736001,"power":13178,"cell_id":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9163558629499711488}} 
[2026-07-11 17:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":128693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:58:40] local.INFO: GPS data processed {"connection_id":128693,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:58:40] local.INFO: Acknowledgment sent {"connection_id":128693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:58:41] local.INFO: TCP Data received {"connection_id":128692,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:58:41] local.INFO: Processing buffer {"connection_id":128692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:58:41] local.INFO: Packet analysis {"connection_id":128692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:41] local.INFO: Extracted packet for processing {"connection_id":128692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:41] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 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-07-11 17:58: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-07-11 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 17:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:58:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":128692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:58:41] local.INFO: GPS data processed {"connection_id":128692,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:58:41] local.INFO: Acknowledgment sent {"connection_id":128692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:58:41] local.INFO: TCP Data received {"connection_id":128691,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5124d848012d18964007229e58006f006527..."} 
[2026-07-11 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5124d848012d18964007229e58006f006527..."} 
[2026-07-11 17:58:41] local.INFO: Processing buffer {"connection_id":128691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5124d848012d18964007229e58006f006527..."} 
[2026-07-11 17:58:41] local.INFO: Packet analysis {"connection_id":128691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:41] local.INFO: Extracted packet for processing {"connection_id":128691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119709272,"longitude_deg":75.6586048,"latitude_deg":11.9709272,"altitude":111,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d189640","hex_latitude":"07229e58","is_valid_coordinates":true} 
[2026-07-11 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-07-11 17:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645830656001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775399573258240,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902806620160,"note":"Value kept but may cause issues"} 
[2026-07-11 17:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772797000,"timestamp_ms":1783772797000,"timestamp_seconds":1783772797,"priority":1,"record_length":96,"hex_timestamp":"0000019f5124d848"} 
[2026-07-11 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-07-11 17:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 17:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 17:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645830656001,"66":12298,"70":206,"28":31744,"24":0,"16":5775399573258240,"45":1771673902806620160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 17:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645830656001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:58:41] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 17:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775399573258240,"km_value":5775399573258.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902806620160,"description":"Unknown IO ID 45"} 
[2026-07-11 17:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645830656001,"power":12298,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1771673902806620160}} 
[2026-07-11 17:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":128691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:58:41] local.INFO: GPS data processed {"connection_id":128691,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:58:41] local.INFO: Acknowledgment sent {"connection_id":128691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:58:45] local.INFO: TCP Data received {"connection_id":130820,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:58:45] local.INFO: Processing buffer {"connection_id":130820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 17:58:45] local.INFO: IMEI packet received {"connection_id":130820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":130820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:59:00] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:00] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:00] local.INFO: IMEI packet received {"connection_id":130821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":130821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:59:00] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:00] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:00] local.INFO: IMEI packet received {"connection_id":130821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":130821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:59:03] local.INFO: TCP Data received {"connection_id":129582,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:59:03] local.INFO: Processing buffer {"connection_id":129582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:59:03] local.INFO: IMEI packet received {"connection_id":129582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":129582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:59:05] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:05] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:05] local.INFO: IMEI packet received {"connection_id":130821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":130821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:59:06] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:59:06] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:59:06] local.INFO: IMEI packet received {"connection_id":128872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 17:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":128872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:59:06] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51261898012d18a88007229918007300ad2b..."} 
[2026-07-11 17:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51261898012d18a88007229918007300ad2b..."} 
[2026-07-11 17:59:06] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51261898012d18a88007229918007300ad2b..."} 
[2026-07-11 17:59:06] local.INFO: Packet analysis {"connection_id":130821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 17:59:06] local.INFO: Extracted packet for processing {"connection_id":130821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 17:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119707928,"longitude_deg":75.659072,"latitude_deg":11.9707928,"altitude":115,"angle":173,"satellites":43,"speed":13,"hex_longitude":"2d18a880","hex_latitude":"07229918","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645856512001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775661566263296,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083643060224,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783772879000,"timestamp_ms":1783772879000,"timestamp_seconds":1783772879,"priority":1,"record_length":96,"hex_timestamp":"0000019f51261898"} 
[2026-07-11 17:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-11 17:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645856512001,"66":12558,"120":206,"28":31744,"24":13,"16":5775661566263296,"45":1776670083643060224},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645856512001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:59:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:59:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775661566263296,"km_value":5775661566263.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083643060224,"description":"Unknown IO ID 45"} 
[2026-07-11 17:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645856512001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1776670083643060224}} 
[2026-07-11 17:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":130821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:59:06] local.INFO: GPS data processed {"connection_id":130821,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:59:06] local.INFO: Acknowledgment sent {"connection_id":130821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:59:07] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:59:07] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:59:07] local.INFO: IMEI packet received {"connection_id":128872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":128872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:59:09] local.INFO: TCP Data received {"connection_id":129582,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:59:09] local.INFO: Processing buffer {"connection_id":129582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 17:59:09] local.INFO: IMEI packet received {"connection_id":129582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 17:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":129582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:59:09] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51262c20012d18a8c007229080007400b82c..."} 
[2026-07-11 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51262c20012d18a8c007229080007400b82c..."} 
[2026-07-11 17:59:09] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51262c20012d18a8c007229080007400b82c..."} 
[2026-07-11 17:59:09] local.INFO: Packet analysis {"connection_id":130821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 17:59:09] local.INFO: Extracted packet for processing {"connection_id":130821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 17:59:09] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119705728,"longitude_deg":75.6590784,"latitude_deg":11.9705728,"altitude":116,"angle":184,"satellites":44,"speed":20,"hex_longitude":"2d18a8c0","hex_latitude":"07229080","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645857024001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5775768940445696,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821131245568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772884000,"timestamp_ms":1783772884000,"timestamp_seconds":1783772884,"priority":1,"record_length":96,"hex_timestamp":"0000019f51262c20"} 
[2026-07-11 17:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249515356546571904,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2642935922,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221693085,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604775,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2228813824,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5044258204389742592,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253777410,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,132,159,45,155,115,44,10,66,12,64,156,43,5,1,240,248,81,34,4,113,205,3,218,163,128,239,50,2,20,7,110,231,85,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-11 17:59:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8286813714557763584,"timestamp_seconds":8286813714557764.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 17:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645857024001,"66":12526,"120":206,"28":31744,"24":20,"16":5775768940445696,"45":1776810821131245568},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645857024001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:59:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:59:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5775768940445696,"km_value":5775768940445.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821131245568,"description":"Unknown IO ID 45"} 
[2026-07-11 17:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645857024001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1776810821131245568}} 
[2026-07-11 17:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":130821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:59:09] local.INFO: GPS data processed {"connection_id":130821,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:59:09] local.INFO: Acknowledgment sent {"connection_id":130821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:59:09] local.INFO: TCP Data received {"connection_id":129582,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:59:09] local.INFO: Processing buffer {"connection_id":129582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:59:09] local.INFO: Packet analysis {"connection_id":129582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:59:09] local.INFO: Extracted packet for processing {"connection_id":129582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:59:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 17:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:59: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-07-11 17: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 17:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:59:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:59:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":129582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:59:09] local.INFO: GPS data processed {"connection_id":129582,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:59:09] local.INFO: Acknowledgment sent {"connection_id":129582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:59:13] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:59:13] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 17:59:13] local.INFO: IMEI packet received {"connection_id":128872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 17:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":128872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 17:59:14] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5125a368012d7f0a8005de0cc00006015128..."} 
[2026-07-11 17:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5125a368012d7f0a8005de0cc00006015128..."} 
[2026-07-11 17:59:14] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5125a368012d7f0a8005de0cc00006015128..."} 
[2026-07-11 17:59:14] local.INFO: Packet analysis {"connection_id":128872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:59:14] local.INFO: Extracted packet for processing {"connection_id":128872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":763300480,"raw_latitude":98438336,"longitude_deg":76.330048,"latitude_deg":9.8438336,"altitude":6,"angle":337,"satellites":40,"speed":40,"hex_longitude":"2d7f0a80","hex_latitude":"05de0cc0","is_valid_coordinates":true} 
[2026-07-11 17:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645847040001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105105490479939584,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157858761223448576,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783772849000,"timestamp_ms":1783772849000,"timestamp_seconds":1783772849,"priority":1,"record_length":96,"hex_timestamp":"0000019f5125a368"} 
[2026-07-11 17:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-11 17:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645847040001,"66":13222,"205":206,"85":15104,"24":40,"16":105105490479939584,"45":9157858761223448576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-11 17:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645847040001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:59:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105105490479939584,"km_value":105105490479939.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157858761223448576,"description":"Unknown IO ID 45"} 
[2026-07-11 17:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645847040001,"power":13222,"cell_id":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9157858761223448576}} 
[2026-07-11 17:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":128872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:59:14] local.INFO: GPS data processed {"connection_id":128872,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:59:14] local.INFO: Acknowledgment sent {"connection_id":128872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:59:18] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5125c690012d7efcc005de2f980007015626..."} 
[2026-07-11 17:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5125c690012d7efcc005de2f980007015626..."} 
[2026-07-11 17:59:18] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5125c690012d7efcc005de2f980007015626..."} 
[2026-07-11 17:59:18] local.INFO: Packet analysis {"connection_id":128872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:59:18] local.INFO: Extracted packet for processing {"connection_id":128872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5125"} 
[2026-07-11 17:59:18] local.INFO: GPS Element Parsed {"raw_longitude":763296960,"raw_latitude":98447256,"longitude_deg":76.329696,"latitude_deg":9.8447256,"altitude":7,"angle":342,"satellites":38,"speed":44,"hex_longitude":"2d7efcc0","hex_latitude":"05de2f98","is_valid_coordinates":true} 
[2026-07-11 17:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645849344001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105105954336407552,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154269955272523776,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783772858000,"timestamp_ms":1783772858000,"timestamp_seconds":1783772858,"priority":1,"record_length":96,"hex_timestamp":"0000019f5125c690"} 
[2026-07-11 17:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-11 17:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 17:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 17:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 17:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645849344001,"66":12961,"205":206,"85":15104,"24":44,"16":105105954336407552,"45":9154269955272523776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-11 17:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 17:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 17:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645849344001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:59:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 17:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105105954336407552,"km_value":105105954336407.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154269955272523776,"description":"Unknown IO ID 45"} 
[2026-07-11 17:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645849344001,"power":12961,"cell_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9154269955272523776}} 
[2026-07-11 17:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":128872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:59:18] local.INFO: GPS data processed {"connection_id":128872,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:59:18] local.INFO: Acknowledgment sent {"connection_id":128872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:59:40] local.INFO: TCP Data received {"connection_id":129582,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:59:40] local.INFO: Processing buffer {"connection_id":129582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 17:59:40] local.INFO: Packet analysis {"connection_id":129582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:59:40] local.INFO: Extracted packet for processing {"connection_id":129582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 17:59:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 17: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-07-11 17:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 17:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:59: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-07-11 17: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 17:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17: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-07-11 17:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 17:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 17:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 17:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 17:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 17:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 17:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:59:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 17:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 17:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 17:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 17:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":129582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:59:41] local.INFO: GPS data processed {"connection_id":129582,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:59:41] local.INFO: Acknowledgment sent {"connection_id":129582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:59:41] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51264f48012d18a58007227d00007200c42a..."} 
[2026-07-11 17:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51264f48012d18a58007227d00007200c42a..."} 
[2026-07-11 17:59:41] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51264f48012d18a58007227d00007200c42a..."} 
[2026-07-11 17:59:41] local.INFO: Packet analysis {"connection_id":130821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 17:59:41] local.INFO: Extracted packet for processing {"connection_id":130821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 17:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119700736,"longitude_deg":75.6589952,"latitude_deg":11.9700736,"altitude":114,"angle":196,"satellites":42,"speed":25,"hex_longitude":"2d18a580","hex_latitude":"07227d00","is_valid_coordinates":true} 
[2026-07-11 17:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 17:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645858304001,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5776013753581568,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189874860032,"note":"Value kept but may cause issues"} 
[2026-07-11 17:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 17:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772893000,"timestamp_ms":1783772893000,"timestamp_seconds":1783772893,"priority":1,"record_length":96,"hex_timestamp":"0000019f51264f48"} 
[2026-07-11 17:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 17:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 17:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 17:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 17:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 17:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 17:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 17:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 17:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 17:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 17:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 17:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 17:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645858304001,"66":12798,"120":206,"28":31744,"24":25,"16":5776013753581568,"45":1776881189874860032},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 17:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 17:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 17:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645858304001,"description":"Unknown IO ID 0"} 
[2026-07-11 17:59:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 17:59:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 17:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5776013753581568,"km_value":5776013753581.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 17:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189874860032,"description":"Unknown IO ID 45"} 
[2026-07-11 17:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645858304001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1776881189874860032}} 
[2026-07-11 17:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":130821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 17:59:41] local.INFO: GPS data processed {"connection_id":130821,"processed":1,"errors":0,"total":1} 
[2026-07-11 17:59:41] local.INFO: Acknowledgment sent {"connection_id":130821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 17:59:57] local.INFO: TCP Data received {"connection_id":130822,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:57] local.INFO: Processing buffer {"connection_id":130822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:57] local.INFO: IMEI packet received {"connection_id":130822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 17:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":130822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 17:59:59] local.INFO: TCP Data received {"connection_id":130822,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:59] local.INFO: Processing buffer {"connection_id":130822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 17:59:59] local.INFO: IMEI packet received {"connection_id":130822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 17:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":130822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:00:02] local.INFO: TCP Data received {"connection_id":130823,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:00:02] local.INFO: Processing buffer {"connection_id":130823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:00:02] local.INFO: IMEI packet received {"connection_id":130823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":130823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:00:03] local.INFO: TCP Data received {"connection_id":129583,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:00:03] local.INFO: Processing buffer {"connection_id":129583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:00:03] local.INFO: IMEI packet received {"connection_id":129583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":129583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:00:04] local.INFO: TCP Data received {"connection_id":130822,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:00:04] local.INFO: Processing buffer {"connection_id":130822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:00:04] local.INFO: IMEI packet received {"connection_id":130822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":130822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:00:05] local.INFO: TCP Data received {"connection_id":130822,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51266e88012d189c00072265e0006b00d027..."} 
[2026-07-11 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51266e88012d189c00072265e0006b00d027..."} 
[2026-07-11 18:00:05] local.INFO: Processing buffer {"connection_id":130822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51266e88012d189c00072265e0006b00d027..."} 
[2026-07-11 18:00:05] local.INFO: Packet analysis {"connection_id":130822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:00:05] local.INFO: Extracted packet for processing {"connection_id":130822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756587520,"raw_latitude":119694816,"longitude_deg":75.658752,"latitude_deg":11.9694816,"altitude":107,"angle":208,"satellites":39,"speed":36,"hex_longitude":"2d189c00","hex_latitude":"072265e0","is_valid_coordinates":true} 
[2026-07-11 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645860608001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5776327286194176,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396199272448,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783772901000,"timestamp_ms":1783772901000,"timestamp_seconds":1783772901,"priority":1,"record_length":96,"hex_timestamp":"0000019f51266e88"} 
[2026-07-11 18:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:00: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-07-11 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 18:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645860608001,"66":12722,"120":206,"28":31744,"24":36,"16":5776327286194176,"45":1775966396199272448},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645860608001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:00:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5776327286194176,"km_value":5776327286194.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396199272448,"description":"Unknown IO ID 45"} 
[2026-07-11 18:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645860608001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1775966396199272448}} 
[2026-07-11 18:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":130822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:00:05] local.INFO: GPS data processed {"connection_id":130822,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:00:05] local.INFO: Acknowledgment sent {"connection_id":130822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:00:08] local.INFO: TCP Data received {"connection_id":130823,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:00:08] local.INFO: Processing buffer {"connection_id":130823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:00:08] local.INFO: IMEI packet received {"connection_id":130823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":130823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:00:09] local.INFO: TCP Data received {"connection_id":130823,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512783e0012d7e880005df6018000b015728..."} 
[2026-07-11 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512783e0012d7e880005df6018000b015728..."} 
[2026-07-11 18:00:09] local.INFO: Processing buffer {"connection_id":130823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512783e0012d7e880005df6018000b015728..."} 
[2026-07-11 18:00:09] local.INFO: Packet analysis {"connection_id":130823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:00:09] local.INFO: Extracted packet for processing {"connection_id":130823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763267072,"raw_latitude":98525208,"longitude_deg":76.3267072,"latitude_deg":9.8525208,"altitude":11,"angle":343,"satellites":40,"speed":31,"hex_longitude":"2d7e8800","hex_latitude":"05df6018","is_valid_coordinates":true} 
[2026-07-11 18:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645877248001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105110068915077120,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121055908040599552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772972000,"timestamp_ms":1783772972000,"timestamp_seconds":1783772972,"priority":1,"record_length":96,"hex_timestamp":"0000019f512783e0"} 
[2026-07-11 18:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-11 18:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645877248001,"66":12613,"207":206,"85":15104,"24":31,"16":105110068915077120,"45":9121055908040599552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 18:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645877248001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:00:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 18:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105110068915077120,"km_value":105110068915077.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121055908040599552,"description":"Unknown IO ID 45"} 
[2026-07-11 18:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645877248001,"power":12613,"unknown_207":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9121055908040599552}} 
[2026-07-11 18:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":130823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:00:09] local.INFO: GPS data processed {"connection_id":130823,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:00:09] local.INFO: Acknowledgment sent {"connection_id":130823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:00:09] local.INFO: TCP Data received {"connection_id":129583,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:00:09] local.INFO: Processing buffer {"connection_id":129583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:00:09] local.INFO: IMEI packet received {"connection_id":129583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":129583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:00:09] local.INFO: TCP Data received {"connection_id":129583,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:00:09] local.INFO: Processing buffer {"connection_id":129583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:00:09] local.INFO: Packet analysis {"connection_id":129583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 18:00:09] local.INFO: Extracted packet for processing {"connection_id":129583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 18:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:00: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-07-11 18: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:00:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:00:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":129583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:00:09] local.INFO: GPS data processed {"connection_id":129583,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:00:09] local.INFO: Acknowledgment sent {"connection_id":129583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:00:37] local.INFO: TCP Data received {"connection_id":130822,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f512691b0012d18880007224760006100d528..."} 
[2026-07-11 18:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512691b0012d18880007224760006100d528..."} 
[2026-07-11 18:00:37] local.INFO: Processing buffer {"connection_id":130822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512691b0012d18880007224760006100d528..."} 
[2026-07-11 18:00:37] local.INFO: Packet analysis {"connection_id":130822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:00:37] local.INFO: Extracted packet for processing {"connection_id":130822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756582400,"raw_latitude":119687008,"longitude_deg":75.65824,"latitude_deg":11.9687008,"altitude":97,"angle":213,"satellites":40,"speed":46,"hex_longitude":"2d188800","hex_latitude":"07224760","is_valid_coordinates":true} 
[2026-07-11 18:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645862656001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5776773962792960,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773292383919005696,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783772910000,"timestamp_ms":1783772910000,"timestamp_seconds":1783772910,"priority":1,"record_length":96,"hex_timestamp":"0000019f512691b0"} 
[2026-07-11 18:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645862656001,"66":12765,"120":206,"28":31744,"24":46,"16":5776773962792960,"45":1773292383919005696},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645862656001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:00:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5776773962792960,"km_value":5776773962792.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773292383919005696,"description":"Unknown IO ID 45"} 
[2026-07-11 18:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645862656001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1773292383919005696}} 
[2026-07-11 18:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":130822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:00:37] local.INFO: GPS data processed {"connection_id":130822,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:00:37] local.INFO: Acknowledgment sent {"connection_id":130822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:00:40] local.INFO: TCP Data received {"connection_id":130823,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5127aaf0012d7e7d0005df8130000b015327..."} 
[2026-07-11 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5127aaf0012d7e7d0005df8130000b015327..."} 
[2026-07-11 18:00:40] local.INFO: Processing buffer {"connection_id":130823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5127aaf0012d7e7d0005df8130000b015327..."} 
[2026-07-11 18:00:40] local.INFO: Packet analysis {"connection_id":130823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:00:40] local.INFO: Extracted packet for processing {"connection_id":130823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763264256,"raw_latitude":98533680,"longitude_deg":76.3264256,"latitude_deg":9.853368,"altitude":11,"angle":339,"satellites":39,"speed":32,"hex_longitude":"2d7e7d00","hex_latitude":"05df8130","is_valid_coordinates":true} 
[2026-07-11 18:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645880832001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105110502706774016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117537470834022400,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772982000,"timestamp_ms":1783772982000,"timestamp_seconds":1783772982,"priority":1,"record_length":96,"hex_timestamp":"0000019f5127aaf0"} 
[2026-07-11 18:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:00: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-07-11 18:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 18:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645880832001,"66":12798,"207":206,"85":15104,"24":32,"16":105110502706774016,"45":9117537470834022400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 18:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645880832001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:00:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 18:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105110502706774016,"km_value":105110502706774.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117537470834022400,"description":"Unknown IO ID 45"} 
[2026-07-11 18:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645880832001,"power":12798,"unknown_207":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9117537470834022400}} 
[2026-07-11 18:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":130823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:00:40] local.INFO: GPS data processed {"connection_id":130823,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:00:40] local.INFO: Acknowledgment sent {"connection_id":130823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:00:40] local.INFO: TCP Data received {"connection_id":129583,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:00:40] local.INFO: Processing buffer {"connection_id":129583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:00:40] local.INFO: Packet analysis {"connection_id":129583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 18:00:40] local.INFO: Extracted packet for processing {"connection_id":129583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 18:00:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 18:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:00: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-07-11 18:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:00:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:00:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":129583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:00:40] local.INFO: GPS data processed {"connection_id":129583,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:00:40] local.INFO: Acknowledgment sent {"connection_id":129583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:01:00] local.INFO: TCP Data received {"connection_id":128695,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:00] local.INFO: Processing buffer {"connection_id":128695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:00] local.INFO: IMEI packet received {"connection_id":128695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":128695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:01:01] local.INFO: TCP Data received {"connection_id":128695,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:01] local.INFO: Processing buffer {"connection_id":128695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:01] local.INFO: IMEI packet received {"connection_id":128695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":128695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:01:01] local.INFO: TCP Data received {"connection_id":128873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:01:01] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:01:01] local.INFO: IMEI packet received {"connection_id":128873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":128873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:01:02] local.INFO: TCP Data received {"connection_id":128873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:01:02] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:01:02] local.INFO: IMEI packet received {"connection_id":128873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":128873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:01:08] local.INFO: TCP Data received {"connection_id":128873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:01:08] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:01:08] local.INFO: IMEI packet received {"connection_id":128873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":128873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:01:08] local.INFO: TCP Data received {"connection_id":128695,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:08] local.INFO: Processing buffer {"connection_id":128695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:08] local.INFO: IMEI packet received {"connection_id":128695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":128695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:01:08] local.INFO: TCP Data received {"connection_id":128873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5127d9d0012d7e720005dfa200000b015626..."} 
[2026-07-11 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5127d9d0012d7e720005dfa200000b015626..."} 
[2026-07-11 18:01:08] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5127d9d0012d7e720005dfa200000b015626..."} 
[2026-07-11 18:01:08] local.INFO: Packet analysis {"connection_id":128873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:01:08] local.INFO: Extracted packet for processing {"connection_id":128873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763261440,"raw_latitude":98542080,"longitude_deg":76.326144,"latitude_deg":9.854208,"altitude":11,"angle":342,"satellites":38,"speed":24,"hex_longitude":"2d7e7200","hex_latitude":"05dfa200","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645883392001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105110932203503616,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114441246092374016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783772994000,"timestamp_ms":1783772994000,"timestamp_seconds":1783772994,"priority":1,"record_length":96,"hex_timestamp":"0000019f5127d9d0"} 
[2026-07-11 18:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 18:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645883392001,"66":13059,"207":206,"85":15104,"24":24,"16":105110932203503616,"45":9114441246092374016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 18:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645883392001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:01:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 18:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105110932203503616,"km_value":105110932203503.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114441246092374016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645883392001,"power":13059,"unknown_207":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9114441246092374016}} 
[2026-07-11 18:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":128873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:01:08] local.INFO: GPS data processed {"connection_id":128873,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:01:08] local.INFO: Acknowledgment sent {"connection_id":128873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:01:09] local.INFO: TCP Data received {"connection_id":128696,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:01:09] local.INFO: Processing buffer {"connection_id":128696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:01:09] local.INFO: IMEI packet received {"connection_id":128696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":128696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:01:10] local.INFO: TCP Data received {"connection_id":128695,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5126b0f0012d18728007222780005c00d628..."} 
[2026-07-11 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5126b0f0012d18728007222780005c00d628..."} 
[2026-07-11 18:01:10] local.INFO: Processing buffer {"connection_id":128695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5126b0f0012d18728007222780005c00d628..."} 
[2026-07-11 18:01:10] local.INFO: Packet analysis {"connection_id":128695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:01:10] local.INFO: Extracted packet for processing {"connection_id":128695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756576896,"raw_latitude":119678848,"longitude_deg":75.6576896,"latitude_deg":11.9678848,"altitude":92,"angle":214,"satellites":40,"speed":48,"hex_longitude":"2d187280","hex_latitude":"07222780","is_valid_coordinates":true} 
[2026-07-11 18:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645864960001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777250704162816,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767662884382793728,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783772918000,"timestamp_ms":1783772918000,"timestamp_seconds":1783772918,"priority":1,"record_length":96,"hex_timestamp":"0000019f5126b0f0"} 
[2026-07-11 18:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 18:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645864960001,"66":12776,"120":206,"28":31744,"24":48,"16":5777250704162816,"45":1767662884382793728},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645864960001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:01:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:01:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777250704162816,"km_value":5777250704162.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767662884382793728,"description":"Unknown IO ID 45"} 
[2026-07-11 18:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645864960001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1767662884382793728}} 
[2026-07-11 18:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":128695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:01:10] local.INFO: GPS data processed {"connection_id":128695,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:01:10] local.INFO: Acknowledgment sent {"connection_id":128695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:01:14] local.INFO: TCP Data received {"connection_id":128696,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:01:14] local.INFO: Processing buffer {"connection_id":128696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:01:14] local.INFO: IMEI packet received {"connection_id":128696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":128696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:01:14] local.INFO: TCP Data received {"connection_id":128696,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:01:14] local.INFO: Processing buffer {"connection_id":128696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:01:14] local.INFO: Packet analysis {"connection_id":128696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 18:01:14] local.INFO: Extracted packet for processing {"connection_id":128696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 18:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:01:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":128696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:01:14] local.INFO: GPS data processed {"connection_id":128696,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:01:14] local.INFO: Acknowledgment sent {"connection_id":128696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:01:19] local.INFO: TCP Data received {"connection_id":128696,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:01:19] local.INFO: Processing buffer {"connection_id":128696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51240940012cbce580076d7fb8004b00af28..."} 
[2026-07-11 18:01:19] local.INFO: Packet analysis {"connection_id":128696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 18:01:19] local.INFO: Extracted packet for processing {"connection_id":128696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5124"} 
[2026-07-11 18:01:19] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645745408001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783772744000,"timestamp_ms":1783772744000,"timestamp_seconds":1783772744,"priority":1,"record_length":96,"hex_timestamp":"0000019f51240940"} 
[2026-07-11 18:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645745408001,"66":26039,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645745408001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:01:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:01:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645745408001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":128696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:01:19] local.INFO: GPS data processed {"connection_id":128696,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:01:19] local.INFO: Acknowledgment sent {"connection_id":128696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:01:40] local.INFO: TCP Data received {"connection_id":128873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51294ce8012d7e11c005e0c2f00006014d27..."} 
[2026-07-11 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51294ce8012d7e11c005e0c2f00006014d27..."} 
[2026-07-11 18:01:40] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51294ce8012d7e11c005e0c2f00006014d27..."} 
[2026-07-11 18:01:40] local.INFO: Packet analysis {"connection_id":128873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:01:40] local.INFO: Extracted packet for processing {"connection_id":128873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763236800,"raw_latitude":98616048,"longitude_deg":76.32368,"latitude_deg":9.8616048,"altitude":6,"angle":333,"satellites":39,"speed":21,"hex_longitude":"2d7e11c0","hex_latitude":"05e0c2f0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645910272001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105114827738841088,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084956742302795776,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773089000,"timestamp_ms":1783773089000,"timestamp_seconds":1783773089,"priority":1,"record_length":96,"hex_timestamp":"0000019f51294ce8"} 
[2026-07-11 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-07-11 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-11 18:01:40] 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-07-11 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-07-11 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-07-11 18:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645910272001,"66":13189,"207":206,"85":15104,"24":21,"16":105114827738841088,"45":9084956742302795776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 18:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645910272001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:01:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 18:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105114827738841088,"km_value":105114827738841.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084956742302795776,"description":"Unknown IO ID 45"} 
[2026-07-11 18:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645910272001,"power":13189,"unknown_207":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9084956742302795776}} 
[2026-07-11 18:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":128873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:01:40] local.INFO: GPS data processed {"connection_id":128873,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:01:40] local.INFO: Acknowledgment sent {"connection_id":128873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:01:41] local.INFO: TCP Data received {"connection_id":128695,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5126d800012d185e4007220938005500d429..."} 
[2026-07-11 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5126d800012d185e4007220938005500d429..."} 
[2026-07-11 18:01:41] local.INFO: Processing buffer {"connection_id":128695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5126d800012d185e4007220938005500d429..."} 
[2026-07-11 18:01:41] local.INFO: Packet analysis {"connection_id":128695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:01:41] local.INFO: Extracted packet for processing {"connection_id":128695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756571712,"raw_latitude":119671096,"longitude_deg":75.6571712,"latitude_deg":11.9671096,"altitude":85,"angle":212,"satellites":41,"speed":22,"hex_longitude":"2d185e40","hex_latitude":"07220938","is_valid_coordinates":true} 
[2026-07-11 18:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645867008001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777697380761600,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761611172381425664,"note":"Value kept but may cause issues"} 
[2026-07-11 18:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783772928000,"timestamp_ms":1783772928000,"timestamp_seconds":1783772928,"priority":1,"record_length":96,"hex_timestamp":"0000019f5126d800"} 
[2026-07-11 18:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 18:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645867008001,"66":12776,"120":206,"28":31744,"24":22,"16":5777697380761600,"45":1761611172381425664},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645867008001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:01:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777697380761600,"km_value":5777697380761.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761611172381425664,"description":"Unknown IO ID 45"} 
[2026-07-11 18:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645867008001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1761611172381425664}} 
[2026-07-11 18:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":128695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:01:41] local.INFO: GPS data processed {"connection_id":128695,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:01:41] local.INFO: Acknowledgment sent {"connection_id":128695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:01:59] local.INFO: TCP Data received {"connection_id":130825,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:59] local.INFO: Processing buffer {"connection_id":130825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:01:59] local.INFO: IMEI packet received {"connection_id":130825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":130825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:02:02] local.INFO: TCP Data received {"connection_id":129585,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:02:02] local.INFO: Processing buffer {"connection_id":129585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:02:02] local.INFO: IMEI packet received {"connection_id":129585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":129585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:02:03] local.INFO: TCP Data received {"connection_id":130825,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:02:03] local.INFO: Processing buffer {"connection_id":130825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:02:03] local.INFO: IMEI packet received {"connection_id":130825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":130825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:02:03] local.INFO: TCP Data received {"connection_id":130826,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:02:03] local.INFO: Processing buffer {"connection_id":130826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:02:03] local.INFO: IMEI packet received {"connection_id":130826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":130826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:02:04] local.INFO: TCP Data received {"connection_id":130825,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5126eb88012d185b00072203e8005300c82b..."} 
[2026-07-11 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5126eb88012d185b00072203e8005300c82b..."} 
[2026-07-11 18:02:04] local.INFO: Processing buffer {"connection_id":130825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5126eb88012d185b00072203e8005300c82b..."} 
[2026-07-11 18:02:04] local.INFO: Packet analysis {"connection_id":130825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:02:04] local.INFO: Extracted packet for processing {"connection_id":130825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669736,"longitude_deg":75.657088,"latitude_deg":11.9669736,"altitude":83,"angle":200,"satellites":43,"speed":6,"hex_longitude":"2d185b00","hex_latitude":"072203e8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645869568001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777774690172928,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755911304101050368,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783772933000,"timestamp_ms":1783772933000,"timestamp_seconds":1783772933,"priority":1,"record_length":96,"hex_timestamp":"0000019f5126eb88"} 
[2026-07-11 18:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 18:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645869568001,"66":12743,"120":206,"28":31744,"24":6,"16":5777774690172928,"45":1755911304101050368},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645869568001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:02:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777774690172928,"km_value":5777774690172.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755911304101050368,"description":"Unknown IO ID 45"} 
[2026-07-11 18:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645869568001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1755911304101050368}} 
[2026-07-11 18:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":130825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:02:05] local.INFO: GPS data processed {"connection_id":130825,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:02:05] local.INFO: Acknowledgment sent {"connection_id":130825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:02:06] local.INFO: TCP Data received {"connection_id":129585,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:02:06] local.INFO: Processing buffer {"connection_id":129585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:02:06] local.INFO: IMEI packet received {"connection_id":129585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":129585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:02:07] local.INFO: TCP Data received {"connection_id":129585,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512954b8012d7e104005e0c7180007015a27..."} 
[2026-07-11 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512954b8012d7e104005e0c7180007015a27..."} 
[2026-07-11 18:02:07] local.INFO: Processing buffer {"connection_id":129585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512954b8012d7e104005e0c7180007015a27..."} 
[2026-07-11 18:02:07] local.INFO: Packet analysis {"connection_id":129585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:02:07] local.INFO: Extracted packet for processing {"connection_id":129585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763236416,"raw_latitude":98617112,"longitude_deg":76.3236416,"latitude_deg":9.8617112,"altitude":7,"angle":346,"satellites":39,"speed":22,"hex_longitude":"2d7e1040","hex_latitude":"05e0c718","is_valid_coordinates":true} 
[2026-07-11 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645910784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105114879278448640,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084253054861242368,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783773091000,"timestamp_ms":1783773091000,"timestamp_seconds":1783773091,"priority":1,"record_length":96,"hex_timestamp":"0000019f512954b8"} 
[2026-07-11 18:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-11 18:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645910784001,"66":12939,"207":206,"85":15104,"24":22,"16":105114879278448640,"45":9084253054861242368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 18:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645910784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:02:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 18:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105114879278448640,"km_value":105114879278448.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084253054861242368,"description":"Unknown IO ID 45"} 
[2026-07-11 18:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645910784001,"power":12939,"unknown_207":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9084253054861242368}} 
[2026-07-11 18:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":129585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:02:08] local.INFO: GPS data processed {"connection_id":129585,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:02:08] local.INFO: Acknowledgment sent {"connection_id":129585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:02:09] local.INFO: TCP Data received {"connection_id":130826,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:02:09] local.INFO: Processing buffer {"connection_id":130826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:02:09] local.INFO: IMEI packet received {"connection_id":130826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":130826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:02:09] local.INFO: TCP Data received {"connection_id":130826,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:02:09] local.INFO: Processing buffer {"connection_id":130826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:02:09] local.INFO: Packet analysis {"connection_id":130826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:02:09] local.INFO: Extracted packet for processing {"connection_id":130826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:02:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645822464001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773045000,"timestamp_ms":1783773045000,"timestamp_seconds":1783773045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128a108"} 
[2026-07-11 18:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:02: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-07-11 18:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645822464001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645822464001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:02:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645822464001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":130826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:02:09] local.INFO: GPS data processed {"connection_id":130826,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:02:09] local.INFO: Acknowledgment sent {"connection_id":130826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:02:36] local.INFO: TCP Data received {"connection_id":130825,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5126ff10012d185a4007220208005100d729..."} 
[2026-07-11 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5126ff10012d185a4007220208005100d729..."} 
[2026-07-11 18:02:36] local.INFO: Processing buffer {"connection_id":130825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5126ff10012d185a4007220208005100d729..."} 
[2026-07-11 18:02:36] local.INFO: Packet analysis {"connection_id":130825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:02:36] local.INFO: Extracted packet for processing {"connection_id":130825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5126"} 
[2026-07-11 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756570688,"raw_latitude":119669256,"longitude_deg":75.6570688,"latitude_deg":11.9669256,"altitude":81,"angle":215,"satellites":41,"speed":5,"hex_longitude":"2d185a40","hex_latitude":"07220208","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645870848001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777804754944000,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426392576,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783772938000,"timestamp_ms":1783772938000,"timestamp_seconds":1783772938,"priority":1,"record_length":96,"hex_timestamp":"0000019f5126ff10"} 
[2026-07-11 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-07-11 18:02:36] 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-07-11 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 18:02:36] 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-07-11 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-07-11 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-07-11 18:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645870848001,"66":12743,"120":206,"28":31744,"24":5,"16":5777804754944000,"45":1754996510426392576},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645870848001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:02:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777804754944000,"km_value":5777804754944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426392576,"description":"Unknown IO ID 45"} 
[2026-07-11 18:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645870848001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1754996510426392576}} 
[2026-07-11 18:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":130825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:02:36] local.INFO: GPS data processed {"connection_id":130825,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:02:36] local.INFO: Acknowledgment sent {"connection_id":130825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:02:38] local.INFO: TCP Data received {"connection_id":129585,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51295c88012d7e0fc005e0cb900006016727..."} 
[2026-07-11 18:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51295c88012d7e0fc005e0cb900006016727..."} 
[2026-07-11 18:02:38] local.INFO: Processing buffer {"connection_id":129585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51295c88012d7e0fc005e0cb900006016727..."} 
[2026-07-11 18:02:38] local.INFO: Packet analysis {"connection_id":129585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:02:38] local.INFO: Extracted packet for processing {"connection_id":129585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763236288,"raw_latitude":98618256,"longitude_deg":76.3236288,"latitude_deg":9.8618256,"altitude":6,"angle":359,"satellites":39,"speed":22,"hex_longitude":"2d7e0fc0","hex_latitude":"05e0cb90","is_valid_coordinates":true} 
[2026-07-11 18:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645911296001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105114935113023488,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083830842396448768,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783773093000,"timestamp_ms":1783773093000,"timestamp_seconds":1783773093,"priority":1,"record_length":96,"hex_timestamp":"0000019f51295c88"} 
[2026-07-11 18:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:02:38] 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-07-11 18:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645911296001,"66":12917,"207":206,"85":15104,"24":22,"16":105114935113023488,"45":9083830842396448768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-11 18:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645911296001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:02:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 18:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105114935113023488,"km_value":105114935113023.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083830842396448768,"description":"Unknown IO ID 45"} 
[2026-07-11 18:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645911296001,"power":12917,"unknown_207":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9083830842396448768}} 
[2026-07-11 18:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":129585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:02:38] local.INFO: GPS data processed {"connection_id":129585,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:02:38] local.INFO: Acknowledgment sent {"connection_id":129585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:02:40] local.INFO: TCP Data received {"connection_id":130826,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:02:40] local.INFO: Processing buffer {"connection_id":130826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:02:40] local.INFO: Packet analysis {"connection_id":130826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:02:40] local.INFO: Extracted packet for processing {"connection_id":130826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645822464001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773045000,"timestamp_ms":1783773045000,"timestamp_seconds":1783773045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128a108"} 
[2026-07-11 18:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:02: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-07-11 18: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645822464001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645822464001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:02:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:02:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645822464001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":130826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:02:40] local.INFO: GPS data processed {"connection_id":130826,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:02:40] local.INFO: Acknowledgment sent {"connection_id":130826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:03:02] local.INFO: TCP Data received {"connection_id":128700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:03:02] local.INFO: Processing buffer {"connection_id":128700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:03:02] local.INFO: IMEI packet received {"connection_id":128700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":128700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:03:03] local.INFO: TCP Data received {"connection_id":128699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:03:03] local.INFO: Processing buffer {"connection_id":128699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:03:03] local.INFO: IMEI packet received {"connection_id":128699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":128699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:03:05] local.INFO: TCP Data received {"connection_id":128698,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:03:05] local.INFO: Processing buffer {"connection_id":128698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:03:05] local.INFO: IMEI packet received {"connection_id":128698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":128698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:03:06] local.INFO: TCP Data received {"connection_id":128698,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:03:06] local.INFO: Processing buffer {"connection_id":128698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:03:06] local.INFO: IMEI packet received {"connection_id":128698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":128698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:03:07] local.INFO: TCP Data received {"connection_id":128698,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51275118012d1859c007220088005000d729..."} 
[2026-07-11 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51275118012d1859c007220088005000d729..."} 
[2026-07-11 18:03:07] local.INFO: Processing buffer {"connection_id":128698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51275118012d1859c007220088005000d729..."} 
[2026-07-11 18:03:07] local.INFO: Packet analysis {"connection_id":128698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:03:07] local.INFO: Extracted packet for processing {"connection_id":128698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645872128001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754785404193736704,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783772959000,"timestamp_ms":1783772959000,"timestamp_seconds":1783772959,"priority":1,"record_length":96,"hex_timestamp":"0000019f51275118"} 
[2026-07-11 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-07-11 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 18:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645872128001,"66":12711,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754785404193736704},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645872128001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:03:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754785404193736704,"description":"Unknown IO ID 45"} 
[2026-07-11 18:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645872128001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754785404193736704}} 
[2026-07-11 18:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":128698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:03:07] local.INFO: GPS data processed {"connection_id":128698,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:03:07] local.INFO: Acknowledgment sent {"connection_id":128698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:03:07] local.INFO: TCP Data received {"connection_id":128700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:03:07] local.INFO: Processing buffer {"connection_id":128700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:03:07] local.INFO: IMEI packet received {"connection_id":128700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":128700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:03:08] local.INFO: TCP Data received {"connection_id":128700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:03:08] local.INFO: Processing buffer {"connection_id":128700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:03:08] local.INFO: IMEI packet received {"connection_id":128700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":128700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:03:09] local.INFO: TCP Data received {"connection_id":128700,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512a98f0012d7e19c005e1a0400007000527..."} 
[2026-07-11 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512a98f0012d7e19c005e1a0400007000527..."} 
[2026-07-11 18:03:09] local.INFO: Processing buffer {"connection_id":128700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512a98f0012d7e19c005e1a0400007000527..."} 
[2026-07-11 18:03:09] local.INFO: Packet analysis {"connection_id":128700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:03:09] local.INFO: Extracted packet for processing {"connection_id":128700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763238848,"raw_latitude":98672704,"longitude_deg":76.3238848,"latitude_deg":9.8672704,"altitude":7,"angle":5,"satellites":39,"speed":26,"hex_longitude":"2d7e19c0","hex_latitude":"05e1a040","is_valid_coordinates":true} 
[2026-07-11 18:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645928704001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105117623762550784,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085730798501079040,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773174000,"timestamp_ms":1783773174000,"timestamp_seconds":1783773174,"priority":1,"record_length":96,"hex_timestamp":"0000019f512a98f0"} 
[2026-07-11 18:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:03:09] 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-07-11 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645928704001,"66":12798,"60":206,"85":15104,"24":26,"16":105117623762550784,"45":9085730798501079040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 18:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645928704001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:03:09] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 18:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105117623762550784,"km_value":105117623762550.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085730798501079040,"description":"Unknown IO ID 45"} 
[2026-07-11 18:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645928704001,"power":12798,"unknown_60":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9085730798501079040}} 
[2026-07-11 18:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":128700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:03:09] local.INFO: GPS data processed {"connection_id":128700,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:03:09] local.INFO: Acknowledgment sent {"connection_id":128700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:03:09] local.INFO: TCP Data received {"connection_id":128699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:03:09] local.INFO: Processing buffer {"connection_id":128699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:03:09] local.INFO: IMEI packet received {"connection_id":128699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":128699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:03:09] local.INFO: TCP Data received {"connection_id":128700,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512aa4a8012d7e1ac005e1a8c80007001127..."} 
[2026-07-11 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512aa4a8012d7e1ac005e1a8c80007001127..."} 
[2026-07-11 18:03:09] local.INFO: Processing buffer {"connection_id":128700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512aa4a8012d7e1ac005e1a8c80007001127..."} 
[2026-07-11 18:03:09] local.INFO: Packet analysis {"connection_id":128700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:03:09] local.INFO: Extracted packet for processing {"connection_id":128700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763239104,"raw_latitude":98674888,"longitude_deg":76.3239104,"latitude_deg":9.8674888,"altitude":7,"angle":17,"satellites":39,"speed":30,"hex_longitude":"2d7e1ac0","hex_latitude":"05e1a8c8","is_valid_coordinates":true} 
[2026-07-11 18:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645932544001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105117731136733184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086504854689431552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773177000,"timestamp_ms":1783773177000,"timestamp_seconds":1783773177,"priority":1,"record_length":96,"hex_timestamp":"0000019f512aa4a8"} 
[2026-07-11 18:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 18:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645932544001,"66":12613,"60":206,"85":15104,"24":30,"16":105117731136733184,"45":9086504854689431552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 18:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645932544001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:03:09] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 18:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105117731136733184,"km_value":105117731136733.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086504854689431552,"description":"Unknown IO ID 45"} 
[2026-07-11 18:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645932544001,"power":12613,"unknown_60":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9086504854689431552}} 
[2026-07-11 18:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":128700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:03:09] local.INFO: GPS data processed {"connection_id":128700,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:03:09] local.INFO: Acknowledgment sent {"connection_id":128700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:03:10] local.INFO: TCP Data received {"connection_id":128698,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5127a320012d1859c007220088005000d72a..."} 
[2026-07-11 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5127a320012d1859c007220088005000d72a..."} 
[2026-07-11 18:03:10] local.INFO: Processing buffer {"connection_id":128698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5127a320012d1859c007220088005000d72a..."} 
[2026-07-11 18:03:10] local.INFO: Packet analysis {"connection_id":128698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:03:10] local.INFO: Extracted packet for processing {"connection_id":128698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 18:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645877504001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783772980000,"timestamp_ms":1783772980000,"timestamp_seconds":1783772980,"priority":1,"record_length":96,"hex_timestamp":"0000019f5127a320"} 
[2026-07-11 18:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 18:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645877504001,"66":12711,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645877504001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:03:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645877504001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":128698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:03:10] local.INFO: GPS data processed {"connection_id":128698,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:03:10] local.INFO: Acknowledgment sent {"connection_id":128698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:03:10] local.INFO: TCP Data received {"connection_id":128699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:03:10] local.INFO: Processing buffer {"connection_id":128699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:03:10] local.INFO: Packet analysis {"connection_id":128699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:03:10] local.INFO: Extracted packet for processing {"connection_id":128699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:03:10] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645822464001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783773045000,"timestamp_ms":1783773045000,"timestamp_seconds":1783773045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128a108"} 
[2026-07-11 18:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645822464001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645822464001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:03:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645822464001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":128699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:03:10] local.INFO: GPS data processed {"connection_id":128699,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:03:10] local.INFO: Acknowledgment sent {"connection_id":128699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:03:41] local.INFO: TCP Data received {"connection_id":128700,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512aac78012d7e1d4005e1ae980008001f26..."} 
[2026-07-11 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512aac78012d7e1d4005e1ae980008001f26..."} 
[2026-07-11 18:03:41] local.INFO: Processing buffer {"connection_id":128700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512aac78012d7e1d4005e1ae980008001f26..."} 
[2026-07-11 18:03:41] local.INFO: Packet analysis {"connection_id":128700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:03:41] local.INFO: Extracted packet for processing {"connection_id":128700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763239744,"raw_latitude":98676376,"longitude_deg":76.3239744,"latitude_deg":9.8676376,"altitude":8,"angle":31,"satellites":38,"speed":33,"hex_longitude":"2d7e1d40","hex_latitude":"05e1ae98","is_valid_coordinates":true} 
[2026-07-11 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645933312001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105117808446144512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086786329666701312,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783773179000,"timestamp_ms":1783773179000,"timestamp_seconds":1783773179,"priority":1,"record_length":96,"hex_timestamp":"0000019f512aac78"} 
[2026-07-11 18:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:03: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-07-11 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 18:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645933312001,"66":11961,"60":206,"85":15104,"24":33,"16":105117808446144512,"45":9086786329666701312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645933312001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105117808446144512,"km_value":105117808446144.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086786329666701312,"description":"Unknown IO ID 45"} 
[2026-07-11 18:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645933312001,"power":11961,"unknown_60":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9086786329666701312}} 
[2026-07-11 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":128700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:03:41] local.INFO: GPS data processed {"connection_id":128700,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:03:41] local.INFO: Acknowledgment sent {"connection_id":128700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:03:41] local.INFO: TCP Data received {"connection_id":128699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:03:41] local.INFO: Processing buffer {"connection_id":128699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:03:41] local.INFO: Packet analysis {"connection_id":128699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:03:41] local.INFO: Extracted packet for processing {"connection_id":128699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645822464001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783773045000,"timestamp_ms":1783773045000,"timestamp_seconds":1783773045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128a108"} 
[2026-07-11 18:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:03: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-07-11 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645822464001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645822464001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645822464001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":128699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:03:41] local.INFO: GPS data processed {"connection_id":128699,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:03:41] local.INFO: Acknowledgment sent {"connection_id":128699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:03:41] local.INFO: TCP Data received {"connection_id":128698,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5127f528012d1859c007220088005000d728..."} 
[2026-07-11 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5127f528012d1859c007220088005000d728..."} 
[2026-07-11 18:03:41] local.INFO: Processing buffer {"connection_id":128698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5127f528012d1859c007220088005000d728..."} 
[2026-07-11 18:03:41] local.INFO: Packet analysis {"connection_id":128698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:03:41] local.INFO: Extracted packet for processing {"connection_id":128698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5127"} 
[2026-07-11 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645882880001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783773001000,"timestamp_ms":1783773001000,"timestamp_seconds":1783773001,"priority":1,"record_length":96,"hex_timestamp":"0000019f5127f528"} 
[2026-07-11 18:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-11 18:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645882880001,"66":12678,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645882880001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645882880001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":128698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:03:41] local.INFO: GPS data processed {"connection_id":128698,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:03:41] local.INFO: Acknowledgment sent {"connection_id":128698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:03:59] local.INFO: TCP Data received {"connection_id":128875,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:03:59] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:03:59] local.INFO: IMEI packet received {"connection_id":128875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":128875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:04:03] local.INFO: TCP Data received {"connection_id":129586,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:04:03] local.INFO: Processing buffer {"connection_id":129586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:04:03] local.INFO: IMEI packet received {"connection_id":129586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":129586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:04:04] local.INFO: TCP Data received {"connection_id":128875,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:04:04] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:04:04] local.INFO: IMEI packet received {"connection_id":128875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":128875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:04:05] local.INFO: TCP Data received {"connection_id":128874,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:04:05] local.INFO: Processing buffer {"connection_id":128874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:04:05] local.INFO: IMEI packet received {"connection_id":128874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:04:05] local.INFO: TCP Data received {"connection_id":128875,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51284730012d1859c007220088005000d729..."} 
[2026-07-11 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51284730012d1859c007220088005000d729..."} 
[2026-07-11 18:04:05] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51284730012d1859c007220088005000d729..."} 
[2026-07-11 18:04:05] local.INFO: Packet analysis {"connection_id":128875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:04:05] local.INFO: Extracted packet for processing {"connection_id":128875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 18:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645888256001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783773022000,"timestamp_ms":1783773022000,"timestamp_seconds":1783773022,"priority":1,"record_length":96,"hex_timestamp":"0000019f51284730"} 
[2026-07-11 18:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 18:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645888256001,"66":12678,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645888256001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:04:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645888256001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":128875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:04:05] local.INFO: GPS data processed {"connection_id":128875,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:04:05] local.INFO: Acknowledgment sent {"connection_id":128875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:04:07] local.INFO: TCP Data received {"connection_id":128876,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:04:07] local.INFO: Processing buffer {"connection_id":128876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:04:07] local.INFO: IMEI packet received {"connection_id":128876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":128876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:04:07] local.INFO: TCP Data received {"connection_id":128876,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:04:07] local.INFO: Processing buffer {"connection_id":128876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:04:07] local.INFO: IMEI packet received {"connection_id":128876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":128876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:04:09] local.INFO: TCP Data received {"connection_id":129586,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:04:09] local.INFO: Processing buffer {"connection_id":129586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:04:09] local.INFO: IMEI packet received {"connection_id":129586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":129586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:04:10] local.INFO: TCP Data received {"connection_id":129586,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:04:10] local.INFO: Processing buffer {"connection_id":129586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:04:10] local.INFO: Packet analysis {"connection_id":129586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:04:10] local.INFO: Extracted packet for processing {"connection_id":129586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:04:10] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645822464001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783773045000,"timestamp_ms":1783773045000,"timestamp_seconds":1783773045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128a108"} 
[2026-07-11 18:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645822464001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645822464001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:04:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645822464001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":129586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:04:10] local.INFO: GPS data processed {"connection_id":129586,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:04:10] local.INFO: Acknowledgment sent {"connection_id":129586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:04:13] local.INFO: TCP Data received {"connection_id":128876,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:04:13] local.INFO: Processing buffer {"connection_id":128876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:04:13] local.INFO: IMEI packet received {"connection_id":128876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":128876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:04:13] local.INFO: TCP Data received {"connection_id":128876,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512ac3e8012d7e290005e1c2e00009000f23..."} 
[2026-07-11 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512ac3e8012d7e290005e1c2e00009000f23..."} 
[2026-07-11 18:04:13] local.INFO: Processing buffer {"connection_id":128876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512ac3e8012d7e290005e1c2e00009000f23..."} 
[2026-07-11 18:04:13] local.INFO: Packet analysis {"connection_id":128876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:04:13] local.INFO: Extracted packet for processing {"connection_id":128876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763242752,"raw_latitude":98681568,"longitude_deg":76.3242752,"latitude_deg":9.8681568,"altitude":9,"angle":15,"satellites":35,"speed":42,"hex_longitude":"2d7e2900","hex_latitude":"05e1c2e0","is_valid_coordinates":true} 
[2026-07-11 18:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645933824001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105118100503920640,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087490017108858880,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783773185000,"timestamp_ms":1783773185000,"timestamp_seconds":1783773185,"priority":1,"record_length":96,"hex_timestamp":"0000019f512ac3e8"} 
[2026-07-11 18:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:04:13] 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-07-11 18:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 18:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645933824001,"66":12678,"60":206,"85":15104,"24":42,"16":105118100503920640,"45":9087490017108858880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 18:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645933824001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:04:13] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 18:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105118100503920640,"km_value":105118100503920.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087490017108858880,"description":"Unknown IO ID 45"} 
[2026-07-11 18:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645933824001,"power":12678,"unknown_60":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9087490017108858880}} 
[2026-07-11 18:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":128876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:04:14] local.INFO: GPS data processed {"connection_id":128876,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:04:14] local.INFO: Acknowledgment sent {"connection_id":128876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:04:16] local.INFO: TCP Data received {"connection_id":128876,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512acbb8012d7e29c005e1cb78000a000325..."} 
[2026-07-11 18:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512acbb8012d7e29c005e1cb78000a000325..."} 
[2026-07-11 18:04:16] local.INFO: Processing buffer {"connection_id":128876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512acbb8012d7e29c005e1cb78000a000325..."} 
[2026-07-11 18:04:16] local.INFO: Packet analysis {"connection_id":128876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:04:16] local.INFO: Extracted packet for processing {"connection_id":128876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:04:16] local.INFO: GPS Element Parsed {"raw_longitude":763242944,"raw_latitude":98683768,"longitude_deg":76.3242944,"latitude_deg":9.8683768,"altitude":10,"angle":3,"satellites":37,"speed":44,"hex_longitude":"2d7e29c0","hex_latitude":"05e1cb78","is_valid_coordinates":true} 
[2026-07-11 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645935360001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105118207878103040,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090797348086538240,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783773187000,"timestamp_ms":1783773187000,"timestamp_seconds":1783773187,"priority":1,"record_length":96,"hex_timestamp":"0000019f512acbb8"} 
[2026-07-11 18:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 18:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645935360001,"66":12743,"60":206,"85":15104,"24":44,"16":105118207878103040,"45":9090797348086538240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-11 18:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645935360001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:04:16] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-11 18:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105118207878103040,"km_value":105118207878103.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090797348086538240,"description":"Unknown IO ID 45"} 
[2026-07-11 18:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645935360001,"power":12743,"unknown_60":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9090797348086538240}} 
[2026-07-11 18:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":128876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:04:16] local.INFO: GPS data processed {"connection_id":128876,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:04:16] local.INFO: Acknowledgment sent {"connection_id":128876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:04:37] local.INFO: TCP Data received {"connection_id":128875,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51289938012d1859c007220088005000d72a..."} 
[2026-07-11 18:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51289938012d1859c007220088005000d72a..."} 
[2026-07-11 18:04:37] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51289938012d1859c007220088005000d72a..."} 
[2026-07-11 18:04:37] local.INFO: Packet analysis {"connection_id":128875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:04:37] local.INFO: Extracted packet for processing {"connection_id":128875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645893632001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783773043000,"timestamp_ms":1783773043000,"timestamp_seconds":1783773043,"priority":1,"record_length":96,"hex_timestamp":"0000019f51289938"} 
[2026-07-11 18:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-11 18:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645893632001,"66":12667,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645893632001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:04:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645893632001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":128875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:04:37] local.INFO: GPS data processed {"connection_id":128875,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:04:37] local.INFO: Acknowledgment sent {"connection_id":128875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:04:40] local.INFO: TCP Data received {"connection_id":129586,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:04:40] local.INFO: Processing buffer {"connection_id":129586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:04:40] local.INFO: Packet analysis {"connection_id":129586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:04:40] local.INFO: Extracted packet for processing {"connection_id":129586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645822464001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773045000,"timestamp_ms":1783773045000,"timestamp_seconds":1783773045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128a108"} 
[2026-07-11 18:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:04: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-07-11 18: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645822464001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645822464001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:04:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645822464001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":129586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:04:40] local.INFO: GPS data processed {"connection_id":129586,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:04:40] local.INFO: Acknowledgment sent {"connection_id":129586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:04:45] local.INFO: TCP Data received {"connection_id":130827,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:04:45] local.INFO: Processing buffer {"connection_id":130827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:04:45] local.INFO: IMEI packet received {"connection_id":130827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":130827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:04:47] local.INFO: TCP Data received {"connection_id":128876,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512bdd28012d7dc3c005e1fb680009010a25..."} 
[2026-07-11 18:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512bdd28012d7dc3c005e1fb680009010a25..."} 
[2026-07-11 18:04:47] local.INFO: Processing buffer {"connection_id":128876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512bdd28012d7dc3c005e1fb680009010a25..."} 
[2026-07-11 18:04:47] local.INFO: Packet analysis {"connection_id":128876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512b"} 
[2026-07-11 18:04:47] local.INFO: Extracted packet for processing {"connection_id":128876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512b"} 
[2026-07-11 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":763216832,"raw_latitude":98696040,"longitude_deg":76.3216832,"latitude_deg":9.869604,"altitude":9,"angle":266,"satellites":37,"speed":27,"hex_longitude":"2d7dc3c0","hex_latitude":"05e1fb68","is_valid_coordinates":true} 
[2026-07-11 18:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645953024001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105120329591947264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064338700279521280,"note":"Value kept but may cause issues"} 
[2026-07-11 18:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783773257000,"timestamp_ms":1783773257000,"timestamp_seconds":1783773257,"priority":1,"record_length":96,"hex_timestamp":"0000019f512bdd28"} 
[2026-07-11 18:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 18:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645953024001,"66":12645,"61":206,"85":15104,"24":27,"16":105120329591947264,"45":9064338700279521280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 18:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645953024001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:04:47] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 18:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105120329591947264,"km_value":105120329591947.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064338700279521280,"description":"Unknown IO ID 45"} 
[2026-07-11 18:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645953024001,"power":12645,"unknown_61":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9064338700279521280}} 
[2026-07-11 18:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":128876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:04:47] local.INFO: GPS data processed {"connection_id":128876,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:04:47] local.INFO: Acknowledgment sent {"connection_id":128876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:05:00] local.INFO: TCP Data received {"connection_id":128701,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:05:00] local.INFO: Processing buffer {"connection_id":128701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:05:00] local.INFO: IMEI packet received {"connection_id":128701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":128701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:05:03] local.INFO: TCP Data received {"connection_id":129587,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:05:03] local.INFO: Processing buffer {"connection_id":129587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:05:03] local.INFO: IMEI packet received {"connection_id":129587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":129587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:05:05] local.INFO: TCP Data received {"connection_id":128701,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:05:05] local.INFO: Processing buffer {"connection_id":128701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:05:05] local.INFO: IMEI packet received {"connection_id":128701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":128701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:05:06] local.INFO: TCP Data received {"connection_id":128701,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128eb40012d1859c007220088005000d72a..."} 
[2026-07-11 18:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128eb40012d1859c007220088005000d72a..."} 
[2026-07-11 18:05:06] local.INFO: Processing buffer {"connection_id":128701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128eb40012d1859c007220088005000d72a..."} 
[2026-07-11 18:05:06] local.INFO: Packet analysis {"connection_id":128701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:05:06] local.INFO: Extracted packet for processing {"connection_id":128701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899008001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773064000,"timestamp_ms":1783773064000,"timestamp_seconds":1783773064,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128eb40"} 
[2026-07-11 18:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 18:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899008001,"66":12591,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899008001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:05:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899008001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":128701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:05:06] local.INFO: GPS data processed {"connection_id":128701,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:05:06] local.INFO: Acknowledgment sent {"connection_id":128701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:05:08] local.INFO: TCP Data received {"connection_id":129587,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:05:08] local.INFO: Processing buffer {"connection_id":129587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:05:08] local.INFO: IMEI packet received {"connection_id":129587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":129587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:05:08] local.INFO: TCP Data received {"connection_id":129587,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512becc8012d7db70005e1fc900009011527..."} 
[2026-07-11 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512becc8012d7db70005e1fc900009011527..."} 
[2026-07-11 18:05:08] local.INFO: Processing buffer {"connection_id":129587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512becc8012d7db70005e1fc900009011527..."} 
[2026-07-11 18:05:08] local.INFO: Packet analysis {"connection_id":129587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512b"} 
[2026-07-11 18:05:08] local.INFO: Extracted packet for processing {"connection_id":129587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512b"} 
[2026-07-11 18:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763213568,"raw_latitude":98696336,"longitude_deg":76.3213568,"latitude_deg":9.8696336,"altitude":9,"angle":277,"satellites":39,"speed":34,"hex_longitude":"2d7db700","hex_latitude":"05e1fc90","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645953792001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105120484210769920,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062298006698289152,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773261000,"timestamp_ms":1783773261000,"timestamp_seconds":1783773261,"priority":1,"record_length":96,"hex_timestamp":"0000019f512becc8"} 
[2026-07-11 18:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 18:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645953792001,"66":12624,"61":206,"85":15104,"24":34,"16":105120484210769920,"45":9062298006698289152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 18:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645953792001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:05:08] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 18:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105120484210769920,"km_value":105120484210769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062298006698289152,"description":"Unknown IO ID 45"} 
[2026-07-11 18:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645953792001,"power":12624,"unknown_61":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9062298006698289152}} 
[2026-07-11 18:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":129587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:05:09] local.INFO: GPS data processed {"connection_id":129587,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:05:09] local.INFO: Acknowledgment sent {"connection_id":129587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:05:09] local.INFO: TCP Data received {"connection_id":129587,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512c1f90012d7d928005e200a8000b011228..."} 
[2026-07-11 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512c1f90012d7d928005e200a8000b011228..."} 
[2026-07-11 18:05:09] local.INFO: Processing buffer {"connection_id":129587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512c1f90012d7d928005e200a8000b011228..."} 
[2026-07-11 18:05:09] local.INFO: Packet analysis {"connection_id":129587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512c"} 
[2026-07-11 18:05:09] local.INFO: Extracted packet for processing {"connection_id":129587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512c"} 
[2026-07-11 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763204224,"raw_latitude":98697384,"longitude_deg":76.3204224,"latitude_deg":9.8697384,"altitude":11,"angle":274,"satellites":40,"speed":25,"hex_longitude":"2d7d9280","hex_latitude":"05e200a8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645954816001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105120935182336000,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9058709200745304064,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773274000,"timestamp_ms":1783773274000,"timestamp_seconds":1783773274,"priority":1,"record_length":96,"hex_timestamp":"0000019f512c1f90"} 
[2026-07-11 18:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-11 18:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645954816001,"66":12645,"61":206,"85":15104,"24":25,"16":105120935182336000,"45":9058709200745304064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 18:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645954816001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:05:09] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 18:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105120935182336000,"km_value":105120935182336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9058709200745304064,"description":"Unknown IO ID 45"} 
[2026-07-11 18:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645954816001,"power":12645,"unknown_61":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9058709200745304064}} 
[2026-07-11 18:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":129587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:05:09] local.INFO: GPS data processed {"connection_id":129587,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:05:09] local.INFO: Acknowledgment sent {"connection_id":129587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:05:10] local.INFO: TCP Data received {"connection_id":130828,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:05:10] local.INFO: Processing buffer {"connection_id":130828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:05:10] local.INFO: IMEI packet received {"connection_id":130828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":130828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:05:14] local.INFO: TCP Data received {"connection_id":130828,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:05:14] local.INFO: Processing buffer {"connection_id":130828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:05:14] local.INFO: IMEI packet received {"connection_id":130828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":130828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:05:14] local.INFO: TCP Data received {"connection_id":130828,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:05:14] local.INFO: Processing buffer {"connection_id":130828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:05:14] local.INFO: Packet analysis {"connection_id":130828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:05:14] local.INFO: Extracted packet for processing {"connection_id":130828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645822464001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783773045000,"timestamp_ms":1783773045000,"timestamp_seconds":1783773045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128a108"} 
[2026-07-11 18:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645822464001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645822464001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:05:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:05:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645822464001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":130828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:05:14] local.INFO: GPS data processed {"connection_id":130828,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:05:14] local.INFO: Acknowledgment sent {"connection_id":130828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:05:19] local.INFO: TCP Data received {"connection_id":130828,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:05:19] local.INFO: Processing buffer {"connection_id":130828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:05:19] local.INFO: Packet analysis {"connection_id":130828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:05:19] local.INFO: Extracted packet for processing {"connection_id":130828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645822464001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783773045000,"timestamp_ms":1783773045000,"timestamp_seconds":1783773045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128a108"} 
[2026-07-11 18:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645822464001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645822464001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:05:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:05:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645822464001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":130828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:05:19] local.INFO: GPS data processed {"connection_id":130828,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:05:19] local.INFO: Acknowledgment sent {"connection_id":130828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:05:38] local.INFO: TCP Data received {"connection_id":128701,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51293d48012d1859c007220088005000d72a..."} 
[2026-07-11 18:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51293d48012d1859c007220088005000d72a..."} 
[2026-07-11 18:05:38] local.INFO: Processing buffer {"connection_id":128701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51293d48012d1859c007220088005000d72a..."} 
[2026-07-11 18:05:38] local.INFO: Packet analysis {"connection_id":128701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:05:38] local.INFO: Extracted packet for processing {"connection_id":128701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645904384001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783773085000,"timestamp_ms":1783773085000,"timestamp_seconds":1783773085,"priority":1,"record_length":96,"hex_timestamp":"0000019f51293d48"} 
[2026-07-11 18:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 18:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645904384001,"66":12645,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645904384001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:05:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645904384001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":128701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:05:38] local.INFO: GPS data processed {"connection_id":128701,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:05:38] local.INFO: Acknowledgment sent {"connection_id":128701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:05:41] local.INFO: TCP Data received {"connection_id":129587,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512c4a88012d7d6e4005e20360000c011229..."} 
[2026-07-11 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512c4a88012d7d6e4005e20360000c011229..."} 
[2026-07-11 18:05:41] local.INFO: Processing buffer {"connection_id":129587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512c4a88012d7d6e4005e20360000c011229..."} 
[2026-07-11 18:05:41] local.INFO: Packet analysis {"connection_id":129587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512c"} 
[2026-07-11 18:05:41] local.INFO: Extracted packet for processing {"connection_id":129587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512c"} 
[2026-07-11 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763194944,"raw_latitude":98698080,"longitude_deg":76.3194944,"latitude_deg":9.869808,"altitude":12,"angle":274,"satellites":41,"speed":37,"hex_longitude":"2d7d6e40","hex_latitude":"05e20360","is_valid_coordinates":true} 
[2026-07-11 18:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645958144001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105121377563967488,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9048435364095633408,"note":"Value kept but may cause issues"} 
[2026-07-11 18:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783773285000,"timestamp_ms":1783773285000,"timestamp_seconds":1783773285,"priority":1,"record_length":96,"hex_timestamp":"0000019f512c4a88"} 
[2026-07-11 18:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 18:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645958144001,"66":12156,"61":206,"85":15104,"24":37,"16":105121377563967488,"45":9048435364095633408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 18:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645958144001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:05:41] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 18:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105121377563967488,"km_value":105121377563967.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9048435364095633408,"description":"Unknown IO ID 45"} 
[2026-07-11 18:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645958144001,"power":12156,"unknown_61":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9048435364095633408}} 
[2026-07-11 18:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":129587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:05:41] local.INFO: GPS data processed {"connection_id":129587,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:05:41] local.INFO: Acknowledgment sent {"connection_id":129587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:05:59] local.INFO: TCP Data received {"connection_id":128877,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:05:59] local.INFO: Processing buffer {"connection_id":128877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:05:59] local.INFO: IMEI packet received {"connection_id":128877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":128877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:06:02] local.INFO: TCP Data received {"connection_id":128878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:06:02] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:06:02] local.INFO: IMEI packet received {"connection_id":128878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":128878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:06:03] local.INFO: TCP Data received {"connection_id":128878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:06:03] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:06:03] local.INFO: IMEI packet received {"connection_id":128878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":128878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:06:04] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:06:04] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:06:04] local.INFO: IMEI packet received {"connection_id":128879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":128879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:06:04] local.INFO: TCP Data received {"connection_id":128877,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:06:04] local.INFO: Processing buffer {"connection_id":128877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:06:04] local.INFO: IMEI packet received {"connection_id":128877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":128877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:06:05] local.INFO: TCP Data received {"connection_id":128877,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51298f50012d1859c007220088005000d729..."} 
[2026-07-11 18:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51298f50012d1859c007220088005000d729..."} 
[2026-07-11 18:06:05] local.INFO: Processing buffer {"connection_id":128877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51298f50012d1859c007220088005000d729..."} 
[2026-07-11 18:06:05] local.INFO: Packet analysis {"connection_id":128877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:06:05] local.INFO: Extracted packet for processing {"connection_id":128877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 18:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645909760001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783773106000,"timestamp_ms":1783773106000,"timestamp_seconds":1783773106,"priority":1,"record_length":96,"hex_timestamp":"0000019f51298f50"} 
[2026-07-11 18:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 18:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645909760001,"66":12558,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645909760001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:06:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645909760001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":128877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:06:05] local.INFO: GPS data processed {"connection_id":128877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:06:05] local.INFO: Acknowledgment sent {"connection_id":128877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:06:08] local.INFO: TCP Data received {"connection_id":128878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:06:08] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:06:08] local.INFO: IMEI packet received {"connection_id":128878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":128878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:06:09] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:06:09] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:06:09] local.INFO: IMEI packet received {"connection_id":128879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":128879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:06:09] local.INFO: TCP Data received {"connection_id":128878,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512c7198012d7d4a0005e20640000d011229..."} 
[2026-07-11 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512c7198012d7d4a0005e20640000d011229..."} 
[2026-07-11 18:06:09] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512c7198012d7d4a0005e20640000d011229..."} 
[2026-07-11 18:06:09] local.INFO: Packet analysis {"connection_id":128878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512c"} 
[2026-07-11 18:06:09] local.INFO: Extracted packet for processing {"connection_id":128878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512c"} 
[2026-07-11 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":98698816,"longitude_deg":76.3185664,"latitude_deg":9.8698816,"altitude":13,"angle":274,"satellites":41,"speed":31,"hex_longitude":"2d7d4a00","hex_latitude":"05e20640","is_valid_coordinates":true} 
[2026-07-11 18:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645960960001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105121824240566272,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038231896190050304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773295000,"timestamp_ms":1783773295000,"timestamp_seconds":1783773295,"priority":1,"record_length":96,"hex_timestamp":"0000019f512c7198"} 
[2026-07-11 18:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:06:09] 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-07-11 18: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-11 18:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645960960001,"66":12939,"61":206,"85":15104,"24":31,"16":105121824240566272,"45":9038231896190050304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 18:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645960960001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:06:09] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 18:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105121824240566272,"km_value":105121824240566.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038231896190050304,"description":"Unknown IO ID 45"} 
[2026-07-11 18:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645960960001,"power":12939,"unknown_61":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9038231896190050304}} 
[2026-07-11 18:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":128878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:06:09] local.INFO: GPS data processed {"connection_id":128878,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:06:09] local.INFO: Acknowledgment sent {"connection_id":128878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:06:09] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:06:09] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5128a108012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:06:09] local.INFO: Packet analysis {"connection_id":128879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:06:09] local.INFO: Extracted packet for processing {"connection_id":128879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5128"} 
[2026-07-11 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645822464001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773045000,"timestamp_ms":1783773045000,"timestamp_seconds":1783773045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5128a108"} 
[2026-07-11 18:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:06: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-07-11 18: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645822464001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645822464001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:06:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645822464001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":128879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:06:09] local.INFO: GPS data processed {"connection_id":128879,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:06:09] local.INFO: Acknowledgment sent {"connection_id":128879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:06:36] local.INFO: TCP Data received {"connection_id":128877,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5129e158012d1859c007220088005000d72a..."} 
[2026-07-11 18:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5129e158012d1859c007220088005000d72a..."} 
[2026-07-11 18:06:36] local.INFO: Processing buffer {"connection_id":128877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5129e158012d1859c007220088005000d72a..."} 
[2026-07-11 18:06:36] local.INFO: Packet analysis {"connection_id":128877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:06:36] local.INFO: Extracted packet for processing {"connection_id":128877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5129"} 
[2026-07-11 18:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645915136001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783773127000,"timestamp_ms":1783773127000,"timestamp_seconds":1783773127,"priority":1,"record_length":96,"hex_timestamp":"0000019f5129e158"} 
[2026-07-11 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-07-11 18:06:36] 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-07-11 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249445812436074632,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3221692928,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199655,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2263220224,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,134,159,61,45,192,80,42,10,66,235,153,1,240,123,81,34,4,113,205,245,89,136,40,239,49,2,20,7,231,86,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-11 18:06:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764844094127865856,"timestamp_seconds":5764844094127866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 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-07-11 18:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645915136001,"66":12613,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645915136001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:06:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645915136001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":128877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:06:36] local.INFO: GPS data processed {"connection_id":128877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:06:36] local.INFO: Acknowledgment sent {"connection_id":128877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:06:40] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:06:40] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:06:40] local.INFO: Packet analysis {"connection_id":128879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:06:40] local.INFO: Extracted packet for processing {"connection_id":128879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 18:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:06: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-07-11 18:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:06:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":128879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:06:40] local.INFO: GPS data processed {"connection_id":128879,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:06:40] local.INFO: Acknowledgment sent {"connection_id":128879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:06:44] local.INFO: TCP Data received {"connection_id":128878,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512dbda0012d7c5dc005e20e70000600d627..."} 
[2026-07-11 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512dbda0012d7c5dc005e20e70000600d627..."} 
[2026-07-11 18:06:44] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512dbda0012d7c5dc005e20e70000600d627..."} 
[2026-07-11 18:06:44] local.INFO: Packet analysis {"connection_id":128878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:06:44] local.INFO: Extracted packet for processing {"connection_id":128878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763125184,"raw_latitude":98700912,"longitude_deg":76.3125184,"latitude_deg":9.8700912,"altitude":6,"angle":214,"satellites":39,"speed":24,"hex_longitude":"2d7c5dc0","hex_latitude":"05e20e70","is_valid_coordinates":true} 
[2026-07-11 18:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645985024001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105124766293164032,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961811440013955072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783773380000,"timestamp_ms":1783773380000,"timestamp_seconds":1783773380,"priority":1,"record_length":96,"hex_timestamp":"0000019f512dbda0"} 
[2026-07-11 18:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 18:06:44] 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-07-11 18:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645985024001,"66":13091,"61":206,"85":15104,"24":24,"16":105124766293164032,"45":8961811440013955072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 18:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645985024001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:06:44] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 18:06:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105124766293164032,"km_value":105124766293164.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961811440013955072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645985024001,"power":13091,"unknown_61":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8961811440013955072}} 
[2026-07-11 18:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":128878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:06:44] local.INFO: GPS data processed {"connection_id":128878,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:06:44] local.INFO: Acknowledgment sent {"connection_id":128878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:06:59] local.INFO: TCP Data received {"connection_id":128703,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:06:59] local.INFO: Processing buffer {"connection_id":128703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:06:59] local.INFO: IMEI packet received {"connection_id":128703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":128703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:07:02] local.INFO: TCP Data received {"connection_id":129588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:07:02] local.INFO: Processing buffer {"connection_id":129588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:07:02] local.INFO: IMEI packet received {"connection_id":129588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":129588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:07:02] local.INFO: TCP Data received {"connection_id":129588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:07:02] local.INFO: Processing buffer {"connection_id":129588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:07:02] local.INFO: IMEI packet received {"connection_id":129588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":129588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:07:03] local.INFO: TCP Data received {"connection_id":129589,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:07:03] local.INFO: Processing buffer {"connection_id":129589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:07:03] local.INFO: IMEI packet received {"connection_id":129589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":129589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:07:04] local.INFO: TCP Data received {"connection_id":128703,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:07:04] local.INFO: Processing buffer {"connection_id":128703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:07:04] local.INFO: IMEI packet received {"connection_id":128703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":128703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:07:06] local.INFO: TCP Data received {"connection_id":128703,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f512a3360012d1859c007220088005000d727..."} 
[2026-07-11 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512a3360012d1859c007220088005000d727..."} 
[2026-07-11 18:07:06] local.INFO: Processing buffer {"connection_id":128703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512a3360012d1859c007220088005000d727..."} 
[2026-07-11 18:07:06] local.INFO: Packet analysis {"connection_id":128703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:07:06] local.INFO: Extracted packet for processing {"connection_id":128703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512a"} 
[2026-07-11 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645920512001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773148000,"timestamp_ms":1783773148000,"timestamp_seconds":1783773148,"priority":1,"record_length":96,"hex_timestamp":"0000019f512a3360"} 
[2026-07-11 18:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 18:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645920512001,"66":12526,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645920512001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:07:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645920512001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":128703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:07:06] local.INFO: GPS data processed {"connection_id":128703,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:07:06] local.INFO: Acknowledgment sent {"connection_id":128703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:07:08] local.INFO: TCP Data received {"connection_id":129588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:07:08] local.INFO: Processing buffer {"connection_id":129588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:07:08] local.INFO: IMEI packet received {"connection_id":129588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":129588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:07:09] local.INFO: TCP Data received {"connection_id":129589,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:07:09] local.INFO: Processing buffer {"connection_id":129589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:07:09] local.INFO: IMEI packet received {"connection_id":129589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":129589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:07:09] local.INFO: TCP Data received {"connection_id":129588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512ddce0012d7c518005e1f9b8000700e326..."} 
[2026-07-11 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512ddce0012d7c518005e1f9b8000700e326..."} 
[2026-07-11 18:07:09] local.INFO: Processing buffer {"connection_id":129588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512ddce0012d7c518005e1f9b8000700e326..."} 
[2026-07-11 18:07:09] local.INFO: Packet analysis {"connection_id":129588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:09] local.INFO: Extracted packet for processing {"connection_id":129588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763122048,"raw_latitude":98695608,"longitude_deg":76.3122048,"latitude_deg":9.8695608,"altitude":7,"angle":227,"satellites":38,"speed":28,"hex_longitude":"2d7c5180","hex_latitude":"05e1f9b8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645985280001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105125066940874752,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961529965037121536,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773388000,"timestamp_ms":1783773388000,"timestamp_seconds":1783773388,"priority":1,"record_length":96,"hex_timestamp":"0000019f512ddce0"} 
[2026-07-11 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-07-11 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 18:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645985280001,"66":13015,"61":206,"85":15104,"24":28,"16":105125066940874752,"45":8961529965037121536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 18:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645985280001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:07:09] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 18:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105125066940874752,"km_value":105125066940874.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961529965037121536,"description":"Unknown IO ID 45"} 
[2026-07-11 18:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645985280001,"power":13015,"unknown_61":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8961529965037121536}} 
[2026-07-11 18:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":129588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:07:09] local.INFO: GPS data processed {"connection_id":129588,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:07:09] local.INFO: Acknowledgment sent {"connection_id":129588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:07:09] local.INFO: TCP Data received {"connection_id":129589,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:07:09] local.INFO: Processing buffer {"connection_id":129589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:07:09] local.INFO: Packet analysis {"connection_id":129589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:09] local.INFO: Extracted packet for processing {"connection_id":129589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 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-07-11 18:07: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-07-11 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:07:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":129589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:07:09] local.INFO: GPS data processed {"connection_id":129589,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:07:09] local.INFO: Acknowledgment sent {"connection_id":129589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:07:37] local.INFO: TCP Data received {"connection_id":128703,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f512db9b8012d1859c007220088005000d729..."} 
[2026-07-11 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512db9b8012d1859c007220088005000d729..."} 
[2026-07-11 18:07:37] local.INFO: Processing buffer {"connection_id":128703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512db9b8012d1859c007220088005000d729..."} 
[2026-07-11 18:07:37] local.INFO: Packet analysis {"connection_id":128703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:37] local.INFO: Extracted packet for processing {"connection_id":128703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645979648001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783773379000,"timestamp_ms":1783773379000,"timestamp_seconds":1783773379,"priority":1,"record_length":96,"hex_timestamp":"0000019f512db9b8"} 
[2026-07-11 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-07-11 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 18:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645979648001,"66":14070,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645979648001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:07:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645979648001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":128703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:07:37] local.INFO: GPS data processed {"connection_id":128703,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:07:37] local.INFO: Acknowledgment sent {"connection_id":128703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:07:40] local.INFO: TCP Data received {"connection_id":129588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512dfc20012d7c400005e1ea20000700d128..."} 
[2026-07-11 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512dfc20012d7c400005e1ea20000700d128..."} 
[2026-07-11 18:07:40] local.INFO: Processing buffer {"connection_id":129588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512dfc20012d7c400005e1ea20000700d128..."} 
[2026-07-11 18:07:40] local.INFO: Packet analysis {"connection_id":129588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:40] local.INFO: Extracted packet for processing {"connection_id":129588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763117568,"raw_latitude":98691616,"longitude_deg":76.3117568,"latitude_deg":9.8691616,"altitude":7,"angle":209,"satellites":40,"speed":25,"hex_longitude":"2d7c4000","hex_latitude":"05e1ea20","is_valid_coordinates":true} 
[2026-07-11 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645987328001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105125354703683584,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958081896571058176,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773396000,"timestamp_ms":1783773396000,"timestamp_seconds":1783773396,"priority":1,"record_length":96,"hex_timestamp":"0000019f512dfc20"} 
[2026-07-11 18:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 18:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645987328001,"66":12798,"61":206,"85":15104,"24":25,"16":105125354703683584,"45":8958081896571058176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-11 18:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645987328001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:07:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-11 18:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105125354703683584,"km_value":105125354703683.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958081896571058176,"description":"Unknown IO ID 45"} 
[2026-07-11 18:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645987328001,"power":12798,"unknown_61":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8958081896571058176}} 
[2026-07-11 18:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":129588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:07:40] local.INFO: GPS data processed {"connection_id":129588,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:07:40] local.INFO: Acknowledgment sent {"connection_id":129588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:07:40] local.INFO: TCP Data received {"connection_id":129589,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:07:40] local.INFO: Processing buffer {"connection_id":129589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:07:40] local.INFO: Packet analysis {"connection_id":129589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:40] local.INFO: Extracted packet for processing {"connection_id":129589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 18:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:07: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-07-11 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:07:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":129589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:07:40] local.INFO: GPS data processed {"connection_id":129589,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:07:40] local.INFO: Acknowledgment sent {"connection_id":129589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:07:59] local.INFO: TCP Data received {"connection_id":130829,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:07:59] local.INFO: Processing buffer {"connection_id":130829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:07:59] local.INFO: IMEI packet received {"connection_id":130829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":130829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:08:03] local.INFO: TCP Data received {"connection_id":128881,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:08:03] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:08:03] local.INFO: IMEI packet received {"connection_id":128881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":128881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:08:03] local.INFO: TCP Data received {"connection_id":128704,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:08:03] local.INFO: Processing buffer {"connection_id":128704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:08:03] local.INFO: IMEI packet received {"connection_id":128704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":128704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:08:05] local.INFO: TCP Data received {"connection_id":130829,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:08:05] local.INFO: Processing buffer {"connection_id":130829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:08:05] local.INFO: IMEI packet received {"connection_id":130829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":130829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:08:06] local.INFO: TCP Data received {"connection_id":130829,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f512e0bc0012d1859c007220088005000d728..."} 
[2026-07-11 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512e0bc0012d1859c007220088005000d728..."} 
[2026-07-11 18:08:06] local.INFO: Processing buffer {"connection_id":130829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512e0bc0012d1859c007220088005000d728..."} 
[2026-07-11 18:08:06] local.INFO: Packet analysis {"connection_id":130829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512e"} 
[2026-07-11 18:08:06] local.INFO: Extracted packet for processing {"connection_id":130829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512e"} 
[2026-07-11 18:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119668872,"longitude_deg":75.657056,"latitude_deg":11.9668872,"altitude":80,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d1859c0","hex_latitude":"07220088","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645985024001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777821934813184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773400000,"timestamp_ms":1783773400000,"timestamp_seconds":1783773400,"priority":1,"record_length":96,"hex_timestamp":"0000019f512e0bc0"} 
[2026-07-11 18:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 18:08:06] 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-07-11 18: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-07-11 18:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645985024001,"66":14233,"120":206,"28":31744,"24":0,"16":5777821934813184,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645985024001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:08:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777821934813184,"km_value":5777821934813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645985024001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:08:06] local.INFO: TCP Data received {"connection_id":128881,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:08:06] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:08:06] local.INFO: IMEI packet received {"connection_id":128881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":128881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":130829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:08:06] local.INFO: GPS data processed {"connection_id":130829,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:08:06] local.INFO: Acknowledgment sent {"connection_id":130829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:08:07] local.INFO: TCP Data received {"connection_id":128881,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512f0d90012d7baf4005e1c0a0000800f726..."} 
[2026-07-11 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512f0d90012d7baf4005e1c0a0000800f726..."} 
[2026-07-11 18:08:07] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512f0d90012d7baf4005e1c0a0000800f726..."} 
[2026-07-11 18:08:07] local.INFO: Packet analysis {"connection_id":128881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:08:07] local.INFO: Extracted packet for processing {"connection_id":128881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763080512,"raw_latitude":98680992,"longitude_deg":76.3080512,"latitude_deg":9.8680992,"altitude":8,"angle":247,"satellites":38,"speed":22,"hex_longitude":"2d7baf40","hex_latitude":"05e1c0a0","is_valid_coordinates":true} 
[2026-07-11 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646006784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913608850247200768,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105127334683607040,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 18:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783773466000,"timestamp_ms":1783773466000,"timestamp_seconds":1783773466,"priority":1,"record_length":96,"hex_timestamp":"0000019f512f0d90"} 
[2026-07-11 18:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646006784001,"66":12624,"45":8913608850247200768,"85":15104,"24":22,"16":105127334683607040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-11 18:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646006784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913608850247200768,"description":"Unknown IO ID 45"} 
[2026-07-11 18:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105127334683607040,"km_value":105127334683607.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:08:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456646006784001,"power":12624,"unknown_45":8913608850247200768,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-07-11 18:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":128881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:08:07] local.INFO: GPS data processed {"connection_id":128881,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:08:07] local.INFO: Acknowledgment sent {"connection_id":128881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:08:09] local.INFO: TCP Data received {"connection_id":128704,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:08:09] local.INFO: Processing buffer {"connection_id":128704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:08:09] local.INFO: IMEI packet received {"connection_id":128704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":128704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:08:09] local.INFO: TCP Data received {"connection_id":128704,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:08:09] local.INFO: Processing buffer {"connection_id":128704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:08:09] local.INFO: Packet analysis {"connection_id":128704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:08:09] local.INFO: Extracted packet for processing {"connection_id":128704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 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-07-11 18:08: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-07-11 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:08: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-07-11 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:08:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":128704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:08:09] local.INFO: GPS data processed {"connection_id":128704,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:08:09] local.INFO: Acknowledgment sent {"connection_id":128704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:08:37] local.INFO: TCP Data received {"connection_id":130829,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f512e36b8012d185940072200c0005200e929..."} 
[2026-07-11 18:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512e36b8012d185940072200c0005200e929..."} 
[2026-07-11 18:08:37] local.INFO: Processing buffer {"connection_id":130829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512e36b8012d185940072200c0005200e929..."} 
[2026-07-11 18:08:37] local.INFO: Packet analysis {"connection_id":130829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512e"} 
[2026-07-11 18:08:37] local.INFO: Extracted packet for processing {"connection_id":130829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512e"} 
[2026-07-11 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668928,"longitude_deg":75.6570432,"latitude_deg":11.9668928,"altitude":82,"angle":233,"satellites":41,"speed":1,"hex_longitude":"2d185940","hex_latitude":"072200c0","is_valid_coordinates":true} 
[2026-07-11 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645990400001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5777830524747776,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705283072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783773411000,"timestamp_ms":1783773411000,"timestamp_seconds":1783773411,"priority":1,"record_length":96,"hex_timestamp":"0000019f512e36b8"} 
[2026-07-11 18:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-11 18:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645990400001,"66":14048,"120":206,"28":31744,"24":1,"16":5777830524747776,"45":1754644666705283072},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645990400001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:08:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5777830524747776,"km_value":5777830524747.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705283072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645990400001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1754644666705283072}} 
[2026-07-11 18:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":130829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:08:37] local.INFO: GPS data processed {"connection_id":130829,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:08:37] local.INFO: Acknowledgment sent {"connection_id":130829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:08:39] local.INFO: TCP Data received {"connection_id":128881,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512f1560012d7baa8005e1bf480008010226..."} 
[2026-07-11 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512f1560012d7baa8005e1bf480008010226..."} 
[2026-07-11 18:08:39] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512f1560012d7baa8005e1bf480008010226..."} 
[2026-07-11 18:08:39] local.INFO: Packet analysis {"connection_id":128881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:08:39] local.INFO: Extracted packet for processing {"connection_id":128881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763079296,"raw_latitude":98680648,"longitude_deg":76.3079296,"latitude_deg":9.8680648,"altitude":8,"angle":258,"satellites":38,"speed":26,"hex_longitude":"2d7baa80","hex_latitude":"05e1bf48","is_valid_coordinates":true} 
[2026-07-11 18:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646007296001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912412581596012544,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105127394813149184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 18:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783773468000,"timestamp_ms":1783773468000,"timestamp_seconds":1783773468,"priority":1,"record_length":96,"hex_timestamp":"0000019f512f1560"} 
[2026-07-11 18:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-11 18:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646007296001,"66":12885,"45":8912412581596012544,"85":15104,"24":26,"16":105127394813149184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-11 18:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646007296001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912412581596012544,"description":"Unknown IO ID 45"} 
[2026-07-11 18:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105127394813149184,"km_value":105127394813149.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:08:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456646007296001,"power":12885,"unknown_45":8912412581596012544,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-07-11 18:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":128881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:08:39] local.INFO: GPS data processed {"connection_id":128881,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:08:39] local.INFO: Acknowledgment sent {"connection_id":128881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:08:41] local.INFO: TCP Data received {"connection_id":128704,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:08:41] local.INFO: Processing buffer {"connection_id":128704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:08:41] local.INFO: Packet analysis {"connection_id":128704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:08:41] local.INFO: Extracted packet for processing {"connection_id":128704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 18:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:08:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":128704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:08:41] local.INFO: GPS data processed {"connection_id":128704,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:08:41] local.INFO: Acknowledgment sent {"connection_id":128704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:09:02] local.INFO: TCP Data received {"connection_id":128705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:09:02] local.INFO: Processing buffer {"connection_id":128705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:09:02] local.INFO: IMEI packet received {"connection_id":128705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":128705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:09:05] local.INFO: TCP Data received {"connection_id":129592,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:09:05] local.INFO: Processing buffer {"connection_id":129592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:09:05] local.INFO: IMEI packet received {"connection_id":129592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":129592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:09:06] local.INFO: TCP Data received {"connection_id":129592,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f512f5f98012d182e00072199e0004b007929..."} 
[2026-07-11 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512f5f98012d182e00072199e0004b007929..."} 
[2026-07-11 18:09:06] local.INFO: Processing buffer {"connection_id":129592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512f5f98012d182e00072199e0004b007929..."} 
[2026-07-11 18:09:06] local.INFO: Packet analysis {"connection_id":129592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:09:06] local.INFO: Extracted packet for processing {"connection_id":129592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756559360,"raw_latitude":119642592,"longitude_deg":75.655936,"latitude_deg":11.9642592,"altitude":75,"angle":121,"satellites":41,"speed":17,"hex_longitude":"2d182e00","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-07-11 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646010112001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5779406777745408,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911724345344,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773487000,"timestamp_ms":1783773487000,"timestamp_seconds":1783773487,"priority":1,"record_length":96,"hex_timestamp":"0000019f512f5f98"} 
[2026-07-11 18:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-11 18:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646010112001,"66":14102,"121":206,"28":31744,"24":17,"16":5779406777745408,"45":1739233911724345344},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646010112001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:09:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5779406777745408,"km_value":5779406777745.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911724345344,"description":"Unknown IO ID 45"} 
[2026-07-11 18:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646010112001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1739233911724345344}} 
[2026-07-11 18:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":129592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:09:06] local.INFO: GPS data processed {"connection_id":129592,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:09:06] local.INFO: Acknowledgment sent {"connection_id":129592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:09:07] local.INFO: TCP Data received {"connection_id":128705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:09:07] local.INFO: Processing buffer {"connection_id":128705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:09:07] local.INFO: IMEI packet received {"connection_id":128705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":128705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:09:08] local.INFO: TCP Data received {"connection_id":128705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512f53e0012d7b888005e1baa8000900f426..."} 
[2026-07-11 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512f53e0012d7b888005e1baa8000900f426..."} 
[2026-07-11 18:09:08] local.INFO: Processing buffer {"connection_id":128705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512f53e0012d7b888005e1baa8000900f426..."} 
[2026-07-11 18:09:08] local.INFO: Packet analysis {"connection_id":128705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:09:08] local.INFO: Extracted packet for processing {"connection_id":128705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":98679464,"longitude_deg":76.3070592,"latitude_deg":9.8679464,"altitude":9,"angle":244,"satellites":38,"speed":11,"hex_longitude":"2d7b8880","hex_latitude":"05e1baa8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646007808001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911075575456548864,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105127815719944192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 18:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773484000,"timestamp_ms":1783773484000,"timestamp_seconds":1783773484,"priority":1,"record_length":96,"hex_timestamp":"0000019f512f53e0"} 
[2026-07-11 18:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 18:09:08] 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-07-11 18: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-07-11 18:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646007808001,"66":12689,"45":8911075575456548864,"85":15104,"24":11,"16":105127815719944192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-11 18:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646007808001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911075575456548864,"description":"Unknown IO ID 45"} 
[2026-07-11 18:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105127815719944192,"km_value":105127815719944.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:09:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456646007808001,"power":12689,"unknown_45":8911075575456548864,"unknown_85":15104,"ignition":11,"odometer":null}} 
[2026-07-11 18:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":128705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:09:08] local.INFO: GPS data processed {"connection_id":128705,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:09:08] local.INFO: Acknowledgment sent {"connection_id":128705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:09:09] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:09:09] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:09:09] local.INFO: IMEI packet received {"connection_id":130830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":130830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:09:14] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:09:14] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:09:14] local.INFO: IMEI packet received {"connection_id":130830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":130830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:09:14] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:09:14] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:09:14] local.INFO: Packet analysis {"connection_id":130830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:09:14] local.INFO: Extracted packet for processing {"connection_id":130830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:09:14] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 18:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:09:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:09:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":130830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:09:14] local.INFO: GPS data processed {"connection_id":130830,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:09:14] local.INFO: Acknowledgment sent {"connection_id":130830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:09:19] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:09:19] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:09:19] local.INFO: Packet analysis {"connection_id":130830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:09:19] local.INFO: Extracted packet for processing {"connection_id":130830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:09:19] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 18:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:09:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":130830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:09:19] local.INFO: GPS data processed {"connection_id":130830,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:09:19] local.INFO: Acknowledgment sent {"connection_id":130830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:09:38] local.INFO: TCP Data received {"connection_id":129592,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f512f7af0012d183cc0072193c0004d006e28..."} 
[2026-07-11 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512f7af0012d183cc0072193c0004d006e28..."} 
[2026-07-11 18:09:38] local.INFO: Processing buffer {"connection_id":129592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512f7af0012d183cc0072193c0004d006e28..."} 
[2026-07-11 18:09:38] local.INFO: Packet analysis {"connection_id":129592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:09:38] local.INFO: Extracted packet for processing {"connection_id":129592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756563136,"raw_latitude":119641024,"longitude_deg":75.6563136,"latitude_deg":11.9641024,"altitude":77,"angle":110,"satellites":40,"speed":26,"hex_longitude":"2d183cc0","hex_latitude":"072193c0","is_valid_coordinates":true} 
[2026-07-11 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646012672001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5779600051273728,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742330136467464192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783773494000,"timestamp_ms":1783773494000,"timestamp_seconds":1783773494,"priority":1,"record_length":96,"hex_timestamp":"0000019f512f7af0"} 
[2026-07-11 18:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 18:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646012672001,"66":14211,"121":206,"28":31744,"24":26,"16":5779600051273728,"45":1742330136467464192},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646012672001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:09:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5779600051273728,"km_value":5779600051273.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742330136467464192,"description":"Unknown IO ID 45"} 
[2026-07-11 18:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646012672001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1742330136467464192}} 
[2026-07-11 18:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":129592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:09:38] local.INFO: GPS data processed {"connection_id":129592,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:09:38] local.INFO: Acknowledgment sent {"connection_id":129592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:09:40] local.INFO: TCP Data received {"connection_id":128705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512f9260012d7b7dc005e1b620000a010227..."} 
[2026-07-11 18:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512f9260012d7b7dc005e1b620000a010227..."} 
[2026-07-11 18:09:40] local.INFO: Processing buffer {"connection_id":128705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512f9260012d7b7dc005e1b620000a010227..."} 
[2026-07-11 18:09:40] local.INFO: Packet analysis {"connection_id":128705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:09:40] local.INFO: Extracted packet for processing {"connection_id":128705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763067840,"raw_latitude":98678304,"longitude_deg":76.306784,"latitude_deg":9.8678304,"altitude":10,"angle":258,"satellites":39,"speed":6,"hex_longitude":"2d7b7dc0","hex_latitude":"05e1b620","is_valid_coordinates":true} 
[2026-07-11 18:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646011904001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426248083456,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105127961748832256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:09:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 18:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773500000,"timestamp_ms":1783773500000,"timestamp_seconds":1783773500,"priority":1,"record_length":96,"hex_timestamp":"0000019f512f9260"} 
[2026-07-11 18:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 18:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646011904001,"66":12613,"45":8901505426248083456,"85":15104,"24":6,"16":105127961748832256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-11 18:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646011904001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426248083456,"description":"Unknown IO ID 45"} 
[2026-07-11 18:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105127961748832256,"km_value":105127961748832.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:09:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456646011904001,"power":12613,"unknown_45":8901505426248083456,"unknown_85":15104,"ignition":6,"odometer":null}} 
[2026-07-11 18:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":128705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:09:40] local.INFO: GPS data processed {"connection_id":128705,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:09:40] local.INFO: Acknowledgment sent {"connection_id":128705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:09:57] local.INFO: TCP Data received {"connection_id":128883,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:09:57] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:09:57] local.INFO: IMEI packet received {"connection_id":128883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":128883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:09:59] local.INFO: TCP Data received {"connection_id":128883,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:09:59] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:09:59] local.INFO: IMEI packet received {"connection_id":128883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":128883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:10:02] local.INFO: TCP Data received {"connection_id":128883,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:10:02] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:10:02] local.INFO: IMEI packet received {"connection_id":128883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":128883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:10:03] local.INFO: TCP Data received {"connection_id":128883,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513051c8012d18c80007213a180045009a2a..."} 
[2026-07-11 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513051c8012d18c80007213a180045009a2a..."} 
[2026-07-11 18:10:03] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513051c8012d18c80007213a180045009a2a..."} 
[2026-07-11 18:10:03] local.INFO: Packet analysis {"connection_id":128883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:10:03] local.INFO: Extracted packet for processing {"connection_id":128883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119618072,"longitude_deg":75.6598784,"latitude_deg":11.9618072,"altitude":69,"angle":154,"satellites":42,"speed":29,"hex_longitude":"2d18c800","hex_latitude":"07213a18","is_valid_coordinates":true} 
[2026-07-11 18:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646026752001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5781846319169536,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595434192896,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783773549000,"timestamp_ms":1783773549000,"timestamp_seconds":1783773549,"priority":1,"record_length":96,"hex_timestamp":"0000019f513051c8"} 
[2026-07-11 18:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 18:10:03] 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-07-11 18:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":128883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":128883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":128883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646026752001,"66":14048,"121":206,"28":31744,"24":29,"16":5781846319169536,"45":1784973595434192896},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646026752001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:10:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5781846319169536,"km_value":5781846319169.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595434192896,"description":"Unknown IO ID 45"} 
[2026-07-11 18:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646026752001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784973595434192896}} 
[2026-07-11 18:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":128883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:10:03] local.INFO: GPS data processed {"connection_id":128883,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:10:03] local.INFO: Acknowledgment sent {"connection_id":128883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:10:05] local.INFO: TCP Data received {"connection_id":129593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:10:05] local.INFO: Processing buffer {"connection_id":129593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:10:05] local.INFO: IMEI packet received {"connection_id":129593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":129593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:10:08] local.INFO: TCP Data received {"connection_id":129593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:10:08] local.INFO: Processing buffer {"connection_id":129593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:10:08] local.INFO: IMEI packet received {"connection_id":129593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":129593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:10:09] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:10:09] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:10:09] local.INFO: IMEI packet received {"connection_id":130831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":130831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:10:10] local.INFO: TCP Data received {"connection_id":128882,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:10:10] local.INFO: Processing buffer {"connection_id":128882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:10:10] local.INFO: IMEI packet received {"connection_id":128882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":128882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:10:13] local.INFO: TCP Data received {"connection_id":129593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:10:13] local.INFO: Processing buffer {"connection_id":129593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:10:13] local.INFO: IMEI packet received {"connection_id":129593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":129593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:10:13] local.INFO: TCP Data received {"connection_id":129593,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f512fa5e8012d7b7b4005e1b5b8000a010d28..."} 
[2026-07-11 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512fa5e8012d7b7b4005e1b5b8000a010d28..."} 
[2026-07-11 18:10:13] local.INFO: Processing buffer {"connection_id":129593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512fa5e8012d7b7b4005e1b5b8000a010d28..."} 
[2026-07-11 18:10:13] local.INFO: Packet analysis {"connection_id":129593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:10:13] local.INFO: Extracted packet for processing {"connection_id":129593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512f"} 
[2026-07-11 18:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763067200,"raw_latitude":98678200,"longitude_deg":76.30672,"latitude_deg":9.86782,"altitude":10,"angle":269,"satellites":40,"speed":5,"hex_longitude":"2d7b7b40","hex_latitude":"05e1b5b8","is_valid_coordinates":true} 
[2026-07-11 18:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646016000001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898479570248146944,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105127996108570624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 18:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783773505000,"timestamp_ms":1783773505000,"timestamp_seconds":1783773505,"priority":1,"record_length":96,"hex_timestamp":"0000019f512fa5e8"} 
[2026-07-11 18:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 18:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646016000001,"66":12374,"45":8898479570248146944,"85":15104,"24":5,"16":105127996108570624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-11 18:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646016000001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898479570248146944,"description":"Unknown IO ID 45"} 
[2026-07-11 18:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105127996108570624,"km_value":105127996108570.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:10:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456646016000001,"power":12374,"unknown_45":8898479570248146944,"unknown_85":15104,"ignition":5,"odometer":null}} 
[2026-07-11 18:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":129593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:10:13] local.INFO: GPS data processed {"connection_id":129593,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:10:13] local.INFO: Acknowledgment sent {"connection_id":129593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:10:14] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:10:14] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:10:14] local.INFO: IMEI packet received {"connection_id":130831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":130831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:10:14] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:10:14] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:10:14] local.INFO: Packet analysis {"connection_id":130831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:10:14] local.INFO: Extracted packet for processing {"connection_id":130831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 18:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:10:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:10:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":130831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:10:14] local.INFO: GPS data processed {"connection_id":130831,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:10:14] local.INFO: Acknowledgment sent {"connection_id":130831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:10:35] local.INFO: TCP Data received {"connection_id":128883,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51307108012d18d2c007212718004200a92a..."} 
[2026-07-11 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51307108012d18d2c007212718004200a92a..."} 
[2026-07-11 18:10:35] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51307108012d18d2c007212718004200a92a..."} 
[2026-07-11 18:10:35] local.INFO: Packet analysis {"connection_id":128883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:10:35] local.INFO: Extracted packet for processing {"connection_id":128883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119613208,"longitude_deg":75.6601536,"latitude_deg":11.9613208,"altitude":66,"angle":169,"satellites":42,"speed":24,"hex_longitude":"2d18d2c0","hex_latitude":"07212718","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646028544001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5782116902109184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785677282874628096,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783773557000,"timestamp_ms":1783773557000,"timestamp_seconds":1783773557,"priority":1,"record_length":96,"hex_timestamp":"0000019f51307108"} 
[2026-07-11 18:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:10: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-07-11 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 18:10:35] 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-07-11 18: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-07-11 18:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":128883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":128883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":128883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646028544001,"66":14102,"121":206,"28":31744,"24":24,"16":5782116902109184,"45":1785677282874628096},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646028544001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:10:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5782116902109184,"km_value":5782116902109.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785677282874628096,"description":"Unknown IO ID 45"} 
[2026-07-11 18:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646028544001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1785677282874628096}} 
[2026-07-11 18:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":128883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:10:35] local.INFO: GPS data processed {"connection_id":128883,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:10:35] local.INFO: Acknowledgment sent {"connection_id":128883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:10:45] local.INFO: TCP Data received {"connection_id":129593,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51316720012d7b49c005e161d8000100ab22..."} 
[2026-07-11 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51316720012d7b49c005e161d8000100ab22..."} 
[2026-07-11 18:10:45] local.INFO: Processing buffer {"connection_id":129593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51316720012d7b49c005e161d8000100ab22..."} 
[2026-07-11 18:10:45] local.INFO: Packet analysis {"connection_id":129593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:10:45] local.INFO: Extracted packet for processing {"connection_id":129593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763054528,"raw_latitude":98656728,"longitude_deg":76.3054528,"latitude_deg":9.8656728,"altitude":1,"angle":171,"satellites":34,"speed":16,"hex_longitude":"2d7b49c0","hex_latitude":"05e161d8","is_valid_coordinates":true} 
[2026-07-11 18:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646042624001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105129649670979584,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882083652851478528,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783773620000,"timestamp_ms":1783773620000,"timestamp_seconds":1783773620,"priority":1,"record_length":96,"hex_timestamp":"0000019f51316720"} 
[2026-07-11 18:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 18:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646042624001,"66":12961,"169":206,"85":15104,"24":16,"16":105129649670979584,"45":8882083652851478528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646042624001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105129649670979584,"km_value":105129649670979.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882083652851478528,"description":"Unknown IO ID 45"} 
[2026-07-11 18:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646042624001,"power":12961,"unknown_169":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8882083652851478528}} 
[2026-07-11 18:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":129593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:10:45] local.INFO: GPS data processed {"connection_id":129593,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:10:45] local.INFO: Acknowledgment sent {"connection_id":129593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:10:45] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:10:45] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:10:45] local.INFO: Packet analysis {"connection_id":130831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:10:45] local.INFO: Extracted packet for processing {"connection_id":130831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 18:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18: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-07-11 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":130831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:10:45] local.INFO: GPS data processed {"connection_id":130831,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:10:45] local.INFO: Acknowledgment sent {"connection_id":130831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:10:50] local.INFO: TCP Data received {"connection_id":130832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:10:50] local.INFO: Processing buffer {"connection_id":130832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:10:50] local.INFO: IMEI packet received {"connection_id":130832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":130832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:10:59] local.INFO: TCP Data received {"connection_id":130833,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:10:59] local.INFO: Processing buffer {"connection_id":130833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:10:59] local.INFO: IMEI packet received {"connection_id":130833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":130833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:11:03] local.INFO: TCP Data received {"connection_id":129594,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:11:03] local.INFO: Processing buffer {"connection_id":129594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:11:03] local.INFO: IMEI packet received {"connection_id":129594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":129594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:11:04] local.INFO: TCP Data received {"connection_id":128706,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:11:04] local.INFO: Processing buffer {"connection_id":128706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:11:04] local.INFO: IMEI packet received {"connection_id":128706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":128706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:11:04] local.INFO: TCP Data received {"connection_id":130833,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:11:04] local.INFO: Processing buffer {"connection_id":130833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:11:04] local.INFO: IMEI packet received {"connection_id":130833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":130833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:11:06] local.INFO: TCP Data received {"connection_id":130833,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513078d8012d18d34007212298004200b529..."} 
[2026-07-11 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513078d8012d18d34007212298004200b529..."} 
[2026-07-11 18:11:06] local.INFO: Processing buffer {"connection_id":130833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513078d8012d18d34007212298004200b529..."} 
[2026-07-11 18:11:06] local.INFO: Packet analysis {"connection_id":130833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:11:06] local.INFO: Extracted packet for processing {"connection_id":130833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119612056,"longitude_deg":75.6601664,"latitude_deg":11.9612056,"altitude":66,"angle":181,"satellites":41,"speed":21,"hex_longitude":"2d18d340","hex_latitude":"07212298","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646030592001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5782172736684032,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138873022464,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773559000,"timestamp_ms":1783773559000,"timestamp_seconds":1783773559,"priority":1,"record_length":96,"hex_timestamp":"0000019f513078d8"} 
[2026-07-11 18:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 18:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646030592001,"66":14102,"121":206,"28":31744,"24":21,"16":5782172736684032,"45":1788703138873022464},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646030592001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:11:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5782172736684032,"km_value":5782172736684.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138873022464,"description":"Unknown IO ID 45"} 
[2026-07-11 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646030592001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1788703138873022464}} 
[2026-07-11 18:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":130833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:11:06] local.INFO: GPS data processed {"connection_id":130833,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:11:06] local.INFO: Acknowledgment sent {"connection_id":130833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:11:07] local.INFO: TCP Data received {"connection_id":129594,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:11:07] local.INFO: Processing buffer {"connection_id":129594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:11:07] local.INFO: IMEI packet received {"connection_id":129594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":129594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:11:08] local.INFO: TCP Data received {"connection_id":129594,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51319218012d7b4f8005e13ce8000100a821..."} 
[2026-07-11 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51319218012d7b4f8005e13ce8000100a821..."} 
[2026-07-11 18:11:08] local.INFO: Processing buffer {"connection_id":129594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51319218012d7b4f8005e13ce8000100a821..."} 
[2026-07-11 18:11:08] local.INFO: Packet analysis {"connection_id":129594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:11:08] local.INFO: Extracted packet for processing {"connection_id":129594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98647272,"longitude_deg":76.3056,"latitude_deg":9.8647272,"altitude":1,"angle":168,"satellites":33,"speed":46,"hex_longitude":"2d7b4f80","hex_latitude":"05e13ce8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646046720001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105130113527447552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883842871453669376,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773631000,"timestamp_ms":1783773631000,"timestamp_seconds":1783773631,"priority":1,"record_length":96,"hex_timestamp":"0000019f51319218"} 
[2026-07-11 18:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 18:11:08] 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-07-11 18: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-07-11 18:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646046720001,"66":12885,"169":206,"85":15104,"24":46,"16":105130113527447552,"45":8883842871453669376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646046720001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:11:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105130113527447552,"km_value":105130113527447.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883842871453669376,"description":"Unknown IO ID 45"} 
[2026-07-11 18:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646046720001,"power":12885,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8883842871453669376}} 
[2026-07-11 18:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":129594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:11:08] local.INFO: GPS data processed {"connection_id":129594,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:11:08] local.INFO: Acknowledgment sent {"connection_id":129594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:11:09] local.INFO: TCP Data received {"connection_id":128706,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:11:09] local.INFO: Processing buffer {"connection_id":128706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:11:09] local.INFO: IMEI packet received {"connection_id":128706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":128706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:11:09] local.INFO: TCP Data received {"connection_id":128706,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:11:09] local.INFO: Processing buffer {"connection_id":128706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f512d38d0012cbce580076d7fb8004b00af26..."} 
[2026-07-11 18:11:09] local.INFO: Packet analysis {"connection_id":128706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:11:09] local.INFO: Extracted packet for processing {"connection_id":128706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f512d"} 
[2026-07-11 18:11:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":38,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645899520001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773346000,"timestamp_ms":1783773346000,"timestamp_seconds":1783773346,"priority":1,"record_length":96,"hex_timestamp":"0000019f512d38d0"} 
[2026-07-11 18:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:11: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-07-11 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:11: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-07-11 18:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645899520001,"66":25995,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645899520001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:11:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645899520001,"power":25995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":128706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:11:09] local.INFO: GPS data processed {"connection_id":128706,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:11:09] local.INFO: Acknowledgment sent {"connection_id":128706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:11:37] local.INFO: TCP Data received {"connection_id":130833,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51308c60012d18d2c007211c70004000a92a..."} 
[2026-07-11 18:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51308c60012d18d2c007211c70004000a92a..."} 
[2026-07-11 18:11:37] local.INFO: Processing buffer {"connection_id":130833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51308c60012d18d2c007211c70004000a92a..."} 
[2026-07-11 18:11:37] local.INFO: Packet analysis {"connection_id":130833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:11:37] local.INFO: Extracted packet for processing {"connection_id":130833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119610480,"longitude_deg":75.6601536,"latitude_deg":11.961048,"altitude":64,"angle":169,"satellites":42,"speed":6,"hex_longitude":"2d18d2c0","hex_latitude":"07211c70","is_valid_coordinates":true} 
[2026-07-11 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646031104001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5782250046095360,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876361082880,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783773564000,"timestamp_ms":1783773564000,"timestamp_seconds":1783773564,"priority":1,"record_length":96,"hex_timestamp":"0000019f51308c60"} 
[2026-07-11 18:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 18:11:37] 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-07-11 18:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646031104001,"66":14135,"121":206,"28":31744,"24":6,"16":5782250046095360,"45":1788843876361082880},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646031104001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:11:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5782250046095360,"km_value":5782250046095.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876361082880,"description":"Unknown IO ID 45"} 
[2026-07-11 18:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646031104001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1788843876361082880}} 
[2026-07-11 18:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":130833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:11:37] local.INFO: GPS data processed {"connection_id":130833,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:11:37] local.INFO: Acknowledgment sent {"connection_id":130833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:11:39] local.INFO: TCP Data received {"connection_id":129594,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131b158012d7b570005e11688000000a926..."} 
[2026-07-11 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131b158012d7b570005e11688000000a926..."} 
[2026-07-11 18:11:39] local.INFO: Processing buffer {"connection_id":129594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131b158012d7b570005e11688000000a926..."} 
[2026-07-11 18:11:39] local.INFO: Packet analysis {"connection_id":129594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:11:39] local.INFO: Extracted packet for processing {"connection_id":129594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763057920,"raw_latitude":98637448,"longitude_deg":76.305792,"latitude_deg":9.8637448,"altitude":0,"angle":169,"satellites":38,"speed":45,"hex_longitude":"2d7b5700","hex_latitude":"05e11688","is_valid_coordinates":true} 
[2026-07-11 18:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646049536001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105130598858752000,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352567334912,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783773639000,"timestamp_ms":1783773639000,"timestamp_seconds":1783773639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131b158"} 
[2026-07-11 18:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 18:11:39] 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-07-11 18:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646049536001,"66":12917,"169":206,"85":15104,"24":45,"16":105130598858752000,"45":8885461352567334912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646049536001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:11:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105130598858752000,"km_value":105130598858752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352567334912,"description":"Unknown IO ID 45"} 
[2026-07-11 18:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646049536001,"power":12917,"unknown_169":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8885461352567334912}} 
[2026-07-11 18:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":129594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:11:39] local.INFO: GPS data processed {"connection_id":129594,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:11:39] local.INFO: Acknowledgment sent {"connection_id":129594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:11:40] local.INFO: TCP Data received {"connection_id":128706,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:11:40] local.INFO: Processing buffer {"connection_id":128706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:11:40] local.INFO: Packet analysis {"connection_id":128706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:11:40] local.INFO: Extracted packet for processing {"connection_id":128706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645976576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773646000,"timestamp_ms":1783773646000,"timestamp_seconds":1783773646,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131ccb0"} 
[2026-07-11 18:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645976576001,"66":25952,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645976576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:11:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645976576001,"power":25952,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":128706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:11:41] local.INFO: GPS data processed {"connection_id":128706,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:11:41] local.INFO: Acknowledgment sent {"connection_id":128706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:11:59] local.INFO: TCP Data received {"connection_id":129596,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:11:59] local.INFO: Processing buffer {"connection_id":129596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:11:59] local.INFO: IMEI packet received {"connection_id":129596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":129596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:12:03] local.INFO: TCP Data received {"connection_id":130834,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:12:03] local.INFO: Processing buffer {"connection_id":130834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:12:03] local.INFO: IMEI packet received {"connection_id":130834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":130834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:12:03] local.INFO: TCP Data received {"connection_id":130835,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:12:03] local.INFO: Processing buffer {"connection_id":130835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:12:03] local.INFO: IMEI packet received {"connection_id":130835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":130835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:12:04] local.INFO: TCP Data received {"connection_id":129596,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:12:04] local.INFO: Processing buffer {"connection_id":129596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:12:04] local.INFO: IMEI packet received {"connection_id":129596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":129596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:12:06] local.INFO: TCP Data received {"connection_id":129596,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51309fe8012d18d44007211b08003f006628..."} 
[2026-07-11 18:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51309fe8012d18d44007211b08003f006628..."} 
[2026-07-11 18:12:06] local.INFO: Processing buffer {"connection_id":129596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51309fe8012d18d44007211b08003f006628..."} 
[2026-07-11 18:12:06] local.INFO: Packet analysis {"connection_id":129596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:12:06] local.INFO: Extracted packet for processing {"connection_id":129596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5130"} 
[2026-07-11 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119610120,"longitude_deg":75.660192,"latitude_deg":11.961012,"altitude":63,"angle":102,"satellites":40,"speed":7,"hex_longitude":"2d18d440","hex_latitude":"07211b08","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646032384001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5782275815899136,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872324096,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773569000,"timestamp_ms":1783773569000,"timestamp_seconds":1783773569,"priority":1,"record_length":96,"hex_timestamp":"0000019f51309fe8"} 
[2026-07-11 18:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-11 18:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646032384001,"66":14102,"121":206,"28":31744,"24":7,"16":5782275815899136,"45":1788703138872324096},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646032384001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:12:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5782275815899136,"km_value":5782275815899.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872324096,"description":"Unknown IO ID 45"} 
[2026-07-11 18:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646032384001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1788703138872324096}} 
[2026-07-11 18:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":129596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:12:06] local.INFO: GPS data processed {"connection_id":129596,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:12:06] local.INFO: Acknowledgment sent {"connection_id":129596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:12:07] local.INFO: TCP Data received {"connection_id":130834,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:12:07] local.INFO: Processing buffer {"connection_id":130834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:12:07] local.INFO: IMEI packet received {"connection_id":130834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":130834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:12:08] local.INFO: TCP Data received {"connection_id":130834,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131d480012d7b5d4005e0f1d8000000ab20..."} 
[2026-07-11 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131d480012d7b5d4005e0f1d8000000ab20..."} 
[2026-07-11 18:12:08] local.INFO: Processing buffer {"connection_id":130834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131d480012d7b5d4005e0f1d8000000ab20..."} 
[2026-07-11 18:12:08] local.INFO: Packet analysis {"connection_id":130834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:12:08] local.INFO: Extracted packet for processing {"connection_id":130834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763059520,"raw_latitude":98628056,"longitude_deg":76.305952,"latitude_deg":9.8628056,"altitude":0,"angle":171,"satellites":32,"speed":42,"hex_longitude":"2d7b5d40","hex_latitude":"05e0f1d8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646051584001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105131058420252672,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887572414890149888,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773648000,"timestamp_ms":1783773648000,"timestamp_seconds":1783773648,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131d480"} 
[2026-07-11 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-07-11 18:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 18:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646051584001,"66":12841,"170":206,"85":15104,"24":42,"16":105131058420252672,"45":8887572414890149888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-11 18:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646051584001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:12:08] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-11 18:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105131058420252672,"km_value":105131058420252.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887572414890149888,"description":"Unknown IO ID 45"} 
[2026-07-11 18:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646051584001,"power":12841,"unknown_170":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8887572414890149888}} 
[2026-07-11 18:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":130834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:12:08] local.INFO: GPS data processed {"connection_id":130834,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:12:08] local.INFO: Acknowledgment sent {"connection_id":130834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:12:09] local.INFO: TCP Data received {"connection_id":130835,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:12:09] local.INFO: Processing buffer {"connection_id":130835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:12:09] local.INFO: IMEI packet received {"connection_id":130835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":130835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:12:09] local.INFO: TCP Data received {"connection_id":130835,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:12:09] local.INFO: Processing buffer {"connection_id":130835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:12:09] local.INFO: Packet analysis {"connection_id":130835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:12:09] local.INFO: Extracted packet for processing {"connection_id":130835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:12:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645976576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773646000,"timestamp_ms":1783773646000,"timestamp_seconds":1783773646,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131ccb0"} 
[2026-07-11 18:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:12: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-07-11 18:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645976576001,"66":25952,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645976576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:12:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645976576001,"power":25952,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":130835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:12:09] local.INFO: GPS data processed {"connection_id":130835,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:12:09] local.INFO: Acknowledgment sent {"connection_id":130835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:12:38] local.INFO: TCP Data received {"connection_id":129596,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51329fa0012d18ef40072119b8004600c72c..."} 
[2026-07-11 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51329fa0012d18ef40072119b8004600c72c..."} 
[2026-07-11 18:12:38] local.INFO: Processing buffer {"connection_id":129596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51329fa0012d18ef40072119b8004600c72c..."} 
[2026-07-11 18:12:38] local.INFO: Packet analysis {"connection_id":129596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5132"} 
[2026-07-11 18:12:38] local.INFO: Extracted packet for processing {"connection_id":129596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5132"} 
[2026-07-11 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756608832,"raw_latitude":119609784,"longitude_deg":75.6608832,"latitude_deg":11.9609784,"altitude":70,"angle":199,"satellites":44,"speed":4,"hex_longitude":"2d18ef40","hex_latitude":"072119b8","is_valid_coordinates":true} 
[2026-07-11 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646066944001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5782636593152000,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796725175708426240,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783773700000,"timestamp_ms":1783773700000,"timestamp_seconds":1783773700,"priority":1,"record_length":96,"hex_timestamp":"0000019f51329fa0"} 
[2026-07-11 18:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145088,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-1423129643487068095,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637684176971641,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2336030720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84751370955464986,"corrected_to":0} 
[2026-07-11 18:12:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":18296269260718080,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:38] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,139,159,147,45,128,26,70,44,10,66,140,132,64,1,240,27,81,33,4,113,205,6,124,238,208,239,54,2,20,7,69,206,200,160],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":84751370955464986,"validated":0}]} 
[2026-07-11 18:12:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044265967610429440,"timestamp_seconds":5044265967610429.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646066944001,"66":14070,"121":206,"28":31744,"24":4,"16":5782636593152000,"45":1796725175708426240},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646066944001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:12:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5782636593152000,"km_value":5782636593152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796725175708426240,"description":"Unknown IO ID 45"} 
[2026-07-11 18:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646066944001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1796725175708426240}} 
[2026-07-11 18:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":129596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:12:38] local.INFO: GPS data processed {"connection_id":129596,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:12:38] local.INFO: Acknowledgment sent {"connection_id":129596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:12:39] local.INFO: TCP Data received {"connection_id":130834,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51332470012d7b934005df62a0000000ab25..."} 
[2026-07-11 18:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51332470012d7b934005df62a0000000ab25..."} 
[2026-07-11 18:12:39] local.INFO: Processing buffer {"connection_id":130834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51332470012d7b934005df62a0000000ab25..."} 
[2026-07-11 18:12:39] local.INFO: Packet analysis {"connection_id":130834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:12:39] local.INFO: Extracted packet for processing {"connection_id":130834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763073344,"raw_latitude":98525856,"longitude_deg":76.3073344,"latitude_deg":9.8525856,"altitude":0,"angle":171,"satellites":37,"speed":39,"hex_longitude":"2d7b9340","hex_latitude":"05df62a0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646073600001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105136057762185216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903194276071376896,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783773734000,"timestamp_ms":1783773734000,"timestamp_seconds":1783773734,"priority":1,"record_length":96,"hex_timestamp":"0000019f51332470"} 
[2026-07-11 18:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 18:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646073600001,"66":13059,"36":206,"85":15104,"24":39,"16":105136057762185216,"45":8903194276071376896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-11 18:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646073600001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:12:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-11 18:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105136057762185216,"km_value":105136057762185.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903194276071376896,"description":"Unknown IO ID 45"} 
[2026-07-11 18:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646073600001,"power":13059,"unknown_36":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8903194276071376896}} 
[2026-07-11 18:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":130834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:12:39] local.INFO: GPS data processed {"connection_id":130834,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:12:39] local.INFO: Acknowledgment sent {"connection_id":130834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:12:40] local.INFO: TCP Data received {"connection_id":130835,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:12:40] local.INFO: Processing buffer {"connection_id":130835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:12:40] local.INFO: Packet analysis {"connection_id":130835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:12:40] local.INFO: Extracted packet for processing {"connection_id":130835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645976576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773646000,"timestamp_ms":1783773646000,"timestamp_seconds":1783773646,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131ccb0"} 
[2026-07-11 18:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645976576001,"66":25952,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645976576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:12:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645976576001,"power":25952,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":130835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:12:40] local.INFO: GPS data processed {"connection_id":130835,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:12:40] local.INFO: Acknowledgment sent {"connection_id":130835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:12:59] local.INFO: TCP Data received {"connection_id":129597,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:12:59] local.INFO: Processing buffer {"connection_id":129597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:12:59] local.INFO: IMEI packet received {"connection_id":129597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":129597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:13:03] local.INFO: TCP Data received {"connection_id":128708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:13:03] local.INFO: Processing buffer {"connection_id":128708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:13:03] local.INFO: IMEI packet received {"connection_id":128708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":128708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:13:03] local.INFO: TCP Data received {"connection_id":128709,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:13:03] local.INFO: Processing buffer {"connection_id":128709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:13:03] local.INFO: IMEI packet received {"connection_id":128709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":128709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:13:04] local.INFO: TCP Data received {"connection_id":129597,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:13:04] local.INFO: Processing buffer {"connection_id":129597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:13:04] local.INFO: IMEI packet received {"connection_id":129597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":129597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:13:06] local.INFO: TCP Data received {"connection_id":129597,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5132a770012d18ef4007211930004600b52b..."} 
[2026-07-11 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5132a770012d18ef4007211930004600b52b..."} 
[2026-07-11 18:13:06] local.INFO: Processing buffer {"connection_id":129597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5132a770012d18ef4007211930004600b52b..."} 
[2026-07-11 18:13:06] local.INFO: Packet analysis {"connection_id":129597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5132"} 
[2026-07-11 18:13:06] local.INFO: Extracted packet for processing {"connection_id":129597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5132"} 
[2026-07-11 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756608832,"raw_latitude":119609648,"longitude_deg":75.6608832,"latitude_deg":11.9609648,"altitude":70,"angle":181,"satellites":43,"speed":2,"hex_longitude":"2d18ef40","hex_latitude":"07211930","is_valid_coordinates":true} 
[2026-07-11 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646067200001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5782645183086592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796725175708399616,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773702000,"timestamp_ms":1783773702000,"timestamp_seconds":1783773702,"priority":1,"record_length":96,"hex_timestamp":"0000019f5132a770"} 
[2026-07-11 18:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 18:13:06] 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-07-11 18:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646067200001,"66":14396,"121":206,"28":31744,"24":2,"16":5782645183086592,"45":1796725175708399616},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646067200001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:13:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:13:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5782645183086592,"km_value":5782645183086.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796725175708399616,"description":"Unknown IO ID 45"} 
[2026-07-11 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646067200001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1796725175708399616}} 
[2026-07-11 18:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":129597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:13:06] local.INFO: GPS data processed {"connection_id":129597,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:13:06] local.INFO: Acknowledgment sent {"connection_id":129597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:13:07] local.INFO: TCP Data received {"connection_id":128708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:13:07] local.INFO: Processing buffer {"connection_id":128708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:13:07] local.INFO: IMEI packet received {"connection_id":128708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":128708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:13:08] local.INFO: TCP Data received {"connection_id":128708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51334798012d7b980005df3cc8000000ad29..."} 
[2026-07-11 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51334798012d7b980005df3cc8000000ad29..."} 
[2026-07-11 18:13:08] local.INFO: Processing buffer {"connection_id":128708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51334798012d7b980005df3cc8000000ad29..."} 
[2026-07-11 18:13:08] local.INFO: Packet analysis {"connection_id":128708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:13:08] local.INFO: Extracted packet for processing {"connection_id":128708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763074560,"raw_latitude":98516168,"longitude_deg":76.307456,"latitude_deg":9.8516168,"altitude":0,"angle":173,"satellites":41,"speed":42,"hex_longitude":"2d7b9800","hex_latitude":"05df3cc8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646075904001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105136534503555072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904531282208399360,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773743000,"timestamp_ms":1783773743000,"timestamp_seconds":1783773743,"priority":1,"record_length":96,"hex_timestamp":"0000019f51334798"} 
[2026-07-11 18:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162643762599,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4103077889,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445200078,"corrected_to":0} 
[2026-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2147868697,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":170,"raw_value":58077557095399472,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2191261696,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3762061312,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,36,85,24,241,157,16,132,159,1,45,128,134,39,10,66,226,64,169,131,194,240,106,227,81,223,4,113,205,55,140,122,80,239,50,170,2,117,5,48],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1445200078,"validated":0}]} 
[2026-07-11 18:13:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":188175404695552,"timestamp_seconds":188175404695.552,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646075904001,"66":12939,"36":206,"85":15104,"24":42,"16":105136534503555072,"45":8904531282208399360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-11 18:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646075904001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:13:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-11 18:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105136534503555072,"km_value":105136534503555.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904531282208399360,"description":"Unknown IO ID 45"} 
[2026-07-11 18:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646075904001,"power":12939,"unknown_36":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8904531282208399360}} 
[2026-07-11 18:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":128708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:13:08] local.INFO: GPS data processed {"connection_id":128708,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:13:08] local.INFO: Acknowledgment sent {"connection_id":128708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:13:09] local.INFO: TCP Data received {"connection_id":128709,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:13:09] local.INFO: Processing buffer {"connection_id":128709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:13:09] local.INFO: IMEI packet received {"connection_id":128709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":128709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:13:09] local.INFO: TCP Data received {"connection_id":128709,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:13:09] local.INFO: Processing buffer {"connection_id":128709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:13:09] local.INFO: Packet analysis {"connection_id":128709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:13:09] local.INFO: Extracted packet for processing {"connection_id":128709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:13:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645976576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773646000,"timestamp_ms":1783773646000,"timestamp_seconds":1783773646,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131ccb0"} 
[2026-07-11 18:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:13: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-07-11 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:13: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-07-11 18:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645976576001,"66":25952,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645976576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:13:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645976576001,"power":25952,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":128709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:13:09] local.INFO: GPS data processed {"connection_id":128709,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:13:09] local.INFO: Acknowledgment sent {"connection_id":128709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:13:37] local.INFO: TCP Data received {"connection_id":129597,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5133a940012d18d2c007211e500046016728..."} 
[2026-07-11 18:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5133a940012d18d2c007211e500046016728..."} 
[2026-07-11 18:13:37] local.INFO: Processing buffer {"connection_id":129597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5133a940012d18d2c007211e500046016728..."} 
[2026-07-11 18:13:37] local.INFO: Packet analysis {"connection_id":129597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:13:37] local.INFO: Extracted packet for processing {"connection_id":129597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119610960,"longitude_deg":75.6601536,"latitude_deg":11.961096,"altitude":70,"angle":359,"satellites":40,"speed":12,"hex_longitude":"2d18d2c0","hex_latitude":"07211e50","is_valid_coordinates":true} 
[2026-07-11 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646084096001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5783044615045120,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876360675328,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783773768000,"timestamp_ms":1783773768000,"timestamp_seconds":1783773768,"priority":1,"record_length":96,"hex_timestamp":"0000019f5133a940"} 
[2026-07-11 18:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 18:13:37] 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-07-11 18:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646084096001,"66":14374,"121":206,"28":31744,"24":12,"16":5783044615045120,"45":1788843876360675328},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646084096001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:13:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5783044615045120,"km_value":5783044615045.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876360675328,"description":"Unknown IO ID 45"} 
[2026-07-11 18:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646084096001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1788843876360675328}} 
[2026-07-11 18:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":129597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:13:38] local.INFO: GPS data processed {"connection_id":129597,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:13:38] local.INFO: Acknowledgment sent {"connection_id":129597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:13:40] local.INFO: TCP Data received {"connection_id":128708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51336ac0012d7b9b0005df19d0000000ae27..."} 
[2026-07-11 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51336ac0012d7b9b0005df19d0000000ae27..."} 
[2026-07-11 18:13:40] local.INFO: Processing buffer {"connection_id":128708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51336ac0012d7b9b0005df19d0000000ae27..."} 
[2026-07-11 18:13:40] local.INFO: Packet analysis {"connection_id":128708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:13:40] local.INFO: Extracted packet for processing {"connection_id":128708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763075328,"raw_latitude":98507216,"longitude_deg":76.3075328,"latitude_deg":9.8507216,"altitude":0,"angle":174,"satellites":39,"speed":36,"hex_longitude":"2d7b9b00","hex_latitude":"05df19d0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646078208001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105136968295251968,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288345294848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773752000,"timestamp_ms":1783773752000,"timestamp_seconds":1783773752,"priority":1,"record_length":96,"hex_timestamp":"0000019f51336ac0"} 
[2026-07-11 18:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:13:40] 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-07-11 18: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-07-11 18:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646078208001,"66":12939,"36":206,"85":15104,"24":36,"16":105136968295251968,"45":8905868288345294848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-11 18:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646078208001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:13:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-11 18:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105136968295251968,"km_value":105136968295251.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288345294848,"description":"Unknown IO ID 45"} 
[2026-07-11 18:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646078208001,"power":12939,"unknown_36":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8905868288345294848}} 
[2026-07-11 18:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":128708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:13:40] local.INFO: GPS data processed {"connection_id":128708,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:13:40] local.INFO: Acknowledgment sent {"connection_id":128708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:13:40] local.INFO: TCP Data received {"connection_id":128709,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:13:40] local.INFO: Processing buffer {"connection_id":128709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:13:40] local.INFO: Packet analysis {"connection_id":128709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:13:40] local.INFO: Extracted packet for processing {"connection_id":128709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645976576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773646000,"timestamp_ms":1783773646000,"timestamp_seconds":1783773646,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131ccb0"} 
[2026-07-11 18:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645976576001,"66":25952,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645976576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:13:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645976576001,"power":25952,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":128709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:13:40] local.INFO: GPS data processed {"connection_id":128709,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:13:40] local.INFO: Acknowledgment sent {"connection_id":128709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:13:59] local.INFO: TCP Data received {"connection_id":130836,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:13:59] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:13:59] local.INFO: IMEI packet received {"connection_id":130836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":130836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:14:02] local.INFO: TCP Data received {"connection_id":128885,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:14:02] local.INFO: Processing buffer {"connection_id":128885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:14:02] local.INFO: IMEI packet received {"connection_id":128885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":128885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:14:03] local.INFO: TCP Data received {"connection_id":128885,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:14:03] local.INFO: Processing buffer {"connection_id":128885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:14:03] local.INFO: IMEI packet received {"connection_id":128885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":128885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:14:04] local.INFO: TCP Data received {"connection_id":130836,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:14:04] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:14:04] local.INFO: IMEI packet received {"connection_id":130836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":130836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:14:06] local.INFO: TCP Data received {"connection_id":130836,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5133c0b0012d18d200072128c0004701592a..."} 
[2026-07-11 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5133c0b0012d18d200072128c0004701592a..."} 
[2026-07-11 18:14:06] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5133c0b0012d18d200072128c0004701592a..."} 
[2026-07-11 18:14:06] local.INFO: Packet analysis {"connection_id":130836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:14:06] local.INFO: Extracted packet for processing {"connection_id":130836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613632,"longitude_deg":75.6601344,"latitude_deg":11.9613632,"altitude":71,"angle":345,"satellites":42,"speed":21,"hex_longitude":"2d18d200","hex_latitude":"072128c0","is_valid_coordinates":true} 
[2026-07-11 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646084608001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5783177759031296,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872446976,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773774000,"timestamp_ms":1783773774000,"timestamp_seconds":1783773774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5133c0b0"} 
[2026-07-11 18:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 18:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646084608001,"66":14298,"121":206,"28":31744,"24":21,"16":5783177759031296,"45":1788703138872446976},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646084608001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:14:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5783177759031296,"km_value":5783177759031.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872446976,"description":"Unknown IO ID 45"} 
[2026-07-11 18:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646084608001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1788703138872446976}} 
[2026-07-11 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":130836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:14:06] local.INFO: GPS data processed {"connection_id":130836,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:14:06] local.INFO: Acknowledgment sent {"connection_id":130836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:14:08] local.INFO: TCP Data received {"connection_id":128885,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:14:08] local.INFO: Processing buffer {"connection_id":128885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:14:08] local.INFO: IMEI packet received {"connection_id":128885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":128885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:14:08] local.INFO: TCP Data received {"connection_id":128885,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51339d88012d7b9dc005def6e8000000b122..."} 
[2026-07-11 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51339d88012d7b9dc005def6e8000000b122..."} 
[2026-07-11 18:14:08] local.INFO: Processing buffer {"connection_id":128885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51339d88012d7b9dc005def6e8000000b122..."} 
[2026-07-11 18:14:08] local.INFO: Packet analysis {"connection_id":128885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:14:08] local.INFO: Extracted packet for processing {"connection_id":128885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763076032,"raw_latitude":98498280,"longitude_deg":76.3076032,"latitude_deg":9.849828,"altitude":0,"angle":177,"satellites":34,"speed":20,"hex_longitude":"2d7b9dc0","hex_latitude":"05def6e8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646080512001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105137402086948864,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906712713273135104,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773765000,"timestamp_ms":1783773765000,"timestamp_seconds":1783773765,"priority":1,"record_length":96,"hex_timestamp":"0000019f51339d88"} 
[2026-07-11 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-07-11 18:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:14:08] 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-07-11 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-07-11 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-07-11 18:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646080512001,"66":12906,"36":206,"85":15104,"24":20,"16":105137402086948864,"45":8906712713273135104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-11 18:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646080512001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:14:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-11 18:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105137402086948864,"km_value":105137402086948.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906712713273135104,"description":"Unknown IO ID 45"} 
[2026-07-11 18:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646080512001,"power":12906,"unknown_36":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8906712713273135104}} 
[2026-07-11 18:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":128885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:14:08] local.INFO: GPS data processed {"connection_id":128885,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:14:08] local.INFO: Acknowledgment sent {"connection_id":128885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:14:09] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:14:09] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:14:09] local.INFO: IMEI packet received {"connection_id":130837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":130837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:14:14] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:14:14] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:14:14] local.INFO: IMEI packet received {"connection_id":130837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":130837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:14:14] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:14:14] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:14:14] local.INFO: Packet analysis {"connection_id":130837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:14:14] local.INFO: Extracted packet for processing {"connection_id":130837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:14:14] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645976576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783773646000,"timestamp_ms":1783773646000,"timestamp_seconds":1783773646,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131ccb0"} 
[2026-07-11 18:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645976576001,"66":25952,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645976576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:14:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:14:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645976576001,"power":25952,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":130837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:14:14] local.INFO: GPS data processed {"connection_id":130837,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:14:14] local.INFO: Acknowledgment sent {"connection_id":130837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:14:19] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:14:19] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:14:19] local.INFO: Packet analysis {"connection_id":130837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:14:19] local.INFO: Extracted packet for processing {"connection_id":130837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:14:19] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645976576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783773646000,"timestamp_ms":1783773646000,"timestamp_seconds":1783773646,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131ccb0"} 
[2026-07-11 18:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645976576001,"66":25952,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645976576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:14:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645976576001,"power":25952,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":130837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:14:19] local.INFO: GPS data processed {"connection_id":130837,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:14:19] local.INFO: Acknowledgment sent {"connection_id":130837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:14:38] local.INFO: TCP Data received {"connection_id":130836,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5133c880012d18cfc007212ce8004701492b..."} 
[2026-07-11 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5133c880012d18cfc007212ce8004701492b..."} 
[2026-07-11 18:14:38] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5133c880012d18cfc007212ce8004701492b..."} 
[2026-07-11 18:14:38] local.INFO: Packet analysis {"connection_id":130836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:14:38] local.INFO: Extracted packet for processing {"connection_id":130836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119614696,"longitude_deg":75.6600768,"latitude_deg":11.9614696,"altitude":71,"angle":329,"satellites":43,"speed":24,"hex_longitude":"2d18cfc0","hex_latitude":"07212ce8","is_valid_coordinates":true} 
[2026-07-11 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646086144001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5783233593606144,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640598016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783773776000,"timestamp_ms":1783773776000,"timestamp_seconds":1783773776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5133c880"} 
[2026-07-11 18:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-11 18:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646086144001,"66":14265,"121":206,"28":31744,"24":24,"16":5783233593606144,"45":1788492032640598016},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646086144001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:14:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5783233593606144,"km_value":5783233593606.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640598016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646086144001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1788492032640598016}} 
[2026-07-11 18:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":130836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:14:38] local.INFO: GPS data processed {"connection_id":130836,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:14:38] local.INFO: Acknowledgment sent {"connection_id":130836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:14:39] local.INFO: TCP Data received {"connection_id":128885,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5133d050012d7b9fc005ded370000000af26..."} 
[2026-07-11 18:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5133d050012d7b9fc005ded370000000af26..."} 
[2026-07-11 18:14:39] local.INFO: Processing buffer {"connection_id":128885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5133d050012d7b9fc005ded370000000af26..."} 
[2026-07-11 18:14:39] local.INFO: Packet analysis {"connection_id":128885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:14:39] local.INFO: Extracted packet for processing {"connection_id":128885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763076544,"raw_latitude":98489200,"longitude_deg":76.3076544,"latitude_deg":9.84892,"altitude":0,"angle":175,"satellites":38,"speed":34,"hex_longitude":"2d7b9fc0","hex_latitude":"05ded370","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646083840001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105137844468580352,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907486769456801792,"note":"Value kept but may cause issues"} 
[2026-07-11 18:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783773778000,"timestamp_ms":1783773778000,"timestamp_seconds":1783773778,"priority":1,"record_length":96,"hex_timestamp":"0000019f5133d050"} 
[2026-07-11 18:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-11 18:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646083840001,"66":12885,"49":206,"85":15104,"24":34,"16":105137844468580352,"45":8907486769456801792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-11 18:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646083840001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:14:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 18:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105137844468580352,"km_value":105137844468580.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907486769456801792,"description":"Unknown IO ID 45"} 
[2026-07-11 18:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646083840001,"power":12885,"unknown_49":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8907486769456801792}} 
[2026-07-11 18:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":128885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:14:39] local.INFO: GPS data processed {"connection_id":128885,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:14:39] local.INFO: Acknowledgment sent {"connection_id":128885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:15:02] local.INFO: TCP Data received {"connection_id":129600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:15:02] local.INFO: Processing buffer {"connection_id":129600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:15:02] local.INFO: IMEI packet received {"connection_id":129600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":129600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:15:03] local.INFO: TCP Data received {"connection_id":129600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:15:03] local.INFO: Processing buffer {"connection_id":129600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:15:03] local.INFO: IMEI packet received {"connection_id":129600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":129600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:15:04] local.INFO: TCP Data received {"connection_id":129599,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:04] local.INFO: Processing buffer {"connection_id":129599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:04] local.INFO: IMEI packet received {"connection_id":129599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:15:04] local.INFO: TCP Data received {"connection_id":129598,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:15:04] local.INFO: Processing buffer {"connection_id":129598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:15:04] local.INFO: IMEI packet received {"connection_id":129598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:15:04] local.INFO: TCP Data received {"connection_id":129599,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:04] local.INFO: Processing buffer {"connection_id":129599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:04] local.INFO: IMEI packet received {"connection_id":129599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:15:08] local.INFO: TCP Data received {"connection_id":129600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:15:08] local.INFO: Processing buffer {"connection_id":129600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:15:08] local.INFO: IMEI packet received {"connection_id":129600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":129600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:15:09] local.INFO: TCP Data received {"connection_id":129598,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:15:09] local.INFO: Processing buffer {"connection_id":129598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:15:09] local.INFO: IMEI packet received {"connection_id":129598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":129598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:15:09] local.INFO: TCP Data received {"connection_id":129600,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5133f378012d7ba28005deafa0000000af23..."} 
[2026-07-11 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5133f378012d7ba28005deafa0000000af23..."} 
[2026-07-11 18:15:09] local.INFO: Processing buffer {"connection_id":129600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5133f378012d7ba28005deafa0000000af23..."} 
[2026-07-11 18:15:09] local.INFO: Packet analysis {"connection_id":129600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:15:09] local.INFO: Extracted packet for processing {"connection_id":129600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763077248,"raw_latitude":98480032,"longitude_deg":76.3077248,"latitude_deg":9.8480032,"altitude":0,"angle":175,"satellites":35,"speed":43,"hex_longitude":"2d7ba280","hex_latitude":"05deafa0","is_valid_coordinates":true} 
[2026-07-11 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646087168001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105138291145179136,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908049719407898624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773787000,"timestamp_ms":1783773787000,"timestamp_seconds":1783773787,"priority":1,"record_length":96,"hex_timestamp":"0000019f5133f378"} 
[2026-07-11 18:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 18:15:09] 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-07-11 18:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646087168001,"66":12689,"49":206,"85":15104,"24":43,"16":105138291145179136,"45":8908049719407898624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-11 18:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646087168001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:15:09] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 18:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105138291145179136,"km_value":105138291145179.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908049719407898624,"description":"Unknown IO ID 45"} 
[2026-07-11 18:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646087168001,"power":12689,"unknown_49":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8908049719407898624}} 
[2026-07-11 18:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":129600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:15:09] local.INFO: GPS data processed {"connection_id":129600,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:15:09] local.INFO: Acknowledgment sent {"connection_id":129600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:15:09] local.INFO: TCP Data received {"connection_id":129599,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:09] local.INFO: Processing buffer {"connection_id":129599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:09] local.INFO: IMEI packet received {"connection_id":129599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":129599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:15:09] local.INFO: TCP Data received {"connection_id":129598,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:15:09] local.INFO: Processing buffer {"connection_id":129598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5131ccb0012cbce580076d7fb8004b00af29..."} 
[2026-07-11 18:15:09] local.INFO: Packet analysis {"connection_id":129598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:15:09] local.INFO: Extracted packet for processing {"connection_id":129598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5131"} 
[2026-07-11 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456645976576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773646000,"timestamp_ms":1783773646000,"timestamp_seconds":1783773646,"priority":1,"record_length":96,"hex_timestamp":"0000019f5131ccb0"} 
[2026-07-11 18:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:15: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-07-11 18:15: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":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:15: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-07-11 18:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456645976576001,"66":25952,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456645976576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:15:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456645976576001,"power":25952,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":129598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:15:09] local.INFO: GPS data processed {"connection_id":129598,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:15:09] local.INFO: Acknowledgment sent {"connection_id":129598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:15:10] local.INFO: TCP Data received {"connection_id":129599,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5133e7c0012d18c60007213db80047015629..."} 
[2026-07-11 18:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5133e7c0012d18c60007213db80047015629..."} 
[2026-07-11 18:15:10] local.INFO: Processing buffer {"connection_id":129599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5133e7c0012d18c60007213db80047015629..."} 
[2026-07-11 18:15:10] local.INFO: Packet analysis {"connection_id":129599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:15:10] local.INFO: Extracted packet for processing {"connection_id":129599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119619000,"longitude_deg":75.6598272,"latitude_deg":11.9619,"altitude":71,"angle":342,"satellites":41,"speed":27,"hex_longitude":"2d18c600","hex_latitude":"07213db8","is_valid_coordinates":true} 
[2026-07-11 18:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646086656001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5783474111774720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943271424,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783773784000,"timestamp_ms":1783773784000,"timestamp_seconds":1783773784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5133e7c0"} 
[2026-07-11 18:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 18:15:10] 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-07-11 18:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646086656001,"66":14363,"121":206,"28":31744,"24":27,"16":5783474111774720,"45":1787858713943271424},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646086656001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:15:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:15:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5783474111774720,"km_value":5783474111774.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943271424,"description":"Unknown IO ID 45"} 
[2026-07-11 18:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646086656001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1787858713943271424}} 
[2026-07-11 18:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":129599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:15:10] local.INFO: GPS data processed {"connection_id":129599,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:15:10] local.INFO: Acknowledgment sent {"connection_id":129599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:15:39] local.INFO: TCP Data received {"connection_id":129600,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51362210012d7be04005dd17980000013328..."} 
[2026-07-11 18:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51362210012d7be04005dd17980000013328..."} 
[2026-07-11 18:15:39] local.INFO: Processing buffer {"connection_id":129600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51362210012d7be04005dd17980000013328..."} 
[2026-07-11 18:15:39] local.INFO: Packet analysis {"connection_id":129600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:15:39] local.INFO: Extracted packet for processing {"connection_id":129600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763093056,"raw_latitude":98375576,"longitude_deg":76.3093056,"latitude_deg":9.8375576,"altitude":0,"angle":307,"satellites":40,"speed":9,"hex_longitude":"2d7be040","hex_latitude":"05dd1798","is_valid_coordinates":true} 
[2026-07-11 18:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646125568001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143479465672704,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926627067841687552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783773930000,"timestamp_ms":1783773930000,"timestamp_seconds":1783773930,"priority":1,"record_length":96,"hex_timestamp":"0000019f51362210"} 
[2026-07-11 18:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-11 18:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646125568001,"66":12385,"169":206,"85":15104,"24":9,"16":105143479465672704,"45":8926627067841687552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646125568001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:15:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143479465672704,"km_value":105143479465672.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926627067841687552,"description":"Unknown IO ID 45"} 
[2026-07-11 18:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646125568001,"power":12385,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8926627067841687552}} 
[2026-07-11 18:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":129600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:15:40] local.INFO: GPS data processed {"connection_id":129600,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:15:40] local.INFO: Acknowledgment sent {"connection_id":129600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:15:40] local.INFO: TCP Data received {"connection_id":129598,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f51357248012cbce580076d7fb8004b00af2e..."} 
[2026-07-11 18:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51357248012cbce580076d7fb8004b00af2e..."} 
[2026-07-11 18:15:40] local.INFO: Processing buffer {"connection_id":129598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51357248012cbce580076d7fb8004b00af2e..."} 
[2026-07-11 18:15:40] local.INFO: Packet analysis {"connection_id":129598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:15:40] local.INFO: Extracted packet for processing {"connection_id":129598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616632,"longitude_deg":75.0577024,"latitude_deg":12.4616632,"altitude":75,"angle":175,"satellites":46,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d7fb8","is_valid_coordinates":true} 
[2026-07-11 18:15: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-07-11 18:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646053376001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773885000,"timestamp_ms":1783773885000,"timestamp_seconds":1783773885,"priority":1,"record_length":96,"hex_timestamp":"0000019f51357248"} 
[2026-07-11 18:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 18:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646053376001,"66":25908,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646053376001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:15:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646053376001,"power":25908,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":129598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:15:40] local.INFO: GPS data processed {"connection_id":129598,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:15:40] local.INFO: Acknowledgment sent {"connection_id":129598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:15:42] local.INFO: TCP Data received {"connection_id":129599,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5133ef90012d18c4c007214300004701612a..."} 
[2026-07-11 18:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5133ef90012d18c4c007214300004701612a..."} 
[2026-07-11 18:15:42] local.INFO: Processing buffer {"connection_id":129599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5133ef90012d18c4c007214300004701612a..."} 
[2026-07-11 18:15:42] local.INFO: Packet analysis {"connection_id":129599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:15:42] local.INFO: Extracted packet for processing {"connection_id":129599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5133"} 
[2026-07-11 18:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119620352,"longitude_deg":75.6597952,"latitude_deg":11.9620352,"altitude":71,"angle":353,"satellites":42,"speed":28,"hex_longitude":"2d18c4c0","hex_latitude":"07214300","is_valid_coordinates":true} 
[2026-07-11 18:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646088704001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5783542831251456,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332921444352,"note":"Value kept but may cause issues"} 
[2026-07-11 18:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783773786000,"timestamp_ms":1783773786000,"timestamp_seconds":1783773786,"priority":1,"record_length":96,"hex_timestamp":"0000019f5133ef90"} 
[2026-07-11 18:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 18:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646088704001,"66":14080,"121":206,"28":31744,"24":28,"16":5783542831251456,"45":1785114332921444352},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646088704001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:15:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:15:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5783542831251456,"km_value":5783542831251.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332921444352,"description":"Unknown IO ID 45"} 
[2026-07-11 18:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646088704001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1785114332921444352}} 
[2026-07-11 18:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":129599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:15:42] local.INFO: GPS data processed {"connection_id":129599,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:15:42] local.INFO: Acknowledgment sent {"connection_id":129599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:15:56] local.INFO: TCP Data received {"connection_id":128886,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:56] local.INFO: Processing buffer {"connection_id":128886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:56] local.INFO: IMEI packet received {"connection_id":128886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":128886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:15:59] local.INFO: TCP Data received {"connection_id":128886,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:59] local.INFO: Processing buffer {"connection_id":128886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:15:59] local.INFO: IMEI packet received {"connection_id":128886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":128886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:16:01] local.INFO: TCP Data received {"connection_id":128886,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:16:01] local.INFO: Processing buffer {"connection_id":128886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:16:01] local.INFO: IMEI packet received {"connection_id":128886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":128886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:16:02] local.INFO: TCP Data received {"connection_id":128886,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5135cc20012d187500072182600051000028..."} 
[2026-07-11 18:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5135cc20012d187500072182600051000028..."} 
[2026-07-11 18:16:02] local.INFO: Processing buffer {"connection_id":128886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5135cc20012d187500072182600051000028..."} 
[2026-07-11 18:16:02] local.INFO: Packet analysis {"connection_id":128886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:16:02] local.INFO: Extracted packet for processing {"connection_id":128886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756577536,"raw_latitude":119636576,"longitude_deg":75.6577536,"latitude_deg":11.9636576,"altitude":81,"angle":0,"satellites":40,"speed":2,"hex_longitude":"2d187500","hex_latitude":"07218260","is_valid_coordinates":true} 
[2026-07-11 18:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646120192001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5784998825164800,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021444096,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783773908000,"timestamp_ms":1783773908000,"timestamp_seconds":1783773908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5135cc20"} 
[2026-07-11 18:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-11 18:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646120192001,"66":13722,"121":206,"28":31744,"24":2,"16":5784998825164800,"45":1762807441021444096},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646120192001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:16:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:16:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5784998825164800,"km_value":5784998825164.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021444096,"description":"Unknown IO ID 45"} 
[2026-07-11 18:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646120192001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1762807441021444096}} 
[2026-07-11 18:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":128886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:16:02] local.INFO: GPS data processed {"connection_id":128886,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:16:02] local.INFO: Acknowledgment sent {"connection_id":128886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:16:03] local.INFO: TCP Data received {"connection_id":128711,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:16:03] local.INFO: Processing buffer {"connection_id":128711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:16:03] local.INFO: IMEI packet received {"connection_id":128711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":128711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:16:08] local.INFO: TCP Data received {"connection_id":130839,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:16:08] local.INFO: Processing buffer {"connection_id":130839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:16:08] local.INFO: IMEI packet received {"connection_id":130839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":130839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:16:09] local.INFO: TCP Data received {"connection_id":128711,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:16:09] local.INFO: Processing buffer {"connection_id":128711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:16:09] local.INFO: IMEI packet received {"connection_id":128711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":128711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:16:09] local.INFO: TCP Data received {"connection_id":128711,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f513589b8012cbce100076d7ed0004b010d2e..."} 
[2026-07-11 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513589b8012cbce100076d7ed0004b010d2e..."} 
[2026-07-11 18:16:09] local.INFO: Processing buffer {"connection_id":128711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513589b8012cbce100076d7ed0004b010d2e..."} 
[2026-07-11 18:16:09] local.INFO: Packet analysis {"connection_id":128711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:16:09] local.INFO: Extracted packet for processing {"connection_id":128711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646114560001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522146304,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773891000,"timestamp_ms":1783773891000,"timestamp_seconds":1783773891,"priority":1,"record_length":96,"hex_timestamp":"0000019f513589b8"} 
[2026-07-11 18:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 18:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:16: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-07-11 18:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646114560001,"66":26636,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4835317855522146304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646114560001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:16:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522146304,"description":"Unknown IO ID 44"} 
[2026-07-11 18:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646114560001,"power":26636,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522146304}} 
[2026-07-11 18:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":128711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:16:09] local.INFO: GPS data processed {"connection_id":128711,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:16:09] local.INFO: Acknowledgment sent {"connection_id":128711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:16:13] local.INFO: TCP Data received {"connection_id":130839,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:16:13] local.INFO: Processing buffer {"connection_id":130839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:16:13] local.INFO: IMEI packet received {"connection_id":130839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":130839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:16:13] local.INFO: TCP Data received {"connection_id":130839,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f513629e0012d7bdf0005dd18f00000014728..."} 
[2026-07-11 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513629e0012d7bdf0005dd18f00000014728..."} 
[2026-07-11 18:16:13] local.INFO: Processing buffer {"connection_id":130839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513629e0012d7bdf0005dd18f00000014728..."} 
[2026-07-11 18:16:13] local.INFO: Packet analysis {"connection_id":130839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:16:13] local.INFO: Extracted packet for processing {"connection_id":130839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763092736,"raw_latitude":98375920,"longitude_deg":76.3092736,"latitude_deg":9.837592,"altitude":0,"angle":327,"satellites":40,"speed":8,"hex_longitude":"2d7bdf00","hex_latitude":"05dd18f0","is_valid_coordinates":true} 
[2026-07-11 18:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646126080001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143500940509184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926204855376648192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783773932000,"timestamp_ms":1783773932000,"timestamp_seconds":1783773932,"priority":1,"record_length":96,"hex_timestamp":"0000019f513629e0"} 
[2026-07-11 18:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:16:13] 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-07-11 18:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 18:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646126080001,"66":12319,"169":206,"85":15104,"24":8,"16":105143500940509184,"45":8926204855376648192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646126080001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:16:13] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143500940509184,"km_value":105143500940509.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926204855376648192,"description":"Unknown IO ID 45"} 
[2026-07-11 18:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646126080001,"power":12319,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8926204855376648192}} 
[2026-07-11 18:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":130839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:16:13] local.INFO: GPS data processed {"connection_id":130839,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:16:13] local.INFO: Acknowledgment sent {"connection_id":130839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:16:18] local.INFO: TCP Data received {"connection_id":130839,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f51363d68012d7bdd8005dd1b680000016027..."} 
[2026-07-11 18:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51363d68012d7bdd8005dd1b680000016027..."} 
[2026-07-11 18:16:18] local.INFO: Processing buffer {"connection_id":130839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51363d68012d7bdd8005dd1b680000016027..."} 
[2026-07-11 18:16:18] local.INFO: Packet analysis {"connection_id":130839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:16:18] local.INFO: Extracted packet for processing {"connection_id":130839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98376552,"longitude_deg":76.3092352,"latitude_deg":9.8376552,"altitude":0,"angle":352,"satellites":39,"speed":2,"hex_longitude":"2d7bdd80","hex_latitude":"05dd1b68","is_valid_coordinates":true} 
[2026-07-11 18:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646126592001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143539595214848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925853011655847936,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783773937000,"timestamp_ms":1783773937000,"timestamp_seconds":1783773937,"priority":1,"record_length":96,"hex_timestamp":"0000019f51363d68"} 
[2026-07-11 18:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 18:16:18] 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-07-11 18:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646126592001,"66":12613,"169":206,"85":15104,"24":2,"16":105143539595214848,"45":8925853011655847936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646126592001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:16:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143539595214848,"km_value":105143539595214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925853011655847936,"description":"Unknown IO ID 45"} 
[2026-07-11 18:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646126592001,"power":12613,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8925853011655847936}} 
[2026-07-11 18:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":130839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:16:18] local.INFO: GPS data processed {"connection_id":130839,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:16:18] local.INFO: Acknowledgment sent {"connection_id":130839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:16:20] local.INFO: TCP Data received {"connection_id":130838,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:16:20] local.INFO: Processing buffer {"connection_id":130838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:16:20] local.INFO: IMEI packet received {"connection_id":130838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":130838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:16:33] local.INFO: TCP Data received {"connection_id":128886,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5135d3f0012d187540072182d00051001b29..."} 
[2026-07-11 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5135d3f0012d187540072182d00051001b29..."} 
[2026-07-11 18:16:33] local.INFO: Processing buffer {"connection_id":128886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5135d3f0012d187540072182d00051001b29..."} 
[2026-07-11 18:16:33] local.INFO: Packet analysis {"connection_id":128886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:16:33] local.INFO: Extracted packet for processing {"connection_id":128886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756577600,"raw_latitude":119636688,"longitude_deg":75.65776,"latitude_deg":11.9636688,"altitude":81,"angle":27,"satellites":41,"speed":2,"hex_longitude":"2d187540","hex_latitude":"072182d0","is_valid_coordinates":true} 
[2026-07-11 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646120448001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5785003120132096,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762314859812380672,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783773910000,"timestamp_ms":1783773910000,"timestamp_seconds":1783773910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5135d3f0"} 
[2026-07-11 18:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-11 18:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":128886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":128886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":128886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646120448001,"66":14189,"121":206,"28":31744,"24":2,"16":5785003120132096,"45":1762314859812380672},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646120448001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:16:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:16:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5785003120132096,"km_value":5785003120132.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762314859812380672,"description":"Unknown IO ID 45"} 
[2026-07-11 18:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646120448001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1762314859812380672}} 
[2026-07-11 18:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":128886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:16:34] local.INFO: GPS data processed {"connection_id":128886,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:16:34] local.INFO: Acknowledgment sent {"connection_id":128886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:16:40] local.INFO: TCP Data received {"connection_id":128711,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5135dfa8012cbce100076d7ed0004b010d2b..."} 
[2026-07-11 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5135dfa8012cbce100076d7ed0004b010d2b..."} 
[2026-07-11 18:16:40] local.INFO: Processing buffer {"connection_id":128711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5135dfa8012cbce100076d7ed0004b010d2b..."} 
[2026-07-11 18:16:40] local.INFO: Packet analysis {"connection_id":128711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:16:40] local.INFO: Extracted packet for processing {"connection_id":128711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5135"} 
[2026-07-11 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646116096001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773913000,"timestamp_ms":1783773913000,"timestamp_seconds":1783773913,"priority":1,"record_length":96,"hex_timestamp":"0000019f5135dfa8"} 
[2026-07-11 18:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:16:40] 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-07-11 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-11 18:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646116096001,"66":27832,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646116096001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:16:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646116096001,"power":27832,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":128711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:16:40] local.INFO: GPS data processed {"connection_id":128711,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:16:40] local.INFO: Acknowledgment sent {"connection_id":128711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:16:45] local.INFO: TCP Data received {"connection_id":130840,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:16:45] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:16:45] local.INFO: IMEI packet received {"connection_id":130840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":130840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:16:56] local.INFO: TCP Data received {"connection_id":129601,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:16:56] local.INFO: Processing buffer {"connection_id":129601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:16:56] local.INFO: IMEI packet received {"connection_id":129601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":129601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:16:59] local.INFO: TCP Data received {"connection_id":129601,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:16:59] local.INFO: Processing buffer {"connection_id":129601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:16:59] local.INFO: IMEI packet received {"connection_id":129601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":129601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:17:03] local.INFO: TCP Data received {"connection_id":129602,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:17:03] local.INFO: Processing buffer {"connection_id":129602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:17:03] local.INFO: IMEI packet received {"connection_id":129602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":129602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:17:03] local.INFO: TCP Data received {"connection_id":129603,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:17:03] local.INFO: Processing buffer {"connection_id":129603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:17:03] local.INFO: IMEI packet received {"connection_id":129603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":129603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:17:04] local.INFO: TCP Data received {"connection_id":129601,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:17:04] local.INFO: Processing buffer {"connection_id":129601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:17:04] local.INFO: IMEI packet received {"connection_id":129601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":129601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:17:06] local.INFO: TCP Data received {"connection_id":129601,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513687a0012d1820400721a5780050012e27..."} 
[2026-07-11 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513687a0012d1820400721a5780050012e27..."} 
[2026-07-11 18:17:06] local.INFO: Processing buffer {"connection_id":129601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513687a0012d1820400721a5780050012e27..."} 
[2026-07-11 18:17:06] local.INFO: Packet analysis {"connection_id":129601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:06] local.INFO: Extracted packet for processing {"connection_id":129601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645560,"longitude_deg":75.655584,"latitude_deg":11.964556,"altitude":80,"angle":302,"satellites":39,"speed":12,"hex_longitude":"2d182040","hex_latitude":"0721a578","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646131200001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5786158466334720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392840017920,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773956000,"timestamp_ms":1783773956000,"timestamp_seconds":1783773956,"priority":1,"record_length":96,"hex_timestamp":"0000019f513687a0"} 
[2026-07-11 18:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 18:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646131200001,"66":14276,"120":206,"28":31744,"24":12,"16":5786158466334720,"45":1740852392840017920},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646131200001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:17:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5786158466334720,"km_value":5786158466334.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392840017920,"description":"Unknown IO ID 45"} 
[2026-07-11 18:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646131200001,"power":14276,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1740852392840017920}} 
[2026-07-11 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":129601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:17:06] local.INFO: GPS data processed {"connection_id":129601,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:17:06] local.INFO: Acknowledgment sent {"connection_id":129601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:17:08] local.INFO: TCP Data received {"connection_id":129602,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:17:08] local.INFO: Processing buffer {"connection_id":129602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:17:08] local.INFO: IMEI packet received {"connection_id":129602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":129602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:17:08] local.INFO: TCP Data received {"connection_id":129602,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:17:08] local.INFO: Processing buffer {"connection_id":129602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:17:08] local.INFO: Packet analysis {"connection_id":129602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:08] local.INFO: Extracted packet for processing {"connection_id":129602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98376568,"longitude_deg":76.3092352,"latitude_deg":9.8376568,"altitude":0,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2d7bdd80","hex_latitude":"05dd1b78","is_valid_coordinates":true} 
[2026-07-11 18:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646127872001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143539595214848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925430799190943744,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773938000,"timestamp_ms":1783773938000,"timestamp_seconds":1783773938,"priority":1,"record_length":96,"hex_timestamp":"0000019f51364150"} 
[2026-07-11 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-07-11 18:17: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-07-11 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 18:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646127872001,"66":12722,"169":206,"85":15104,"24":0,"16":105143539595214848,"45":8925430799190943744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646127872001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:17:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143539595214848,"km_value":105143539595214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925430799190943744,"description":"Unknown IO ID 45"} 
[2026-07-11 18:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646127872001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925430799190943744}} 
[2026-07-11 18:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":129602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:17:08] local.INFO: GPS data processed {"connection_id":129602,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:17:08] local.INFO: Acknowledgment sent {"connection_id":129602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:17:09] local.INFO: TCP Data received {"connection_id":129603,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:17:09] local.INFO: Processing buffer {"connection_id":129603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:17:09] local.INFO: IMEI packet received {"connection_id":129603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":129603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:17:09] local.INFO: TCP Data received {"connection_id":129603,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f51362dc8012cbce100076d7ed0004b010d2c..."} 
[2026-07-11 18:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51362dc8012cbce100076d7ed0004b010d2c..."} 
[2026-07-11 18:17:09] local.INFO: Processing buffer {"connection_id":129603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51362dc8012cbce100076d7ed0004b010d2c..."} 
[2026-07-11 18:17:09] local.INFO: Packet analysis {"connection_id":129603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:09] local.INFO: Extracted packet for processing {"connection_id":129603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:09] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646121728001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783773933000,"timestamp_ms":1783773933000,"timestamp_seconds":1783773933,"priority":1,"record_length":96,"hex_timestamp":"0000019f51362dc8"} 
[2026-07-11 18:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:17:09] 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-07-11 18:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-11 18:17:09] 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-07-11 18:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:17: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-07-11 18:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646121728001,"66":27180,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646121728001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:17:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:17:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646121728001,"power":27180,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":129603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:17:09] local.INFO: GPS data processed {"connection_id":129603,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:17:09] local.INFO: Acknowledgment sent {"connection_id":129603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:17:37] local.INFO: TCP Data received {"connection_id":129601,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51369358012d181e800721a6a8004f013c28..."} 
[2026-07-11 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51369358012d181e800721a6a8004f013c28..."} 
[2026-07-11 18:17:37] local.INFO: Processing buffer {"connection_id":129601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51369358012d181e800721a6a8004f013c28..."} 
[2026-07-11 18:17:37] local.INFO: Packet analysis {"connection_id":129601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:37] local.INFO: Extracted packet for processing {"connection_id":129601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645864,"longitude_deg":75.6555392,"latitude_deg":11.9645864,"altitude":79,"angle":316,"satellites":40,"speed":6,"hex_longitude":"2d181e80","hex_latitude":"0721a6a8","is_valid_coordinates":true} 
[2026-07-11 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646132736001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5786184236138496,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538452480,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783773959000,"timestamp_ms":1783773959000,"timestamp_seconds":1783773959,"priority":1,"record_length":96,"hex_timestamp":"0000019f51369358"} 
[2026-07-11 18:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 18:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646132736001,"66":14070,"120":206,"28":31744,"24":6,"16":5786184236138496,"45":1738459855538452480},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646132736001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:17:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5786184236138496,"km_value":5786184236138.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538452480,"description":"Unknown IO ID 45"} 
[2026-07-11 18:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646132736001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738459855538452480}} 
[2026-07-11 18:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":129601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:17:37] local.INFO: GPS data processed {"connection_id":129601,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:17:37] local.INFO: Acknowledgment sent {"connection_id":129601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:17:39] local.INFO: TCP Data received {"connection_id":129602,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:17:39] local.INFO: Processing buffer {"connection_id":129602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:17:39] local.INFO: Packet analysis {"connection_id":129602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:39] local.INFO: Extracted packet for processing {"connection_id":129602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98376568,"longitude_deg":76.3092352,"latitude_deg":9.8376568,"altitude":0,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2d7bdd80","hex_latitude":"05dd1b78","is_valid_coordinates":true} 
[2026-07-11 18:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646128128001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143539595214848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925430799190947840,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783773938000,"timestamp_ms":1783773938000,"timestamp_seconds":1783773938,"priority":1,"record_length":96,"hex_timestamp":"0000019f51364150"} 
[2026-07-11 18:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:17:39] 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-07-11 18:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646128128001,"66":12722,"169":206,"85":15104,"24":0,"16":105143539595214848,"45":8925430799190947840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646128128001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:17:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143539595214848,"km_value":105143539595214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925430799190947840,"description":"Unknown IO ID 45"} 
[2026-07-11 18:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646128128001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925430799190947840}} 
[2026-07-11 18:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":129602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:17:39] local.INFO: GPS data processed {"connection_id":129602,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:17:39] local.INFO: Acknowledgment sent {"connection_id":129602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:17:40] local.INFO: TCP Data received {"connection_id":129603,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f51367fd0012cbce100076d7ed0004b010d2b..."} 
[2026-07-11 18:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51367fd0012cbce100076d7ed0004b010d2b..."} 
[2026-07-11 18:17:40] local.INFO: Processing buffer {"connection_id":129603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51367fd0012cbce100076d7ed0004b010d2b..."} 
[2026-07-11 18:17:40] local.INFO: Packet analysis {"connection_id":129603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:40] local.INFO: Extracted packet for processing {"connection_id":129603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646126848001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773954000,"timestamp_ms":1783773954000,"timestamp_seconds":1783773954,"priority":1,"record_length":96,"hex_timestamp":"0000019f51367fd0"} 
[2026-07-11 18:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:17:40] 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-07-11 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 18:17:40] 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-07-11 18:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646126848001,"66":28017,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646126848001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:17:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:17:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646126848001,"power":28017,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":129603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:17:40] local.INFO: GPS data processed {"connection_id":129603,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:17:40] local.INFO: Acknowledgment sent {"connection_id":129603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:17:58] local.INFO: TCP Data received {"connection_id":130841,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:17:58] local.INFO: Processing buffer {"connection_id":130841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:17:58] local.INFO: IMEI packet received {"connection_id":130841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":130841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:17:59] local.INFO: TCP Data received {"connection_id":130841,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:17:59] local.INFO: Processing buffer {"connection_id":130841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:17:59] local.INFO: IMEI packet received {"connection_id":130841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":130841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:18:03] local.INFO: TCP Data received {"connection_id":128712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:18:03] local.INFO: Processing buffer {"connection_id":128712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:18:03] local.INFO: IMEI packet received {"connection_id":128712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":128712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:18:04] local.INFO: TCP Data received {"connection_id":130841,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:18:04] local.INFO: Processing buffer {"connection_id":130841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:18:04] local.INFO: IMEI packet received {"connection_id":130841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":130841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:18:06] local.INFO: TCP Data received {"connection_id":130841,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5136d1d8012d181d000721a868004d016328..."} 
[2026-07-11 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5136d1d8012d181d000721a868004d016328..."} 
[2026-07-11 18:18:06] local.INFO: Processing buffer {"connection_id":130841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5136d1d8012d181d000721a868004d016328..."} 
[2026-07-11 18:18:06] local.INFO: Packet analysis {"connection_id":130841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:18:06] local.INFO: Extracted packet for processing {"connection_id":130841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646312,"longitude_deg":75.6555008,"latitude_deg":11.9646312,"altitude":77,"angle":355,"satellites":40,"speed":6,"hex_longitude":"2d181d00","hex_latitude":"0721a868","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646133504001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5786214300909568,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329286656,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783773975000,"timestamp_ms":1783773975000,"timestamp_seconds":1783773975,"priority":1,"record_length":96,"hex_timestamp":"0000019f5136d1d8"} 
[2026-07-11 18:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 18:18:06] 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-07-11 18: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-07-11 18:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646133504001,"66":14298,"120":206,"28":31744,"24":6,"16":5786214300909568,"45":1737967274329286656},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646133504001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:18:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:18:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5786214300909568,"km_value":5786214300909.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329286656,"description":"Unknown IO ID 45"} 
[2026-07-11 18:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646133504001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1737967274329286656}} 
[2026-07-11 18:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":130841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:18:06] local.INFO: GPS data processed {"connection_id":130841,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:18:06] local.INFO: Acknowledgment sent {"connection_id":130841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:18:08] local.INFO: TCP Data received {"connection_id":128712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:18:08] local.INFO: Processing buffer {"connection_id":128712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:18:08] local.INFO: IMEI packet received {"connection_id":128712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":128712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:18:08] local.INFO: TCP Data received {"connection_id":128712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:18:08] local.INFO: Processing buffer {"connection_id":128712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:18:08] local.INFO: Packet analysis {"connection_id":128712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:18:08] local.INFO: Extracted packet for processing {"connection_id":128712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98376568,"longitude_deg":76.3092352,"latitude_deg":9.8376568,"altitude":0,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2d7bdd80","hex_latitude":"05dd1b78","is_valid_coordinates":true} 
[2026-07-11 18:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646128128001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143539595214848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925430799190947840,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773938000,"timestamp_ms":1783773938000,"timestamp_seconds":1783773938,"priority":1,"record_length":96,"hex_timestamp":"0000019f51364150"} 
[2026-07-11 18:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18: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-07-11 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646128128001,"66":12722,"169":206,"85":15104,"24":0,"16":105143539595214848,"45":8925430799190947840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646128128001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:18:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143539595214848,"km_value":105143539595214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925430799190947840,"description":"Unknown IO ID 45"} 
[2026-07-11 18:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646128128001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925430799190947840}} 
[2026-07-11 18:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":128712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:18:08] local.INFO: GPS data processed {"connection_id":128712,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:18:08] local.INFO: Acknowledgment sent {"connection_id":128712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:18:09] local.INFO: TCP Data received {"connection_id":128713,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:18:09] local.INFO: Processing buffer {"connection_id":128713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:18:09] local.INFO: IMEI packet received {"connection_id":128713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":128713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:18:14] local.INFO: TCP Data received {"connection_id":128713,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:18:14] local.INFO: Processing buffer {"connection_id":128713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:18:14] local.INFO: IMEI packet received {"connection_id":128713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":128713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:18:14] local.INFO: TCP Data received {"connection_id":128713,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5136d5c0012cbce100076d7ed0004b010d26..."} 
[2026-07-11 18:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5136d5c0012cbce100076d7ed0004b010d26..."} 
[2026-07-11 18:18:14] local.INFO: Processing buffer {"connection_id":128713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5136d5c0012cbce100076d7ed0004b010d26..."} 
[2026-07-11 18:18:14] local.INFO: Packet analysis {"connection_id":128713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:18:14] local.INFO: Extracted packet for processing {"connection_id":128713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:18:14] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646132224001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783773976000,"timestamp_ms":1783773976000,"timestamp_seconds":1783773976,"priority":1,"record_length":96,"hex_timestamp":"0000019f5136d5c0"} 
[2026-07-11 18:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-11 18:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646132224001,"66":28028,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646132224001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:18:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646132224001,"power":28028,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":128713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:18:14] local.INFO: GPS data processed {"connection_id":128713,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:18:14] local.INFO: Acknowledgment sent {"connection_id":128713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:18:18] local.INFO: TCP Data received {"connection_id":128713,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f513727c8012cbce100076d7ed0004b010d28..."} 
[2026-07-11 18:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513727c8012cbce100076d7ed0004b010d28..."} 
[2026-07-11 18:18:18] local.INFO: Processing buffer {"connection_id":128713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513727c8012cbce100076d7ed0004b010d28..."} 
[2026-07-11 18:18:18] local.INFO: Packet analysis {"connection_id":128713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5137"} 
[2026-07-11 18:18:18] local.INFO: Extracted packet for processing {"connection_id":128713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5137"} 
[2026-07-11 18:18:18] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646137856001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783773997000,"timestamp_ms":1783773997000,"timestamp_seconds":1783773997,"priority":1,"record_length":96,"hex_timestamp":"0000019f513727c8"} 
[2026-07-11 18:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-11 18:18:18] 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-07-11 18:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646137856001,"66":28050,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646137856001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:18:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:18:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646137856001,"power":28050,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":128713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:18:18] local.INFO: GPS data processed {"connection_id":128713,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:18:18] local.INFO: Acknowledgment sent {"connection_id":128713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:18:37] local.INFO: TCP Data received {"connection_id":130841,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51383550012d18a68007229c100071014a2d..."} 
[2026-07-11 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51383550012d18a68007229c100071014a2d..."} 
[2026-07-11 18:18:37] local.INFO: Processing buffer {"connection_id":130841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51383550012d18a68007229c100071014a2d..."} 
[2026-07-11 18:18:37] local.INFO: Packet analysis {"connection_id":130841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:18:37] local.INFO: Extracted packet for processing {"connection_id":130841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756590208,"raw_latitude":119708688,"longitude_deg":75.6590208,"latitude_deg":11.9708688,"altitude":113,"angle":330,"satellites":45,"speed":9,"hex_longitude":"2d18a680","hex_latitude":"07229c10","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646160640001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5789718994223104,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776318239922139136,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783774066000,"timestamp_ms":1783774066000,"timestamp_seconds":1783774066,"priority":1,"record_length":96,"hex_timestamp":"0000019f51383550"} 
[2026-07-11 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-07-11 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-11 18:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646160640001,"66":13993,"70":206,"28":31744,"24":9,"16":5789718994223104,"45":1776318239922139136},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646160640001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:18:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5789718994223104,"km_value":5789718994223.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776318239922139136,"description":"Unknown IO ID 45"} 
[2026-07-11 18:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646160640001,"power":13993,"unknown_70":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1776318239922139136}} 
[2026-07-11 18:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":130841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:18:37] local.INFO: GPS data processed {"connection_id":130841,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:18:37] local.INFO: Acknowledgment sent {"connection_id":130841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:18:40] local.INFO: TCP Data received {"connection_id":128712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:18:40] local.INFO: Processing buffer {"connection_id":128712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:18:40] local.INFO: Packet analysis {"connection_id":128712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:18:40] local.INFO: Extracted packet for processing {"connection_id":128712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98376568,"longitude_deg":76.3092352,"latitude_deg":9.8376568,"altitude":0,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2d7bdd80","hex_latitude":"05dd1b78","is_valid_coordinates":true} 
[2026-07-11 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646128128001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143539595214848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925430799190947840,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773938000,"timestamp_ms":1783773938000,"timestamp_seconds":1783773938,"priority":1,"record_length":96,"hex_timestamp":"0000019f51364150"} 
[2026-07-11 18:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:18:40] 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-07-11 18:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646128128001,"66":12722,"169":206,"85":15104,"24":0,"16":105143539595214848,"45":8925430799190947840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646128128001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:18:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143539595214848,"km_value":105143539595214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925430799190947840,"description":"Unknown IO ID 45"} 
[2026-07-11 18:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646128128001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925430799190947840}} 
[2026-07-11 18:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":128712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:18:40] local.INFO: GPS data processed {"connection_id":128712,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:18:40] local.INFO: Acknowledgment sent {"connection_id":128712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:18:49] local.INFO: TCP Data received {"connection_id":128713,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f513779d0012cbce100076d7ed0004b010d2a..."} 
[2026-07-11 18:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513779d0012cbce100076d7ed0004b010d2a..."} 
[2026-07-11 18:18:49] local.INFO: Processing buffer {"connection_id":128713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513779d0012cbce100076d7ed0004b010d2a..."} 
[2026-07-11 18:18:49] local.INFO: Packet analysis {"connection_id":128713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5137"} 
[2026-07-11 18:18:49] local.INFO: Extracted packet for processing {"connection_id":128713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5137"} 
[2026-07-11 18:18:49] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646143232001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783774018000,"timestamp_ms":1783774018000,"timestamp_seconds":1783774018,"priority":1,"record_length":96,"hex_timestamp":"0000019f513779d0"} 
[2026-07-11 18:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:18:49] 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-07-11 18:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-11 18:18:49] 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-07-11 18:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":128713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":128713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":128713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646143232001,"66":28104,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646143232001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:18:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:18:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646143232001,"power":28104,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":128713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:18:49] local.INFO: GPS data processed {"connection_id":128713,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:18:49] local.INFO: Acknowledgment sent {"connection_id":128713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:18:59] local.INFO: TCP Data received {"connection_id":128714,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:18:59] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:18:59] local.INFO: IMEI packet received {"connection_id":128714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":128714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:18:59] local.INFO: TCP Data received {"connection_id":128889,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:18:59] local.INFO: Processing buffer {"connection_id":128889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:18:59] local.INFO: IMEI packet received {"connection_id":128889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":128889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:19:03] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:19:03] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:19:03] local.INFO: IMEI packet received {"connection_id":128890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":128890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:19:04] local.INFO: TCP Data received {"connection_id":128889,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:19:04] local.INFO: Processing buffer {"connection_id":128889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:19:04] local.INFO: IMEI packet received {"connection_id":128889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":128889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:19:05] local.INFO: TCP Data received {"connection_id":128714,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:19:05] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:19:05] local.INFO: IMEI packet received {"connection_id":128714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":128714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:19:06] local.INFO: TCP Data received {"connection_id":128714,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51383938012d18a5c007229c980071012f2c..."} 
[2026-07-11 18:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51383938012d18a5c007229c980071012f2c..."} 
[2026-07-11 18:19:06] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51383938012d18a5c007229c980071012f2c..."} 
[2026-07-11 18:19:06] local.INFO: Packet analysis {"connection_id":128714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:19:06] local.INFO: Extracted packet for processing {"connection_id":128714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756590016,"raw_latitude":119708824,"longitude_deg":75.6590016,"latitude_deg":11.9708824,"altitude":113,"angle":303,"satellites":44,"speed":8,"hex_longitude":"2d18a5c0","hex_latitude":"07229c98","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646160896001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5789727584157696,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776247871178018816,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783774067000,"timestamp_ms":1783774067000,"timestamp_seconds":1783774067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51383938"} 
[2026-07-11 18:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 18:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646160896001,"66":13993,"70":206,"28":31744,"24":8,"16":5789727584157696,"45":1776247871178018816},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646160896001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:19:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5789727584157696,"km_value":5789727584157.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776247871178018816,"description":"Unknown IO ID 45"} 
[2026-07-11 18:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646160896001,"power":13993,"unknown_70":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1776247871178018816}} 
[2026-07-11 18:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":128714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:19:06] local.INFO: GPS data processed {"connection_id":128714,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:19:06] local.INFO: Acknowledgment sent {"connection_id":128714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:19:08] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:19:08] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:19:08] local.INFO: IMEI packet received {"connection_id":128890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":128890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:19:08] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:19:08] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:19:08] local.INFO: Packet analysis {"connection_id":128890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:19:08] local.INFO: Extracted packet for processing {"connection_id":128890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98376568,"longitude_deg":76.3092352,"latitude_deg":9.8376568,"altitude":0,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2d7bdd80","hex_latitude":"05dd1b78","is_valid_coordinates":true} 
[2026-07-11 18:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646128128001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143539595214848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925430799190947840,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773938000,"timestamp_ms":1783773938000,"timestamp_seconds":1783773938,"priority":1,"record_length":96,"hex_timestamp":"0000019f51364150"} 
[2026-07-11 18:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18: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-07-11 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646128128001,"66":12722,"169":206,"85":15104,"24":0,"16":105143539595214848,"45":8925430799190947840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646128128001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:19:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143539595214848,"km_value":105143539595214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925430799190947840,"description":"Unknown IO ID 45"} 
[2026-07-11 18:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646128128001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925430799190947840}} 
[2026-07-11 18:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":128890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:19:09] local.INFO: GPS data processed {"connection_id":128890,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:19:09] local.INFO: Acknowledgment sent {"connection_id":128890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:19:09] local.INFO: TCP Data received {"connection_id":128889,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:19:09] local.INFO: Processing buffer {"connection_id":128889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:19:09] local.INFO: IMEI packet received {"connection_id":128889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":128889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:19:09] local.INFO: TCP Data received {"connection_id":128889,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5137cbd8012cbce100076d7ed0004b010d25..."} 
[2026-07-11 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5137cbd8012cbce100076d7ed0004b010d25..."} 
[2026-07-11 18:19:09] local.INFO: Processing buffer {"connection_id":128889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5137cbd8012cbce100076d7ed0004b010d25..."} 
[2026-07-11 18:19:09] local.INFO: Packet analysis {"connection_id":128889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5137"} 
[2026-07-11 18:19:09] local.INFO: Extracted packet for processing {"connection_id":128889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5137"} 
[2026-07-11 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":37,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646148608001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774039000,"timestamp_ms":1783774039000,"timestamp_seconds":1783774039,"priority":1,"record_length":96,"hex_timestamp":"0000019f5137cbd8"} 
[2026-07-11 18:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:19:09] 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-07-11 18: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 18:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:19: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-07-11 18:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646148608001,"66":27974,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646148608001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:19:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646148608001,"power":27974,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":128889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:19:09] local.INFO: GPS data processed {"connection_id":128889,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:19:09] local.INFO: Acknowledgment sent {"connection_id":128889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:19:38] local.INFO: TCP Data received {"connection_id":128714,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51383d20012d18a54007229cd0007101172c..."} 
[2026-07-11 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51383d20012d18a54007229cd0007101172c..."} 
[2026-07-11 18:19:38] local.INFO: Processing buffer {"connection_id":128714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51383d20012d18a54007229cd0007101172c..."} 
[2026-07-11 18:19:38] local.INFO: Packet analysis {"connection_id":128714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:19:38] local.INFO: Extracted packet for processing {"connection_id":128714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756589888,"raw_latitude":119708880,"longitude_deg":75.6589888,"latitude_deg":11.970888,"altitude":113,"angle":279,"satellites":44,"speed":7,"hex_longitude":"2d18a540","hex_latitude":"07229cd0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646161152001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5789736174092288,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764945520640,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783774068000,"timestamp_ms":1783774068000,"timestamp_seconds":1783774068,"priority":1,"record_length":96,"hex_timestamp":"0000019f51383d20"} 
[2026-07-11 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-07-11 18:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 18:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646161152001,"66":14135,"70":206,"28":31744,"24":7,"16":5789736174092288,"45":1776036764945520640},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646161152001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:19:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5789736174092288,"km_value":5789736174092.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764945520640,"description":"Unknown IO ID 45"} 
[2026-07-11 18:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646161152001,"power":14135,"unknown_70":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1776036764945520640}} 
[2026-07-11 18:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":128714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:19:38] local.INFO: GPS data processed {"connection_id":128714,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:19:38] local.INFO: Acknowledgment sent {"connection_id":128714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:19:40] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:19:40] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:19:40] local.INFO: Packet analysis {"connection_id":128890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:19:40] local.INFO: Extracted packet for processing {"connection_id":128890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98376568,"longitude_deg":76.3092352,"latitude_deg":9.8376568,"altitude":0,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2d7bdd80","hex_latitude":"05dd1b78","is_valid_coordinates":true} 
[2026-07-11 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646128128001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143539595214848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925430799190947840,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783773938000,"timestamp_ms":1783773938000,"timestamp_seconds":1783773938,"priority":1,"record_length":96,"hex_timestamp":"0000019f51364150"} 
[2026-07-11 18:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:19:40] 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-07-11 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646128128001,"66":12722,"169":206,"85":15104,"24":0,"16":105143539595214848,"45":8925430799190947840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646128128001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:19:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143539595214848,"km_value":105143539595214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925430799190947840,"description":"Unknown IO ID 45"} 
[2026-07-11 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646128128001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925430799190947840}} 
[2026-07-11 18:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":128890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:19:40] local.INFO: GPS data processed {"connection_id":128890,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:19:40] local.INFO: Acknowledgment sent {"connection_id":128890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:19:40] local.INFO: TCP Data received {"connection_id":128889,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f51381de0012cbce100076d7ed0004b010d29..."} 
[2026-07-11 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51381de0012cbce100076d7ed0004b010d29..."} 
[2026-07-11 18:19:40] local.INFO: Processing buffer {"connection_id":128889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51381de0012cbce100076d7ed0004b010d29..."} 
[2026-07-11 18:19:40] local.INFO: Packet analysis {"connection_id":128889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:19:40] local.INFO: Extracted packet for processing {"connection_id":128889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646153984001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774060000,"timestamp_ms":1783774060000,"timestamp_seconds":1783774060,"priority":1,"record_length":96,"hex_timestamp":"0000019f51381de0"} 
[2026-07-11 18:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:19:40] 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-07-11 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:19: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-07-11 18: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-07-11 18:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646153984001,"66":27865,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646153984001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:19:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646153984001,"power":27865,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":128889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:19:41] local.INFO: GPS data processed {"connection_id":128889,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:19:41] local.INFO: Acknowledgment sent {"connection_id":128889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:19:59] local.INFO: TCP Data received {"connection_id":128716,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:19:59] local.INFO: Processing buffer {"connection_id":128716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:19:59] local.INFO: IMEI packet received {"connection_id":128716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":128716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:20:02] local.INFO: TCP Data received {"connection_id":130842,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:20:02] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:20:02] local.INFO: IMEI packet received {"connection_id":130842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":130842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:20:02] local.INFO: TCP Data received {"connection_id":128717,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:20:02] local.INFO: Processing buffer {"connection_id":128717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:20:02] local.INFO: IMEI packet received {"connection_id":128717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":128717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:20:03] local.INFO: TCP Data received {"connection_id":128717,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:20:03] local.INFO: Processing buffer {"connection_id":128717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:20:03] local.INFO: IMEI packet received {"connection_id":128717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":128717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:20:04] local.INFO: TCP Data received {"connection_id":128716,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:20:04] local.INFO: Processing buffer {"connection_id":128716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:20:04] local.INFO: IMEI packet received {"connection_id":128716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":128716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:20:06] local.INFO: TCP Data received {"connection_id":128716,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513942d8012d1847800722c930007b01642a..."} 
[2026-07-11 18:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513942d8012d1847800722c930007b01642a..."} 
[2026-07-11 18:20:06] local.INFO: Processing buffer {"connection_id":128716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513942d8012d1847800722c930007b01642a..."} 
[2026-07-11 18:20:06] local.INFO: Packet analysis {"connection_id":128716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:20:06] local.INFO: Extracted packet for processing {"connection_id":128716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756565888,"raw_latitude":119720240,"longitude_deg":75.6565888,"latitude_deg":11.972024,"altitude":123,"angle":356,"satellites":42,"speed":21,"hex_longitude":"2d184780","hex_latitude":"0722c930","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646177024001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5791106268659712,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1750070698346147840,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783774135000,"timestamp_ms":1783774135000,"timestamp_seconds":1783774135,"priority":1,"record_length":96,"hex_timestamp":"0000019f513942d8"} 
[2026-07-11 18:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145344,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-8664917837738409870,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435147590,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1668020763526955018,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2898264179,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3221693098,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":72,"raw_value":32370872828302592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812391,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2457468928,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84750784692429482,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,70,28,24,241,158,16,146,159,35,45,186,122,39,10,66,4,178,118,40,248,64,1,240,81,34,113,205,19,225,99,72,239,53,2,20,7,115,21,206,48],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-07-11 18:20:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8863461366658301952,"timestamp_seconds":8863461366658302.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646177024001,"66":14374,"70":206,"28":31744,"24":21,"16":5791106268659712,"45":1750070698346147840},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646177024001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:20:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5791106268659712,"km_value":5791106268659.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1750070698346147840,"description":"Unknown IO ID 45"} 
[2026-07-11 18:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646177024001,"power":14374,"unknown_70":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1750070698346147840}} 
[2026-07-11 18:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":128716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:20:07] local.INFO: GPS data processed {"connection_id":128716,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:20:07] local.INFO: Acknowledgment sent {"connection_id":128716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:20:08] local.INFO: TCP Data received {"connection_id":130842,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:20:08] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:20:08] local.INFO: IMEI packet received {"connection_id":130842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":130842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:20:08] local.INFO: TCP Data received {"connection_id":130842,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:20:08] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51364150012d7bdd8005dd1b780000016026..."} 
[2026-07-11 18:20:08] local.INFO: Packet analysis {"connection_id":130842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:20:08] local.INFO: Extracted packet for processing {"connection_id":130842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5136"} 
[2026-07-11 18:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98376568,"longitude_deg":76.3092352,"latitude_deg":9.8376568,"altitude":0,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2d7bdd80","hex_latitude":"05dd1b78","is_valid_coordinates":true} 
[2026-07-11 18:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646128128001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143539595214848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925430799190947840,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783773938000,"timestamp_ms":1783773938000,"timestamp_seconds":1783773938,"priority":1,"record_length":96,"hex_timestamp":"0000019f51364150"} 
[2026-07-11 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-07-11 18: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-07-11 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646128128001,"66":12722,"169":206,"85":15104,"24":0,"16":105143539595214848,"45":8925430799190947840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646128128001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:20:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143539595214848,"km_value":105143539595214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925430799190947840,"description":"Unknown IO ID 45"} 
[2026-07-11 18:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646128128001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925430799190947840}} 
[2026-07-11 18:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":130842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:20:08] local.INFO: GPS data processed {"connection_id":130842,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:20:08] local.INFO: Acknowledgment sent {"connection_id":130842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:20:09] local.INFO: TCP Data received {"connection_id":128717,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:20:09] local.INFO: Processing buffer {"connection_id":128717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:20:09] local.INFO: IMEI packet received {"connection_id":128717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":128717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:20:09] local.INFO: TCP Data received {"connection_id":128717,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f51386fe8012cbce100076d7ed0004b010d2a..."} 
[2026-07-11 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51386fe8012cbce100076d7ed0004b010d2a..."} 
[2026-07-11 18:20:09] local.INFO: Processing buffer {"connection_id":128717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51386fe8012cbce100076d7ed0004b010d2a..."} 
[2026-07-11 18:20:09] local.INFO: Packet analysis {"connection_id":128717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:20:09] local.INFO: Extracted packet for processing {"connection_id":128717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:20:09] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646159360001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774081000,"timestamp_ms":1783774081000,"timestamp_seconds":1783774081,"priority":1,"record_length":96,"hex_timestamp":"0000019f51386fe8"} 
[2026-07-11 18:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:20:09] 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-07-11 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 18:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:20: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-07-11 18:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646159360001,"66":27919,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646159360001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:20:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646159360001,"power":27919,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":128717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:20:09] local.INFO: GPS data processed {"connection_id":128717,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:20:09] local.INFO: Acknowledgment sent {"connection_id":128717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:20:38] local.INFO: TCP Data received {"connection_id":128716,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51395a48012d1847c00722d468007c00072b..."} 
[2026-07-11 18:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51395a48012d1847c00722d468007c00072b..."} 
[2026-07-11 18:20:38] local.INFO: Processing buffer {"connection_id":128716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51395a48012d1847c00722d468007c00072b..."} 
[2026-07-11 18:20:38] local.INFO: Packet analysis {"connection_id":128716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:20:38] local.INFO: Extracted packet for processing {"connection_id":128716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756565952,"raw_latitude":119723112,"longitude_deg":75.6565952,"latitude_deg":11.9723112,"altitude":124,"angle":7,"satellites":43,"speed":17,"hex_longitude":"2d1847c0","hex_latitude":"0722d468","is_valid_coordinates":true} 
[2026-07-11 18:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646178560001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5791243707613184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749507748393463808,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783774141000,"timestamp_ms":1783774141000,"timestamp_seconds":1783774141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51395a48"} 
[2026-07-11 18:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-11 18:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646178560001,"66":14048,"70":206,"28":31744,"24":17,"16":5791243707613184,"45":1749507748393463808},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646178560001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:20:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5791243707613184,"km_value":5791243707613.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749507748393463808,"description":"Unknown IO ID 45"} 
[2026-07-11 18:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646178560001,"power":14048,"unknown_70":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1749507748393463808}} 
[2026-07-11 18:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":128716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:20:38] local.INFO: GPS data processed {"connection_id":128716,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:20:38] local.INFO: Acknowledgment sent {"connection_id":128716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:20:40] local.INFO: TCP Data received {"connection_id":128717,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5138c1f0012cbce100076d7ed0004b010d27..."} 
[2026-07-11 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5138c1f0012cbce100076d7ed0004b010d27..."} 
[2026-07-11 18:20:40] local.INFO: Processing buffer {"connection_id":128717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5138c1f0012cbce100076d7ed0004b010d27..."} 
[2026-07-11 18:20:40] local.INFO: Packet analysis {"connection_id":128717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:20:40] local.INFO: Extracted packet for processing {"connection_id":128717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5138"} 
[2026-07-11 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646164736001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774102000,"timestamp_ms":1783774102000,"timestamp_seconds":1783774102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5138c1f0"} 
[2026-07-11 18:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:20:40] 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-07-11 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 18:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646164736001,"66":27919,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646164736001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:20:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646164736001,"power":27919,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":128717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:20:40] local.INFO: GPS data processed {"connection_id":128717,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:20:40] local.INFO: Acknowledgment sent {"connection_id":128717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:20:59] local.INFO: TCP Data received {"connection_id":128892,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:20:59] local.INFO: Processing buffer {"connection_id":128892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:20:59] local.INFO: IMEI packet received {"connection_id":128892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":128892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:21:01] local.INFO: TCP Data received {"connection_id":128892,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:21:01] local.INFO: Processing buffer {"connection_id":128892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:21:01] local.INFO: IMEI packet received {"connection_id":128892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":128892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:21:04] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:21:04] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:21:04] local.INFO: IMEI packet received {"connection_id":128893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":128893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:21:04] local.INFO: TCP Data received {"connection_id":128892,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:21:04] local.INFO: Processing buffer {"connection_id":128892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:21:04] local.INFO: IMEI packet received {"connection_id":128892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":128892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:21:05] local.INFO: TCP Data received {"connection_id":128892,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513a5c18012d17e8800722ef30008500f52b..."} 
[2026-07-11 18:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513a5c18012d17e8800722ef30008500f52b..."} 
[2026-07-11 18:21:05] local.INFO: Processing buffer {"connection_id":128892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513a5c18012d17e8800722ef30008500f52b..."} 
[2026-07-11 18:21:05] local.INFO: Packet analysis {"connection_id":128892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513a"} 
[2026-07-11 18:21:05] local.INFO: Extracted packet for processing {"connection_id":128892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513a"} 
[2026-07-11 18:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756541568,"raw_latitude":119729968,"longitude_deg":75.6541568,"latitude_deg":11.9729968,"altitude":133,"angle":245,"satellites":43,"speed":21,"hex_longitude":"2d17e880","hex_latitude":"0722ef30","is_valid_coordinates":true} 
[2026-07-11 18:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646195200001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5792652456886272,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726849012771039232,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783774207000,"timestamp_ms":1783774207000,"timestamp_seconds":1783774207,"priority":1,"record_length":96,"hex_timestamp":"0000019f513a5c18"} 
[2026-07-11 18:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 18:21:05] 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-07-11 18:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646195200001,"66":14048,"70":206,"28":31744,"24":21,"16":5792652456886272,"45":1726849012771039232},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646195200001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:21:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5792652456886272,"km_value":5792652456886.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726849012771039232,"description":"Unknown IO ID 45"} 
[2026-07-11 18:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646195200001,"power":14048,"unknown_70":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1726849012771039232}} 
[2026-07-11 18:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":128892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:21:05] local.INFO: GPS data processed {"connection_id":128892,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:21:05] local.INFO: Acknowledgment sent {"connection_id":128892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:21:09] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:21:09] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:21:09] local.INFO: IMEI packet received {"connection_id":128893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":128893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:21:09] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f513913f8012cbce100076d7ed0004b010d28..."} 
[2026-07-11 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513913f8012cbce100076d7ed0004b010d28..."} 
[2026-07-11 18:21:09] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513913f8012cbce100076d7ed0004b010d28..."} 
[2026-07-11 18:21:09] local.INFO: Packet analysis {"connection_id":128893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:21:09] local.INFO: Extracted packet for processing {"connection_id":128893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646170112001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774123000,"timestamp_ms":1783774123000,"timestamp_seconds":1783774123,"priority":1,"record_length":96,"hex_timestamp":"0000019f513913f8"} 
[2026-07-11 18:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:21:09] 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-07-11 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 18:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:21: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-07-11 18:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646170112001,"66":27843,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646170112001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:21:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646170112001,"power":27843,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":128893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:21:09] local.INFO: GPS data processed {"connection_id":128893,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:21:09] local.INFO: Acknowledgment sent {"connection_id":128893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:21:38] local.INFO: TCP Data received {"connection_id":128892,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513a7f40012d17d8c00722e838008601032c..."} 
[2026-07-11 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513a7f40012d17d8c00722e838008601032c..."} 
[2026-07-11 18:21:38] local.INFO: Processing buffer {"connection_id":128892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513a7f40012d17d8c00722e838008601032c..."} 
[2026-07-11 18:21:38] local.INFO: Packet analysis {"connection_id":128892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513a"} 
[2026-07-11 18:21:38] local.INFO: Extracted packet for processing {"connection_id":128892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513a"} 
[2026-07-11 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756537536,"raw_latitude":119728184,"longitude_deg":75.6537536,"latitude_deg":11.9728184,"altitude":134,"angle":259,"satellites":44,"speed":17,"hex_longitude":"2d17d8c0","hex_latitude":"0722e838","is_valid_coordinates":true} 
[2026-07-11 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646196992001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5792862910283776,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722767625608441856,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783774216000,"timestamp_ms":1783774216000,"timestamp_seconds":1783774216,"priority":1,"record_length":96,"hex_timestamp":"0000019f513a7f40"} 
[2026-07-11 18:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 18:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646196992001,"66":14439,"70":206,"28":31744,"24":17,"16":5792862910283776,"45":1722767625608441856},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646196992001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:21:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5792862910283776,"km_value":5792862910283.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722767625608441856,"description":"Unknown IO ID 45"} 
[2026-07-11 18:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646196992001,"power":14439,"unknown_70":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1722767625608441856}} 
[2026-07-11 18:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":128892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:21:38] local.INFO: GPS data processed {"connection_id":128892,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:21:38] local.INFO: Acknowledgment sent {"connection_id":128892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:21:40] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f51396600012cbce100076d7ed0004b010d25..."} 
[2026-07-11 18:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51396600012cbce100076d7ed0004b010d25..."} 
[2026-07-11 18:21:40] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51396600012cbce100076d7ed0004b010d25..."} 
[2026-07-11 18:21:40] local.INFO: Packet analysis {"connection_id":128893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:21:40] local.INFO: Extracted packet for processing {"connection_id":128893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":37,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646175488001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774144000,"timestamp_ms":1783774144000,"timestamp_seconds":1783774144,"priority":1,"record_length":96,"hex_timestamp":"0000019f51396600"} 
[2026-07-11 18:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:21:40] 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-07-11 18:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 18:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646175488001,"66":27865,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646175488001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:21:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646175488001,"power":27865,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":128893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:21:40] local.INFO: GPS data processed {"connection_id":128893,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:21:40] local.INFO: Acknowledgment sent {"connection_id":128893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:22:03] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:22:03] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:22:03] local.INFO: IMEI packet received {"connection_id":130843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":130843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:22:04] local.INFO: TCP Data received {"connection_id":128718,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:04] local.INFO: Processing buffer {"connection_id":128718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:04] local.INFO: IMEI packet received {"connection_id":128718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":128718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:22:08] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:22:08] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:22:08] local.INFO: IMEI packet received {"connection_id":130843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":130843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:22:09] local.INFO: TCP Data received {"connection_id":128718,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:09] local.INFO: Processing buffer {"connection_id":128718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:09] local.INFO: IMEI packet received {"connection_id":128718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:22:09] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5139b808012cbce100076d7ed0004b010d28..."} 
[2026-07-11 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5139b808012cbce100076d7ed0004b010d28..."} 
[2026-07-11 18:22:09] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5139b808012cbce100076d7ed0004b010d28..."} 
[2026-07-11 18:22:09] local.INFO: Packet analysis {"connection_id":130843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:22:09] local.INFO: Extracted packet for processing {"connection_id":130843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:22:09] local.INFO: GPS Element Parsed {"raw_longitude":750575872,"raw_latitude":124616400,"longitude_deg":75.0575872,"latitude_deg":12.46164,"altitude":75,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2cbce100","hex_latitude":"076d7ed0","is_valid_coordinates":true} 
[2026-07-11 18:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646180864001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296511397003264,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774165000,"timestamp_ms":1783774165000,"timestamp_seconds":1783774165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5139b808"} 
[2026-07-11 18:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:22:09] 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-07-11 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 18:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:22: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-07-11 18:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646180864001,"66":28126,"105":206,"85":37888,"24":0,"16":345296511397003264,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646180864001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:22:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296511397003264,"km_value":345296511397003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:22:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646180864001,"power":28126,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":130843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:22:09] local.INFO: GPS data processed {"connection_id":130843,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:22:09] local.INFO: Acknowledgment sent {"connection_id":130843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:22:10] local.INFO: TCP Data received {"connection_id":128718,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513b4e48012d1775c00722f788008001272b..."} 
[2026-07-11 18:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513b4e48012d1775c00722f788008001272b..."} 
[2026-07-11 18:22:10] local.INFO: Processing buffer {"connection_id":128718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513b4e48012d1775c00722f788008001272b..."} 
[2026-07-11 18:22:10] local.INFO: Packet analysis {"connection_id":128718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513b"} 
[2026-07-11 18:22:10] local.INFO: Extracted packet for processing {"connection_id":128718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513b"} 
[2026-07-11 18:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756512192,"raw_latitude":119732104,"longitude_deg":75.6512192,"latitude_deg":11.9732104,"altitude":128,"angle":295,"satellites":43,"speed":10,"hex_longitude":"2d1775c0","hex_latitude":"0722f788","is_valid_coordinates":true} 
[2026-07-11 18:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646209280001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5794134220603392,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1696449715286149120,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783774269000,"timestamp_ms":1783774269000,"timestamp_seconds":1783774269,"priority":1,"record_length":96,"hex_timestamp":"0000019f513b4e48"} 
[2026-07-11 18:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-11 18:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646209280001,"66":14428,"70":206,"28":31744,"24":10,"16":5794134220603392,"45":1696449715286149120},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646209280001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:22:10] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5794134220603392,"km_value":5794134220603.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1696449715286149120,"description":"Unknown IO ID 45"} 
[2026-07-11 18:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646209280001,"power":14428,"unknown_70":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1696449715286149120}} 
[2026-07-11 18:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:22:10] local.INFO: GPS data processed {"connection_id":128718,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:22:10] local.INFO: Acknowledgment sent {"connection_id":128718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:22:12] local.INFO: TCP Data received {"connection_id":129604,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:22:12] local.INFO: Processing buffer {"connection_id":129604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:22:12] local.INFO: IMEI packet received {"connection_id":129604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":129604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:22:16] local.INFO: TCP Data received {"connection_id":128718,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513b65b8012d176f000722f980007f011629..."} 
[2026-07-11 18:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513b65b8012d176f000722f980007f011629..."} 
[2026-07-11 18:22:16] local.INFO: Processing buffer {"connection_id":128718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513b65b8012d176f000722f980007f011629..."} 
[2026-07-11 18:22:16] local.INFO: Packet analysis {"connection_id":128718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513b"} 
[2026-07-11 18:22:16] local.INFO: Extracted packet for processing {"connection_id":128718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513b"} 
[2026-07-11 18:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756510464,"raw_latitude":119732608,"longitude_deg":75.6510464,"latitude_deg":11.9732608,"altitude":127,"angle":278,"satellites":41,"speed":12,"hex_longitude":"2d176f00","hex_latitude":"0722f980","is_valid_coordinates":true} 
[2026-07-11 18:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646212864001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5794220119949312,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1690468372031440896,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783774275000,"timestamp_ms":1783774275000,"timestamp_seconds":1783774275,"priority":1,"record_length":96,"hex_timestamp":"0000019f513b65b8"} 
[2026-07-11 18:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 18:22:16] 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-07-11 18:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646212864001,"66":14396,"70":206,"28":31744,"24":12,"16":5794220119949312,"45":1690468372031440896},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646212864001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:22:16] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:22:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5794220119949312,"km_value":5794220119949.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1690468372031440896,"description":"Unknown IO ID 45"} 
[2026-07-11 18:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646212864001,"power":14396,"unknown_70":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1690468372031440896}} 
[2026-07-11 18:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":128718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:22:16] local.INFO: GPS data processed {"connection_id":128718,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:22:16] local.INFO: Acknowledgment sent {"connection_id":128718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:22:40] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5139d748012cbcdf80076d81000052013827..."} 
[2026-07-11 18:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5139d748012cbcdf80076d81000052013827..."} 
[2026-07-11 18:22:40] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5139d748012cbcdf80076d81000052013827..."} 
[2026-07-11 18:22:40] local.INFO: Packet analysis {"connection_id":130843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:22:40] local.INFO: Extracted packet for processing {"connection_id":130843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5139"} 
[2026-07-11 18:22:40] local.INFO: GPS Element Parsed {"raw_longitude":750575488,"raw_latitude":124616960,"longitude_deg":75.0575488,"latitude_deg":12.461696,"altitude":82,"angle":312,"satellites":39,"speed":1,"hex_longitude":"2cbcdf80","hex_latitude":"076d8100","is_valid_coordinates":true} 
[2026-07-11 18:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646186240001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296541461774336,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836584492917403648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774173000,"timestamp_ms":1783774173000,"timestamp_seconds":1783774173,"priority":1,"record_length":96,"hex_timestamp":"0000019f5139d748"} 
[2026-07-11 18:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:22:40] 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-07-11 18:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-11 18:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646186240001,"66":27713,"105":206,"85":37888,"24":1,"16":345296541461774336,"44":-4836584492917403648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646186240001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:22:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296541461774336,"km_value":345296541461774.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:22:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836584492917403648,"description":"Unknown IO ID 44"} 
[2026-07-11 18:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646186240001,"power":27713,"unknown_105":206,"unknown_85":37888,"ignition":1,"odometer":null,"unknown_44":-4836584492917403648}} 
[2026-07-11 18:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":130843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:22:40] local.INFO: GPS data processed {"connection_id":130843,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:22:40] local.INFO: Acknowledgment sent {"connection_id":130843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:22:50] local.INFO: TCP Data received {"connection_id":129605,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:22:50] local.INFO: Processing buffer {"connection_id":129605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:22:50] local.INFO: IMEI packet received {"connection_id":129605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":129605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:22:59] local.INFO: TCP Data received {"connection_id":128894,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:59] local.INFO: Processing buffer {"connection_id":128894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:59] local.INFO: IMEI packet received {"connection_id":128894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":128894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:22:59] local.INFO: TCP Data received {"connection_id":128894,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:59] local.INFO: Processing buffer {"connection_id":128894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:22:59] local.INFO: IMEI packet received {"connection_id":128894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":128894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:23:03] local.INFO: TCP Data received {"connection_id":128719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:23:03] local.INFO: Processing buffer {"connection_id":128719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:23:03] local.INFO: IMEI packet received {"connection_id":128719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":128719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:23:04] local.INFO: TCP Data received {"connection_id":128894,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:23:04] local.INFO: Processing buffer {"connection_id":128894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:23:04] local.INFO: IMEI packet received {"connection_id":128894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":128894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:23:08] local.INFO: TCP Data received {"connection_id":128719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:23:08] local.INFO: Processing buffer {"connection_id":128719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:23:08] local.INFO: IMEI packet received {"connection_id":128719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":128719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:23:08] local.INFO: TCP Data received {"connection_id":128894,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513b6d88012d176c000722f968007f010a29..."} 
[2026-07-11 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513b6d88012d176c000722f968007f010a29..."} 
[2026-07-11 18:23:08] local.INFO: Processing buffer {"connection_id":128894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513b6d88012d176c000722f968007f010a29..."} 
[2026-07-11 18:23:08] local.INFO: Packet analysis {"connection_id":128894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513b"} 
[2026-07-11 18:23:08] local.INFO: Extracted packet for processing {"connection_id":128894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513b"} 
[2026-07-11 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756509696,"raw_latitude":119732584,"longitude_deg":75.6509696,"latitude_deg":11.9732584,"altitude":127,"angle":266,"satellites":41,"speed":15,"hex_longitude":"2d176c00","hex_latitude":"0722f968","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646214400001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5794254479687680,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1688568415938772992,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783774277000,"timestamp_ms":1783774277000,"timestamp_seconds":1783774277,"priority":1,"record_length":96,"hex_timestamp":"0000019f513b6d88"} 
[2026-07-11 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-07-11 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 18:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646214400001,"66":14135,"70":206,"28":31744,"24":15,"16":5794254479687680,"45":1688568415938772992},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646214400001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:23:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5794254479687680,"km_value":5794254479687.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1688568415938772992,"description":"Unknown IO ID 45"} 
[2026-07-11 18:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646214400001,"power":14135,"unknown_70":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1688568415938772992}} 
[2026-07-11 18:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":128894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:23:09] local.INFO: GPS data processed {"connection_id":128894,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:23:09] local.INFO: Acknowledgment sent {"connection_id":128894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:23:09] local.INFO: TCP Data received {"connection_id":128719,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f513a2950012cbcdf40076d81300053013f28..."} 
[2026-07-11 18:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513a2950012cbcdf40076d81300053013f28..."} 
[2026-07-11 18:23:09] local.INFO: Processing buffer {"connection_id":128719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513a2950012cbcdf40076d81300053013f28..."} 
[2026-07-11 18:23:09] local.INFO: Packet analysis {"connection_id":128719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513a"} 
[2026-07-11 18:23:09] local.INFO: Extracted packet for processing {"connection_id":128719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513a"} 
[2026-07-11 18:23:09] local.INFO: GPS Element Parsed {"raw_longitude":750575424,"raw_latitude":124617008,"longitude_deg":75.0575424,"latitude_deg":12.4617008,"altitude":83,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2cbcdf40","hex_latitude":"076d8130","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646188288001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296550051708928,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4837006705382326272,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774194000,"timestamp_ms":1783774194000,"timestamp_seconds":1783774194,"priority":1,"record_length":96,"hex_timestamp":"0000019f513a2950"} 
[2026-07-11 18:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:23:09] 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-07-11 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-11 18:23:09] 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-07-11 18: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-07-11 18:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:23: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-07-11 18:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646188288001,"66":27876,"105":206,"85":37888,"24":0,"16":345296550051708928,"44":-4837006705382326272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646188288001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:23:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296550051708928,"km_value":345296550051708.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4837006705382326272,"description":"Unknown IO ID 44"} 
[2026-07-11 18:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646188288001,"power":27876,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4837006705382326272}} 
[2026-07-11 18:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":128719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:23:09] local.INFO: GPS data processed {"connection_id":128719,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:23:09] local.INFO: Acknowledgment sent {"connection_id":128719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:23:40] local.INFO: TCP Data received {"connection_id":128719,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f513c5fb8012cbce580076d80d00050005527..."} 
[2026-07-11 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513c5fb8012cbce580076d80d00050005527..."} 
[2026-07-11 18:23:40] local.INFO: Processing buffer {"connection_id":128719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513c5fb8012cbce580076d80d00050005527..."} 
[2026-07-11 18:23:40] local.INFO: Packet analysis {"connection_id":128719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:23:40] local.INFO: Extracted packet for processing {"connection_id":128719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616912,"longitude_deg":75.0577024,"latitude_deg":12.4616912,"altitude":80,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d80d0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646225408001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296640246022144,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522074624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774339000,"timestamp_ms":1783774339000,"timestamp_seconds":1783774339,"priority":1,"record_length":96,"hex_timestamp":"0000019f513c5fb8"} 
[2026-07-11 18:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 18:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646225408001,"66":27908,"105":206,"85":37888,"24":0,"16":345296640246022144,"44":-4835317855522074624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646225408001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:23:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296640246022144,"km_value":345296640246022.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522074624,"description":"Unknown IO ID 44"} 
[2026-07-11 18:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646225408001,"power":27908,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522074624}} 
[2026-07-11 18:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":128719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:23:40] local.INFO: GPS data processed {"connection_id":128719,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:23:40] local.INFO: Acknowledgment sent {"connection_id":128719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:23:45] local.INFO: TCP Data received {"connection_id":128894,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513cc160012d174180072331480076015126..."} 
[2026-07-11 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513cc160012d174180072331480076015126..."} 
[2026-07-11 18:23:45] local.INFO: Processing buffer {"connection_id":128894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513cc160012d174180072331480076015126..."} 
[2026-07-11 18:23:45] local.INFO: Packet analysis {"connection_id":128894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:23:45] local.INFO: Extracted packet for processing {"connection_id":128894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756498816,"raw_latitude":119746888,"longitude_deg":75.6498816,"latitude_deg":11.9746888,"altitude":118,"angle":337,"satellites":38,"speed":14,"hex_longitude":"2d174180","hex_latitude":"07233148","is_valid_coordinates":true} 
[2026-07-11 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646236928001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5795388351053824,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1675972410734544896,"note":"Value kept but may cause issues"} 
[2026-07-11 18:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783774364000,"timestamp_ms":1783774364000,"timestamp_seconds":1783774364,"priority":1,"record_length":96,"hex_timestamp":"0000019f513cc160"} 
[2026-07-11 18:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 18:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646236928001,"66":14070,"70":206,"28":31744,"24":14,"16":5795388351053824,"45":1675972410734544896},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646236928001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:23:45] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5795388351053824,"km_value":5795388351053.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1675972410734544896,"description":"Unknown IO ID 45"} 
[2026-07-11 18:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646236928001,"power":14070,"unknown_70":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1675972410734544896}} 
[2026-07-11 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":128894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:23:45] local.INFO: GPS data processed {"connection_id":128894,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:23:45] local.INFO: Acknowledgment sent {"connection_id":128894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:23:59] local.INFO: TCP Data received {"connection_id":129606,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:23:59] local.INFO: Processing buffer {"connection_id":129606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:23:59] local.INFO: IMEI packet received {"connection_id":129606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":129606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:24:03] local.INFO: TCP Data received {"connection_id":128720,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:24:03] local.INFO: Processing buffer {"connection_id":128720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:24:03] local.INFO: IMEI packet received {"connection_id":128720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":128720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:24:04] local.INFO: TCP Data received {"connection_id":129606,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:24:04] local.INFO: Processing buffer {"connection_id":129606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:24:04] local.INFO: IMEI packet received {"connection_id":129606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":129606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:24:04] local.INFO: TCP Data received {"connection_id":129606,"ip":"117.224.20.79","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129606,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 18:24:04] local.INFO: Processing buffer {"connection_id":129606,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 18:24:04] local.INFO: IMEI packet received {"connection_id":129606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":129606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:24:05] local.INFO: TCP Data received {"connection_id":129606,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513cc930012d1740c0072334000076015f27..."} 
[2026-07-11 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513cc930012d1740c0072334000076015f27..."} 
[2026-07-11 18:24:05] local.INFO: Processing buffer {"connection_id":129606,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f51..."} 
[2026-07-11 18:24:05] local.INFO: IMEI packet received {"connection_id":129606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":129606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:24:07] local.INFO: TCP Data received {"connection_id":129606,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513cd8d0012d17408007233a780077000228..."} 
[2026-07-11 18:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513cd8d0012d17408007233a780077000228..."} 
[2026-07-11 18:24:07] local.INFO: Processing buffer {"connection_id":129606,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f513cc930012d1740c0072334000076015f27..."} 
[2026-07-11 18:24:07] local.INFO: Packet analysis {"connection_id":129606,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:24:07] local.INFO: Extracted packet for processing {"connection_id":129606,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756498624,"raw_latitude":119747584,"longitude_deg":75.6498624,"latitude_deg":11.9747584,"altitude":118,"angle":351,"satellites":39,"speed":15,"hex_longitude":"2d1740c0","hex_latitude":"07233400","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646237184001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5795422710792192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1675761304502093824,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783774366000,"timestamp_ms":1783774366000,"timestamp_seconds":1783774366,"priority":1,"record_length":96,"hex_timestamp":"0000019f513cc930"} 
[2026-07-11 18:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 18:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646237184001,"66":14341,"70":206,"28":31744,"24":15,"16":5795422710792192,"45":1675761304502093824},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646237184001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:24:07] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5795422710792192,"km_value":5795422710792.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1675761304502093824,"description":"Unknown IO ID 45"} 
[2026-07-11 18:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646237184001,"power":14341,"unknown_70":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1675761304502093824}} 
[2026-07-11 18:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":129606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:24:07] local.INFO: GPS data processed {"connection_id":129606,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:24:07] local.INFO: Acknowledgment sent {"connection_id":129606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:24:07] local.INFO: Packet analysis {"connection_id":129606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:24:07] local.INFO: Extracted packet for processing {"connection_id":129606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756498560,"raw_latitude":119749240,"longitude_deg":75.649856,"latitude_deg":11.974924,"altitude":119,"angle":2,"satellites":40,"speed":16,"hex_longitude":"2d174080","hex_latitude":"07233a78","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646237696001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5795504315170816,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1675550198269739008,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783774370000,"timestamp_ms":1783774370000,"timestamp_seconds":1783774370,"priority":1,"record_length":96,"hex_timestamp":"0000019f513cd8d0"} 
[2026-07-11 18:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6967868550,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503688054964224,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":142,"raw_value":2550213911,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2147951406,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911143,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2528444416,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84749607871390509,"corrected_to":0} 
[2026-07-11 18:24:07] local.WARNING: Large IO value detected {"io_id":168,"raw_value":33215387919191296,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:07] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,70,28,24,241,158,16,150,159,193,45,128,49,118,38,10,66,189,64,48,39,185,1,240,92,81,35,4,113,205,13,142,79,192,37,239,53,2,20,7,117,206,200,168],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3880124622,"validated":0},{"io_id":200,"original":84749607871390509,"validated":0}]} 
[2026-07-11 18:24:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8503182192561553408,"timestamp_seconds":8503182192561553.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646237696001,"66":13363,"70":206,"28":31744,"24":16,"16":5795504315170816,"45":1675550198269739008},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646237696001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:24:07] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5795504315170816,"km_value":5795504315170.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1675550198269739008,"description":"Unknown IO ID 45"} 
[2026-07-11 18:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646237696001,"power":13363,"unknown_70":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1675550198269739008}} 
[2026-07-11 18:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":129606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:24:07] local.INFO: GPS data processed {"connection_id":129606,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:24:07] local.INFO: Acknowledgment sent {"connection_id":129606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:24:08] local.INFO: TCP Data received {"connection_id":128720,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:24:08] local.INFO: Processing buffer {"connection_id":128720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:24:08] local.INFO: IMEI packet received {"connection_id":128720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":128720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:24:09] local.INFO: TCP Data received {"connection_id":128720,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f513cb1c0012cbce580076d80d00050005528..."} 
[2026-07-11 18:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513cb1c0012cbce580076d80d00050005528..."} 
[2026-07-11 18:24:09] local.INFO: Processing buffer {"connection_id":128720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513cb1c0012cbce580076d80d00050005528..."} 
[2026-07-11 18:24:09] local.INFO: Packet analysis {"connection_id":128720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:24:09] local.INFO: Extracted packet for processing {"connection_id":128720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513c"} 
[2026-07-11 18:24:09] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616912,"longitude_deg":75.0577024,"latitude_deg":12.4616912,"altitude":80,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d80d0","is_valid_coordinates":true} 
[2026-07-11 18:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646230784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296640246022144,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522074624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774360000,"timestamp_ms":1783774360000,"timestamp_seconds":1783774360,"priority":1,"record_length":96,"hex_timestamp":"0000019f513cb1c0"} 
[2026-07-11 18:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 18:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:24: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-07-11 18:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646230784001,"66":28050,"105":206,"85":37888,"24":0,"16":345296640246022144,"44":-4835317855522074624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646230784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:24:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296640246022144,"km_value":345296640246022.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:24:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522074624,"description":"Unknown IO ID 44"} 
[2026-07-11 18:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646230784001,"power":28050,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522074624}} 
[2026-07-11 18:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":128720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:24:09] local.INFO: GPS data processed {"connection_id":128720,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:24:09] local.INFO: Acknowledgment sent {"connection_id":128720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:24:14] local.INFO: TCP Data received {"connection_id":129606,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513d0b98012d1740c007234b78007501572a..."} 
[2026-07-11 18:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513d0b98012d1740c007234b78007501572a..."} 
[2026-07-11 18:24:14] local.INFO: Processing buffer {"connection_id":129606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513d0b98012d1740c007234b78007501572a..."} 
[2026-07-11 18:24:14] local.INFO: Packet analysis {"connection_id":129606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:24:14] local.INFO: Extracted packet for processing {"connection_id":129606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756498624,"raw_latitude":119753592,"longitude_deg":75.6498624,"latitude_deg":11.9753592,"altitude":117,"angle":343,"satellites":42,"speed":5,"hex_longitude":"2d1740c0","hex_latitude":"07234b78","is_valid_coordinates":true} 
[2026-07-11 18:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646238720001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5795714768568320,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1675479829525985280,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783774383000,"timestamp_ms":1783774383000,"timestamp_seconds":1783774383,"priority":1,"record_length":96,"hex_timestamp":"0000019f513d0b98"} 
[2026-07-11 18:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-11 18:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646238720001,"66":13830,"70":206,"28":31744,"24":5,"16":5795714768568320,"45":1675479829525985280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646238720001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:24:14] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5795714768568320,"km_value":5795714768568.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1675479829525985280,"description":"Unknown IO ID 45"} 
[2026-07-11 18:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646238720001,"power":13830,"unknown_70":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1675479829525985280}} 
[2026-07-11 18:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":129606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:24:14] local.INFO: GPS data processed {"connection_id":129606,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:24:14] local.INFO: Acknowledgment sent {"connection_id":129606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:24:40] local.INFO: TCP Data received {"connection_id":128720,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f513d03c8012cbce580076d80d00050005528..."} 
[2026-07-11 18:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513d03c8012cbce580076d80d00050005528..."} 
[2026-07-11 18:24:40] local.INFO: Processing buffer {"connection_id":128720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513d03c8012cbce580076d80d00050005528..."} 
[2026-07-11 18:24:40] local.INFO: Packet analysis {"connection_id":128720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:24:40] local.INFO: Extracted packet for processing {"connection_id":128720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616912,"longitude_deg":75.0577024,"latitude_deg":12.4616912,"altitude":80,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d80d0","is_valid_coordinates":true} 
[2026-07-11 18:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646236160001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296640246022144,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522074624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774381000,"timestamp_ms":1783774381000,"timestamp_seconds":1783774381,"priority":1,"record_length":96,"hex_timestamp":"0000019f513d03c8"} 
[2026-07-11 18:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:24:40] 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-07-11 18: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-11 18:24:40] 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-07-11 18:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646236160001,"66":28104,"105":206,"85":37888,"24":0,"16":345296640246022144,"44":-4835317855522074624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646236160001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:24:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296640246022144,"km_value":345296640246022.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522074624,"description":"Unknown IO ID 44"} 
[2026-07-11 18:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646236160001,"power":28104,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522074624}} 
[2026-07-11 18:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":128720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:24:40] local.INFO: GPS data processed {"connection_id":128720,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:24:40] local.INFO: Acknowledgment sent {"connection_id":128720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:24:59] local.INFO: TCP Data received {"connection_id":128895,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:24:59] local.INFO: Processing buffer {"connection_id":128895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:24:59] local.INFO: IMEI packet received {"connection_id":128895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":128895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:25:04] local.INFO: TCP Data received {"connection_id":128895,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:25:04] local.INFO: Processing buffer {"connection_id":128895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:25:04] local.INFO: IMEI packet received {"connection_id":128895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":128895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:25:05] local.INFO: TCP Data received {"connection_id":128895,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513df5f8012d173240072362100069013829..."} 
[2026-07-11 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513df5f8012d173240072362100069013829..."} 
[2026-07-11 18:25:05] local.INFO: Processing buffer {"connection_id":128895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513df5f8012d173240072362100069013829..."} 
[2026-07-11 18:25:05] local.INFO: Packet analysis {"connection_id":128895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:05] local.INFO: Extracted packet for processing {"connection_id":128895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756494912,"raw_latitude":119759376,"longitude_deg":75.6494912,"latitude_deg":11.9759376,"altitude":105,"angle":312,"satellites":41,"speed":3,"hex_longitude":"2d173240","hex_latitude":"07236210","is_valid_coordinates":true} 
[2026-07-11 18:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646257152001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5796105610592256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1671539179854610432,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783774443000,"timestamp_ms":1783774443000,"timestamp_seconds":1783774443,"priority":1,"record_length":96,"hex_timestamp":"0000019f513df5f8"} 
[2026-07-11 18:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 18:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646257152001,"66":13993,"70":206,"28":31744,"24":3,"16":5796105610592256,"45":1671539179854610432},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646257152001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:25:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5796105610592256,"km_value":5796105610592.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1671539179854610432,"description":"Unknown IO ID 45"} 
[2026-07-11 18:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646257152001,"power":13993,"unknown_70":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1671539179854610432}} 
[2026-07-11 18:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":128895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:25:05] local.INFO: GPS data processed {"connection_id":128895,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:25:05] local.INFO: Acknowledgment sent {"connection_id":128895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:25:07] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:25:07] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:25:07] local.INFO: IMEI packet received {"connection_id":130847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":130847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:25:09] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:25:09] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:25:09] local.INFO: IMEI packet received {"connection_id":130846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":130846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:25:13] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:25:13] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:25:13] local.INFO: IMEI packet received {"connection_id":130847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":130847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:25:14] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:25:14] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:25:14] local.INFO: IMEI packet received {"connection_id":130846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":130846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:25:14] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f513ac978012d7bdd4005dd1b600000016023..."} 
[2026-07-11 18:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513ac978012d7bdd4005dd1b600000016023..."} 
[2026-07-11 18:25:14] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513ac978012d7bdd4005dd1b600000016023..."} 
[2026-07-11 18:25:14] local.INFO: Packet analysis {"connection_id":130847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513a"} 
[2026-07-11 18:25:14] local.INFO: Extracted packet for processing {"connection_id":130847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513a"} 
[2026-07-11 18:25:14] local.INFO: GPS Element Parsed {"raw_longitude":763092288,"raw_latitude":98376544,"longitude_deg":76.3092288,"latitude_deg":9.8376544,"altitude":0,"angle":352,"satellites":35,"speed":0,"hex_longitude":"2d7bdd40","hex_latitude":"05dd1b60","is_valid_coordinates":true} 
[2026-07-11 18:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646203392001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143539595214848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925360430446764032,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783774235000,"timestamp_ms":1783774235000,"timestamp_seconds":1783774235,"priority":1,"record_length":96,"hex_timestamp":"0000019f513ac978"} 
[2026-07-11 18:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-11 18:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646203392001,"66":12135,"169":206,"85":15104,"24":0,"16":105143539595214848,"45":8925360430446764032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646203392001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:25:14] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143539595214848,"km_value":105143539595214.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925360430446764032,"description":"Unknown IO ID 45"} 
[2026-07-11 18:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646203392001,"power":12135,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925360430446764032}} 
[2026-07-11 18:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":130847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:25:14] local.INFO: GPS data processed {"connection_id":130847,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:25:14] local.INFO: Acknowledgment sent {"connection_id":130847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:25:14] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f513d55d0012cbce580076d80d0005000552b..."} 
[2026-07-11 18:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513d55d0012cbce580076d80d0005000552b..."} 
[2026-07-11 18:25:14] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513d55d0012cbce580076d80d0005000552b..."} 
[2026-07-11 18:25:14] local.INFO: Packet analysis {"connection_id":130846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:14] local.INFO: Extracted packet for processing {"connection_id":130846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:14] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616912,"longitude_deg":75.0577024,"latitude_deg":12.4616912,"altitude":80,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d80d0","is_valid_coordinates":true} 
[2026-07-11 18:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646241536001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296640246022144,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522074624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783774402000,"timestamp_ms":1783774402000,"timestamp_seconds":1783774402,"priority":1,"record_length":96,"hex_timestamp":"0000019f513d55d0"} 
[2026-07-11 18:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 18:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646241536001,"66":27713,"105":206,"85":37888,"24":0,"16":345296640246022144,"44":-4835317855522074624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646241536001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:25:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296640246022144,"km_value":345296640246022.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:25:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522074624,"description":"Unknown IO ID 44"} 
[2026-07-11 18:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646241536001,"power":27713,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522074624}} 
[2026-07-11 18:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":130846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:25:15] local.INFO: GPS data processed {"connection_id":130846,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:25:15] local.INFO: Acknowledgment sent {"connection_id":130846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:25:15] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f513da7d8012cbce580076d80d0005000552b..."} 
[2026-07-11 18:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513da7d8012cbce580076d80d0005000552b..."} 
[2026-07-11 18:25:15] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513da7d8012cbce580076d80d0005000552b..."} 
[2026-07-11 18:25:15] local.INFO: Packet analysis {"connection_id":130846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:15] local.INFO: Extracted packet for processing {"connection_id":130846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:15] local.INFO: GPS Element Parsed {"raw_longitude":750577024,"raw_latitude":124616912,"longitude_deg":75.0577024,"latitude_deg":12.4616912,"altitude":80,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2cbce580","hex_latitude":"076d80d0","is_valid_coordinates":true} 
[2026-07-11 18:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646246912001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296640246022144,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522074624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783774423000,"timestamp_ms":1783774423000,"timestamp_seconds":1783774423,"priority":1,"record_length":96,"hex_timestamp":"0000019f513da7d8"} 
[2026-07-11 18:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-11 18:25:15] 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-07-11 18:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646246912001,"66":27930,"105":206,"85":37888,"24":0,"16":345296640246022144,"44":-4835317855522074624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646246912001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:25:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296640246022144,"km_value":345296640246022.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522074624,"description":"Unknown IO ID 44"} 
[2026-07-11 18:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646246912001,"power":27930,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835317855522074624}} 
[2026-07-11 18:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":130846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:25:15] local.INFO: GPS data processed {"connection_id":130846,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:25:15] local.INFO: Acknowledgment sent {"connection_id":130846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:25:37] local.INFO: TCP Data received {"connection_id":128895,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f513df9e0012d173200072362480069014629..."} 
[2026-07-11 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513df9e0012d173200072362480069014629..."} 
[2026-07-11 18:25:37] local.INFO: Processing buffer {"connection_id":128895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513df9e0012d173200072362480069014629..."} 
[2026-07-11 18:25:37] local.INFO: Packet analysis {"connection_id":128895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:37] local.INFO: Extracted packet for processing {"connection_id":128895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756494848,"raw_latitude":119759432,"longitude_deg":75.6494848,"latitude_deg":11.9759432,"altitude":105,"angle":326,"satellites":41,"speed":2,"hex_longitude":"2d173200","hex_latitude":"07236248","is_valid_coordinates":true} 
[2026-07-11 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646257408001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5796109905559552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1671468811110453248,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783774444000,"timestamp_ms":1783774444000,"timestamp_seconds":1783774444,"priority":1,"record_length":96,"hex_timestamp":"0000019f513df9e0"} 
[2026-07-11 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 18:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646257408001,"66":13798,"70":206,"28":31744,"24":2,"16":5796109905559552,"45":1671468811110453248},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646257408001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:25:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5796109905559552,"km_value":5796109905559.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1671468811110453248,"description":"Unknown IO ID 45"} 
[2026-07-11 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646257408001,"power":13798,"unknown_70":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1671468811110453248}} 
[2026-07-11 18:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":128895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:25:37] local.INFO: GPS data processed {"connection_id":128895,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:25:37] local.INFO: Acknowledgment sent {"connection_id":128895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:25:44] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f513f3e18012d7bd74005dd3d800009014f25..."} 
[2026-07-11 18:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513f3e18012d7bd74005dd3d800009014f25..."} 
[2026-07-11 18:25:44] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513f3e18012d7bd74005dd3d800009014f25..."} 
[2026-07-11 18:25:44] local.INFO: Packet analysis {"connection_id":130847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513f"} 
[2026-07-11 18:25:44] local.INFO: Extracted packet for processing {"connection_id":130847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513f"} 
[2026-07-11 18:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763090752,"raw_latitude":98385280,"longitude_deg":76.3090752,"latitude_deg":9.838528,"altitude":9,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d7bd740","hex_latitude":"05dd3d80","is_valid_coordinates":true} 
[2026-07-11 18:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646278912001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143994861748224,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923671580588736512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783774527000,"timestamp_ms":1783774527000,"timestamp_seconds":1783774527,"priority":1,"record_length":96,"hex_timestamp":"0000019f513f3e18"} 
[2026-07-11 18:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:25:44] 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-07-11 18:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 18:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646278912001,"66":2209,"169":206,"85":15104,"24":0,"16":105143994861748224,"45":8923671580588736512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646278912001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:25:44] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143994861748224,"km_value":105143994861748.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923671580588736512,"description":"Unknown IO ID 45"} 
[2026-07-11 18:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646278912001,"power":2209,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8923671580588736512}} 
[2026-07-11 18:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":130847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:25:44] local.INFO: GPS data processed {"connection_id":130847,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:25:44] local.INFO: Acknowledgment sent {"connection_id":130847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:25:46] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f513ddaa0012cbce640076d7f98004801072d..."} 
[2026-07-11 18:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513ddaa0012cbce640076d7f98004801072d..."} 
[2026-07-11 18:25:46] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513ddaa0012cbce640076d7f98004801072d..."} 
[2026-07-11 18:25:46] local.INFO: Packet analysis {"connection_id":130846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:46] local.INFO: Extracted packet for processing {"connection_id":130846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:25:46] local.INFO: GPS Element Parsed {"raw_longitude":750577216,"raw_latitude":124616600,"longitude_deg":75.0577216,"latitude_deg":12.46166,"altitude":72,"angle":263,"satellites":45,"speed":3,"hex_longitude":"2cbce640","hex_latitude":"076d7f98","is_valid_coordinates":true} 
[2026-07-11 18:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646252288001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296661720858624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835317855522074624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783774436000,"timestamp_ms":1783774436000,"timestamp_seconds":1783774436,"priority":1,"record_length":96,"hex_timestamp":"0000019f513ddaa0"} 
[2026-07-11 18:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 18:25:46] 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-07-11 18:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646252288001,"66":27930,"105":206,"85":37888,"24":3,"16":345296661720858624,"44":-4835317855522074624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646252288001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:25:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:25:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296661720858624,"km_value":345296661720858.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835317855522074624,"description":"Unknown IO ID 44"} 
[2026-07-11 18:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646252288001,"power":27930,"unknown_105":206,"unknown_85":37888,"ignition":3,"odometer":null,"unknown_44":-4835317855522074624}} 
[2026-07-11 18:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":130846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:25:46] local.INFO: GPS data processed {"connection_id":130846,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:25:46] local.INFO: Acknowledgment sent {"connection_id":130846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:25:59] local.INFO: TCP Data received {"connection_id":129608,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:25:59] local.INFO: Processing buffer {"connection_id":129608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:25:59] local.INFO: IMEI packet received {"connection_id":129608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":129608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:26:00] local.INFO: TCP Data received {"connection_id":129608,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:26:00] local.INFO: Processing buffer {"connection_id":129608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:26:00] local.INFO: IMEI packet received {"connection_id":129608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":129608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:26:00] local.INFO: TCP Data received {"connection_id":129608,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:26:00] local.INFO: Processing buffer {"connection_id":129608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:26:00] local.INFO: IMEI packet received {"connection_id":129608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":129608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:26:01] local.INFO: TCP Data received {"connection_id":129608,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:26:01] local.INFO: Processing buffer {"connection_id":129608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:26:01] local.INFO: IMEI packet received {"connection_id":129608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":129608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:26:02] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:26:02] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:26:02] local.INFO: IMEI packet received {"connection_id":128897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":128897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:26:03] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:26:03] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:26:03] local.INFO: IMEI packet received {"connection_id":128897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":128897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:26:04] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:26:04] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:26:04] local.INFO: IMEI packet received {"connection_id":128896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":128896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:26:08] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:26:08] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:26:08] local.INFO: IMEI packet received {"connection_id":128897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":128897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:26:08] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f513f3e18012d7bd74005dd3d800009014f25..."} 
[2026-07-11 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513f3e18012d7bd74005dd3d800009014f25..."} 
[2026-07-11 18:26:08] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513f3e18012d7bd74005dd3d800009014f25..."} 
[2026-07-11 18:26:08] local.INFO: Packet analysis {"connection_id":128897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513f"} 
[2026-07-11 18:26:08] local.INFO: Extracted packet for processing {"connection_id":128897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513f"} 
[2026-07-11 18:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763090752,"raw_latitude":98385280,"longitude_deg":76.3090752,"latitude_deg":9.838528,"altitude":9,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d7bd740","hex_latitude":"05dd3d80","is_valid_coordinates":true} 
[2026-07-11 18:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646278912001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105143994861748224,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923671580588736512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783774527000,"timestamp_ms":1783774527000,"timestamp_seconds":1783774527,"priority":1,"record_length":96,"hex_timestamp":"0000019f513f3e18"} 
[2026-07-11 18:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 18:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646278912001,"66":2209,"169":206,"85":15104,"24":0,"16":105143994861748224,"45":8923671580588736512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646278912001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:26:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105143994861748224,"km_value":105143994861748.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923671580588736512,"description":"Unknown IO ID 45"} 
[2026-07-11 18:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646278912001,"power":2209,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8923671580588736512}} 
[2026-07-11 18:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":128897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:26:08] local.INFO: GPS data processed {"connection_id":128897,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:26:08] local.INFO: Acknowledgment sent {"connection_id":128897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:26:09] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:26:09] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:26:09] local.INFO: IMEI packet received {"connection_id":128896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":128896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:26:09] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f513de658012cbce540076d7f78004700f92b..."} 
[2026-07-11 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513de658012cbce540076d7f78004700f92b..."} 
[2026-07-11 18:26:09] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513de658012cbce540076d7f78004700f92b..."} 
[2026-07-11 18:26:09] local.INFO: Packet analysis {"connection_id":128896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:26:09] local.INFO: Extracted packet for processing {"connection_id":128896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513d"} 
[2026-07-11 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616568,"longitude_deg":75.057696,"latitude_deg":12.4616568,"altitude":71,"angle":249,"satellites":43,"speed":2,"hex_longitude":"2cbce540","hex_latitude":"076d7f78","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646255616001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835106749289621504,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774439000,"timestamp_ms":1783774439000,"timestamp_seconds":1783774439,"priority":1,"record_length":96,"hex_timestamp":"0000019f513de658"} 
[2026-07-11 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-07-11 18:26:09] 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-07-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 18:26:09] 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-07-11 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-07-11 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-07-11 18:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:26: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-07-11 18:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646255616001,"66":27767,"105":206,"85":37888,"24":2,"16":345296674605760512,"44":-4835106749289621504},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646255616001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:26:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835106749289621504,"description":"Unknown IO ID 44"} 
[2026-07-11 18:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646255616001,"power":27767,"unknown_105":206,"unknown_85":37888,"ignition":2,"odometer":null,"unknown_44":-4835106749289621504}} 
[2026-07-11 18:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":128896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:26:09] local.INFO: GPS data processed {"connection_id":128896,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:26:09] local.INFO: Acknowledgment sent {"connection_id":128896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:26:39] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f513f78b0012d7bd78005dd3f500009002a22..."} 
[2026-07-11 18:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513f78b0012d7bd78005dd3f500009002a22..."} 
[2026-07-11 18:26:39] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513f78b0012d7bd78005dd3f500009002a22..."} 
[2026-07-11 18:26:39] local.INFO: Packet analysis {"connection_id":128897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513f"} 
[2026-07-11 18:26:39] local.INFO: Extracted packet for processing {"connection_id":128897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513f"} 
[2026-07-11 18:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763090816,"raw_latitude":98385744,"longitude_deg":76.3090816,"latitude_deg":9.8385744,"altitude":9,"angle":42,"satellites":34,"speed":3,"hex_longitude":"2d7bd780","hex_latitude":"05dd3f50","is_valid_coordinates":true} 
[2026-07-11 18:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646278912001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105144020631552000,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923671580588736512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783774542000,"timestamp_ms":1783774542000,"timestamp_seconds":1783774542,"priority":1,"record_length":96,"hex_timestamp":"0000019f513f78b0"} 
[2026-07-11 18:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 18:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646278912001,"66":11547,"169":206,"85":15104,"24":3,"16":105144020631552000,"45":8923671580588736512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646278912001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:26:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105144020631552000,"km_value":105144020631552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923671580588736512,"description":"Unknown IO ID 45"} 
[2026-07-11 18:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646278912001,"power":11547,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8923671580588736512}} 
[2026-07-11 18:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":128897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:26:39] local.INFO: GPS data processed {"connection_id":128897,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:26:39] local.INFO: Acknowledgment sent {"connection_id":128897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:26:40] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f513e0598012cbce540076d7f88004800f92c..."} 
[2026-07-11 18:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513e0598012cbce540076d7f88004800f92c..."} 
[2026-07-11 18:26:40] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513e0598012cbce540076d7f88004800f92c..."} 
[2026-07-11 18:26:40] local.INFO: Packet analysis {"connection_id":128896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513e"} 
[2026-07-11 18:26:40] local.INFO: Extracted packet for processing {"connection_id":128896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513e"} 
[2026-07-11 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:26: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-07-11 18:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646256384001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266340352,"note":"Value kept but may cause issues"} 
[2026-07-11 18:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774447000,"timestamp_ms":1783774447000,"timestamp_seconds":1783774447,"priority":1,"record_length":96,"hex_timestamp":"0000019f513e0598"} 
[2026-07-11 18:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:26:40] 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-07-11 18:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 18:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646256384001,"66":27745,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266340352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646256384001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:26:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266340352,"description":"Unknown IO ID 44"} 
[2026-07-11 18:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646256384001,"power":27745,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266340352}} 
[2026-07-11 18:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":128896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:26:40] local.INFO: GPS data processed {"connection_id":128896,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:26:40] local.INFO: Acknowledgment sent {"connection_id":128896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:27:02] local.INFO: TCP Data received {"connection_id":130850,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:27:02] local.INFO: Processing buffer {"connection_id":130850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:27:02] local.INFO: IMEI packet received {"connection_id":130850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":130850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:27:03] local.INFO: TCP Data received {"connection_id":130849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:27:03] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:27:03] local.INFO: IMEI packet received {"connection_id":130849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":130849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:27:07] local.INFO: TCP Data received {"connection_id":130850,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:27:08] local.INFO: Processing buffer {"connection_id":130850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:27:08] local.INFO: IMEI packet received {"connection_id":130850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":130850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:27:08] local.INFO: TCP Data received {"connection_id":130850,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51405b40012d7bcec005dd63600007015c2c..."} 
[2026-07-11 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51405b40012d7bcec005dd63600007015c2c..."} 
[2026-07-11 18:27:08] local.INFO: Processing buffer {"connection_id":130850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51405b40012d7bcec005dd63600007015c2c..."} 
[2026-07-11 18:27:08] local.INFO: Packet analysis {"connection_id":130850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5140"} 
[2026-07-11 18:27:08] local.INFO: Extracted packet for processing {"connection_id":130850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5140"} 
[2026-07-11 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763088576,"raw_latitude":98394976,"longitude_deg":76.3088576,"latitude_deg":9.8394976,"altitude":7,"angle":348,"satellites":44,"speed":8,"hex_longitude":"2d7bcec0","hex_latitude":"05dd6360","is_valid_coordinates":true} 
[2026-07-11 18:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646296832001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105144493077954560,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921419780777347072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783774600000,"timestamp_ms":1783774600000,"timestamp_seconds":1783774600,"priority":1,"record_length":96,"hex_timestamp":"0000019f51405b40"} 
[2026-07-11 18:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303148416683438,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3892391291,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2147867983,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817390,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2350907392,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3712628736,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,169,85,24,241,157,16,140,159,75,45,64,95,7,10,66,52,93,38,44,128,1,240,237,227,81,221,4,113,205,194,212,248,239,49,2,117,5,9,12],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-11 18:27:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504406650074431488,"timestamp_seconds":504406650074431.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646296832001,"66":12906,"169":206,"85":15104,"24":8,"16":105144493077954560,"45":8921419780777347072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646296832001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:27:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105144493077954560,"km_value":105144493077954.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921419780777347072,"description":"Unknown IO ID 45"} 
[2026-07-11 18:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646296832001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8921419780777347072}} 
[2026-07-11 18:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":130850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:27:08] local.INFO: GPS data processed {"connection_id":130850,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:27:08] local.INFO: Acknowledgment sent {"connection_id":130850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:27:09] local.INFO: TCP Data received {"connection_id":130849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:27:09] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:27:09] local.INFO: IMEI packet received {"connection_id":130849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":130849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:27:09] local.INFO: TCP Data received {"connection_id":130849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f513e1538012cbce540076d7f88004800f92b..."} 
[2026-07-11 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513e1538012cbce540076d7f88004800f92b..."} 
[2026-07-11 18:27:09] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513e1538012cbce540076d7f88004800f92b..."} 
[2026-07-11 18:27:09] local.INFO: Packet analysis {"connection_id":130849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513e"} 
[2026-07-11 18:27:09] local.INFO: Extracted packet for processing {"connection_id":130849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513e"} 
[2026-07-11 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646258432001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774451000,"timestamp_ms":1783774451000,"timestamp_seconds":1783774451,"priority":1,"record_length":96,"hex_timestamp":"0000019f513e1538"} 
[2026-07-11 18:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18: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-07-11 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 18:27:09] 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-07-11 18: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-07-11 18:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646258432001,"66":27267,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646258432001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:27:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:27:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646258432001,"power":27267,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":130849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:27:09] local.INFO: GPS data processed {"connection_id":130849,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:27:09] local.INFO: Acknowledgment sent {"connection_id":130849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:27:39] local.INFO: TCP Data received {"connection_id":130850,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51406ae0012d7bce4005dd66c0000600042b..."} 
[2026-07-11 18:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51406ae0012d7bce4005dd66c0000600042b..."} 
[2026-07-11 18:27:39] local.INFO: Processing buffer {"connection_id":130850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51406ae0012d7bce4005dd66c0000600042b..."} 
[2026-07-11 18:27:39] local.INFO: Packet analysis {"connection_id":130850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5140"} 
[2026-07-11 18:27:39] local.INFO: Extracted packet for processing {"connection_id":130850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5140"} 
[2026-07-11 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763088448,"raw_latitude":98395840,"longitude_deg":76.3088448,"latitude_deg":9.839584,"altitude":6,"angle":4,"satellites":43,"speed":9,"hex_longitude":"2d7bce40","hex_latitude":"05dd66c0","is_valid_coordinates":true} 
[2026-07-11 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646297600001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105144536027627520,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921279043289178112,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783774604000,"timestamp_ms":1783774604000,"timestamp_seconds":1783774604,"priority":1,"record_length":96,"hex_timestamp":"0000019f51406ae0"} 
[2026-07-11 18:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-11 18:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646297600001,"66":12689,"169":206,"85":15104,"24":9,"16":105144536027627520,"45":8921279043289178112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646297600001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:27:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105144536027627520,"km_value":105144536027627.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921279043289178112,"description":"Unknown IO ID 45"} 
[2026-07-11 18:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646297600001,"power":12689,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8921279043289178112}} 
[2026-07-11 18:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":130850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:27:39] local.INFO: GPS data processed {"connection_id":130850,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:27:39] local.INFO: Acknowledgment sent {"connection_id":130850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:27:40] local.INFO: TCP Data received {"connection_id":130849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f513e76e0012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513e76e0012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:27:40] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513e76e0012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:27:40] local.INFO: Packet analysis {"connection_id":130849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513e"} 
[2026-07-11 18:27:40] local.INFO: Extracted packet for processing {"connection_id":130849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513e"} 
[2026-07-11 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646259456001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774476000,"timestamp_ms":1783774476000,"timestamp_seconds":1783774476,"priority":1,"record_length":96,"hex_timestamp":"0000019f513e76e0"} 
[2026-07-11 18:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:27:40] 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-07-11 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 18:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646259456001,"66":27821,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646259456001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:27:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646259456001,"power":27821,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":130849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:27:40] local.INFO: GPS data processed {"connection_id":130849,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:27:40] local.INFO: Acknowledgment sent {"connection_id":130849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:28:03] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:28:03] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:28:03] local.INFO: IMEI packet received {"connection_id":130851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":130851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:28:08] local.INFO: TCP Data received {"connection_id":128900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:28:08] local.INFO: Processing buffer {"connection_id":128900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:28:08] local.INFO: IMEI packet received {"connection_id":128900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":128900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:28:08] local.INFO: TCP Data received {"connection_id":128900,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128900,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 18:28:08] local.INFO: Processing buffer {"connection_id":128900,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 18:28:08] local.INFO: IMEI packet received {"connection_id":128900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":128900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:28:08] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:28:08] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:28:08] local.INFO: IMEI packet received {"connection_id":130851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":130851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:28:09] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f513e9df0012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f513e9df0012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:28:09] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f513e9df0012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:28:09] local.INFO: Packet analysis {"connection_id":130851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f513e"} 
[2026-07-11 18:28:09] local.INFO: Extracted packet for processing {"connection_id":130851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f513e"} 
[2026-07-11 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646265856001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774486000,"timestamp_ms":1783774486000,"timestamp_seconds":1783774486,"priority":1,"record_length":96,"hex_timestamp":"0000019f513e9df0"} 
[2026-07-11 18:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:28:09] 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-07-11 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 18:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646265856001,"66":27865,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646265856001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:28:09] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646265856001,"power":27865,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":130851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:28:09] local.INFO: GPS data processed {"connection_id":130851,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:28:09] local.INFO: Acknowledgment sent {"connection_id":130851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:28:12] local.INFO: TCP Data received {"connection_id":128900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:28:12] local.INFO: Processing buffer {"connection_id":128900,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-11 18:28:12] local.INFO: IMEI packet received {"connection_id":128900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":128900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:28:13] local.INFO: TCP Data received {"connection_id":128900,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51407e68012d7bce4005dd6b480006015f2b..."} 
[2026-07-11 18:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51407e68012d7bce4005dd6b480006015f2b..."} 
[2026-07-11 18:28:13] local.INFO: Processing buffer {"connection_id":128900,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f51..."} 
[2026-07-11 18:28:13] local.INFO: IMEI packet received {"connection_id":128900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":128900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:28:18] local.INFO: TCP Data received {"connection_id":128900,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5140cc88012d7bca8005dd7f580005015c27..."} 
[2026-07-11 18:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5140cc88012d7bca8005dd7f580005015c27..."} 
[2026-07-11 18:28:18] local.INFO: Processing buffer {"connection_id":128900,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f51407e68012d7bce4005dd6b480006015f2b..."} 
[2026-07-11 18:28:18] local.INFO: Packet analysis {"connection_id":128900,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5140"} 
[2026-07-11 18:28:18] local.INFO: Extracted packet for processing {"connection_id":128900,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5140"} 
[2026-07-11 18:28:18] local.INFO: GPS Element Parsed {"raw_longitude":763088448,"raw_latitude":98397000,"longitude_deg":76.3088448,"latitude_deg":9.8397,"altitude":6,"angle":351,"satellites":43,"speed":9,"hex_longitude":"2d7bce40","hex_latitude":"05dd6b48","is_valid_coordinates":true} 
[2026-07-11 18:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646298624001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105144591862202368,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921138305801043968,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783774609000,"timestamp_ms":1783774609000,"timestamp_seconds":1783774609,"priority":1,"record_length":96,"hex_timestamp":"0000019f51407e68"} 
[2026-07-11 18:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 18:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646298624001,"66":13015,"169":206,"85":15104,"24":9,"16":105144591862202368,"45":8921138305801043968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646298624001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:28:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:28:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105144591862202368,"km_value":105144591862202.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921138305801043968,"description":"Unknown IO ID 45"} 
[2026-07-11 18:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646298624001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8921138305801043968}} 
[2026-07-11 18:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":128900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:28:18] local.INFO: GPS data processed {"connection_id":128900,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:28:18] local.INFO: Acknowledgment sent {"connection_id":128900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:28:18] local.INFO: Packet analysis {"connection_id":128900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5140"} 
[2026-07-11 18:28:18] local.INFO: Extracted packet for processing {"connection_id":128900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5140"} 
[2026-07-11 18:28:18] local.INFO: GPS Element Parsed {"raw_longitude":763087488,"raw_latitude":98402136,"longitude_deg":76.3087488,"latitude_deg":9.8402136,"altitude":5,"angle":348,"satellites":39,"speed":11,"hex_longitude":"2d7bca80","hex_latitude":"05dd7f58","is_valid_coordinates":true} 
[2026-07-11 18:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646299904001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105144849560240128,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921138305801340928,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783774629000,"timestamp_ms":1783774629000,"timestamp_seconds":1783774629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5140cc88"} 
[2026-07-11 18:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 18:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646299904001,"66":13059,"169":206,"85":15104,"24":11,"16":105144849560240128,"45":8921138305801340928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646299904001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:28:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:28:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105144849560240128,"km_value":105144849560240.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921138305801340928,"description":"Unknown IO ID 45"} 
[2026-07-11 18:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646299904001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8921138305801340928}} 
[2026-07-11 18:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":128900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:28:18] local.INFO: GPS data processed {"connection_id":128900,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:28:18] local.INFO: Acknowledgment sent {"connection_id":128900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:28:40] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f51413218012cbce400076d7fc8004800f92d..."} 
[2026-07-11 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51413218012cbce400076d7fc8004800f92d..."} 
[2026-07-11 18:28:40] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51413218012cbce400076d7fc8004800f92d..."} 
[2026-07-11 18:28:40] local.INFO: Packet analysis {"connection_id":130851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:28:40] local.INFO: Extracted packet for processing {"connection_id":130851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18:28: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-07-11 18:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646268416001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774655000,"timestamp_ms":1783774655000,"timestamp_seconds":1783774655,"priority":1,"record_length":96,"hex_timestamp":"0000019f51413218"} 
[2026-07-11 18:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 18:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646268416001,"66":26495,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646268416001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:28:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646268416001,"power":26495,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":130851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:28:40] local.INFO: GPS data processed {"connection_id":130851,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:28:40] local.INFO: Acknowledgment sent {"connection_id":130851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:28:45] local.INFO: TCP Data received {"connection_id":130852,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:28:45] local.INFO: Processing buffer {"connection_id":130852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:28:45] local.INFO: IMEI packet received {"connection_id":130852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":130852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:29:03] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:29:03] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:29:03] local.INFO: IMEI packet received {"connection_id":130855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":130855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:29:04] local.INFO: TCP Data received {"connection_id":130854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:29:04] local.INFO: Processing buffer {"connection_id":130854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:29:04] local.INFO: IMEI packet received {"connection_id":130854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":130854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:29:08] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:29:08] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:29:08] local.INFO: IMEI packet received {"connection_id":130855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":130855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:29:08] local.INFO: TCP Data received {"connection_id":130854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:29:08] local.INFO: Processing buffer {"connection_id":130854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:29:08] local.INFO: IMEI packet received {"connection_id":130854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":130854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:29:08] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51410338012d7bc7c005dd8b30000401512b..."} 
[2026-07-11 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51410338012d7bc7c005dd8b30000401512b..."} 
[2026-07-11 18:29:08] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51410338012d7bc7c005dd8b30000401512b..."} 
[2026-07-11 18:29:08] local.INFO: Packet analysis {"connection_id":130855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:29:08] local.INFO: Extracted packet for processing {"connection_id":130855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763086784,"raw_latitude":98405168,"longitude_deg":76.3086784,"latitude_deg":9.8405168,"altitude":4,"angle":337,"satellites":43,"speed":7,"hex_longitude":"2d7bc7c0","hex_latitude":"05dd8b30","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646305024001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105144999884095488,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920082774639990784,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783774643000,"timestamp_ms":1783774643000,"timestamp_seconds":1783774643,"priority":1,"record_length":96,"hex_timestamp":"0000019f51410338"} 
[2026-07-11 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-07-11 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663854,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399427,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2354184192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3713873920,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,169,85,24,241,157,16,140,159,126,45,64,107,6,43,10,66,106,102,91,192,1,240,227,81,221,4,113,205,8,75,207,239,50,2,117,5,7,3],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-11 18:29:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360670767740551168,"timestamp_seconds":360670767740551.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 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-07-11 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646305024001,"66":12765,"169":206,"85":15104,"24":7,"16":105144999884095488,"45":8920082774639990784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646305024001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:29:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105144999884095488,"km_value":105144999884095.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920082774639990784,"description":"Unknown IO ID 45"} 
[2026-07-11 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646305024001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8920082774639990784}} 
[2026-07-11 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":130855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:29:08] local.INFO: GPS data processed {"connection_id":130855,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:29:08] local.INFO: Acknowledgment sent {"connection_id":130855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:29:09] local.INFO: TCP Data received {"connection_id":130854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f51418808012cbce540076d7f88004800f930..."} 
[2026-07-11 18:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51418808012cbce540076d7f88004800f930..."} 
[2026-07-11 18:29:09] local.INFO: Processing buffer {"connection_id":130854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51418808012cbce540076d7f88004800f930..."} 
[2026-07-11 18:29:09] local.INFO: Packet analysis {"connection_id":130854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:29:09] local.INFO: Extracted packet for processing {"connection_id":130854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:29:09] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":48,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646311680001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835740067987208192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774677000,"timestamp_ms":1783774677000,"timestamp_seconds":1783774677,"priority":1,"record_length":96,"hex_timestamp":"0000019f51418808"} 
[2026-07-11 18:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:29:09] 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-07-11 18:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-11 18:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646311680001,"66":27767,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835740067987208192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646311680001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:29:09] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:29:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835740067987208192,"description":"Unknown IO ID 44"} 
[2026-07-11 18:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646311680001,"power":27767,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835740067987208192}} 
[2026-07-11 18:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":130854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:29:09] local.INFO: GPS data processed {"connection_id":130854,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:29:09] local.INFO: Acknowledgment sent {"connection_id":130854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:29:14] local.INFO: TCP Data received {"connection_id":130854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5141da10012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5141da10012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:29:14] local.INFO: Processing buffer {"connection_id":130854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5141da10012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:29:14] local.INFO: Packet analysis {"connection_id":130854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:29:14] local.INFO: Extracted packet for processing {"connection_id":130854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:29:14] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646317312001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783774698000,"timestamp_ms":1783774698000,"timestamp_seconds":1783774698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5141da10"} 
[2026-07-11 18:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 18:29:14] 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-07-11 18:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646317312001,"66":26984,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646317312001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:29:14] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646317312001,"power":26984,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":130854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:29:14] local.INFO: GPS data processed {"connection_id":130854,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:29:14] local.INFO: Acknowledgment sent {"connection_id":130854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:29:40] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51410720012d7bc78005dd8bc0000301442d..."} 
[2026-07-11 18:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51410720012d7bc78005dd8bc0000301442d..."} 
[2026-07-11 18:29:40] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51410720012d7bc78005dd8bc0000301442d..."} 
[2026-07-11 18:29:40] local.INFO: Packet analysis {"connection_id":130855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:29:40] local.INFO: Extracted packet for processing {"connection_id":130855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763086720,"raw_latitude":98405312,"longitude_deg":76.308672,"latitude_deg":9.8405312,"altitude":3,"angle":324,"satellites":45,"speed":7,"hex_longitude":"2d7bc780","hex_latitude":"05dd8bc0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646308608001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145008474030080,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919308718454812672,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774644000,"timestamp_ms":1783774644000,"timestamp_seconds":1783774644,"priority":1,"record_length":96,"hex_timestamp":"0000019f51410720"} 
[2026-07-11 18:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:29:40] 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-07-11 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 18:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646308608001,"66":12765,"169":206,"85":15104,"24":7,"16":105145008474030080,"45":8919308718454812672},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646308608001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:29:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145008474030080,"km_value":105145008474030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919308718454812672,"description":"Unknown IO ID 45"} 
[2026-07-11 18:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646308608001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8919308718454812672}} 
[2026-07-11 18:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":130855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:29:40] local.INFO: GPS data processed {"connection_id":130855,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:29:40] local.INFO: Acknowledgment sent {"connection_id":130855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:29:45] local.INFO: TCP Data received {"connection_id":130854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f51422830012cbce540076d7f88004800f92d..."} 
[2026-07-11 18:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51422830012cbce540076d7f88004800f92d..."} 
[2026-07-11 18:29:45] local.INFO: Processing buffer {"connection_id":130854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51422830012cbce540076d7f88004800f92d..."} 
[2026-07-11 18:29:45] local.INFO: Packet analysis {"connection_id":130854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5142"} 
[2026-07-11 18:29:45] local.INFO: Extracted packet for processing {"connection_id":130854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5142"} 
[2026-07-11 18:29:45] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646322688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783774718000,"timestamp_ms":1783774718000,"timestamp_seconds":1783774718,"priority":1,"record_length":96,"hex_timestamp":"0000019f51422830"} 
[2026-07-11 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-07-11 18:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-11 18:29:45] 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-07-11 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-07-11 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-07-11 18:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646322688001,"66":27865,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646322688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:29:45] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646322688001,"power":27865,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":130854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:29:45] local.INFO: GPS data processed {"connection_id":130854,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:29:45] local.INFO: Acknowledgment sent {"connection_id":130854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:30:04] local.INFO: TCP Data received {"connection_id":129609,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:30:04] local.INFO: Processing buffer {"connection_id":129609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:30:04] local.INFO: IMEI packet received {"connection_id":129609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":129609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:30:08] local.INFO: TCP Data received {"connection_id":128903,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:30:08] local.INFO: Processing buffer {"connection_id":128903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:30:08] local.INFO: IMEI packet received {"connection_id":128903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":128903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:30:09] local.INFO: TCP Data received {"connection_id":129609,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:30:09] local.INFO: Processing buffer {"connection_id":129609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:30:09] local.INFO: IMEI packet received {"connection_id":129609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":129609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:30:09] local.INFO: TCP Data received {"connection_id":129609,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f51427a38012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51427a38012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:30:09] local.INFO: Processing buffer {"connection_id":129609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51427a38012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:30:09] local.INFO: Packet analysis {"connection_id":129609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5142"} 
[2026-07-11 18:30:09] local.INFO: Extracted packet for processing {"connection_id":129609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5142"} 
[2026-07-11 18:30:09] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646327808001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774739000,"timestamp_ms":1783774739000,"timestamp_seconds":1783774739,"priority":1,"record_length":96,"hex_timestamp":"0000019f51427a38"} 
[2026-07-11 18:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:30:09] 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-07-11 18:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 18:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646327808001,"66":27974,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646327808001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:30:09] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:30:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646327808001,"power":27974,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":129609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:30:09] local.INFO: GPS data processed {"connection_id":129609,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:30:09] local.INFO: Acknowledgment sent {"connection_id":129609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:30:13] local.INFO: TCP Data received {"connection_id":128903,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:30:13] local.INFO: Processing buffer {"connection_id":128903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:30:13] local.INFO: IMEI packet received {"connection_id":128903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":128903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:30:13] local.INFO: TCP Data received {"connection_id":128903,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51412660012d7bc48005dd8ce80003010a2d..."} 
[2026-07-11 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51412660012d7bc48005dd8ce80003010a2d..."} 
[2026-07-11 18:30:13] local.INFO: Processing buffer {"connection_id":128903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51412660012d7bc48005dd8ce80003010a2d..."} 
[2026-07-11 18:30:13] local.INFO: Packet analysis {"connection_id":128903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:30:13] local.INFO: Extracted packet for processing {"connection_id":128903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763085952,"raw_latitude":98405608,"longitude_deg":76.3085952,"latitude_deg":9.8405608,"altitude":3,"angle":266,"satellites":45,"speed":5,"hex_longitude":"2d7bc480","hex_latitude":"05dd8ce8","is_valid_coordinates":true} 
[2026-07-11 18:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646308864001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145051423703040,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919238349710671872,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783774652000,"timestamp_ms":1783774652000,"timestamp_seconds":1783774652,"priority":1,"record_length":96,"hex_timestamp":"0000019f51412660"} 
[2026-07-11 18:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 18:30:13] 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-07-11 18:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646308864001,"66":12852,"169":206,"85":15104,"24":5,"16":105145051423703040,"45":8919238349710671872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646308864001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:30:13] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145051423703040,"km_value":105145051423703.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919238349710671872,"description":"Unknown IO ID 45"} 
[2026-07-11 18:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646308864001,"power":12852,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8919238349710671872}} 
[2026-07-11 18:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":128903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:30:13] local.INFO: GPS data processed {"connection_id":128903,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:30:13] local.INFO: Acknowledgment sent {"connection_id":128903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:30:18] local.INFO: TCP Data received {"connection_id":128903,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51413600012d7bc24005dd8d080004011d2e..."} 
[2026-07-11 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51413600012d7bc24005dd8d080004011d2e..."} 
[2026-07-11 18:30:18] local.INFO: Processing buffer {"connection_id":128903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51413600012d7bc24005dd8d080004011d2e..."} 
[2026-07-11 18:30:18] local.INFO: Packet analysis {"connection_id":128903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:30:18] local.INFO: Extracted packet for processing {"connection_id":128903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763085376,"raw_latitude":98405640,"longitude_deg":76.3085376,"latitude_deg":9.840564,"altitude":4,"angle":285,"satellites":46,"speed":6,"hex_longitude":"2d7bc240","hex_latitude":"05dd8d08","is_valid_coordinates":true} 
[2026-07-11 18:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646310912001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145077193506816,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918393924780615680,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783774656000,"timestamp_ms":1783774656000,"timestamp_seconds":1783774656,"priority":1,"record_length":96,"hex_timestamp":"0000019f51413600"} 
[2026-07-11 18:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 18:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646310912001,"66":12917,"169":206,"85":15104,"24":6,"16":105145077193506816,"45":8918393924780615680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646310912001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:30:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145077193506816,"km_value":105145077193506.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918393924780615680,"description":"Unknown IO ID 45"} 
[2026-07-11 18:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646310912001,"power":12917,"unknown_169":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8918393924780615680}} 
[2026-07-11 18:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":128903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:30:18] local.INFO: GPS data processed {"connection_id":128903,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:30:18] local.INFO: Acknowledgment sent {"connection_id":128903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:30:40] local.INFO: TCP Data received {"connection_id":129609,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5142cc40012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5142cc40012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:30:40] local.INFO: Processing buffer {"connection_id":129609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5142cc40012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:30:40] local.INFO: Packet analysis {"connection_id":129609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5142"} 
[2026-07-11 18:30:40] local.INFO: Extracted packet for processing {"connection_id":129609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5142"} 
[2026-07-11 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646333184001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774760000,"timestamp_ms":1783774760000,"timestamp_seconds":1783774760,"priority":1,"record_length":96,"hex_timestamp":"0000019f5142cc40"} 
[2026-07-11 18:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:30:40] 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-07-11 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:30: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-07-11 18:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646333184001,"66":27800,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646333184001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:30:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646333184001,"power":27800,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":129609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:30:40] local.INFO: GPS data processed {"connection_id":129609,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:30:40] local.INFO: Acknowledgment sent {"connection_id":129609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:31:01] local.INFO: TCP Data received {"connection_id":128905,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:31:01] local.INFO: Processing buffer {"connection_id":128905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:31:01] local.INFO: IMEI packet received {"connection_id":128905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":128905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:31:02] local.INFO: TCP Data received {"connection_id":129611,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:02] local.INFO: Processing buffer {"connection_id":129611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:02] local.INFO: IMEI packet received {"connection_id":129611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":129611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:31:03] local.INFO: TCP Data received {"connection_id":129610,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:31:03] local.INFO: Processing buffer {"connection_id":129610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:31:03] local.INFO: IMEI packet received {"connection_id":129610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":129610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:31:04] local.INFO: TCP Data received {"connection_id":129611,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:04] local.INFO: Processing buffer {"connection_id":129611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:04] local.INFO: IMEI packet received {"connection_id":129611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":129611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:31:04] local.INFO: TCP Data received {"connection_id":128905,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:31:04] local.INFO: Processing buffer {"connection_id":128905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:31:04] local.INFO: IMEI packet received {"connection_id":128905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":128905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:31:08] local.INFO: TCP Data received {"connection_id":129610,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:31:08] local.INFO: Processing buffer {"connection_id":129610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:31:08] local.INFO: IMEI packet received {"connection_id":129610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":129610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:31:08] local.INFO: TCP Data received {"connection_id":129610,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f514139e8012d7bc1c005dd8d400004012e2e..."} 
[2026-07-11 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514139e8012d7bc1c005dd8d400004012e2e..."} 
[2026-07-11 18:31:08] local.INFO: Processing buffer {"connection_id":129610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514139e8012d7bc1c005dd8d400004012e2e..."} 
[2026-07-11 18:31:08] local.INFO: Packet analysis {"connection_id":129610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:31:08] local.INFO: Extracted packet for processing {"connection_id":129610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763085248,"raw_latitude":98405696,"longitude_deg":76.3085248,"latitude_deg":9.8405696,"altitude":4,"angle":302,"satellites":46,"speed":5,"hex_longitude":"2d7bc1c0","hex_latitude":"05dd8d40","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646311936001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145085783441408,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917760606083024896,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783774657000,"timestamp_ms":1783774657000,"timestamp_seconds":1783774657,"priority":1,"record_length":96,"hex_timestamp":"0000019f514139e8"} 
[2026-07-11 18:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 18:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646311936001,"66":12874,"169":206,"85":15104,"24":5,"16":105145085783441408,"45":8917760606083024896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646311936001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:31:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145085783441408,"km_value":105145085783441.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917760606083024896,"description":"Unknown IO ID 45"} 
[2026-07-11 18:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646311936001,"power":12874,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8917760606083024896}} 
[2026-07-11 18:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":129610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:31:08] local.INFO: GPS data processed {"connection_id":129610,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:31:08] local.INFO: Acknowledgment sent {"connection_id":129610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:31:09] local.INFO: TCP Data received {"connection_id":128905,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:31:09] local.INFO: Processing buffer {"connection_id":128905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:31:09] local.INFO: IMEI packet received {"connection_id":128905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":128905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:31:09] local.INFO: TCP Data received {"connection_id":129611,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:09] local.INFO: Processing buffer {"connection_id":129611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:09] local.INFO: IMEI packet received {"connection_id":129611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":129611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:31:10] local.INFO: TCP Data received {"connection_id":128905,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f51431e48012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51431e48012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:31:10] local.INFO: Processing buffer {"connection_id":128905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51431e48012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:31:10] local.INFO: Packet analysis {"connection_id":128905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5143"} 
[2026-07-11 18:31:10] local.INFO: Extracted packet for processing {"connection_id":128905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5143"} 
[2026-07-11 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646338560001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783774781000,"timestamp_ms":1783774781000,"timestamp_seconds":1783774781,"priority":1,"record_length":96,"hex_timestamp":"0000019f51431e48"} 
[2026-07-11 18:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 18:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646338560001,"66":28028,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646338560001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:31:10] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646338560001,"power":28028,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":128905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:31:10] local.INFO: GPS data processed {"connection_id":128905,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:31:10] local.INFO: Acknowledgment sent {"connection_id":128905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:31:10] local.INFO: TCP Data received {"connection_id":129611,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5142ef68012d17b9400722f3580085007829..."} 
[2026-07-11 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5142ef68012d17b9400722f3580085007829..."} 
[2026-07-11 18:31:10] local.INFO: Processing buffer {"connection_id":129611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5142ef68012d17b9400722f3580085007829..."} 
[2026-07-11 18:31:10] local.INFO: Packet analysis {"connection_id":129611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5142"} 
[2026-07-11 18:31:10] local.INFO: Extracted packet for processing {"connection_id":129611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5142"} 
[2026-07-11 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756529472,"raw_latitude":119731032,"longitude_deg":75.6529472,"latitude_deg":11.9731032,"altitude":133,"angle":120,"satellites":41,"speed":21,"hex_longitude":"2d17b940","hex_latitude":"0722f358","is_valid_coordinates":true} 
[2026-07-11 18:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646340096001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5798970353778688,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707779083099045888,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783774769000,"timestamp_ms":1783774769000,"timestamp_seconds":1783774769,"priority":1,"record_length":96,"hex_timestamp":"0000019f5142ef68"} 
[2026-07-11 18:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-11 18:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646340096001,"66":13972,"70":206,"28":31744,"24":21,"16":5798970353778688,"45":1707779083099045888},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646340096001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:31:10] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5798970353778688,"km_value":5798970353778.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707779083099045888,"description":"Unknown IO ID 45"} 
[2026-07-11 18:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646340096001,"power":13972,"unknown_70":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1707779083099045888}} 
[2026-07-11 18:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":129611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:31:10] local.INFO: GPS data processed {"connection_id":129611,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:31:10] local.INFO: Acknowledgment sent {"connection_id":129611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:31:15] local.INFO: TCP Data received {"connection_id":129611,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51430ea8012d17c6c00722ea480084006c2a..."} 
[2026-07-11 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51430ea8012d17c6c00722ea480084006c2a..."} 
[2026-07-11 18:31:15] local.INFO: Processing buffer {"connection_id":129611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51430ea8012d17c6c00722ea480084006c2a..."} 
[2026-07-11 18:31:15] local.INFO: Packet analysis {"connection_id":129611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5143"} 
[2026-07-11 18:31:15] local.INFO: Extracted packet for processing {"connection_id":129611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5143"} 
[2026-07-11 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756532928,"raw_latitude":119728712,"longitude_deg":75.6532928,"latitude_deg":11.9728712,"altitude":132,"angle":108,"satellites":42,"speed":21,"hex_longitude":"2d17c6c0","hex_latitude":"0722ea48","is_valid_coordinates":true} 
[2026-07-11 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646340864001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5799172217241600,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709467932959135744,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783774777000,"timestamp_ms":1783774777000,"timestamp_seconds":1783774777,"priority":1,"record_length":96,"hex_timestamp":"0000019f51430ea8"} 
[2026-07-11 18:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-11 18:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646340864001,"66":13928,"70":206,"28":31744,"24":21,"16":5799172217241600,"45":1709467932959135744},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-11 18:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646340864001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:31:15] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-11 18:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5799172217241600,"km_value":5799172217241.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709467932959135744,"description":"Unknown IO ID 45"} 
[2026-07-11 18:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646340864001,"power":13928,"unknown_70":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1709467932959135744}} 
[2026-07-11 18:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":129611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:31:15] local.INFO: GPS data processed {"connection_id":129611,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:31:15] local.INFO: Acknowledgment sent {"connection_id":129611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:31:40] local.INFO: TCP Data received {"connection_id":129610,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51418808012d7bc38005dd8bf00003012e2b..."} 
[2026-07-11 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51418808012d7bc38005dd8bf00003012e2b..."} 
[2026-07-11 18:31:40] local.INFO: Processing buffer {"connection_id":129610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51418808012d7bc38005dd8bf00003012e2b..."} 
[2026-07-11 18:31:40] local.INFO: Packet analysis {"connection_id":129610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:31:40] local.INFO: Extracted packet for processing {"connection_id":129610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":98405360,"longitude_deg":76.3085696,"latitude_deg":9.840536,"altitude":3,"angle":302,"satellites":43,"speed":1,"hex_longitude":"2d7bc380","hex_latitude":"05dd8bf0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646312192001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145137323048960,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917619868594683904,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774677000,"timestamp_ms":1783774677000,"timestamp_seconds":1783774677,"priority":1,"record_length":96,"hex_timestamp":"0000019f51418808"} 
[2026-07-11 18:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:31:40] 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-07-11 18: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-11 18:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646312192001,"66":12906,"169":206,"85":15104,"24":1,"16":105145137323048960,"45":8917619868594683904},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646312192001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:31:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145137323048960,"km_value":105145137323048.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917619868594683904,"description":"Unknown IO ID 45"} 
[2026-07-11 18:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646312192001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8917619868594683904}} 
[2026-07-11 18:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":129610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:31:40] local.INFO: GPS data processed {"connection_id":129610,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:31:40] local.INFO: Acknowledgment sent {"connection_id":129610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:31:41] local.INFO: TCP Data received {"connection_id":128905,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f51437050012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51437050012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:31:41] local.INFO: Processing buffer {"connection_id":128905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51437050012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:31:41] local.INFO: Packet analysis {"connection_id":128905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5143"} 
[2026-07-11 18:31:41] local.INFO: Extracted packet for processing {"connection_id":128905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5143"} 
[2026-07-11 18:31:41] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646343936001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783774802000,"timestamp_ms":1783774802000,"timestamp_seconds":1783774802,"priority":1,"record_length":96,"hex_timestamp":"0000019f51437050"} 
[2026-07-11 18:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:31:41] 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-07-11 18:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-11 18:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646343936001,"66":28028,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646343936001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:31:41] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646343936001,"power":28028,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":128905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:31:41] local.INFO: GPS data processed {"connection_id":128905,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:31:41] local.INFO: Acknowledgment sent {"connection_id":128905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:31:56] local.INFO: TCP Data received {"connection_id":128907,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:56] local.INFO: Processing buffer {"connection_id":128907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:56] local.INFO: IMEI packet received {"connection_id":128907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":128907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:31:57] local.INFO: TCP Data received {"connection_id":128907,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:57] local.INFO: Processing buffer {"connection_id":128907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:57] local.INFO: IMEI packet received {"connection_id":128907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":128907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:31:59] local.INFO: TCP Data received {"connection_id":128907,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:59] local.INFO: Processing buffer {"connection_id":128907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:31:59] local.INFO: IMEI packet received {"connection_id":128907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":128907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:32:00] local.INFO: TCP Data received {"connection_id":128907,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:32:00] local.INFO: Processing buffer {"connection_id":128907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:32:00] local.INFO: IMEI packet received {"connection_id":128907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":128907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:32:03] local.INFO: TCP Data received {"connection_id":129612,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:32:03] local.INFO: Processing buffer {"connection_id":129612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:32:03] local.INFO: IMEI packet received {"connection_id":129612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":129612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:32:03] local.INFO: TCP Data received {"connection_id":130856,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:32:03] local.INFO: Processing buffer {"connection_id":130856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:32:03] local.INFO: IMEI packet received {"connection_id":130856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":130856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:32:09] local.INFO: TCP Data received {"connection_id":130856,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:32:09] local.INFO: Processing buffer {"connection_id":130856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:32:09] local.INFO: IMEI packet received {"connection_id":130856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":130856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:32:09] local.INFO: TCP Data received {"connection_id":129612,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:32:09] local.INFO: Processing buffer {"connection_id":129612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:32:09] local.INFO: IMEI packet received {"connection_id":129612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":129612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:32:09] local.INFO: TCP Data received {"connection_id":130856,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5143c258012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5143c258012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:32:09] local.INFO: Processing buffer {"connection_id":130856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5143c258012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:32:09] local.INFO: Packet analysis {"connection_id":130856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5143"} 
[2026-07-11 18:32:09] local.INFO: Extracted packet for processing {"connection_id":130856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5143"} 
[2026-07-11 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646349312001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774823000,"timestamp_ms":1783774823000,"timestamp_seconds":1783774823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5143c258"} 
[2026-07-11 18:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:32:09] 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-07-11 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-11 18:32:09] 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-07-11 18:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:32: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-07-11 18:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646349312001,"66":27213,"3":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646349312001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:32:09] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646349312001,"power":27213,"unknown_3":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":130856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:32:09] local.INFO: GPS data processed {"connection_id":130856,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:32:09] local.INFO: Acknowledgment sent {"connection_id":130856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:32:10] local.INFO: TCP Data received {"connection_id":129612,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5141ab30012d7bc38005dd8b680003012e29..."} 
[2026-07-11 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5141ab30012d7bc38005dd8b680003012e29..."} 
[2026-07-11 18:32:10] local.INFO: Processing buffer {"connection_id":129612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5141ab30012d7bc38005dd8b680003012e29..."} 
[2026-07-11 18:32:10] local.INFO: Packet analysis {"connection_id":129612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:32:10] local.INFO: Extracted packet for processing {"connection_id":129612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":98405224,"longitude_deg":76.3085696,"latitude_deg":9.8405224,"altitude":3,"angle":302,"satellites":41,"speed":0,"hex_longitude":"2d7bc380","hex_latitude":"05dd8b68","is_valid_coordinates":true} 
[2026-07-11 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646317312001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145145912983552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449803841536,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783774686000,"timestamp_ms":1783774686000,"timestamp_seconds":1783774686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5141ab30"} 
[2026-07-11 18:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-11 18:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646317312001,"66":13015,"169":206,"85":15104,"24":0,"16":105145145912983552,"45":8918112449803841536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646317312001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:32:10] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145145912983552,"km_value":105145145912983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449803841536,"description":"Unknown IO ID 45"} 
[2026-07-11 18:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646317312001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918112449803841536}} 
[2026-07-11 18:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":129612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:32:10] local.INFO: GPS data processed {"connection_id":129612,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:32:10] local.INFO: Acknowledgment sent {"connection_id":129612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:32:41] local.INFO: TCP Data received {"connection_id":130856,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:32:41] local.INFO: Processing buffer {"connection_id":130856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:32:41] local.INFO: Packet analysis {"connection_id":130856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:32:41] local.INFO: Extracted packet for processing {"connection_id":130856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646354688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783774839000,"timestamp_ms":1783774839000,"timestamp_seconds":1783774839,"priority":1,"record_length":96,"hex_timestamp":"0000019f514400d8"} 
[2026-07-11 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-07-11 18:32:41] 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-07-11 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 18:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646354688001,"66":27974,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646354688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:32:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646354688001,"power":27974,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":130856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:32:41] local.INFO: GPS data processed {"connection_id":130856,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:32:41] local.INFO: Acknowledgment sent {"connection_id":130856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:32:41] local.INFO: TCP Data received {"connection_id":129612,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5141ab30012d7bc38005dd8b680003012e29..."} 
[2026-07-11 18:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5141ab30012d7bc38005dd8b680003012e29..."} 
[2026-07-11 18:32:41] local.INFO: Processing buffer {"connection_id":129612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5141ab30012d7bc38005dd8b680003012e29..."} 
[2026-07-11 18:32:41] local.INFO: Packet analysis {"connection_id":129612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:32:41] local.INFO: Extracted packet for processing {"connection_id":129612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":98405224,"longitude_deg":76.3085696,"latitude_deg":9.8405224,"altitude":3,"angle":302,"satellites":41,"speed":0,"hex_longitude":"2d7bc380","hex_latitude":"05dd8b68","is_valid_coordinates":true} 
[2026-07-11 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646319616001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145145912983552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449803806720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783774686000,"timestamp_ms":1783774686000,"timestamp_seconds":1783774686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5141ab30"} 
[2026-07-11 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-07-11 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 18:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646319616001,"66":13015,"169":206,"85":15104,"24":0,"16":105145145912983552,"45":8918112449803806720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646319616001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:32:41] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145145912983552,"km_value":105145145912983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449803806720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646319616001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918112449803806720}} 
[2026-07-11 18:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":129612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:32:41] local.INFO: GPS data processed {"connection_id":129612,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:32:41] local.INFO: Acknowledgment sent {"connection_id":129612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:33:03] local.INFO: TCP Data received {"connection_id":128908,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:33:03] local.INFO: Processing buffer {"connection_id":128908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:33:03] local.INFO: IMEI packet received {"connection_id":128908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":128908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:33:03] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:33:03] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:33:03] local.INFO: IMEI packet received {"connection_id":130859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":130859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:33:09] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:33:09] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:33:09] local.INFO: IMEI packet received {"connection_id":130859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":130859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:33:09] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:33:09] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:33:09] local.INFO: Packet analysis {"connection_id":130859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:33:09] local.INFO: Extracted packet for processing {"connection_id":130859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646354688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774839000,"timestamp_ms":1783774839000,"timestamp_seconds":1783774839,"priority":1,"record_length":96,"hex_timestamp":"0000019f514400d8"} 
[2026-07-11 18:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:33:09] 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-07-11 18:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 18:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646354688001,"66":27974,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646354688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:33:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:33:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646354688001,"power":27974,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":130859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:33:09] local.INFO: GPS data processed {"connection_id":130859,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:33:09] local.INFO: Acknowledgment sent {"connection_id":130859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:33:11] local.INFO: TCP Data received {"connection_id":128908,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:33:11] local.INFO: Processing buffer {"connection_id":128908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:33:11] local.INFO: IMEI packet received {"connection_id":128908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":128908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:33:11] local.INFO: TCP Data received {"connection_id":128908,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5141ab30012d7bc38005dd8b680003012e29..."} 
[2026-07-11 18:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5141ab30012d7bc38005dd8b680003012e29..."} 
[2026-07-11 18:33:11] local.INFO: Processing buffer {"connection_id":128908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5141ab30012d7bc38005dd8b680003012e29..."} 
[2026-07-11 18:33:11] local.INFO: Packet analysis {"connection_id":128908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:33:11] local.INFO: Extracted packet for processing {"connection_id":128908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5141"} 
[2026-07-11 18:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":98405224,"longitude_deg":76.3085696,"latitude_deg":9.8405224,"altitude":3,"angle":302,"satellites":41,"speed":0,"hex_longitude":"2d7bc380","hex_latitude":"05dd8b68","is_valid_coordinates":true} 
[2026-07-11 18:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646319616001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145145912983552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449803806720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783774686000,"timestamp_ms":1783774686000,"timestamp_seconds":1783774686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5141ab30"} 
[2026-07-11 18:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 18:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646319616001,"66":13015,"169":206,"85":15104,"24":0,"16":105145145912983552,"45":8918112449803806720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646319616001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:33:11] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145145912983552,"km_value":105145145912983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449803806720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646319616001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918112449803806720}} 
[2026-07-11 18:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":128908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:33:12] local.INFO: GPS data processed {"connection_id":128908,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:33:12] local.INFO: Acknowledgment sent {"connection_id":128908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:33:40] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:33:40] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:33:40] local.INFO: Packet analysis {"connection_id":130859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:33:40] local.INFO: Extracted packet for processing {"connection_id":130859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:33: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-07-11 18:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646354688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774839000,"timestamp_ms":1783774839000,"timestamp_seconds":1783774839,"priority":1,"record_length":96,"hex_timestamp":"0000019f514400d8"} 
[2026-07-11 18:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:33:40] 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-07-11 18: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 18:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646354688001,"66":27974,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646354688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:33:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646354688001,"power":27974,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":130859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:33:40] local.INFO: GPS data processed {"connection_id":130859,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:33:40] local.INFO: Acknowledgment sent {"connection_id":130859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:33:43] local.INFO: TCP Data received {"connection_id":128908,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51465298012d7bc44005dd8b300003012e26..."} 
[2026-07-11 18:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51465298012d7bc44005dd8b300003012e26..."} 
[2026-07-11 18:33:43] local.INFO: Processing buffer {"connection_id":128908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51465298012d7bc44005dd8b300003012e26..."} 
[2026-07-11 18:33:43] local.INFO: Packet analysis {"connection_id":128908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5146"} 
[2026-07-11 18:33:43] local.INFO: Extracted packet for processing {"connection_id":128908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5146"} 
[2026-07-11 18:33:43] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98405168,"longitude_deg":76.3085888,"latitude_deg":9.8405168,"altitude":3,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d7bc440","hex_latitude":"05dd8b30","is_valid_coordinates":true} 
[2026-07-11 18:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646319616001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145145912983552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449803806720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783774991000,"timestamp_ms":1783774991000,"timestamp_seconds":1783774991,"priority":1,"record_length":96,"hex_timestamp":"0000019f51465298"} 
[2026-07-11 18:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 18:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646319616001,"66":12645,"169":206,"85":15104,"24":0,"16":105145145912983552,"45":8918112449803806720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646319616001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:33:43] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145145912983552,"km_value":105145145912983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449803806720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646319616001,"power":12645,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918112449803806720}} 
[2026-07-11 18:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":128908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:33:43] local.INFO: GPS data processed {"connection_id":128908,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:33:43] local.INFO: Acknowledgment sent {"connection_id":128908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:34:03] local.INFO: TCP Data received {"connection_id":128723,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:34:03] local.INFO: Processing buffer {"connection_id":128723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:34:03] local.INFO: IMEI packet received {"connection_id":128723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":128723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:34:08] local.INFO: TCP Data received {"connection_id":130860,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:34:08] local.INFO: Processing buffer {"connection_id":130860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:34:08] local.INFO: IMEI packet received {"connection_id":130860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":130860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:34:09] local.INFO: TCP Data received {"connection_id":128723,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:34:09] local.INFO: Processing buffer {"connection_id":128723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:34:09] local.INFO: IMEI packet received {"connection_id":128723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":128723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:34:09] local.INFO: TCP Data received {"connection_id":128723,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:34:09] local.INFO: Processing buffer {"connection_id":128723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:34:09] local.INFO: Packet analysis {"connection_id":128723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:34:09] local.INFO: Extracted packet for processing {"connection_id":128723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646354688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774839000,"timestamp_ms":1783774839000,"timestamp_seconds":1783774839,"priority":1,"record_length":96,"hex_timestamp":"0000019f514400d8"} 
[2026-07-11 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-07-11 18:34:09] 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-07-11 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 18:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646354688001,"66":27974,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646354688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:34:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646354688001,"power":27974,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":128723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:34:09] local.INFO: GPS data processed {"connection_id":128723,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:34:09] local.INFO: Acknowledgment sent {"connection_id":128723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:34:13] local.INFO: TCP Data received {"connection_id":130860,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:34:13] local.INFO: Processing buffer {"connection_id":130860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:34:13] local.INFO: IMEI packet received {"connection_id":130860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":130860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:34:13] local.INFO: TCP Data received {"connection_id":130860,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51465298012d7bc44005dd8b300003012e26..."} 
[2026-07-11 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51465298012d7bc44005dd8b300003012e26..."} 
[2026-07-11 18:34:13] local.INFO: Processing buffer {"connection_id":130860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51465298012d7bc44005dd8b300003012e26..."} 
[2026-07-11 18:34:13] local.INFO: Packet analysis {"connection_id":130860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5146"} 
[2026-07-11 18:34:13] local.INFO: Extracted packet for processing {"connection_id":130860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5146"} 
[2026-07-11 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98405168,"longitude_deg":76.3085888,"latitude_deg":9.8405168,"altitude":3,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d7bc440","hex_latitude":"05dd8b30","is_valid_coordinates":true} 
[2026-07-11 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646319616001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145145912983552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449803806720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783774991000,"timestamp_ms":1783774991000,"timestamp_seconds":1783774991,"priority":1,"record_length":96,"hex_timestamp":"0000019f51465298"} 
[2026-07-11 18:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 18:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646319616001,"66":12645,"169":206,"85":15104,"24":0,"16":105145145912983552,"45":8918112449803806720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646319616001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:34:13] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145145912983552,"km_value":105145145912983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449803806720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646319616001,"power":12645,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918112449803806720}} 
[2026-07-11 18:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":130860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:34:13] local.INFO: GPS data processed {"connection_id":130860,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:34:13] local.INFO: Acknowledgment sent {"connection_id":130860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:34:17] local.INFO: TCP Data received {"connection_id":128722,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:34:17] local.INFO: Processing buffer {"connection_id":128722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:34:17] local.INFO: IMEI packet received {"connection_id":128722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":128722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:34:22] local.INFO: TCP Data received {"connection_id":130860,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51465298012d7bc44005dd8b300003012e26..."} 
[2026-07-11 18:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51465298012d7bc44005dd8b300003012e26..."} 
[2026-07-11 18:34:22] local.INFO: Processing buffer {"connection_id":130860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51465298012d7bc44005dd8b300003012e26..."} 
[2026-07-11 18:34:22] local.INFO: Packet analysis {"connection_id":130860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5146"} 
[2026-07-11 18:34:22] local.INFO: Extracted packet for processing {"connection_id":130860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5146"} 
[2026-07-11 18:34:22] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98405168,"longitude_deg":76.3085888,"latitude_deg":9.8405168,"altitude":3,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d7bc440","hex_latitude":"05dd8b30","is_valid_coordinates":true} 
[2026-07-11 18:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646319616001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145145912983552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449803806720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783774991000,"timestamp_ms":1783774991000,"timestamp_seconds":1783774991,"priority":1,"record_length":96,"hex_timestamp":"0000019f51465298"} 
[2026-07-11 18:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 18:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646319616001,"66":12645,"169":206,"85":15104,"24":0,"16":105145145912983552,"45":8918112449803806720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646319616001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:34:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:34:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145145912983552,"km_value":105145145912983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449803806720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646319616001,"power":12645,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918112449803806720}} 
[2026-07-11 18:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":130860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:34:22] local.INFO: GPS data processed {"connection_id":130860,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:34:22] local.INFO: Acknowledgment sent {"connection_id":130860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:34:40] local.INFO: TCP Data received {"connection_id":128723,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:34:40] local.INFO: Processing buffer {"connection_id":128723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:34:40] local.INFO: Packet analysis {"connection_id":128723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:34:40] local.INFO: Extracted packet for processing {"connection_id":128723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:34: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-07-11 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646354688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783774839000,"timestamp_ms":1783774839000,"timestamp_seconds":1783774839,"priority":1,"record_length":96,"hex_timestamp":"0000019f514400d8"} 
[2026-07-11 18:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:34:40] 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-07-11 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 18:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646354688001,"66":27974,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646354688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:34:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646354688001,"power":27974,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":128723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:34:40] local.INFO: GPS data processed {"connection_id":128723,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:34:40] local.INFO: Acknowledgment sent {"connection_id":128723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:34:45] local.INFO: TCP Data received {"connection_id":130861,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:34:45] local.INFO: Processing buffer {"connection_id":130861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:34:45] local.INFO: IMEI packet received {"connection_id":130861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":130861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:35:04] local.INFO: TCP Data received {"connection_id":129615,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:35:04] local.INFO: Processing buffer {"connection_id":129615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:35:04] local.INFO: IMEI packet received {"connection_id":129615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":129615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:35:04] local.INFO: TCP Data received {"connection_id":129615,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:35:04] local.INFO: Processing buffer {"connection_id":129615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:35:04] local.INFO: IMEI packet received {"connection_id":129615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":129615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:35:05] local.INFO: TCP Data received {"connection_id":129615,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f514792e8012d7bc44005dd8b300003012e25..."} 
[2026-07-11 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514792e8012d7bc44005dd8b300003012e25..."} 
[2026-07-11 18:35:05] local.INFO: Processing buffer {"connection_id":129615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514792e8012d7bc44005dd8b300003012e25..."} 
[2026-07-11 18:35:05] local.INFO: Packet analysis {"connection_id":129615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:35:05] local.INFO: Extracted packet for processing {"connection_id":129615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98405168,"longitude_deg":76.3085888,"latitude_deg":9.8405168,"altitude":3,"angle":302,"satellites":37,"speed":0,"hex_longitude":"2d7bc440","hex_latitude":"05dd8b30","is_valid_coordinates":true} 
[2026-07-11 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646397696001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145145912983552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918323556036325376,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775073000,"timestamp_ms":1783775073000,"timestamp_seconds":1783775073,"priority":1,"record_length":96,"hex_timestamp":"0000019f514792e8"} 
[2026-07-11 18:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 18:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646397696001,"66":12624,"33":206,"85":15104,"24":0,"16":105145145912983552,"45":8918323556036325376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-11 18:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646397696001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:35:05] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145145912983552,"km_value":105145145912983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918323556036325376,"description":"Unknown IO ID 45"} 
[2026-07-11 18:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646397696001,"power":12624,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918323556036325376}} 
[2026-07-11 18:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":129615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:35:05] local.INFO: GPS data processed {"connection_id":129615,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:35:05] local.INFO: Acknowledgment sent {"connection_id":129615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:35:07] local.INFO: TCP Data received {"connection_id":129615,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f514792e8012d7bc44005dd8b300003012e25..."} 
[2026-07-11 18:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514792e8012d7bc44005dd8b300003012e25..."} 
[2026-07-11 18:35:07] local.INFO: Processing buffer {"connection_id":129615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514792e8012d7bc44005dd8b300003012e25..."} 
[2026-07-11 18:35:07] local.INFO: Packet analysis {"connection_id":129615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:35:07] local.INFO: Extracted packet for processing {"connection_id":129615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98405168,"longitude_deg":76.3085888,"latitude_deg":9.8405168,"altitude":3,"angle":302,"satellites":37,"speed":0,"hex_longitude":"2d7bc440","hex_latitude":"05dd8b30","is_valid_coordinates":true} 
[2026-07-11 18:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646418688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145145912983552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918323556036325376,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783775073000,"timestamp_ms":1783775073000,"timestamp_seconds":1783775073,"priority":1,"record_length":96,"hex_timestamp":"0000019f514792e8"} 
[2026-07-11 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-07-11 18:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-11 18:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646418688001,"66":12624,"33":206,"85":15104,"24":0,"16":105145145912983552,"45":8918323556036325376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-11 18:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646418688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:35:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145145912983552,"km_value":105145145912983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918323556036325376,"description":"Unknown IO ID 45"} 
[2026-07-11 18:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646418688001,"power":12624,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918323556036325376}} 
[2026-07-11 18:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":129615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:35:07] local.INFO: GPS data processed {"connection_id":129615,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:35:07] local.INFO: Acknowledgment sent {"connection_id":129615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:35:09] local.INFO: TCP Data received {"connection_id":129616,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:35:09] local.INFO: Processing buffer {"connection_id":129616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:35:09] local.INFO: IMEI packet received {"connection_id":129616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":129616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:35:14] local.INFO: TCP Data received {"connection_id":129616,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:35:14] local.INFO: Processing buffer {"connection_id":129616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:35:14] local.INFO: IMEI packet received {"connection_id":129616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":129616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:35:14] local.INFO: TCP Data received {"connection_id":129616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:35:14] local.INFO: Processing buffer {"connection_id":129616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:35:14] local.INFO: Packet analysis {"connection_id":129616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:35:14] local.INFO: Extracted packet for processing {"connection_id":129616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:35:14] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646354688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783774839000,"timestamp_ms":1783774839000,"timestamp_seconds":1783774839,"priority":1,"record_length":96,"hex_timestamp":"0000019f514400d8"} 
[2026-07-11 18:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 18:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646354688001,"66":27974,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646354688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:35:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:35:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646354688001,"power":27974,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":129616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:35:14] local.INFO: GPS data processed {"connection_id":129616,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:35:14] local.INFO: Acknowledgment sent {"connection_id":129616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:35:19] local.INFO: TCP Data received {"connection_id":129616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:35:19] local.INFO: Processing buffer {"connection_id":129616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:35:19] local.INFO: Packet analysis {"connection_id":129616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:35:19] local.INFO: Extracted packet for processing {"connection_id":129616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:35:19] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646354688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783774839000,"timestamp_ms":1783774839000,"timestamp_seconds":1783774839,"priority":1,"record_length":96,"hex_timestamp":"0000019f514400d8"} 
[2026-07-11 18:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 18:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646354688001,"66":27974,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646354688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:35:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:35:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:35:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646354688001,"power":27974,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":129616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:35:19] local.INFO: GPS data processed {"connection_id":129616,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:35:19] local.INFO: Acknowledgment sent {"connection_id":129616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:36:03] local.INFO: TCP Data received {"connection_id":128725,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:36:03] local.INFO: Processing buffer {"connection_id":128725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:36:03] local.INFO: IMEI packet received {"connection_id":128725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":128725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:36:04] local.INFO: TCP Data received {"connection_id":128909,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:36:04] local.INFO: Processing buffer {"connection_id":128909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:36:04] local.INFO: IMEI packet received {"connection_id":128909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":128909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:36:09] local.INFO: TCP Data received {"connection_id":128909,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:36:09] local.INFO: Processing buffer {"connection_id":128909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:36:09] local.INFO: IMEI packet received {"connection_id":128909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":128909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:36:09] local.INFO: TCP Data received {"connection_id":128725,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:36:09] local.INFO: Processing buffer {"connection_id":128725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:36:09] local.INFO: IMEI packet received {"connection_id":128725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":128725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:36:09] local.INFO: TCP Data received {"connection_id":128909,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:36:09] local.INFO: Processing buffer {"connection_id":128909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514400d8012cbce540076d7f88004800f92f..."} 
[2026-07-11 18:36:09] local.INFO: Packet analysis {"connection_id":128909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:36:09] local.INFO: Extracted packet for processing {"connection_id":128909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5144"} 
[2026-07-11 18:36:09] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646354688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783774839000,"timestamp_ms":1783774839000,"timestamp_seconds":1783774839,"priority":1,"record_length":96,"hex_timestamp":"0000019f514400d8"} 
[2026-07-11 18:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:36:09] 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-07-11 18: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 18:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646354688001,"66":27974,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646354688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:36:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646354688001,"power":27974,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":128909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:36:09] local.INFO: GPS data processed {"connection_id":128909,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:36:09] local.INFO: Acknowledgment sent {"connection_id":128909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:36:10] local.INFO: TCP Data received {"connection_id":128725,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5147ecc0012d7bc38005dd8b680003012e27..."} 
[2026-07-11 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5147ecc0012d7bc38005dd8b680003012e27..."} 
[2026-07-11 18:36:10] local.INFO: Processing buffer {"connection_id":128725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5147ecc0012d7bc38005dd8b680003012e27..."} 
[2026-07-11 18:36:10] local.INFO: Packet analysis {"connection_id":128725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:36:10] local.INFO: Extracted packet for processing {"connection_id":128725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":98405224,"longitude_deg":76.3085696,"latitude_deg":9.8405224,"altitude":3,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d7bc380","hex_latitude":"05dd8b68","is_valid_coordinates":true} 
[2026-07-11 18:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646418688001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145145912983552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918323556036325376,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783775096000,"timestamp_ms":1783775096000,"timestamp_seconds":1783775096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5147ecc0"} 
[2026-07-11 18:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-11 18:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646418688001,"66":11711,"33":206,"85":15104,"24":0,"16":105145145912983552,"45":8918323556036325376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-11 18:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646418688001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:36:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145145912983552,"km_value":105145145912983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918323556036325376,"description":"Unknown IO ID 45"} 
[2026-07-11 18:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646418688001,"power":11711,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918323556036325376}} 
[2026-07-11 18:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":128725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:36:10] local.INFO: GPS data processed {"connection_id":128725,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:36:10] local.INFO: Acknowledgment sent {"connection_id":128725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:36:40] local.INFO: TCP Data received {"connection_id":128909,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:36:40] local.INFO: Processing buffer {"connection_id":128909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:36:40] local.INFO: Packet analysis {"connection_id":128909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:36:40] local.INFO: Extracted packet for processing {"connection_id":128909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:36:40] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 18:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:36: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-07-11 18:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:36:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":128909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:36:40] local.INFO: GPS data processed {"connection_id":128909,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:36:40] local.INFO: Acknowledgment sent {"connection_id":128909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:36:41] local.INFO: TCP Data received {"connection_id":128725,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51480818012d7bc34005dd89a8000600b027..."} 
[2026-07-11 18:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51480818012d7bc34005dd89a8000600b027..."} 
[2026-07-11 18:36:41] local.INFO: Processing buffer {"connection_id":128725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51480818012d7bc34005dd89a8000600b027..."} 
[2026-07-11 18:36:41] local.INFO: Packet analysis {"connection_id":128725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:36:41] local.INFO: Extracted packet for processing {"connection_id":128725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763085632,"raw_latitude":98404776,"longitude_deg":76.3085632,"latitude_deg":9.8404776,"altitude":6,"angle":176,"satellites":39,"speed":1,"hex_longitude":"2d7bc340","hex_latitude":"05dd89a8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646424576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145167387820032,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449803806720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783775103000,"timestamp_ms":1783775103000,"timestamp_seconds":1783775103,"priority":1,"record_length":96,"hex_timestamp":"0000019f51480818"} 
[2026-07-11 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-07-11 18:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-11 18:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646424576001,"66":11721,"33":206,"85":15104,"24":1,"16":105145167387820032,"45":8918112449803806720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-11 18:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646424576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:36:41] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145167387820032,"km_value":105145167387820.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449803806720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646424576001,"power":11721,"unknown_33":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8918112449803806720}} 
[2026-07-11 18:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":128725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:36:41] local.INFO: GPS data processed {"connection_id":128725,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:36:41] local.INFO: Acknowledgment sent {"connection_id":128725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:37:02] local.INFO: TCP Data received {"connection_id":128726,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:37:02] local.INFO: Processing buffer {"connection_id":128726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:37:02] local.INFO: IMEI packet received {"connection_id":128726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":128726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:37:03] local.INFO: TCP Data received {"connection_id":129617,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:37:03] local.INFO: Processing buffer {"connection_id":129617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:37:03] local.INFO: IMEI packet received {"connection_id":129617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":129617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:37:04] local.INFO: TCP Data received {"connection_id":130864,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:37:04] local.INFO: Processing buffer {"connection_id":130864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:37:04] local.INFO: IMEI packet received {"connection_id":130864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":130864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:37:05] local.INFO: TCP Data received {"connection_id":130864,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5146e708012d1899c007226308006a00d228..."} 
[2026-07-11 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5146e708012d1899c007226308006a00d228..."} 
[2026-07-11 18:37:05] local.INFO: Processing buffer {"connection_id":130864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5146e708012d1899c007226308006a00d228..."} 
[2026-07-11 18:37:05] local.INFO: Packet analysis {"connection_id":130864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5146"} 
[2026-07-11 18:37:05] local.INFO: Extracted packet for processing {"connection_id":130864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5146"} 
[2026-07-11 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756586944,"raw_latitude":119694088,"longitude_deg":75.6586944,"latitude_deg":11.9694088,"altitude":106,"angle":210,"satellites":40,"speed":41,"hex_longitude":"2d1899c0","hex_latitude":"07226308","is_valid_coordinates":true} 
[2026-07-11 18:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646405632001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5803299680813056,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658710638592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775029000,"timestamp_ms":1783775029000,"timestamp_seconds":1783775029,"priority":1,"record_length":96,"hex_timestamp":"0000019f5146e708"} 
[2026-07-11 18:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 18:37: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-07-11 18:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646405632001,"66":12428,"120":206,"28":31744,"24":41,"16":5803299680813056,"45":1775825658710638592},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646405632001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:37:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5803299680813056,"km_value":5803299680813.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658710638592,"description":"Unknown IO ID 45"} 
[2026-07-11 18:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646405632001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1775825658710638592}} 
[2026-07-11 18:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":130864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:37:05] local.INFO: GPS data processed {"connection_id":130864,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:37:05] local.INFO: Acknowledgment sent {"connection_id":130864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:37:07] local.INFO: TCP Data received {"connection_id":128726,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:37:07] local.INFO: Processing buffer {"connection_id":128726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:37:07] local.INFO: IMEI packet received {"connection_id":128726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":128726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:37:08] local.INFO: TCP Data received {"connection_id":128726,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51480fe8012d7bc34005dd8930000600a027..."} 
[2026-07-11 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51480fe8012d7bc34005dd8930000600a027..."} 
[2026-07-11 18:37:08] local.INFO: Processing buffer {"connection_id":128726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51480fe8012d7bc34005dd8930000600a027..."} 
[2026-07-11 18:37:08] local.INFO: Packet analysis {"connection_id":128726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:37:08] local.INFO: Extracted packet for processing {"connection_id":128726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763085632,"raw_latitude":98404656,"longitude_deg":76.3085632,"latitude_deg":9.8404656,"altitude":6,"angle":160,"satellites":39,"speed":2,"hex_longitude":"2d7bc340","hex_latitude":"05dd8930","is_valid_coordinates":true} 
[2026-07-11 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646426368001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145171682787328,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918042081059514368,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783775105000,"timestamp_ms":1783775105000,"timestamp_seconds":1783775105,"priority":1,"record_length":96,"hex_timestamp":"0000019f51480fe8"} 
[2026-07-11 18:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-11 18:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646426368001,"66":11624,"33":206,"85":15104,"24":2,"16":105145171682787328,"45":8918042081059514368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-11 18:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646426368001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:37:08] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145171682787328,"km_value":105145171682787.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918042081059514368,"description":"Unknown IO ID 45"} 
[2026-07-11 18:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646426368001,"power":11624,"unknown_33":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8918042081059514368}} 
[2026-07-11 18:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":128726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:37:08] local.INFO: GPS data processed {"connection_id":128726,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:37:08] local.INFO: Acknowledgment sent {"connection_id":128726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:37:09] local.INFO: TCP Data received {"connection_id":129617,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:37:09] local.INFO: Processing buffer {"connection_id":129617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:37:09] local.INFO: IMEI packet received {"connection_id":129617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":129617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:37:09] local.INFO: TCP Data received {"connection_id":129617,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:37:09] local.INFO: Processing buffer {"connection_id":129617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:37:09] local.INFO: Packet analysis {"connection_id":129617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:37:09] local.INFO: Extracted packet for processing {"connection_id":129617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:37:09] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 18:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:37: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-07-11 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:37:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:37:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":129617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:37:09] local.INFO: GPS data processed {"connection_id":129617,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:37:09] local.INFO: Acknowledgment sent {"connection_id":129617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:37:37] local.INFO: TCP Data received {"connection_id":130864,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51470a30012d188680072245d8006300d527..."} 
[2026-07-11 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51470a30012d188680072245d8006300d527..."} 
[2026-07-11 18:37:37] local.INFO: Processing buffer {"connection_id":130864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51470a30012d188680072245d8006300d527..."} 
[2026-07-11 18:37:37] local.INFO: Packet analysis {"connection_id":130864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:37:37] local.INFO: Extracted packet for processing {"connection_id":130864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756582016,"raw_latitude":119686616,"longitude_deg":75.6582016,"latitude_deg":11.9686616,"altitude":99,"angle":213,"satellites":39,"speed":37,"hex_longitude":"2d188680","hex_latitude":"072245d8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646407424001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5803729177542656,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772659065221220352,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783775038000,"timestamp_ms":1783775038000,"timestamp_seconds":1783775038,"priority":1,"record_length":96,"hex_timestamp":"0000019f51470a30"} 
[2026-07-11 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 18:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646407424001,"66":12776,"120":206,"28":31744,"24":37,"16":5803729177542656,"45":1772659065221220352},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646407424001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:37:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5803729177542656,"km_value":5803729177542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772659065221220352,"description":"Unknown IO ID 45"} 
[2026-07-11 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646407424001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1772659065221220352}} 
[2026-07-11 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":130864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:37:37] local.INFO: GPS data processed {"connection_id":130864,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:37:37] local.INFO: Acknowledgment sent {"connection_id":130864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:37:39] local.INFO: TCP Data received {"connection_id":128726,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f514817b8012d7bc38005dd88d00006008d28..."} 
[2026-07-11 18:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514817b8012d7bc38005dd88d00006008d28..."} 
[2026-07-11 18:37:39] local.INFO: Processing buffer {"connection_id":128726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514817b8012d7bc38005dd88d00006008d28..."} 
[2026-07-11 18:37:39] local.INFO: Packet analysis {"connection_id":128726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:37:39] local.INFO: Extracted packet for processing {"connection_id":128726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":98404560,"longitude_deg":76.3085696,"latitude_deg":9.840456,"altitude":6,"angle":141,"satellites":40,"speed":2,"hex_longitude":"2d7bc380","hex_latitude":"05dd88d0","is_valid_coordinates":true} 
[2026-07-11 18:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646426880001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145180272721920,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918042081059483648,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783775107000,"timestamp_ms":1783775107000,"timestamp_seconds":1783775107,"priority":1,"record_length":96,"hex_timestamp":"0000019f514817b8"} 
[2026-07-11 18:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-11 18:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646426880001,"66":11515,"33":206,"85":15104,"24":2,"16":105145180272721920,"45":8918042081059483648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-11 18:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646426880001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:37:39] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145180272721920,"km_value":105145180272721.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918042081059483648,"description":"Unknown IO ID 45"} 
[2026-07-11 18:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646426880001,"power":11515,"unknown_33":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8918042081059483648}} 
[2026-07-11 18:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":128726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:37:39] local.INFO: GPS data processed {"connection_id":128726,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:37:39] local.INFO: Acknowledgment sent {"connection_id":128726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:37:40] local.INFO: TCP Data received {"connection_id":129617,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:37:40] local.INFO: Processing buffer {"connection_id":129617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:37:40] local.INFO: Packet analysis {"connection_id":129617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:37:40] local.INFO: Extracted packet for processing {"connection_id":129617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 18:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:37: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-07-11 18: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-07-11 18:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:37:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":129617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:37:40] local.INFO: GPS data processed {"connection_id":129617,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:37:40] local.INFO: Acknowledgment sent {"connection_id":129617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:38:03] local.INFO: TCP Data received {"connection_id":128910,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:38:03] local.INFO: Processing buffer {"connection_id":128910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:38:03] local.INFO: IMEI packet received {"connection_id":128910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":128910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:38:04] local.INFO: TCP Data received {"connection_id":130866,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:38:04] local.INFO: Processing buffer {"connection_id":130866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:38:04] local.INFO: IMEI packet received {"connection_id":130866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":130866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:38:07] local.INFO: TCP Data received {"connection_id":130866,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:38:07] local.INFO: Processing buffer {"connection_id":130866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:38:07] local.INFO: IMEI packet received {"connection_id":130866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":130866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:38:08] local.INFO: TCP Data received {"connection_id":130867,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:38:08] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:38:08] local.INFO: IMEI packet received {"connection_id":130867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":130867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:38:08] local.INFO: TCP Data received {"connection_id":130866,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51473140012d187300072228a8005d00d527..."} 
[2026-07-11 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51473140012d187300072228a8005d00d527..."} 
[2026-07-11 18:38:08] local.INFO: Processing buffer {"connection_id":130866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51473140012d187300072228a8005d00d527..."} 
[2026-07-11 18:38:08] local.INFO: Packet analysis {"connection_id":130866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:38:08] local.INFO: Extracted packet for processing {"connection_id":130866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756577024,"raw_latitude":119679144,"longitude_deg":75.6577024,"latitude_deg":11.9679144,"altitude":93,"angle":213,"satellites":39,"speed":34,"hex_longitude":"2d187300","hex_latitude":"072228a8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646409728001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5804162969239552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767240671917627392,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783775048000,"timestamp_ms":1783775048000,"timestamp_seconds":1783775048,"priority":1,"record_length":96,"hex_timestamp":"0000019f51473140"} 
[2026-07-11 18:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 18:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646409728001,"66":12645,"120":206,"28":31744,"24":34,"16":5804162969239552,"45":1767240671917627392},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646409728001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:38:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5804162969239552,"km_value":5804162969239.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767240671917627392,"description":"Unknown IO ID 45"} 
[2026-07-11 18:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646409728001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1767240671917627392}} 
[2026-07-11 18:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":130866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:38:08] local.INFO: GPS data processed {"connection_id":130866,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:38:08] local.INFO: Acknowledgment sent {"connection_id":130866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:38:09] local.INFO: TCP Data received {"connection_id":128910,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:38:09] local.INFO: Processing buffer {"connection_id":128910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:38:09] local.INFO: IMEI packet received {"connection_id":128910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":128910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:38:09] local.INFO: TCP Data received {"connection_id":128910,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:38:09] local.INFO: Processing buffer {"connection_id":128910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:38:09] local.INFO: Packet analysis {"connection_id":128910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:38:09] local.INFO: Extracted packet for processing {"connection_id":128910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 18:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:38: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-07-11 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:38:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:38:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":128910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:38:09] local.INFO: GPS data processed {"connection_id":128910,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:38:09] local.INFO: Acknowledgment sent {"connection_id":128910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:38:12] local.INFO: TCP Data received {"connection_id":130867,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:38:12] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:38:12] local.INFO: IMEI packet received {"connection_id":130867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":130867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:38:13] local.INFO: TCP Data received {"connection_id":130867,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51481ba0012d7bc38005dd88c00006008028..."} 
[2026-07-11 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51481ba0012d7bc38005dd88c00006008028..."} 
[2026-07-11 18:38:13] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51481ba0012d7bc38005dd88c00006008028..."} 
[2026-07-11 18:38:13] local.INFO: Packet analysis {"connection_id":130867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:38:13] local.INFO: Extracted packet for processing {"connection_id":130867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":98404544,"longitude_deg":76.3085696,"latitude_deg":9.8404544,"altitude":6,"angle":128,"satellites":40,"speed":1,"hex_longitude":"2d7bc380","hex_latitude":"05dd88c0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646427392001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145180272721920,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449803636736,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783775108000,"timestamp_ms":1783775108000,"timestamp_seconds":1783775108,"priority":1,"record_length":96,"hex_timestamp":"0000019f51481ba0"} 
[2026-07-11 18:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-11 18:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646427392001,"66":11515,"33":206,"85":15104,"24":1,"16":105145180272721920,"45":8918112449803636736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-11 18:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646427392001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:38:13] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145180272721920,"km_value":105145180272721.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449803636736,"description":"Unknown IO ID 45"} 
[2026-07-11 18:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646427392001,"power":11515,"unknown_33":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8918112449803636736}} 
[2026-07-11 18:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":130867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:38:13] local.INFO: GPS data processed {"connection_id":130867,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:38:13] local.INFO: Acknowledgment sent {"connection_id":130867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:38:18] local.INFO: TCP Data received {"connection_id":130867,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51482758012d7bc3c005dd88900006007428..."} 
[2026-07-11 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51482758012d7bc3c005dd88900006007428..."} 
[2026-07-11 18:38:18] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51482758012d7bc3c005dd88900006007428..."} 
[2026-07-11 18:38:18] local.INFO: Packet analysis {"connection_id":130867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:38:18] local.INFO: Extracted packet for processing {"connection_id":130867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763085760,"raw_latitude":98404496,"longitude_deg":76.308576,"latitude_deg":9.8404496,"altitude":6,"angle":116,"satellites":40,"speed":0,"hex_longitude":"2d7bc3c0","hex_latitude":"05dd8890","is_valid_coordinates":true} 
[2026-07-11 18:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646427648001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145184567689216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449803632640,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783775111000,"timestamp_ms":1783775111000,"timestamp_seconds":1783775111,"priority":1,"record_length":96,"hex_timestamp":"0000019f51482758"} 
[2026-07-11 18:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-11 18:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646427648001,"66":11547,"33":206,"85":15104,"24":0,"16":105145184567689216,"45":8918112449803632640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-11 18:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646427648001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:38:18] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145184567689216,"km_value":105145184567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449803632640,"description":"Unknown IO ID 45"} 
[2026-07-11 18:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646427648001,"power":11547,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918112449803632640}} 
[2026-07-11 18:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":130867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:38:18] local.INFO: GPS data processed {"connection_id":130867,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:38:18] local.INFO: Acknowledgment sent {"connection_id":130867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:38:40] local.INFO: TCP Data received {"connection_id":130866,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51476fc0012d185f8007220ad0005700d128..."} 
[2026-07-11 18:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51476fc0012d185f8007220ad0005700d128..."} 
[2026-07-11 18:38:40] local.INFO: Processing buffer {"connection_id":130866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51476fc0012d185f8007220ad0005700d128..."} 
[2026-07-11 18:38:40] local.INFO: Packet analysis {"connection_id":130866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:38:40] local.INFO: Extracted packet for processing {"connection_id":130866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:38:40] local.INFO: GPS Element Parsed {"raw_longitude":756572032,"raw_latitude":119671504,"longitude_deg":75.6572032,"latitude_deg":11.9671504,"altitude":87,"angle":209,"satellites":40,"speed":9,"hex_longitude":"2d185f80","hex_latitude":"07220ad0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646412288001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5804605350871040,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761751909869856768,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783775064000,"timestamp_ms":1783775064000,"timestamp_seconds":1783775064,"priority":1,"record_length":96,"hex_timestamp":"0000019f51476fc0"} 
[2026-07-11 18:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 18:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646412288001,"66":12613,"120":206,"28":31744,"24":9,"16":5804605350871040,"45":1761751909869856768},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646412288001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:38:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:38:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5804605350871040,"km_value":5804605350871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761751909869856768,"description":"Unknown IO ID 45"} 
[2026-07-11 18:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646412288001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1761751909869856768}} 
[2026-07-11 18:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":130866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:38:40] local.INFO: GPS data processed {"connection_id":130866,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:38:40] local.INFO: Acknowledgment sent {"connection_id":130866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:38:40] local.INFO: TCP Data received {"connection_id":128910,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:38:40] local.INFO: Processing buffer {"connection_id":128910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:38:40] local.INFO: Packet analysis {"connection_id":128910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:38:40] local.INFO: Extracted packet for processing {"connection_id":128910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:38:40] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 18:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:38: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-07-11 18: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-07-11 18:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:38:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:38:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":128910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:38:40] local.INFO: GPS data processed {"connection_id":128910,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:38:40] local.INFO: Acknowledgment sent {"connection_id":128910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:38:59] local.INFO: TCP Data received {"connection_id":129618,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:38:59] local.INFO: Processing buffer {"connection_id":129618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:38:59] local.INFO: IMEI packet received {"connection_id":129618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":129618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:39:03] local.INFO: TCP Data received {"connection_id":128728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:39:03] local.INFO: Processing buffer {"connection_id":128728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:39:03] local.INFO: IMEI packet received {"connection_id":128728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":128728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:39:03] local.INFO: TCP Data received {"connection_id":130868,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:39:03] local.INFO: Processing buffer {"connection_id":130868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:39:03] local.INFO: IMEI packet received {"connection_id":130868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":130868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:39:04] local.INFO: TCP Data received {"connection_id":129618,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:39:04] local.INFO: Processing buffer {"connection_id":129618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:39:04] local.INFO: IMEI packet received {"connection_id":129618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":129618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:39:06] local.INFO: TCP Data received {"connection_id":129618,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5147c1c8012d185d8007220788005700d829..."} 
[2026-07-11 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5147c1c8012d185d8007220788005700d829..."} 
[2026-07-11 18:39:06] local.INFO: Processing buffer {"connection_id":129618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5147c1c8012d185d8007220788005700d829..."} 
[2026-07-11 18:39:06] local.INFO: Packet analysis {"connection_id":129618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:39:06] local.INFO: Extracted packet for processing {"connection_id":129618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5147"} 
[2026-07-11 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756571520,"raw_latitude":119670664,"longitude_deg":75.657152,"latitude_deg":11.9670664,"altitude":87,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d185d80","hex_latitude":"07220788","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646416384001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5804652595511296,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756263147822043136,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783775085000,"timestamp_ms":1783775085000,"timestamp_seconds":1783775085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5147c1c8"} 
[2026-07-11 18:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 18:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646416384001,"66":12461,"120":206,"28":31744,"24":0,"16":5804652595511296,"45":1756263147822043136},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646416384001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:39:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5804652595511296,"km_value":5804652595511.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756263147822043136,"description":"Unknown IO ID 45"} 
[2026-07-11 18:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646416384001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1756263147822043136}} 
[2026-07-11 18:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":129618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:39:06] local.INFO: GPS data processed {"connection_id":129618,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:39:06] local.INFO: Acknowledgment sent {"connection_id":129618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:39:08] local.INFO: TCP Data received {"connection_id":128728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:39:08] local.INFO: Processing buffer {"connection_id":128728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:39:08] local.INFO: IMEI packet received {"connection_id":128728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":128728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:39:08] local.INFO: TCP Data received {"connection_id":128728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51487578012d7bc3c005dd88900006007426..."} 
[2026-07-11 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51487578012d7bc3c005dd88900006007426..."} 
[2026-07-11 18:39:08] local.INFO: Processing buffer {"connection_id":128728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51487578012d7bc3c005dd88900006007426..."} 
[2026-07-11 18:39:08] local.INFO: Packet analysis {"connection_id":128728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:39:08] local.INFO: Extracted packet for processing {"connection_id":128728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763085760,"raw_latitude":98404496,"longitude_deg":76.308576,"latitude_deg":9.8404496,"altitude":6,"angle":116,"satellites":38,"speed":0,"hex_longitude":"2d7bc3c0","hex_latitude":"05dd8890","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646428416001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145184567689216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818547798016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783775131000,"timestamp_ms":1783775131000,"timestamp_seconds":1783775131,"priority":1,"record_length":96,"hex_timestamp":"0000019f51487578"} 
[2026-07-11 18:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 18:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646428416001,"66":11602,"169":206,"85":15104,"24":0,"16":105145184567689216,"45":8918182818547798016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646428416001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:39:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145184567689216,"km_value":105145184567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818547798016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646428416001,"power":11602,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918182818547798016}} 
[2026-07-11 18:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":128728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:39:08] local.INFO: GPS data processed {"connection_id":128728,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:39:08] local.INFO: Acknowledgment sent {"connection_id":128728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:39:09] local.INFO: TCP Data received {"connection_id":130868,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:39:09] local.INFO: Processing buffer {"connection_id":130868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:39:09] local.INFO: IMEI packet received {"connection_id":130868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":130868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:39:09] local.INFO: TCP Data received {"connection_id":130868,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:39:09] local.INFO: Processing buffer {"connection_id":130868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:39:09] local.INFO: Packet analysis {"connection_id":130868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:39:09] local.INFO: Extracted packet for processing {"connection_id":130868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:39:09] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 18:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:39: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-07-11 18:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:39:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":130868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:39:09] local.INFO: GPS data processed {"connection_id":130868,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:39:09] local.INFO: Acknowledgment sent {"connection_id":130868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:39:38] local.INFO: TCP Data received {"connection_id":129618,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514ae678012d1820c00721b190004d00d129..."} 
[2026-07-11 18:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514ae678012d1820c00721b190004d00d129..."} 
[2026-07-11 18:39:38] local.INFO: Processing buffer {"connection_id":129618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514ae678012d1820c00721b190004d00d129..."} 
[2026-07-11 18:39:38] local.INFO: Packet analysis {"connection_id":129618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514a"} 
[2026-07-11 18:39:38] local.INFO: Extracted packet for processing {"connection_id":129618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514a"} 
[2026-07-11 18:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646469120001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783775291000,"timestamp_ms":1783775291000,"timestamp_seconds":1783775291,"priority":1,"record_length":96,"hex_timestamp":"0000019f514ae678"} 
[2026-07-11 18:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:39:38] 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-07-11 18:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646469120001,"66":12885,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646469120001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:39:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646469120001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":129618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:39:38] local.INFO: GPS data processed {"connection_id":129618,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:39:38] local.INFO: Acknowledgment sent {"connection_id":129618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:39:39] local.INFO: TCP Data received {"connection_id":128728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5148c780012d7bc3c005dd88900006007428..."} 
[2026-07-11 18:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5148c780012d7bc3c005dd88900006007428..."} 
[2026-07-11 18:39:39] local.INFO: Processing buffer {"connection_id":128728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5148c780012d7bc3c005dd88900006007428..."} 
[2026-07-11 18:39:39] local.INFO: Packet analysis {"connection_id":128728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:39:39] local.INFO: Extracted packet for processing {"connection_id":128728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763085760,"raw_latitude":98404496,"longitude_deg":76.308576,"latitude_deg":9.8404496,"altitude":6,"angle":116,"satellites":40,"speed":0,"hex_longitude":"2d7bc3c0","hex_latitude":"05dd8890","is_valid_coordinates":true} 
[2026-07-11 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646433536001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145184567689216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818547798016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783775152000,"timestamp_ms":1783775152000,"timestamp_seconds":1783775152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5148c780"} 
[2026-07-11 18:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:39: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-07-11 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-11 18:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646433536001,"66":11547,"169":206,"85":15104,"24":0,"16":105145184567689216,"45":8918182818547798016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646433536001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:39:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145184567689216,"km_value":105145184567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818547798016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646433536001,"power":11547,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918182818547798016}} 
[2026-07-11 18:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":128728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:39:39] local.INFO: GPS data processed {"connection_id":128728,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:39:39] local.INFO: Acknowledgment sent {"connection_id":128728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:39:40] local.INFO: TCP Data received {"connection_id":130868,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:39:40] local.INFO: Processing buffer {"connection_id":130868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:39:40] local.INFO: Packet analysis {"connection_id":130868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:39:40] local.INFO: Extracted packet for processing {"connection_id":130868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 18:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:39: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-07-11 18: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-07-11 18:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:39:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":130868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:39:40] local.INFO: GPS data processed {"connection_id":130868,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:39:40] local.INFO: Acknowledgment sent {"connection_id":130868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:39:59] local.INFO: TCP Data received {"connection_id":129619,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:39:59] local.INFO: Processing buffer {"connection_id":129619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:39:59] local.INFO: IMEI packet received {"connection_id":129619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":129619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:40:03] local.INFO: TCP Data received {"connection_id":128729,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:40:03] local.INFO: Processing buffer {"connection_id":128729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:40:03] local.INFO: IMEI packet received {"connection_id":128729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":128729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:40:04] local.INFO: TCP Data received {"connection_id":129619,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:40:04] local.INFO: Processing buffer {"connection_id":129619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:40:04] local.INFO: IMEI packet received {"connection_id":129619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":129619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:40:05] local.INFO: TCP Data received {"connection_id":129619,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514b3880012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514b3880012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:40:05] local.INFO: Processing buffer {"connection_id":129619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514b3880012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:40:05] local.INFO: Packet analysis {"connection_id":129619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514b"} 
[2026-07-11 18:40:05] local.INFO: Extracted packet for processing {"connection_id":129619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514b"} 
[2026-07-11 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646474496001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775312000,"timestamp_ms":1783775312000,"timestamp_seconds":1783775312,"priority":1,"record_length":96,"hex_timestamp":"0000019f514b3880"} 
[2026-07-11 18:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 18:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646474496001,"66":12885,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646474496001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:40:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646474496001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":129619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:40:05] local.INFO: GPS data processed {"connection_id":129619,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:40:05] local.INFO: Acknowledgment sent {"connection_id":129619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:40:08] local.INFO: TCP Data received {"connection_id":128729,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:40:08] local.INFO: Processing buffer {"connection_id":128729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:40:08] local.INFO: IMEI packet received {"connection_id":128729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":128729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:40:08] local.INFO: TCP Data received {"connection_id":128729,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51491988012d7bc3c005dd88900006007428..."} 
[2026-07-11 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51491988012d7bc3c005dd88900006007428..."} 
[2026-07-11 18:40:08] local.INFO: Processing buffer {"connection_id":128729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51491988012d7bc3c005dd88900006007428..."} 
[2026-07-11 18:40:08] local.INFO: Packet analysis {"connection_id":128729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:40:08] local.INFO: Extracted packet for processing {"connection_id":128729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763085760,"raw_latitude":98404496,"longitude_deg":76.308576,"latitude_deg":9.8404496,"altitude":6,"angle":116,"satellites":40,"speed":0,"hex_longitude":"2d7bc3c0","hex_latitude":"05dd8890","is_valid_coordinates":true} 
[2026-07-11 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646438912001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145184567689216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818547798016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783775173000,"timestamp_ms":1783775173000,"timestamp_seconds":1783775173,"priority":1,"record_length":96,"hex_timestamp":"0000019f51491988"} 
[2026-07-11 18:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 18:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646438912001,"66":11471,"169":206,"85":15104,"24":0,"16":105145184567689216,"45":8918182818547798016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646438912001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:40:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145184567689216,"km_value":105145184567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818547798016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646438912001,"power":11471,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918182818547798016}} 
[2026-07-11 18:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":128729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:40:08] local.INFO: GPS data processed {"connection_id":128729,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:40:08] local.INFO: Acknowledgment sent {"connection_id":128729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:40:09] local.INFO: TCP Data received {"connection_id":130869,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:40:09] local.INFO: Processing buffer {"connection_id":130869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:40:09] local.INFO: IMEI packet received {"connection_id":130869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":130869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:40:14] local.INFO: TCP Data received {"connection_id":130869,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:40:14] local.INFO: Processing buffer {"connection_id":130869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:40:14] local.INFO: IMEI packet received {"connection_id":130869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":130869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:40:14] local.INFO: TCP Data received {"connection_id":130869,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:40:14] local.INFO: Processing buffer {"connection_id":130869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:40:14] local.INFO: Packet analysis {"connection_id":130869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:40:14] local.INFO: Extracted packet for processing {"connection_id":130869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 18:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:40:14] 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-07-11 18:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:40:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:40:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":130869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:40:14] local.INFO: GPS data processed {"connection_id":130869,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:40:14] local.INFO: Acknowledgment sent {"connection_id":130869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:40:15] local.INFO: TCP Data received {"connection_id":128911,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:40:15] local.INFO: Processing buffer {"connection_id":128911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:40:15] local.INFO: IMEI packet received {"connection_id":128911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":128911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:40:19] local.INFO: TCP Data received {"connection_id":130869,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:40:19] local.INFO: Processing buffer {"connection_id":130869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:40:19] local.INFO: Packet analysis {"connection_id":130869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:40:19] local.INFO: Extracted packet for processing {"connection_id":130869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 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-07-11 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:40:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":130869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:40:19] local.INFO: GPS data processed {"connection_id":130869,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:40:19] local.INFO: Acknowledgment sent {"connection_id":130869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:40:37] local.INFO: TCP Data received {"connection_id":129619,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514b8a88012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514b8a88012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:40:37] local.INFO: Processing buffer {"connection_id":129619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514b8a88012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:40:37] local.INFO: Packet analysis {"connection_id":129619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514b"} 
[2026-07-11 18:40:37] local.INFO: Extracted packet for processing {"connection_id":129619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514b"} 
[2026-07-11 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646479872001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783775333000,"timestamp_ms":1783775333000,"timestamp_seconds":1783775333,"priority":1,"record_length":96,"hex_timestamp":"0000019f514b8a88"} 
[2026-07-11 18:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 18:40: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-07-11 18:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646479872001,"66":12863,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646479872001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:40:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646479872001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":129619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:40:37] local.INFO: GPS data processed {"connection_id":129619,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:40:37] local.INFO: Acknowledgment sent {"connection_id":129619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:40:39] local.INFO: TCP Data received {"connection_id":128729,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51495bf0012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51495bf0012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:40:39] local.INFO: Processing buffer {"connection_id":128729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51495bf0012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:40:39] local.INFO: Packet analysis {"connection_id":128729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:40:39] local.INFO: Extracted packet for processing {"connection_id":128729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763085760,"raw_latitude":98404496,"longitude_deg":76.308576,"latitude_deg":9.8404496,"altitude":6,"angle":116,"satellites":39,"speed":0,"hex_longitude":"2d7bc3c0","hex_latitude":"05dd8890","is_valid_coordinates":true} 
[2026-07-11 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646444288001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145184567689216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818547798016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783775190000,"timestamp_ms":1783775190000,"timestamp_seconds":1783775190,"priority":1,"record_length":96,"hex_timestamp":"0000019f51495bf0"} 
[2026-07-11 18:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 18:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646444288001,"66":11504,"169":206,"85":15104,"24":0,"16":105145184567689216,"45":8918182818547798016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646444288001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:40:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145184567689216,"km_value":105145184567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818547798016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646444288001,"power":11504,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918182818547798016}} 
[2026-07-11 18:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":128729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:40:39] local.INFO: GPS data processed {"connection_id":128729,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:40:39] local.INFO: Acknowledgment sent {"connection_id":128729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:40:50] local.INFO: TCP Data received {"connection_id":130870,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:40:50] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:40:50] local.INFO: IMEI packet received {"connection_id":130870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":130870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:40:59] local.INFO: TCP Data received {"connection_id":130871,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:40:59] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:40:59] local.INFO: IMEI packet received {"connection_id":130871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":130871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:41:03] local.INFO: TCP Data received {"connection_id":128912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:41:03] local.INFO: Processing buffer {"connection_id":128912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:41:03] local.INFO: IMEI packet received {"connection_id":128912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":128912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:41:04] local.INFO: TCP Data received {"connection_id":128730,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:41:04] local.INFO: Processing buffer {"connection_id":128730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:41:04] local.INFO: IMEI packet received {"connection_id":128730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":128730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:41:04] local.INFO: TCP Data received {"connection_id":130871,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:41:04] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:41:04] local.INFO: IMEI packet received {"connection_id":130871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":130871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:41:05] local.INFO: TCP Data received {"connection_id":130871,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514bdc90012d1820c00721b190004d00d129..."} 
[2026-07-11 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514bdc90012d1820c00721b190004d00d129..."} 
[2026-07-11 18:41:05] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514bdc90012d1820c00721b190004d00d129..."} 
[2026-07-11 18:41:05] local.INFO: Packet analysis {"connection_id":130871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514b"} 
[2026-07-11 18:41:05] local.INFO: Extracted packet for processing {"connection_id":130871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514b"} 
[2026-07-11 18:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646485248001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775354000,"timestamp_ms":1783775354000,"timestamp_seconds":1783775354,"priority":1,"record_length":96,"hex_timestamp":"0000019f514bdc90"} 
[2026-07-11 18:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 18:41:05] 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-07-11 18:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646485248001,"66":12841,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646485248001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:41:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646485248001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":130871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:41:05] local.INFO: GPS data processed {"connection_id":130871,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:41:05] local.INFO: Acknowledgment sent {"connection_id":130871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:41:08] local.INFO: TCP Data received {"connection_id":128912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:41:08] local.INFO: Processing buffer {"connection_id":128912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:41:08] local.INFO: IMEI packet received {"connection_id":128912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":128912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:41:08] local.INFO: TCP Data received {"connection_id":128912,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51495bf0012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51495bf0012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:41:08] local.INFO: Processing buffer {"connection_id":128912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51495bf0012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:41:08] local.INFO: Packet analysis {"connection_id":128912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:41:08] local.INFO: Extracted packet for processing {"connection_id":128912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763085760,"raw_latitude":98404496,"longitude_deg":76.308576,"latitude_deg":9.8404496,"altitude":6,"angle":116,"satellites":39,"speed":0,"hex_longitude":"2d7bc3c0","hex_latitude":"05dd8890","is_valid_coordinates":true} 
[2026-07-11 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646448640001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145184567689216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818547798016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783775190000,"timestamp_ms":1783775190000,"timestamp_seconds":1783775190,"priority":1,"record_length":96,"hex_timestamp":"0000019f51495bf0"} 
[2026-07-11 18:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 18:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2578,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646448640001,"66":11504,"169":206,"85":15104,"24":0,"16":105145184567689216,"45":8918182818547798016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646448640001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:41:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145184567689216,"km_value":105145184567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818547798016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646448640001,"power":11504,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918182818547798016}} 
[2026-07-11 18:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":128912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:41:08] local.INFO: GPS data processed {"connection_id":128912,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:41:08] local.INFO: Acknowledgment sent {"connection_id":128912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:41:09] local.INFO: TCP Data received {"connection_id":128730,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:41:09] local.INFO: Processing buffer {"connection_id":128730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:41:09] local.INFO: IMEI packet received {"connection_id":128730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":128730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:41:09] local.INFO: TCP Data received {"connection_id":128730,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:41:09] local.INFO: Processing buffer {"connection_id":128730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51489c88012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:41:09] local.INFO: Packet analysis {"connection_id":128730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:41:09] local.INFO: Extracted packet for processing {"connection_id":128730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5148"} 
[2026-07-11 18:41:09] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646358784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775141000,"timestamp_ms":1783775141000,"timestamp_seconds":1783775141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51489c88"} 
[2026-07-11 18:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:41: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-07-11 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 18:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646358784001,"66":26310,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646358784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:41:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:41:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646358784001,"power":26310,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":128730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:41:09] local.INFO: GPS data processed {"connection_id":128730,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:41:09] local.INFO: Acknowledgment sent {"connection_id":128730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:41:37] local.INFO: TCP Data received {"connection_id":130871,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514c2e98012d1820c00721b190004d00d12b..."} 
[2026-07-11 18:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514c2e98012d1820c00721b190004d00d12b..."} 
[2026-07-11 18:41:37] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514c2e98012d1820c00721b190004d00d12b..."} 
[2026-07-11 18:41:37] local.INFO: Packet analysis {"connection_id":130871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514c"} 
[2026-07-11 18:41:37] local.INFO: Extracted packet for processing {"connection_id":130871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514c"} 
[2026-07-11 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646490624001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783775375000,"timestamp_ms":1783775375000,"timestamp_seconds":1783775375,"priority":1,"record_length":96,"hex_timestamp":"0000019f514c2e98"} 
[2026-07-11 18:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-11 18:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646490624001,"66":12819,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646490624001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:41:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646490624001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":130871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:41:37] local.INFO: GPS data processed {"connection_id":130871,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:41:37] local.INFO: Acknowledgment sent {"connection_id":130871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:41:39] local.INFO: TCP Data received {"connection_id":128912,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51496f78012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51496f78012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:41:39] local.INFO: Processing buffer {"connection_id":128912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51496f78012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:41:39] local.INFO: Packet analysis {"connection_id":128912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:41:39] local.INFO: Extracted packet for processing {"connection_id":128912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763085760,"raw_latitude":98404496,"longitude_deg":76.308576,"latitude_deg":9.8404496,"altitude":6,"angle":116,"satellites":39,"speed":0,"hex_longitude":"2d7bc3c0","hex_latitude":"05dd8890","is_valid_coordinates":true} 
[2026-07-11 18:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646448640001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145184567689216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818547798016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783775195000,"timestamp_ms":1783775195000,"timestamp_seconds":1783775195,"priority":1,"record_length":96,"hex_timestamp":"0000019f51496f78"} 
[2026-07-11 18:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 18:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2578,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646448640001,"66":11917,"169":206,"85":15104,"24":0,"16":105145184567689216,"45":8918182818547798016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646448640001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:41:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145184567689216,"km_value":105145184567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818547798016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646448640001,"power":11917,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918182818547798016}} 
[2026-07-11 18:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":128912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:41:39] local.INFO: GPS data processed {"connection_id":128912,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:41:39] local.INFO: Acknowledgment sent {"connection_id":128912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:41:40] local.INFO: TCP Data received {"connection_id":128730,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f514d3450012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514d3450012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:41:40] local.INFO: Processing buffer {"connection_id":128730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514d3450012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:41:40] local.INFO: Packet analysis {"connection_id":128730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:41:40] local.INFO: Extracted packet for processing {"connection_id":128730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:41:40] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646436096001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835740067987208192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783775442000,"timestamp_ms":1783775442000,"timestamp_seconds":1783775442,"priority":1,"record_length":96,"hex_timestamp":"0000019f514d3450"} 
[2026-07-11 18:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:41: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-07-11 18: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 18:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646436096001,"66":26136,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835740067987208192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646436096001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:41:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835740067987208192,"description":"Unknown IO ID 44"} 
[2026-07-11 18:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646436096001,"power":26136,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835740067987208192}} 
[2026-07-11 18:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":128730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:41:40] local.INFO: GPS data processed {"connection_id":128730,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:41:40] local.INFO: Acknowledgment sent {"connection_id":128730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:41:58] local.INFO: TCP Data received {"connection_id":129620,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:41:58] local.INFO: Processing buffer {"connection_id":129620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:41:58] local.INFO: IMEI packet received {"connection_id":129620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":129620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:41:59] local.INFO: TCP Data received {"connection_id":129620,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:41:59] local.INFO: Processing buffer {"connection_id":129620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:41:59] local.INFO: IMEI packet received {"connection_id":129620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":129620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:42:02] local.INFO: TCP Data received {"connection_id":128914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:42:02] local.INFO: Processing buffer {"connection_id":128914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:42:02] local.INFO: IMEI packet received {"connection_id":128914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":128914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:42:03] local.INFO: TCP Data received {"connection_id":130872,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:42:03] local.INFO: Processing buffer {"connection_id":130872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:42:03] local.INFO: IMEI packet received {"connection_id":130872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":130872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:42:04] local.INFO: TCP Data received {"connection_id":129620,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:42:04] local.INFO: Processing buffer {"connection_id":129620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:42:04] local.INFO: IMEI packet received {"connection_id":129620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":129620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:42:05] local.INFO: TCP Data received {"connection_id":129620,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514c80a0012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514c80a0012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:42:05] local.INFO: Processing buffer {"connection_id":129620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514c80a0012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:42:05] local.INFO: Packet analysis {"connection_id":129620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514c"} 
[2026-07-11 18:42:05] local.INFO: Extracted packet for processing {"connection_id":129620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514c"} 
[2026-07-11 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646496000001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775396000,"timestamp_ms":1783775396000,"timestamp_seconds":1783775396,"priority":1,"record_length":96,"hex_timestamp":"0000019f514c80a0"} 
[2026-07-11 18:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503688219197440,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":81,"raw_value":5327863917347086976,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979004493,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182212529750272,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573985903076,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2692874240,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427950373823107371,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194775040,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84750517330715060,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.WARNING: Large IO value detected {"io_id":184,"raw_value":21955937946306048,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,160,159,220,45,192,177,77,41,10,66,138,42,56,1,240,85,81,33,4,113,205,148,32,144,43,239,50,2,20,7,124,130,69,88,184],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-07-11 18:42:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548664723534249984,"timestamp_seconds":5548664723534250.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646496000001,"66":12798,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646496000001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:42:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646496000001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":129620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:42:05] local.INFO: GPS data processed {"connection_id":129620,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:42:05] local.INFO: Acknowledgment sent {"connection_id":129620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:42:08] local.INFO: TCP Data received {"connection_id":128914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:42:08] local.INFO: Processing buffer {"connection_id":128914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:42:08] local.INFO: IMEI packet received {"connection_id":128914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":128914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:42:08] local.INFO: TCP Data received {"connection_id":128914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f51496f78012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51496f78012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:42:08] local.INFO: Processing buffer {"connection_id":128914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51496f78012d7bc3c005dd88900006007427..."} 
[2026-07-11 18:42:08] local.INFO: Packet analysis {"connection_id":128914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:42:08] local.INFO: Extracted packet for processing {"connection_id":128914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5149"} 
[2026-07-11 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763085760,"raw_latitude":98404496,"longitude_deg":76.308576,"latitude_deg":9.8404496,"altitude":6,"angle":116,"satellites":39,"speed":0,"hex_longitude":"2d7bc3c0","hex_latitude":"05dd8890","is_valid_coordinates":true} 
[2026-07-11 18:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646449920001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145184567689216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818547798016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783775195000,"timestamp_ms":1783775195000,"timestamp_seconds":1783775195,"priority":1,"record_length":96,"hex_timestamp":"0000019f51496f78"} 
[2026-07-11 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-07-11 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 18:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646449920001,"66":11917,"169":206,"85":15104,"24":0,"16":105145184567689216,"45":8918182818547798016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646449920001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:42:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145184567689216,"km_value":105145184567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818547798016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646449920001,"power":11917,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918182818547798016}} 
[2026-07-11 18:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":128914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:42:08] local.INFO: GPS data processed {"connection_id":128914,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:42:08] local.INFO: Acknowledgment sent {"connection_id":128914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:42:09] local.INFO: TCP Data received {"connection_id":130872,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:42:09] local.INFO: Processing buffer {"connection_id":130872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:42:09] local.INFO: IMEI packet received {"connection_id":130872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":130872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:42:09] local.INFO: TCP Data received {"connection_id":130872,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f514d3450012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514d3450012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:42:09] local.INFO: Processing buffer {"connection_id":130872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514d3450012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:42:09] local.INFO: Packet analysis {"connection_id":130872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:42:09] local.INFO: Extracted packet for processing {"connection_id":130872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646436096001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835740067987208192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775442000,"timestamp_ms":1783775442000,"timestamp_seconds":1783775442,"priority":1,"record_length":96,"hex_timestamp":"0000019f514d3450"} 
[2026-07-11 18:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18: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-07-11 18: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 18:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646436096001,"66":26136,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835740067987208192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646436096001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:42:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835740067987208192,"description":"Unknown IO ID 44"} 
[2026-07-11 18:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646436096001,"power":26136,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835740067987208192}} 
[2026-07-11 18:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":130872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:42:09] local.INFO: GPS data processed {"connection_id":130872,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:42:09] local.INFO: Acknowledgment sent {"connection_id":130872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:42:37] local.INFO: TCP Data received {"connection_id":129620,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514cd2a8012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514cd2a8012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:42:37] local.INFO: Processing buffer {"connection_id":129620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514cd2a8012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:42:37] local.INFO: Packet analysis {"connection_id":129620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514c"} 
[2026-07-11 18:42:37] local.INFO: Extracted packet for processing {"connection_id":129620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514c"} 
[2026-07-11 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646501376001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783775417000,"timestamp_ms":1783775417000,"timestamp_seconds":1783775417,"priority":1,"record_length":96,"hex_timestamp":"0000019f514cd2a8"} 
[2026-07-11 18:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 18:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646501376001,"66":12776,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646501376001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:42:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646501376001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":129620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:42:37] local.INFO: GPS data processed {"connection_id":129620,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:42:37] local.INFO: Acknowledgment sent {"connection_id":129620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:42:39] local.INFO: TCP Data received {"connection_id":128914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f514df3b8012d7bc44005dd88a80006007427..."} 
[2026-07-11 18:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514df3b8012d7bc44005dd88a80006007427..."} 
[2026-07-11 18:42:39] local.INFO: Processing buffer {"connection_id":128914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514df3b8012d7bc44005dd88a80006007427..."} 
[2026-07-11 18:42:39] local.INFO: Packet analysis {"connection_id":128914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:42:39] local.INFO: Extracted packet for processing {"connection_id":128914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98404520,"longitude_deg":76.3085888,"latitude_deg":9.840452,"altitude":6,"angle":116,"satellites":39,"speed":0,"hex_longitude":"2d7bc440","hex_latitude":"05dd88a8","is_valid_coordinates":true} 
[2026-07-11 18:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646449920001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105145184567689216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818547798016,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783775491000,"timestamp_ms":1783775491000,"timestamp_seconds":1783775491,"priority":1,"record_length":96,"hex_timestamp":"0000019f514df3b8"} 
[2026-07-11 18:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 18:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 18:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646449920001,"66":2231,"169":206,"85":15104,"24":0,"16":105145184567689216,"45":8918182818547798016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646449920001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:42:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105145184567689216,"km_value":105145184567689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818547798016,"description":"Unknown IO ID 45"} 
[2026-07-11 18:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646449920001,"power":2231,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8918182818547798016}} 
[2026-07-11 18:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":128914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:42:39] local.INFO: GPS data processed {"connection_id":128914,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:42:39] local.INFO: Acknowledgment sent {"connection_id":128914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:42:41] local.INFO: TCP Data received {"connection_id":130872,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f514d3450012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514d3450012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:42:41] local.INFO: Processing buffer {"connection_id":130872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514d3450012cbce400076d7fc8004800f92e..."} 
[2026-07-11 18:42:41] local.INFO: Packet analysis {"connection_id":130872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:42:41] local.INFO: Extracted packet for processing {"connection_id":130872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646436096001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835740067987208192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783775442000,"timestamp_ms":1783775442000,"timestamp_seconds":1783775442,"priority":1,"record_length":96,"hex_timestamp":"0000019f514d3450"} 
[2026-07-11 18:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:42: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-07-11 18: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 18:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646436096001,"66":26136,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835740067987208192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646436096001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:42:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835740067987208192,"description":"Unknown IO ID 44"} 
[2026-07-11 18:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646436096001,"power":26136,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835740067987208192}} 
[2026-07-11 18:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":130872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:42:41] local.INFO: GPS data processed {"connection_id":130872,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:42:41] local.INFO: Acknowledgment sent {"connection_id":130872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:42:59] local.INFO: TCP Data received {"connection_id":128915,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:42:59] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:42:59] local.INFO: IMEI packet received {"connection_id":128915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":128915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:43:01] local.INFO: TCP Data received {"connection_id":128915,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:43:01] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:43:01] local.INFO: IMEI packet received {"connection_id":128915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":128915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:43:03] local.INFO: TCP Data received {"connection_id":128733,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:43:03] local.INFO: Processing buffer {"connection_id":128733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:43:03] local.INFO: IMEI packet received {"connection_id":128733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":128733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:43:04] local.INFO: TCP Data received {"connection_id":128915,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:43:04] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:43:04] local.INFO: IMEI packet received {"connection_id":128915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":128915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:43:05] local.INFO: TCP Data received {"connection_id":128915,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514d24b0012d1820c00721b190004d00d129..."} 
[2026-07-11 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514d24b0012d1820c00721b190004d00d129..."} 
[2026-07-11 18:43:05] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514d24b0012d1820c00721b190004d00d129..."} 
[2026-07-11 18:43:05] local.INFO: Packet analysis {"connection_id":128915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:43:05] local.INFO: Extracted packet for processing {"connection_id":128915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646506752001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775438000,"timestamp_ms":1783775438000,"timestamp_seconds":1783775438,"priority":1,"record_length":96,"hex_timestamp":"0000019f514d24b0"} 
[2026-07-11 18:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 18:43: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-07-11 18:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646506752001,"66":12776,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646506752001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:43:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646506752001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":128915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:43:05] local.INFO: GPS data processed {"connection_id":128915,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:43:05] local.INFO: Acknowledgment sent {"connection_id":128915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:43:08] local.INFO: TCP Data received {"connection_id":128732,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:43:08] local.INFO: Processing buffer {"connection_id":128732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:43:08] local.INFO: IMEI packet received {"connection_id":128732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":128732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:43:08] local.INFO: TCP Data received {"connection_id":128733,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:43:08] local.INFO: Processing buffer {"connection_id":128733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:43:08] local.INFO: IMEI packet received {"connection_id":128733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":128733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:43:09] local.INFO: TCP Data received {"connection_id":128733,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f514e97c8012cbce400076d7fc8004800f92d..."} 
[2026-07-11 18:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514e97c8012cbce400076d7fc8004800f92d..."} 
[2026-07-11 18:43:09] local.INFO: Processing buffer {"connection_id":128733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514e97c8012cbce400076d7fc8004800f92d..."} 
[2026-07-11 18:43:09] local.INFO: Packet analysis {"connection_id":128733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:43:09] local.INFO: Extracted packet for processing {"connection_id":128733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:43:09] local.INFO: GPS Element Parsed {"raw_longitude":750576640,"raw_latitude":124616648,"longitude_deg":75.057664,"latitude_deg":12.4616648,"altitude":72,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cbce400","hex_latitude":"076d7fc8","is_valid_coordinates":true} 
[2026-07-11 18:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646513152001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835740067987208192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775533000,"timestamp_ms":1783775533000,"timestamp_seconds":1783775533,"priority":1,"record_length":96,"hex_timestamp":"0000019f514e97c8"} 
[2026-07-11 18:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:43: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-07-11 18: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-11 18:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:43: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-07-11 18:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646513152001,"66":26039,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835740067987208192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646513152001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:43:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835740067987208192,"description":"Unknown IO ID 44"} 
[2026-07-11 18:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646513152001,"power":26039,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835740067987208192}} 
[2026-07-11 18:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":128733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:43:09] local.INFO: GPS data processed {"connection_id":128733,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:43:09] local.INFO: Acknowledgment sent {"connection_id":128733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:43:13] local.INFO: TCP Data received {"connection_id":128732,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:43:13] local.INFO: Processing buffer {"connection_id":128732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:43:13] local.INFO: IMEI packet received {"connection_id":128732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":128732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:43:37] local.INFO: TCP Data received {"connection_id":128915,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514d76b8012d1820c00721b190004d00d12c..."} 
[2026-07-11 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514d76b8012d1820c00721b190004d00d12c..."} 
[2026-07-11 18:43:37] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514d76b8012d1820c00721b190004d00d12c..."} 
[2026-07-11 18:43:37] local.INFO: Packet analysis {"connection_id":128915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:43:37] local.INFO: Extracted packet for processing {"connection_id":128915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646512128001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783775459000,"timestamp_ms":1783775459000,"timestamp_seconds":1783775459,"priority":1,"record_length":96,"hex_timestamp":"0000019f514d76b8"} 
[2026-07-11 18:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 18:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646512128001,"66":12743,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646512128001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:43:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646512128001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":128915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:43:37] local.INFO: GPS data processed {"connection_id":128915,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:43:37] local.INFO: Acknowledgment sent {"connection_id":128915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:43:42] local.INFO: TCP Data received {"connection_id":128733,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f514ef588012cbce540076d7f88004800f92a..."} 
[2026-07-11 18:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514ef588012cbce540076d7f88004800f92a..."} 
[2026-07-11 18:43:42] local.INFO: Processing buffer {"connection_id":128733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514ef588012cbce540076d7f88004800f92a..."} 
[2026-07-11 18:43:42] local.INFO: Packet analysis {"connection_id":128733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:43:42] local.INFO: Extracted packet for processing {"connection_id":128733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:43:42] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":42,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646536448001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835740067987208192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783775557000,"timestamp_ms":1783775557000,"timestamp_seconds":1783775557,"priority":1,"record_length":96,"hex_timestamp":"0000019f514ef588"} 
[2026-07-11 18:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 18:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646536448001,"66":27789,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835740067987208192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646536448001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:43:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835740067987208192,"description":"Unknown IO ID 44"} 
[2026-07-11 18:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646536448001,"power":27789,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835740067987208192}} 
[2026-07-11 18:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":128733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:43:42] local.INFO: GPS data processed {"connection_id":128733,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:43:42] local.INFO: Acknowledgment sent {"connection_id":128733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:44:03] local.INFO: TCP Data received {"connection_id":129622,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:44:03] local.INFO: Processing buffer {"connection_id":129622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:44:03] local.INFO: IMEI packet received {"connection_id":129622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":129622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:44:03] local.INFO: TCP Data received {"connection_id":129622,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:44:03] local.INFO: Processing buffer {"connection_id":129622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:44:03] local.INFO: IMEI packet received {"connection_id":129622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":129622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:44:04] local.INFO: TCP Data received {"connection_id":129621,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:04] local.INFO: Processing buffer {"connection_id":129621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:04] local.INFO: IMEI packet received {"connection_id":129621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":129621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:44:04] local.INFO: TCP Data received {"connection_id":129622,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:44:04] local.INFO: Processing buffer {"connection_id":129622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:44:04] local.INFO: IMEI packet received {"connection_id":129622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":129622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:44:05] local.INFO: TCP Data received {"connection_id":129621,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:05] local.INFO: Processing buffer {"connection_id":129621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:05] local.INFO: IMEI packet received {"connection_id":129621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":129621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:44:05] local.INFO: TCP Data received {"connection_id":129622,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f514f43a8012cbce540076d7f88004800f929..."} 
[2026-07-11 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514f43a8012cbce540076d7f88004800f929..."} 
[2026-07-11 18:44:05] local.INFO: Processing buffer {"connection_id":129622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514f43a8012cbce540076d7f88004800f929..."} 
[2026-07-11 18:44:05] local.INFO: Packet analysis {"connection_id":129622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:44:05] local.INFO: Extracted packet for processing {"connection_id":129622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:44:05] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646542592001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775577000,"timestamp_ms":1783775577000,"timestamp_seconds":1783775577,"priority":1,"record_length":96,"hex_timestamp":"0000019f514f43a8"} 
[2026-07-11 18:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:44:05] 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-07-11 18:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 18:44:05] 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-07-11 18:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:44: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-07-11 18:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646542592001,"66":27995,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646542592001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:44:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646542592001,"power":27995,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":129622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:44:05] local.INFO: GPS data processed {"connection_id":129622,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:44:05] local.INFO: Acknowledgment sent {"connection_id":129622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:44:09] local.INFO: TCP Data received {"connection_id":129621,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:09] local.INFO: Processing buffer {"connection_id":129621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:09] local.INFO: IMEI packet received {"connection_id":129621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":129621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:44:10] local.INFO: TCP Data received {"connection_id":129621,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514dc8c0012d1820c00721b190004d00d12b..."} 
[2026-07-11 18:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514dc8c0012d1820c00721b190004d00d12b..."} 
[2026-07-11 18:44:10] local.INFO: Processing buffer {"connection_id":129621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514dc8c0012d1820c00721b190004d00d12b..."} 
[2026-07-11 18:44:10] local.INFO: Packet analysis {"connection_id":129621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:44:10] local.INFO: Extracted packet for processing {"connection_id":129621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514d"} 
[2026-07-11 18:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646517504001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783775480000,"timestamp_ms":1783775480000,"timestamp_seconds":1783775480,"priority":1,"record_length":96,"hex_timestamp":"0000019f514dc8c0"} 
[2026-07-11 18:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-11 18:44:10] 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-07-11 18:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646517504001,"66":12232,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646517504001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:44:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:44:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646517504001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":129621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:44:10] local.INFO: GPS data processed {"connection_id":129621,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:44:10] local.INFO: Acknowledgment sent {"connection_id":129621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:44:15] local.INFO: TCP Data received {"connection_id":129621,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514e1ac8012d1820c00721b190004d00d128..."} 
[2026-07-11 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514e1ac8012d1820c00721b190004d00d128..."} 
[2026-07-11 18:44:15] local.INFO: Processing buffer {"connection_id":129621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514e1ac8012d1820c00721b190004d00d128..."} 
[2026-07-11 18:44:15] local.INFO: Packet analysis {"connection_id":129621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:44:15] local.INFO: Extracted packet for processing {"connection_id":129621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646522880001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783775501000,"timestamp_ms":1783775501000,"timestamp_seconds":1783775501,"priority":1,"record_length":96,"hex_timestamp":"0000019f514e1ac8"} 
[2026-07-11 18:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-11 18:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646522880001,"66":12689,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646522880001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:44:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646522880001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":129621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:44:15] local.INFO: GPS data processed {"connection_id":129621,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:44:15] local.INFO: Acknowledgment sent {"connection_id":129621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:44:36] local.INFO: TCP Data received {"connection_id":129622,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f514f95b0012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514f95b0012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:44:36] local.INFO: Processing buffer {"connection_id":129622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514f95b0012cbce540076d7f88004800f92e..."} 
[2026-07-11 18:44:36] local.INFO: Packet analysis {"connection_id":129622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:44:36] local.INFO: Extracted packet for processing {"connection_id":129622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":750576960,"raw_latitude":124616584,"longitude_deg":75.057696,"latitude_deg":12.4616584,"altitude":72,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cbce540","hex_latitude":"076d7f88","is_valid_coordinates":true} 
[2026-07-11 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646547712001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296674605760512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783775598000,"timestamp_ms":1783775598000,"timestamp_seconds":1783775598,"priority":1,"record_length":96,"hex_timestamp":"0000019f514f95b0"} 
[2026-07-11 18:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 18:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646547712001,"66":27887,"105":206,"85":37888,"24":0,"16":345296674605760512,"44":-4835388224266336256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646547712001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:44:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296674605760512,"km_value":345296674605760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646547712001,"power":27887,"unknown_105":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":129622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:44:36] local.INFO: GPS data processed {"connection_id":129622,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:44:36] local.INFO: Acknowledgment sent {"connection_id":129622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:44:59] local.INFO: TCP Data received {"connection_id":128916,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:59] local.INFO: Processing buffer {"connection_id":128916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:44:59] local.INFO: IMEI packet received {"connection_id":128916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":128916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:45:04] local.INFO: TCP Data received {"connection_id":128917,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:45:04] local.INFO: Processing buffer {"connection_id":128917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:45:04] local.INFO: IMEI packet received {"connection_id":128917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:45:04] local.INFO: TCP Data received {"connection_id":128916,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:45:04] local.INFO: Processing buffer {"connection_id":128916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:45:04] local.INFO: IMEI packet received {"connection_id":128916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:45:05] local.INFO: TCP Data received {"connection_id":128916,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514e6cd0012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514e6cd0012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:45:05] local.INFO: Processing buffer {"connection_id":128916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514e6cd0012d1820c00721b190004d00d12a..."} 
[2026-07-11 18:45:05] local.INFO: Packet analysis {"connection_id":128916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:45:05] local.INFO: Extracted packet for processing {"connection_id":128916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646528256001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775522000,"timestamp_ms":1783775522000,"timestamp_seconds":1783775522,"priority":1,"record_length":96,"hex_timestamp":"0000019f514e6cd0"} 
[2026-07-11 18:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:45:05] 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-07-11 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 18:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646528256001,"66":12689,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646528256001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:45:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646528256001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":128916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:45:05] local.INFO: GPS data processed {"connection_id":128916,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:45:05] local.INFO: Acknowledgment sent {"connection_id":128916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:45:08] local.INFO: TCP Data received {"connection_id":128917,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:45:08] local.INFO: Processing buffer {"connection_id":128917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:45:08] local.INFO: IMEI packet received {"connection_id":128917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":128917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:45:08] local.INFO: TCP Data received {"connection_id":128917,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f514fb108012cbce640076d7fe0004900132e..."} 
[2026-07-11 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514fb108012cbce640076d7fe0004900132e..."} 
[2026-07-11 18:45:08] local.INFO: Processing buffer {"connection_id":128917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514fb108012cbce640076d7fe0004900132e..."} 
[2026-07-11 18:45:08] local.INFO: Packet analysis {"connection_id":128917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:45:08] local.INFO: Extracted packet for processing {"connection_id":128917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":750577216,"raw_latitude":124616672,"longitude_deg":75.0577216,"latitude_deg":12.4616672,"altitude":73,"angle":19,"satellites":46,"speed":1,"hex_longitude":"2cbce640","hex_latitude":"076d7fe0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646553088001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296691785629696,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835388224266336256,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783775605000,"timestamp_ms":1783775605000,"timestamp_seconds":1783775605,"priority":1,"record_length":96,"hex_timestamp":"0000019f514fb108"} 
[2026-07-11 18:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-11 18:45:08] 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-07-11 18: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-07-11 18:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646553088001,"66":27843,"105":206,"85":37888,"24":1,"16":345296691785629696,"44":-4835388224266336256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646553088001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:45:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296691785629696,"km_value":345296691785629.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:45:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835388224266336256,"description":"Unknown IO ID 44"} 
[2026-07-11 18:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646553088001,"power":27843,"unknown_105":206,"unknown_85":37888,"ignition":1,"odometer":null,"unknown_44":-4835388224266336256}} 
[2026-07-11 18:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":128917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:45:08] local.INFO: GPS data processed {"connection_id":128917,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:45:08] local.INFO: Acknowledgment sent {"connection_id":128917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:45:37] local.INFO: TCP Data received {"connection_id":128916,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514ebed8012d1820c00721b190004d00d128..."} 
[2026-07-11 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514ebed8012d1820c00721b190004d00d128..."} 
[2026-07-11 18:45:37] local.INFO: Processing buffer {"connection_id":128916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514ebed8012d1820c00721b190004d00d128..."} 
[2026-07-11 18:45:37] local.INFO: Packet analysis {"connection_id":128916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:45:37] local.INFO: Extracted packet for processing {"connection_id":128916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514e"} 
[2026-07-11 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646533632001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783775543000,"timestamp_ms":1783775543000,"timestamp_seconds":1783775543,"priority":1,"record_length":96,"hex_timestamp":"0000019f514ebed8"} 
[2026-07-11 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-07-11 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 18:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646533632001,"66":12667,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646533632001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:45:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646533632001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":128916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:45:37] local.INFO: GPS data processed {"connection_id":128916,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:45:37] local.INFO: Acknowledgment sent {"connection_id":128916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:45:39] local.INFO: TCP Data received {"connection_id":128917,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f514fb4f0012cbce6c0076d8008004900302e..."} 
[2026-07-11 18:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514fb4f0012cbce6c0076d8008004900302e..."} 
[2026-07-11 18:45:39] local.INFO: Processing buffer {"connection_id":128917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514fb4f0012cbce6c0076d8008004900302e..."} 
[2026-07-11 18:45:39] local.INFO: Packet analysis {"connection_id":128917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:45:39] local.INFO: Extracted packet for processing {"connection_id":128917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:45:39] local.INFO: GPS Element Parsed {"raw_longitude":750577344,"raw_latitude":124616712,"longitude_deg":75.0577344,"latitude_deg":12.4616712,"altitude":73,"angle":48,"satellites":46,"speed":2,"hex_longitude":"2cbce6c0","hex_latitude":"076d8008","is_valid_coordinates":true} 
[2026-07-11 18:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646554880001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345296696080596992,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835106749289603072,"note":"Value kept but may cause issues"} 
[2026-07-11 18:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783775606000,"timestamp_ms":1783775606000,"timestamp_seconds":1783775606,"priority":1,"record_length":96,"hex_timestamp":"0000019f514fb4f0"} 
[2026-07-11 18:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 18:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646554880001,"66":27104,"105":206,"85":37888,"24":2,"16":345296696080596992,"44":-4835106749289603072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646554880001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:45:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345296696080596992,"km_value":345296696080597.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:45:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835106749289603072,"description":"Unknown IO ID 44"} 
[2026-07-11 18:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646554880001,"power":27104,"unknown_105":206,"unknown_85":37888,"ignition":2,"odometer":null,"unknown_44":-4835106749289603072}} 
[2026-07-11 18:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":128917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:45:39] local.INFO: GPS data processed {"connection_id":128917,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:45:39] local.INFO: Acknowledgment sent {"connection_id":128917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:45:59] local.INFO: TCP Data received {"connection_id":128735,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:45:59] local.INFO: Processing buffer {"connection_id":128735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:45:59] local.INFO: IMEI packet received {"connection_id":128735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":128735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:46:04] local.INFO: TCP Data received {"connection_id":129624,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:46:04] local.INFO: Processing buffer {"connection_id":129624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:46:04] local.INFO: IMEI packet received {"connection_id":129624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":129624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:46:08] local.INFO: TCP Data received {"connection_id":128735,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:46:08] local.INFO: Processing buffer {"connection_id":128735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:46:08] local.INFO: IMEI packet received {"connection_id":128735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":128735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:46:09] local.INFO: TCP Data received {"connection_id":129624,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:46:09] local.INFO: Processing buffer {"connection_id":129624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:46:09] local.INFO: IMEI packet received {"connection_id":129624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":129624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:46:09] local.INFO: TCP Data received {"connection_id":129624,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f515133c0012cbcf740076df498004e00622e..."} 
[2026-07-11 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515133c0012cbcf740076df498004e00622e..."} 
[2026-07-11 18:46:09] local.INFO: Processing buffer {"connection_id":129624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515133c0012cbcf740076df498004e00622e..."} 
[2026-07-11 18:46:09] local.INFO: Packet analysis {"connection_id":129624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:46:09] local.INFO: Extracted packet for processing {"connection_id":129624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":750581568,"raw_latitude":124646552,"longitude_deg":75.0581568,"latitude_deg":12.4646552,"altitude":78,"angle":98,"satellites":46,"speed":13,"hex_longitude":"2cbcf740","hex_latitude":"076df498","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646579968001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345298233678888960,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830743887142936576,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775704000,"timestamp_ms":1783775704000,"timestamp_seconds":1783775704,"priority":1,"record_length":96,"hex_timestamp":"0000019f515133c0"} 
[2026-07-11 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-07-11 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 18:46:09] 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-07-11 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-07-11 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-07-11 18:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:46: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-07-11 18:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646579968001,"66":27745,"105":206,"85":37888,"24":13,"16":345298233678888960,"44":-4830743887142936576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646579968001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:46:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345298233678888960,"km_value":345298233678888.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830743887142936576,"description":"Unknown IO ID 44"} 
[2026-07-11 18:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646579968001,"power":27745,"unknown_105":206,"unknown_85":37888,"ignition":13,"odometer":null,"unknown_44":-4830743887142936576}} 
[2026-07-11 18:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":129624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:46:09] local.INFO: GPS data processed {"connection_id":129624,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:46:09] local.INFO: Acknowledgment sent {"connection_id":129624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:46:10] local.INFO: TCP Data received {"connection_id":128735,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f514f10e0012d1820c00721b190004d00d129..."} 
[2026-07-11 18:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f514f10e0012d1820c00721b190004d00d129..."} 
[2026-07-11 18:46:10] local.INFO: Processing buffer {"connection_id":128735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f514f10e0012d1820c00721b190004d00d129..."} 
[2026-07-11 18:46:10] local.INFO: Packet analysis {"connection_id":128735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:46:10] local.INFO: Extracted packet for processing {"connection_id":128735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f514f"} 
[2026-07-11 18:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648656,"longitude_deg":75.6555968,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-07-11 18:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646539008001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5805979740405760,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027600384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783775564000,"timestamp_ms":1783775564000,"timestamp_seconds":1783775564,"priority":1,"record_length":96,"hex_timestamp":"0000019f514f10e0"} 
[2026-07-11 18:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 18:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646539008001,"66":12428,"120":206,"28":31744,"24":0,"16":5805979740405760,"45":1738600593027600384},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646539008001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:46:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:46:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5805979740405760,"km_value":5805979740405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027600384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646539008001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027600384}} 
[2026-07-11 18:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":128735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:46:10] local.INFO: GPS data processed {"connection_id":128735,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:46:10] local.INFO: Acknowledgment sent {"connection_id":128735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:46:25] local.INFO: TCP Data received {"connection_id":130873,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:46:25] local.INFO: Processing buffer {"connection_id":130873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:46:25] local.INFO: IMEI packet received {"connection_id":130873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":130873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:46:41] local.INFO: TCP Data received {"connection_id":129624,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51514360012cbcfc00076df340004d00722d..."} 
[2026-07-11 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51514360012cbcfc00076df340004d00722d..."} 
[2026-07-11 18:46:41] local.INFO: Processing buffer {"connection_id":129624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51514360012cbcfc00076df340004d00722d..."} 
[2026-07-11 18:46:41] local.INFO: Packet analysis {"connection_id":129624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:46:41] local.INFO: Extracted packet for processing {"connection_id":129624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":750582784,"raw_latitude":124646208,"longitude_deg":75.0582784,"latitude_deg":12.4646208,"altitude":77,"angle":114,"satellites":45,"speed":11,"hex_longitude":"2cbcfc00","hex_latitude":"076df340","is_valid_coordinates":true} 
[2026-07-11 18:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646580224001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345298293808431104,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830321674677872640,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783775708000,"timestamp_ms":1783775708000,"timestamp_seconds":1783775708,"priority":1,"record_length":96,"hex_timestamp":"0000019f51514360"} 
[2026-07-11 18:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 18:46:41] 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-07-11 18:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646580224001,"66":28006,"105":206,"85":37888,"24":11,"16":345298293808431104,"44":-4830321674677872640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646580224001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:46:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345298293808431104,"km_value":345298293808431.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830321674677872640,"description":"Unknown IO ID 44"} 
[2026-07-11 18:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646580224001,"power":28006,"unknown_105":206,"unknown_85":37888,"ignition":11,"odometer":null,"unknown_44":-4830321674677872640}} 
[2026-07-11 18:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":129624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:46:41] local.INFO: GPS data processed {"connection_id":129624,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:46:41] local.INFO: Acknowledgment sent {"connection_id":129624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:46:41] local.INFO: TCP Data received {"connection_id":128735,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51514b30012d182c4007219c90005000742a..."} 
[2026-07-11 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51514b30012d182c4007219c90005000742a..."} 
[2026-07-11 18:46:41] local.INFO: Processing buffer {"connection_id":128735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51514b30012d182c4007219c90005000742a..."} 
[2026-07-11 18:46:41] local.INFO: Packet analysis {"connection_id":128735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:46:41] local.INFO: Extracted packet for processing {"connection_id":128735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119643280,"longitude_deg":75.6558912,"latitude_deg":11.964328,"altitude":80,"angle":116,"satellites":42,"speed":11,"hex_longitude":"2d182c40","hex_latitude":"07219c90","is_valid_coordinates":true} 
[2026-07-11 18:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646579200001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5806336222691328,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771038720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783775710000,"timestamp_ms":1783775710000,"timestamp_seconds":1783775710,"priority":1,"record_length":96,"hex_timestamp":"0000019f51514b30"} 
[2026-07-11 18:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-11 18:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646579200001,"66":12917,"120":206,"28":31744,"24":11,"16":5806336222691328,"45":1738670961771038720},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646579200001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:46:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:46:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5806336222691328,"km_value":5806336222691.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771038720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646579200001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738670961771038720}} 
[2026-07-11 18:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":128735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:46:41] local.INFO: GPS data processed {"connection_id":128735,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:46:41] local.INFO: Acknowledgment sent {"connection_id":128735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:46:44] local.INFO: TCP Data received {"connection_id":130874,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:46:44] local.INFO: Processing buffer {"connection_id":130874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:46:44] local.INFO: IMEI packet received {"connection_id":130874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":130874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:46:59] local.INFO: TCP Data received {"connection_id":128736,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:46:59] local.INFO: Processing buffer {"connection_id":128736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:46:59] local.INFO: IMEI packet received {"connection_id":128736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":128736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:47:04] local.INFO: TCP Data received {"connection_id":128737,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:47:04] local.INFO: Processing buffer {"connection_id":128737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:47:04] local.INFO: IMEI packet received {"connection_id":128737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:47:04] local.INFO: TCP Data received {"connection_id":128736,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:47:04] local.INFO: Processing buffer {"connection_id":128736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:47:04] local.INFO: IMEI packet received {"connection_id":128736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:47:05] local.INFO: TCP Data received {"connection_id":128736,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51519d38012d182d4007219be8004f00742b..."} 
[2026-07-11 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51519d38012d182d4007219be8004f00742b..."} 
[2026-07-11 18:47:05] local.INFO: Processing buffer {"connection_id":128736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51519d38012d182d4007219be8004f00742b..."} 
[2026-07-11 18:47:05] local.INFO: Packet analysis {"connection_id":128736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:47:05] local.INFO: Extracted packet for processing {"connection_id":128736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119643112,"longitude_deg":75.6559168,"latitude_deg":11.9643112,"altitude":79,"angle":116,"satellites":43,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-07-11 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646581760001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5806353402560512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258396672,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775731000,"timestamp_ms":1783775731000,"timestamp_seconds":1783775731,"priority":1,"record_length":96,"hex_timestamp":"0000019f51519d38"} 
[2026-07-11 18:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:47:05] 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-07-11 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 18:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646581760001,"66":12722,"120":206,"28":31744,"24":0,"16":5806353402560512,"45":1741837555258396672},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646581760001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:47:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5806353402560512,"km_value":5806353402560.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258396672,"description":"Unknown IO ID 45"} 
[2026-07-11 18:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646581760001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741837555258396672}} 
[2026-07-11 18:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":128736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:47:05] local.INFO: GPS data processed {"connection_id":128736,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:47:05] local.INFO: Acknowledgment sent {"connection_id":128736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:47:06] local.INFO: TCP Data received {"connection_id":128737,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:47:06] local.INFO: Processing buffer {"connection_id":128737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:47:06] local.INFO: IMEI packet received {"connection_id":128737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":128737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:47:09] local.INFO: TCP Data received {"connection_id":128737,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:47:09] local.INFO: Processing buffer {"connection_id":128737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:47:09] local.INFO: IMEI packet received {"connection_id":128737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":128737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:47:09] local.INFO: TCP Data received {"connection_id":128737,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51514b30012cbcfe00076df1f8004d008e2d..."} 
[2026-07-11 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51514b30012cbcfe00076df1f8004d008e2d..."} 
[2026-07-11 18:47:09] local.INFO: Processing buffer {"connection_id":128737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51514b30012cbcfe00076df1f8004d008e2d..."} 
[2026-07-11 18:47:09] local.INFO: Packet analysis {"connection_id":128737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:47:09] local.INFO: Extracted packet for processing {"connection_id":128737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":750583296,"raw_latitude":124645880,"longitude_deg":75.0583296,"latitude_deg":12.464588,"altitude":77,"angle":142,"satellites":45,"speed":9,"hex_longitude":"2cbcfe00","hex_latitude":"076df1f8","is_valid_coordinates":true} 
[2026-07-11 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646581248001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345298319578234880,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828984668538585088,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775710000,"timestamp_ms":1783775710000,"timestamp_seconds":1783775710,"priority":1,"record_length":96,"hex_timestamp":"0000019f51514b30"} 
[2026-07-11 18:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-11 18:47:09] 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-07-11 18:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:47: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-07-11 18:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646581248001,"66":27908,"105":206,"85":37888,"24":9,"16":345298319578234880,"44":-4828984668538585088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646581248001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:47:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345298319578234880,"km_value":345298319578234.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828984668538585088,"description":"Unknown IO ID 44"} 
[2026-07-11 18:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646581248001,"power":27908,"unknown_105":206,"unknown_85":37888,"ignition":9,"odometer":null,"unknown_44":-4828984668538585088}} 
[2026-07-11 18:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":128737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:47:09] local.INFO: GPS data processed {"connection_id":128737,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:47:09] local.INFO: Acknowledgment sent {"connection_id":128737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:47:37] local.INFO: TCP Data received {"connection_id":128736,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5151ef40012d182d4007219be8004f007429..."} 
[2026-07-11 18:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5151ef40012d182d4007219be8004f007429..."} 
[2026-07-11 18:47:37] local.INFO: Processing buffer {"connection_id":128736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5151ef40012d182d4007219be8004f007429..."} 
[2026-07-11 18:47:37] local.INFO: Packet analysis {"connection_id":128736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:47:37] local.INFO: Extracted packet for processing {"connection_id":128736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119643112,"longitude_deg":75.6559168,"latitude_deg":11.9643112,"altitude":79,"angle":116,"satellites":41,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-07-11 18:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646587136001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5806353402560512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030235064320,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783775752000,"timestamp_ms":1783775752000,"timestamp_seconds":1783775752,"priority":1,"record_length":96,"hex_timestamp":"0000019f5151ef40"} 
[2026-07-11 18:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646587136001,"66":12548,"120":206,"28":31744,"24":0,"16":5806353402560512,"45":1742119030235064320},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646587136001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:47:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5806353402560512,"km_value":5806353402560.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030235064320,"description":"Unknown IO ID 45"} 
[2026-07-11 18:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646587136001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030235064320}} 
[2026-07-11 18:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":128736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:47:37] local.INFO: GPS data processed {"connection_id":128736,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:47:37] local.INFO: Acknowledgment sent {"connection_id":128736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:47:40] local.INFO: TCP Data received {"connection_id":128737,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51514f18012cbcfe80076df128004c00a22d..."} 
[2026-07-11 18:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51514f18012cbcfe80076df128004c00a22d..."} 
[2026-07-11 18:47:40] local.INFO: Processing buffer {"connection_id":128737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51514f18012cbcfe80076df128004c00a22d..."} 
[2026-07-11 18:47:40] local.INFO: Packet analysis {"connection_id":128737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:47:40] local.INFO: Extracted packet for processing {"connection_id":128737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5151"} 
[2026-07-11 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":750583424,"raw_latitude":124645672,"longitude_deg":75.0583424,"latitude_deg":12.4645672,"altitude":76,"angle":162,"satellites":45,"speed":9,"hex_longitude":"2cbcfe80","hex_latitude":"076df128","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646581760001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345298332463136768,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828421718585247744,"note":"Value kept but may cause issues"} 
[2026-07-11 18:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783775711000,"timestamp_ms":1783775711000,"timestamp_seconds":1783775711,"priority":1,"record_length":96,"hex_timestamp":"0000019f51514f18"} 
[2026-07-11 18:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 18:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646581760001,"66":27908,"105":206,"85":37888,"24":9,"16":345298332463136768,"44":-4828421718585247744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-11 18:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646581760001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:47:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-11 18:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345298332463136768,"km_value":345298332463136.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828421718585247744,"description":"Unknown IO ID 44"} 
[2026-07-11 18:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646581760001,"power":27908,"unknown_105":206,"unknown_85":37888,"ignition":9,"odometer":null,"unknown_44":-4828421718585247744}} 
[2026-07-11 18:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":128737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:47:40] local.INFO: GPS data processed {"connection_id":128737,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:47:40] local.INFO: Acknowledgment sent {"connection_id":128737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:47:59] local.INFO: TCP Data received {"connection_id":130875,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:47:59] local.INFO: Processing buffer {"connection_id":130875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:47:59] local.INFO: IMEI packet received {"connection_id":130875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":130875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:48:03] local.INFO: TCP Data received {"connection_id":130876,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:48:03] local.INFO: Processing buffer {"connection_id":130876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:48:03] local.INFO: IMEI packet received {"connection_id":130876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":130876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:48:04] local.INFO: TCP Data received {"connection_id":130875,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:48:04] local.INFO: Processing buffer {"connection_id":130875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:48:04] local.INFO: IMEI packet received {"connection_id":130875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":130875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:48:06] local.INFO: TCP Data received {"connection_id":130875,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51524148012d182d4007219be8004f007429..."} 
[2026-07-11 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51524148012d182d4007219be8004f007429..."} 
[2026-07-11 18:48:06] local.INFO: Processing buffer {"connection_id":130875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51524148012d182d4007219be8004f007429..."} 
[2026-07-11 18:48:06] local.INFO: Packet analysis {"connection_id":130875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5152"} 
[2026-07-11 18:48:06] local.INFO: Extracted packet for processing {"connection_id":130875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5152"} 
[2026-07-11 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119643112,"longitude_deg":75.6559168,"latitude_deg":11.9643112,"altitude":79,"angle":116,"satellites":41,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-07-11 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646592512001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5806353402560512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030235064320,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783775773000,"timestamp_ms":1783775773000,"timestamp_seconds":1783775773,"priority":1,"record_length":96,"hex_timestamp":"0000019f51524148"} 
[2026-07-11 18:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 18:48:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184287469773,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:06] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13494136,"corrected_to":0} 
[2026-07-11 18:48:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2828009550,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-11 18:48:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1208036632,"corrected_to":0} 
[2026-07-11 18:48:06] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2694578176,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:06] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,120,28,24,241,158,16,160,159,157,45,64,155,79,43,10,66,75,156,80,42,36,1,240,204,81,33,4,113,205,8,202,30,232,41,239,54,2,20,7,78,5,231],"length":485,"final_offset":615,"validated_count":43,"validation_warnings":[{"io_id":204,"original":13494136,"validated":0},{"io_id":205,"original":3883401422,"validated":0},{"io_id":202,"original":1208036632,"validated":0}]} 
[2026-07-11 18:48:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692677648438788096,"timestamp_seconds":5692677648438788.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646592512001,"66":12406,"120":206,"28":31744,"24":0,"16":5806353402560512,"45":1742119030235064320},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646592512001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:48:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5806353402560512,"km_value":5806353402560.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030235064320,"description":"Unknown IO ID 45"} 
[2026-07-11 18:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646592512001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030235064320}} 
[2026-07-11 18:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":130875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:48:06] local.INFO: GPS data processed {"connection_id":130875,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:48:06] local.INFO: Acknowledgment sent {"connection_id":130875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:48:08] local.INFO: TCP Data received {"connection_id":130876,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:48:08] local.INFO: Processing buffer {"connection_id":130876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:48:08] local.INFO: IMEI packet received {"connection_id":130876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":130876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:48:09] local.INFO: TCP Data received {"connection_id":130876,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51531820012cbd22c0076ca678003900aa2e..."} 
[2026-07-11 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51531820012cbd22c0076ca678003900aa2e..."} 
[2026-07-11 18:48:09] local.INFO: Processing buffer {"connection_id":130876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51531820012cbd22c0076ca678003900aa2e..."} 
[2026-07-11 18:48:09] local.INFO: Packet analysis {"connection_id":130876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:48:09] local.INFO: Extracted packet for processing {"connection_id":130876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":750592704,"raw_latitude":124561016,"longitude_deg":75.0592704,"latitude_deg":12.4561016,"altitude":57,"angle":170,"satellites":46,"speed":51,"hex_longitude":"2cbd22c0","hex_latitude":"076ca678","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646609664001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345302498581413888,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820118206791182336,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775828000,"timestamp_ms":1783775828000,"timestamp_seconds":1783775828,"priority":1,"record_length":96,"hex_timestamp":"0000019f51531820"} 
[2026-07-11 18:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:48:09] 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-07-11 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 18:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:48: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-07-11 18:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646609664001,"66":27865,"3":206,"85":37888,"24":51,"16":345302498581413888,"44":-4820118206791182336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646609664001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:48:09] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345302498581413888,"km_value":345302498581413.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820118206791182336,"description":"Unknown IO ID 44"} 
[2026-07-11 18:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646609664001,"power":27865,"unknown_3":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4820118206791182336}} 
[2026-07-11 18:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":130876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:48:09] local.INFO: GPS data processed {"connection_id":130876,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:48:09] local.INFO: Acknowledgment sent {"connection_id":130876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:48:14] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:48:14] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:48:14] local.INFO: IMEI packet received {"connection_id":130877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":130877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:48:16] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:48:16] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:48:16] local.INFO: IMEI packet received {"connection_id":130877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":130877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:48:19] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:48:19] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:48:19] local.INFO: IMEI packet received {"connection_id":130877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":130877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:48:20] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51536640012d7bd04005ddb578000000a913..."} 
[2026-07-11 18:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51536640012d7bd04005ddb578000000a913..."} 
[2026-07-11 18:48:20] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51536640012d7bd04005ddb578000000a913..."} 
[2026-07-11 18:48:20] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:48:20] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:48:20] local.INFO: GPS Element Parsed {"raw_longitude":763088960,"raw_latitude":98415992,"longitude_deg":76.308896,"latitude_deg":9.8415992,"altitude":0,"angle":169,"satellites":19,"speed":38,"hex_longitude":"2d7bd040","hex_latitude":"05ddb578","is_valid_coordinates":true} 
[2026-07-11 18:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105148045015908352,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,33,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 18:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783775848000,"timestamp_ms":1783775848000,"timestamp_seconds":1783775848,"priority":1,"record_length":96,"hex_timestamp":"0000019f51536640"} 
[2026-07-11 18:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-11 18:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13243,"33":206,"85":15104,"24":38,"16":105148045015908352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16]} 
[2026-07-11 18:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-11 18:48:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105148045015908352,"km_value":105148045015908.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:48:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13243,"unknown_33":206,"unknown_85":15104,"ignition":38,"odometer":null}} 
[2026-07-11 18:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:48:20] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:48:20] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:48:38] local.INFO: TCP Data received {"connection_id":130875,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51529350012d182d4007219be8004f007426..."} 
[2026-07-11 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51529350012d182d4007219be8004f007426..."} 
[2026-07-11 18:48:38] local.INFO: Processing buffer {"connection_id":130875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51529350012d182d4007219be8004f007426..."} 
[2026-07-11 18:48:38] local.INFO: Packet analysis {"connection_id":130875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5152"} 
[2026-07-11 18:48:38] local.INFO: Extracted packet for processing {"connection_id":130875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5152"} 
[2026-07-11 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119643112,"longitude_deg":75.6559168,"latitude_deg":11.9643112,"altitude":79,"angle":116,"satellites":38,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-07-11 18:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646597888001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5806353402560512,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030235064320,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783775794000,"timestamp_ms":1783775794000,"timestamp_seconds":1783775794,"priority":1,"record_length":96,"hex_timestamp":"0000019f51529350"} 
[2026-07-11 18:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 18:48: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-07-11 18:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646597888001,"66":12265,"120":206,"28":31744,"24":0,"16":5806353402560512,"45":1742119030235064320},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-11 18:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646597888001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:48:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-11 18:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5806353402560512,"km_value":5806353402560.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030235064320,"description":"Unknown IO ID 45"} 
[2026-07-11 18:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646597888001,"power":12265,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030235064320}} 
[2026-07-11 18:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":130875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:48:38] local.INFO: GPS data processed {"connection_id":130875,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:48:38] local.INFO: Acknowledgment sent {"connection_id":130875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:48:41] local.INFO: TCP Data received {"connection_id":130876,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51533378012cbd2900076c82d8003600aa2e..."} 
[2026-07-11 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51533378012cbd2900076c82d8003600aa2e..."} 
[2026-07-11 18:48:41] local.INFO: Processing buffer {"connection_id":130876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51533378012cbd2900076c82d8003600aa2e..."} 
[2026-07-11 18:48:41] local.INFO: Packet analysis {"connection_id":130876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:48:41] local.INFO: Extracted packet for processing {"connection_id":130876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:48:41] local.INFO: GPS Element Parsed {"raw_longitude":750594304,"raw_latitude":124551896,"longitude_deg":75.0594304,"latitude_deg":12.4551896,"altitude":54,"angle":170,"satellites":46,"speed":53,"hex_longitude":"2cbd2900","hex_latitude":"076c82d8","is_valid_coordinates":true} 
[2026-07-11 18:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646611968001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345302945258012672,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4818077513212856320,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783775835000,"timestamp_ms":1783775835000,"timestamp_seconds":1783775835,"priority":1,"record_length":96,"hex_timestamp":"0000019f51533378"} 
[2026-07-11 18:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:48:41] 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-07-11 18:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 18:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646611968001,"66":27463,"3":206,"85":37888,"24":53,"16":345302945258012672,"44":-4818077513212856320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-11 18:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646611968001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:48:41] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 18:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345302945258012672,"km_value":345302945258012.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4818077513212856320,"description":"Unknown IO ID 44"} 
[2026-07-11 18:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646611968001,"power":27463,"unknown_3":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4818077513212856320}} 
[2026-07-11 18:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":130876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:48:41] local.INFO: GPS data processed {"connection_id":130876,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:48:41] local.INFO: Acknowledgment sent {"connection_id":130876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:48:51] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51538d50012d7bd40005dd95f0000500af1c..."} 
[2026-07-11 18:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51538d50012d7bd40005dd95f0000500af1c..."} 
[2026-07-11 18:48:51] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51538d50012d7bd40005dd95f0000500af1c..."} 
[2026-07-11 18:48:51] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:48:51] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763089920,"raw_latitude":98407920,"longitude_deg":76.308992,"latitude_deg":9.840792,"altitude":5,"angle":175,"satellites":28,"speed":20,"hex_longitude":"2d7bd400","hex_latitude":"05dd95f0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646617088001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105148440152899584,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921701255759624192,"note":"Value kept but may cause issues"} 
[2026-07-11 18:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783775858000,"timestamp_ms":1783775858000,"timestamp_seconds":1783775858,"priority":1,"record_length":96,"hex_timestamp":"0000019f51538d50"} 
[2026-07-11 18:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-11 18:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646617088001,"66":13059,"33":206,"85":15104,"24":20,"16":105148440152899584,"45":8921701255759624192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-11 18:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646617088001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:48:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 18:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105148440152899584,"km_value":105148440152899.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921701255759624192,"description":"Unknown IO ID 45"} 
[2026-07-11 18:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646617088001,"power":13059,"unknown_33":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8921701255759624192}} 
[2026-07-11 18:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:48:51] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:48:51] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:48:59] local.INFO: TCP Data received {"connection_id":128919,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:48:59] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:48:59] local.INFO: IMEI packet received {"connection_id":128919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":128919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:48:59] local.INFO: TCP Data received {"connection_id":128919,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:48:59] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:48:59] local.INFO: IMEI packet received {"connection_id":128919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":128919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:49:01] local.INFO: TCP Data received {"connection_id":128919,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:01] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:01] local.INFO: IMEI packet received {"connection_id":128919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":128919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:49:03] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:49:03] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:49:03] local.INFO: IMEI packet received {"connection_id":128739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":128739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:49:04] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:49:04] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:49:04] local.INFO: IMEI packet received {"connection_id":128739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":128739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:49:04] local.INFO: TCP Data received {"connection_id":128919,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:04] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:04] local.INFO: IMEI packet received {"connection_id":128919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":128919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:49:05] local.INFO: TCP Data received {"connection_id":128919,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51541dd8012d18c44007215138004800a227..."} 
[2026-07-11 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51541dd8012d18c44007215138004800a227..."} 
[2026-07-11 18:49:05] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51541dd8012d18c44007215138004800a227..."} 
[2026-07-11 18:49:05] local.INFO: Packet analysis {"connection_id":128919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:49:05] local.INFO: Extracted packet for processing {"connection_id":128919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623992,"longitude_deg":75.6597824,"latitude_deg":11.9623992,"altitude":72,"angle":162,"satellites":39,"speed":31,"hex_longitude":"2d18c440","hex_latitude":"07215138","is_valid_coordinates":true} 
[2026-07-11 18:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646626816001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5808522361044992,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045855322112,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775895000,"timestamp_ms":1783775895000,"timestamp_seconds":1783775895,"priority":1,"record_length":96,"hex_timestamp":"0000019f51541dd8"} 
[2026-07-11 18:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:49:05] 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-07-11 18:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 18:49:05] 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-07-11 18:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646626816001,"66":14276,"121":206,"28":31744,"24":31,"16":5808522361044992,"45":1779907045855322112},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646626816001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:49:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5808522361044992,"km_value":5808522361044.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045855322112,"description":"Unknown IO ID 45"} 
[2026-07-11 18:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646626816001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1779907045855322112}} 
[2026-07-11 18:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":128919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:49:05] local.INFO: GPS data processed {"connection_id":128919,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:49:05] local.INFO: Acknowledgment sent {"connection_id":128919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:49:09] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:49:09] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:49:09] local.INFO: IMEI packet received {"connection_id":128739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":128739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:49:09] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f515421c0012cbda5c0076b7378004000932f..."} 
[2026-07-11 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515421c0012cbda5c0076b7378004000932f..."} 
[2026-07-11 18:49:09] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515421c0012cbda5c0076b7378004000932f..."} 
[2026-07-11 18:49:09] local.INFO: Packet analysis {"connection_id":128739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:49:09] local.INFO: Extracted packet for processing {"connection_id":128739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:49:09] local.INFO: GPS Element Parsed {"raw_longitude":750626240,"raw_latitude":124482424,"longitude_deg":75.062624,"latitude_deg":12.4482424,"altitude":64,"angle":147,"satellites":47,"speed":44,"hex_longitude":"2cbda5c0","hex_latitude":"076b7378","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646627328001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345306763483938816,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4787818953234763776,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783775896000,"timestamp_ms":1783775896000,"timestamp_seconds":1783775896,"priority":1,"record_length":96,"hex_timestamp":"0000019f515421c0"} 
[2026-07-11 18:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:49:09] 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-07-11 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 18:49:09] 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-07-11 18: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-07-11 18:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:49: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-07-11 18:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646627328001,"66":27843,"2":206,"85":37888,"24":44,"16":345306763483938816,"44":-4787818953234763776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-11 18:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646627328001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345306763483938816,"km_value":345306763483938.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:49:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4787818953234763776,"description":"Unknown IO ID 44"} 
[2026-07-11 18:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646627328001,"power":27843,"power_alt":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-4787818953234763776}} 
[2026-07-11 18:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":128739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:49:09] local.INFO: GPS data processed {"connection_id":128739,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:49:09] local.INFO: Acknowledgment sent {"connection_id":128739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:49:22] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5153b848012d7bd88005dd7228000500ad1e..."} 
[2026-07-11 18:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5153b848012d7bd88005dd7228000500ad1e..."} 
[2026-07-11 18:49:22] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5153b848012d7bd88005dd7228000500ad1e..."} 
[2026-07-11 18:49:22] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:49:22] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5153"} 
[2026-07-11 18:49:22] local.INFO: GPS Element Parsed {"raw_longitude":763091072,"raw_latitude":98398760,"longitude_deg":76.3091072,"latitude_deg":9.839876,"altitude":5,"angle":173,"satellites":30,"speed":42,"hex_longitude":"2d7bd880","hex_latitude":"05dd7228","is_valid_coordinates":true} 
[2026-07-11 18:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646619648001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105148891124465664,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922756786920222720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783775869000,"timestamp_ms":1783775869000,"timestamp_seconds":1783775869,"priority":1,"record_length":96,"hex_timestamp":"0000019f5153b848"} 
[2026-07-11 18:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 18:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281646,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:22] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:22] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2684420096,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147536128,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:22] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2409037824,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:22] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:22] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,33,85,24,241,16,143,159,102,45,64,181,19,10,66,223,1,240,128,81,4,113,205,239,2,50,117,5,169],"length":486,"final_offset":616,"validated_count":29,"validation_warnings":[]} 
[2026-07-11 18:49:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360480504984895488,"timestamp_seconds":360480504984895.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646619648001,"66":13178,"169":206,"85":15104,"24":42,"16":105148891124465664,"45":8922756786920222720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-11 18:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646619648001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:49:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 18:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105148891124465664,"km_value":105148891124465.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922756786920222720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646619648001,"power":13178,"unknown_169":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8922756786920222720}} 
[2026-07-11 18:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:49:22] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:49:22] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:49:39] local.INFO: TCP Data received {"connection_id":128919,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515425a8012d18c58007214af8004700b026..."} 
[2026-07-11 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515425a8012d18c58007214af8004700b026..."} 
[2026-07-11 18:49:39] local.INFO: Processing buffer {"connection_id":128919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515425a8012d18c58007214af8004700b026..."} 
[2026-07-11 18:49:39] local.INFO: Packet analysis {"connection_id":128919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:49:39] local.INFO: Extracted packet for processing {"connection_id":128919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119622392,"longitude_deg":75.6598144,"latitude_deg":11.9622392,"altitude":71,"angle":176,"satellites":38,"speed":32,"hex_longitude":"2d18c580","hex_latitude":"07214af8","is_valid_coordinates":true} 
[2026-07-11 18:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646629120001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5808603965423616,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713478656,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783775897000,"timestamp_ms":1783775897000,"timestamp_seconds":1783775897,"priority":1,"record_length":96,"hex_timestamp":"0000019f515425a8"} 
[2026-07-11 18:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 18:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646629120001,"66":14298,"121":206,"28":31744,"24":32,"16":5808603965423616,"45":1784621751713478656},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646629120001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:49:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:49:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5808603965423616,"km_value":5808603965423.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713478656,"description":"Unknown IO ID 45"} 
[2026-07-11 18:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646629120001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1784621751713478656}} 
[2026-07-11 18:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":128919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:49:39] local.INFO: GPS data processed {"connection_id":128919,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:49:39] local.INFO: Acknowledgment sent {"connection_id":128919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:49:40] local.INFO: TCP Data received {"connection_id":128739,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f515421c0012cbda5c0076b7378004000932f..."} 
[2026-07-11 18:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515421c0012cbda5c0076b7378004000932f..."} 
[2026-07-11 18:49:40] local.INFO: Processing buffer {"connection_id":128739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515421c0012cbda5c0076b7378004000932f..."} 
[2026-07-11 18:49:40] local.INFO: Packet analysis {"connection_id":128739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:49:40] local.INFO: Extracted packet for processing {"connection_id":128739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:49:40] local.INFO: GPS Element Parsed {"raw_longitude":750626240,"raw_latitude":124482424,"longitude_deg":75.062624,"latitude_deg":12.4482424,"altitude":64,"angle":147,"satellites":47,"speed":44,"hex_longitude":"2cbda5c0","hex_latitude":"076b7378","is_valid_coordinates":true} 
[2026-07-11 18:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646629376001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345306763483938816,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4781204291283879936,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783775896000,"timestamp_ms":1783775896000,"timestamp_seconds":1783775896,"priority":1,"record_length":96,"hex_timestamp":"0000019f515421c0"} 
[2026-07-11 18:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 18:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 18:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 18:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 18:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646629376001,"66":27843,"2":206,"85":37888,"24":44,"16":345306763483938816,"44":-4781204291283879936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-11 18:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 18:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 18:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646629376001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-11 18:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345306763483938816,"km_value":345306763483938.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4781204291283879936,"description":"Unknown IO ID 44"} 
[2026-07-11 18:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646629376001,"power":27843,"power_alt":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-4781204291283879936}} 
[2026-07-11 18:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":128739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:49:40] local.INFO: GPS data processed {"connection_id":128739,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:49:40] local.INFO: Acknowledgment sent {"connection_id":128739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:49:53] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515546b8012d7bf98005dbc0d0000000a91e..."} 
[2026-07-11 18:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515546b8012d7bf98005dbc0d0000000a91e..."} 
[2026-07-11 18:49:53] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515546b8012d7bf98005dbc0d0000000a91e..."} 
[2026-07-11 18:49:53] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5155"} 
[2026-07-11 18:49:53] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5155"} 
[2026-07-11 18:49:53] local.INFO: GPS Element Parsed {"raw_longitude":763099520,"raw_latitude":98287824,"longitude_deg":76.309952,"latitude_deg":9.8287824,"altitude":0,"angle":169,"satellites":30,"speed":42,"hex_longitude":"2d7bf980","hex_latitude":"05dbc0d0","is_valid_coordinates":true} 
[2026-07-11 18:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646646272001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105154294193324032,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931201036193247232,"note":"Value kept but may cause issues"} 
[2026-07-11 18:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783775971000,"timestamp_ms":1783775971000,"timestamp_seconds":1783775971,"priority":1,"record_length":96,"hex_timestamp":"0000019f515546b8"} 
[2026-07-11 18:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-11 18:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646646272001,"66":13059,"168":206,"85":15104,"24":42,"16":105154294193324032,"45":8931201036193247232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 18:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646646272001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:49:53] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 18:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105154294193324032,"km_value":105154294193324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931201036193247232,"description":"Unknown IO ID 45"} 
[2026-07-11 18:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646646272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8931201036193247232}} 
[2026-07-11 18:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:49:53] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:49:53] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:49:59] local.INFO: TCP Data received {"connection_id":129626,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:59] local.INFO: Processing buffer {"connection_id":129626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:59] local.INFO: IMEI packet received {"connection_id":129626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":129626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:49:59] local.INFO: TCP Data received {"connection_id":129626,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:59] local.INFO: Processing buffer {"connection_id":129626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:49:59] local.INFO: IMEI packet received {"connection_id":129626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":129626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:50:04] local.INFO: TCP Data received {"connection_id":129626,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:50:04] local.INFO: Processing buffer {"connection_id":129626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:50:04] local.INFO: IMEI packet received {"connection_id":129626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":129626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:50:05] local.INFO: TCP Data received {"connection_id":129626,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5154e8f8012d191cc00720c2b0002b006e26..."} 
[2026-07-11 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5154e8f8012d191cc00720c2b0002b006e26..."} 
[2026-07-11 18:50:05] local.INFO: Processing buffer {"connection_id":129626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5154e8f8012d191cc00720c2b0002b006e26..."} 
[2026-07-11 18:50:05] local.INFO: Packet analysis {"connection_id":129626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:50:05] local.INFO: Extracted packet for processing {"connection_id":129626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5154"} 
[2026-07-11 18:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756620480,"raw_latitude":119587504,"longitude_deg":75.662048,"latitude_deg":11.9587504,"altitude":43,"angle":110,"satellites":38,"speed":47,"hex_longitude":"2d191cc0","hex_latitude":"0720c2b0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646640384001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5810742859137024,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801228775331065856,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783775947000,"timestamp_ms":1783775947000,"timestamp_seconds":1783775947,"priority":1,"record_length":96,"hex_timestamp":"0000019f5154e8f8"} 
[2026-07-11 18:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:50:05] 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-07-11 18: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-11 18:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646640384001,"66":14265,"121":206,"28":31744,"24":47,"16":5810742859137024,"45":1801228775331065856},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646640384001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5810742859137024,"km_value":5810742859137.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801228775331065856,"description":"Unknown IO ID 45"} 
[2026-07-11 18:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646640384001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1801228775331065856}} 
[2026-07-11 18:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":129626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:50:05] local.INFO: GPS data processed {"connection_id":129626,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:50:05] local.INFO: Acknowledgment sent {"connection_id":129626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:50:15] local.INFO: TCP Data received {"connection_id":128920,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:50:15] local.INFO: Processing buffer {"connection_id":128920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:50:15] local.INFO: IMEI packet received {"connection_id":128920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":128920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:50:18] local.INFO: TCP Data received {"connection_id":128920,"ip":"42.106.6.25","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 18:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128920,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 18:50:18] local.INFO: Processing buffer {"connection_id":128920,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 18:50:18] local.INFO: IMEI packet received {"connection_id":128920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":128920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:50:24] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515565f8012d7c010005db9e58000000a71d..."} 
[2026-07-11 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515565f8012d7c010005db9e58000000a71d..."} 
[2026-07-11 18:50:24] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515565f8012d7c010005db9e58000000a71d..."} 
[2026-07-11 18:50:24] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5155"} 
[2026-07-11 18:50:24] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5155"} 
[2026-07-11 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763101440,"raw_latitude":98279000,"longitude_deg":76.310144,"latitude_deg":9.8279,"altitude":0,"angle":167,"satellites":29,"speed":46,"hex_longitude":"2d7c0100","hex_latitude":"05db9e58","is_valid_coordinates":true} 
[2026-07-11 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646648576001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105154727985020928,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933312098516127744,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783775979000,"timestamp_ms":1783775979000,"timestamp_seconds":1783775979,"priority":1,"record_length":96,"hex_timestamp":"0000019f515565f8"} 
[2026-07-11 18:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015726,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":147,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2147867768,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184430,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399455,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2469396480,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3701264384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,168,85,24,241,157,16,149,159,35,45,230,29,10,66,148,4,128,12,232,1,240,46,227,147,81,220,113,205,47,174,234,80,28,239,50,169,2,117,5,31],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-11 18:50:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185946316865536,"timestamp_seconds":185946316865.536,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646648576001,"66":12526,"168":206,"85":15104,"24":46,"16":105154727985020928,"45":8933312098516127744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 18:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646648576001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:50:24] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 18:50:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105154727985020928,"km_value":105154727985020.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933312098516127744,"description":"Unknown IO ID 45"} 
[2026-07-11 18:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646648576001,"power":12526,"unknown_168":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8933312098516127744}} 
[2026-07-11 18:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:50:24] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:50:24] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:50:36] local.INFO: TCP Data received {"connection_id":129626,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51550838012d193f400720b2c00028007625..."} 
[2026-07-11 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51550838012d193f400720b2c00028007625..."} 
[2026-07-11 18:50:36] local.INFO: Processing buffer {"connection_id":129626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51550838012d193f400720b2c00028007625..."} 
[2026-07-11 18:50:36] local.INFO: Packet analysis {"connection_id":129626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5155"} 
[2026-07-11 18:50:36] local.INFO: Extracted packet for processing {"connection_id":129626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5155"} 
[2026-07-11 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756629312,"raw_latitude":119583424,"longitude_deg":75.6629312,"latitude_deg":11.9583424,"altitude":40,"angle":118,"satellites":37,"speed":43,"hex_longitude":"2d193f40","hex_latitude":"0720b2c0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 18:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646642432001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5811206715604992,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809532287143030784,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783775955000,"timestamp_ms":1783775955000,"timestamp_seconds":1783775955,"priority":1,"record_length":96,"hex_timestamp":"0000019f51550838"} 
[2026-07-11 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-07-11 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 18:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 18:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646642432001,"66":14048,"121":206,"28":31744,"24":43,"16":5811206715604992,"45":1809532287143030784},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646642432001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:50:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5811206715604992,"km_value":5811206715604.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809532287143030784,"description":"Unknown IO ID 45"} 
[2026-07-11 18:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646642432001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1809532287143030784}} 
[2026-07-11 18:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":129626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:50:36] local.INFO: GPS data processed {"connection_id":129626,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:50:36] local.INFO: Acknowledgment sent {"connection_id":129626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:50:55] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51558538012d7c090005db7a20000000aa1d..."} 
[2026-07-11 18:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51558538012d7c090005db7a20000000aa1d..."} 
[2026-07-11 18:50:55] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51558538012d7c090005db7a20000000aa1d..."} 
[2026-07-11 18:50:55] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5155"} 
[2026-07-11 18:50:55] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5155"} 
[2026-07-11 18:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":98269728,"longitude_deg":76.3103488,"latitude_deg":9.8269728,"altitude":0,"angle":170,"satellites":29,"speed":44,"hex_longitude":"2d7c0900","hex_latitude":"05db7a20","is_valid_coordinates":true} 
[2026-07-11 18:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646650624001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105155191841488896,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935423160839198720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783775987000,"timestamp_ms":1783775987000,"timestamp_seconds":1783775987,"priority":1,"record_length":96,"hex_timestamp":"0000019f51558538"} 
[2026-07-11 18:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-11 18:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646650624001,"66":13048,"168":206,"85":15104,"24":44,"16":105155191841488896,"45":8935423160839198720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-11 18:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646650624001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:50:55] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 18:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105155191841488896,"km_value":105155191841488.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935423160839198720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646650624001,"power":13048,"unknown_168":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8935423160839198720}} 
[2026-07-11 18:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:50:55] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:50:55] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:51:04] local.INFO: TCP Data received {"connection_id":129628,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:04] local.INFO: Processing buffer {"connection_id":129628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:04] local.INFO: IMEI packet received {"connection_id":129628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":129628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:51:05] local.INFO: TCP Data received {"connection_id":129628,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:05] local.INFO: Processing buffer {"connection_id":129628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:05] local.INFO: IMEI packet received {"connection_id":129628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":129628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:51:07] local.INFO: TCP Data received {"connection_id":129628,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51560620012d19bc800720a750002d012e28..."} 
[2026-07-11 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51560620012d19bc800720a750002d012e28..."} 
[2026-07-11 18:51:07] local.INFO: Processing buffer {"connection_id":129628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51560620012d19bc800720a750002d012e28..."} 
[2026-07-11 18:51:07] local.INFO: Packet analysis {"connection_id":129628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:07] local.INFO: Extracted packet for processing {"connection_id":129628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119580496,"longitude_deg":75.6661376,"latitude_deg":11.9580496,"altitude":45,"angle":302,"satellites":40,"speed":1,"hex_longitude":"2d19bc80","hex_latitude":"0720a750","is_valid_coordinates":true} 
[2026-07-11 18:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646660352001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5812834508210176,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849758391640064,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783776020000,"timestamp_ms":1783776020000,"timestamp_seconds":1783776020,"priority":1,"record_length":96,"hex_timestamp":"0000019f51560620"} 
[2026-07-11 18:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 18:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646660352001,"66":14233,"121":206,"28":31744,"24":1,"16":5812834508210176,"45":1854849758391640064},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646660352001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:51:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5812834508210176,"km_value":5812834508210.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849758391640064,"description":"Unknown IO ID 45"} 
[2026-07-11 18:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646660352001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1854849758391640064}} 
[2026-07-11 18:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":129628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:51:07] local.INFO: GPS data processed {"connection_id":129628,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:51:07] local.INFO: Acknowledgment sent {"connection_id":129628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:51:08] local.INFO: TCP Data received {"connection_id":129628,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51560a08012d19bc800720a778002d013a27..."} 
[2026-07-11 18:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51560a08012d19bc800720a778002d013a27..."} 
[2026-07-11 18:51:08] local.INFO: Processing buffer {"connection_id":129628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51560a08012d19bc800720a778002d013a27..."} 
[2026-07-11 18:51:08] local.INFO: Packet analysis {"connection_id":129628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:08] local.INFO: Extracted packet for processing {"connection_id":129628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119580536,"longitude_deg":75.6661376,"latitude_deg":11.9580536,"altitude":45,"angle":314,"satellites":39,"speed":1,"hex_longitude":"2d19bc80","hex_latitude":"0720a778","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646661120001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5812834508210176,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914670764032,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783776021000,"timestamp_ms":1783776021000,"timestamp_seconds":1783776021,"priority":1,"record_length":96,"hex_timestamp":"0000019f51560a08"} 
[2026-07-11 18:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-11 18:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646661120001,"66":14233,"121":206,"28":31744,"24":1,"16":5812834508210176,"45":1854497914670764032},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646661120001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:51:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5812834508210176,"km_value":5812834508210.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914670764032,"description":"Unknown IO ID 45"} 
[2026-07-11 18:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646661120001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1854497914670764032}} 
[2026-07-11 18:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":129628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:51:08] local.INFO: GPS data processed {"connection_id":129628,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:51:08] local.INFO: Acknowledgment sent {"connection_id":129628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:51:26] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5156aa30012d7c19c005daee680000010e24..."} 
[2026-07-11 18:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5156aa30012d7c19c005daee680000010e24..."} 
[2026-07-11 18:51:26] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5156aa30012d7c19c005daee680000010e24..."} 
[2026-07-11 18:51:26] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:26] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763107776,"raw_latitude":98233960,"longitude_deg":76.3107776,"latitude_deg":9.823396,"altitude":0,"angle":270,"satellites":36,"speed":8,"hex_longitude":"2d7c19c0","hex_latitude":"05daee68","is_valid_coordinates":true} 
[2026-07-11 18:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646669568001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105157120281804800,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944289622594093056,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783776062000,"timestamp_ms":1783776062000,"timestamp_seconds":1783776062,"priority":1,"record_length":96,"hex_timestamp":"0000019f5156aa30"} 
[2026-07-11 18:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 18:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646669568001,"66":12798,"187":206,"85":15104,"24":8,"16":105157120281804800,"45":8944289622594093056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-11 18:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646669568001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:51:26] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-11 18:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105157120281804800,"km_value":105157120281804.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944289622594093056,"description":"Unknown IO ID 45"} 
[2026-07-11 18:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646669568001,"power":12798,"unknown_187":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8944289622594093056}} 
[2026-07-11 18:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:51:26] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:51:26] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:51:43] local.INFO: TCP Data received {"connection_id":129628,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51562178012d19bc400720a6b8002d00b326..."} 
[2026-07-11 18:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51562178012d19bc400720a6b8002d00b326..."} 
[2026-07-11 18:51:43] local.INFO: Processing buffer {"connection_id":129628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51562178012d19bc400720a6b8002d00b326..."} 
[2026-07-11 18:51:43] local.INFO: Packet analysis {"connection_id":129628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:43] local.INFO: Extracted packet for processing {"connection_id":129628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:43] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119580344,"longitude_deg":75.6661312,"latitude_deg":11.9580344,"altitude":45,"angle":179,"satellites":38,"speed":3,"hex_longitude":"2d19bc40","hex_latitude":"0720a6b8","is_valid_coordinates":true} 
[2026-07-11 18:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646661376001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5812851688079360,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914670774272,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783776027000,"timestamp_ms":1783776027000,"timestamp_seconds":1783776027,"priority":1,"record_length":96,"hex_timestamp":"0000019f51562178"} 
[2026-07-11 18:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-11 18:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646661376001,"66":14363,"121":206,"28":31744,"24":3,"16":5812851688079360,"45":1854497914670774272},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646661376001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:51:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5812851688079360,"km_value":5812851688079.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914670774272,"description":"Unknown IO ID 45"} 
[2026-07-11 18:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646661376001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1854497914670774272}} 
[2026-07-11 18:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":129628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:51:43] local.INFO: GPS data processed {"connection_id":129628,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:51:43] local.INFO: Acknowledgment sent {"connection_id":129628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:51:57] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5156b9d0012d7c174005daee480000010326..."} 
[2026-07-11 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5156b9d0012d7c174005daee480000010326..."} 
[2026-07-11 18:51:57] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5156b9d0012d7c174005daee480000010326..."} 
[2026-07-11 18:51:57] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:57] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763107136,"raw_latitude":98233928,"longitude_deg":76.3107136,"latitude_deg":9.8233928,"altitude":0,"angle":259,"satellites":38,"speed":2,"hex_longitude":"2d7c1740","hex_latitude":"05daee48","is_valid_coordinates":true} 
[2026-07-11 18:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646671872001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105157146051608576,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942389666501257216,"note":"Value kept but may cause issues"} 
[2026-07-11 18:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783776066000,"timestamp_ms":1783776066000,"timestamp_seconds":1783776066,"priority":1,"record_length":96,"hex_timestamp":"0000019f5156b9d0"} 
[2026-07-11 18:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 18:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646671872001,"66":12809,"187":206,"85":15104,"24":2,"16":105157146051608576,"45":8942389666501257216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-11 18:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646671872001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:51:57] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-11 18:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105157146051608576,"km_value":105157146051608.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942389666501257216,"description":"Unknown IO ID 45"} 
[2026-07-11 18:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646671872001,"power":12809,"unknown_187":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8942389666501257216}} 
[2026-07-11 18:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:51:57] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:51:57] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:51:57] local.INFO: TCP Data received {"connection_id":128921,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:57] local.INFO: Processing buffer {"connection_id":128921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:57] local.INFO: IMEI packet received {"connection_id":128921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":128921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:51:59] local.INFO: TCP Data received {"connection_id":128921,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:59] local.INFO: Processing buffer {"connection_id":128921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:51:59] local.INFO: IMEI packet received {"connection_id":128921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":128921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:52:01] local.INFO: TCP Data received {"connection_id":128921,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:52:01] local.INFO: Processing buffer {"connection_id":128921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:52:01] local.INFO: IMEI packet received {"connection_id":128921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":128921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:52:02] local.INFO: TCP Data received {"connection_id":128921,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51562948012d19bc000720a5a8002d00cc27..."} 
[2026-07-11 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51562948012d19bc000720a5a8002d00cc27..."} 
[2026-07-11 18:52:02] local.INFO: Processing buffer {"connection_id":128921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51562948012d19bc000720a5a8002d00cc27..."} 
[2026-07-11 18:52:02] local.INFO: Packet analysis {"connection_id":128921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:52:02] local.INFO: Extracted packet for processing {"connection_id":128921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119580072,"longitude_deg":75.6661248,"latitude_deg":11.9580072,"altitude":45,"angle":204,"satellites":39,"speed":7,"hex_longitude":"2d19bc00","hex_latitude":"0720a5a8","is_valid_coordinates":true} 
[2026-07-11 18:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646662912001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5812864572981248,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926547456,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783776029000,"timestamp_ms":1783776029000,"timestamp_seconds":1783776029,"priority":1,"record_length":96,"hex_timestamp":"0000019f51562948"} 
[2026-07-11 18:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 18:52:02] 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-07-11 18:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646662912001,"66":13993,"121":206,"28":31744,"24":7,"16":5812864572981248,"45":1854427545926547456},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646662912001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:52:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:52:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5812864572981248,"km_value":5812864572981.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926547456,"description":"Unknown IO ID 45"} 
[2026-07-11 18:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646662912001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1854427545926547456}} 
[2026-07-11 18:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":128921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:52:02] local.INFO: GPS data processed {"connection_id":128921,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:52:02] local.INFO: Acknowledgment sent {"connection_id":128921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:52:10] local.INFO: TCP Data received {"connection_id":130878,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:52:10] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:52:10] local.INFO: IMEI packet received {"connection_id":130878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":130878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:52:33] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:52:33] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:52:33] local.INFO: IMEI packet received {"connection_id":128740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":128740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:52:34] local.INFO: TCP Data received {"connection_id":128921,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51563500012d19ba000720a2e0002d00da27..."} 
[2026-07-11 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51563500012d19ba000720a2e0002d00da27..."} 
[2026-07-11 18:52:34] local.INFO: Processing buffer {"connection_id":128921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51563500012d19ba000720a2e0002d00da27..."} 
[2026-07-11 18:52:34] local.INFO: Packet analysis {"connection_id":128921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:52:34] local.INFO: Extracted packet for processing {"connection_id":128921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119579360,"longitude_deg":75.6660736,"latitude_deg":11.957936,"altitude":45,"angle":218,"satellites":39,"speed":12,"hex_longitude":"2d19ba00","hex_latitude":"0720a2e0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646663424001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5812907522654208,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182300160,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783776032000,"timestamp_ms":1783776032000,"timestamp_seconds":1783776032,"priority":1,"record_length":96,"hex_timestamp":"0000019f51563500"} 
[2026-07-11 18:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-11 18:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":128921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":128921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":128921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646663424001,"66":14396,"121":206,"28":31744,"24":12,"16":5812907522654208,"45":1854357177182300160},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646663424001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:52:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:52:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5812907522654208,"km_value":5812907522654.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182300160,"description":"Unknown IO ID 45"} 
[2026-07-11 18:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646663424001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1854357177182300160}} 
[2026-07-11 18:52:34] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:52:34] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:52:34] local.INFO: IMEI packet received {"connection_id":128740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":128740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":128921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:52:34] local.INFO: GPS data processed {"connection_id":128921,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:52:34] local.INFO: Acknowledgment sent {"connection_id":128921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:52:39] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:52:39] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:52:39] local.INFO: IMEI packet received {"connection_id":128740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":128740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:52:40] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5156c588012d7c15c005daee180000010f26..."} 
[2026-07-11 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5156c588012d7c15c005daee180000010f26..."} 
[2026-07-11 18:52:40] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5156c588012d7c15c005daee180000010f26..."} 
[2026-07-11 18:52:40] local.INFO: Packet analysis {"connection_id":128740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:52:40] local.INFO: Extracted packet for processing {"connection_id":128740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763106752,"raw_latitude":98233880,"longitude_deg":76.3106752,"latitude_deg":9.823388,"altitude":0,"angle":271,"satellites":38,"speed":7,"hex_longitude":"2d7c15c0","hex_latitude":"05daee18","is_valid_coordinates":true} 
[2026-07-11 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646672896001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105157167526445056,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941685979059472384,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776069000,"timestamp_ms":1783776069000,"timestamp_seconds":1783776069,"priority":1,"record_length":96,"hex_timestamp":"0000019f5156c588"} 
[2026-07-11 18:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:52:40] 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-07-11 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221225472,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":81,"raw_value":6217368824224425280,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4011327488,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147867375,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3238055334,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2545614848,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2670449861077175257,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-5548208624951570859,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-11 18:52:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,187,85,24,241,157,16,151,159,170,45,192,238,36,10,66,135,128,239,37,123,1,240,227,81,218,4,113,205,107,35,168,39,50,2,117,5,47,59,183],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-11 18:52:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":284936720482304,"timestamp_seconds":284936720482.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646672896001,"66":12863,"187":206,"85":15104,"24":7,"16":105157167526445056,"45":8941685979059472384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-11 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646672896001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:52:40] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-11 18:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105157167526445056,"km_value":105157167526445.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941685979059472384,"description":"Unknown IO ID 45"} 
[2026-07-11 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646672896001,"power":12863,"unknown_187":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8941685979059472384}} 
[2026-07-11 18:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":128740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:52:40] local.INFO: GPS data processed {"connection_id":128740,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:52:40] local.INFO: Acknowledgment sent {"connection_id":128740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:52:44] local.INFO: TCP Data received {"connection_id":130879,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:52:44] local.INFO: Processing buffer {"connection_id":130879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:52:44] local.INFO: IMEI packet received {"connection_id":130879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":130879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:52:59] local.INFO: TCP Data received {"connection_id":130880,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:52:59] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:52:59] local.INFO: IMEI packet received {"connection_id":130880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":130880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:53:04] local.INFO: TCP Data received {"connection_id":130880,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:53:04] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:53:04] local.INFO: IMEI packet received {"connection_id":130880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":130880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:53:05] local.INFO: TCP Data received {"connection_id":130880,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51565c10012d19ae40072092c8002f00ca2a..."} 
[2026-07-11 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51565c10012d19ae40072092c8002f00ca2a..."} 
[2026-07-11 18:53:05] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51565c10012d19ae40072092c8002f00ca2a..."} 
[2026-07-11 18:53:05] local.INFO: Packet analysis {"connection_id":130880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:53:05] local.INFO: Extracted packet for processing {"connection_id":130880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5156"} 
[2026-07-11 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119575240,"longitude_deg":75.6657728,"latitude_deg":11.957524,"altitude":47,"angle":202,"satellites":42,"speed":21,"hex_longitude":"2d19ae40","hex_latitude":"072092c8","is_valid_coordinates":true} 
[2026-07-11 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646664192001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5813152335790080,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228696576,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776042000,"timestamp_ms":1783776042000,"timestamp_seconds":1783776042,"priority":1,"record_length":96,"hex_timestamp":"0000019f51565c10"} 
[2026-07-11 18:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:53:05] 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-07-11 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-11 18:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646664192001,"66":14396,"121":206,"28":31744,"24":21,"16":5813152335790080,"45":1853794227228696576},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646664192001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5813152335790080,"km_value":5813152335790.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228696576,"description":"Unknown IO ID 45"} 
[2026-07-11 18:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646664192001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1853794227228696576}} 
[2026-07-11 18:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":130880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:53:06] local.INFO: GPS data processed {"connection_id":130880,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:53:06] local.INFO: Acknowledgment sent {"connection_id":130880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:53:11] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515713a8012d7bfc8005daee780000010a25..."} 
[2026-07-11 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515713a8012d7bfc8005daee780000010a25..."} 
[2026-07-11 18:53:11] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515713a8012d7bfc8005daee780000010a25..."} 
[2026-07-11 18:53:11] local.INFO: Packet analysis {"connection_id":128740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5157"} 
[2026-07-11 18:53:11] local.INFO: Extracted packet for processing {"connection_id":128740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5157"} 
[2026-07-11 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763100288,"raw_latitude":98233976,"longitude_deg":76.3100288,"latitude_deg":9.8233976,"altitude":0,"angle":266,"satellites":37,"speed":11,"hex_longitude":"2d7bfc80","hex_latitude":"05daee78","is_valid_coordinates":true} 
[2026-07-11 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646673664001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105157476764090368,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941263766594394112,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783776089000,"timestamp_ms":1783776089000,"timestamp_seconds":1783776089,"priority":1,"record_length":96,"hex_timestamp":"0000019f515713a8"} 
[2026-07-11 18:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 18:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646673664001,"66":12939,"187":206,"85":15104,"24":11,"16":105157476764090368,"45":8941263766594394112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-11 18:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646673664001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:53:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-11 18:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105157476764090368,"km_value":105157476764090.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941263766594394112,"description":"Unknown IO ID 45"} 
[2026-07-11 18:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646673664001,"power":12939,"unknown_187":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8941263766594394112}} 
[2026-07-11 18:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":128740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:53:11] local.INFO: GPS data processed {"connection_id":128740,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:53:11] local.INFO: Acknowledgment sent {"connection_id":128740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:53:42] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51575228012d7bd74005daeda80000010b29..."} 
[2026-07-11 18:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51575228012d7bd74005daeda80000010b29..."} 
[2026-07-11 18:53:42] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51575228012d7bd74005daeda80000010b29..."} 
[2026-07-11 18:53:42] local.INFO: Packet analysis {"connection_id":128740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5157"} 
[2026-07-11 18:53:42] local.INFO: Extracted packet for processing {"connection_id":128740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5157"} 
[2026-07-11 18:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763090752,"raw_latitude":98233768,"longitude_deg":76.3090752,"latitude_deg":9.8233768,"altitude":0,"angle":267,"satellites":41,"speed":32,"hex_longitude":"2d7bd740","hex_latitude":"05daeda8","is_valid_coordinates":true} 
[2026-07-11 18:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646678784001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105157932030623744,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934156523432474624,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783776105000,"timestamp_ms":1783776105000,"timestamp_seconds":1783776105,"priority":1,"record_length":96,"hex_timestamp":"0000019f51575228"} 
[2026-07-11 18:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:53:42] 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-07-11 18:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646678784001,"66":12917,"187":206,"85":15104,"24":32,"16":105157932030623744,"45":8934156523432474624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-11 18:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646678784001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:53:42] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-11 18:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105157932030623744,"km_value":105157932030623.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934156523432474624,"description":"Unknown IO ID 45"} 
[2026-07-11 18:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646678784001,"power":12917,"unknown_187":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8934156523432474624}} 
[2026-07-11 18:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":128740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:53:42] local.INFO: GPS data processed {"connection_id":128740,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:53:42] local.INFO: Acknowledgment sent {"connection_id":128740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:53:42] local.INFO: TCP Data received {"connection_id":130880,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51584840012d19cec0072018e00031015e28..."} 
[2026-07-11 18:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51584840012d19cec0072018e00031015e28..."} 
[2026-07-11 18:53:42] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51584840012d19cec0072018e00031015e28..."} 
[2026-07-11 18:53:42] local.INFO: Packet analysis {"connection_id":130880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5158"} 
[2026-07-11 18:53:42] local.INFO: Extracted packet for processing {"connection_id":130880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5158"} 
[2026-07-11 18:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544032,"longitude_deg":75.6666048,"latitude_deg":11.9544032,"altitude":49,"angle":350,"satellites":40,"speed":2,"hex_longitude":"2d19cec0","hex_latitude":"072018e0","is_valid_coordinates":true} 
[2026-07-11 18:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646698496001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814823078068224,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730521088,"note":"Value kept but may cause issues"} 
[2026-07-11 18:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783776168000,"timestamp_ms":1783776168000,"timestamp_seconds":1783776168,"priority":1,"record_length":96,"hex_timestamp":"0000019f51584840"} 
[2026-07-11 18:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-11 18:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646698496001,"66":13015,"121":206,"28":31744,"24":2,"16":5814823078068224,"45":1859705201730521088},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646698496001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:53:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814823078068224,"km_value":5814823078068.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730521088,"description":"Unknown IO ID 45"} 
[2026-07-11 18:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646698496001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1859705201730521088}} 
[2026-07-11 18:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":130880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:53:43] local.INFO: GPS data processed {"connection_id":130880,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:53:43] local.INFO: Acknowledgment sent {"connection_id":130880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:53:59] local.INFO: TCP Data received {"connection_id":129632,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:53:59] local.INFO: Processing buffer {"connection_id":129632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:53:59] local.INFO: IMEI packet received {"connection_id":129632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":129632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:54:04] local.INFO: TCP Data received {"connection_id":129632,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:54:04] local.INFO: Processing buffer {"connection_id":129632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:54:04] local.INFO: IMEI packet received {"connection_id":129632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":129632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:54:05] local.INFO: TCP Data received {"connection_id":129632,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51585bc8012d19cf00072018580030009828..."} 
[2026-07-11 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51585bc8012d19cf00072018580030009828..."} 
[2026-07-11 18:54:05] local.INFO: Processing buffer {"connection_id":129632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51585bc8012d19cf00072018580030009828..."} 
[2026-07-11 18:54:05] local.INFO: Packet analysis {"connection_id":129632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5158"} 
[2026-07-11 18:54:05] local.INFO: Extracted packet for processing {"connection_id":129632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5158"} 
[2026-07-11 18:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543896,"longitude_deg":75.6666112,"latitude_deg":11.9543896,"altitude":48,"angle":152,"satellites":40,"speed":4,"hex_longitude":"2d19cf00","hex_latitude":"07201858","is_valid_coordinates":true} 
[2026-07-11 18:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646699008001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814831668002816,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986398720,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776173000,"timestamp_ms":1783776173000,"timestamp_seconds":1783776173,"priority":1,"record_length":96,"hex_timestamp":"0000019f51585bc8"} 
[2026-07-11 18:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:54:05] 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-07-11 18:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-11 18:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646699008001,"66":13015,"121":206,"28":31744,"24":4,"16":5814831668002816,"45":1859634832986398720},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646699008001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814831668002816,"km_value":5814831668002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986398720,"description":"Unknown IO ID 45"} 
[2026-07-11 18:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646699008001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1859634832986398720}} 
[2026-07-11 18:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":129632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:54:06] local.INFO: GPS data processed {"connection_id":129632,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:54:06] local.INFO: Acknowledgment sent {"connection_id":129632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:54:13] local.INFO: TCP Data received {"connection_id":128740,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51577938012d7bb3c005daeb880001010c29..."} 
[2026-07-11 18:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51577938012d7bb3c005daeb880001010c29..."} 
[2026-07-11 18:54:13] local.INFO: Processing buffer {"connection_id":128740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51577938012d7bb3c005daeb880001010c29..."} 
[2026-07-11 18:54:13] local.INFO: Packet analysis {"connection_id":128740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5157"} 
[2026-07-11 18:54:13] local.INFO: Extracted packet for processing {"connection_id":128740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5157"} 
[2026-07-11 18:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763081664,"raw_latitude":98233224,"longitude_deg":76.3081664,"latitude_deg":9.8233224,"altitude":1,"angle":268,"satellites":41,"speed":32,"hex_longitude":"2d7bb3c0","hex_latitude":"05daeb88","is_valid_coordinates":true} 
[2026-07-11 18:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646682880001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105158365822320640,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923671580549949440,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783776115000,"timestamp_ms":1783776115000,"timestamp_seconds":1783776115,"priority":1,"record_length":96,"hex_timestamp":"0000019f51577938"} 
[2026-07-11 18:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 18:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646682880001,"66":12722,"188":206,"85":15104,"24":32,"16":105158365822320640,"45":8923671580549949440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 18:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646682880001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:54:13] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 18:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105158365822320640,"km_value":105158365822320.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923671580549949440,"description":"Unknown IO ID 45"} 
[2026-07-11 18:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646682880001,"power":12722,"unknown_188":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8923671580549949440}} 
[2026-07-11 18:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":128740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:54:13] local.INFO: GPS data processed {"connection_id":128740,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:54:13] local.INFO: Acknowledgment sent {"connection_id":128740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:54:34] local.INFO: TCP Data received {"connection_id":128741,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:54:34] local.INFO: Processing buffer {"connection_id":128741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:54:34] local.INFO: IMEI packet received {"connection_id":128741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":128741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:54:37] local.INFO: TCP Data received {"connection_id":129632,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51586398012d19cf80072017900031008429..."} 
[2026-07-11 18:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51586398012d19cf80072017900031008429..."} 
[2026-07-11 18:54:37] local.INFO: Processing buffer {"connection_id":129632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51586398012d19cf80072017900031008429..."} 
[2026-07-11 18:54:37] local.INFO: Packet analysis {"connection_id":129632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5158"} 
[2026-07-11 18:54:37] local.INFO: Extracted packet for processing {"connection_id":129632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5158"} 
[2026-07-11 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756666240,"raw_latitude":119543696,"longitude_deg":75.666624,"latitude_deg":11.9543696,"altitude":49,"angle":132,"satellites":41,"speed":5,"hex_longitude":"2d19cf80","hex_latitude":"07201790","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646700288001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814844552904704,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730541568,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776175000,"timestamp_ms":1783776175000,"timestamp_seconds":1783776175,"priority":1,"record_length":96,"hex_timestamp":"0000019f51586398"} 
[2026-07-11 18:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:54:37] 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-07-11 18: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":215,"data_length":795,"current_offset":136} 
[2026-07-11 18:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646700288001,"66":13004,"121":206,"28":31744,"24":5,"16":5814844552904704,"45":1859705201730541568},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646700288001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814844552904704,"km_value":5814844552904.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730541568,"description":"Unknown IO ID 45"} 
[2026-07-11 18:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646700288001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1859705201730541568}} 
[2026-07-11 18:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":129632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:54:37] local.INFO: GPS data processed {"connection_id":129632,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:54:37] local.INFO: Acknowledgment sent {"connection_id":129632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:54:39] local.INFO: TCP Data received {"connection_id":128741,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:54:39] local.INFO: Processing buffer {"connection_id":128741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:54:39] local.INFO: IMEI packet received {"connection_id":128741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":128741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:54:40] local.INFO: TCP Data received {"connection_id":128741,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5157a048012d7b900005dae7e8000401002c..."} 
[2026-07-11 18:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5157a048012d7b900005dae7e8000401002c..."} 
[2026-07-11 18:54:40] local.INFO: Processing buffer {"connection_id":128741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5157a048012d7b900005dae7e8000401002c..."} 
[2026-07-11 18:54:40] local.INFO: Packet analysis {"connection_id":128741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5157"} 
[2026-07-11 18:54:40] local.INFO: Extracted packet for processing {"connection_id":128741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5157"} 
[2026-07-11 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763072512,"raw_latitude":98232296,"longitude_deg":76.3072512,"latitude_deg":9.8232296,"altitude":4,"angle":256,"satellites":44,"speed":41,"hex_longitude":"2d7b9000","hex_latitude":"05dae7e8","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646685440001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105158808203952128,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913679218876581888,"note":"Value kept but may cause issues"} 
[2026-07-11 18:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776125000,"timestamp_ms":1783776125000,"timestamp_seconds":1783776125,"priority":1,"record_length":96,"hex_timestamp":"0000019f5157a048"} 
[2026-07-11 18:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:54:40] 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-07-11 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646685440001,"66":13059,"188":206,"85":15104,"24":41,"16":105158808203952128,"45":8913679218876581888},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 18:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646685440001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:54:40] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 18:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105158808203952128,"km_value":105158808203952.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913679218876581888,"description":"Unknown IO ID 45"} 
[2026-07-11 18:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646685440001,"power":13059,"unknown_188":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8913679218876581888}} 
[2026-07-11 18:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":128741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:54:40] local.INFO: GPS data processed {"connection_id":128741,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:54:40] local.INFO: Acknowledgment sent {"connection_id":128741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:54:59] local.INFO: TCP Data received {"connection_id":129635,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:54:59] local.INFO: Processing buffer {"connection_id":129635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:54:59] local.INFO: IMEI packet received {"connection_id":129635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":129635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:55:04] local.INFO: TCP Data received {"connection_id":129635,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:55:04] local.INFO: Processing buffer {"connection_id":129635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:55:04] local.INFO: IMEI packet received {"connection_id":129635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":129635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:55:05] local.INFO: TCP Data received {"connection_id":129635,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5158b5a0012d19d080072016d00031008a29..."} 
[2026-07-11 18:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5158b5a0012d19d080072016d00031008a29..."} 
[2026-07-11 18:55:05] local.INFO: Processing buffer {"connection_id":129635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5158b5a0012d19d080072016d00031008a29..."} 
[2026-07-11 18:55:05] local.INFO: Packet analysis {"connection_id":129635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5158"} 
[2026-07-11 18:55:05] local.INFO: Extracted packet for processing {"connection_id":129635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5158"} 
[2026-07-11 18:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":41,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646700800001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859845939218845696,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776196000,"timestamp_ms":1783776196000,"timestamp_seconds":1783776196,"priority":1,"record_length":96,"hex_timestamp":"0000019f5158b5a0"} 
[2026-07-11 18:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:55:05] 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-07-11 18: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-11 18:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18: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-07-11 18:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646700800001,"66":12972,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1859845939218845696},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646700800001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:55:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859845939218845696,"description":"Unknown IO ID 45"} 
[2026-07-11 18:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646700800001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859845939218845696}} 
[2026-07-11 18:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":129635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:55:06] local.INFO: GPS data processed {"connection_id":129635,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:55:06] local.INFO: Acknowledgment sent {"connection_id":129635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:55:12] local.INFO: TCP Data received {"connection_id":128741,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5159fdc0012d7ad68005dab750000700f026..."} 
[2026-07-11 18:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5159fdc0012d7ad68005dab750000700f026..."} 
[2026-07-11 18:55:12] local.INFO: Processing buffer {"connection_id":128741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5159fdc0012d7ad68005dab750000700f026..."} 
[2026-07-11 18:55:12] local.INFO: Packet analysis {"connection_id":128741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:55:12] local.INFO: Extracted packet for processing {"connection_id":128741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98219856,"longitude_deg":76.3025024,"latitude_deg":9.8219856,"altitude":7,"angle":240,"satellites":38,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05dab750","is_valid_coordinates":true} 
[2026-07-11 18:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646722304001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105161157551063040,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880275927040,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783776280000,"timestamp_ms":1783776280000,"timestamp_seconds":1783776280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5159fdc0"} 
[2026-07-11 18:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-11 18:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646722304001,"66":12809,"188":206,"85":15104,"24":0,"16":105161157551063040,"45":8851402880275927040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 18:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646722304001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:55:12] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 18:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105161157551063040,"km_value":105161157551063.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880275927040,"description":"Unknown IO ID 45"} 
[2026-07-11 18:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646722304001,"power":12809,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880275927040}} 
[2026-07-11 18:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":128741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:55:12] local.INFO: GPS data processed {"connection_id":128741,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:55:12] local.INFO: Acknowledgment sent {"connection_id":128741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:55:19] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:55:19] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:55:19] local.INFO: IMEI packet received {"connection_id":128922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 18:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":128922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:55:37] local.INFO: TCP Data received {"connection_id":129635,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515907a8012d19d080072016d00031008a28..."} 
[2026-07-11 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515907a8012d19d080072016d00031008a28..."} 
[2026-07-11 18:55:37] local.INFO: Processing buffer {"connection_id":129635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515907a8012d19d080072016d00031008a28..."} 
[2026-07-11 18:55:37] local.INFO: Packet analysis {"connection_id":129635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:55:37] local.INFO: Extracted packet for processing {"connection_id":129635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646706176001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776217000,"timestamp_ms":1783776217000,"timestamp_seconds":1783776217,"priority":1,"record_length":96,"hex_timestamp":"0000019f515907a8"} 
[2026-07-11 18:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 18:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646706176001,"66":12939,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646706176001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:55:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646706176001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":129635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:55:37] local.INFO: GPS data processed {"connection_id":129635,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:55:37] local.INFO: Acknowledgment sent {"connection_id":129635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:55:39] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:55:39] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:55:39] local.INFO: IMEI packet received {"connection_id":130882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":130882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:55:41] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:55:41] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 18:55:41] local.INFO: IMEI packet received {"connection_id":128922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":128922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:55:41] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 18:55:41] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 18:55:41] local.INFO: IMEI packet received {"connection_id":128922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 18:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":128922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:55:44] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:55:44] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:55:44] local.INFO: IMEI packet received {"connection_id":130882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":130882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:55:45] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515a1530012d7ad5c005dab738000800fd27..."} 
[2026-07-11 18:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515a1530012d7ad5c005dab738000800fd27..."} 
[2026-07-11 18:55:45] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515a1530012d7ad5c005dab738000800fd27..."} 
[2026-07-11 18:55:45] local.INFO: Packet analysis {"connection_id":130882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:55:45] local.INFO: Extracted packet for processing {"connection_id":130882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:55:45] local.INFO: GPS Element Parsed {"raw_longitude":763024832,"raw_latitude":98219832,"longitude_deg":76.3024832,"latitude_deg":9.8219832,"altitude":8,"angle":253,"satellites":39,"speed":2,"hex_longitude":"2d7ad5c0","hex_latitude":"05dab738","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646727680001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105161166140997632,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880275927040,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783776286000,"timestamp_ms":1783776286000,"timestamp_seconds":1783776286,"priority":1,"record_length":96,"hex_timestamp":"0000019f515a1530"} 
[2026-07-11 18:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2738188573609034752,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":81,"raw_value":6343812661418599360,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3080716295,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867321,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2607874048,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2681242667165089750,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":7278043113833156181,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,188,85,24,241,157,16,155,159,171,45,128,183,7,38,10,66,89,35,31,1,240,19,227,81,218,4,113,205,123,220,48,41,239,50,2,117,5,26,49,59,8],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-07-11 18:55:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504667204264919040,"timestamp_seconds":504667204264919.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646727680001,"66":12874,"188":206,"85":15104,"24":2,"16":105161166140997632,"45":8851402880275927040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 18:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646727680001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:55:45] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 18:55:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105161166140997632,"km_value":105161166140997.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880275927040,"description":"Unknown IO ID 45"} 
[2026-07-11 18:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646727680001,"power":12874,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8851402880275927040}} 
[2026-07-11 18:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":130882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:55:45] local.INFO: GPS data processed {"connection_id":130882,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:55:45] local.INFO: Acknowledgment sent {"connection_id":130882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:55:50] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515a6738012d7ac78005dab298000800fb2c..."} 
[2026-07-11 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515a6738012d7ac78005dab298000800fb2c..."} 
[2026-07-11 18:55:50] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515a6738012d7ac78005dab298000800fb2c..."} 
[2026-07-11 18:55:50] local.INFO: Packet analysis {"connection_id":130882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:55:50] local.INFO: Extracted packet for processing {"connection_id":130882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":763021184,"raw_latitude":98218648,"longitude_deg":76.3021184,"latitude_deg":9.8218648,"altitude":8,"angle":251,"satellites":44,"speed":5,"hex_longitude":"2d7ac780","hex_latitude":"05dab298","is_valid_coordinates":true} 
[2026-07-11 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646729216001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105161350824591360,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851191774043387904,"note":"Value kept but may cause issues"} 
[2026-07-11 18:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783776307000,"timestamp_ms":1783776307000,"timestamp_seconds":1783776307,"priority":1,"record_length":96,"hex_timestamp":"0000019f515a6738"} 
[2026-07-11 18:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-11 18:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646729216001,"66":12928,"188":206,"85":15104,"24":5,"16":105161350824591360,"45":8851191774043387904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 18:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646729216001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:55:50] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 18:55:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105161350824591360,"km_value":105161350824591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851191774043387904,"description":"Unknown IO ID 45"} 
[2026-07-11 18:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646729216001,"power":12928,"unknown_188":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8851191774043387904}} 
[2026-07-11 18:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":130882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:55:50] local.INFO: GPS data processed {"connection_id":130882,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:55:50] local.INFO: Acknowledgment sent {"connection_id":130882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:55:59] local.INFO: TCP Data received {"connection_id":128923,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:55:59] local.INFO: Processing buffer {"connection_id":128923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:55:59] local.INFO: IMEI packet received {"connection_id":128923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":128923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:56:00] local.INFO: TCP Data received {"connection_id":128923,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:56:00] local.INFO: Processing buffer {"connection_id":128923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:56:00] local.INFO: IMEI packet received {"connection_id":128923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":128923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:56:04] local.INFO: TCP Data received {"connection_id":128923,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:56:04] local.INFO: Processing buffer {"connection_id":128923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:56:04] local.INFO: IMEI packet received {"connection_id":128923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":128923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:56:05] local.INFO: TCP Data received {"connection_id":128923,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515959b0012d19d080072016d00031008a28..."} 
[2026-07-11 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515959b0012d19d080072016d00031008a28..."} 
[2026-07-11 18:56:05] local.INFO: Processing buffer {"connection_id":128923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515959b0012d19d080072016d00031008a28..."} 
[2026-07-11 18:56:05] local.INFO: Packet analysis {"connection_id":128923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:56:05] local.INFO: Extracted packet for processing {"connection_id":128923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646711552001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776238000,"timestamp_ms":1783776238000,"timestamp_seconds":1783776238,"priority":1,"record_length":96,"hex_timestamp":"0000019f515959b0"} 
[2026-07-11 18:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:56:05] 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-07-11 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-11 18:56:05] 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-07-11 18:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646711552001,"66":12852,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646711552001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:56:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646711552001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":128923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:56:06] local.INFO: GPS data processed {"connection_id":128923,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:56:06] local.INFO: Acknowledgment sent {"connection_id":128923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:56:34] local.INFO: TCP Data received {"connection_id":128925,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:56:34] local.INFO: Processing buffer {"connection_id":128925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:56:34] local.INFO: IMEI packet received {"connection_id":128925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":128925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:56:37] local.INFO: TCP Data received {"connection_id":128923,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5159abb8012d19d080072016d00031008a2a..."} 
[2026-07-11 18:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5159abb8012d19d080072016d00031008a2a..."} 
[2026-07-11 18:56:37] local.INFO: Processing buffer {"connection_id":128923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5159abb8012d19d080072016d00031008a2a..."} 
[2026-07-11 18:56:37] local.INFO: Packet analysis {"connection_id":128923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:56:37] local.INFO: Extracted packet for processing {"connection_id":128923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646716928001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776259000,"timestamp_ms":1783776259000,"timestamp_seconds":1783776259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5159abb8"} 
[2026-07-11 18:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-11 18:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646716928001,"66":12287,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646716928001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:56:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646716928001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":128923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:56:37] local.INFO: GPS data processed {"connection_id":128923,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:56:37] local.INFO: Acknowledgment sent {"connection_id":128923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:56:39] local.INFO: TCP Data received {"connection_id":128925,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:56:39] local.INFO: Processing buffer {"connection_id":128925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:56:39] local.INFO: IMEI packet received {"connection_id":128925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":128925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:56:40] local.INFO: TCP Data received {"connection_id":128925,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515ab940012d7aba4005daae20000800ff2c..."} 
[2026-07-11 18:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515ab940012d7aba4005daae20000800ff2c..."} 
[2026-07-11 18:56:40] local.INFO: Processing buffer {"connection_id":128925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515ab940012d7aba4005daae20000800ff2c..."} 
[2026-07-11 18:56:40] local.INFO: Packet analysis {"connection_id":128925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:56:40] local.INFO: Extracted packet for processing {"connection_id":128925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763017792,"raw_latitude":98217504,"longitude_deg":76.3017792,"latitude_deg":9.8217504,"altitude":8,"angle":255,"satellites":44,"speed":7,"hex_longitude":"2d7aba40","hex_latitude":"05daae20","is_valid_coordinates":true} 
[2026-07-11 18:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646734592001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105161522623283200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847180755624957952,"note":"Value kept but may cause issues"} 
[2026-07-11 18:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776328000,"timestamp_ms":1783776328000,"timestamp_seconds":1783776328,"priority":1,"record_length":96,"hex_timestamp":"0000019f515ab940"} 
[2026-07-11 18:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-11 18:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646734592001,"66":12961,"188":206,"85":15104,"24":7,"16":105161522623283200,"45":8847180755624957952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 18:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646734592001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:56:40] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 18:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105161522623283200,"km_value":105161522623283.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847180755624957952,"description":"Unknown IO ID 45"} 
[2026-07-11 18:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646734592001,"power":12961,"unknown_188":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8847180755624957952}} 
[2026-07-11 18:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":128925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:56:40] local.INFO: GPS data processed {"connection_id":128925,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:56:40] local.INFO: Acknowledgment sent {"connection_id":128925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:56:59] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:56:59] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:56:59] local.INFO: IMEI packet received {"connection_id":130884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":130884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:57:03] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:57:03] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:57:03] local.INFO: IMEI packet received {"connection_id":130884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":130884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:57:04] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:57:04] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:57:04] local.INFO: IMEI packet received {"connection_id":130884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":130884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:57:05] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5159fdc0012d19d080072016d00031008a26..."} 
[2026-07-11 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5159fdc0012d19d080072016d00031008a26..."} 
[2026-07-11 18:57:05] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5159fdc0012d19d080072016d00031008a26..."} 
[2026-07-11 18:57:05] local.INFO: Packet analysis {"connection_id":130884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:57:05] local.INFO: Extracted packet for processing {"connection_id":130884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5159"} 
[2026-07-11 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646722304001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776280000,"timestamp_ms":1783776280000,"timestamp_seconds":1783776280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5159fdc0"} 
[2026-07-11 18:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:57:05] 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-07-11 18:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-11 18:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646722304001,"66":12776,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646722304001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646722304001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":130884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:57:05] local.INFO: GPS data processed {"connection_id":130884,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:57:05] local.INFO: Acknowledgment sent {"connection_id":130884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:57:10] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515a4fc8012d19d080072016d00031008a29..."} 
[2026-07-11 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515a4fc8012d19d080072016d00031008a29..."} 
[2026-07-11 18:57:10] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515a4fc8012d19d080072016d00031008a29..."} 
[2026-07-11 18:57:10] local.INFO: Packet analysis {"connection_id":130884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:57:10] local.INFO: Extracted packet for processing {"connection_id":130884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":41,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646727680001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783776301000,"timestamp_ms":1783776301000,"timestamp_seconds":1783776301,"priority":1,"record_length":96,"hex_timestamp":"0000019f515a4fc8"} 
[2026-07-11 18:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-11 18:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646727680001,"66":12722,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646727680001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:57:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:57:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646727680001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":130884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:57:10] local.INFO: GPS data processed {"connection_id":130884,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:57:10] local.INFO: Acknowledgment sent {"connection_id":130884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:57:11] local.INFO: TCP Data received {"connection_id":128925,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515b0b48012d7aad4005daaa00000800fe2d..."} 
[2026-07-11 18:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515b0b48012d7aad4005daaa00000800fe2d..."} 
[2026-07-11 18:57:11] local.INFO: Processing buffer {"connection_id":128925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515b0b48012d7aad4005daaa00000800fe2d..."} 
[2026-07-11 18:57:11] local.INFO: Packet analysis {"connection_id":128925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:57:11] local.INFO: Extracted packet for processing {"connection_id":128925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763014464,"raw_latitude":98216448,"longitude_deg":76.3014464,"latitude_deg":9.8216448,"altitude":8,"angle":254,"satellites":45,"speed":9,"hex_longitude":"2d7aad40","hex_latitude":"05daaa00","is_valid_coordinates":true} 
[2026-07-11 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646739968001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105161690127007744,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843451212183248896,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783776349000,"timestamp_ms":1783776349000,"timestamp_seconds":1783776349,"priority":1,"record_length":96,"hex_timestamp":"0000019f515b0b48"} 
[2026-07-11 18:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 18:57:11] 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-07-11 18:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646739968001,"66":12667,"188":206,"85":15104,"24":9,"16":105161690127007744,"45":8843451212183248896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 18:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646739968001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:57:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 18:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105161690127007744,"km_value":105161690127007.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843451212183248896,"description":"Unknown IO ID 45"} 
[2026-07-11 18:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646739968001,"power":12667,"unknown_188":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8843451212183248896}} 
[2026-07-11 18:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":128925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:57:11] local.INFO: GPS data processed {"connection_id":128925,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:57:11] local.INFO: Acknowledgment sent {"connection_id":128925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:57:33] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:57:33] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:57:33] local.INFO: IMEI packet received {"connection_id":130885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":130885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:57:34] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:57:34] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:57:34] local.INFO: IMEI packet received {"connection_id":130885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":130885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:57:39] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:57:39] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:57:39] local.INFO: IMEI packet received {"connection_id":130885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":130885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:57:40] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515b5d50012d7a8e8005daa0c0000800fd2c..."} 
[2026-07-11 18:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515b5d50012d7a8e8005daa0c0000800fd2c..."} 
[2026-07-11 18:57:40] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515b5d50012d7a8e8005daa0c0000800fd2c..."} 
[2026-07-11 18:57:40] local.INFO: Packet analysis {"connection_id":130885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:57:40] local.INFO: Extracted packet for processing {"connection_id":130885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763006592,"raw_latitude":98214080,"longitude_deg":76.3006592,"latitude_deg":9.821408,"altitude":8,"angle":253,"satellites":44,"speed":23,"hex_longitude":"2d7a8e80","hex_latitude":"05daa0c0","is_valid_coordinates":true} 
[2026-07-11 18:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646745344001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105162085263998976,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839792037485740032,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776370000,"timestamp_ms":1783776370000,"timestamp_seconds":1783776370,"priority":1,"record_length":96,"hex_timestamp":"0000019f515b5d50"} 
[2026-07-11 18:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 18:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646745344001,"66":13059,"188":206,"85":15104,"24":23,"16":105162085263998976,"45":8839792037485740032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 18:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646745344001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:57:40] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 18:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105162085263998976,"km_value":105162085263998.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839792037485740032,"description":"Unknown IO ID 45"} 
[2026-07-11 18:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646745344001,"power":13059,"unknown_188":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8839792037485740032}} 
[2026-07-11 18:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":130885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:57:40] local.INFO: GPS data processed {"connection_id":130885,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:57:40] local.INFO: Acknowledgment sent {"connection_id":130885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:57:42] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515aa1d0012d19d080072016d00031008a2a..."} 
[2026-07-11 18:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515aa1d0012d19d080072016d00031008a2a..."} 
[2026-07-11 18:57:42] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515aa1d0012d19d080072016d00031008a2a..."} 
[2026-07-11 18:57:42] local.INFO: Packet analysis {"connection_id":130884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:57:42] local.INFO: Extracted packet for processing {"connection_id":130884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646733056001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783776322000,"timestamp_ms":1783776322000,"timestamp_seconds":1783776322,"priority":1,"record_length":96,"hex_timestamp":"0000019f515aa1d0"} 
[2026-07-11 18:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 18:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646733056001,"66":11852,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646733056001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:57:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646733056001,"power":11852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":130884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:57:42] local.INFO: GPS data processed {"connection_id":130884,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:57:42] local.INFO: Acknowledgment sent {"connection_id":130884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:58:04] local.INFO: TCP Data received {"connection_id":128927,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:58:04] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:58:04] local.INFO: IMEI packet received {"connection_id":128927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":128927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:58:06] local.INFO: TCP Data received {"connection_id":128927,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:58:06] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:58:06] local.INFO: IMEI packet received {"connection_id":128927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":128927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:58:07] local.INFO: TCP Data received {"connection_id":128927,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515af3d8012d19d080072016d00031008a2b..."} 
[2026-07-11 18:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515af3d8012d19d080072016d00031008a2b..."} 
[2026-07-11 18:58:07] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515af3d8012d19d080072016d00031008a2b..."} 
[2026-07-11 18:58:07] local.INFO: Packet analysis {"connection_id":128927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:58:07] local.INFO: Extracted packet for processing {"connection_id":128927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515a"} 
[2026-07-11 18:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":43,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646738432001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783776343000,"timestamp_ms":1783776343000,"timestamp_seconds":1783776343,"priority":1,"record_length":96,"hex_timestamp":"0000019f515af3d8"} 
[2026-07-11 18:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:58: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-07-11 18:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 18:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646738432001,"66":12689,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646738432001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:58:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646738432001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":128927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:58:07] local.INFO: GPS data processed {"connection_id":128927,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:58:07] local.INFO: Acknowledgment sent {"connection_id":128927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:58:09] local.INFO: TCP Data received {"connection_id":128927,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515b45e0012d19d080072016d00031008a2a..."} 
[2026-07-11 18:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515b45e0012d19d080072016d00031008a2a..."} 
[2026-07-11 18:58:09] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515b45e0012d19d080072016d00031008a2a..."} 
[2026-07-11 18:58:09] local.INFO: Packet analysis {"connection_id":128927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:58:09] local.INFO: Extracted packet for processing {"connection_id":128927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646743808001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783776364000,"timestamp_ms":1783776364000,"timestamp_seconds":1783776364,"priority":1,"record_length":96,"hex_timestamp":"0000019f515b45e0"} 
[2026-07-11 18:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 18:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646743808001,"66":12613,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646743808001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:58:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646743808001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":128927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:58:09] local.INFO: GPS data processed {"connection_id":128927,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:58:09] local.INFO: Acknowledgment sent {"connection_id":128927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:58:10] local.INFO: TCP Data received {"connection_id":128926,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:58:10] local.INFO: Processing buffer {"connection_id":128926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:58:10] local.INFO: IMEI packet received {"connection_id":128926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":128926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:58:11] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515b97e8012d7a6c8005da9770000801042d..."} 
[2026-07-11 18:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515b97e8012d7a6c8005da9770000801042d..."} 
[2026-07-11 18:58:11] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515b97e8012d7a6c8005da9770000801042d..."} 
[2026-07-11 18:58:11] local.INFO: Packet analysis {"connection_id":130885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:58:11] local.INFO: Extracted packet for processing {"connection_id":130885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":762997888,"raw_latitude":98211696,"longitude_deg":76.2997888,"latitude_deg":9.8211696,"altitude":8,"angle":260,"satellites":45,"speed":24,"hex_longitude":"2d7a6c80","hex_latitude":"05da9770","is_valid_coordinates":true} 
[2026-07-11 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646750720001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105162514760728576,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831136681951281152,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783776385000,"timestamp_ms":1783776385000,"timestamp_seconds":1783776385,"priority":1,"record_length":96,"hex_timestamp":"0000019f515b97e8"} 
[2026-07-11 18:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158634007974,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3073900552,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3221302650,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2147867319,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2609119232,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3669446656,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,188,85,24,241,157,16,156,159,11,45,64,170,8,10,66,185,174,44,155,103,128,1,240,227,81,218,4,113,205,2,253,214,80,38,239,50,117,5,7],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-07-11 18:58:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576739117725319168,"timestamp_seconds":576739117725319.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646750720001,"66":12961,"229":206,"85":15104,"24":24,"16":105162514760728576,"45":8831136681951281152},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-11 18:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646750720001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:58:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-11 18:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105162514760728576,"km_value":105162514760728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831136681951281152,"description":"Unknown IO ID 45"} 
[2026-07-11 18:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646750720001,"power":12961,"unknown_229":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8831136681951281152}} 
[2026-07-11 18:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":130885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:58:11] local.INFO: GPS data processed {"connection_id":130885,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:58:11] local.INFO: Acknowledgment sent {"connection_id":130885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:58:34] local.INFO: TCP Data received {"connection_id":128929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:58:34] local.INFO: Processing buffer {"connection_id":128929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:58:34] local.INFO: IMEI packet received {"connection_id":128929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":128929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:58:39] local.INFO: TCP Data received {"connection_id":128929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:58:39] local.INFO: Processing buffer {"connection_id":128929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:58:39] local.INFO: IMEI packet received {"connection_id":128929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":128929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:58:40] local.INFO: TCP Data received {"connection_id":128929,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515bda50012d7a484005da9470000801092a..."} 
[2026-07-11 18:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515bda50012d7a484005da9470000801092a..."} 
[2026-07-11 18:58:40] local.INFO: Processing buffer {"connection_id":128929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515bda50012d7a484005da9470000801092a..."} 
[2026-07-11 18:58:40] local.INFO: Packet analysis {"connection_id":128929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:58:40] local.INFO: Extracted packet for processing {"connection_id":128929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:58:40] local.INFO: GPS Element Parsed {"raw_longitude":762988608,"raw_latitude":98210928,"longitude_deg":76.2988608,"latitude_deg":9.8210928,"altitude":8,"angle":265,"satellites":42,"speed":14,"hex_longitude":"2d7a4840","hex_latitude":"05da9470","is_valid_coordinates":true} 
[2026-07-11 18:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646754560001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105162961437327360,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821566532742508544,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776402000,"timestamp_ms":1783776402000,"timestamp_seconds":1783776402,"priority":1,"record_length":96,"hex_timestamp":"0000019f515bda50"} 
[2026-07-11 18:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:58: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-07-11 18:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 18:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646754560001,"66":12385,"229":206,"85":15104,"24":14,"16":105162961437327360,"45":8821566532742508544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-11 18:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646754560001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:58:40] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-11 18:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105162961437327360,"km_value":105162961437327.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821566532742508544,"description":"Unknown IO ID 45"} 
[2026-07-11 18:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646754560001,"power":12385,"unknown_229":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8821566532742508544}} 
[2026-07-11 18:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":128929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:58:40] local.INFO: GPS data processed {"connection_id":128929,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:58:40] local.INFO: Acknowledgment sent {"connection_id":128929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:58:41] local.INFO: TCP Data received {"connection_id":128927,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515b97e8012d19d080072016d00031008a29..."} 
[2026-07-11 18:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515b97e8012d19d080072016d00031008a29..."} 
[2026-07-11 18:58:41] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515b97e8012d19d080072016d00031008a29..."} 
[2026-07-11 18:58:41] local.INFO: Packet analysis {"connection_id":128927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:58:41] local.INFO: Extracted packet for processing {"connection_id":128927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":41,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646749184001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783776385000,"timestamp_ms":1783776385000,"timestamp_seconds":1783776385,"priority":1,"record_length":96,"hex_timestamp":"0000019f515b97e8"} 
[2026-07-11 18:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 18:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646749184001,"66":12613,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646749184001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:58:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646749184001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":128927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:58:41] local.INFO: GPS data processed {"connection_id":128927,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:58:41] local.INFO: Acknowledgment sent {"connection_id":128927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:58:44] local.INFO: TCP Data received {"connection_id":129638,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:58:44] local.INFO: Processing buffer {"connection_id":129638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 18:58:44] local.INFO: IMEI packet received {"connection_id":129638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 18:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":129638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:58:59] local.INFO: TCP Data received {"connection_id":128742,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:58:59] local.INFO: Processing buffer {"connection_id":128742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:58:59] local.INFO: IMEI packet received {"connection_id":128742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":128742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:59:04] local.INFO: TCP Data received {"connection_id":128742,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:59:04] local.INFO: Processing buffer {"connection_id":128742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:59:04] local.INFO: IMEI packet received {"connection_id":128742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":128742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:59:05] local.INFO: TCP Data received {"connection_id":128742,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515be9f0012d19d080072016d00031008a27..."} 
[2026-07-11 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515be9f0012d19d080072016d00031008a27..."} 
[2026-07-11 18:59:05] local.INFO: Processing buffer {"connection_id":128742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515be9f0012d19d080072016d00031008a27..."} 
[2026-07-11 18:59:05] local.INFO: Packet analysis {"connection_id":128742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:59:05] local.INFO: Extracted packet for processing {"connection_id":128742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515b"} 
[2026-07-11 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646754560001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776406000,"timestamp_ms":1783776406000,"timestamp_seconds":1783776406,"priority":1,"record_length":96,"hex_timestamp":"0000019f515be9f0"} 
[2026-07-11 18:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:59:05] 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-07-11 18:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 18:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646754560001,"66":12548,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646754560001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646754560001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":128742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:59:05] local.INFO: GPS data processed {"connection_id":128742,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:59:05] local.INFO: Acknowledgment sent {"connection_id":128742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:59:11] local.INFO: TCP Data received {"connection_id":128929,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515dc298012d79d60005dac5a80009010e2d..."} 
[2026-07-11 18:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515dc298012d79d60005dac5a80009010e2d..."} 
[2026-07-11 18:59:11] local.INFO: Processing buffer {"connection_id":128929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515dc298012d79d60005dac5a80009010e2d..."} 
[2026-07-11 18:59:11] local.INFO: Packet analysis {"connection_id":128929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 18:59:11] local.INFO: Extracted packet for processing {"connection_id":128929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":762959360,"raw_latitude":98223528,"longitude_deg":76.295936,"latitude_deg":9.8223528,"altitude":9,"angle":270,"satellites":45,"speed":27,"hex_longitude":"2d79d600","hex_latitude":"05dac5a8","is_valid_coordinates":true} 
[2026-07-11 18:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646789632001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105164851222937600,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782934092191797248,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783776527000,"timestamp_ms":1783776527000,"timestamp_seconds":1783776527,"priority":1,"record_length":96,"hex_timestamp":"0000019f515dc298"} 
[2026-07-11 18:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 18:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 18:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 18:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646789632001,"66":13048,"229":206,"85":15104,"24":27,"16":105164851222937600,"45":8782934092191797248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-11 18:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646789632001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:59:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-11 18:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105164851222937600,"km_value":105164851222937.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782934092191797248,"description":"Unknown IO ID 45"} 
[2026-07-11 18:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646789632001,"power":13048,"unknown_229":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8782934092191797248}} 
[2026-07-11 18:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":128929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:59:11] local.INFO: GPS data processed {"connection_id":128929,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:59:11] local.INFO: Acknowledgment sent {"connection_id":128929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:59:34] local.INFO: TCP Data received {"connection_id":129639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:59:34] local.INFO: Processing buffer {"connection_id":129639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:59:34] local.INFO: IMEI packet received {"connection_id":129639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":129639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 18:59:37] local.INFO: TCP Data received {"connection_id":128742,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515c3bf8012d19d080072016d00031008a28..."} 
[2026-07-11 18:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515c3bf8012d19d080072016d00031008a28..."} 
[2026-07-11 18:59:37] local.INFO: Processing buffer {"connection_id":128742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515c3bf8012d19d080072016d00031008a28..."} 
[2026-07-11 18:59:37] local.INFO: Packet analysis {"connection_id":128742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515c"} 
[2026-07-11 18:59:37] local.INFO: Extracted packet for processing {"connection_id":128742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515c"} 
[2026-07-11 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 18:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646759936001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776427000,"timestamp_ms":1783776427000,"timestamp_seconds":1783776427,"priority":1,"record_length":96,"hex_timestamp":"0000019f515c3bf8"} 
[2026-07-11 18:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 18:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:37] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 18:59:37] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:37] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2828337152,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,168,159,151,45,128,22,49,41,10,66,69,42,243,1,240,145,81,32,4,113,205,79,208,239,2,20,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 18:59:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530974007966826496,"timestamp_seconds":3530974007966826.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 18:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 18:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 18:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 18:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646759936001,"66":12537,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 18:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 18:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 18:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646759936001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:59:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 18:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 18:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 18:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646759936001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 18:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":128742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:59:37] local.INFO: GPS data processed {"connection_id":128742,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:59:37] local.INFO: Acknowledgment sent {"connection_id":128742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:59:39] local.INFO: TCP Data received {"connection_id":129639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:59:39] local.INFO: Processing buffer {"connection_id":129639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 18:59:39] local.INFO: IMEI packet received {"connection_id":129639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 18:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":129639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 18:59:40] local.INFO: TCP Data received {"connection_id":129639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515dd238012d79cc0005dac488000901022d..."} 
[2026-07-11 18:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515dd238012d79cc0005dac488000901022d..."} 
[2026-07-11 18:59:40] local.INFO: Processing buffer {"connection_id":129639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515dd238012d79cc0005dac488000901022d..."} 
[2026-07-11 18:59:40] local.INFO: Packet analysis {"connection_id":129639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 18:59:40] local.INFO: Extracted packet for processing {"connection_id":129639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":762956800,"raw_latitude":98223240,"longitude_deg":76.29568,"latitude_deg":9.822324,"altitude":9,"angle":258,"satellites":45,"speed":22,"hex_longitude":"2d79cc00","hex_latitude":"05dac488","is_valid_coordinates":true} 
[2026-07-11 18: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-07-11 18:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646790912001,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105164975776989184,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779204548750583808,"note":"Value kept but may cause issues"} 
[2026-07-11 18:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 18:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776531000,"timestamp_ms":1783776531000,"timestamp_seconds":1783776531,"priority":1,"record_length":96,"hex_timestamp":"0000019f515dd238"} 
[2026-07-11 18:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 18:59:40] 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-07-11 18: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-07-11 18:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 18:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 18:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 18:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 18:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 18:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 18:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 18:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646790912001,"66":13091,"229":206,"85":15104,"24":22,"16":105164975776989184,"45":8779204548750583808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-11 18:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 18:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 18:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646790912001,"description":"Unknown IO ID 0"} 
[2026-07-11 18:59:40] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-11 18:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 18:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105164975776989184,"km_value":105164975776989.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 18:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779204548750583808,"description":"Unknown IO ID 45"} 
[2026-07-11 18:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646790912001,"power":13091,"unknown_229":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8779204548750583808}} 
[2026-07-11 18:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":129639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 18:59:40] local.INFO: GPS data processed {"connection_id":129639,"processed":1,"errors":0,"total":1} 
[2026-07-11 18:59:40] local.INFO: Acknowledgment sent {"connection_id":129639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 18:59:59] local.INFO: TCP Data received {"connection_id":129641,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:59:59] local.INFO: Processing buffer {"connection_id":129641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 18:59:59] local.INFO: IMEI packet received {"connection_id":129641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 18:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":129641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:00:04] local.INFO: TCP Data received {"connection_id":129641,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:00:04] local.INFO: Processing buffer {"connection_id":129641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:00:04] local.INFO: IMEI packet received {"connection_id":129641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":129641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:00:06] local.INFO: TCP Data received {"connection_id":129641,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515c8e00012d19d080072016d00031008a29..."} 
[2026-07-11 19:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515c8e00012d19d080072016d00031008a29..."} 
[2026-07-11 19:00:06] local.INFO: Processing buffer {"connection_id":129641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515c8e00012d19d080072016d00031008a29..."} 
[2026-07-11 19:00:06] local.INFO: Packet analysis {"connection_id":129641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515c"} 
[2026-07-11 19:00:06] local.INFO: Extracted packet for processing {"connection_id":129641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515c"} 
[2026-07-11 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":41,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646765312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783776448000,"timestamp_ms":1783776448000,"timestamp_seconds":1783776448,"priority":1,"record_length":96,"hex_timestamp":"0000019f515c8e00"} 
[2026-07-11 19:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-11 19:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646765312001,"66":12504,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646765312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:00:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646765312001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":129641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:00:06] local.INFO: GPS data processed {"connection_id":129641,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:00:06] local.INFO: Acknowledgment sent {"connection_id":129641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:00:11] local.INFO: TCP Data received {"connection_id":129639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515e08e8012d79a7c005dabea0000501042d..."} 
[2026-07-11 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515e08e8012d79a7c005dabea0000501042d..."} 
[2026-07-11 19:00:11] local.INFO: Processing buffer {"connection_id":129639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515e08e8012d79a7c005dabea0000501042d..."} 
[2026-07-11 19:00:11] local.INFO: Packet analysis {"connection_id":129639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:00:11] local.INFO: Extracted packet for processing {"connection_id":129639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":762947520,"raw_latitude":98221728,"longitude_deg":76.294752,"latitude_deg":9.8221728,"altitude":5,"angle":260,"satellites":45,"speed":26,"hex_longitude":"2d79a7c0","hex_latitude":"05dabea0","is_valid_coordinates":true} 
[2026-07-11 19:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646791936001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105165422453587968,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8776389798983403520,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783776545000,"timestamp_ms":1783776545000,"timestamp_seconds":1783776545,"priority":1,"record_length":96,"hex_timestamp":"0000019f515e08e8"} 
[2026-07-11 19:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-11 19:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646791936001,"66":13015,"229":206,"85":15104,"24":26,"16":105165422453587968,"45":8776389798983403520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-11 19:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646791936001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:00:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-11 19:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105165422453587968,"km_value":105165422453587.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8776389798983403520,"description":"Unknown IO ID 45"} 
[2026-07-11 19:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646791936001,"power":13015,"unknown_229":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8776389798983403520}} 
[2026-07-11 19:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":129639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:00:11] local.INFO: GPS data processed {"connection_id":129639,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:00:11] local.INFO: Acknowledgment sent {"connection_id":129639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:00:37] local.INFO: TCP Data received {"connection_id":129641,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515ce008012d19d080072016d00031008a29..."} 
[2026-07-11 19:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515ce008012d19d080072016d00031008a29..."} 
[2026-07-11 19:00:37] local.INFO: Processing buffer {"connection_id":129641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515ce008012d19d080072016d00031008a29..."} 
[2026-07-11 19:00:37] local.INFO: Packet analysis {"connection_id":129641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515c"} 
[2026-07-11 19:00:37] local.INFO: Extracted packet for processing {"connection_id":129641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515c"} 
[2026-07-11 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":41,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646770688001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776469000,"timestamp_ms":1783776469000,"timestamp_seconds":1783776469,"priority":1,"record_length":96,"hex_timestamp":"0000019f515ce008"} 
[2026-07-11 19:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:00:37] 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-07-11 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 19:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646770688001,"66":12504,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646770688001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:00:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646770688001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":129641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:00:38] local.INFO: GPS data processed {"connection_id":129641,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:00:38] local.INFO: Acknowledgment sent {"connection_id":129641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:00:44] local.INFO: TCP Data received {"connection_id":129642,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:00:44] local.INFO: Processing buffer {"connection_id":129642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:00:44] local.INFO: IMEI packet received {"connection_id":129642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":129642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:00:44] local.INFO: TCP Data received {"connection_id":129642,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f515e37c8012cc2f08007631c18004f008b2f..."} 
[2026-07-11 19:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515e37c8012cc2f08007631c18004f008b2f..."} 
[2026-07-11 19:00:44] local.INFO: Processing buffer {"connection_id":129642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515e37c8012cc2f08007631c18004f008b2f..."} 
[2026-07-11 19:00:44] local.INFO: Packet analysis {"connection_id":129642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:00:44] local.INFO: Extracted packet for processing {"connection_id":129642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:00:44] local.INFO: GPS Element Parsed {"raw_longitude":750973056,"raw_latitude":123935768,"longitude_deg":75.0973056,"latitude_deg":12.3935768,"altitude":79,"angle":139,"satellites":47,"speed":52,"hex_longitude":"2cc2f080","hex_latitude":"07631c18","is_valid_coordinates":true} 
[2026-07-11 19:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646797824001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345340178329501696,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402409341514608640,"note":"Value kept but may cause issues"} 
[2026-07-11 19:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783776557000,"timestamp_ms":1783776557000,"timestamp_seconds":1783776557,"priority":1,"record_length":96,"hex_timestamp":"0000019f515e37c8"} 
[2026-07-11 19:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 19:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646797824001,"66":27974,"189":206,"85":37120,"24":52,"16":345340178329501696,"44":-4402409341514608640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,44]} 
[2026-07-11 19:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646797824001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:00:44] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-11 19:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345340178329501696,"km_value":345340178329501.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:00:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402409341514608640,"description":"Unknown IO ID 44"} 
[2026-07-11 19:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646797824001,"power":27974,"unknown_189":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4402409341514608640}} 
[2026-07-11 19:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":129642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:00:45] local.INFO: GPS data processed {"connection_id":129642,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:00:45] local.INFO: Acknowledgment sent {"connection_id":129642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:00:59] local.INFO: TCP Data received {"connection_id":130886,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:00:59] local.INFO: Processing buffer {"connection_id":130886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:00:59] local.INFO: IMEI packet received {"connection_id":130886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":130886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:01:03] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:01:03] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:01:03] local.INFO: IMEI packet received {"connection_id":130887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":130887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:01:04] local.INFO: TCP Data received {"connection_id":130886,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:01:04] local.INFO: Processing buffer {"connection_id":130886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:01:04] local.INFO: IMEI packet received {"connection_id":130886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":130886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:01:04] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:01:04] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:01:04] local.INFO: IMEI packet received {"connection_id":130887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":130887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:01:05] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f515ef348012cc3a40007627f70004500ab2e..."} 
[2026-07-11 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515ef348012cc3a40007627f70004500ab2e..."} 
[2026-07-11 19:01:05] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515ef348012cc3a40007627f70004500ab2e..."} 
[2026-07-11 19:01:05] local.INFO: Packet analysis {"connection_id":130887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:01:05] local.INFO: Extracted packet for processing {"connection_id":130887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:01:05] local.INFO: GPS Element Parsed {"raw_longitude":751019008,"raw_latitude":123895664,"longitude_deg":75.1019008,"latitude_deg":12.3895664,"altitude":69,"angle":171,"satellites":46,"speed":50,"hex_longitude":"2cc3a400","hex_latitude":"07627f70","is_valid_coordinates":true} 
[2026-07-11 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646809344001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345343438209679360,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4351954951948322816,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776605000,"timestamp_ms":1783776605000,"timestamp_seconds":1783776605,"priority":1,"record_length":96,"hex_timestamp":"0000019f515ef348"} 
[2026-07-11 19:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:01:05] 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-07-11 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 19:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:01: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-07-11 19:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646809344001,"66":27876,"178":206,"85":37120,"24":50,"16":345343438209679360,"44":-4351954951948322816},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-11 19:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646809344001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:01:05] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-11 19:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345343438209679360,"km_value":345343438209679.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4351954951948322816,"description":"Unknown IO ID 44"} 
[2026-07-11 19:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646809344001,"power":27876,"unknown_178":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4351954951948322816}} 
[2026-07-11 19:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":130887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:01:05] local.INFO: GPS data processed {"connection_id":130887,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:01:05] local.INFO: Acknowledgment sent {"connection_id":130887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:01:05] local.INFO: TCP Data received {"connection_id":130886,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515d3210012d19d080072016d00031008a26..."} 
[2026-07-11 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515d3210012d19d080072016d00031008a26..."} 
[2026-07-11 19:01:05] local.INFO: Processing buffer {"connection_id":130886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515d3210012d19d080072016d00031008a26..."} 
[2026-07-11 19:01:05] local.INFO: Packet analysis {"connection_id":130886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 19:01:05] local.INFO: Extracted packet for processing {"connection_id":130886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 19:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646776064001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776490000,"timestamp_ms":1783776490000,"timestamp_seconds":1783776490,"priority":1,"record_length":96,"hex_timestamp":"0000019f515d3210"} 
[2026-07-11 19:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:01:05] 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-07-11 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 19:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646776064001,"66":12461,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646776064001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646776064001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":130886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:01:06] local.INFO: GPS data processed {"connection_id":130886,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:01:06] local.INFO: Acknowledgment sent {"connection_id":130886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:01:07] local.INFO: TCP Data received {"connection_id":129643,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:07] local.INFO: Processing buffer {"connection_id":129643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:07] local.INFO: IMEI packet received {"connection_id":129643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":129643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:01:09] local.INFO: TCP Data received {"connection_id":129643,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:09] local.INFO: Processing buffer {"connection_id":129643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:09] local.INFO: IMEI packet received {"connection_id":129643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":129643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:01:14] local.INFO: TCP Data received {"connection_id":129643,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:14] local.INFO: Processing buffer {"connection_id":129643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:14] local.INFO: IMEI packet received {"connection_id":129643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":129643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:01:15] local.INFO: TCP Data received {"connection_id":129643,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515f8f88012d78790005da8c98000601332d..."} 
[2026-07-11 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515f8f88012d78790005da8c98000601332d..."} 
[2026-07-11 19:01:15] local.INFO: Processing buffer {"connection_id":129643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515f8f88012d78790005da8c98000601332d..."} 
[2026-07-11 19:01:15] local.INFO: Packet analysis {"connection_id":129643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:01:15] local.INFO: Extracted packet for processing {"connection_id":129643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":762870016,"raw_latitude":98208920,"longitude_deg":76.2870016,"latitude_deg":9.820892,"altitude":6,"angle":307,"satellites":45,"speed":24,"hex_longitude":"2d787900","hex_latitude":"05da8c98","is_valid_coordinates":true} 
[2026-07-11 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646820864001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105169197729841152,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8681532731828166656,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783776645000,"timestamp_ms":1783776645000,"timestamp_seconds":1783776645,"priority":1,"record_length":96,"hex_timestamp":"0000019f515f8f88"} 
[2026-07-11 19:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-11 19:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646820864001,"66":12722,"229":206,"85":15104,"24":24,"16":105169197729841152,"45":8681532731828166656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-11 19:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646820864001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:01:15] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-11 19:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105169197729841152,"km_value":105169197729841.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8681532731828166656,"description":"Unknown IO ID 45"} 
[2026-07-11 19:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646820864001,"power":12722,"unknown_229":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8681532731828166656}} 
[2026-07-11 19:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":129643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:01:15] local.INFO: GPS data processed {"connection_id":129643,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:01:15] local.INFO: Acknowledgment sent {"connection_id":129643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:01:36] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f515f0ab8012cc3a50007626410004500b72c..."} 
[2026-07-11 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515f0ab8012cc3a50007626410004500b72c..."} 
[2026-07-11 19:01:36] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515f0ab8012cc3a50007626410004500b72c..."} 
[2026-07-11 19:01:36] local.INFO: Packet analysis {"connection_id":130887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:01:36] local.INFO: Extracted packet for processing {"connection_id":130887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":751019264,"raw_latitude":123888656,"longitude_deg":75.1019264,"latitude_deg":12.3888656,"altitude":69,"angle":183,"satellites":44,"speed":42,"hex_longitude":"2cc3a500","hex_latitude":"07626410","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646810880001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345343781807063040,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4349351308415766528,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783776611000,"timestamp_ms":1783776611000,"timestamp_seconds":1783776611,"priority":1,"record_length":96,"hex_timestamp":"0000019f515f0ab8"} 
[2026-07-11 19:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 19:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646810880001,"66":27745,"178":206,"85":37120,"24":42,"16":345343781807063040,"44":-4349351308415766528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-11 19:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646810880001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:01:36] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-11 19:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345343781807063040,"km_value":345343781807063.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4349351308415766528,"description":"Unknown IO ID 44"} 
[2026-07-11 19:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646810880001,"power":27745,"unknown_178":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4349351308415766528}} 
[2026-07-11 19:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":130887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:01:36] local.INFO: GPS data processed {"connection_id":130887,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:01:36] local.INFO: Acknowledgment sent {"connection_id":130887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:01:37] local.INFO: TCP Data received {"connection_id":130886,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515d8418012d19d080072016d00031008a27..."} 
[2026-07-11 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515d8418012d19d080072016d00031008a27..."} 
[2026-07-11 19:01:37] local.INFO: Processing buffer {"connection_id":130886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515d8418012d19d080072016d00031008a27..."} 
[2026-07-11 19:01:37] local.INFO: Packet analysis {"connection_id":130886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 19:01:37] local.INFO: Extracted packet for processing {"connection_id":130886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646781440001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776511000,"timestamp_ms":1783776511000,"timestamp_seconds":1783776511,"priority":1,"record_length":96,"hex_timestamp":"0000019f515d8418"} 
[2026-07-11 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:01:37] 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-07-11 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 19:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646781440001,"66":12461,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646781440001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:01:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646781440001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":130886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:01:37] local.INFO: GPS data processed {"connection_id":130886,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:01:37] local.INFO: Acknowledgment sent {"connection_id":130886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:01:37] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:37] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:37] local.INFO: IMEI packet received {"connection_id":128930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":128930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:01:39] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:39] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:39] local.INFO: IMEI packet received {"connection_id":128930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":128930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:01:44] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:44] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:01:44] local.INFO: IMEI packet received {"connection_id":128930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":128930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:01:45] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515f9370012d78774005da8e48000501412d..."} 
[2026-07-11 19:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515f9370012d78774005da8e48000501412d..."} 
[2026-07-11 19:01:45] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515f9370012d78774005da8e48000501412d..."} 
[2026-07-11 19:01:45] local.INFO: Packet analysis {"connection_id":128930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:01:45] local.INFO: Extracted packet for processing {"connection_id":128930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:01:45] local.INFO: GPS Element Parsed {"raw_longitude":762869568,"raw_latitude":98209352,"longitude_deg":76.2869568,"latitude_deg":9.8209352,"altitude":5,"angle":321,"satellites":45,"speed":23,"hex_longitude":"2d787740","hex_latitude":"05da8e48","is_valid_coordinates":true} 
[2026-07-11 19:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646821120001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105169227794612224,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8680969781874825216,"note":"Value kept but may cause issues"} 
[2026-07-11 19:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783776646000,"timestamp_ms":1783776646000,"timestamp_seconds":1783776646,"priority":1,"record_length":96,"hex_timestamp":"0000019f515f9370"} 
[2026-07-11 19:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 19:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646821120001,"66":12722,"229":206,"85":15104,"24":23,"16":105169227794612224,"45":8680969781874825216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-11 19:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646821120001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:01:45] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-11 19:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105169227794612224,"km_value":105169227794612.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8680969781874825216,"description":"Unknown IO ID 45"} 
[2026-07-11 19:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646821120001,"power":12722,"unknown_229":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8680969781874825216}} 
[2026-07-11 19:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":128930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:01:45] local.INFO: GPS data processed {"connection_id":128930,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:01:45] local.INFO: Acknowledgment sent {"connection_id":128930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:01:57] local.INFO: TCP Data received {"connection_id":130888,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:01:57] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:01:57] local.INFO: IMEI packet received {"connection_id":130888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":130888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:01:59] local.INFO: TCP Data received {"connection_id":130888,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:01:59] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:01:59] local.INFO: IMEI packet received {"connection_id":130888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":130888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:02:03] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:02:03] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:02:03] local.INFO: IMEI packet received {"connection_id":128931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":128931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:02:04] local.INFO: TCP Data received {"connection_id":130888,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:02:04] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:02:04] local.INFO: IMEI packet received {"connection_id":130888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":130888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:02:05] local.INFO: TCP Data received {"connection_id":130888,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515dd620012d19d080072016d00031008a26..."} 
[2026-07-11 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515dd620012d19d080072016d00031008a26..."} 
[2026-07-11 19:02:05] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515dd620012d19d080072016d00031008a26..."} 
[2026-07-11 19:02:05] local.INFO: Packet analysis {"connection_id":130888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 19:02:05] local.INFO: Extracted packet for processing {"connection_id":130888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515d"} 
[2026-07-11 19:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646786816001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776532000,"timestamp_ms":1783776532000,"timestamp_seconds":1783776532,"priority":1,"record_length":96,"hex_timestamp":"0000019f515dd620"} 
[2026-07-11 19:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:02:05] 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-07-11 19:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 19:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646786816001,"66":12439,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646786816001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:02:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646786816001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":130888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:02:05] local.INFO: GPS data processed {"connection_id":130888,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:02:05] local.INFO: Acknowledgment sent {"connection_id":130888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:02:08] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:02:08] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:02:08] local.INFO: IMEI packet received {"connection_id":128931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":128931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:02:09] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f515f2228012cc3a10007624d40004400c32e..."} 
[2026-07-11 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515f2228012cc3a10007624d40004400c32e..."} 
[2026-07-11 19:02:09] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515f2228012cc3a10007624d40004400c32e..."} 
[2026-07-11 19:02:09] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:02:09] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":751018240,"raw_latitude":123882816,"longitude_deg":75.101824,"latitude_deg":12.3882816,"altitude":68,"angle":195,"satellites":46,"speed":36,"hex_longitude":"2cc3a100","hex_latitude":"07624d40","is_valid_coordinates":true} 
[2026-07-11 19:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646812416001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345344069569871872,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4349069833440849920,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783776617000,"timestamp_ms":1783776617000,"timestamp_seconds":1783776617,"priority":1,"record_length":96,"hex_timestamp":"0000019f515f2228"} 
[2026-07-11 19:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 19:02:09] 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-07-11 19:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:02: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-07-11 19:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646812416001,"66":27930,"178":206,"85":37120,"24":36,"16":345344069569871872,"44":-4349069833440849920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-11 19:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646812416001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:02:09] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-11 19:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345344069569871872,"km_value":345344069569871.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4349069833440849920,"description":"Unknown IO ID 44"} 
[2026-07-11 19:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646812416001,"power":27930,"unknown_178":206,"unknown_85":37120,"ignition":36,"odometer":null,"unknown_44":-4349069833440849920}} 
[2026-07-11 19:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:02:09] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:02:09] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:02:16] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f515fa6f8012d7870c005da97b8000601332c..."} 
[2026-07-11 19:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515fa6f8012d7870c005da97b8000601332c..."} 
[2026-07-11 19:02:16] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515fa6f8012d7870c005da97b8000601332c..."} 
[2026-07-11 19:02:16] local.INFO: Packet analysis {"connection_id":128930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:02:16] local.INFO: Extracted packet for processing {"connection_id":128930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:02:16] local.INFO: GPS Element Parsed {"raw_longitude":762867904,"raw_latitude":98211768,"longitude_deg":76.2867904,"latitude_deg":9.8211768,"altitude":6,"angle":307,"satellites":44,"speed":22,"hex_longitude":"2d7870c0","hex_latitude":"05da97b8","is_valid_coordinates":true} 
[2026-07-11 19:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646821376001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105169369528532992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8680477200665692160,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783776651000,"timestamp_ms":1783776651000,"timestamp_seconds":1783776651,"priority":1,"record_length":96,"hex_timestamp":"0000019f515fa6f8"} 
[2026-07-11 19:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 19:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646821376001,"66":13015,"167":206,"87":12288,"24":22,"16":105169369528532992,"45":8680477200665692160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-07-11 19:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646821376001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:02:16] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 19:02:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105169369528532992,"km_value":105169369528532.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8680477200665692160,"description":"Unknown IO ID 45"} 
[2026-07-11 19:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646821376001,"power":13015,"unknown_167":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8680477200665692160}} 
[2026-07-11 19:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":128930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:02:16] local.INFO: GPS data processed {"connection_id":128930,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:02:16] local.INFO: Acknowledgment sent {"connection_id":128930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:02:37] local.INFO: TCP Data received {"connection_id":130888,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515e2828012d19d080072016d00031008a2a..."} 
[2026-07-11 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515e2828012d19d080072016d00031008a2a..."} 
[2026-07-11 19:02:37] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515e2828012d19d080072016d00031008a2a..."} 
[2026-07-11 19:02:37] local.INFO: Packet analysis {"connection_id":130888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:02:37] local.INFO: Extracted packet for processing {"connection_id":130888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646792192001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776553000,"timestamp_ms":1783776553000,"timestamp_seconds":1783776553,"priority":1,"record_length":96,"hex_timestamp":"0000019f515e2828"} 
[2026-07-11 19:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:02:37] 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-07-11 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-11 19:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646792192001,"66":12428,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646792192001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:02:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646792192001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":130888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:02:37] local.INFO: GPS data processed {"connection_id":130888,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:02:37] local.INFO: Acknowledgment sent {"connection_id":130888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:02:43] local.INFO: TCP Data received {"connection_id":129646,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:02:43] local.INFO: Processing buffer {"connection_id":129646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:02:43] local.INFO: IMEI packet received {"connection_id":129646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":129646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:02:44] local.INFO: TCP Data received {"connection_id":129646,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:02:44] local.INFO: Processing buffer {"connection_id":129646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:02:44] local.INFO: IMEI packet received {"connection_id":129646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":129646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:02:45] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f515f2de0012cc39d4007624410004400ce2e..."} 
[2026-07-11 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515f2de0012cc39d4007624410004400ce2e..."} 
[2026-07-11 19:02:45] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515f2de0012cc39d4007624410004400ce2e..."} 
[2026-07-11 19:02:45] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:02:45] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":751017280,"raw_latitude":123880464,"longitude_deg":75.101728,"latitude_deg":12.3880464,"altitude":68,"angle":206,"satellites":46,"speed":29,"hex_longitude":"2cc39d40","hex_latitude":"07624410","is_valid_coordinates":true} 
[2026-07-11 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646813952001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345344189828956160,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4350195733349187584,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783776620000,"timestamp_ms":1783776620000,"timestamp_seconds":1783776620,"priority":1,"record_length":96,"hex_timestamp":"0000019f515f2de0"} 
[2026-07-11 19:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-11 19:02:45] 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-07-11 19:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646813952001,"66":27930,"178":206,"85":37120,"24":29,"16":345344189828956160,"44":-4350195733349187584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-11 19:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646813952001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:02:45] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-11 19:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345344189828956160,"km_value":345344189828956.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4350195733349187584,"description":"Unknown IO ID 44"} 
[2026-07-11 19:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646813952001,"power":27930,"unknown_178":206,"unknown_85":37120,"ignition":29,"odometer":null,"unknown_44":-4350195733349187584}} 
[2026-07-11 19:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:02:45] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:02:45] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:02:49] local.INFO: TCP Data received {"connection_id":129646,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:02:49] local.INFO: Processing buffer {"connection_id":129646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:02:49] local.INFO: IMEI packet received {"connection_id":129646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":129646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:02:50] local.INFO: TCP Data received {"connection_id":129646,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5160df78012d77790005da21f0000400e02d..."} 
[2026-07-11 19:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5160df78012d77790005da21f0000400e02d..."} 
[2026-07-11 19:02:50] local.INFO: Processing buffer {"connection_id":129646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5160df78012d77790005da21f0000400e02d..."} 
[2026-07-11 19:02:50] local.INFO: Packet analysis {"connection_id":129646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:02:50] local.INFO: Extracted packet for processing {"connection_id":129646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:02:50] local.INFO: GPS Element Parsed {"raw_longitude":762804480,"raw_latitude":98181616,"longitude_deg":76.280448,"latitude_deg":9.8181616,"altitude":4,"angle":224,"satellites":45,"speed":40,"hex_longitude":"2d777900","hex_latitude":"05da21f0","is_valid_coordinates":true} 
[2026-07-11 19:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646840832001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105172844157075456,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615878693505171456,"note":"Value kept but may cause issues"} 
[2026-07-11 19:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783776731000,"timestamp_ms":1783776731000,"timestamp_seconds":1783776731,"priority":1,"record_length":96,"hex_timestamp":"0000019f5160df78"} 
[2026-07-11 19:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 19:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":129646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":129646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":129646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646840832001,"66":12993,"167":206,"87":12288,"24":40,"16":105172844157075456,"45":8615878693505171456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-07-11 19:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646840832001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:02:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 19:02:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105172844157075456,"km_value":105172844157075.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615878693505171456,"description":"Unknown IO ID 45"} 
[2026-07-11 19:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646840832001,"power":12993,"unknown_167":206,"unknown_87":12288,"ignition":40,"odometer":null,"unknown_45":8615878693505171456}} 
[2026-07-11 19:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":129646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:02:50] local.INFO: GPS data processed {"connection_id":129646,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:02:50] local.INFO: Acknowledgment sent {"connection_id":129646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:02:59] local.INFO: TCP Data received {"connection_id":130889,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:02:59] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:02:59] local.INFO: IMEI packet received {"connection_id":130889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":130889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:03:00] local.INFO: TCP Data received {"connection_id":130889,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:03:00] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:03:00] local.INFO: IMEI packet received {"connection_id":130889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":130889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:03:03] local.INFO: TCP Data received {"connection_id":129647,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:03:03] local.INFO: Processing buffer {"connection_id":129647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:03:03] local.INFO: IMEI packet received {"connection_id":129647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":129647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:03:03] local.INFO: TCP Data received {"connection_id":129647,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:03:03] local.INFO: Processing buffer {"connection_id":129647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:03:03] local.INFO: IMEI packet received {"connection_id":129647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":129647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:03:04] local.INFO: TCP Data received {"connection_id":130889,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:03:04] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:03:04] local.INFO: IMEI packet received {"connection_id":130889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":130889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:03:06] local.INFO: TCP Data received {"connection_id":130889,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515e7a30012d19d080072016d00031008a2a..."} 
[2026-07-11 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515e7a30012d19d080072016d00031008a2a..."} 
[2026-07-11 19:03:06] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515e7a30012d19d080072016d00031008a2a..."} 
[2026-07-11 19:03:06] local.INFO: Packet analysis {"connection_id":130889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:03:06] local.INFO: Extracted packet for processing {"connection_id":130889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646797568001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783776574000,"timestamp_ms":1783776574000,"timestamp_seconds":1783776574,"priority":1,"record_length":96,"hex_timestamp":"0000019f515e7a30"} 
[2026-07-11 19:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 19:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646797568001,"66":12428,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646797568001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646797568001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":130889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:03:06] local.INFO: GPS data processed {"connection_id":130889,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:03:06] local.INFO: Acknowledgment sent {"connection_id":130889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:03:08] local.INFO: TCP Data received {"connection_id":129647,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:03:08] local.INFO: Processing buffer {"connection_id":129647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:03:08] local.INFO: IMEI packet received {"connection_id":129647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":129647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:03:09] local.INFO: TCP Data received {"connection_id":129647,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51606e30012cc38bc00761ded8003e00c42e..."} 
[2026-07-11 19:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51606e30012cc38bc00761ded8003e00c42e..."} 
[2026-07-11 19:03:09] local.INFO: Processing buffer {"connection_id":129647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51606e30012cc38bc00761ded8003e00c42e..."} 
[2026-07-11 19:03:09] local.INFO: Packet analysis {"connection_id":129647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:03:09] local.INFO: Extracted packet for processing {"connection_id":129647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:03:09] local.INFO: GPS Element Parsed {"raw_longitude":751012800,"raw_latitude":123854552,"longitude_deg":75.10128,"latitude_deg":12.3854552,"altitude":62,"angle":196,"satellites":46,"speed":0,"hex_longitude":"2cc38bc0","hex_latitude":"0761ded8","is_valid_coordinates":true} 
[2026-07-11 19:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646830592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345345495499014144,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356177076611524608,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783776702000,"timestamp_ms":1783776702000,"timestamp_seconds":1783776702,"priority":1,"record_length":96,"hex_timestamp":"0000019f51606e30"} 
[2026-07-11 19:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 19:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:03: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-07-11 19:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646830592001,"66":27876,"178":206,"85":37120,"24":0,"16":345345495499014144,"44":-4356177076611524608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-11 19:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646830592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:03:09] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-11 19:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345345495499014144,"km_value":345345495499014.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:03:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356177076611524608,"description":"Unknown IO ID 44"} 
[2026-07-11 19:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646830592001,"power":27876,"unknown_178":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4356177076611524608}} 
[2026-07-11 19:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":129647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:03:09] local.INFO: GPS data processed {"connection_id":129647,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:03:09] local.INFO: Acknowledgment sent {"connection_id":129647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:03:34] local.INFO: TCP Data received {"connection_id":128745,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:03:34] local.INFO: Processing buffer {"connection_id":128745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:03:34] local.INFO: IMEI packet received {"connection_id":128745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":128745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:03:37] local.INFO: TCP Data received {"connection_id":130889,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515ecc38012d19d080072016d00031008a25..."} 
[2026-07-11 19:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515ecc38012d19d080072016d00031008a25..."} 
[2026-07-11 19:03:37] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515ecc38012d19d080072016d00031008a25..."} 
[2026-07-11 19:03:37] local.INFO: Packet analysis {"connection_id":130889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:03:37] local.INFO: Extracted packet for processing {"connection_id":130889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515e"} 
[2026-07-11 19:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":37,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646802944001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776595000,"timestamp_ms":1783776595000,"timestamp_seconds":1783776595,"priority":1,"record_length":96,"hex_timestamp":"0000019f515ecc38"} 
[2026-07-11 19:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 19:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646802944001,"66":12428,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646802944001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:03:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646802944001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":130889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:03:37] local.INFO: GPS data processed {"connection_id":130889,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:03:37] local.INFO: Acknowledgment sent {"connection_id":130889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:03:39] local.INFO: TCP Data received {"connection_id":128745,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:03:39] local.INFO: Processing buffer {"connection_id":128745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:03:39] local.INFO: IMEI packet received {"connection_id":128745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":128745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:03:40] local.INFO: TCP Data received {"connection_id":129647,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5160c038012cc385c00761c7d0003d00be2e..."} 
[2026-07-11 19:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5160c038012cc385c00761c7d0003d00be2e..."} 
[2026-07-11 19:03:40] local.INFO: Processing buffer {"connection_id":129647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5160c038012cc385c00761c7d0003d00be2e..."} 
[2026-07-11 19:03:40] local.INFO: Packet analysis {"connection_id":129647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:03:40] local.INFO: Extracted packet for processing {"connection_id":129647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:03:40] local.INFO: GPS Element Parsed {"raw_longitude":751011264,"raw_latitude":123848656,"longitude_deg":75.1011264,"latitude_deg":12.3848656,"altitude":61,"angle":190,"satellites":46,"speed":27,"hex_longitude":"2cc385c0","hex_latitude":"0761c7d0","is_valid_coordinates":true} 
[2026-07-11 19:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646835712001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345345791851757568,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356177076611524608,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776723000,"timestamp_ms":1783776723000,"timestamp_seconds":1783776723,"priority":1,"record_length":96,"hex_timestamp":"0000019f5160c038"} 
[2026-07-11 19:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 19:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646835712001,"66":27919,"178":206,"85":37120,"24":27,"16":345345791851757568,"44":-4356177076611524608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-11 19:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646835712001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:03:40] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-11 19:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345345791851757568,"km_value":345345791851757.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356177076611524608,"description":"Unknown IO ID 44"} 
[2026-07-11 19:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646835712001,"power":27919,"unknown_178":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4356177076611524608}} 
[2026-07-11 19:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":129647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:03:40] local.INFO: GPS data processed {"connection_id":129647,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:03:40] local.INFO: Acknowledgment sent {"connection_id":129647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:03:40] local.INFO: TCP Data received {"connection_id":128745,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51621028012d769fc005d9ced0000500a52d..."} 
[2026-07-11 19:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51621028012d769fc005d9ced0000500a52d..."} 
[2026-07-11 19:03:40] local.INFO: Processing buffer {"connection_id":128745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51621028012d769fc005d9ced0000500a52d..."} 
[2026-07-11 19:03:40] local.INFO: Packet analysis {"connection_id":128745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:03:40] local.INFO: Extracted packet for processing {"connection_id":128745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:03:40] local.INFO: GPS Element Parsed {"raw_longitude":762748864,"raw_latitude":98160336,"longitude_deg":76.2748864,"latitude_deg":9.8160336,"altitude":5,"angle":165,"satellites":45,"speed":9,"hex_longitude":"2d769fc0","hex_latitude":"05d9ced0","is_valid_coordinates":true} 
[2026-07-11 19:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646862848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105175786209673216,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8547761749134127104,"note":"Value kept but may cause issues"} 
[2026-07-11 19:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776809000,"timestamp_ms":1783776809000,"timestamp_seconds":1783776809,"priority":1,"record_length":96,"hex_timestamp":"0000019f51621028"} 
[2026-07-11 19:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-11 19:03:40] 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-07-11 19:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646862848001,"66":13341,"168":206,"87":12288,"24":9,"16":105175786209673216,"45":8547761749134127104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646862848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:03:40] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:03:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105175786209673216,"km_value":105175786209673.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8547761749134127104,"description":"Unknown IO ID 45"} 
[2026-07-11 19:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646862848001,"power":13341,"unknown_168":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8547761749134127104}} 
[2026-07-11 19:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":128745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:03:40] local.INFO: GPS data processed {"connection_id":128745,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:03:40] local.INFO: Acknowledgment sent {"connection_id":128745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:03:59] local.INFO: TCP Data received {"connection_id":128746,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:03:59] local.INFO: Processing buffer {"connection_id":128746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:03:59] local.INFO: IMEI packet received {"connection_id":128746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":128746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:04:03] local.INFO: TCP Data received {"connection_id":128932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:04:03] local.INFO: Processing buffer {"connection_id":128932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:04:03] local.INFO: IMEI packet received {"connection_id":128932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":128932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:04:04] local.INFO: TCP Data received {"connection_id":128746,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:04:04] local.INFO: Processing buffer {"connection_id":128746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:04:04] local.INFO: IMEI packet received {"connection_id":128746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":128746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:04:05] local.INFO: TCP Data received {"connection_id":128746,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515f1e40012d19d080072016d00031008a2b..."} 
[2026-07-11 19:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515f1e40012d19d080072016d00031008a2b..."} 
[2026-07-11 19:04:05] local.INFO: Processing buffer {"connection_id":128746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515f1e40012d19d080072016d00031008a2b..."} 
[2026-07-11 19:04:05] local.INFO: Packet analysis {"connection_id":128746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:04:05] local.INFO: Extracted packet for processing {"connection_id":128746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":43,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646808320001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776616000,"timestamp_ms":1783776616000,"timestamp_seconds":1783776616,"priority":1,"record_length":96,"hex_timestamp":"0000019f515f1e40"} 
[2026-07-11 19:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:04:05] 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-07-11 19:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-11 19:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646808320001,"66":12385,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646808320001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646808320001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":128746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:04:05] local.INFO: GPS data processed {"connection_id":128746,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:04:05] local.INFO: Acknowledgment sent {"connection_id":128746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:04:08] local.INFO: TCP Data received {"connection_id":128932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:04:09] local.INFO: Processing buffer {"connection_id":128932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:04:09] local.INFO: IMEI packet received {"connection_id":128932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":128932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:04:09] local.INFO: TCP Data received {"connection_id":128932,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5160eb30012cc37d800761a248003c00bc2e..."} 
[2026-07-11 19:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5160eb30012cc37d800761a248003c00bc2e..."} 
[2026-07-11 19:04:09] local.INFO: Processing buffer {"connection_id":128932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5160eb30012cc37d800761a248003c00bc2e..."} 
[2026-07-11 19:04:09] local.INFO: Packet analysis {"connection_id":128932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:04:09] local.INFO: Extracted packet for processing {"connection_id":128932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:04:09] local.INFO: GPS Element Parsed {"raw_longitude":751009152,"raw_latitude":123839048,"longitude_deg":75.1009152,"latitude_deg":12.3839048,"altitude":60,"angle":188,"satellites":46,"speed":40,"hex_longitude":"2cc37d80","hex_latitude":"0761a248","is_valid_coordinates":true} 
[2026-07-11 19:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646841088001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345346268593127424,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4357865926473297920,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783776734000,"timestamp_ms":1783776734000,"timestamp_seconds":1783776734,"priority":1,"record_length":96,"hex_timestamp":"0000019f5160eb30"} 
[2026-07-11 19:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-11 19:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:04: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-07-11 19:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646841088001,"66":27832,"189":206,"85":37120,"24":40,"16":345346268593127424,"44":-4357865926473297920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,44]} 
[2026-07-11 19:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646841088001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:04:09] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-11 19:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345346268593127424,"km_value":345346268593127.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4357865926473297920,"description":"Unknown IO ID 44"} 
[2026-07-11 19:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646841088001,"power":27832,"unknown_189":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4357865926473297920}} 
[2026-07-11 19:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":128932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:04:09] local.INFO: GPS data processed {"connection_id":128932,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:04:09] local.INFO: Acknowledgment sent {"connection_id":128932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:04:10] local.INFO: TCP Data received {"connection_id":130890,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:04:10] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:04:10] local.INFO: IMEI packet received {"connection_id":130890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":130890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:04:11] local.INFO: TCP Data received {"connection_id":128745,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516217f8012d76a00005d9ccc8000500b22d..."} 
[2026-07-11 19:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516217f8012d76a00005d9ccc8000500b22d..."} 
[2026-07-11 19:04:11] local.INFO: Processing buffer {"connection_id":128745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516217f8012d76a00005d9ccc8000500b22d..."} 
[2026-07-11 19:04:11] local.INFO: Packet analysis {"connection_id":128745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:04:11] local.INFO: Extracted packet for processing {"connection_id":128745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:04:11] local.INFO: GPS Element Parsed {"raw_longitude":762748928,"raw_latitude":98159816,"longitude_deg":76.2748928,"latitude_deg":9.8159816,"altitude":5,"angle":178,"satellites":45,"speed":11,"hex_longitude":"2d76a000","hex_latitude":"05d9ccc8","is_valid_coordinates":true} 
[2026-07-11 19:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646863104001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105175811979476992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8547761749134069760,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783776811000,"timestamp_ms":1783776811000,"timestamp_seconds":1783776811,"priority":1,"record_length":96,"hex_timestamp":"0000019f516217f8"} 
[2026-07-11 19:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 19:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646863104001,"66":13048,"168":206,"87":12288,"24":11,"16":105175811979476992,"45":8547761749134069760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646863104001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:04:11] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:04:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105175811979476992,"km_value":105175811979476.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8547761749134069760,"description":"Unknown IO ID 45"} 
[2026-07-11 19:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646863104001,"power":13048,"unknown_168":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8547761749134069760}} 
[2026-07-11 19:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":128745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:04:11] local.INFO: GPS data processed {"connection_id":128745,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:04:11] local.INFO: Acknowledgment sent {"connection_id":128745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:04:34] local.INFO: TCP Data received {"connection_id":130891,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:04:34] local.INFO: Processing buffer {"connection_id":130891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:04:34] local.INFO: IMEI packet received {"connection_id":130891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":130891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:04:36] local.INFO: TCP Data received {"connection_id":128746,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515f7048012d19d080072016d00031008a27..."} 
[2026-07-11 19:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515f7048012d19d080072016d00031008a27..."} 
[2026-07-11 19:04:36] local.INFO: Processing buffer {"connection_id":128746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515f7048012d19d080072016d00031008a27..."} 
[2026-07-11 19:04:36] local.INFO: Packet analysis {"connection_id":128746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:04:36] local.INFO: Extracted packet for processing {"connection_id":128746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646813696001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783776637000,"timestamp_ms":1783776637000,"timestamp_seconds":1783776637,"priority":1,"record_length":96,"hex_timestamp":"0000019f515f7048"} 
[2026-07-11 19:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:04: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-07-11 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 19:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646813696001,"66":12385,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646813696001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:04:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646813696001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":128746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:04:36] local.INFO: GPS data processed {"connection_id":128746,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:04:36] local.INFO: Acknowledgment sent {"connection_id":128746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:04:39] local.INFO: TCP Data received {"connection_id":130891,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:04:39] local.INFO: Processing buffer {"connection_id":130891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:04:39] local.INFO: IMEI packet received {"connection_id":130891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":130891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:04:40] local.INFO: TCP Data received {"connection_id":130891,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51623350012d76a1c005d9c2a8000600a62d..."} 
[2026-07-11 19:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51623350012d76a1c005d9c2a8000600a62d..."} 
[2026-07-11 19:04:40] local.INFO: Processing buffer {"connection_id":130891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51623350012d76a1c005d9c2a8000600a62d..."} 
[2026-07-11 19:04:40] local.INFO: Packet analysis {"connection_id":130891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:04:40] local.INFO: Extracted packet for processing {"connection_id":130891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:04:40] local.INFO: GPS Element Parsed {"raw_longitude":762749376,"raw_latitude":98157224,"longitude_deg":76.2749376,"latitude_deg":9.8157224,"altitude":6,"angle":166,"satellites":45,"speed":18,"hex_longitude":"2d76a1c0","hex_latitude":"05d9c2a8","is_valid_coordinates":true} 
[2026-07-11 19:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646863616001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105175940828495872,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8547832117878114304,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776818000,"timestamp_ms":1783776818000,"timestamp_seconds":1783776818,"priority":1,"record_length":96,"hex_timestamp":"0000019f51623350"} 
[2026-07-11 19:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 19:04:40] 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-07-11 19:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646863616001,"66":12950,"168":206,"87":12288,"24":18,"16":105175940828495872,"45":8547832117878114304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646863616001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:04:40] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:04:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105175940828495872,"km_value":105175940828495.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8547832117878114304,"description":"Unknown IO ID 45"} 
[2026-07-11 19:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646863616001,"power":12950,"unknown_168":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8547832117878114304}} 
[2026-07-11 19:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":130891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:04:40] local.INFO: GPS data processed {"connection_id":130891,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:04:40] local.INFO: Acknowledgment sent {"connection_id":130891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:04:40] local.INFO: TCP Data received {"connection_id":128932,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51626a00012cc335c007607ad0003700c02c..."} 
[2026-07-11 19:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51626a00012cc335c007607ad0003700c02c..."} 
[2026-07-11 19:04:40] local.INFO: Processing buffer {"connection_id":128932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51626a00012cc335c007607ad0003700c02c..."} 
[2026-07-11 19:04:40] local.INFO: Packet analysis {"connection_id":128932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:04:40] local.INFO: Extracted packet for processing {"connection_id":128932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:04:40] local.INFO: GPS Element Parsed {"raw_longitude":750990784,"raw_latitude":123763408,"longitude_deg":75.0990784,"latitude_deg":12.3763408,"altitude":55,"angle":192,"satellites":44,"speed":42,"hex_longitude":"2cc335c0","hex_latitude":"07607ad0","is_valid_coordinates":true} 
[2026-07-11 19:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646866176001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345350103998922752,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377639543606644736,"note":"Value kept but may cause issues"} 
[2026-07-11 19:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776832000,"timestamp_ms":1783776832000,"timestamp_seconds":1783776832,"priority":1,"record_length":96,"hex_timestamp":"0000019f51626a00"} 
[2026-07-11 19:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 19:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646866176001,"66":27995,"77":206,"85":37120,"24":42,"16":345350103998922752,"44":-4377639543606644736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,85,24,16,44]} 
[2026-07-11 19:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646866176001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:04:40] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-11 19:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345350103998922752,"km_value":345350103998922.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377639543606644736,"description":"Unknown IO ID 44"} 
[2026-07-11 19:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646866176001,"power":27995,"unknown_77":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4377639543606644736}} 
[2026-07-11 19:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":128932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:04:40] local.INFO: GPS data processed {"connection_id":128932,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:04:40] local.INFO: Acknowledgment sent {"connection_id":128932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:04:50] local.INFO: TCP Data received {"connection_id":129648,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:04:50] local.INFO: Processing buffer {"connection_id":129648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:04:50] local.INFO: IMEI packet received {"connection_id":129648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":129648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:04:59] local.INFO: TCP Data received {"connection_id":128747,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:04:59] local.INFO: Processing buffer {"connection_id":128747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:04:59] local.INFO: IMEI packet received {"connection_id":128747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":128747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:05:03] local.INFO: TCP Data received {"connection_id":129649,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:05:03] local.INFO: Processing buffer {"connection_id":129649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:05:03] local.INFO: IMEI packet received {"connection_id":129649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":129649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:05:04] local.INFO: TCP Data received {"connection_id":128747,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:05:04] local.INFO: Processing buffer {"connection_id":128747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:05:04] local.INFO: IMEI packet received {"connection_id":128747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":128747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:05:06] local.INFO: TCP Data received {"connection_id":128747,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f515fc250012d19d080072016d00031008a28..."} 
[2026-07-11 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f515fc250012d19d080072016d00031008a28..."} 
[2026-07-11 19:05:06] local.INFO: Processing buffer {"connection_id":128747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f515fc250012d19d080072016d00031008a28..."} 
[2026-07-11 19:05:06] local.INFO: Packet analysis {"connection_id":128747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:05:06] local.INFO: Extracted packet for processing {"connection_id":128747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f515f"} 
[2026-07-11 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646819072001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783776658000,"timestamp_ms":1783776658000,"timestamp_seconds":1783776658,"priority":1,"record_length":96,"hex_timestamp":"0000019f515fc250"} 
[2026-07-11 19:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 19:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646819072001,"66":12341,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646819072001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:05:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646819072001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:05:06] local.INFO: TCP Data received {"connection_id":129649,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:05:06] local.INFO: Processing buffer {"connection_id":129649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:05:06] local.INFO: IMEI packet received {"connection_id":129649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":129649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":128747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:05:06] local.INFO: GPS data processed {"connection_id":128747,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:05:06] local.INFO: Acknowledgment sent {"connection_id":128747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:05:07] local.INFO: TCP Data received {"connection_id":129649,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:05:07] local.INFO: Processing buffer {"connection_id":129649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:05:07] local.INFO: IMEI packet received {"connection_id":129649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":129649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:05:08] local.INFO: TCP Data received {"connection_id":129649,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51627d88012cc33340076065f8003400b22c..."} 
[2026-07-11 19:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51627d88012cc33340076065f8003400b22c..."} 
[2026-07-11 19:05:08] local.INFO: Processing buffer {"connection_id":129649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51627d88012cc33340076065f8003400b22c..."} 
[2026-07-11 19:05:08] local.INFO: Packet analysis {"connection_id":129649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:08] local.INFO: Extracted packet for processing {"connection_id":129649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":123758072,"longitude_deg":75.0990144,"latitude_deg":12.3758072,"altitude":52,"angle":178,"satellites":44,"speed":42,"hex_longitude":"2cc33340","hex_latitude":"076065f8","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646868992001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345350365991927808,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380383924631973888,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783776837000,"timestamp_ms":1783776837000,"timestamp_seconds":1783776837,"priority":1,"record_length":96,"hex_timestamp":"0000019f51627d88"} 
[2026-07-11 19:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 19:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646868992001,"66":27908,"77":206,"85":37120,"24":42,"16":345350365991927808,"44":-4380383924631973888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,85,24,16,44]} 
[2026-07-11 19:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646868992001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:05:08] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-11 19:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345350365991927808,"km_value":345350365991927.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:05:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380383924631973888,"description":"Unknown IO ID 44"} 
[2026-07-11 19:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646868992001,"power":27908,"unknown_77":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4380383924631973888}} 
[2026-07-11 19:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":129649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:05:08] local.INFO: GPS data processed {"connection_id":129649,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:05:08] local.INFO: Acknowledgment sent {"connection_id":129649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:05:08] local.INFO: TCP Data received {"connection_id":129649,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51628d28012cc33600076054c0003000a72a..."} 
[2026-07-11 19:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51628d28012cc33600076054c0003000a72a..."} 
[2026-07-11 19:05:08] local.INFO: Processing buffer {"connection_id":129649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51628d28012cc33600076054c0003000a72a..."} 
[2026-07-11 19:05:08] local.INFO: Packet analysis {"connection_id":129649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:08] local.INFO: Extracted packet for processing {"connection_id":129649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":750990848,"raw_latitude":123753664,"longitude_deg":75.0990848,"latitude_deg":12.3753664,"altitude":48,"angle":167,"satellites":42,"speed":46,"hex_longitude":"2cc33600","hex_latitude":"076054c0","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646870272001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345350585035259904,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087612075116544,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783776841000,"timestamp_ms":1783776841000,"timestamp_seconds":1783776841,"priority":1,"record_length":96,"hex_timestamp":"0000019f51628d28"} 
[2026-07-11 19:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-11 19:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646870272001,"66":27995,"207":206,"85":37120,"24":46,"16":345350585035259904,"44":-4381087612075116544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-07-11 19:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646870272001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:05:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 19:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345350585035259904,"km_value":345350585035259.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:05:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087612075116544,"description":"Unknown IO ID 44"} 
[2026-07-11 19:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646870272001,"power":27995,"unknown_207":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4381087612075116544}} 
[2026-07-11 19:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":129649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:05:08] local.INFO: GPS data processed {"connection_id":129649,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:05:08] local.INFO: Acknowledgment sent {"connection_id":129649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:05:12] local.INFO: TCP Data received {"connection_id":130891,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516271d0012d76aa4005d9a0c0000200a02b..."} 
[2026-07-11 19:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516271d0012d76aa4005d9a0c0000200a02b..."} 
[2026-07-11 19:05:12] local.INFO: Processing buffer {"connection_id":130891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516271d0012d76aa4005d9a0c0000200a02b..."} 
[2026-07-11 19:05:12] local.INFO: Packet analysis {"connection_id":130891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:12] local.INFO: Extracted packet for processing {"connection_id":130891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:12] local.INFO: GPS Element Parsed {"raw_longitude":762751552,"raw_latitude":98148544,"longitude_deg":76.2751552,"latitude_deg":9.8148544,"altitude":2,"angle":160,"satellites":43,"speed":22,"hex_longitude":"2d76aa40","hex_latitude":"05d9a0c0","is_valid_coordinates":true} 
[2026-07-11 19:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646865408001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105176374620192768,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8548324699086694400,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783776834000,"timestamp_ms":1783776834000,"timestamp_seconds":1783776834,"priority":1,"record_length":96,"hex_timestamp":"0000019f516271d0"} 
[2026-07-11 19:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 19:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646865408001,"66":12917,"168":206,"87":12288,"24":22,"16":105176374620192768,"45":8548324699086694400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646865408001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:05:12] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:05:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105176374620192768,"km_value":105176374620192.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8548324699086694400,"description":"Unknown IO ID 45"} 
[2026-07-11 19:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646865408001,"power":12917,"unknown_168":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8548324699086694400}} 
[2026-07-11 19:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:05:12] local.INFO: GPS data processed {"connection_id":130891,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:05:12] local.INFO: Acknowledgment sent {"connection_id":130891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:05:35] local.INFO: TCP Data received {"connection_id":129650,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:05:35] local.INFO: Processing buffer {"connection_id":129650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:05:35] local.INFO: IMEI packet received {"connection_id":129650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":129650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:05:37] local.INFO: TCP Data received {"connection_id":128747,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51601458012d19d080072016d00031008a28..."} 
[2026-07-11 19:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51601458012d19d080072016d00031008a28..."} 
[2026-07-11 19:05:37] local.INFO: Processing buffer {"connection_id":128747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51601458012d19d080072016d00031008a28..."} 
[2026-07-11 19:05:37] local.INFO: Packet analysis {"connection_id":128747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:05:37] local.INFO: Extracted packet for processing {"connection_id":128747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646824448001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776679000,"timestamp_ms":1783776679000,"timestamp_seconds":1783776679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51601458"} 
[2026-07-11 19:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:05:37] 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-07-11 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 19:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646824448001,"66":12363,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646824448001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:05:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646824448001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":128747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:05:37] local.INFO: GPS data processed {"connection_id":128747,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:05:37] local.INFO: Acknowledgment sent {"connection_id":128747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:05:39] local.INFO: TCP Data received {"connection_id":129650,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:05:39] local.INFO: Processing buffer {"connection_id":129650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:05:39] local.INFO: IMEI packet received {"connection_id":129650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":129650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:05:40] local.INFO: TCP Data received {"connection_id":129649,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51634c90012cc32c00075fa070001300c52b..."} 
[2026-07-11 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51634c90012cc32c00075fa070001300c52b..."} 
[2026-07-11 19:05:40] local.INFO: Processing buffer {"connection_id":129649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51634c90012cc32c00075fa070001300c52b..."} 
[2026-07-11 19:05:40] local.INFO: Packet analysis {"connection_id":129649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:05:40] local.INFO: Extracted packet for processing {"connection_id":129649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":750988288,"raw_latitude":123707504,"longitude_deg":75.0988288,"latitude_deg":12.3707504,"altitude":19,"angle":197,"satellites":43,"speed":54,"hex_longitude":"2cc32c00","hex_latitude":"075fa070","is_valid_coordinates":true} 
[2026-07-11 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646883328001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345353290864656384,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668273377280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776890000,"timestamp_ms":1783776890000,"timestamp_seconds":1783776890,"priority":1,"record_length":96,"hex_timestamp":"0000019f51634c90"} 
[2026-07-11 19:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 19:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646883328001,"66":27767,"207":206,"85":37120,"24":54,"16":345353290864656384,"44":-4381861668273377280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-07-11 19:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646883328001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:05:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 19:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345353290864656384,"km_value":345353290864656.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668273377280,"description":"Unknown IO ID 44"} 
[2026-07-11 19:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646883328001,"power":27767,"unknown_207":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4381861668273377280}} 
[2026-07-11 19:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":129649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:05:40] local.INFO: GPS data processed {"connection_id":129649,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:05:40] local.INFO: Acknowledgment sent {"connection_id":129649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:05:44] local.INFO: TCP Data received {"connection_id":129650,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:05:44] local.INFO: Processing buffer {"connection_id":129650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:05:44] local.INFO: IMEI packet received {"connection_id":129650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":129650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:05:45] local.INFO: TCP Data received {"connection_id":129650,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5162c3d8012d76b14005d98600000000aa2b..."} 
[2026-07-11 19:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5162c3d8012d76b14005d98600000000aa2b..."} 
[2026-07-11 19:05:45] local.INFO: Processing buffer {"connection_id":129650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5162c3d8012d76b14005d98600000000aa2b..."} 
[2026-07-11 19:05:45] local.INFO: Packet analysis {"connection_id":129650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:45] local.INFO: Extracted packet for processing {"connection_id":129650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:45] local.INFO: GPS Element Parsed {"raw_longitude":762753344,"raw_latitude":98141696,"longitude_deg":76.2753344,"latitude_deg":9.8141696,"altitude":0,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2d76b140","hex_latitude":"05d98600","is_valid_coordinates":true} 
[2026-07-11 19:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646869504001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105176718217576448,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8550717236386512896,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783776855000,"timestamp_ms":1783776855000,"timestamp_seconds":1783776855,"priority":1,"record_length":96,"hex_timestamp":"0000019f5162c3d8"} 
[2026-07-11 19:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 19:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646869504001,"66":13048,"168":206,"87":12288,"24":0,"16":105176718217576448,"45":8550717236386512896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646869504001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:05:45] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:05:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105176718217576448,"km_value":105176718217576.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8550717236386512896,"description":"Unknown IO ID 45"} 
[2026-07-11 19:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646869504001,"power":13048,"unknown_168":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8550717236386512896}} 
[2026-07-11 19:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":129650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:05:45] local.INFO: GPS data processed {"connection_id":129650,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:05:45] local.INFO: Acknowledgment sent {"connection_id":129650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:05:51] local.INFO: TCP Data received {"connection_id":129650,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5162df30012d76b14005d98580000000b92c..."} 
[2026-07-11 19:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5162df30012d76b14005d98580000000b92c..."} 
[2026-07-11 19:05:51] local.INFO: Processing buffer {"connection_id":129650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5162df30012d76b14005d98580000000b92c..."} 
[2026-07-11 19:05:51] local.INFO: Packet analysis {"connection_id":129650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:51] local.INFO: Extracted packet for processing {"connection_id":129650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:05:51] local.INFO: GPS Element Parsed {"raw_longitude":762753344,"raw_latitude":98141568,"longitude_deg":76.2753344,"latitude_deg":9.8141568,"altitude":0,"angle":185,"satellites":44,"speed":3,"hex_longitude":"2d76b140","hex_latitude":"05d98580","is_valid_coordinates":true} 
[2026-07-11 19:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646874880001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105176726807511040,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8552687561221734400,"note":"Value kept but may cause issues"} 
[2026-07-11 19:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783776862000,"timestamp_ms":1783776862000,"timestamp_seconds":1783776862,"priority":1,"record_length":96,"hex_timestamp":"0000019f5162df30"} 
[2026-07-11 19:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 19:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646874880001,"66":12645,"168":206,"87":12288,"24":3,"16":105176726807511040,"45":8552687561221734400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646874880001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:05:51] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:05:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105176726807511040,"km_value":105176726807511.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8552687561221734400,"description":"Unknown IO ID 45"} 
[2026-07-11 19:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646874880001,"power":12645,"unknown_168":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8552687561221734400}} 
[2026-07-11 19:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":129650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:05:51] local.INFO: GPS data processed {"connection_id":129650,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:05:51] local.INFO: Acknowledgment sent {"connection_id":129650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:05:59] local.INFO: TCP Data received {"connection_id":130892,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:05:59] local.INFO: Processing buffer {"connection_id":130892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:05:59] local.INFO: IMEI packet received {"connection_id":130892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":130892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:06:04] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:06:04] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:06:04] local.INFO: IMEI packet received {"connection_id":130893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":130893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:06:04] local.INFO: TCP Data received {"connection_id":130892,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:06:04] local.INFO: Processing buffer {"connection_id":130892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:06:04] local.INFO: IMEI packet received {"connection_id":130892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":130892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:06:05] local.INFO: TCP Data received {"connection_id":130892,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51606660012d19d080072016d00031008a2a..."} 
[2026-07-11 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51606660012d19d080072016d00031008a2a..."} 
[2026-07-11 19:06:05] local.INFO: Processing buffer {"connection_id":130892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51606660012d19d080072016d00031008a2a..."} 
[2026-07-11 19:06:05] local.INFO: Packet analysis {"connection_id":130892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:06:05] local.INFO: Extracted packet for processing {"connection_id":130892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646829824001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776700000,"timestamp_ms":1783776700000,"timestamp_seconds":1783776700,"priority":1,"record_length":96,"hex_timestamp":"0000019f51606660"} 
[2026-07-11 19:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:06:05] 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-07-11 19:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 19:06:05] 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-07-11 19:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646829824001,"66":12385,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646829824001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646829824001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":130892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:06:06] local.INFO: GPS data processed {"connection_id":130892,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:06:06] local.INFO: Acknowledgment sent {"connection_id":130892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:06:08] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:06:09] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:06:09] local.INFO: IMEI packet received {"connection_id":130893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":130893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:06:09] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51635460012cc32a40075f95f8001300b62c..."} 
[2026-07-11 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51635460012cc32a40075f95f8001300b62c..."} 
[2026-07-11 19:06:09] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51635460012cc32a40075f95f8001300b62c..."} 
[2026-07-11 19:06:09] local.INFO: Packet analysis {"connection_id":130893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:06:09] local.INFO: Extracted packet for processing {"connection_id":130893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:06:09] local.INFO: GPS Element Parsed {"raw_longitude":750987840,"raw_latitude":123704824,"longitude_deg":75.098784,"latitude_deg":12.3704824,"altitude":19,"angle":182,"satellites":44,"speed":53,"hex_longitude":"2cc32a40","hex_latitude":"075f95f8","is_valid_coordinates":true} 
[2026-07-11 19:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646883840001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345353419713675264,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383128305669214208,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783776892000,"timestamp_ms":1783776892000,"timestamp_seconds":1783776892,"priority":1,"record_length":96,"hex_timestamp":"0000019f51635460"} 
[2026-07-11 19:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:06:09] 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-07-11 19:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:06: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-07-11 19:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646883840001,"66":27745,"207":206,"85":37120,"24":53,"16":345353419713675264,"44":-4383128305669214208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-07-11 19:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646883840001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:06:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 19:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345353419713675264,"km_value":345353419713675.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383128305669214208,"description":"Unknown IO ID 44"} 
[2026-07-11 19:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646883840001,"power":27745,"unknown_207":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4383128305669214208}} 
[2026-07-11 19:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":130893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:06:09] local.INFO: GPS data processed {"connection_id":130893,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:06:09] local.INFO: Acknowledgment sent {"connection_id":130893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:06:34] local.INFO: TCP Data received {"connection_id":129652,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:06:34] local.INFO: Processing buffer {"connection_id":129652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:06:34] local.INFO: IMEI packet received {"connection_id":129652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":129652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:06:35] local.INFO: TCP Data received {"connection_id":129652,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:06:35] local.INFO: Processing buffer {"connection_id":129652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:06:35] local.INFO: IMEI packet received {"connection_id":129652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":129652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:06:37] local.INFO: TCP Data received {"connection_id":130892,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5160b868012d19d080072016d00031008a29..."} 
[2026-07-11 19:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5160b868012d19d080072016d00031008a29..."} 
[2026-07-11 19:06:37] local.INFO: Processing buffer {"connection_id":130892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5160b868012d19d080072016d00031008a29..."} 
[2026-07-11 19:06:37] local.INFO: Packet analysis {"connection_id":130892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:06:37] local.INFO: Extracted packet for processing {"connection_id":130892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5160"} 
[2026-07-11 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":41,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646835200001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783776721000,"timestamp_ms":1783776721000,"timestamp_seconds":1783776721,"priority":1,"record_length":96,"hex_timestamp":"0000019f5160b868"} 
[2026-07-11 19:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 19:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646835200001,"66":12319,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646835200001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:06:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646835200001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":130892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:06:37] local.INFO: GPS data processed {"connection_id":130892,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:06:37] local.INFO: Acknowledgment sent {"connection_id":130892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:06:39] local.INFO: TCP Data received {"connection_id":129652,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:06:39] local.INFO: Processing buffer {"connection_id":129652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:06:39] local.INFO: IMEI packet received {"connection_id":129652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":129652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:06:40] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51636400012cc32c00075f8188001300ab2c..."} 
[2026-07-11 19:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51636400012cc32c00075f8188001300ab2c..."} 
[2026-07-11 19:06:40] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51636400012cc32c00075f8188001300ab2c..."} 
[2026-07-11 19:06:40] local.INFO: Packet analysis {"connection_id":130893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:06:40] local.INFO: Extracted packet for processing {"connection_id":130893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:06:40] local.INFO: GPS Element Parsed {"raw_longitude":750988288,"raw_latitude":123699592,"longitude_deg":75.0988288,"latitude_deg":12.3699592,"altitude":19,"angle":171,"satellites":44,"speed":51,"hex_longitude":"2cc32c00","hex_latitude":"075f8188","is_valid_coordinates":true} 
[2026-07-11 19:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646884352001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345353677411713024,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383620886879143936,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776896000,"timestamp_ms":1783776896000,"timestamp_seconds":1783776896,"priority":1,"record_length":96,"hex_timestamp":"0000019f51636400"} 
[2026-07-11 19:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 19:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646884352001,"66":27876,"207":206,"85":37120,"24":51,"16":345353677411713024,"44":-4383620886879143936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-07-11 19:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646884352001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:06:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-11 19:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345353677411713024,"km_value":345353677411713.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383620886879143936,"description":"Unknown IO ID 44"} 
[2026-07-11 19:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646884352001,"power":27876,"unknown_207":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4383620886879143936}} 
[2026-07-11 19:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":130893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:06:40] local.INFO: GPS data processed {"connection_id":130893,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:06:40] local.INFO: Acknowledgment sent {"connection_id":130893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:06:40] local.INFO: TCP Data received {"connection_id":129652,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5162eae8012d76b1c005d982e8000000a82c..."} 
[2026-07-11 19:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5162eae8012d76b1c005d982e8000000a82c..."} 
[2026-07-11 19:06:40] local.INFO: Processing buffer {"connection_id":129652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5162eae8012d76b1c005d982e8000000a82c..."} 
[2026-07-11 19:06:40] local.INFO: Packet analysis {"connection_id":129652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:06:40] local.INFO: Extracted packet for processing {"connection_id":129652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:06:40] local.INFO: GPS Element Parsed {"raw_longitude":762753472,"raw_latitude":98140904,"longitude_deg":76.2753472,"latitude_deg":9.8140904,"altitude":0,"angle":168,"satellites":44,"speed":10,"hex_longitude":"2d76b1c0","hex_latitude":"05d982e8","is_valid_coordinates":true} 
[2026-07-11 19:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646876672001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105176756872282112,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8552687561221701632,"note":"Value kept but may cause issues"} 
[2026-07-11 19:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783776865000,"timestamp_ms":1783776865000,"timestamp_seconds":1783776865,"priority":1,"record_length":96,"hex_timestamp":"0000019f5162eae8"} 
[2026-07-11 19:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:06:40] 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-07-11 19:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-11 19:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646876672001,"66":12819,"168":206,"87":12288,"24":10,"16":105176756872282112,"45":8552687561221701632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646876672001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:06:40] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:06:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105176756872282112,"km_value":105176756872282.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8552687561221701632,"description":"Unknown IO ID 45"} 
[2026-07-11 19:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646876672001,"power":12819,"unknown_168":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8552687561221701632}} 
[2026-07-11 19:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":129652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:06:40] local.INFO: GPS data processed {"connection_id":129652,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:06:40] local.INFO: Acknowledgment sent {"connection_id":129652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:07:03] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:07:03] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:07:03] local.INFO: IMEI packet received {"connection_id":130895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":130895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:07:03] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:07:03] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:07:03] local.INFO: IMEI packet received {"connection_id":130895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":130895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:07:04] local.INFO: TCP Data received {"connection_id":130894,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:07:04] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:07:04] local.INFO: IMEI packet received {"connection_id":130894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":130894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:07:09] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:07:09] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:07:09] local.INFO: IMEI packet received {"connection_id":130895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":130895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:07:09] local.INFO: TCP Data received {"connection_id":130894,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:07:09] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:07:09] local.INFO: IMEI packet received {"connection_id":130894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":130894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:07:09] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51638728012cc33200075f5ba8001200ab2b..."} 
[2026-07-11 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51638728012cc33200075f5ba8001200ab2b..."} 
[2026-07-11 19:07:09] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51638728012cc33200075f5ba8001200ab2b..."} 
[2026-07-11 19:07:09] local.INFO: Packet analysis {"connection_id":130895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:07:09] local.INFO: Extracted packet for processing {"connection_id":130895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":750989824,"raw_latitude":123689896,"longitude_deg":75.0989824,"latitude_deg":12.3689896,"altitude":18,"angle":171,"satellites":43,"speed":39,"hex_longitude":"2cc33200","hex_latitude":"075f5ba8","is_valid_coordinates":true} 
[2026-07-11 19:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646885376001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345354149858115584,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383128305671239680,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783776905000,"timestamp_ms":1783776905000,"timestamp_seconds":1783776905,"priority":1,"record_length":96,"hex_timestamp":"0000019f51638728"} 
[2026-07-11 19:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 19:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19: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-07-11 19:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646885376001,"66":27821,"233":206,"85":37120,"24":39,"16":345354149858115584,"44":-4383128305671239680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-07-11 19:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646885376001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:07:09] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-11 19:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345354149858115584,"km_value":345354149858115.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383128305671239680,"description":"Unknown IO ID 44"} 
[2026-07-11 19:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646885376001,"power":27821,"unknown_233":206,"unknown_85":37120,"ignition":39,"odometer":null,"unknown_44":-4383128305671239680}} 
[2026-07-11 19:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":130895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:07:09] local.INFO: GPS data processed {"connection_id":130895,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:07:09] local.INFO: Acknowledgment sent {"connection_id":130895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:07:10] local.INFO: TCP Data received {"connection_id":130894,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51610a70012d19d080072016d00031008a24..."} 
[2026-07-11 19:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51610a70012d19d080072016d00031008a24..."} 
[2026-07-11 19:07:10] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51610a70012d19d080072016d00031008a24..."} 
[2026-07-11 19:07:10] local.INFO: Packet analysis {"connection_id":130894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5161"} 
[2026-07-11 19:07:10] local.INFO: Extracted packet for processing {"connection_id":130894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5161"} 
[2026-07-11 19:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":36,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646840576001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783776742000,"timestamp_ms":1783776742000,"timestamp_seconds":1783776742,"priority":1,"record_length":96,"hex_timestamp":"0000019f51610a70"} 
[2026-07-11 19:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 19:07:10] 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-07-11 19:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646840576001,"66":11754,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646840576001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:07:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:07:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646840576001,"power":11754,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":130894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:07:11] local.INFO: GPS data processed {"connection_id":130894,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:07:11] local.INFO: Acknowledgment sent {"connection_id":130894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:07:13] local.INFO: TCP Data received {"connection_id":130894,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51615c78012d19d080072016d00031008a27..."} 
[2026-07-11 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51615c78012d19d080072016d00031008a27..."} 
[2026-07-11 19:07:13] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51615c78012d19d080072016d00031008a27..."} 
[2026-07-11 19:07:13] local.INFO: Packet analysis {"connection_id":130894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5161"} 
[2026-07-11 19:07:13] local.INFO: Extracted packet for processing {"connection_id":130894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5161"} 
[2026-07-11 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646845952001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783776763000,"timestamp_ms":1783776763000,"timestamp_seconds":1783776763,"priority":1,"record_length":96,"hex_timestamp":"0000019f51615c78"} 
[2026-07-11 19:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-11 19:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646845952001,"66":12363,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646845952001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:07:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:07:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646845952001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":130894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:07:13] local.INFO: GPS data processed {"connection_id":130894,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:07:13] local.INFO: Acknowledgment sent {"connection_id":130894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:07:18] local.INFO: TCP Data received {"connection_id":129652,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51632580012d76ba0005d96088000200aa2b..."} 
[2026-07-11 19:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51632580012d76ba0005d96088000200aa2b..."} 
[2026-07-11 19:07:18] local.INFO: Processing buffer {"connection_id":129652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51632580012d76ba0005d96088000200aa2b..."} 
[2026-07-11 19:07:18] local.INFO: Packet analysis {"connection_id":129652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:07:18] local.INFO: Extracted packet for processing {"connection_id":129652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:07:18] local.INFO: GPS Element Parsed {"raw_longitude":762755584,"raw_latitude":98132104,"longitude_deg":76.2755584,"latitude_deg":9.8132104,"altitude":2,"angle":170,"satellites":43,"speed":29,"hex_longitude":"2d76ba00","hex_latitude":"05d96088","is_valid_coordinates":true} 
[2026-07-11 19:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646877440001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105177194958946304,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8552828298709886976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783776880000,"timestamp_ms":1783776880000,"timestamp_seconds":1783776880,"priority":1,"record_length":96,"hex_timestamp":"0000019f51632580"} 
[2026-07-11 19:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6341332162427814144,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2832728064,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505204482375680,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":81,"raw_value":7065092289239359424,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3265789958,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3938398760361525272,"corrected_to":0} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4160826742,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":327858,"corrected_to":0} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182216824717568,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802102,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2751787333169663187,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089895861730463319,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195028224,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84854396483394000,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.WARNING: Large IO value detected {"io_id":136,"raw_value":1689731083536384,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,168,87,24,241,157,16,169,159,223,45,64,133,44,10,66,195,134,43,113,1,240,117,227,81,217,4,205,18,23,160,200,239,50,2,5,9,52,48,210,69,88,136],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3938398760361525272,"validated":0},{"io_id":200,"original":327858,"validated":0}]} 
[2026-07-11 19:07:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":184906932682752,"timestamp_seconds":184906932682.752,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 19:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646877440001,"66":11917,"168":206,"87":12288,"24":29,"16":105177194958946304,"45":8552828298709886976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646877440001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:07:18] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:07:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105177194958946304,"km_value":105177194958946.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8552828298709886976,"description":"Unknown IO ID 45"} 
[2026-07-11 19:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646877440001,"power":11917,"unknown_168":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8552828298709886976}} 
[2026-07-11 19:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":129652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:07:18] local.INFO: GPS data processed {"connection_id":129652,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:07:18] local.INFO: Acknowledgment sent {"connection_id":129652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:07:41] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51651598012cc290c0075de328000e00d92a..."} 
[2026-07-11 19:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51651598012cc290c0075de328000e00d92a..."} 
[2026-07-11 19:07:41] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51651598012cc290c0075de328000e00d92a..."} 
[2026-07-11 19:07:41] local.INFO: Packet analysis {"connection_id":130895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:07:41] local.INFO: Extracted packet for processing {"connection_id":130895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":750948544,"raw_latitude":123593512,"longitude_deg":75.0948544,"latitude_deg":12.3593512,"altitude":14,"angle":217,"satellites":42,"speed":49,"hex_longitude":"2cc290c0","hex_latitude":"075de328","is_valid_coordinates":true} 
[2026-07-11 19:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646912512001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345359802035077120,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4422042221227491328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783777007000,"timestamp_ms":1783777007000,"timestamp_seconds":1783777007,"priority":1,"record_length":96,"hex_timestamp":"0000019f51651598"} 
[2026-07-11 19:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 19:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646912512001,"66":27865,"255":206,"85":37120,"24":49,"16":345359802035077120,"44":-4422042221227491328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-11 19:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646912512001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:07:41] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 19:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345359802035077120,"km_value":345359802035077.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4422042221227491328,"description":"Unknown IO ID 44"} 
[2026-07-11 19:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646912512001,"power":27865,"unknown_255":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4422042221227491328}} 
[2026-07-11 19:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":130895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:07:41] local.INFO: GPS data processed {"connection_id":130895,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:07:41] local.INFO: Acknowledgment sent {"connection_id":130895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:07:49] local.INFO: TCP Data received {"connection_id":130894,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5161ae80012d19d080072016d00031008a28..."} 
[2026-07-11 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5161ae80012d19d080072016d00031008a28..."} 
[2026-07-11 19:07:49] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5161ae80012d19d080072016d00031008a28..."} 
[2026-07-11 19:07:49] local.INFO: Packet analysis {"connection_id":130894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5161"} 
[2026-07-11 19:07:49] local.INFO: Extracted packet for processing {"connection_id":130894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5161"} 
[2026-07-11 19:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646851328001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783776784000,"timestamp_ms":1783776784000,"timestamp_seconds":1783776784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5161ae80"} 
[2026-07-11 19:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-11 19:07:49] 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-07-11 19:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646851328001,"66":12341,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646851328001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:07:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:07:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646851328001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:07:49] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":130894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:07:49] local.INFO: GPS data processed {"connection_id":130894,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:07:49] local.INFO: Acknowledgment sent {"connection_id":130894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:07:49] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:07:49] local.INFO: IMEI packet received {"connection_id":128933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":128933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:07:50] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:07:50] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:07:50] local.INFO: IMEI packet received {"connection_id":128933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":128933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:07:51] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51635460012d76bf0005d93c80000400ac2c..."} 
[2026-07-11 19:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51635460012d76bf0005d93c80000400ac2c..."} 
[2026-07-11 19:07:51] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51635460012d76bf0005d93c80000400ac2c..."} 
[2026-07-11 19:07:51] local.INFO: Packet analysis {"connection_id":128933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:07:51] local.INFO: Extracted packet for processing {"connection_id":128933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:07:51] local.INFO: GPS Element Parsed {"raw_longitude":762756864,"raw_latitude":98122880,"longitude_deg":76.2756864,"latitude_deg":9.812288,"altitude":4,"angle":172,"satellites":44,"speed":27,"hex_longitude":"2d76bf00","hex_latitude":"05d93c80","is_valid_coordinates":true} 
[2026-07-11 19:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646881280001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105177650225479680,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8555150467265497088,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783776892000,"timestamp_ms":1783776892000,"timestamp_seconds":1783776892,"priority":1,"record_length":96,"hex_timestamp":"0000019f51635460"} 
[2026-07-11 19:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 19:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":128933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":128933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":128933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646881280001,"66":11917,"168":206,"87":12288,"24":27,"16":105177650225479680,"45":8555150467265497088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646881280001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:07:51] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:07:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105177650225479680,"km_value":105177650225479.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8555150467265497088,"description":"Unknown IO ID 45"} 
[2026-07-11 19:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646881280001,"power":11917,"unknown_168":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8555150467265497088}} 
[2026-07-11 19:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":128933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:07:51] local.INFO: GPS data processed {"connection_id":128933,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:07:51] local.INFO: Acknowledgment sent {"connection_id":128933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:07:53] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51638728012d76c3c005d91760000300af29..."} 
[2026-07-11 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51638728012d76c3c005d91760000300af29..."} 
[2026-07-11 19:07:53] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51638728012d76c3c005d91760000300af29..."} 
[2026-07-11 19:07:53] local.INFO: Packet analysis {"connection_id":128933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:07:53] local.INFO: Extracted packet for processing {"connection_id":128933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5163"} 
[2026-07-11 19:07:53] local.INFO: GPS Element Parsed {"raw_longitude":762758080,"raw_latitude":98113376,"longitude_deg":76.275808,"latitude_deg":9.8113376,"altitude":3,"angle":175,"satellites":41,"speed":29,"hex_longitude":"2d76c3c0","hex_latitude":"05d91760","is_valid_coordinates":true} 
[2026-07-11 19:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646884352001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105178114081947648,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8556557842146689024,"note":"Value kept but may cause issues"} 
[2026-07-11 19:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783776905000,"timestamp_ms":1783776905000,"timestamp_seconds":1783776905,"priority":1,"record_length":96,"hex_timestamp":"0000019f51638728"} 
[2026-07-11 19:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:07:53] 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-07-11 19:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 19:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":128933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":128933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":128933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646884352001,"66":11917,"168":206,"87":12288,"24":29,"16":105178114081947648,"45":8556557842146689024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646884352001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:07:53] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:07:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105178114081947648,"km_value":105178114081947.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8556557842146689024,"description":"Unknown IO ID 45"} 
[2026-07-11 19:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646884352001,"power":11917,"unknown_168":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8556557842146689024}} 
[2026-07-11 19:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":128933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:07:53] local.INFO: GPS data processed {"connection_id":128933,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:07:53] local.INFO: Acknowledgment sent {"connection_id":128933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:07:59] local.INFO: TCP Data received {"connection_id":128749,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:07:59] local.INFO: Processing buffer {"connection_id":128749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:07:59] local.INFO: IMEI packet received {"connection_id":128749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":128749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:08:03] local.INFO: TCP Data received {"connection_id":129653,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:08:03] local.INFO: Processing buffer {"connection_id":129653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:08:03] local.INFO: IMEI packet received {"connection_id":129653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":129653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:08:04] local.INFO: TCP Data received {"connection_id":128749,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:08:04] local.INFO: Processing buffer {"connection_id":128749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:08:04] local.INFO: IMEI packet received {"connection_id":128749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":128749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:08:05] local.INFO: TCP Data received {"connection_id":128749,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51620088012d19d080072016d00031008a26..."} 
[2026-07-11 19:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51620088012d19d080072016d00031008a26..."} 
[2026-07-11 19:08:05] local.INFO: Processing buffer {"connection_id":128749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51620088012d19d080072016d00031008a26..."} 
[2026-07-11 19:08:05] local.INFO: Packet analysis {"connection_id":128749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:08:05] local.INFO: Extracted packet for processing {"connection_id":128749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5162"} 
[2026-07-11 19:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646856704001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783776805000,"timestamp_ms":1783776805000,"timestamp_seconds":1783776805,"priority":1,"record_length":96,"hex_timestamp":"0000019f51620088"} 
[2026-07-11 19:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:08:05] 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-07-11 19:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 19:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646856704001,"66":12374,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646856704001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646856704001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":128749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:08:06] local.INFO: GPS data processed {"connection_id":128749,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:08:06] local.INFO: Acknowledgment sent {"connection_id":128749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:08:09] local.INFO: TCP Data received {"connection_id":129653,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:08:09] local.INFO: Processing buffer {"connection_id":129653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:08:09] local.INFO: IMEI packet received {"connection_id":129653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":129653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:08:09] local.INFO: TCP Data received {"connection_id":129653,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51652920012cc283c0075dce00000e00cc2a..."} 
[2026-07-11 19:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51652920012cc283c0075dce00000e00cc2a..."} 
[2026-07-11 19:08:09] local.INFO: Processing buffer {"connection_id":129653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51652920012cc283c0075dce00000e00cc2a..."} 
[2026-07-11 19:08:09] local.INFO: Packet analysis {"connection_id":129653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:08:09] local.INFO: Extracted packet for processing {"connection_id":129653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:08:09] local.INFO: GPS Element Parsed {"raw_longitude":750945216,"raw_latitude":123588096,"longitude_deg":75.0945216,"latitude_deg":12.3588096,"altitude":14,"angle":204,"satellites":42,"speed":50,"hex_longitude":"2cc283c0","hex_latitude":"075dce00","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646913792001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345360106977755136,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4426827295832725504,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777012000,"timestamp_ms":1783777012000,"timestamp_seconds":1783777012,"priority":1,"record_length":96,"hex_timestamp":"0000019f51652920"} 
[2026-07-11 19:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-11 19:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:08: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-07-11 19:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646913792001,"66":27843,"255":206,"85":37120,"24":50,"16":345360106977755136,"44":-4426827295832725504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-11 19:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646913792001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:08:09] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 19:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345360106977755136,"km_value":345360106977755.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4426827295832725504,"description":"Unknown IO ID 44"} 
[2026-07-11 19:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646913792001,"power":27843,"unknown_255":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4426827295832725504}} 
[2026-07-11 19:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":129653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:08:09] local.INFO: GPS data processed {"connection_id":129653,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:08:09] local.INFO: Acknowledgment sent {"connection_id":129653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:08:34] local.INFO: TCP Data received {"connection_id":128750,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:08:34] local.INFO: Processing buffer {"connection_id":128750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:08:34] local.INFO: IMEI packet received {"connection_id":128750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":128750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:08:37] local.INFO: TCP Data received {"connection_id":128749,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f516586e0012d19d080072016d00031008a2a..."} 
[2026-07-11 19:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516586e0012d19d080072016d00031008a2a..."} 
[2026-07-11 19:08:37] local.INFO: Processing buffer {"connection_id":128749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516586e0012d19d080072016d00031008a2a..."} 
[2026-07-11 19:08:37] local.INFO: Packet analysis {"connection_id":128749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:08:37] local.INFO: Extracted packet for processing {"connection_id":128749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646915840001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783777036000,"timestamp_ms":1783777036000,"timestamp_seconds":1783777036,"priority":1,"record_length":96,"hex_timestamp":"0000019f516586e0"} 
[2026-07-11 19:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 19:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646915840001,"66":12341,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646915840001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646915840001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":128749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:08:37] local.INFO: GPS data processed {"connection_id":128749,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:08:37] local.INFO: Acknowledgment sent {"connection_id":128749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:08:40] local.INFO: TCP Data received {"connection_id":129653,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f516538c0012cc27d40075dbb10000e00c12a..."} 
[2026-07-11 19:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516538c0012cc27d40075dbb10000e00c12a..."} 
[2026-07-11 19:08:40] local.INFO: Processing buffer {"connection_id":129653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516538c0012cc27d40075dbb10000e00c12a..."} 
[2026-07-11 19:08:40] local.INFO: Packet analysis {"connection_id":129653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:08:40] local.INFO: Extracted packet for processing {"connection_id":129653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:08:40] local.INFO: GPS Element Parsed {"raw_longitude":750943552,"raw_latitude":123583248,"longitude_deg":75.0943552,"latitude_deg":12.3583248,"altitude":14,"angle":193,"satellites":42,"speed":51,"hex_longitude":"2cc27d40","hex_latitude":"075dbb10","is_valid_coordinates":true} 
[2026-07-11 19:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646915072001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345360356085858304,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4430486470531350528,"note":"Value kept but may cause issues"} 
[2026-07-11 19:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777016000,"timestamp_ms":1783777016000,"timestamp_seconds":1783777016,"priority":1,"record_length":96,"hex_timestamp":"0000019f516538c0"} 
[2026-07-11 19:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-11 19:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646915072001,"66":27767,"255":206,"85":37120,"24":51,"16":345360356085858304,"44":-4430486470531350528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-11 19:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646915072001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:08:40] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 19:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345360356085858304,"km_value":345360356085858.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4430486470531350528,"description":"Unknown IO ID 44"} 
[2026-07-11 19:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646915072001,"power":27767,"unknown_255":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4430486470531350528}} 
[2026-07-11 19:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":129653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:08:40] local.INFO: GPS data processed {"connection_id":129653,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:08:40] local.INFO: Acknowledgment sent {"connection_id":129653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:08:44] local.INFO: TCP Data received {"connection_id":128750,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:08:44] local.INFO: Processing buffer {"connection_id":128750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:08:44] local.INFO: IMEI packet received {"connection_id":128750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":128750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:08:57] local.INFO: TCP Data received {"connection_id":128935,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:08:57] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:08:57] local.INFO: IMEI packet received {"connection_id":128935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":128935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:08:59] local.INFO: TCP Data received {"connection_id":128935,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:08:59] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:08:59] local.INFO: IMEI packet received {"connection_id":128935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":128935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:09:04] local.INFO: TCP Data received {"connection_id":128935,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:09:04] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:09:04] local.INFO: IMEI packet received {"connection_id":128935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":128935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:09:05] local.INFO: TCP Data received {"connection_id":128935,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5165d8e8012d19d080072016d00031008a27..."} 
[2026-07-11 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5165d8e8012d19d080072016d00031008a27..."} 
[2026-07-11 19:09:05] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5165d8e8012d19d080072016d00031008a27..."} 
[2026-07-11 19:09:05] local.INFO: Packet analysis {"connection_id":128935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:09:05] local.INFO: Extracted packet for processing {"connection_id":128935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646921216001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783777057000,"timestamp_ms":1783777057000,"timestamp_seconds":1783777057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5165d8e8"} 
[2026-07-11 19:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:09:05] 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-07-11 19:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-11 19:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646921216001,"66":12319,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646921216001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:09:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646921216001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":128935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:09:06] local.INFO: GPS data processed {"connection_id":128935,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:09:06] local.INFO: Acknowledgment sent {"connection_id":128935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:09:08] local.INFO: TCP Data received {"connection_id":128750,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5165f058012d77050005d792600003009f2b..."} 
[2026-07-11 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5165f058012d77050005d792600003009f2b..."} 
[2026-07-11 19:09:08] local.INFO: Processing buffer {"connection_id":128750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5165f058012d77050005d792600003009f2b..."} 
[2026-07-11 19:09:08] local.INFO: Packet analysis {"connection_id":128750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:09:08] local.INFO: Extracted packet for processing {"connection_id":128750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5165"} 
[2026-07-11 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":762774784,"raw_latitude":98013792,"longitude_deg":76.2774784,"latitude_deg":9.8013792,"altitude":3,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2d770500","hex_latitude":"05d79260","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646922752001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183023229566976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8574290765653667840,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783777063000,"timestamp_ms":1783777063000,"timestamp_seconds":1783777063,"priority":1,"record_length":96,"hex_timestamp":"0000019f5165f058"} 
[2026-07-11 19:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:09: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-07-11 19: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-11 19:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646922752001,"66":11917,"168":206,"87":12288,"24":0,"16":105183023229566976,"45":8574290765653667840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-11 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646922752001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:09:08] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:09:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-11 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183023229566976,"km_value":105183023229566.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8574290765653667840,"description":"Unknown IO ID 45"} 
[2026-07-11 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646922752001,"power":11917,"unknown_168":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8574290765653667840}} 
[2026-07-11 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":128750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:09:08] local.INFO: GPS data processed {"connection_id":128750,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:09:08] local.INFO: Acknowledgment sent {"connection_id":128750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:09:08] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:09:09] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:09:09] local.INFO: IMEI packet received {"connection_id":130897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":130897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:09:11] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:09:11] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:09:11] local.INFO: IMEI packet received {"connection_id":130897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":130897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:09:12] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f516632c0012cc31140075cd3d80009009a2c..."} 
[2026-07-11 19:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516632c0012cc31140075cd3d80009009a2c..."} 
[2026-07-11 19:09:12] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516632c0012cc31140075cd3d80009009a2c..."} 
[2026-07-11 19:09:12] local.INFO: Packet analysis {"connection_id":130897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:12] local.INFO: Extracted packet for processing {"connection_id":130897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:12] local.INFO: GPS Element Parsed {"raw_longitude":750981440,"raw_latitude":123524056,"longitude_deg":75.098144,"latitude_deg":12.3524056,"altitude":9,"angle":154,"satellites":44,"speed":52,"hex_longitude":"2cc31140","hex_latitude":"075cd3d8","is_valid_coordinates":true} 
[2026-07-11 19:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646931712001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345364075527536640,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4392979929900185600,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783777080000,"timestamp_ms":1783777080000,"timestamp_seconds":1783777080,"priority":1,"record_length":96,"hex_timestamp":"0000019f516632c0"} 
[2026-07-11 19:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 19:09:12] 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-07-11 19:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646931712001,"66":27767,"255":206,"85":37120,"24":52,"16":345364075527536640,"44":-4392979929900185600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-11 19:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646931712001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:09:12] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 19:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345364075527536640,"km_value":345364075527536.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4392979929900185600,"description":"Unknown IO ID 44"} 
[2026-07-11 19:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646931712001,"power":27767,"unknown_255":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4392979929900185600}} 
[2026-07-11 19:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":130897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:09:12] local.INFO: GPS data processed {"connection_id":130897,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:09:12] local.INFO: Acknowledgment sent {"connection_id":130897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:09:13] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51664e18012cc31f40075cb2700007009d2d..."} 
[2026-07-11 19:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51664e18012cc31f40075cb2700007009d2d..."} 
[2026-07-11 19:09:13] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51664e18012cc31f40075cb2700007009d2d..."} 
[2026-07-11 19:09:13] local.INFO: Packet analysis {"connection_id":130897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:13] local.INFO: Extracted packet for processing {"connection_id":130897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:13] local.INFO: GPS Element Parsed {"raw_longitude":750985024,"raw_latitude":123515504,"longitude_deg":75.0985024,"latitude_deg":12.3515504,"altitude":7,"angle":157,"satellites":45,"speed":50,"hex_longitude":"2cc31f40","hex_latitude":"075cb270","is_valid_coordinates":true} 
[2026-07-11 19:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646932480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345364522204135424,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4390657761343186944,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783777087000,"timestamp_ms":1783777087000,"timestamp_seconds":1783777087,"priority":1,"record_length":96,"hex_timestamp":"0000019f51664e18"} 
[2026-07-11 19:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:09:13] 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-07-11 19:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646932480001,"66":27800,"255":206,"85":37120,"24":50,"16":345364522204135424,"44":-4390657761343186944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-11 19:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646932480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:09:13] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 19:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345364522204135424,"km_value":345364522204135.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4390657761343186944,"description":"Unknown IO ID 44"} 
[2026-07-11 19:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646932480001,"power":27800,"unknown_255":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4390657761343186944}} 
[2026-07-11 19:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":130897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:09:13] local.INFO: GPS data processed {"connection_id":130897,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:09:13] local.INFO: Acknowledgment sent {"connection_id":130897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:09:37] local.INFO: TCP Data received {"connection_id":128935,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51662af0012d19d080072016d00031008a28..."} 
[2026-07-11 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51662af0012d19d080072016d00031008a28..."} 
[2026-07-11 19:09:37] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51662af0012d19d080072016d00031008a28..."} 
[2026-07-11 19:09:37] local.INFO: Packet analysis {"connection_id":128935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:37] local.INFO: Extracted packet for processing {"connection_id":128935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119543504,"longitude_deg":75.6666496,"latitude_deg":11.9543504,"altitude":49,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2d19d080","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-07-11 19:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646926592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5814857437806592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195507200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783777078000,"timestamp_ms":1783777078000,"timestamp_seconds":1783777078,"priority":1,"record_length":96,"hex_timestamp":"0000019f51662af0"} 
[2026-07-11 19:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-11 19:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646926592001,"66":12319,"121":206,"28":31744,"24":0,"16":5814857437806592,"45":1860127414195507200},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646926592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:09:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5814857437806592,"km_value":5814857437806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195507200,"description":"Unknown IO ID 45"} 
[2026-07-11 19:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646926592001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860127414195507200}} 
[2026-07-11 19:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":128935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:09:37] local.INFO: GPS data processed {"connection_id":128935,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:09:37] local.INFO: Acknowledgment sent {"connection_id":128935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:09:44] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f51667140012cc32cc0075c91680009009d2d..."} 
[2026-07-11 19:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51667140012cc32cc0075c91680009009d2d..."} 
[2026-07-11 19:09:44] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51667140012cc32cc0075c91680009009d2d..."} 
[2026-07-11 19:09:44] local.INFO: Packet analysis {"connection_id":130897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:44] local.INFO: Extracted packet for processing {"connection_id":130897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:44] local.INFO: GPS Element Parsed {"raw_longitude":750988480,"raw_latitude":123507048,"longitude_deg":75.098848,"latitude_deg":12.3507048,"altitude":9,"angle":157,"satellites":45,"speed":29,"hex_longitude":"2cc32cc0","hex_latitude":"075c9168","is_valid_coordinates":true} 
[2026-07-11 19:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646934272001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345364964585766912,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4386717111671427072,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783777096000,"timestamp_ms":1783777096000,"timestamp_seconds":1783777096,"priority":1,"record_length":96,"hex_timestamp":"0000019f51667140"} 
[2026-07-11 19:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 19:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646934272001,"66":27800,"255":206,"85":37120,"24":29,"16":345364964585766912,"44":-4386717111671427072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-11 19:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646934272001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:09:44] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 19:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345364964585766912,"km_value":345364964585766.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4386717111671427072,"description":"Unknown IO ID 44"} 
[2026-07-11 19:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646934272001,"power":27800,"unknown_255":206,"unknown_85":37120,"ignition":29,"odometer":null,"unknown_44":-4386717111671427072}} 
[2026-07-11 19:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":130897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:09:44] local.INFO: GPS data processed {"connection_id":130897,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:09:44] local.INFO: Acknowledgment sent {"connection_id":130897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:09:48] local.INFO: TCP Data received {"connection_id":129654,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:09:48] local.INFO: Processing buffer {"connection_id":129654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:09:48] local.INFO: IMEI packet received {"connection_id":129654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":129654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:09:52] local.INFO: TCP Data received {"connection_id":129654,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:09:52] local.INFO: Processing buffer {"connection_id":129654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:09:52] local.INFO: IMEI packet received {"connection_id":129654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":129654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:09:54] local.INFO: TCP Data received {"connection_id":129654,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:09:54] local.INFO: Processing buffer {"connection_id":129654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:09:54] local.INFO: IMEI packet received {"connection_id":129654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":129654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:09:55] local.INFO: TCP Data received {"connection_id":129654,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51664260012d77050005d792600003009f29..."} 
[2026-07-11 19:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51664260012d77050005d792600003009f29..."} 
[2026-07-11 19:09:55] local.INFO: Processing buffer {"connection_id":129654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51664260012d77050005d792600003009f29..."} 
[2026-07-11 19:09:55] local.INFO: Packet analysis {"connection_id":129654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:55] local.INFO: Extracted packet for processing {"connection_id":129654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:09:55] local.INFO: GPS Element Parsed {"raw_longitude":762774784,"raw_latitude":98013792,"longitude_deg":76.2774784,"latitude_deg":9.8013792,"altitude":3,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d770500","hex_latitude":"05d79260","is_valid_coordinates":true} 
[2026-07-11 19:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646928128001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183023229566976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8576261090488508416,"note":"Value kept but may cause issues"} 
[2026-07-11 19:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783777084000,"timestamp_ms":1783777084000,"timestamp_seconds":1783777084,"priority":1,"record_length":96,"hex_timestamp":"0000019f51664260"} 
[2026-07-11 19:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 19:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":129654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":129654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":129654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646928128001,"66":11471,"244":206,"85":15104,"24":0,"16":105183023229566976,"45":8576261090488508416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-11 19:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646928128001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:09:55] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 19:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183023229566976,"km_value":105183023229566.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8576261090488508416,"description":"Unknown IO ID 45"} 
[2026-07-11 19:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646928128001,"power":11471,"unknown_244":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8576261090488508416}} 
[2026-07-11 19:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":129654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:09:55] local.INFO: GPS data processed {"connection_id":129654,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:09:55] local.INFO: Acknowledgment sent {"connection_id":129654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:09:59] local.INFO: TCP Data received {"connection_id":128751,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:09:59] local.INFO: Processing buffer {"connection_id":128751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:09:59] local.INFO: IMEI packet received {"connection_id":128751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":128751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:10:00] local.INFO: TCP Data received {"connection_id":129654,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f51669468012d77050005d792600003009f28..."} 
[2026-07-11 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51669468012d77050005d792600003009f28..."} 
[2026-07-11 19:10:00] local.INFO: Processing buffer {"connection_id":129654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51669468012d77050005d792600003009f28..."} 
[2026-07-11 19:10:00] local.INFO: Packet analysis {"connection_id":129654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:10:00] local.INFO: Extracted packet for processing {"connection_id":129654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:10:00] local.INFO: GPS Element Parsed {"raw_longitude":762774784,"raw_latitude":98013792,"longitude_deg":76.2774784,"latitude_deg":9.8013792,"altitude":3,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d770500","hex_latitude":"05d79260","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646933504001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183023229566976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8576261090488508416,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783777105000,"timestamp_ms":1783777105000,"timestamp_seconds":1783777105,"priority":1,"record_length":96,"hex_timestamp":"0000019f51669468"} 
[2026-07-11 19:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":129654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":129654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":129654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646933504001,"66":11624,"244":206,"85":15104,"24":0,"16":105183023229566976,"45":8576261090488508416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-11 19:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646933504001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:10:00] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 19:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183023229566976,"km_value":105183023229566.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8576261090488508416,"description":"Unknown IO ID 45"} 
[2026-07-11 19:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646933504001,"power":11624,"unknown_244":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8576261090488508416}} 
[2026-07-11 19:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":129654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:10:00] local.INFO: GPS data processed {"connection_id":129654,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:10:00] local.INFO: Acknowledgment sent {"connection_id":129654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:10:03] local.INFO: TCP Data received {"connection_id":128752,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:10:03] local.INFO: Processing buffer {"connection_id":128752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:10:03] local.INFO: IMEI packet received {"connection_id":128752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":128752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:10:03] local.INFO: TCP Data received {"connection_id":128752,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:10:03] local.INFO: Processing buffer {"connection_id":128752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:10:03] local.INFO: IMEI packet received {"connection_id":128752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":128752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:10:05] local.INFO: TCP Data received {"connection_id":128751,"ip":"117.224.20.79","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128751,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 19:10:05] local.INFO: Processing buffer {"connection_id":128751,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 19:10:05] local.INFO: IMEI packet received {"connection_id":128751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":128751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:10:08] local.INFO: TCP Data received {"connection_id":128752,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:10:08] local.INFO: Processing buffer {"connection_id":128752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:10:08] local.INFO: IMEI packet received {"connection_id":128752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":128752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:10:09] local.INFO: TCP Data received {"connection_id":128752,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5166b3a8012cc33ac0075c6ff8000b009c2c..."} 
[2026-07-11 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5166b3a8012cc33ac0075c6ff8000b009c2c..."} 
[2026-07-11 19:10:09] local.INFO: Processing buffer {"connection_id":128752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5166b3a8012cc33ac0075c6ff8000b009c2c..."} 
[2026-07-11 19:10:09] local.INFO: Packet analysis {"connection_id":128752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:10:09] local.INFO: Extracted packet for processing {"connection_id":128752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:10:09] local.INFO: GPS Element Parsed {"raw_longitude":750992064,"raw_latitude":123498488,"longitude_deg":75.0992064,"latitude_deg":12.3498488,"altitude":11,"angle":156,"satellites":44,"speed":17,"hex_longitude":"2cc33ac0","hex_latitude":"075c6ff8","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646936576001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345365415557332992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4382917199487997952,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777113000,"timestamp_ms":1783777113000,"timestamp_seconds":1783777113,"priority":1,"record_length":96,"hex_timestamp":"0000019f5166b3a8"} 
[2026-07-11 19:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-11 19:10:09] 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-07-11 19: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-07-11 19:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:10: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-07-11 19:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646936576001,"66":27767,"176":206,"85":37120,"24":17,"16":345365415557332992,"44":-4382917199487997952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,85,24,16,44]} 
[2026-07-11 19:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646936576001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:10:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 19:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345365415557332992,"km_value":345365415557333.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4382917199487997952,"description":"Unknown IO ID 44"} 
[2026-07-11 19:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646936576001,"power":27767,"unknown_176":206,"unknown_85":37120,"ignition":17,"odometer":null,"unknown_44":-4382917199487997952}} 
[2026-07-11 19:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":128752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:10:09] local.INFO: GPS data processed {"connection_id":128752,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:10:09] local.INFO: Acknowledgment sent {"connection_id":128752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:10:10] local.INFO: TCP Data received {"connection_id":128751,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:10:10] local.INFO: Processing buffer {"connection_id":128751,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-11 19:10:10] local.INFO: IMEI packet received {"connection_id":128751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":128751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:10:19] local.INFO: TCP Data received {"connection_id":130898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:10:19] local.INFO: Processing buffer {"connection_id":130898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:10:19] local.INFO: IMEI packet received {"connection_id":130898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":130898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:10:34] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:10:34] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:10:34] local.INFO: IMEI packet received {"connection_id":128936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":128936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:10:40] local.INFO: TCP Data received {"connection_id":128752,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5166f228012cc347c0075c5630000e00912c..."} 
[2026-07-11 19:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5166f228012cc347c0075c5630000e00912c..."} 
[2026-07-11 19:10:40] local.INFO: Processing buffer {"connection_id":128752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5166f228012cc347c0075c5630000e00912c..."} 
[2026-07-11 19:10:40] local.INFO: Packet analysis {"connection_id":128752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:10:40] local.INFO: Extracted packet for processing {"connection_id":128752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:10:40] local.INFO: GPS Element Parsed {"raw_longitude":750995392,"raw_latitude":123491888,"longitude_deg":75.0995392,"latitude_deg":12.3491888,"altitude":14,"angle":145,"satellites":44,"speed":21,"hex_longitude":"2cc347c0","hex_latitude":"075c5630","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646940928001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345365772039618560,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378976549816240128,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777129000,"timestamp_ms":1783777129000,"timestamp_seconds":1783777129,"priority":1,"record_length":96,"hex_timestamp":"0000019f5166f228"} 
[2026-07-11 19:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646940928001,"66":27745,"255":206,"85":37120,"24":21,"16":345365772039618560,"44":-4378976549816240128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-11 19:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646940928001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:10:40] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 19:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345365772039618560,"km_value":345365772039618.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378976549816240128,"description":"Unknown IO ID 44"} 
[2026-07-11 19:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646940928001,"power":27745,"unknown_255":206,"unknown_85":37120,"ignition":21,"odometer":null,"unknown_44":-4378976549816240128}} 
[2026-07-11 19:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":128752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:10:40] local.INFO: GPS data processed {"connection_id":128752,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:10:40] local.INFO: Acknowledgment sent {"connection_id":128752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:10:44] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:10:44] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:10:44] local.INFO: IMEI packet received {"connection_id":128936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":128936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:10:45] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5166dab8012d77048005d79208000200b22c..."} 
[2026-07-11 19:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5166dab8012d77048005d79208000200b22c..."} 
[2026-07-11 19:10:45] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5166dab8012d77048005d79208000200b22c..."} 
[2026-07-11 19:10:45] local.INFO: Packet analysis {"connection_id":128936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:10:45] local.INFO: Extracted packet for processing {"connection_id":128936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:10:45] local.INFO: GPS Element Parsed {"raw_longitude":762774656,"raw_latitude":98013704,"longitude_deg":76.2774656,"latitude_deg":9.8013704,"altitude":2,"angle":178,"satellites":44,"speed":5,"hex_longitude":"2d770480","hex_latitude":"05d79208","is_valid_coordinates":true} 
[2026-07-11 19:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646938880001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183031819501568,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8576261090488508416,"note":"Value kept but may cause issues"} 
[2026-07-11 19:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783777123000,"timestamp_ms":1783777123000,"timestamp_seconds":1783777123,"priority":1,"record_length":96,"hex_timestamp":"0000019f5166dab8"} 
[2026-07-11 19:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-11 19:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646938880001,"66":11602,"188":206,"85":15104,"24":5,"16":105183031819501568,"45":8576261090488508416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 19:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646938880001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:10:45] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 19:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183031819501568,"km_value":105183031819501.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8576261090488508416,"description":"Unknown IO ID 45"} 
[2026-07-11 19:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646938880001,"power":11602,"unknown_188":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8576261090488508416}} 
[2026-07-11 19:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":128936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:10:45] local.INFO: GPS data processed {"connection_id":128936,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:10:45] local.INFO: Acknowledgment sent {"connection_id":128936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:10:50] local.INFO: TCP Data received {"connection_id":128753,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:10:50] local.INFO: Processing buffer {"connection_id":128753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:10:50] local.INFO: IMEI packet received {"connection_id":128753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":128753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:11:03] local.INFO: TCP Data received {"connection_id":128754,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:11:03] local.INFO: Processing buffer {"connection_id":128754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:11:03] local.INFO: IMEI packet received {"connection_id":128754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":128754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:11:08] local.INFO: TCP Data received {"connection_id":128754,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:11:08] local.INFO: Processing buffer {"connection_id":128754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:11:08] local.INFO: IMEI packet received {"connection_id":128754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":128754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:11:09] local.INFO: TCP Data received {"connection_id":128754,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51673490012cc35e80075c3b30001300892c..."} 
[2026-07-11 19:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51673490012cc35e80075c3b30001300892c..."} 
[2026-07-11 19:11:09] local.INFO: Processing buffer {"connection_id":128754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51673490012cc35e80075c3b30001300892c..."} 
[2026-07-11 19:11:09] local.INFO: Packet analysis {"connection_id":128754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:11:09] local.INFO: Extracted packet for processing {"connection_id":128754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:11:09] local.INFO: GPS Element Parsed {"raw_longitude":751001216,"raw_latitude":123484976,"longitude_deg":75.1001216,"latitude_deg":12.3484976,"altitude":19,"angle":137,"satellites":44,"speed":20,"hex_longitude":"2cc35e80","hex_latitude":"075c3b30","is_valid_coordinates":true} 
[2026-07-11 19:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646945024001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345366205831315456,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317375120691200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777146000,"timestamp_ms":1783777146000,"timestamp_seconds":1783777146,"priority":1,"record_length":96,"hex_timestamp":"0000019f51673490"} 
[2026-07-11 19:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 19:11:09] 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-07-11 19:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646945024001,"66":27767,"255":206,"85":37120,"24":20,"16":345366205831315456,"44":-4375317375120691200},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-11 19:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646945024001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:11:09] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 19:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345366205831315456,"km_value":345366205831315.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317375120691200,"description":"Unknown IO ID 44"} 
[2026-07-11 19:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646945024001,"power":27767,"unknown_255":206,"unknown_85":37120,"ignition":20,"odometer":null,"unknown_44":-4375317375120691200}} 
[2026-07-11 19:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":128754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:11:09] local.INFO: GPS data processed {"connection_id":128754,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:11:09] local.INFO: Acknowledgment sent {"connection_id":128754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:11:16] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5166e288012d7704c005d79040000200a42c..."} 
[2026-07-11 19:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5166e288012d7704c005d79040000200a42c..."} 
[2026-07-11 19:11:16] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5166e288012d7704c005d79040000200a42c..."} 
[2026-07-11 19:11:16] local.INFO: Packet analysis {"connection_id":128936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:11:16] local.INFO: Extracted packet for processing {"connection_id":128936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5166"} 
[2026-07-11 19:11:16] local.INFO: GPS Element Parsed {"raw_longitude":762774720,"raw_latitude":98013248,"longitude_deg":76.277472,"latitude_deg":9.8013248,"altitude":2,"angle":164,"satellites":44,"speed":10,"hex_longitude":"2d7704c0","hex_latitude":"05d79040","is_valid_coordinates":true} 
[2026-07-11 19:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646943488001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183053294338048,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8576120353000130560,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783777125000,"timestamp_ms":1783777125000,"timestamp_seconds":1783777125,"priority":1,"record_length":96,"hex_timestamp":"0000019f5166e288"} 
[2026-07-11 19:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-11 19:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646943488001,"66":10873,"188":206,"85":15104,"24":10,"16":105183053294338048,"45":8576120353000130560},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-11 19:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646943488001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:11:16] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-11 19:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183053294338048,"km_value":105183053294338.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8576120353000130560,"description":"Unknown IO ID 45"} 
[2026-07-11 19:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646943488001,"power":10873,"unknown_188":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8576120353000130560}} 
[2026-07-11 19:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":128936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:11:16] local.INFO: GPS data processed {"connection_id":128936,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:11:16] local.INFO: Acknowledgment sent {"connection_id":128936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:11:34] local.INFO: TCP Data received {"connection_id":128937,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:11:34] local.INFO: Processing buffer {"connection_id":128937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:11:34] local.INFO: IMEI packet received {"connection_id":128937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":128937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:11:39] local.INFO: TCP Data received {"connection_id":128937,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:11:39] local.INFO: Processing buffer {"connection_id":128937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:11:39] local.INFO: IMEI packet received {"connection_id":128937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":128937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:11:39] local.INFO: TCP Data received {"connection_id":128937,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516730a8012d77098005d780000004009c2d..."} 
[2026-07-11 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516730a8012d77098005d780000004009c2d..."} 
[2026-07-11 19:11:39] local.INFO: Processing buffer {"connection_id":128937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516730a8012d77098005d780000004009c2d..."} 
[2026-07-11 19:11:39] local.INFO: Packet analysis {"connection_id":128937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:11:39] local.INFO: Extracted packet for processing {"connection_id":128937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":762775936,"raw_latitude":98009088,"longitude_deg":76.2775936,"latitude_deg":9.8009088,"altitude":4,"angle":156,"satellites":45,"speed":4,"hex_longitude":"2d770980","hex_latitude":"05d78000","is_valid_coordinates":true} 
[2026-07-11 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646944000001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183268042702848,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8576190721744191488,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783777145000,"timestamp_ms":1783777145000,"timestamp_seconds":1783777145,"priority":1,"record_length":96,"hex_timestamp":"0000019f516730a8"} 
[2026-07-11 19:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:11: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-07-11 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-11 19:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1497,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646944000001,"66":11743,"244":206,"85":15104,"24":4,"16":105183268042702848,"45":8576190721744191488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-11 19:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646944000001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:11:39] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 19:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183268042702848,"km_value":105183268042702.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8576190721744191488,"description":"Unknown IO ID 45"} 
[2026-07-11 19:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646944000001,"power":11743,"unknown_244":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8576190721744191488}} 
[2026-07-11 19:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":128937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:11:40] local.INFO: GPS data processed {"connection_id":128937,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:11:40] local.INFO: Acknowledgment sent {"connection_id":128937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:11:40] local.INFO: TCP Data received {"connection_id":128754,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51677ae0012cc37600075c21180017008a2d..."} 
[2026-07-11 19:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51677ae0012cc37600075c21180017008a2d..."} 
[2026-07-11 19:11:40] local.INFO: Processing buffer {"connection_id":128754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51677ae0012cc37600075c21180017008a2d..."} 
[2026-07-11 19:11:40] local.INFO: Packet analysis {"connection_id":128754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:11:40] local.INFO: Extracted packet for processing {"connection_id":128754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:11:40] local.INFO: GPS Element Parsed {"raw_longitude":751007232,"raw_latitude":123478296,"longitude_deg":75.1007232,"latitude_deg":12.3478296,"altitude":23,"angle":138,"satellites":45,"speed":20,"hex_longitude":"2cc37600","hex_latitude":"075c2118","is_valid_coordinates":true} 
[2026-07-11 19:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646949376001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345366639623012352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4368913819402293248,"note":"Value kept but may cause issues"} 
[2026-07-11 19:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777164000,"timestamp_ms":1783777164000,"timestamp_seconds":1783777164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51677ae0"} 
[2026-07-11 19:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646949376001,"66":27767,"255":206,"85":37120,"24":20,"16":345366639623012352,"44":-4368913819402293248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-11 19:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646949376001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:11:40] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 19:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345366639623012352,"km_value":345366639623012.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4368913819402293248,"description":"Unknown IO ID 44"} 
[2026-07-11 19:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646949376001,"power":27767,"unknown_255":206,"unknown_85":37120,"ignition":20,"odometer":null,"unknown_44":-4368913819402293248}} 
[2026-07-11 19:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":128754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:11:40] local.INFO: GPS data processed {"connection_id":128754,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:11:40] local.INFO: Acknowledgment sent {"connection_id":128754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:12:03] local.INFO: TCP Data received {"connection_id":130899,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:12:03] local.INFO: Processing buffer {"connection_id":130899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:12:03] local.INFO: IMEI packet received {"connection_id":130899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":130899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:12:08] local.INFO: TCP Data received {"connection_id":130899,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:12:08] local.INFO: Processing buffer {"connection_id":130899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:12:08] local.INFO: IMEI packet received {"connection_id":130899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":130899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:12:09] local.INFO: TCP Data received {"connection_id":130899,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5167c130012cc38d40075c0638001a008c2d..."} 
[2026-07-11 19:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5167c130012cc38d40075c0638001a008c2d..."} 
[2026-07-11 19:12:09] local.INFO: Processing buffer {"connection_id":130899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5167c130012cc38d40075c0638001a008c2d..."} 
[2026-07-11 19:12:09] local.INFO: Packet analysis {"connection_id":130899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:12:09] local.INFO: Extracted packet for processing {"connection_id":130899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":751013184,"raw_latitude":123471416,"longitude_deg":75.1013184,"latitude_deg":12.3471416,"altitude":26,"angle":140,"satellites":45,"speed":18,"hex_longitude":"2cc38d40","hex_latitude":"075c0638","is_valid_coordinates":true} 
[2026-07-11 19:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646953984001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345367077709676544,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4362299157451302912,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777182000,"timestamp_ms":1783777182000,"timestamp_seconds":1783777182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5167c130"} 
[2026-07-11 19:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:12:09] 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-07-11 19:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646953984001,"66":27821,"35":206,"85":37120,"24":18,"16":345367077709676544,"44":-4362299157451302912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-11 19:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646953984001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:12:09] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 19:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345367077709676544,"km_value":345367077709676.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4362299157451302912,"description":"Unknown IO ID 44"} 
[2026-07-11 19:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646953984001,"power":27821,"unknown_35":206,"unknown_85":37120,"ignition":18,"odometer":null,"unknown_44":-4362299157451302912}} 
[2026-07-11 19:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":130899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:12:09] local.INFO: GPS data processed {"connection_id":130899,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:12:09] local.INFO: Acknowledgment sent {"connection_id":130899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:12:10] local.INFO: TCP Data received {"connection_id":128937,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516782b0012d770a4005d77e580005009c2c..."} 
[2026-07-11 19:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516782b0012d770a4005d77e580005009c2c..."} 
[2026-07-11 19:12:10] local.INFO: Processing buffer {"connection_id":128937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516782b0012d770a4005d77e580005009c2c..."} 
[2026-07-11 19:12:10] local.INFO: Packet analysis {"connection_id":128937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:12:10] local.INFO: Extracted packet for processing {"connection_id":128937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:12:10] local.INFO: GPS Element Parsed {"raw_longitude":762776128,"raw_latitude":98008664,"longitude_deg":76.2776128,"latitude_deg":9.8008664,"altitude":5,"angle":156,"satellites":44,"speed":0,"hex_longitude":"2d770a40","hex_latitude":"05d77e58","is_valid_coordinates":true} 
[2026-07-11 19:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646949120001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577527727882502144,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783777166000,"timestamp_ms":1783777166000,"timestamp_seconds":1783777166,"priority":1,"record_length":96,"hex_timestamp":"0000019f516782b0"} 
[2026-07-11 19:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-11 19:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646949120001,"66":13048,"244":206,"85":15104,"24":0,"16":105183289517539328,"45":8577527727882502144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-11 19:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646949120001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:12:10] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-11 19:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577527727882502144,"description":"Unknown IO ID 45"} 
[2026-07-11 19:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646949120001,"power":13048,"unknown_244":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577527727882502144}} 
[2026-07-11 19:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":128937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:12:10] local.INFO: GPS data processed {"connection_id":128937,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:12:10] local.INFO: Acknowledgment sent {"connection_id":128937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:12:34] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:12:34] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:12:34] local.INFO: IMEI packet received {"connection_id":130900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":130900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:12:40] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:12:40] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:12:40] local.INFO: IMEI packet received {"connection_id":130900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":130900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:12:40] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5167cce8012d770a4005d77e580005009c2a..."} 
[2026-07-11 19:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5167cce8012d770a4005d77e580005009c2a..."} 
[2026-07-11 19:12:40] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5167cce8012d770a4005d77e580005009c2a..."} 
[2026-07-11 19:12:40] local.INFO: Packet analysis {"connection_id":130900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:12:40] local.INFO: Extracted packet for processing {"connection_id":130900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":762776128,"raw_latitude":98008664,"longitude_deg":76.2776128,"latitude_deg":9.8008664,"altitude":5,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d770a40","hex_latitude":"05d77e58","is_valid_coordinates":true} 
[2026-07-11 19:12: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-07-11 19:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646954496001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577738834114926592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777185000,"timestamp_ms":1783777185000,"timestamp_seconds":1783777185,"priority":1,"record_length":96,"hex_timestamp":"0000019f5167cce8"} 
[2026-07-11 19:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:12:40] 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-07-11 19:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-11 19:12:40] 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-07-11 19:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646954496001,"66":13037,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577738834114926592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646954496001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:12:40] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577738834114926592,"description":"Unknown IO ID 45"} 
[2026-07-11 19:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646954496001,"power":13037,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577738834114926592}} 
[2026-07-11 19:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":130900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:12:40] local.INFO: GPS data processed {"connection_id":130900,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:12:40] local.INFO: Acknowledgment sent {"connection_id":130900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:12:40] local.INFO: TCP Data received {"connection_id":130899,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5167cce8012cc390c0075c0208001a008c2d..."} 
[2026-07-11 19:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5167cce8012cc390c0075c0208001a008c2d..."} 
[2026-07-11 19:12:40] local.INFO: Processing buffer {"connection_id":130899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5167cce8012cc390c0075c0208001a008c2d..."} 
[2026-07-11 19:12:40] local.INFO: Packet analysis {"connection_id":130899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:12:40] local.INFO: Extracted packet for processing {"connection_id":130899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":751014080,"raw_latitude":123470344,"longitude_deg":75.101408,"latitude_deg":12.3470344,"altitude":26,"angle":140,"satellites":45,"speed":18,"hex_longitude":"2cc390c0","hex_latitude":"075c0208","is_valid_coordinates":true} 
[2026-07-11 19:12: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-07-11 19:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646958592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345367146429153280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4355754864244541440,"note":"Value kept but may cause issues"} 
[2026-07-11 19:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777185000,"timestamp_ms":1783777185000,"timestamp_seconds":1783777185,"priority":1,"record_length":96,"hex_timestamp":"0000019f5167cce8"} 
[2026-07-11 19:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 19:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646958592001,"66":27767,"35":206,"85":37120,"24":18,"16":345367146429153280,"44":-4355754864244541440},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-11 19:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646958592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:12:40] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 19:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345367146429153280,"km_value":345367146429153.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4355754864244541440,"description":"Unknown IO ID 44"} 
[2026-07-11 19:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646958592001,"power":27767,"unknown_35":206,"unknown_85":37120,"ignition":18,"odometer":null,"unknown_44":-4355754864244541440}} 
[2026-07-11 19:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":130899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:12:40] local.INFO: GPS data processed {"connection_id":130899,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:12:40] local.INFO: Acknowledgment sent {"connection_id":130899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:13:03] local.INFO: TCP Data received {"connection_id":128756,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:13:03] local.INFO: Processing buffer {"connection_id":128756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:13:03] local.INFO: IMEI packet received {"connection_id":128756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":128756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:13:08] local.INFO: TCP Data received {"connection_id":128756,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:13:08] local.INFO: Processing buffer {"connection_id":128756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:13:08] local.INFO: IMEI packet received {"connection_id":128756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":128756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:13:09] local.INFO: TCP Data received {"connection_id":128756,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5167cce8012cc390c0075c0208001a008c2d..."} 
[2026-07-11 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5167cce8012cc390c0075c0208001a008c2d..."} 
[2026-07-11 19:13:09] local.INFO: Processing buffer {"connection_id":128756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5167cce8012cc390c0075c0208001a008c2d..."} 
[2026-07-11 19:13:09] local.INFO: Packet analysis {"connection_id":128756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:13:09] local.INFO: Extracted packet for processing {"connection_id":128756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":751014080,"raw_latitude":123470344,"longitude_deg":75.101408,"latitude_deg":12.3470344,"altitude":26,"angle":140,"satellites":45,"speed":18,"hex_longitude":"2cc390c0","hex_latitude":"075c0208","is_valid_coordinates":true} 
[2026-07-11 19:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646958592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345367146429153280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4355754864244541440,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777185000,"timestamp_ms":1783777185000,"timestamp_seconds":1783777185,"priority":1,"record_length":96,"hex_timestamp":"0000019f5167cce8"} 
[2026-07-11 19:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 19:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646958592001,"66":27767,"35":206,"85":37120,"24":18,"16":345367146429153280,"44":-4355754864244541440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-11 19:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646958592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:13:09] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 19:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345367146429153280,"km_value":345367146429153.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4355754864244541440,"description":"Unknown IO ID 44"} 
[2026-07-11 19:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646958592001,"power":27767,"unknown_35":206,"unknown_85":37120,"ignition":18,"odometer":null,"unknown_44":-4355754864244541440}} 
[2026-07-11 19:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":128756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:13:09] local.INFO: GPS data processed {"connection_id":128756,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:13:09] local.INFO: Acknowledgment sent {"connection_id":128756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:13:11] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5167cce8012d770a4005d77e580005009c2a..."} 
[2026-07-11 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5167cce8012d770a4005d77e580005009c2a..."} 
[2026-07-11 19:13:11] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5167cce8012d770a4005d77e580005009c2a..."} 
[2026-07-11 19:13:11] local.INFO: Packet analysis {"connection_id":130900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:13:11] local.INFO: Extracted packet for processing {"connection_id":130900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":762776128,"raw_latitude":98008664,"longitude_deg":76.2776128,"latitude_deg":9.8008664,"altitude":5,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d770a40","hex_latitude":"05d77e58","is_valid_coordinates":true} 
[2026-07-11 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646959360001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577738834114926592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783777185000,"timestamp_ms":1783777185000,"timestamp_seconds":1783777185,"priority":1,"record_length":96,"hex_timestamp":"0000019f5167cce8"} 
[2026-07-11 19:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:13: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-07-11 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-11 19:13:11] 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-07-11 19:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646959360001,"66":13037,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577738834114926592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646959360001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:13:11] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577738834114926592,"description":"Unknown IO ID 45"} 
[2026-07-11 19:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646959360001,"power":13037,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577738834114926592}} 
[2026-07-11 19:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":130900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:13:11] local.INFO: GPS data processed {"connection_id":130900,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:13:11] local.INFO: Acknowledgment sent {"connection_id":130900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:13:34] local.INFO: TCP Data received {"connection_id":128757,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:13:34] local.INFO: Processing buffer {"connection_id":128757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:13:34] local.INFO: IMEI packet received {"connection_id":128757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":128757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:13:39] local.INFO: TCP Data received {"connection_id":128757,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:13:39] local.INFO: Processing buffer {"connection_id":128757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:13:39] local.INFO: IMEI packet received {"connection_id":128757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":128757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:13:40] local.INFO: TCP Data received {"connection_id":128756,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516a7498012cc3a800075be5a0001e008a2d..."} 
[2026-07-11 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516a7498012cc3a800075be5a0001e008a2d..."} 
[2026-07-11 19:13:40] local.INFO: Processing buffer {"connection_id":128756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516a7498012cc3a800075be5a0001e008a2d..."} 
[2026-07-11 19:13:40] local.INFO: Packet analysis {"connection_id":128756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516a"} 
[2026-07-11 19:13:40] local.INFO: Extracted packet for processing {"connection_id":128756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516a"} 
[2026-07-11 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":751020032,"raw_latitude":123463072,"longitude_deg":75.1020032,"latitude_deg":12.3463072,"altitude":30,"angle":138,"satellites":45,"speed":0,"hex_longitude":"2cc3a800","hex_latitude":"075be5a0","is_valid_coordinates":true} 
[2026-07-11 19:13: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-07-11 19:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646959360001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345367146429153280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4354769701826328576,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777359000,"timestamp_ms":1783777359000,"timestamp_seconds":1783777359,"priority":1,"record_length":96,"hex_timestamp":"0000019f516a7498"} 
[2026-07-11 19:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:13: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-07-11 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646959360001,"66":25941,"35":206,"85":37120,"24":0,"16":345367146429153280,"44":-4354769701826328576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-11 19:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646959360001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:13:40] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 19:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345367146429153280,"km_value":345367146429153.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4354769701826328576,"description":"Unknown IO ID 44"} 
[2026-07-11 19:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646959360001,"power":25941,"unknown_35":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4354769701826328576}} 
[2026-07-11 19:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":128756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:13:40] local.INFO: GPS data processed {"connection_id":128756,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:13:40] local.INFO: Acknowledgment sent {"connection_id":128756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:13:41] local.INFO: TCP Data received {"connection_id":128757,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5167d4b8012d770a4005d77e580005009c2a..."} 
[2026-07-11 19:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5167d4b8012d770a4005d77e580005009c2a..."} 
[2026-07-11 19:13:41] local.INFO: Processing buffer {"connection_id":128757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5167d4b8012d770a4005d77e580005009c2a..."} 
[2026-07-11 19:13:41] local.INFO: Packet analysis {"connection_id":128757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:13:41] local.INFO: Extracted packet for processing {"connection_id":128757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5167"} 
[2026-07-11 19:13:41] local.INFO: GPS Element Parsed {"raw_longitude":762776128,"raw_latitude":98008664,"longitude_deg":76.2776128,"latitude_deg":9.8008664,"altitude":5,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d770a40","hex_latitude":"05d77e58","is_valid_coordinates":true} 
[2026-07-11 19:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646959360001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577738834114926592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783777187000,"timestamp_ms":1783777187000,"timestamp_seconds":1783777187,"priority":1,"record_length":96,"hex_timestamp":"0000019f5167d4b8"} 
[2026-07-11 19:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-11 19:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646959360001,"66":12765,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577738834114926592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646959360001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:13:41] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577738834114926592,"description":"Unknown IO ID 45"} 
[2026-07-11 19:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646959360001,"power":12765,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577738834114926592}} 
[2026-07-11 19:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":128757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:13:41] local.INFO: GPS data processed {"connection_id":128757,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:13:41] local.INFO: Acknowledgment sent {"connection_id":128757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:14:04] local.INFO: TCP Data received {"connection_id":129657,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:14:04] local.INFO: Processing buffer {"connection_id":129657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:14:04] local.INFO: IMEI packet received {"connection_id":129657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":129657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:14:08] local.INFO: TCP Data received {"connection_id":129657,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:14:08] local.INFO: Processing buffer {"connection_id":129657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:14:08] local.INFO: IMEI packet received {"connection_id":129657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":129657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:14:09] local.INFO: TCP Data received {"connection_id":129657,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516aca88012cc3acc0075be198001e00932e..."} 
[2026-07-11 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516aca88012cc3acc0075be198001e00932e..."} 
[2026-07-11 19:14:09] local.INFO: Processing buffer {"connection_id":129657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516aca88012cc3acc0075be198001e00932e..."} 
[2026-07-11 19:14:09] local.INFO: Packet analysis {"connection_id":129657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516a"} 
[2026-07-11 19:14:09] local.INFO: Extracted packet for processing {"connection_id":129657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516a"} 
[2026-07-11 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":751021248,"raw_latitude":123462040,"longitude_deg":75.1021248,"latitude_deg":12.346204,"altitude":30,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2cc3acc0","hex_latitude":"075be198","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647003904001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345367146429153280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4348225408619667456,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777381000,"timestamp_ms":1783777381000,"timestamp_seconds":1783777381,"priority":1,"record_length":96,"hex_timestamp":"0000019f516aca88"} 
[2026-07-11 19:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-11 19:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647003904001,"66":27658,"35":206,"85":37120,"24":0,"16":345367146429153280,"44":-4348225408619667456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-11 19:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647003904001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:14:09] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 19:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345367146429153280,"km_value":345367146429153.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4348225408619667456,"description":"Unknown IO ID 44"} 
[2026-07-11 19:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647003904001,"power":27658,"unknown_35":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4348225408619667456}} 
[2026-07-11 19:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":129657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:14:09] local.INFO: GPS data processed {"connection_id":129657,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:14:09] local.INFO: Acknowledgment sent {"connection_id":129657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:14:12] local.INFO: TCP Data received {"connection_id":128757,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5169ad60012d770a8005d77e680005009c2a..."} 
[2026-07-11 19:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5169ad60012d770a8005d77e680005009c2a..."} 
[2026-07-11 19:14:12] local.INFO: Processing buffer {"connection_id":128757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5169ad60012d770a8005d77e680005009c2a..."} 
[2026-07-11 19:14:12] local.INFO: Packet analysis {"connection_id":128757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5169"} 
[2026-07-11 19:14:12] local.INFO: Extracted packet for processing {"connection_id":128757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5169"} 
[2026-07-11 19:14:12] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646959872001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577738834114926592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783777308000,"timestamp_ms":1783777308000,"timestamp_seconds":1783777308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5169ad60"} 
[2026-07-11 19:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 19:14:12] 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-07-11 19:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646959872001,"66":8145,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577738834114926592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646959872001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:14:12] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577738834114926592,"description":"Unknown IO ID 45"} 
[2026-07-11 19:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646959872001,"power":8145,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577738834114926592}} 
[2026-07-11 19:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":128757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:14:12] local.INFO: GPS data processed {"connection_id":128757,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:14:12] local.INFO: Acknowledgment sent {"connection_id":128757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:14:34] local.INFO: TCP Data received {"connection_id":128940,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:14:34] local.INFO: Processing buffer {"connection_id":128940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:14:34] local.INFO: IMEI packet received {"connection_id":128940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":128940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:14:39] local.INFO: TCP Data received {"connection_id":128940,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:14:39] local.INFO: Processing buffer {"connection_id":128940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:14:39] local.INFO: IMEI packet received {"connection_id":128940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":128940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:14:40] local.INFO: TCP Data received {"connection_id":128940,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5169ad60012d770a8005d77e680005009c2a..."} 
[2026-07-11 19:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5169ad60012d770a8005d77e680005009c2a..."} 
[2026-07-11 19:14:40] local.INFO: Processing buffer {"connection_id":128940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5169ad60012d770a8005d77e680005009c2a..."} 
[2026-07-11 19:14:40] local.INFO: Packet analysis {"connection_id":128940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5169"} 
[2026-07-11 19:14:40] local.INFO: Extracted packet for processing {"connection_id":128940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5169"} 
[2026-07-11 19:14:40] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777308000,"timestamp_ms":1783777308000,"timestamp_seconds":1783777308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5169ad60"} 
[2026-07-11 19:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:14:40] 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-07-11 19:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":8145,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:14:40] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":8145,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":128940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:14:40] local.INFO: GPS data processed {"connection_id":128940,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:14:40] local.INFO: Acknowledgment sent {"connection_id":128940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:14:40] local.INFO: TCP Data received {"connection_id":129657,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516b1c90012cc3acc0075be198001e00932d..."} 
[2026-07-11 19:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516b1c90012cc3acc0075be198001e00932d..."} 
[2026-07-11 19:14:40] local.INFO: Processing buffer {"connection_id":129657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516b1c90012cc3acc0075be198001e00932d..."} 
[2026-07-11 19:14:40] local.INFO: Packet analysis {"connection_id":129657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516b"} 
[2026-07-11 19:14:40] local.INFO: Extracted packet for processing {"connection_id":129657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516b"} 
[2026-07-11 19:14:40] local.INFO: GPS Element Parsed {"raw_longitude":751021248,"raw_latitude":123462040,"longitude_deg":75.1021248,"latitude_deg":12.346204,"altitude":30,"angle":147,"satellites":45,"speed":0,"hex_longitude":"2cc3acc0","hex_latitude":"075be198","is_valid_coordinates":true} 
[2026-07-11 19:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647009536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345367146429153280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4346888402480556032,"note":"Value kept but may cause issues"} 
[2026-07-11 19:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777402000,"timestamp_ms":1783777402000,"timestamp_seconds":1783777402,"priority":1,"record_length":96,"hex_timestamp":"0000019f516b1c90"} 
[2026-07-11 19:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 19:14:40] 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-07-11 19:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647009536001,"66":27767,"35":206,"85":37120,"24":0,"16":345367146429153280,"44":-4346888402480556032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-11 19:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647009536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:14:40] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 19:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345367146429153280,"km_value":345367146429153.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4346888402480556032,"description":"Unknown IO ID 44"} 
[2026-07-11 19:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647009536001,"power":27767,"unknown_35":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4346888402480556032}} 
[2026-07-11 19:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":129657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:14:40] local.INFO: GPS data processed {"connection_id":129657,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:14:40] local.INFO: Acknowledgment sent {"connection_id":129657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:15:03] local.INFO: TCP Data received {"connection_id":129660,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:15:03] local.INFO: Processing buffer {"connection_id":129660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:15:03] local.INFO: IMEI packet received {"connection_id":129660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":129660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:15:04] local.INFO: TCP Data received {"connection_id":129659,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:15:04] local.INFO: Processing buffer {"connection_id":129659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:15:04] local.INFO: IMEI packet received {"connection_id":129659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:15:04] local.INFO: TCP Data received {"connection_id":129660,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:15:04] local.INFO: Processing buffer {"connection_id":129660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:15:04] local.INFO: IMEI packet received {"connection_id":129660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:15:07] local.INFO: TCP Data received {"connection_id":129660,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:15:07] local.INFO: Processing buffer {"connection_id":129660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:15:07] local.INFO: IMEI packet received {"connection_id":129660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":129660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:15:08] local.INFO: TCP Data received {"connection_id":129660,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516b4788012cc3ad80075bdf60001d009e2e..."} 
[2026-07-11 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516b4788012cc3ad80075bdf60001d009e2e..."} 
[2026-07-11 19:15:08] local.INFO: Processing buffer {"connection_id":129660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516b4788012cc3ad80075bdf60001d009e2e..."} 
[2026-07-11 19:15:08] local.INFO: Packet analysis {"connection_id":129660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516b"} 
[2026-07-11 19:15:08] local.INFO: Extracted packet for processing {"connection_id":129660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516b"} 
[2026-07-11 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":751021440,"raw_latitude":123461472,"longitude_deg":75.102144,"latitude_deg":12.3461472,"altitude":29,"angle":158,"satellites":46,"speed":8,"hex_longitude":"2cc3ad80","hex_latitude":"075bdf60","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647014912001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345367172198957056,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4346888402480556032,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783777413000,"timestamp_ms":1783777413000,"timestamp_seconds":1783777413,"priority":1,"record_length":96,"hex_timestamp":"0000019f516b4788"} 
[2026-07-11 19:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647014912001,"66":27767,"35":206,"85":37120,"24":8,"16":345367172198957056,"44":-4346888402480556032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-11 19:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647014912001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:15:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 19:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345367172198957056,"km_value":345367172198957.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:15:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4346888402480556032,"description":"Unknown IO ID 44"} 
[2026-07-11 19:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647014912001,"power":27767,"unknown_35":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4346888402480556032}} 
[2026-07-11 19:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":129660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:15:08] local.INFO: GPS data processed {"connection_id":129660,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:15:08] local.INFO: Acknowledgment sent {"connection_id":129660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:15:09] local.INFO: TCP Data received {"connection_id":129659,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:15:09] local.INFO: Processing buffer {"connection_id":129659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:15:09] local.INFO: IMEI packet received {"connection_id":129659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":129659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:15:10] local.INFO: TCP Data received {"connection_id":129659,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51686928012d199640071ff1b80034011e29..."} 
[2026-07-11 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51686928012d199640071ff1b80034011e29..."} 
[2026-07-11 19:15:10] local.INFO: Processing buffer {"connection_id":129659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51686928012d199640071ff1b80034011e29..."} 
[2026-07-11 19:15:10] local.INFO: Packet analysis {"connection_id":129659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:15:10] local.INFO: Extracted packet for processing {"connection_id":129659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756651584,"raw_latitude":119534008,"longitude_deg":75.6651584,"latitude_deg":11.9534008,"altitude":52,"angle":286,"satellites":41,"speed":14,"hex_longitude":"2d199640","hex_latitude":"071ff1b8","is_valid_coordinates":true} 
[2026-07-11 19:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646968064001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816150222962688,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846124034101626880,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783777225000,"timestamp_ms":1783777225000,"timestamp_seconds":1783777225,"priority":1,"record_length":96,"hex_timestamp":"0000019f51686928"} 
[2026-07-11 19:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-11 19:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646968064001,"66":14157,"121":206,"28":31744,"24":14,"16":5816150222962688,"45":1846124034101626880},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646968064001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:15:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:15:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816150222962688,"km_value":5816150222962.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846124034101626880,"description":"Unknown IO ID 45"} 
[2026-07-11 19:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646968064001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1846124034101626880}} 
[2026-07-11 19:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":129659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:15:10] local.INFO: GPS data processed {"connection_id":129659,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:15:10] local.INFO: Acknowledgment sent {"connection_id":129659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:15:12] local.INFO: TCP Data received {"connection_id":128940,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:15:12] local.INFO: Processing buffer {"connection_id":128940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:15:12] local.INFO: Packet analysis {"connection_id":128940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:15:12] local.INFO: Extracted packet for processing {"connection_id":128940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:15:12] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:15:12] 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-07-11 19:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:15:12] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":128940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:15:12] local.INFO: GPS data processed {"connection_id":128940,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:15:12] local.INFO: Acknowledgment sent {"connection_id":128940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:15:15] local.INFO: TCP Data received {"connection_id":129659,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f516870f8012d1993c0071ff230003401132a..."} 
[2026-07-11 19:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516870f8012d1993c0071ff230003401132a..."} 
[2026-07-11 19:15:15] local.INFO: Processing buffer {"connection_id":129659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516870f8012d1993c0071ff230003401132a..."} 
[2026-07-11 19:15:15] local.INFO: Packet analysis {"connection_id":129659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:15:15] local.INFO: Extracted packet for processing {"connection_id":129659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756650944,"raw_latitude":119534128,"longitude_deg":75.6650944,"latitude_deg":11.9534128,"altitude":52,"angle":275,"satellites":42,"speed":13,"hex_longitude":"2d1993c0","hex_latitude":"071ff230","is_valid_coordinates":true} 
[2026-07-11 19:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646969600001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816184582701056,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843731496799680512,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783777227000,"timestamp_ms":1783777227000,"timestamp_seconds":1783777227,"priority":1,"record_length":96,"hex_timestamp":"0000019f516870f8"} 
[2026-07-11 19:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:15:15] 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-07-11 19:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 19:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646969600001,"66":14135,"121":206,"28":31744,"24":13,"16":5816184582701056,"45":1843731496799680512},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646969600001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:15:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816184582701056,"km_value":5816184582701.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843731496799680512,"description":"Unknown IO ID 45"} 
[2026-07-11 19:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646969600001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1843731496799680512}} 
[2026-07-11 19:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":129659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:15:15] local.INFO: GPS data processed {"connection_id":129659,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:15:15] local.INFO: Acknowledgment sent {"connection_id":129659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:15:34] local.INFO: TCP Data received {"connection_id":128758,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:15:34] local.INFO: Processing buffer {"connection_id":128758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:15:34] local.INFO: IMEI packet received {"connection_id":128758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":128758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:15:39] local.INFO: TCP Data received {"connection_id":129660,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516b89f0012cc3b480075bc900001d00ac2e..."} 
[2026-07-11 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516b89f0012cc3b480075bc900001d00ac2e..."} 
[2026-07-11 19:15:39] local.INFO: Processing buffer {"connection_id":129660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516b89f0012cc3b480075bc900001d00ac2e..."} 
[2026-07-11 19:15:39] local.INFO: Packet analysis {"connection_id":129660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516b"} 
[2026-07-11 19:15:39] local.INFO: Extracted packet for processing {"connection_id":129660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516b"} 
[2026-07-11 19:15:39] local.INFO: GPS Element Parsed {"raw_longitude":751023232,"raw_latitude":123455744,"longitude_deg":75.1023232,"latitude_deg":12.3455744,"altitude":29,"angle":172,"satellites":46,"speed":17,"hex_longitude":"2cc3b480","hex_latitude":"075bc900","is_valid_coordinates":true} 
[2026-07-11 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647017728001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345367468551700480,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4346677296248168448,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783777430000,"timestamp_ms":1783777430000,"timestamp_seconds":1783777430,"priority":1,"record_length":96,"hex_timestamp":"0000019f516b89f0"} 
[2026-07-11 19:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:15:39] 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-07-11 19:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647017728001,"66":27343,"35":206,"85":37120,"24":17,"16":345367468551700480,"44":-4346677296248168448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-11 19:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647017728001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:15:39] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 19:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345367468551700480,"km_value":345367468551700.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:15:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4346677296248168448,"description":"Unknown IO ID 44"} 
[2026-07-11 19:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647017728001,"power":27343,"unknown_35":206,"unknown_85":37120,"ignition":17,"odometer":null,"unknown_44":-4346677296248168448}} 
[2026-07-11 19:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":129660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:15:39] local.INFO: GPS data processed {"connection_id":129660,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:15:39] local.INFO: Acknowledgment sent {"connection_id":129660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:15:39] local.INFO: TCP Data received {"connection_id":128758,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:15:39] local.INFO: Processing buffer {"connection_id":128758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:15:39] local.INFO: IMEI packet received {"connection_id":128758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":128758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:15:43] local.INFO: TCP Data received {"connection_id":128758,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:15:43] local.INFO: Processing buffer {"connection_id":128758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:15:43] local.INFO: Packet analysis {"connection_id":128758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:15:43] local.INFO: Extracted packet for processing {"connection_id":128758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:15:43] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":128758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":128758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":128758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:15:43] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":128758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:15:43] local.INFO: GPS data processed {"connection_id":128758,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:15:43] local.INFO: Acknowledgment sent {"connection_id":128758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:15:59] local.INFO: TCP Data received {"connection_id":128760,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:15:59] local.INFO: Processing buffer {"connection_id":128760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:15:59] local.INFO: IMEI packet received {"connection_id":128760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":128760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:16:03] local.INFO: TCP Data received {"connection_id":129661,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:16:03] local.INFO: Processing buffer {"connection_id":129661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:16:03] local.INFO: IMEI packet received {"connection_id":129661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":129661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:16:04] local.INFO: TCP Data received {"connection_id":129661,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:16:04] local.INFO: Processing buffer {"connection_id":129661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:16:04] local.INFO: IMEI packet received {"connection_id":129661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":129661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:16:04] local.INFO: TCP Data received {"connection_id":128760,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:16:04] local.INFO: Processing buffer {"connection_id":128760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:16:04] local.INFO: IMEI packet received {"connection_id":128760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":128760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:16:06] local.INFO: TCP Data received {"connection_id":128760,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51689038012d1986c0071ff140003601052a..."} 
[2026-07-11 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51689038012d1986c0071ff140003601052a..."} 
[2026-07-11 19:16:06] local.INFO: Processing buffer {"connection_id":128760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51689038012d1986c0071ff140003601052a..."} 
[2026-07-11 19:16:06] local.INFO: Packet analysis {"connection_id":128760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:16:06] local.INFO: Extracted packet for processing {"connection_id":128760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756647616,"raw_latitude":119533888,"longitude_deg":75.6647616,"latitude_deg":11.9533888,"altitude":54,"angle":261,"satellites":42,"speed":17,"hex_longitude":"2d1986c0","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646970112001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816343496491008,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809357934592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783777235000,"timestamp_ms":1783777235000,"timestamp_seconds":1783777235,"priority":1,"record_length":96,"hex_timestamp":"0000019f51689038"} 
[2026-07-11 19:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-11 19:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646970112001,"66":14189,"121":206,"28":31744,"24":17,"16":5816343496491008,"45":1843027809357934592},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646970112001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:16:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:16:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816343496491008,"km_value":5816343496491.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809357934592,"description":"Unknown IO ID 45"} 
[2026-07-11 19:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646970112001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1843027809357934592}} 
[2026-07-11 19:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":128760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:16:06] local.INFO: GPS data processed {"connection_id":128760,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:16:06] local.INFO: Acknowledgment sent {"connection_id":128760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:16:08] local.INFO: TCP Data received {"connection_id":129661,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:16:08] local.INFO: Processing buffer {"connection_id":129661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:16:08] local.INFO: IMEI packet received {"connection_id":129661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":129661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:16:09] local.INFO: TCP Data received {"connection_id":129661,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516bad18012cc3b500075bb758001c00b82e..."} 
[2026-07-11 19:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516bad18012cc3b500075bb758001c00b82e..."} 
[2026-07-11 19:16:09] local.INFO: Processing buffer {"connection_id":129661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516bad18012cc3b500075bb758001c00b82e..."} 
[2026-07-11 19:16:09] local.INFO: Packet analysis {"connection_id":129661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516b"} 
[2026-07-11 19:16:09] local.INFO: Extracted packet for processing {"connection_id":129661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516b"} 
[2026-07-11 19:16:09] local.INFO: GPS Element Parsed {"raw_longitude":751023360,"raw_latitude":123451224,"longitude_deg":75.102336,"latitude_deg":12.3451224,"altitude":28,"angle":184,"satellites":46,"speed":24,"hex_longitude":"2cc3b500","hex_latitude":"075bb758","is_valid_coordinates":true} 
[2026-07-11 19:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647022080001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345367687595032576,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344706971412660224,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777439000,"timestamp_ms":1783777439000,"timestamp_seconds":1783777439,"priority":1,"record_length":96,"hex_timestamp":"0000019f516bad18"} 
[2026-07-11 19:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647022080001,"66":27158,"35":206,"85":37120,"24":24,"16":345367687595032576,"44":-4344706971412660224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-11 19:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647022080001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:16:09] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-11 19:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345367687595032576,"km_value":345367687595032.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344706971412660224,"description":"Unknown IO ID 44"} 
[2026-07-11 19:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647022080001,"power":27158,"unknown_35":206,"unknown_85":37120,"ignition":24,"odometer":null,"unknown_44":-4344706971412660224}} 
[2026-07-11 19:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":129661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:16:09] local.INFO: GPS data processed {"connection_id":129661,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:16:09] local.INFO: Acknowledgment sent {"connection_id":129661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:16:15] local.INFO: TCP Data received {"connection_id":128758,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:16:15] local.INFO: Processing buffer {"connection_id":128758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:16:15] local.INFO: Packet analysis {"connection_id":128758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:16:15] local.INFO: Extracted packet for processing {"connection_id":128758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:16:15] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:16:15] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:16:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":128758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:16:15] local.INFO: GPS data processed {"connection_id":128758,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:16:15] local.INFO: Acknowledgment sent {"connection_id":128758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:16:15] local.INFO: TCP Data received {"connection_id":128759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:16:15] local.INFO: Processing buffer {"connection_id":128759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:16:15] local.INFO: IMEI packet received {"connection_id":128759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":128759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:16:38] local.INFO: TCP Data received {"connection_id":128760,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51689808012d198380071ff008003600f02a..."} 
[2026-07-11 19:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51689808012d198380071ff008003600f02a..."} 
[2026-07-11 19:16:38] local.INFO: Processing buffer {"connection_id":128760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51689808012d198380071ff008003600f02a..."} 
[2026-07-11 19:16:38] local.INFO: Packet analysis {"connection_id":128760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:16:38] local.INFO: Extracted packet for processing {"connection_id":128760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119533576,"longitude_deg":75.6646784,"latitude_deg":11.9533576,"altitude":54,"angle":240,"satellites":42,"speed":14,"hex_longitude":"2d198380","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-07-11 19:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646972160001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816386446163968,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839368634660634624,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783777237000,"timestamp_ms":1783777237000,"timestamp_seconds":1783777237,"priority":1,"record_length":96,"hex_timestamp":"0000019f51689808"} 
[2026-07-11 19:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 19:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646972160001,"66":13852,"121":206,"28":31744,"24":14,"16":5816386446163968,"45":1839368634660634624},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646972160001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:16:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816386446163968,"km_value":5816386446163.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839368634660634624,"description":"Unknown IO ID 45"} 
[2026-07-11 19:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646972160001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1839368634660634624}} 
[2026-07-11 19:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":128760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:16:38] local.INFO: GPS data processed {"connection_id":128760,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:16:38] local.INFO: Acknowledgment sent {"connection_id":128760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:16:39] local.INFO: TCP Data received {"connection_id":129662,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:16:39] local.INFO: Processing buffer {"connection_id":129662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:16:39] local.INFO: IMEI packet received {"connection_id":129662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":129662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:16:41] local.INFO: TCP Data received {"connection_id":129661,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516d7620012cc44a40075abd400027007c2a..."} 
[2026-07-11 19:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516d7620012cc44a40075abd400027007c2a..."} 
[2026-07-11 19:16:41] local.INFO: Processing buffer {"connection_id":129661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516d7620012cc44a40075abd400027007c2a..."} 
[2026-07-11 19:16:41] local.INFO: Packet analysis {"connection_id":129661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:16:41] local.INFO: Extracted packet for processing {"connection_id":129661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:16:41] local.INFO: GPS Element Parsed {"raw_longitude":751061568,"raw_latitude":123387200,"longitude_deg":75.1061568,"latitude_deg":12.33872,"altitude":39,"angle":124,"satellites":42,"speed":7,"hex_longitude":"2cc44a40","hex_latitude":"075abd40","is_valid_coordinates":true} 
[2026-07-11 19:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647049216001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345371488641089536,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309311493107118080,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783777556000,"timestamp_ms":1783777556000,"timestamp_seconds":1783777556,"priority":1,"record_length":96,"hex_timestamp":"0000019f516d7620"} 
[2026-07-11 19:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 19:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647049216001,"66":27376,"34":206,"85":37120,"24":7,"16":345371488641089536,"44":-4309311493107118080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-11 19:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647049216001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:16:41] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 19:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345371488641089536,"km_value":345371488641089.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309311493107118080,"description":"Unknown IO ID 44"} 
[2026-07-11 19:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647049216001,"power":27376,"unknown_34":206,"unknown_85":37120,"ignition":7,"odometer":null,"unknown_44":-4309311493107118080}} 
[2026-07-11 19:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":129661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:16:41] local.INFO: GPS data processed {"connection_id":129661,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:16:41] local.INFO: Acknowledgment sent {"connection_id":129661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:16:44] local.INFO: TCP Data received {"connection_id":129662,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:16:44] local.INFO: Processing buffer {"connection_id":129662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:16:44] local.INFO: IMEI packet received {"connection_id":129662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":129662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:16:44] local.INFO: TCP Data received {"connection_id":130903,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:16:44] local.INFO: Processing buffer {"connection_id":130903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:16:44] local.INFO: IMEI packet received {"connection_id":130903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":130903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:16:45] local.INFO: TCP Data received {"connection_id":129662,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:16:45] local.INFO: Processing buffer {"connection_id":129662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:16:45] local.INFO: Packet analysis {"connection_id":129662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:16:45] local.INFO: Extracted packet for processing {"connection_id":129662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:16:45] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:16:45] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:16:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":129662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:16:45] local.INFO: GPS data processed {"connection_id":129662,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:16:45] local.INFO: Acknowledgment sent {"connection_id":129662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:16:50] local.INFO: TCP Data received {"connection_id":129662,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:16:50] local.INFO: Processing buffer {"connection_id":129662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:16:50] local.INFO: Packet analysis {"connection_id":129662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:16:50] local.INFO: Extracted packet for processing {"connection_id":129662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:16:50] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":129662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":129662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":129662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:16:50] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":129662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:16:50] local.INFO: GPS data processed {"connection_id":129662,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:16:50] local.INFO: Acknowledgment sent {"connection_id":129662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:16:59] local.INFO: TCP Data received {"connection_id":128761,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:16:59] local.INFO: Processing buffer {"connection_id":128761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:16:59] local.INFO: IMEI packet received {"connection_id":128761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":128761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:17:03] local.INFO: TCP Data received {"connection_id":130904,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:17:03] local.INFO: Processing buffer {"connection_id":130904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:17:03] local.INFO: IMEI packet received {"connection_id":130904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":130904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:17:04] local.INFO: TCP Data received {"connection_id":128761,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:17:04] local.INFO: Processing buffer {"connection_id":128761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:17:04] local.INFO: IMEI packet received {"connection_id":128761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":128761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:17:05] local.INFO: TCP Data received {"connection_id":128761,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51689bf0012d198280071fef30003600e429..."} 
[2026-07-11 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51689bf0012d198280071fef30003600e429..."} 
[2026-07-11 19:17:05] local.INFO: Processing buffer {"connection_id":128761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51689bf0012d198280071fef30003600e429..."} 
[2026-07-11 19:17:05] local.INFO: Packet analysis {"connection_id":128761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:17:05] local.INFO: Extracted packet for processing {"connection_id":128761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756646528,"raw_latitude":119533360,"longitude_deg":75.6646528,"latitude_deg":11.953336,"altitude":54,"angle":228,"satellites":41,"speed":13,"hex_longitude":"2d198280","hex_latitude":"071fef30","is_valid_coordinates":true} 
[2026-07-11 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646972672001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816403626033152,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840986245120,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783777238000,"timestamp_ms":1783777238000,"timestamp_seconds":1783777238,"priority":1,"record_length":96,"hex_timestamp":"0000019f51689bf0"} 
[2026-07-11 19:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-11 19:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646972672001,"66":13330,"121":206,"28":31744,"24":13,"16":5816403626033152,"45":1838453840986245120},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646972672001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:17:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816403626033152,"km_value":5816403626033.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840986245120,"description":"Unknown IO ID 45"} 
[2026-07-11 19:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646972672001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1838453840986245120}} 
[2026-07-11 19:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":128761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:17:06] local.INFO: GPS data processed {"connection_id":128761,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:17:06] local.INFO: Acknowledgment sent {"connection_id":128761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:17:09] local.INFO: TCP Data received {"connection_id":130904,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:17:09] local.INFO: Processing buffer {"connection_id":130904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:17:09] local.INFO: IMEI packet received {"connection_id":130904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":130904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:17:10] local.INFO: TCP Data received {"connection_id":130904,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516d7620012cc44a40075abd400027007c2a..."} 
[2026-07-11 19:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516d7620012cc44a40075abd400027007c2a..."} 
[2026-07-11 19:17:10] local.INFO: Processing buffer {"connection_id":130904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516d7620012cc44a40075abd400027007c2a..."} 
[2026-07-11 19:17:10] local.INFO: Packet analysis {"connection_id":130904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:17:10] local.INFO: Extracted packet for processing {"connection_id":130904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:17:10] local.INFO: GPS Element Parsed {"raw_longitude":751061568,"raw_latitude":123387200,"longitude_deg":75.1061568,"latitude_deg":12.33872,"altitude":39,"angle":124,"satellites":42,"speed":7,"hex_longitude":"2cc44a40","hex_latitude":"075abd40","is_valid_coordinates":true} 
[2026-07-11 19:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647054336001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345371488641089536,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4302556093667786752,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783777556000,"timestamp_ms":1783777556000,"timestamp_seconds":1783777556,"priority":1,"record_length":96,"hex_timestamp":"0000019f516d7620"} 
[2026-07-11 19:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647054336001,"66":27376,"34":206,"85":37120,"24":7,"16":345371488641089536,"44":-4302556093667786752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-11 19:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647054336001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:17:10] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 19:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345371488641089536,"km_value":345371488641089.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4302556093667786752,"description":"Unknown IO ID 44"} 
[2026-07-11 19:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647054336001,"power":27376,"unknown_34":206,"unknown_85":37120,"ignition":7,"odometer":null,"unknown_44":-4302556093667786752}} 
[2026-07-11 19:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":130904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:17:10] local.INFO: GPS data processed {"connection_id":130904,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:17:10] local.INFO: Acknowledgment sent {"connection_id":130904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:17:34] local.INFO: TCP Data received {"connection_id":128762,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:17:34] local.INFO: Processing buffer {"connection_id":128762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:17:34] local.INFO: IMEI packet received {"connection_id":128762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":128762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:17:37] local.INFO: TCP Data received {"connection_id":128761,"ip":"117.224.20.79","data_length":93,"data_hex":"00000000000000518e010000019f5168a7a8012d197f00071fece0003400fb2a..."} 
[2026-07-11 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128761,"packet_length":93,"packet_hex":"00000000000000518e010000019f5168a7a8012d197f00071fece0003400fb2a..."} 
[2026-07-11 19:17:37] local.INFO: Processing buffer {"connection_id":128761,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f5168a7a8012d197f00071fece0003400fb2a..."} 
[2026-07-11 19:17:37] local.INFO: Packet analysis {"connection_id":128761,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f5168"} 
[2026-07-11 19:17:37] local.INFO: Extracted packet for processing {"connection_id":128761,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f5168"} 
[2026-07-11 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119532768,"longitude_deg":75.6645632,"latitude_deg":11.9532768,"altitude":52,"angle":251,"satellites":42,"speed":14,"hex_longitude":"2d197f00","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-07-11 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":93,"current_offset":40} 
[2026-07-11 19:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:17:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:17:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 19:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128761,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-11 19:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128761,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 19:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128761,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-11 19:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 19:17:37] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 19:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":128761,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 19:17:37] local.ERROR: GPS data processing failed {"connection_id":128761,"error":"No valid data to process"} 
[2026-07-11 19:17:37] local.INFO: Acknowledgment sent {"connection_id":128761,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 19:17:39] local.INFO: TCP Data received {"connection_id":128762,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:17:39] local.INFO: Processing buffer {"connection_id":128762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:17:39] local.INFO: IMEI packet received {"connection_id":128762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":128762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:17:40] local.INFO: TCP Data received {"connection_id":128762,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:17:40] local.INFO: Processing buffer {"connection_id":128762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:17:40] local.INFO: Packet analysis {"connection_id":128762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:17:40] local.INFO: Extracted packet for processing {"connection_id":128762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:17:40] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:17: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-07-11 19:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:17:40] 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-07-11 19:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:17:40] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":128762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:17:40] local.INFO: GPS data processed {"connection_id":128762,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:17:40] local.INFO: Acknowledgment sent {"connection_id":128762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:17:41] local.INFO: TCP Data received {"connection_id":130904,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516d7df0012cc44bc0075abc48002800882a..."} 
[2026-07-11 19:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516d7df0012cc44bc0075abc48002800882a..."} 
[2026-07-11 19:17:41] local.INFO: Processing buffer {"connection_id":130904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516d7df0012cc44bc0075abc48002800882a..."} 
[2026-07-11 19:17:41] local.INFO: Packet analysis {"connection_id":130904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:17:41] local.INFO: Extracted packet for processing {"connection_id":130904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:17:41] local.INFO: GPS Element Parsed {"raw_longitude":751061952,"raw_latitude":123386952,"longitude_deg":75.1061952,"latitude_deg":12.3386952,"altitude":40,"angle":136,"satellites":42,"speed":7,"hex_longitude":"2cc44bc0","hex_latitude":"075abc48","is_valid_coordinates":true} 
[2026-07-11 19:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647054336001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345371510115926016,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4302556093667786752,"note":"Value kept but may cause issues"} 
[2026-07-11 19:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783777558000,"timestamp_ms":1783777558000,"timestamp_seconds":1783777558,"priority":1,"record_length":96,"hex_timestamp":"0000019f516d7df0"} 
[2026-07-11 19:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647054336001,"66":27267,"34":206,"85":37120,"24":7,"16":345371510115926016,"44":-4302556093667786752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-11 19:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647054336001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:17:41] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 19:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345371510115926016,"km_value":345371510115926.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4302556093667786752,"description":"Unknown IO ID 44"} 
[2026-07-11 19:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647054336001,"power":27267,"unknown_34":206,"unknown_85":37120,"ignition":7,"odometer":null,"unknown_44":-4302556093667786752}} 
[2026-07-11 19:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":130904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:17:41] local.INFO: GPS data processed {"connection_id":130904,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:17:41] local.INFO: Acknowledgment sent {"connection_id":130904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:17:59] local.INFO: TCP Data received {"connection_id":130905,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:17:59] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:17:59] local.INFO: IMEI packet received {"connection_id":130905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":130905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:18:04] local.INFO: TCP Data received {"connection_id":130905,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:18:04] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:18:04] local.INFO: IMEI packet received {"connection_id":130905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":130905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:18:05] local.INFO: TCP Data received {"connection_id":130905,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5168b748012d197940071febc0003401082a..."} 
[2026-07-11 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5168b748012d197940071febc0003401082a..."} 
[2026-07-11 19:18:05] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5168b748012d197940071febc0003401082a..."} 
[2026-07-11 19:18:05] local.INFO: Packet analysis {"connection_id":130905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:18:05] local.INFO: Extracted packet for processing {"connection_id":130905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756644160,"raw_latitude":119532480,"longitude_deg":75.664416,"latitude_deg":11.953248,"altitude":52,"angle":264,"satellites":42,"speed":15,"hex_longitude":"2d197940","hex_latitude":"071febc0","is_valid_coordinates":true} 
[2026-07-11 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646973696001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816523885117440,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590840320,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783777245000,"timestamp_ms":1783777245000,"timestamp_seconds":1783777245,"priority":1,"record_length":96,"hex_timestamp":"0000019f5168b748"} 
[2026-07-11 19:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:18:05] 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-07-11 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 19:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646973696001,"66":13374,"121":206,"28":31744,"24":15,"16":5816523885117440,"45":1837187203590840320},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646973696001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:18:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816523885117440,"km_value":5816523885117.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590840320,"description":"Unknown IO ID 45"} 
[2026-07-11 19:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646973696001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1837187203590840320}} 
[2026-07-11 19:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":130905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:18:05] local.INFO: GPS data processed {"connection_id":130905,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:18:05] local.INFO: Acknowledgment sent {"connection_id":130905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:18:07] local.INFO: TCP Data received {"connection_id":129663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:18:07] local.INFO: Processing buffer {"connection_id":129663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:18:07] local.INFO: IMEI packet received {"connection_id":129663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":129663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:18:08] local.INFO: TCP Data received {"connection_id":129663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:18:08] local.INFO: Processing buffer {"connection_id":129663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:18:08] local.INFO: IMEI packet received {"connection_id":129663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":129663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:18:11] local.INFO: TCP Data received {"connection_id":128762,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:18:11] local.INFO: Processing buffer {"connection_id":128762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:18:11] local.INFO: Packet analysis {"connection_id":128762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:18:11] local.INFO: Extracted packet for processing {"connection_id":128762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:18:11] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":128762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:18:11] local.INFO: GPS data processed {"connection_id":128762,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:18:11] local.INFO: Acknowledgment sent {"connection_id":128762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:18:13] local.INFO: TCP Data received {"connection_id":129663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:18:13] local.INFO: Processing buffer {"connection_id":129663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:18:13] local.INFO: IMEI packet received {"connection_id":129663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":129663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:18:14] local.INFO: TCP Data received {"connection_id":129663,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516dcff8012cc45cc0075aa9a0002600892b..."} 
[2026-07-11 19:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516dcff8012cc45cc0075aa9a0002600892b..."} 
[2026-07-11 19:18:14] local.INFO: Processing buffer {"connection_id":129663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516dcff8012cc45cc0075aa9a0002600892b..."} 
[2026-07-11 19:18:14] local.INFO: Packet analysis {"connection_id":129663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:18:14] local.INFO: Extracted packet for processing {"connection_id":129663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":751066304,"raw_latitude":123382176,"longitude_deg":75.1066304,"latitude_deg":12.3382176,"altitude":38,"angle":137,"satellites":43,"speed":14,"hex_longitude":"2cc45cc0","hex_latitude":"075aa9a0","is_valid_coordinates":true} 
[2026-07-11 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647054848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345371819353571328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4302133881202784256,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783777579000,"timestamp_ms":1783777579000,"timestamp_seconds":1783777579,"priority":1,"record_length":96,"hex_timestamp":"0000019f516dcff8"} 
[2026-07-11 19:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 19:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647054848001,"66":27332,"34":206,"85":37120,"24":14,"16":345371819353571328,"44":-4302133881202784256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-11 19:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647054848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:18:14] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 19:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345371819353571328,"km_value":345371819353571.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4302133881202784256,"description":"Unknown IO ID 44"} 
[2026-07-11 19:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647054848001,"power":27332,"unknown_34":206,"unknown_85":37120,"ignition":14,"odometer":null,"unknown_44":-4302133881202784256}} 
[2026-07-11 19:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":129663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:18:14] local.INFO: GPS data processed {"connection_id":129663,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:18:14] local.INFO: Acknowledgment sent {"connection_id":129663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:18:18] local.INFO: TCP Data received {"connection_id":129663,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516e1e18012cc475c0075a9058002b008827..."} 
[2026-07-11 19:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516e1e18012cc475c0075a9058002b008827..."} 
[2026-07-11 19:18:18] local.INFO: Processing buffer {"connection_id":129663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516e1e18012cc475c0075a9058002b008827..."} 
[2026-07-11 19:18:18] local.INFO: Packet analysis {"connection_id":129663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516e"} 
[2026-07-11 19:18:18] local.INFO: Extracted packet for processing {"connection_id":129663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516e"} 
[2026-07-11 19:18:18] local.INFO: GPS Element Parsed {"raw_longitude":751072704,"raw_latitude":123375704,"longitude_deg":75.1072704,"latitude_deg":12.3375704,"altitude":43,"angle":136,"satellites":39,"speed":20,"hex_longitude":"2cc475c0","hex_latitude":"075a9058","is_valid_coordinates":true} 
[2026-07-11 19:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647060224001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345372257440235520,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4297348806599925760,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783777599000,"timestamp_ms":1783777599000,"timestamp_seconds":1783777599,"priority":1,"record_length":96,"hex_timestamp":"0000019f516e1e18"} 
[2026-07-11 19:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647060224001,"66":27397,"131":206,"85":37120,"24":20,"16":345372257440235520,"44":-4297348806599925760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-07-11 19:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647060224001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:18:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-11 19:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345372257440235520,"km_value":345372257440235.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:18:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4297348806599925760,"description":"Unknown IO ID 44"} 
[2026-07-11 19:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647060224001,"power":27397,"unknown_131":206,"unknown_85":37120,"ignition":20,"odometer":null,"unknown_44":-4297348806599925760}} 
[2026-07-11 19:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":129663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:18:18] local.INFO: GPS data processed {"connection_id":129663,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:18:18] local.INFO: Acknowledgment sent {"connection_id":129663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:18:36] local.INFO: TCP Data received {"connection_id":130905,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5168c6e8012d1973c0071feb980035010f29..."} 
[2026-07-11 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5168c6e8012d1973c0071feb980035010f29..."} 
[2026-07-11 19:18:36] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5168c6e8012d1973c0071feb980035010f29..."} 
[2026-07-11 19:18:36] local.INFO: Packet analysis {"connection_id":130905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:18:36] local.INFO: Extracted packet for processing {"connection_id":130905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756642752,"raw_latitude":119532440,"longitude_deg":75.6642752,"latitude_deg":11.953244,"altitude":53,"angle":271,"satellites":41,"speed":12,"hex_longitude":"2d1973c0","hex_latitude":"071feb98","is_valid_coordinates":true} 
[2026-07-11 19:18: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-07-11 19:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646974720001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835568722474680320,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783777249000,"timestamp_ms":1783777249000,"timestamp_seconds":1783777249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5168c6e8"} 
[2026-07-11 19:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-11 19:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646974720001,"66":13319,"121":206,"28":31744,"24":12,"16":5816575424724992,"45":1835568722474680320},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646974720001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:18:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835568722474680320,"description":"Unknown IO ID 45"} 
[2026-07-11 19:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646974720001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1835568722474680320}} 
[2026-07-11 19:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":130905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:18:36] local.INFO: GPS data processed {"connection_id":130905,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:18:36] local.INFO: Acknowledgment sent {"connection_id":130905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:18:37] local.INFO: TCP Data received {"connection_id":128764,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:18:37] local.INFO: Processing buffer {"connection_id":128764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:18:37] local.INFO: IMEI packet received {"connection_id":128764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":128764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:18:39] local.INFO: TCP Data received {"connection_id":128764,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:18:39] local.INFO: Processing buffer {"connection_id":128764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:18:39] local.INFO: IMEI packet received {"connection_id":128764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":128764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:18:40] local.INFO: TCP Data received {"connection_id":128764,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:18:40] local.INFO: Processing buffer {"connection_id":128764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:18:40] local.INFO: Packet analysis {"connection_id":128764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:18:40] local.INFO: Extracted packet for processing {"connection_id":128764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:18: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-07-11 19:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:18:40] 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-07-11 19:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:18:40] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":128764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:18:40] local.INFO: GPS data processed {"connection_id":128764,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:18:40] local.INFO: Acknowledgment sent {"connection_id":128764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:18:46] local.INFO: TCP Data received {"connection_id":128764,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:18:46] local.INFO: Processing buffer {"connection_id":128764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:18:46] local.INFO: Packet analysis {"connection_id":128764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:18:46] local.INFO: Extracted packet for processing {"connection_id":128764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:18:46] 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-07-11 19:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:18:46] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":128764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:18:46] local.INFO: GPS data processed {"connection_id":128764,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:18:46] local.INFO: Acknowledgment sent {"connection_id":128764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:18:59] local.INFO: TCP Data received {"connection_id":129664,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:18:59] local.INFO: Processing buffer {"connection_id":129664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:18:59] local.INFO: IMEI packet received {"connection_id":129664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":129664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:19:00] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:19:00] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:19:00] local.INFO: IMEI packet received {"connection_id":130906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":130906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:19:04] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:19:04] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:19:04] local.INFO: IMEI packet received {"connection_id":130906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":130906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:19:04] local.INFO: TCP Data received {"connection_id":129664,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:19:04] local.INFO: Processing buffer {"connection_id":129664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:19:04] local.INFO: IMEI packet received {"connection_id":129664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":129664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:19:05] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:19:05] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:19:05] local.INFO: IMEI packet received {"connection_id":130906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":130906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:19:05] local.INFO: TCP Data received {"connection_id":129664,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5168c6e8012d1973c0071feb980035010f29..."} 
[2026-07-11 19:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5168c6e8012d1973c0071feb980035010f29..."} 
[2026-07-11 19:19:05] local.INFO: Processing buffer {"connection_id":129664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5168c6e8012d1973c0071feb980035010f29..."} 
[2026-07-11 19:19:05] local.INFO: Packet analysis {"connection_id":129664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:19:05] local.INFO: Extracted packet for processing {"connection_id":129664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756642752,"raw_latitude":119532440,"longitude_deg":75.6642752,"latitude_deg":11.953244,"altitude":53,"angle":271,"satellites":41,"speed":12,"hex_longitude":"2d1973c0","hex_latitude":"071feb98","is_valid_coordinates":true} 
[2026-07-11 19:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646975744001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834020610102761472,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783777249000,"timestamp_ms":1783777249000,"timestamp_seconds":1783777249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5168c6e8"} 
[2026-07-11 19:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:19: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-07-11 19:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":169,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1029072291497105152,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":55,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2851012608,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.WARNING: Large IO value detected {"io_id":104,"raw_value":7577307666265292807,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,170,159,183,45,64,235,52,42,10,66,167,236,155,128,1,240,18,169,81,31,4,113,205,14,144,134,239,55,2,20,7,13,104],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 19:19:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819350627755753711,"timestamp_seconds":3819350627755753.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 19:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646975744001,"66":13319,"121":206,"28":31744,"24":12,"16":5816575424724992,"45":1834020610102761472},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646975744001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:19:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834020610102761472,"description":"Unknown IO ID 45"} 
[2026-07-11 19:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646975744001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1834020610102761472}} 
[2026-07-11 19:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":129664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:19:06] local.INFO: GPS data processed {"connection_id":129664,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:19:06] local.INFO: Acknowledgment sent {"connection_id":129664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:19:06] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516e54c8012cc48700075a7ba8002d00952e..."} 
[2026-07-11 19:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516e54c8012cc48700075a7ba8002d00952e..."} 
[2026-07-11 19:19:06] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516e54c8012cc48700075a7ba8002d00952e..."} 
[2026-07-11 19:19:06] local.INFO: Packet analysis {"connection_id":130906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516e"} 
[2026-07-11 19:19:06] local.INFO: Extracted packet for processing {"connection_id":130906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516e"} 
[2026-07-11 19:19:06] local.INFO: GPS Element Parsed {"raw_longitude":751077120,"raw_latitude":123370408,"longitude_deg":75.107712,"latitude_deg":12.3370408,"altitude":45,"angle":149,"satellites":46,"speed":18,"hex_longitude":"2cc48700","hex_latitude":"075a7ba8","is_valid_coordinates":true} 
[2026-07-11 19:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647065344001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345372592447684608,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4290311932183816192,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783777613000,"timestamp_ms":1783777613000,"timestamp_seconds":1783777613,"priority":1,"record_length":96,"hex_timestamp":"0000019f516e54c8"} 
[2026-07-11 19:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:19: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-07-11 19:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647065344001,"66":27310,"131":206,"85":37120,"24":18,"16":345372592447684608,"44":-4290311932183816192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-07-11 19:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647065344001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:19:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-11 19:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345372592447684608,"km_value":345372592447684.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4290311932183816192,"description":"Unknown IO ID 44"} 
[2026-07-11 19:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647065344001,"power":27310,"unknown_131":206,"unknown_85":37120,"ignition":18,"odometer":null,"unknown_44":-4290311932183816192}} 
[2026-07-11 19:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":130906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:19:06] local.INFO: GPS data processed {"connection_id":130906,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:19:06] local.INFO: Acknowledgment sent {"connection_id":130906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:19:09] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516e9730012cc49500075a5ee8002c00a52c..."} 
[2026-07-11 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516e9730012cc49500075a5ee8002c00a52c..."} 
[2026-07-11 19:19:09] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516e9730012cc49500075a5ee8002c00a52c..."} 
[2026-07-11 19:19:09] local.INFO: Packet analysis {"connection_id":130906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516e"} 
[2026-07-11 19:19:09] local.INFO: Extracted packet for processing {"connection_id":130906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516e"} 
[2026-07-11 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":751080704,"raw_latitude":123363048,"longitude_deg":75.1080704,"latitude_deg":12.3363048,"altitude":44,"angle":165,"satellites":44,"speed":16,"hex_longitude":"2cc49500","hex_latitude":"075a5ee8","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647068928001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345372987584675840,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4285456488836913152,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777630000,"timestamp_ms":1783777630000,"timestamp_seconds":1783777630,"priority":1,"record_length":96,"hex_timestamp":"0000019f516e9730"} 
[2026-07-11 19:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 19:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647068928001,"66":27463,"131":206,"85":37120,"24":16,"16":345372987584675840,"44":-4285456488836913152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-07-11 19:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647068928001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:19:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-11 19:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345372987584675840,"km_value":345372987584675.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4285456488836913152,"description":"Unknown IO ID 44"} 
[2026-07-11 19:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647068928001,"power":27463,"unknown_131":206,"unknown_85":37120,"ignition":16,"odometer":null,"unknown_44":-4285456488836913152}} 
[2026-07-11 19:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":130906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:19:09] local.INFO: GPS data processed {"connection_id":130906,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:19:09] local.INFO: Acknowledgment sent {"connection_id":130906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:19:17] local.INFO: TCP Data received {"connection_id":128764,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:19:17] local.INFO: Processing buffer {"connection_id":128764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:19:17] local.INFO: Packet analysis {"connection_id":128764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:19:17] local.INFO: Extracted packet for processing {"connection_id":128764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:19:17] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":128764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:19:17] local.INFO: GPS data processed {"connection_id":128764,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:19:17] local.INFO: Acknowledgment sent {"connection_id":128764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:19:36] local.INFO: TCP Data received {"connection_id":130907,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:19:36] local.INFO: Processing buffer {"connection_id":130907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:19:36] local.INFO: IMEI packet received {"connection_id":130907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":130907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:19:37] local.INFO: TCP Data received {"connection_id":129664,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5168c6e8012d1973c0071feb980035010f29..."} 
[2026-07-11 19:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5168c6e8012d1973c0071feb980035010f29..."} 
[2026-07-11 19:19:37] local.INFO: Processing buffer {"connection_id":129664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5168c6e8012d1973c0071feb980035010f29..."} 
[2026-07-11 19:19:37] local.INFO: Packet analysis {"connection_id":129664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:19:37] local.INFO: Extracted packet for processing {"connection_id":129664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756642752,"raw_latitude":119532440,"longitude_deg":75.6642752,"latitude_deg":11.953244,"altitude":53,"angle":271,"satellites":41,"speed":12,"hex_longitude":"2d1973c0","hex_latitude":"071feb98","is_valid_coordinates":true} 
[2026-07-11 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646975744001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834020610102761472,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783777249000,"timestamp_ms":1783777249000,"timestamp_seconds":1783777249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5168c6e8"} 
[2026-07-11 19:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:19: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-07-11 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 19:19:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-995295294292547072,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 19:19:37] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2147950576,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:37] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2851667968,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:37] local.WARNING: Large IO value detected {"io_id":109,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":8140257619686440967,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,170,159,198,45,192,235,53,41,10,66,183,64,52,42,167,1,240,81,31,4,113,205,13,152,131,8,239,54,2,20,7,17,109,104],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 19:19:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819350627755753503,"timestamp_seconds":3819350627755753.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 19:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646975744001,"66":13319,"121":206,"28":31744,"24":12,"16":5816575424724992,"45":1834020610102761472},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646975744001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:19:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834020610102761472,"description":"Unknown IO ID 45"} 
[2026-07-11 19:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646975744001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1834020610102761472}} 
[2026-07-11 19:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":129664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:19:37] local.INFO: GPS data processed {"connection_id":129664,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:19:37] local.INFO: Acknowledgment sent {"connection_id":129664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:19:39] local.INFO: TCP Data received {"connection_id":130907,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:19:39] local.INFO: Processing buffer {"connection_id":130907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:19:39] local.INFO: IMEI packet received {"connection_id":130907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":130907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:19:39] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f516ff6c0012cc4e4c007592b98002300c02c..."} 
[2026-07-11 19:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516ff6c0012cc4e4c007592b98002300c02c..."} 
[2026-07-11 19:19:39] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516ff6c0012cc4e4c007592b98002300c02c..."} 
[2026-07-11 19:19:39] local.INFO: Packet analysis {"connection_id":130906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516f"} 
[2026-07-11 19:19:39] local.INFO: Extracted packet for processing {"connection_id":130906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516f"} 
[2026-07-11 19:19:39] local.INFO: GPS Element Parsed {"raw_longitude":751101120,"raw_latitude":123284376,"longitude_deg":75.110112,"latitude_deg":12.3284376,"altitude":35,"angle":192,"satellites":44,"speed":49,"hex_longitude":"2cc4e4c0","hex_latitude":"07592b98","is_valid_coordinates":true} 
[2026-07-11 19:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647095296001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345377016263999488,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4258294153605115904,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783777720000,"timestamp_ms":1783777720000,"timestamp_seconds":1783777720,"priority":1,"record_length":96,"hex_timestamp":"0000019f516ff6c0"} 
[2026-07-11 19:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 19:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647095296001,"66":27234,"29":206,"85":37120,"24":49,"16":345377016263999488,"44":-4258294153605115904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-07-11 19:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647095296001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:19:39] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-11 19:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345377016263999488,"km_value":345377016263999.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:19:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4258294153605115904,"description":"Unknown IO ID 44"} 
[2026-07-11 19:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647095296001,"power":27234,"unknown_29":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4258294153605115904}} 
[2026-07-11 19:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":130906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:19:39] local.INFO: GPS data processed {"connection_id":130906,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:19:39] local.INFO: Acknowledgment sent {"connection_id":130906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:19:40] local.INFO: TCP Data received {"connection_id":130907,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:19:40] local.INFO: Processing buffer {"connection_id":130907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516c6c80012d770a8005d77e680005009c29..."} 
[2026-07-11 19:19:40] local.INFO: Packet analysis {"connection_id":130907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:19:40] local.INFO: Extracted packet for processing {"connection_id":130907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516c"} 
[2026-07-11 19:19:40] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646990848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777488000,"timestamp_ms":1783777488000,"timestamp_seconds":1783777488,"priority":1,"record_length":96,"hex_timestamp":"0000019f516c6c80"} 
[2026-07-11 19:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:19: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-07-11 19: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":31,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-11 19:19:40] 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-07-11 19: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-07-11 19:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646990848001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646990848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:19:40] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646990848001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":130907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:19:40] local.INFO: GPS data processed {"connection_id":130907,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:19:40] local.INFO: Acknowledgment sent {"connection_id":130907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:20:03] local.INFO: TCP Data received {"connection_id":129665,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:20:03] local.INFO: Processing buffer {"connection_id":129665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:20:03] local.INFO: IMEI packet received {"connection_id":129665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":129665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:20:04] local.INFO: TCP Data received {"connection_id":128766,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:20:04] local.INFO: Processing buffer {"connection_id":128766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:20:04] local.INFO: IMEI packet received {"connection_id":128766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":128766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:20:07] local.INFO: TCP Data received {"connection_id":129665,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:20:07] local.INFO: Processing buffer {"connection_id":129665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:20:07] local.INFO: IMEI packet received {"connection_id":129665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":129665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:20:07] local.INFO: TCP Data received {"connection_id":129665,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51701218012cc4dac007590968002100c52d..."} 
[2026-07-11 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51701218012cc4dac007590968002100c52d..."} 
[2026-07-11 19:20:07] local.INFO: Processing buffer {"connection_id":129665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51701218012cc4dac007590968002100c52d..."} 
[2026-07-11 19:20:07] local.INFO: Packet analysis {"connection_id":129665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5170"} 
[2026-07-11 19:20:07] local.INFO: Extracted packet for processing {"connection_id":129665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5170"} 
[2026-07-11 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":751098560,"raw_latitude":123275624,"longitude_deg":75.109856,"latitude_deg":12.3275624,"altitude":33,"angle":197,"satellites":45,"speed":54,"hex_longitude":"2cc4dac0","hex_latitude":"07590968","is_valid_coordinates":true} 
[2026-07-11 19:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647096320001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345377458645630976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4259068209792313344,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783777727000,"timestamp_ms":1783777727000,"timestamp_seconds":1783777727,"priority":1,"record_length":96,"hex_timestamp":"0000019f51701218"} 
[2026-07-11 19:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 19:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647096320001,"66":26941,"29":206,"85":37120,"24":54,"16":345377458645630976,"44":-4259068209792313344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-07-11 19:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647096320001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:20:07] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-11 19:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345377458645630976,"km_value":345377458645631.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4259068209792313344,"description":"Unknown IO ID 44"} 
[2026-07-11 19:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647096320001,"power":26941,"unknown_29":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4259068209792313344}} 
[2026-07-11 19:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":129665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:20:07] local.INFO: GPS data processed {"connection_id":129665,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:20:07] local.INFO: Acknowledgment sent {"connection_id":129665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:20:09] local.INFO: TCP Data received {"connection_id":128766,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:20:09] local.INFO: Processing buffer {"connection_id":128766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:20:09] local.INFO: IMEI packet received {"connection_id":128766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":128766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:20:10] local.INFO: TCP Data received {"connection_id":128766,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5168ceb8012d1971c0071fec200035011c2a..."} 
[2026-07-11 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5168ceb8012d1971c0071fec200035011c2a..."} 
[2026-07-11 19:20:10] local.INFO: Processing buffer {"connection_id":128766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5168ceb8012d1971c0071fec200035011c2a..."} 
[2026-07-11 19:20:10] local.INFO: Packet analysis {"connection_id":128766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:20:10] local.INFO: Extracted packet for processing {"connection_id":128766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5168"} 
[2026-07-11 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756642240,"raw_latitude":119532576,"longitude_deg":75.664224,"latitude_deg":11.9532576,"altitude":53,"angle":284,"satellites":42,"speed":11,"hex_longitude":"2d1971c0","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-07-11 19:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646975744001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834020610102761472,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783777251000,"timestamp_ms":1783777251000,"timestamp_seconds":1783777251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5168ceb8"} 
[2026-07-11 19:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:20: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-07-11 19:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":28,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1062849280114087424,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":155,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2147950575,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2851930112,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.WARNING: Large IO value detected {"io_id":104,"raw_value":-8054686640338714617,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,170,159,198,45,192,235,53,41,10,66,183,64,1,240,62,81,31,4,113,205,14,155,130,48,239,52,2,20,7,54,104],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-11 19:20:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819350627755753538,"timestamp_seconds":3819350627755753.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 19:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646975744001,"66":3057,"121":206,"28":31744,"24":11,"16":5816575424724992,"45":1834020610102761472},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646975744001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:20:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834020610102761472,"description":"Unknown IO ID 45"} 
[2026-07-11 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646975744001,"power":3057,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1834020610102761472}} 
[2026-07-11 19:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":128766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:20:11] local.INFO: GPS data processed {"connection_id":128766,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:20:11] local.INFO: Acknowledgment sent {"connection_id":128766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:20:38] local.INFO: TCP Data received {"connection_id":129665,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51702d70012cc4ce400758e558001f00c62c..."} 
[2026-07-11 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51702d70012cc4ce400758e558001f00c62c..."} 
[2026-07-11 19:20:38] local.INFO: Processing buffer {"connection_id":129665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51702d70012cc4ce400758e558001f00c62c..."} 
[2026-07-11 19:20:38] local.INFO: Packet analysis {"connection_id":129665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5170"} 
[2026-07-11 19:20:38] local.INFO: Extracted packet for processing {"connection_id":129665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5170"} 
[2026-07-11 19:20:38] local.INFO: GPS Element Parsed {"raw_longitude":751095360,"raw_latitude":123266392,"longitude_deg":75.109536,"latitude_deg":12.3266392,"altitude":31,"angle":198,"satellites":44,"speed":57,"hex_longitude":"2cc4ce40","hex_latitude":"0758e558","is_valid_coordinates":true} 
[2026-07-11 19:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647098112001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345377931092033536,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4261882959561660416,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783777734000,"timestamp_ms":1783777734000,"timestamp_seconds":1783777734,"priority":1,"record_length":96,"hex_timestamp":"0000019f51702d70"} 
[2026-07-11 19:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-11 19:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647098112001,"66":27376,"29":206,"85":37120,"24":57,"16":345377931092033536,"44":-4261882959561660416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-07-11 19:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647098112001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:20:38] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-11 19:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345377931092033536,"km_value":345377931092033.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:20:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4261882959561660416,"description":"Unknown IO ID 44"} 
[2026-07-11 19:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647098112001,"power":27376,"unknown_29":206,"unknown_85":37120,"ignition":57,"odometer":null,"unknown_44":-4261882959561660416}} 
[2026-07-11 19:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":129665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:20:38] local.INFO: GPS data processed {"connection_id":129665,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:20:38] local.INFO: Acknowledgment sent {"connection_id":129665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:20:42] local.INFO: TCP Data received {"connection_id":128766,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f516d6680012d196680071fef80003b011a27..."} 
[2026-07-11 19:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516d6680012d196680071fef80003b011a27..."} 
[2026-07-11 19:20:42] local.INFO: Processing buffer {"connection_id":128766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516d6680012d196680071fef80003b011a27..."} 
[2026-07-11 19:20:42] local.INFO: Packet analysis {"connection_id":128766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:20:42] local.INFO: Extracted packet for processing {"connection_id":128766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646976256001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833457660149374976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783777552000,"timestamp_ms":1783777552000,"timestamp_seconds":1783777552,"priority":1,"record_length":96,"hex_timestamp":"0000019f516d6680"} 
[2026-07-11 19:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:20: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-07-11 19:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-11 19:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646976256001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1833457660149374976},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646976256001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:20:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833457660149374976,"description":"Unknown IO ID 45"} 
[2026-07-11 19:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646976256001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833457660149374976}} 
[2026-07-11 19:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":128766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:20:42] local.INFO: GPS data processed {"connection_id":128766,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:20:42] local.INFO: Acknowledgment sent {"connection_id":128766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:20:59] local.INFO: TCP Data received {"connection_id":128943,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:20:59] local.INFO: Processing buffer {"connection_id":128943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:20:59] local.INFO: IMEI packet received {"connection_id":128943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":128943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:21:03] local.INFO: TCP Data received {"connection_id":130908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:21:03] local.INFO: Processing buffer {"connection_id":130908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:21:03] local.INFO: IMEI packet received {"connection_id":130908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":130908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:21:03] local.INFO: TCP Data received {"connection_id":130908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:21:03] local.INFO: Processing buffer {"connection_id":130908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:21:03] local.INFO: IMEI packet received {"connection_id":130908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":130908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:21:05] local.INFO: TCP Data received {"connection_id":128943,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:21:05] local.INFO: Processing buffer {"connection_id":128943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:21:05] local.INFO: IMEI packet received {"connection_id":128943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":128943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:21:07] local.INFO: TCP Data received {"connection_id":128943,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f516d6680012d196680071fef80003b011a27..."} 
[2026-07-11 19:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f516d6680012d196680071fef80003b011a27..."} 
[2026-07-11 19:21:07] local.INFO: Processing buffer {"connection_id":128943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f516d6680012d196680071fef80003b011a27..."} 
[2026-07-11 19:21:07] local.INFO: Packet analysis {"connection_id":128943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:21:07] local.INFO: Extracted packet for processing {"connection_id":128943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f516d"} 
[2026-07-11 19:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456646976256001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833457660149374976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783777552000,"timestamp_ms":1783777552000,"timestamp_seconds":1783777552,"priority":1,"record_length":96,"hex_timestamp":"0000019f516d6680"} 
[2026-07-11 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-07-11 19:21: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-07-11 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":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-11 19:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 19:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456646976256001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1833457660149374976},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456646976256001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:21:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833457660149374976,"description":"Unknown IO ID 45"} 
[2026-07-11 19:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456646976256001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833457660149374976}} 
[2026-07-11 19:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":128943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:21:07] local.INFO: GPS data processed {"connection_id":128943,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:21:07] local.INFO: Acknowledgment sent {"connection_id":128943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:21:08] local.INFO: TCP Data received {"connection_id":130908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:21:08] local.INFO: Processing buffer {"connection_id":130908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:21:08] local.INFO: IMEI packet received {"connection_id":130908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":130908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:21:15] local.INFO: TCP Data received {"connection_id":130908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51717978012cc4464007575ab8001800bd2d..."} 
[2026-07-11 19:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51717978012cc4464007575ab8001800bd2d..."} 
[2026-07-11 19:21:15] local.INFO: Processing buffer {"connection_id":130908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51717978012cc4464007575ab8001800bd2d..."} 
[2026-07-11 19:21:15] local.INFO: Packet analysis {"connection_id":130908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:21:15] local.INFO: Extracted packet for processing {"connection_id":130908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:21:15] local.INFO: GPS Element Parsed {"raw_longitude":751060544,"raw_latitude":123165368,"longitude_deg":75.1060544,"latitude_deg":12.3165368,"altitude":24,"angle":189,"satellites":45,"speed":42,"hex_longitude":"2cc44640","hex_latitude":"07575ab8","is_valid_coordinates":true} 
[2026-07-11 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647119616001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345383115117559808,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4301570931303602176,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783777819000,"timestamp_ms":1783777819000,"timestamp_seconds":1783777819,"priority":1,"record_length":96,"hex_timestamp":"0000019f51717978"} 
[2026-07-11 19:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-11 19:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647119616001,"66":27484,"159":206,"85":37120,"24":42,"16":345383115117559808,"44":-4301570931303602176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 19:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647119616001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:21:15] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 19:21:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345383115117559808,"km_value":345383115117559.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:21:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4301570931303602176,"description":"Unknown IO ID 44"} 
[2026-07-11 19:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647119616001,"power":27484,"unknown_159":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4301570931303602176}} 
[2026-07-11 19:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":130908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:21:15] local.INFO: GPS data processed {"connection_id":130908,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:21:15] local.INFO: Acknowledgment sent {"connection_id":130908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:21:38] local.INFO: TCP Data received {"connection_id":128943,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:21:38] local.INFO: Processing buffer {"connection_id":128943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:21:38] local.INFO: Packet analysis {"connection_id":128943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:21:38] local.INFO: Extracted packet for processing {"connection_id":128943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 19:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:21:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":128943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:21:39] local.INFO: GPS data processed {"connection_id":128943,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:21:39] local.INFO: Acknowledgment sent {"connection_id":128943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:21:53] local.INFO: TCP Data received {"connection_id":130908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51718d00012cc4440007574910001900b22c..."} 
[2026-07-11 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51718d00012cc4440007574910001900b22c..."} 
[2026-07-11 19:21:53] local.INFO: Processing buffer {"connection_id":130908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51718d00012cc4440007574910001900b22c..."} 
[2026-07-11 19:21:53] local.INFO: Packet analysis {"connection_id":130908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:21:53] local.INFO: Extracted packet for processing {"connection_id":130908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":751059968,"raw_latitude":123160848,"longitude_deg":75.1059968,"latitude_deg":12.3160848,"altitude":25,"angle":178,"satellites":44,"speed":32,"hex_longitude":"2cc44400","hex_latitude":"07574910","is_valid_coordinates":true} 
[2026-07-11 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647121664001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345383338455859200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4303681993631418368,"note":"Value kept but may cause issues"} 
[2026-07-11 19:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783777824000,"timestamp_ms":1783777824000,"timestamp_seconds":1783777824,"priority":1,"record_length":96,"hex_timestamp":"0000019f51718d00"} 
[2026-07-11 19:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 19:21:53] 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-07-11 19:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647121664001,"66":27213,"159":206,"85":37120,"24":32,"16":345383338455859200,"44":-4303681993631418368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 19:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647121664001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:21:53] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 19:21:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345383338455859200,"km_value":345383338455859.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:21:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4303681993631418368,"description":"Unknown IO ID 44"} 
[2026-07-11 19:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647121664001,"power":27213,"unknown_159":206,"unknown_85":37120,"ignition":32,"odometer":null,"unknown_44":-4303681993631418368}} 
[2026-07-11 19:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":130908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:21:53] local.INFO: GPS data processed {"connection_id":130908,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:21:53] local.INFO: Acknowledgment sent {"connection_id":130908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:21:59] local.INFO: TCP Data received {"connection_id":129666,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:21:59] local.INFO: Processing buffer {"connection_id":129666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:21:59] local.INFO: IMEI packet received {"connection_id":129666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":129666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:22:03] local.INFO: TCP Data received {"connection_id":129667,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:22:03] local.INFO: Processing buffer {"connection_id":129667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:22:03] local.INFO: IMEI packet received {"connection_id":129667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":129667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:22:04] local.INFO: TCP Data received {"connection_id":129667,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:22:04] local.INFO: Processing buffer {"connection_id":129667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:22:04] local.INFO: IMEI packet received {"connection_id":129667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":129667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:22:05] local.INFO: TCP Data received {"connection_id":129666,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:22:05] local.INFO: Processing buffer {"connection_id":129666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:22:05] local.INFO: IMEI packet received {"connection_id":129666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":129666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:22:07] local.INFO: TCP Data received {"connection_id":129666,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:22:07] local.INFO: Processing buffer {"connection_id":129666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:22:07] local.INFO: Packet analysis {"connection_id":129666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:22:07] local.INFO: Extracted packet for processing {"connection_id":129666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 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-07-11 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 19:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:22:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":129666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:22:08] local.INFO: GPS data processed {"connection_id":129666,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:22:08] local.INFO: Acknowledgment sent {"connection_id":129666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:22:08] local.INFO: TCP Data received {"connection_id":129667,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:22:08] local.INFO: Processing buffer {"connection_id":129667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:22:08] local.INFO: IMEI packet received {"connection_id":129667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":129667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:22:09] local.INFO: TCP Data received {"connection_id":129667,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51719ca0012cc4430007573cb0001900bf2d..."} 
[2026-07-11 19:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51719ca0012cc4430007573cb0001900bf2d..."} 
[2026-07-11 19:22:09] local.INFO: Processing buffer {"connection_id":129667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51719ca0012cc4430007573cb0001900bf2d..."} 
[2026-07-11 19:22:09] local.INFO: Packet analysis {"connection_id":129667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:22:09] local.INFO: Extracted packet for processing {"connection_id":129667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:22:09] local.INFO: GPS Element Parsed {"raw_longitude":751059712,"raw_latitude":123157680,"longitude_deg":75.1059712,"latitude_deg":12.315768,"altitude":25,"angle":191,"satellites":45,"speed":31,"hex_longitude":"2cc44300","hex_latitude":"07573cb0","is_valid_coordinates":true} 
[2026-07-11 19:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647122944001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345383493074681856,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4304315312330174464,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777828000,"timestamp_ms":1783777828000,"timestamp_seconds":1783777828,"priority":1,"record_length":96,"hex_timestamp":"0000019f51719ca0"} 
[2026-07-11 19:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 19:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647122944001,"66":27234,"159":206,"85":37120,"24":31,"16":345383493074681856,"44":-4304315312330174464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 19:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647122944001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:22:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 19:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345383493074681856,"km_value":345383493074681.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:22:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4304315312330174464,"description":"Unknown IO ID 44"} 
[2026-07-11 19:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647122944001,"power":27234,"unknown_159":206,"unknown_85":37120,"ignition":31,"odometer":null,"unknown_44":-4304315312330174464}} 
[2026-07-11 19:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":129667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:22:09] local.INFO: GPS data processed {"connection_id":129667,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:22:09] local.INFO: Acknowledgment sent {"connection_id":129667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:22:39] local.INFO: TCP Data received {"connection_id":129666,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:22:39] local.INFO: Processing buffer {"connection_id":129666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:22:39] local.INFO: Packet analysis {"connection_id":129666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:22:39] local.INFO: Extracted packet for processing {"connection_id":129666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 19:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:22:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:22:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":129666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:22:39] local.INFO: GPS data processed {"connection_id":129666,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:22:39] local.INFO: Acknowledgment sent {"connection_id":129666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:22:40] local.INFO: TCP Data received {"connection_id":129667,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171cb80012cc4384007571860001a00c62c..."} 
[2026-07-11 19:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171cb80012cc4384007571860001a00c62c..."} 
[2026-07-11 19:22:40] local.INFO: Processing buffer {"connection_id":129667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171cb80012cc4384007571860001a00c62c..."} 
[2026-07-11 19:22:40] local.INFO: Packet analysis {"connection_id":129667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:22:40] local.INFO: Extracted packet for processing {"connection_id":129667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:22:40] local.INFO: GPS Element Parsed {"raw_longitude":751056960,"raw_latitude":123148384,"longitude_deg":75.105696,"latitude_deg":12.3148384,"altitude":26,"angle":198,"satellites":44,"speed":34,"hex_longitude":"2cc43840","hex_latitude":"07571860","is_valid_coordinates":true} 
[2026-07-11 19:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647123968001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345383961226117120,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4304596787307696128,"note":"Value kept but may cause issues"} 
[2026-07-11 19:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777840000,"timestamp_ms":1783777840000,"timestamp_seconds":1783777840,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171cb80"} 
[2026-07-11 19:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 19:22:40] 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-07-11 19:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647123968001,"66":27234,"160":206,"85":37120,"24":34,"16":345383961226117120,"44":-4304596787307696128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-07-11 19:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647123968001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:22:40] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-11 19:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-11 19:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345383961226117120,"km_value":345383961226117.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:22:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4304596787307696128,"description":"Unknown IO ID 44"} 
[2026-07-11 19:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647123968001,"power":27234,"unknown_160":206,"unknown_85":37120,"ignition":34,"odometer":null,"unknown_44":-4304596787307696128}} 
[2026-07-11 19:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":129667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:22:40] local.INFO: GPS data processed {"connection_id":129667,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:22:40] local.INFO: Acknowledgment sent {"connection_id":129667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:22:44] local.INFO: TCP Data received {"connection_id":129668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:22:44] local.INFO: Processing buffer {"connection_id":129668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:22:44] local.INFO: IMEI packet received {"connection_id":129668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":129668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:22:59] local.INFO: TCP Data received {"connection_id":130909,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:22:59] local.INFO: Processing buffer {"connection_id":130909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:22:59] local.INFO: IMEI packet received {"connection_id":130909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":130909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:23:03] local.INFO: TCP Data received {"connection_id":130910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:23:03] local.INFO: Processing buffer {"connection_id":130910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:23:03] local.INFO: IMEI packet received {"connection_id":130910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":130910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:23:04] local.INFO: TCP Data received {"connection_id":130909,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:23:04] local.INFO: Processing buffer {"connection_id":130909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:23:04] local.INFO: IMEI packet received {"connection_id":130909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":130909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:23:05] local.INFO: TCP Data received {"connection_id":130909,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:23:05] local.INFO: Processing buffer {"connection_id":130909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:23:05] local.INFO: Packet analysis {"connection_id":130909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:23:05] local.INFO: Extracted packet for processing {"connection_id":130909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 19:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:23:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":130909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:23:05] local.INFO: GPS data processed {"connection_id":130909,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:23:05] local.INFO: Acknowledgment sent {"connection_id":130909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:23:08] local.INFO: TCP Data received {"connection_id":130910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:23:08] local.INFO: Processing buffer {"connection_id":130910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:23:08] local.INFO: IMEI packet received {"connection_id":130910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":130910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:23:09] local.INFO: TCP Data received {"connection_id":130910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51731788012cc43340075594e0001200bd2e..."} 
[2026-07-11 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51731788012cc43340075594e0001200bd2e..."} 
[2026-07-11 19:23:09] local.INFO: Processing buffer {"connection_id":130910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51731788012cc43340075594e0001200bd2e..."} 
[2026-07-11 19:23:09] local.INFO: Packet analysis {"connection_id":130910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5173"} 
[2026-07-11 19:23:09] local.INFO: Extracted packet for processing {"connection_id":130910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5173"} 
[2026-07-11 19:23:09] local.INFO: GPS Element Parsed {"raw_longitude":751055680,"raw_latitude":123049184,"longitude_deg":75.105568,"latitude_deg":12.3049184,"altitude":18,"angle":189,"satellites":46,"speed":39,"hex_longitude":"2cc43340","hex_latitude":"075594e0","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647146752001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345388917618376704,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4308537437007167488,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783777925000,"timestamp_ms":1783777925000,"timestamp_seconds":1783777925,"priority":1,"record_length":96,"hex_timestamp":"0000019f51731788"} 
[2026-07-11 19:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647146752001,"66":27267,"33":206,"85":37632,"24":39,"16":345388917618376704,"44":-4308537437007167488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-07-11 19:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647146752001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:23:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-11 19:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345388917618376704,"km_value":345388917618376.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4308537437007167488,"description":"Unknown IO ID 44"} 
[2026-07-11 19:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647146752001,"power":27267,"unknown_33":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-4308537437007167488}} 
[2026-07-11 19:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":130910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:23:09] local.INFO: GPS data processed {"connection_id":130910,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:23:09] local.INFO: Acknowledgment sent {"connection_id":130910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:23:37] local.INFO: TCP Data received {"connection_id":130909,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:23:37] local.INFO: Processing buffer {"connection_id":130909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:23:37] local.INFO: Packet analysis {"connection_id":130909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:23:37] local.INFO: Extracted packet for processing {"connection_id":130909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 19:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:23:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":130909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:23:37] local.INFO: GPS data processed {"connection_id":130909,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:23:37] local.INFO: Acknowledgment sent {"connection_id":130909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:23:40] local.INFO: TCP Data received {"connection_id":130910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517336c8012cc4308007558020001100b12e..."} 
[2026-07-11 19:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517336c8012cc4308007558020001100b12e..."} 
[2026-07-11 19:23:40] local.INFO: Processing buffer {"connection_id":130910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517336c8012cc4308007558020001100b12e..."} 
[2026-07-11 19:23:40] local.INFO: Packet analysis {"connection_id":130910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5173"} 
[2026-07-11 19:23:40] local.INFO: Extracted packet for processing {"connection_id":130910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5173"} 
[2026-07-11 19:23:40] local.INFO: GPS Element Parsed {"raw_longitude":751054976,"raw_latitude":123043872,"longitude_deg":75.1054976,"latitude_deg":12.3043872,"altitude":17,"angle":177,"satellites":46,"speed":19,"hex_longitude":"2cc43080","hex_latitude":"07558020","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647148800001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345389179611381760,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309030018218663936,"note":"Value kept but may cause issues"} 
[2026-07-11 19:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783777933000,"timestamp_ms":1783777933000,"timestamp_seconds":1783777933,"priority":1,"record_length":96,"hex_timestamp":"0000019f517336c8"} 
[2026-07-11 19:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 19:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647148800001,"66":27245,"34":206,"85":37632,"24":19,"16":345389179611381760,"44":-4309030018218663936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-11 19:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647148800001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:23:40] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 19:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345389179611381760,"km_value":345389179611381.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309030018218663936,"description":"Unknown IO ID 44"} 
[2026-07-11 19:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647148800001,"power":27245,"unknown_34":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-4309030018218663936}} 
[2026-07-11 19:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":130910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:23:40] local.INFO: GPS data processed {"connection_id":130910,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:23:40] local.INFO: Acknowledgment sent {"connection_id":130910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:23:59] local.INFO: TCP Data received {"connection_id":128769,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:23:59] local.INFO: Processing buffer {"connection_id":128769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:23:59] local.INFO: IMEI packet received {"connection_id":128769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":128769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:24:03] local.INFO: TCP Data received {"connection_id":129669,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:24:03] local.INFO: Processing buffer {"connection_id":129669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:24:03] local.INFO: IMEI packet received {"connection_id":129669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":129669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:24:04] local.INFO: TCP Data received {"connection_id":128769,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:24:04] local.INFO: Processing buffer {"connection_id":128769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:24:04] local.INFO: IMEI packet received {"connection_id":128769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":128769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:24:05] local.INFO: TCP Data received {"connection_id":129669,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:24:05] local.INFO: Processing buffer {"connection_id":129669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:24:05] local.INFO: IMEI packet received {"connection_id":129669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":129669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:24:06] local.INFO: TCP Data received {"connection_id":128769,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:24:06] local.INFO: Processing buffer {"connection_id":128769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:24:06] local.INFO: Packet analysis {"connection_id":128769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:24:06] local.INFO: Extracted packet for processing {"connection_id":128769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 19:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:24:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":128769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:24:06] local.INFO: GPS data processed {"connection_id":128769,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:24:06] local.INFO: Acknowledgment sent {"connection_id":128769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:24:09] local.INFO: TCP Data received {"connection_id":129669,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:24:09] local.INFO: Processing buffer {"connection_id":129669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:24:09] local.INFO: IMEI packet received {"connection_id":129669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":129669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:24:12] local.INFO: TCP Data received {"connection_id":129669,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51734a50012cc4304007557570001000c12c..."} 
[2026-07-11 19:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51734a50012cc4304007557570001000c12c..."} 
[2026-07-11 19:24:12] local.INFO: Processing buffer {"connection_id":129669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51734a50012cc4304007557570001000c12c..."} 
[2026-07-11 19:24:12] local.INFO: Packet analysis {"connection_id":129669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5173"} 
[2026-07-11 19:24:12] local.INFO: Extracted packet for processing {"connection_id":129669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5173"} 
[2026-07-11 19:24:12] local.INFO: GPS Element Parsed {"raw_longitude":751054912,"raw_latitude":123041136,"longitude_deg":75.1054912,"latitude_deg":12.3041136,"altitude":16,"angle":193,"satellites":44,"speed":25,"hex_longitude":"2cc43040","hex_latitude":"07557570","is_valid_coordinates":true} 
[2026-07-11 19:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647150848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345389312755367936,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309804074405978112,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783777938000,"timestamp_ms":1783777938000,"timestamp_seconds":1783777938,"priority":1,"record_length":96,"hex_timestamp":"0000019f51734a50"} 
[2026-07-11 19:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 19:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647150848001,"66":27484,"34":206,"85":37632,"24":25,"16":345389312755367936,"44":-4309804074405978112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-11 19:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647150848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:24:12] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 19:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345389312755367936,"km_value":345389312755367.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309804074405978112,"description":"Unknown IO ID 44"} 
[2026-07-11 19:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647150848001,"power":27484,"unknown_34":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-4309804074405978112}} 
[2026-07-11 19:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":129669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:24:12] local.INFO: GPS data processed {"connection_id":129669,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:24:12] local.INFO: Acknowledgment sent {"connection_id":129669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:24:38] local.INFO: TCP Data received {"connection_id":128769,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:24:38] local.INFO: Processing buffer {"connection_id":128769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:24:38] local.INFO: Packet analysis {"connection_id":128769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:24:38] local.INFO: Extracted packet for processing {"connection_id":128769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 19:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:24:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":128769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:24:38] local.INFO: GPS data processed {"connection_id":128769,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:24:38] local.INFO: Acknowledgment sent {"connection_id":128769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:24:43] local.INFO: TCP Data received {"connection_id":129669,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5174a210012cc3c9c00753f940000e009d2d..."} 
[2026-07-11 19:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5174a210012cc3c9c00753f940000e009d2d..."} 
[2026-07-11 19:24:43] local.INFO: Processing buffer {"connection_id":129669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5174a210012cc3c9c00753f940000e009d2d..."} 
[2026-07-11 19:24:43] local.INFO: Packet analysis {"connection_id":129669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5174"} 
[2026-07-11 19:24:43] local.INFO: Extracted packet for processing {"connection_id":129669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5174"} 
[2026-07-11 19:24:43] local.INFO: GPS Element Parsed {"raw_longitude":751028672,"raw_latitude":122943808,"longitude_deg":75.1028672,"latitude_deg":12.2943808,"altitude":14,"angle":157,"satellites":45,"speed":50,"hex_longitude":"2cc3c9c0","hex_latitude":"0753f940","is_valid_coordinates":true} 
[2026-07-11 19:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647173120001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345394415176515584,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4341188534333044736,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783778026000,"timestamp_ms":1783778026000,"timestamp_seconds":1783778026,"priority":1,"record_length":96,"hex_timestamp":"0000019f5174a210"} 
[2026-07-11 19:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 19:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647173120001,"66":27213,"4":206,"85":37632,"24":50,"16":345394415176515584,"44":-4341188534333044736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-11 19:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647173120001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:24:43] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-11 19:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345394415176515584,"km_value":345394415176515.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4341188534333044736,"description":"Unknown IO ID 44"} 
[2026-07-11 19:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647173120001,"power":27213,"unknown_4":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-4341188534333044736}} 
[2026-07-11 19:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":129669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:24:43] local.INFO: GPS data processed {"connection_id":129669,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:24:43] local.INFO: Acknowledgment sent {"connection_id":129669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:24:49] local.INFO: TCP Data received {"connection_id":130912,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:24:49] local.INFO: Processing buffer {"connection_id":130912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:24:49] local.INFO: IMEI packet received {"connection_id":130912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":130912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:24:54] local.INFO: TCP Data received {"connection_id":130912,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:24:54] local.INFO: Processing buffer {"connection_id":130912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:24:54] local.INFO: IMEI packet received {"connection_id":130912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":130912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:24:55] local.INFO: TCP Data received {"connection_id":130912,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f51710448012d770a8005d77e680005009c2a..."} 
[2026-07-11 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51710448012d770a8005d77e680005009c2a..."} 
[2026-07-11 19:24:55] local.INFO: Processing buffer {"connection_id":130912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51710448012d770a8005d77e680005009c2a..."} 
[2026-07-11 19:24:55] local.INFO: Packet analysis {"connection_id":130912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:24:55] local.INFO: Extracted packet for processing {"connection_id":130912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":98008680,"longitude_deg":76.2776192,"latitude_deg":9.800868,"altitude":5,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d770a80","hex_latitude":"05d77e68","is_valid_coordinates":true} 
[2026-07-11 19:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647036928001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105183289517539328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809202859108352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783777789000,"timestamp_ms":1783777789000,"timestamp_seconds":1783777789,"priority":1,"record_length":96,"hex_timestamp":"0000019f51710448"} 
[2026-07-11 19:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-11 19:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647036928001,"66":2231,"55":206,"85":15104,"24":0,"16":105183289517539328,"45":8577809202859108352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647036928001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:24:55] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105183289517539328,"km_value":105183289517539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809202859108352,"description":"Unknown IO ID 45"} 
[2026-07-11 19:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647036928001,"power":2231,"unknown_55":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8577809202859108352}} 
[2026-07-11 19:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":130912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:24:55] local.INFO: GPS data processed {"connection_id":130912,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:24:55] local.INFO: Acknowledgment sent {"connection_id":130912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:25:03] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:25:03] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:25:03] local.INFO: IMEI packet received {"connection_id":128945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":128945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:25:04] local.INFO: TCP Data received {"connection_id":128944,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:25:04] local.INFO: Processing buffer {"connection_id":128944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:25:04] local.INFO: IMEI packet received {"connection_id":128944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":128944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:25:08] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:25:08] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:25:08] local.INFO: IMEI packet received {"connection_id":128945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":128945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:25:09] local.INFO: TCP Data received {"connection_id":128944,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:25:09] local.INFO: Processing buffer {"connection_id":128944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:25:09] local.INFO: IMEI packet received {"connection_id":128944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":128944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:25:09] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5174bd68012cc3d9400753d708000b009c2c..."} 
[2026-07-11 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5174bd68012cc3d9400753d708000b009c2c..."} 
[2026-07-11 19:25:09] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5174bd68012cc3d9400753d708000b009c2c..."} 
[2026-07-11 19:25:09] local.INFO: Packet analysis {"connection_id":128945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5174"} 
[2026-07-11 19:25:09] local.INFO: Extracted packet for processing {"connection_id":128945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5174"} 
[2026-07-11 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":751032640,"raw_latitude":122935048,"longitude_deg":75.103264,"latitude_deg":12.2935048,"altitude":11,"angle":156,"satellites":44,"speed":58,"hex_longitude":"2cc3d940","hex_latitude":"0753d708","is_valid_coordinates":true} 
[2026-07-11 19:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647174656001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345394879032983552,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4338725628288614400,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783778033000,"timestamp_ms":1783778033000,"timestamp_seconds":1783778033,"priority":1,"record_length":96,"hex_timestamp":"0000019f5174bd68"} 
[2026-07-11 19:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 19:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647174656001,"66":27267,"4":206,"85":37632,"24":58,"16":345394879032983552,"44":-4338725628288614400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-11 19:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647174656001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:25:09] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-11 19:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345394879032983552,"km_value":345394879032983.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4338725628288614400,"description":"Unknown IO ID 44"} 
[2026-07-11 19:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647174656001,"power":27267,"unknown_4":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4338725628288614400}} 
[2026-07-11 19:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":128945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:25:09] local.INFO: GPS data processed {"connection_id":128945,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:25:09] local.INFO: Acknowledgment sent {"connection_id":128945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:25:10] local.INFO: TCP Data received {"connection_id":128944,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:25:10] local.INFO: Processing buffer {"connection_id":128944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:25:10] local.INFO: Packet analysis {"connection_id":128944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:25:10] local.INFO: Extracted packet for processing {"connection_id":128944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 19:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:25:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:25:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":128944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:25:10] local.INFO: GPS data processed {"connection_id":128944,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:25:10] local.INFO: Acknowledgment sent {"connection_id":128944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:25:15] local.INFO: TCP Data received {"connection_id":128944,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:25:15] local.INFO: Processing buffer {"connection_id":128944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:25:15] local.INFO: Packet analysis {"connection_id":128944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:25:15] local.INFO: Extracted packet for processing {"connection_id":128944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 19:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:25:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:25:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":128944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:25:15] local.INFO: GPS data processed {"connection_id":128944,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:25:15] local.INFO: Acknowledgment sent {"connection_id":128944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:25:40] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5174d4d8012cc3e7400753b6080008009d2c..."} 
[2026-07-11 19:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5174d4d8012cc3e7400753b6080008009d2c..."} 
[2026-07-11 19:25:40] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5174d4d8012cc3e7400753b6080008009d2c..."} 
[2026-07-11 19:25:40] local.INFO: Packet analysis {"connection_id":128945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5174"} 
[2026-07-11 19:25:40] local.INFO: Extracted packet for processing {"connection_id":128945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5174"} 
[2026-07-11 19:25:40] local.INFO: GPS Element Parsed {"raw_longitude":751036224,"raw_latitude":122926600,"longitude_deg":75.1036224,"latitude_deg":12.29266,"altitude":8,"angle":157,"satellites":44,"speed":62,"hex_longitude":"2cc3e740","hex_latitude":"0753b608","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647176448001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345395321414615040,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4334362766151841792,"note":"Value kept but may cause issues"} 
[2026-07-11 19:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783778039000,"timestamp_ms":1783778039000,"timestamp_seconds":1783778039,"priority":1,"record_length":96,"hex_timestamp":"0000019f5174d4d8"} 
[2026-07-11 19:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 19:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647176448001,"66":27332,"4":206,"85":37632,"24":62,"16":345395321414615040,"44":-4334362766151841792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-11 19:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647176448001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:25:40] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-11 19:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345395321414615040,"km_value":345395321414615.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:25:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4334362766151841792,"description":"Unknown IO ID 44"} 
[2026-07-11 19:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647176448001,"power":27332,"unknown_4":206,"unknown_85":37632,"ignition":62,"odometer":null,"unknown_44":-4334362766151841792}} 
[2026-07-11 19:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":128945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:25:40] local.INFO: GPS data processed {"connection_id":128945,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:25:40] local.INFO: Acknowledgment sent {"connection_id":128945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:25:59] local.INFO: TCP Data received {"connection_id":130913,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:25:59] local.INFO: Processing buffer {"connection_id":130913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:25:59] local.INFO: IMEI packet received {"connection_id":130913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":130913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:26:04] local.INFO: TCP Data received {"connection_id":130913,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:26:04] local.INFO: Processing buffer {"connection_id":130913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:26:04] local.INFO: IMEI packet received {"connection_id":130913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":130913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:26:05] local.INFO: TCP Data received {"connection_id":129671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:26:05] local.INFO: Processing buffer {"connection_id":129671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:26:05] local.INFO: IMEI packet received {"connection_id":129671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":129671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:26:06] local.INFO: TCP Data received {"connection_id":130913,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:26:06] local.INFO: Processing buffer {"connection_id":130913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5171fe48012d196680071fef80003b011a2a..."} 
[2026-07-11 19:26:06] local.INFO: Packet analysis {"connection_id":130913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:26:06] local.INFO: Extracted packet for processing {"connection_id":130913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5171"} 
[2026-07-11 19:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647053312001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783777853000,"timestamp_ms":1783777853000,"timestamp_seconds":1783777853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5171fe48"} 
[2026-07-11 19:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647053312001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647053312001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:26:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647053312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":130913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:26:06] local.INFO: GPS data processed {"connection_id":130913,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:26:06] local.INFO: Acknowledgment sent {"connection_id":130913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:26:09] local.INFO: TCP Data received {"connection_id":129671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:26:09] local.INFO: Processing buffer {"connection_id":129671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:26:09] local.INFO: IMEI packet received {"connection_id":129671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":129671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:26:13] local.INFO: TCP Data received {"connection_id":129671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:26:13] local.INFO: Processing buffer {"connection_id":129671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:26:13] local.INFO: IMEI packet received {"connection_id":129671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":129671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:26:14] local.INFO: TCP Data received {"connection_id":129671,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5175f5e8012cc47fc0075244a00007009c2d..."} 
[2026-07-11 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5175f5e8012cc47fc0075244a00007009c2d..."} 
[2026-07-11 19:26:14] local.INFO: Processing buffer {"connection_id":129671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5175f5e8012cc47fc0075244a00007009c2d..."} 
[2026-07-11 19:26:14] local.INFO: Packet analysis {"connection_id":129671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5175"} 
[2026-07-11 19:26:14] local.INFO: Extracted packet for processing {"connection_id":129671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5175"} 
[2026-07-11 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":751075264,"raw_latitude":122832032,"longitude_deg":75.1075264,"latitude_deg":12.2832032,"altitude":7,"angle":156,"satellites":45,"speed":54,"hex_longitude":"2cc47fc0","hex_latitude":"075244a0","is_valid_coordinates":true} 
[2026-07-11 19:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647195136001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345400264921972736,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4291648938460145664,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783778113000,"timestamp_ms":1783778113000,"timestamp_seconds":1783778113,"priority":1,"record_length":96,"hex_timestamp":"0000019f5175f5e8"} 
[2026-07-11 19:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647195136001,"66":27365,"184":206,"85":37632,"24":54,"16":345400264921972736,"44":-4291648938460145664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-11 19:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647195136001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:26:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-11 19:26:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345400264921972736,"km_value":345400264921972.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:26:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4291648938460145664,"description":"Unknown IO ID 44"} 
[2026-07-11 19:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647195136001,"power":27365,"unknown_184":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-4291648938460145664}} 
[2026-07-11 19:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":129671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:26:14] local.INFO: GPS data processed {"connection_id":129671,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:26:14] local.INFO: Acknowledgment sent {"connection_id":129671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:26:14] local.INFO: TCP Data received {"connection_id":129671,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51761140012cc48f40075221800006009c2c..."} 
[2026-07-11 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51761140012cc48f40075221800006009c2c..."} 
[2026-07-11 19:26:14] local.INFO: Processing buffer {"connection_id":129671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51761140012cc48f40075221800006009c2c..."} 
[2026-07-11 19:26:14] local.INFO: Packet analysis {"connection_id":129671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:26:14] local.INFO: Extracted packet for processing {"connection_id":129671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":751079232,"raw_latitude":122823040,"longitude_deg":75.1079232,"latitude_deg":12.282304,"altitude":6,"angle":156,"satellites":44,"speed":56,"hex_longitude":"2cc48f40","hex_latitude":"07522180","is_valid_coordinates":true} 
[2026-07-11 19:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647196928001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345400741663342592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4287497182555889664,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783778120000,"timestamp_ms":1783778120000,"timestamp_seconds":1783778120,"priority":1,"record_length":96,"hex_timestamp":"0000019f51761140"} 
[2026-07-11 19:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 19:26:14] 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-07-11 19:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647196928001,"66":27245,"171":206,"85":37632,"24":56,"16":345400741663342592,"44":-4287497182555889664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647196928001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:26:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:26:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345400741663342592,"km_value":345400741663342.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:26:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4287497182555889664,"description":"Unknown IO ID 44"} 
[2026-07-11 19:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647196928001,"power":27245,"unknown_171":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4287497182555889664}} 
[2026-07-11 19:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":129671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:26:14] local.INFO: GPS data processed {"connection_id":129671,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:26:14] local.INFO: Acknowledgment sent {"connection_id":129671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:26:38] local.INFO: TCP Data received {"connection_id":130913,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:26:38] local.INFO: Processing buffer {"connection_id":130913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:26:38] local.INFO: Packet analysis {"connection_id":130913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:26:38] local.INFO: Extracted packet for processing {"connection_id":130913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:26: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-07-11 19:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:26:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:26:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":130913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:26:38] local.INFO: GPS data processed {"connection_id":130913,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:26:38] local.INFO: Acknowledgment sent {"connection_id":130913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:26:46] local.INFO: TCP Data received {"connection_id":129671,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51762c98012cc49ec00751fe080007009d2c..."} 
[2026-07-11 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51762c98012cc49ec00751fe080007009d2c..."} 
[2026-07-11 19:26:46] local.INFO: Processing buffer {"connection_id":129671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51762c98012cc49ec00751fe080007009d2c..."} 
[2026-07-11 19:26:46] local.INFO: Packet analysis {"connection_id":129671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:26:46] local.INFO: Extracted packet for processing {"connection_id":129671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:26:46] local.INFO: GPS Element Parsed {"raw_longitude":751083200,"raw_latitude":122813960,"longitude_deg":75.10832,"latitude_deg":12.281396,"altitude":7,"angle":157,"satellites":44,"speed":56,"hex_longitude":"2cc49ec0","hex_latitude":"0751fe08","is_valid_coordinates":true} 
[2026-07-11 19:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647198720001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345401218404712448,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4283134320419176448,"note":"Value kept but may cause issues"} 
[2026-07-11 19:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783778127000,"timestamp_ms":1783778127000,"timestamp_seconds":1783778127,"priority":1,"record_length":96,"hex_timestamp":"0000019f51762c98"} 
[2026-07-11 19:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 19:26:46] 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-07-11 19:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647198720001,"66":27332,"171":206,"85":37632,"24":56,"16":345401218404712448,"44":-4283134320419176448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647198720001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:26:46] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345401218404712448,"km_value":345401218404712.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:26:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4283134320419176448,"description":"Unknown IO ID 44"} 
[2026-07-11 19:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647198720001,"power":27332,"unknown_171":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4283134320419176448}} 
[2026-07-11 19:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":129671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:26:46] local.INFO: GPS data processed {"connection_id":129671,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:26:46] local.INFO: Acknowledgment sent {"connection_id":129671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:26:59] local.INFO: TCP Data received {"connection_id":130914,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:26:59] local.INFO: Processing buffer {"connection_id":130914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:26:59] local.INFO: IMEI packet received {"connection_id":130914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":130914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:27:02] local.INFO: TCP Data received {"connection_id":130915,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:27:02] local.INFO: Processing buffer {"connection_id":130915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:27:02] local.INFO: IMEI packet received {"connection_id":130915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":130915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:27:03] local.INFO: TCP Data received {"connection_id":130915,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:27:03] local.INFO: Processing buffer {"connection_id":130915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:27:03] local.INFO: IMEI packet received {"connection_id":130915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":130915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:27:04] local.INFO: TCP Data received {"connection_id":130914,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:27:04] local.INFO: Processing buffer {"connection_id":130914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:27:04] local.INFO: IMEI packet received {"connection_id":130914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":130914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:27:05] local.INFO: TCP Data received {"connection_id":130914,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:27:05] local.INFO: Processing buffer {"connection_id":130914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:27:05] local.INFO: Packet analysis {"connection_id":130914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:27:05] local.INFO: Extracted packet for processing {"connection_id":130914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":130914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:27:06] local.INFO: GPS data processed {"connection_id":130914,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:27:06] local.INFO: Acknowledgment sent {"connection_id":130914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:27:08] local.INFO: TCP Data received {"connection_id":130915,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:27:08] local.INFO: Processing buffer {"connection_id":130915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:27:08] local.INFO: IMEI packet received {"connection_id":130915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":130915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:27:09] local.INFO: TCP Data received {"connection_id":130915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517647f0012cc4ae000751da300007009e2d..."} 
[2026-07-11 19:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517647f0012cc4ae000751da300007009e2d..."} 
[2026-07-11 19:27:09] local.INFO: Processing buffer {"connection_id":130915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517647f0012cc4ae000751da300007009e2d..."} 
[2026-07-11 19:27:09] local.INFO: Packet analysis {"connection_id":130915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:27:09] local.INFO: Extracted packet for processing {"connection_id":130915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:27:09] local.INFO: GPS Element Parsed {"raw_longitude":751087104,"raw_latitude":122804784,"longitude_deg":75.1087104,"latitude_deg":12.2804784,"altitude":7,"angle":158,"satellites":45,"speed":56,"hex_longitude":"2cc4ae00","hex_latitude":"0751da30","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647200512001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345401703736016896,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4278771458282485760,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783778134000,"timestamp_ms":1783778134000,"timestamp_seconds":1783778134,"priority":1,"record_length":96,"hex_timestamp":"0000019f517647f0"} 
[2026-07-11 19:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647200512001,"66":27300,"171":206,"85":37632,"24":56,"16":345401703736016896,"44":-4278771458282485760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647200512001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:27:09] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345401703736016896,"km_value":345401703736016.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:27:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4278771458282485760,"description":"Unknown IO ID 44"} 
[2026-07-11 19:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647200512001,"power":27300,"unknown_171":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4278771458282485760}} 
[2026-07-11 19:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":130915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:27:09] local.INFO: GPS data processed {"connection_id":130915,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:27:09] local.INFO: Acknowledgment sent {"connection_id":130915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:27:37] local.INFO: TCP Data received {"connection_id":130914,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:27:37] local.INFO: Processing buffer {"connection_id":130914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:27:37] local.INFO: Packet analysis {"connection_id":130914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:27:37] local.INFO: Extracted packet for processing {"connection_id":130914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:27:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":130914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:27:37] local.INFO: GPS data processed {"connection_id":130914,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:27:37] local.INFO: Acknowledgment sent {"connection_id":130914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:27:40] local.INFO: TCP Data received {"connection_id":130915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51766348012cc4bd400751b6180007009d2d..."} 
[2026-07-11 19:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51766348012cc4bd400751b6180007009d2d..."} 
[2026-07-11 19:27:40] local.INFO: Processing buffer {"connection_id":130915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51766348012cc4bd400751b6180007009d2d..."} 
[2026-07-11 19:27:40] local.INFO: Packet analysis {"connection_id":130915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:27:40] local.INFO: Extracted packet for processing {"connection_id":130915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:27:40] local.INFO: GPS Element Parsed {"raw_longitude":751091008,"raw_latitude":122795544,"longitude_deg":75.1091008,"latitude_deg":12.2795544,"altitude":7,"angle":157,"satellites":45,"speed":56,"hex_longitude":"2cc4bd40","hex_latitude":"0751b618","is_valid_coordinates":true} 
[2026-07-11 19:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647202304001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345402184772354048,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4274478964889997312,"note":"Value kept but may cause issues"} 
[2026-07-11 19:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783778141000,"timestamp_ms":1783778141000,"timestamp_seconds":1783778141,"priority":1,"record_length":96,"hex_timestamp":"0000019f51766348"} 
[2026-07-11 19:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 19:27: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-07-11 19:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647202304001,"66":27376,"171":206,"85":37632,"24":56,"16":345402184772354048,"44":-4274478964889997312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647202304001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:27:40] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345402184772354048,"km_value":345402184772354.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4274478964889997312,"description":"Unknown IO ID 44"} 
[2026-07-11 19:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647202304001,"power":27376,"unknown_171":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4274478964889997312}} 
[2026-07-11 19:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":130915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:27:40] local.INFO: GPS data processed {"connection_id":130915,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:27:40] local.INFO: Acknowledgment sent {"connection_id":130915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:27:59] local.INFO: TCP Data received {"connection_id":128946,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:27:59] local.INFO: Processing buffer {"connection_id":128946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:27:59] local.INFO: IMEI packet received {"connection_id":128946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":128946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:28:04] local.INFO: TCP Data received {"connection_id":128947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:28:04] local.INFO: Processing buffer {"connection_id":128947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:28:04] local.INFO: IMEI packet received {"connection_id":128947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":128947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:28:04] local.INFO: TCP Data received {"connection_id":128946,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:28:04] local.INFO: Processing buffer {"connection_id":128946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:28:04] local.INFO: IMEI packet received {"connection_id":128946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":128946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:28:04] local.INFO: TCP Data received {"connection_id":128947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:28:04] local.INFO: Processing buffer {"connection_id":128947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:28:04] local.INFO: IMEI packet received {"connection_id":128947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":128947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:28:05] local.INFO: TCP Data received {"connection_id":128946,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:28:05] local.INFO: Processing buffer {"connection_id":128946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:28:05] local.INFO: Packet analysis {"connection_id":128946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:28:05] local.INFO: Extracted packet for processing {"connection_id":128946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:28:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":128946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:28:05] local.INFO: GPS data processed {"connection_id":128946,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:28:05] local.INFO: Acknowledgment sent {"connection_id":128946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:28:08] local.INFO: TCP Data received {"connection_id":128947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:28:08] local.INFO: Processing buffer {"connection_id":128947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:28:08] local.INFO: IMEI packet received {"connection_id":128947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":128947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:28:09] local.INFO: TCP Data received {"connection_id":128947,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51767ea0012cc4cbc0075191f80006009d2d..."} 
[2026-07-11 19:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51767ea0012cc4cbc0075191f80006009d2d..."} 
[2026-07-11 19:28:09] local.INFO: Processing buffer {"connection_id":128947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51767ea0012cc4cbc0075191f80006009d2d..."} 
[2026-07-11 19:28:09] local.INFO: Packet analysis {"connection_id":128947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:28:09] local.INFO: Extracted packet for processing {"connection_id":128947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:28:09] local.INFO: GPS Element Parsed {"raw_longitude":751094720,"raw_latitude":122786296,"longitude_deg":75.109472,"latitude_deg":12.2786296,"altitude":6,"angle":157,"satellites":45,"speed":56,"hex_longitude":"2cc4cbc0","hex_latitude":"075191f8","is_valid_coordinates":true} 
[2026-07-11 19:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647204096001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345402670103658496,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4270186471497525248,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783778148000,"timestamp_ms":1783778148000,"timestamp_seconds":1783778148,"priority":1,"record_length":96,"hex_timestamp":"0000019f51767ea0"} 
[2026-07-11 19:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647204096001,"66":27517,"171":206,"85":37632,"24":56,"16":345402670103658496,"44":-4270186471497525248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647204096001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:28:09] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345402670103658496,"km_value":345402670103658.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4270186471497525248,"description":"Unknown IO ID 44"} 
[2026-07-11 19:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647204096001,"power":27517,"unknown_171":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4270186471497525248}} 
[2026-07-11 19:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":128947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:28:09] local.INFO: GPS data processed {"connection_id":128947,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:28:09] local.INFO: Acknowledgment sent {"connection_id":128947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:28:25] local.INFO: TCP Data received {"connection_id":128770,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:28:25] local.INFO: Processing buffer {"connection_id":128770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:28:25] local.INFO: IMEI packet received {"connection_id":128770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":128770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:28:37] local.INFO: TCP Data received {"connection_id":128946,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:28:37] local.INFO: Processing buffer {"connection_id":128946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:28:37] local.INFO: Packet analysis {"connection_id":128946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:28:37] local.INFO: Extracted packet for processing {"connection_id":128946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:28:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":128946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:28:38] local.INFO: GPS data processed {"connection_id":128946,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:28:38] local.INFO: Acknowledgment sent {"connection_id":128946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:28:40] local.INFO: TCP Data received {"connection_id":128947,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517699f8012cc4da4007516f780006009e2d..."} 
[2026-07-11 19:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517699f8012cc4da4007516f780006009e2d..."} 
[2026-07-11 19:28:40] local.INFO: Processing buffer {"connection_id":128947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517699f8012cc4da4007516f780006009e2d..."} 
[2026-07-11 19:28:40] local.INFO: Packet analysis {"connection_id":128947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:28:40] local.INFO: Extracted packet for processing {"connection_id":128947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":751098432,"raw_latitude":122777464,"longitude_deg":75.1098432,"latitude_deg":12.2777464,"altitude":6,"angle":158,"satellites":45,"speed":47,"hex_longitude":"2cc4da40","hex_latitude":"07516f78","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647205888001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345403129665159168,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4266105084337588224,"note":"Value kept but may cause issues"} 
[2026-07-11 19:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783778155000,"timestamp_ms":1783778155000,"timestamp_seconds":1783778155,"priority":1,"record_length":96,"hex_timestamp":"0000019f517699f8"} 
[2026-07-11 19:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 19:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647205888001,"66":27343,"171":206,"85":37632,"24":47,"16":345403129665159168,"44":-4266105084337588224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647205888001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:28:40] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345403129665159168,"km_value":345403129665159.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4266105084337588224,"description":"Unknown IO ID 44"} 
[2026-07-11 19:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647205888001,"power":27343,"unknown_171":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-4266105084337588224}} 
[2026-07-11 19:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":128947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:28:40] local.INFO: GPS data processed {"connection_id":128947,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:28:40] local.INFO: Acknowledgment sent {"connection_id":128947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:28:44] local.INFO: TCP Data received {"connection_id":129673,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:28:44] local.INFO: Processing buffer {"connection_id":129673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:28:44] local.INFO: IMEI packet received {"connection_id":129673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":129673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:29:04] local.INFO: TCP Data received {"connection_id":130916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:29:04] local.INFO: Processing buffer {"connection_id":130916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:29:04] local.INFO: IMEI packet received {"connection_id":130916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":130916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:29:04] local.INFO: TCP Data received {"connection_id":130916,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130916,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:29:04] local.INFO: Processing buffer {"connection_id":130916,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:29:04] local.INFO: IMEI packet received {"connection_id":130916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":130916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:29:04] local.INFO: TCP Data received {"connection_id":128771,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:29:04] local.INFO: Processing buffer {"connection_id":128771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:29:04] local.INFO: IMEI packet received {"connection_id":128771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":128771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:29:08] local.INFO: TCP Data received {"connection_id":130916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:29:08] local.INFO: Processing buffer {"connection_id":130916,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:29:08] local.INFO: IMEI packet received {"connection_id":130916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":130916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:29:09] local.INFO: TCP Data received {"connection_id":130916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5176b938012cc4e74007514dc80006009e2d..."} 
[2026-07-11 19:29:09] local.INFO: TCP Data received {"connection_id":128771,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5176b938012cc4e74007514dc80006009e2d..."} 
[2026-07-11 19:29:09] local.INFO: Processing buffer {"connection_id":130916,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f51..."} 
[2026-07-11 19:29:09] local.INFO: IMEI packet received {"connection_id":130916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":130916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:29:09] local.INFO: Processing buffer {"connection_id":128771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:29:09] local.INFO: IMEI packet received {"connection_id":128771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":128771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:29:11] local.INFO: TCP Data received {"connection_id":128771,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:29:11] local.INFO: Processing buffer {"connection_id":128771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:29:11] local.INFO: Packet analysis {"connection_id":128771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:29:11] local.INFO: Extracted packet for processing {"connection_id":128771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:29:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":128771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:29:11] local.INFO: GPS data processed {"connection_id":128771,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:29:11] local.INFO: Acknowledgment sent {"connection_id":128771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:29:14] local.INFO: TCP Data received {"connection_id":130916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5176dc60012cc4f40007512cd80005009f2d..."} 
[2026-07-11 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5176dc60012cc4f40007512cd80005009f2d..."} 
[2026-07-11 19:29:14] local.INFO: Processing buffer {"connection_id":130916,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5176b938012cc4e74007514dc80006009e2d..."} 
[2026-07-11 19:29:14] local.INFO: Packet analysis {"connection_id":130916,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:29:14] local.INFO: Extracted packet for processing {"connection_id":130916,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":751101760,"raw_latitude":122768840,"longitude_deg":75.110176,"latitude_deg":12.276884,"altitude":6,"angle":158,"satellites":45,"speed":43,"hex_longitude":"2cc4e740","hex_latitude":"07514dc8","is_valid_coordinates":true} 
[2026-07-11 19:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207680001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345403576341757952,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4262023697177544704,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783778163000,"timestamp_ms":1783778163000,"timestamp_seconds":1783778163,"priority":1,"record_length":96,"hex_timestamp":"0000019f5176b938"} 
[2026-07-11 19:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:29:14] 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-07-11 19:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207680001,"66":27539,"171":206,"85":37632,"24":43,"16":345403576341757952,"44":-4262023697177544704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207680001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:29:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345403576341757952,"km_value":345403576341757.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4262023697177544704,"description":"Unknown IO ID 44"} 
[2026-07-11 19:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207680001,"power":27539,"unknown_171":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-4262023697177544704}} 
[2026-07-11 19:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":130916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:29:14] local.INFO: GPS data processed {"connection_id":130916,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:29:14] local.INFO: Acknowledgment sent {"connection_id":130916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:29:14] local.INFO: Packet analysis {"connection_id":130916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:29:14] local.INFO: Extracted packet for processing {"connection_id":130916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":751105024,"raw_latitude":122760408,"longitude_deg":75.1105024,"latitude_deg":12.2760408,"altitude":5,"angle":159,"satellites":45,"speed":34,"hex_longitude":"2cc4f400","hex_latitude":"07512cd8","is_valid_coordinates":true} 
[2026-07-11 19:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647209728001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345404014428422144,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4258364522482513920,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783778172000,"timestamp_ms":1783778172000,"timestamp_seconds":1783778172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5176dc60"} 
[2026-07-11 19:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 19:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647209728001,"66":27463,"171":206,"85":37632,"24":34,"16":345404014428422144,"44":-4258364522482513920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647209728001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:29:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345404014428422144,"km_value":345404014428422.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4258364522482513920,"description":"Unknown IO ID 44"} 
[2026-07-11 19:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647209728001,"power":27463,"unknown_171":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-4258364522482513920}} 
[2026-07-11 19:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":130916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:29:14] local.INFO: GPS data processed {"connection_id":130916,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:29:14] local.INFO: Acknowledgment sent {"connection_id":130916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:29:15] local.INFO: TCP Data received {"connection_id":128771,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:29:15] local.INFO: Processing buffer {"connection_id":128771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:29:15] local.INFO: Packet analysis {"connection_id":128771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:29:15] local.INFO: Extracted packet for processing {"connection_id":128771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:29:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:29:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":128771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:29:15] local.INFO: GPS data processed {"connection_id":128771,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:29:15] local.INFO: Acknowledgment sent {"connection_id":128771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:29:45] local.INFO: TCP Data received {"connection_id":130916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51770758012cc4fcc0075112b0000500ac2c..."} 
[2026-07-11 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51770758012cc4fcc0075112b0000500ac2c..."} 
[2026-07-11 19:29:45] local.INFO: Processing buffer {"connection_id":130916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51770758012cc4fcc0075112b0000500ac2c..."} 
[2026-07-11 19:29:45] local.INFO: Packet analysis {"connection_id":130916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5177"} 
[2026-07-11 19:29:45] local.INFO: Extracted packet for processing {"connection_id":130916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5177"} 
[2026-07-11 19:29:45] local.INFO: GPS Element Parsed {"raw_longitude":751107264,"raw_latitude":122753712,"longitude_deg":75.1107264,"latitude_deg":12.2753712,"altitude":5,"angle":172,"satellites":44,"speed":18,"hex_longitude":"2cc4fcc0","hex_latitude":"075112b0","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647212032001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345404358025805824,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4254775716531611648,"note":"Value kept but may cause issues"} 
[2026-07-11 19:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783778183000,"timestamp_ms":1783778183000,"timestamp_seconds":1783778183,"priority":1,"record_length":96,"hex_timestamp":"0000019f51770758"} 
[2026-07-11 19:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 19:29: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-07-11 19: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-07-11 19:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647212032001,"66":27321,"171":206,"85":37632,"24":18,"16":345404358025805824,"44":-4254775716531611648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647212032001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:29:45] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345404358025805824,"km_value":345404358025805.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4254775716531611648,"description":"Unknown IO ID 44"} 
[2026-07-11 19:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647212032001,"power":27321,"unknown_171":206,"unknown_85":37632,"ignition":18,"odometer":null,"unknown_44":-4254775716531611648}} 
[2026-07-11 19:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":130916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:29:45] local.INFO: GPS data processed {"connection_id":130916,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:29:45] local.INFO: Acknowledgment sent {"connection_id":130916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:29:59] local.INFO: TCP Data received {"connection_id":129674,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:29:59] local.INFO: Processing buffer {"connection_id":129674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:29:59] local.INFO: IMEI packet received {"connection_id":129674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":129674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:30:03] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:30:03] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:30:03] local.INFO: IMEI packet received {"connection_id":128948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":128948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:30:04] local.INFO: TCP Data received {"connection_id":129674,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:30:04] local.INFO: Processing buffer {"connection_id":129674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:30:04] local.INFO: IMEI packet received {"connection_id":129674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":129674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:30:05] local.INFO: TCP Data received {"connection_id":129674,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:30:05] local.INFO: Processing buffer {"connection_id":129674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:30:05] local.INFO: Packet analysis {"connection_id":129674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:30:05] local.INFO: Extracted packet for processing {"connection_id":129674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:30:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":129674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:30:06] local.INFO: GPS data processed {"connection_id":129674,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:30:06] local.INFO: Acknowledgment sent {"connection_id":129674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:30:06] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:30:06] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:30:06] local.INFO: IMEI packet received {"connection_id":128948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":128948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:30:08] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:30:08] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:30:08] local.INFO: IMEI packet received {"connection_id":128948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":128948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:30:10] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51775960012cc502400750f768000500a62c..."} 
[2026-07-11 19:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51775960012cc502400750f768000500a62c..."} 
[2026-07-11 19:30:10] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51775960012cc502400750f768000500a62c..."} 
[2026-07-11 19:30:10] local.INFO: Packet analysis {"connection_id":128948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5177"} 
[2026-07-11 19:30:10] local.INFO: Extracted packet for processing {"connection_id":128948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5177"} 
[2026-07-11 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":751108672,"raw_latitude":122746728,"longitude_deg":75.1108672,"latitude_deg":12.2746728,"altitude":5,"angle":166,"satellites":44,"speed":15,"hex_longitude":"2cc50240","hex_latitude":"0750f768","is_valid_coordinates":true} 
[2026-07-11 19:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647214848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345404705918156800,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4252312810487107584,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783778204000,"timestamp_ms":1783778204000,"timestamp_seconds":1783778204,"priority":1,"record_length":96,"hex_timestamp":"0000019f51775960"} 
[2026-07-11 19:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 19:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647214848001,"66":27310,"171":206,"85":37632,"24":15,"16":345404705918156800,"44":-4252312810487107584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647214848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:30:10] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345404705918156800,"km_value":345404705918156.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4252312810487107584,"description":"Unknown IO ID 44"} 
[2026-07-11 19:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647214848001,"power":27310,"unknown_171":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4252312810487107584}} 
[2026-07-11 19:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":128948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:30:10] local.INFO: GPS data processed {"connection_id":128948,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:30:10] local.INFO: Acknowledgment sent {"connection_id":128948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:30:37] local.INFO: TCP Data received {"connection_id":129674,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:30:37] local.INFO: Processing buffer {"connection_id":129674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:30:37] local.INFO: Packet analysis {"connection_id":129674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:30:37] local.INFO: Extracted packet for processing {"connection_id":129674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:30:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":129674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:30:37] local.INFO: GPS data processed {"connection_id":129674,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:30:37] local.INFO: Acknowledgment sent {"connection_id":129674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:30:41] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5177a780012cc50c400750d5f8000700a12c..."} 
[2026-07-11 19:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5177a780012cc50c400750d5f8000700a12c..."} 
[2026-07-11 19:30:41] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5177a780012cc50c400750d5f8000700a12c..."} 
[2026-07-11 19:30:41] local.INFO: Packet analysis {"connection_id":128948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5177"} 
[2026-07-11 19:30:41] local.INFO: Extracted packet for processing {"connection_id":128948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5177"} 
[2026-07-11 19:30:41] local.INFO: GPS Element Parsed {"raw_longitude":751111232,"raw_latitude":122738168,"longitude_deg":75.1111232,"latitude_deg":12.2738168,"altitude":7,"angle":161,"satellites":44,"speed":15,"hex_longitude":"2cc50c40","hex_latitude":"0750d5f8","is_valid_coordinates":true} 
[2026-07-11 19:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647220224001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345405135414886400,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4250764698116986880,"note":"Value kept but may cause issues"} 
[2026-07-11 19:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783778224000,"timestamp_ms":1783778224000,"timestamp_seconds":1783778224,"priority":1,"record_length":96,"hex_timestamp":"0000019f5177a780"} 
[2026-07-11 19:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 19:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647220224001,"66":27300,"171":206,"85":37632,"24":15,"16":345405135414886400,"44":-4250764698116986880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647220224001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:30:41] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345405135414886400,"km_value":345405135414886.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4250764698116986880,"description":"Unknown IO ID 44"} 
[2026-07-11 19:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647220224001,"power":27300,"unknown_171":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4250764698116986880}} 
[2026-07-11 19:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":128948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:30:41] local.INFO: GPS data processed {"connection_id":128948,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:30:41] local.INFO: Acknowledgment sent {"connection_id":128948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:30:59] local.INFO: TCP Data received {"connection_id":128949,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:30:59] local.INFO: Processing buffer {"connection_id":128949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:30:59] local.INFO: IMEI packet received {"connection_id":128949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":128949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:31:04] local.INFO: TCP Data received {"connection_id":128949,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:31:04] local.INFO: Processing buffer {"connection_id":128949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:31:04] local.INFO: IMEI packet received {"connection_id":128949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":128949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:31:05] local.INFO: TCP Data received {"connection_id":128949,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:31:05] local.INFO: Processing buffer {"connection_id":128949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51769610012d196680071fef80003b011a2a..."} 
[2026-07-11 19:31:05] local.INFO: Packet analysis {"connection_id":128949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:31:05] local.INFO: Extracted packet for processing {"connection_id":128949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5176"} 
[2026-07-11 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647130368001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778154000,"timestamp_ms":1783778154000,"timestamp_seconds":1783778154,"priority":1,"record_length":96,"hex_timestamp":"0000019f51769610"} 
[2026-07-11 19:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647130368001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647130368001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647130368001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":128949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:31:05] local.INFO: GPS data processed {"connection_id":128949,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:31:05] local.INFO: Acknowledgment sent {"connection_id":128949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:31:08] local.INFO: TCP Data received {"connection_id":129675,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:31:08] local.INFO: Processing buffer {"connection_id":129675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:31:08] local.INFO: IMEI packet received {"connection_id":129675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":129675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:31:13] local.INFO: TCP Data received {"connection_id":129675,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:31:13] local.INFO: Processing buffer {"connection_id":129675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:31:13] local.INFO: IMEI packet received {"connection_id":129675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":129675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:31:14] local.INFO: TCP Data received {"connection_id":129675,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5177f988012cc514c00750ba88000a00a22c..."} 
[2026-07-11 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5177f988012cc514c00750ba88000a00a22c..."} 
[2026-07-11 19:31:14] local.INFO: Processing buffer {"connection_id":129675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5177f988012cc514c00750ba88000a00a22c..."} 
[2026-07-11 19:31:14] local.INFO: Packet analysis {"connection_id":129675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5177"} 
[2026-07-11 19:31:14] local.INFO: Extracted packet for processing {"connection_id":129675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5177"} 
[2026-07-11 19:31:14] local.INFO: GPS Element Parsed {"raw_longitude":751113408,"raw_latitude":122731144,"longitude_deg":75.1113408,"latitude_deg":12.2731144,"altitude":10,"angle":162,"satellites":44,"speed":13,"hex_longitude":"2cc514c0","hex_latitude":"0750ba88","is_valid_coordinates":true} 
[2026-07-11 19:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647225344001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345405496192139264,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4247949948352071680,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783778245000,"timestamp_ms":1783778245000,"timestamp_seconds":1783778245,"priority":1,"record_length":96,"hex_timestamp":"0000019f5177f988"} 
[2026-07-11 19:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 19:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647225344001,"66":27300,"171":206,"85":37632,"24":13,"16":345405496192139264,"44":-4247949948352071680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647225344001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:31:14] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:31:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345405496192139264,"km_value":345405496192139.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:31:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4247949948352071680,"description":"Unknown IO ID 44"} 
[2026-07-11 19:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647225344001,"power":27300,"unknown_171":206,"unknown_85":37632,"ignition":13,"odometer":null,"unknown_44":-4247949948352071680}} 
[2026-07-11 19:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":129675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:31:14] local.INFO: GPS data processed {"connection_id":129675,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:31:14] local.INFO: Acknowledgment sent {"connection_id":129675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:31:18] local.INFO: TCP Data received {"connection_id":129675,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f51784b90012cc51ec007509d68000a009f2c..."} 
[2026-07-11 19:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51784b90012cc51ec007509d68000a009f2c..."} 
[2026-07-11 19:31:18] local.INFO: Processing buffer {"connection_id":129675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51784b90012cc51ec007509d68000a009f2c..."} 
[2026-07-11 19:31:18] local.INFO: Packet analysis {"connection_id":129675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5178"} 
[2026-07-11 19:31:18] local.INFO: Extracted packet for processing {"connection_id":129675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5178"} 
[2026-07-11 19:31:18] local.INFO: GPS Element Parsed {"raw_longitude":751115968,"raw_latitude":122723688,"longitude_deg":75.1115968,"latitude_deg":12.2723688,"altitude":10,"angle":159,"satellites":44,"speed":17,"hex_longitude":"2cc51ec0","hex_latitude":"07509d68","is_valid_coordinates":true} 
[2026-07-11 19:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647230720001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345405878444228608,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4245557411051829248,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783778266000,"timestamp_ms":1783778266000,"timestamp_seconds":1783778266,"priority":1,"record_length":96,"hex_timestamp":"0000019f51784b90"} 
[2026-07-11 19:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 19:31:18] 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-07-11 19:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647230720001,"66":27376,"171":206,"85":37632,"24":17,"16":345405878444228608,"44":-4245557411051829248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-11 19:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647230720001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:31:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-11 19:31:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345405878444228608,"km_value":345405878444228.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:31:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4245557411051829248,"description":"Unknown IO ID 44"} 
[2026-07-11 19:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647230720001,"power":27376,"unknown_171":206,"unknown_85":37632,"ignition":17,"odometer":null,"unknown_44":-4245557411051829248}} 
[2026-07-11 19:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":129675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:31:18] local.INFO: GPS data processed {"connection_id":129675,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:31:18] local.INFO: Acknowledgment sent {"connection_id":129675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:31:37] local.INFO: TCP Data received {"connection_id":128949,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:31:37] local.INFO: Processing buffer {"connection_id":128949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:31:37] local.INFO: Packet analysis {"connection_id":128949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:31:37] local.INFO: Extracted packet for processing {"connection_id":128949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:31:37] 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-07-11 19:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:31:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":128949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:31:37] local.INFO: GPS data processed {"connection_id":128949,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:31:37] local.INFO: Acknowledgment sent {"connection_id":128949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:32:03] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:32:03] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:32:03] local.INFO: IMEI packet received {"connection_id":128950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":128950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:32:04] local.INFO: TCP Data received {"connection_id":128772,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:32:04] local.INFO: Processing buffer {"connection_id":128772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:32:04] local.INFO: IMEI packet received {"connection_id":128772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":128772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:32:08] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:32:08] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:32:08] local.INFO: IMEI packet received {"connection_id":128950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":128950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:32:09] local.INFO: TCP Data received {"connection_id":128772,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:32:09] local.INFO: Processing buffer {"connection_id":128772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:32:09] local.INFO: IMEI packet received {"connection_id":128772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":128772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:32:09] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b31c0012cc5a840074f6610000500842c..."} 
[2026-07-11 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b31c0012cc5a840074f6610000500842c..."} 
[2026-07-11 19:32:09] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b31c0012cc5a840074f6610000500842c..."} 
[2026-07-11 19:32:09] local.INFO: Packet analysis {"connection_id":128950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:09] local.INFO: Extracted packet for processing {"connection_id":128950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:09] local.INFO: GPS Element Parsed {"raw_longitude":751151168,"raw_latitude":122643984,"longitude_deg":75.1151168,"latitude_deg":12.2643984,"altitude":5,"angle":132,"satellites":44,"speed":12,"hex_longitude":"2cc5a840","hex_latitude":"074f6610","is_valid_coordinates":true} 
[2026-07-11 19:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647283968001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345410104692047872,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4204743539450875904,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783778456000,"timestamp_ms":1783778456000,"timestamp_seconds":1783778456,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b31c0"} 
[2026-07-11 19:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647283968001,"66":27332,"121":206,"85":37632,"24":12,"16":345410104692047872,"44":-4204743539450875904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-11 19:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647283968001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:32:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345410104692047872,"km_value":345410104692047.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4204743539450875904,"description":"Unknown IO ID 44"} 
[2026-07-11 19:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647283968001,"power":27332,"unknown_121":206,"unknown_85":37632,"ignition":12,"odometer":null,"unknown_44":-4204743539450875904}} 
[2026-07-11 19:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":128950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:32:09] local.INFO: GPS data processed {"connection_id":128950,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:32:09] local.INFO: Acknowledgment sent {"connection_id":128950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:32:10] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b4160012cc5ac40074f6250000600912c..."} 
[2026-07-11 19:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b4160012cc5ac40074f6250000600912c..."} 
[2026-07-11 19:32:10] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b4160012cc5ac40074f6250000600912c..."} 
[2026-07-11 19:32:10] local.INFO: Packet analysis {"connection_id":128950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:10] local.INFO: Extracted packet for processing {"connection_id":128950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:10] local.INFO: GPS Element Parsed {"raw_longitude":751152192,"raw_latitude":122643024,"longitude_deg":75.1152192,"latitude_deg":12.2643024,"altitude":6,"angle":145,"satellites":44,"speed":13,"hex_longitude":"2cc5ac40","hex_latitude":"074f6250","is_valid_coordinates":true} 
[2026-07-11 19:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284736001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345410169116557312,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4204039852009320448,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783778460000,"timestamp_ms":1783778460000,"timestamp_seconds":1783778460,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b4160"} 
[2026-07-11 19:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284736001,"66":27267,"121":206,"85":37632,"24":13,"16":345410169116557312,"44":-4204039852009320448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-11 19:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284736001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:32:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345410169116557312,"km_value":345410169116557.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4204039852009320448,"description":"Unknown IO ID 44"} 
[2026-07-11 19:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284736001,"power":27267,"unknown_121":206,"unknown_85":37632,"ignition":13,"odometer":null,"unknown_44":-4204039852009320448}} 
[2026-07-11 19:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:32:10] local.INFO: GPS data processed {"connection_id":128950,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:32:10] local.INFO: Acknowledgment sent {"connection_id":128950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:32:10] local.INFO: TCP Data received {"connection_id":128772,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:32:10] local.INFO: Processing buffer {"connection_id":128772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:32:10] local.INFO: Packet analysis {"connection_id":128772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:10] local.INFO: Extracted packet for processing {"connection_id":128772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:32:10] 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-07-11 19:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:32:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:32:10] local.INFO: GPS data processed {"connection_id":128772,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:32:10] local.INFO: Acknowledgment sent {"connection_id":128772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:32:15] local.INFO: TCP Data received {"connection_id":128772,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:32:15] local.INFO: Processing buffer {"connection_id":128772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:32:15] local.INFO: Packet analysis {"connection_id":128772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:15] local.INFO: Extracted packet for processing {"connection_id":128772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:32:15] 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-07-11 19:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:32:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:32:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":128772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:32:15] local.INFO: GPS data processed {"connection_id":128772,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:32:15] local.INFO: Acknowledgment sent {"connection_id":128772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:32:41] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b4d18012cc5ae40074f5e480007009f2c..."} 
[2026-07-11 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b4d18012cc5ae40074f5e480007009f2c..."} 
[2026-07-11 19:32:41] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b4d18012cc5ae40074f5e480007009f2c..."} 
[2026-07-11 19:32:41] local.INFO: Packet analysis {"connection_id":128950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:41] local.INFO: Extracted packet for processing {"connection_id":128950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":751152704,"raw_latitude":122641992,"longitude_deg":75.1152704,"latitude_deg":12.2641992,"altitude":7,"angle":159,"satellites":44,"speed":17,"hex_longitude":"2cc5ae40","hex_latitude":"074f5e48","is_valid_coordinates":true} 
[2026-07-11 19:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647285760001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345410224951132160,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4202913952102723584,"note":"Value kept but may cause issues"} 
[2026-07-11 19:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783778463000,"timestamp_ms":1783778463000,"timestamp_seconds":1783778463,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b4d18"} 
[2026-07-11 19:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 19:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647285760001,"66":27365,"121":206,"85":37632,"24":17,"16":345410224951132160,"44":-4202913952102723584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-11 19:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647285760001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:32:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345410224951132160,"km_value":345410224951132.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4202913952102723584,"description":"Unknown IO ID 44"} 
[2026-07-11 19:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647285760001,"power":27365,"unknown_121":206,"unknown_85":37632,"ignition":17,"odometer":null,"unknown_44":-4202913952102723584}} 
[2026-07-11 19:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":128950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:32:41] local.INFO: GPS data processed {"connection_id":128950,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:32:41] local.INFO: Acknowledgment sent {"connection_id":128950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:32:59] local.INFO: TCP Data received {"connection_id":129677,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:32:59] local.INFO: Processing buffer {"connection_id":129677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:32:59] local.INFO: IMEI packet received {"connection_id":129677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":129677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:33:03] local.INFO: TCP Data received {"connection_id":130920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:33:03] local.INFO: Processing buffer {"connection_id":130920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:33:03] local.INFO: IMEI packet received {"connection_id":130920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":130920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:33:04] local.INFO: TCP Data received {"connection_id":129677,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:33:04] local.INFO: Processing buffer {"connection_id":129677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:33:04] local.INFO: IMEI packet received {"connection_id":129677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":129677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:33:05] local.INFO: TCP Data received {"connection_id":129677,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:33:05] local.INFO: Processing buffer {"connection_id":129677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:33:05] local.INFO: Packet analysis {"connection_id":129677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:33:05] local.INFO: Extracted packet for processing {"connection_id":129677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:33:05] 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-07-11 19:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:33:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":129677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:33:05] local.INFO: GPS data processed {"connection_id":129677,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:33:05] local.INFO: Acknowledgment sent {"connection_id":129677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:33:06] local.INFO: TCP Data received {"connection_id":130920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:33:06] local.INFO: Processing buffer {"connection_id":130920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:33:06] local.INFO: IMEI packet received {"connection_id":130920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":130920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:33:06] local.INFO: TCP Data received {"connection_id":130920,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b7fe0012cc5b700074f3ec8000700aa2c..."} 
[2026-07-11 19:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b7fe0012cc5b700074f3ec8000700aa2c..."} 
[2026-07-11 19:33:06] local.INFO: Processing buffer {"connection_id":130920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b7fe0012cc5b700074f3ec8000700aa2c..."} 
[2026-07-11 19:33:06] local.INFO: Packet analysis {"connection_id":130920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:33:06] local.INFO: Extracted packet for processing {"connection_id":130920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":751154944,"raw_latitude":122633928,"longitude_deg":75.1154944,"latitude_deg":12.2633928,"altitude":7,"angle":170,"satellites":44,"speed":31,"hex_longitude":"2cc5b700","hex_latitude":"074f3ec8","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647286528001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345410632973025280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4202351002149566464,"note":"Value kept but may cause issues"} 
[2026-07-11 19:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783778476000,"timestamp_ms":1783778476000,"timestamp_seconds":1783778476,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b7fe0"} 
[2026-07-11 19:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 19:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647286528001,"66":27376,"121":206,"85":37632,"24":31,"16":345410632973025280,"44":-4202351002149566464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-11 19:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647286528001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:33:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345410632973025280,"km_value":345410632973025.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4202351002149566464,"description":"Unknown IO ID 44"} 
[2026-07-11 19:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647286528001,"power":27376,"unknown_121":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-4202351002149566464}} 
[2026-07-11 19:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":130920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:33:06] local.INFO: GPS data processed {"connection_id":130920,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:33:06] local.INFO: Acknowledgment sent {"connection_id":130920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:33:37] local.INFO: TCP Data received {"connection_id":129677,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:33:37] local.INFO: Processing buffer {"connection_id":129677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:33:37] local.INFO: Packet analysis {"connection_id":129677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:33:37] local.INFO: Extracted packet for processing {"connection_id":129677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:33:37] 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-07-11 19:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:33:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":129677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:33:37] local.INFO: GPS data processed {"connection_id":129677,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:33:37] local.INFO: Acknowledgment sent {"connection_id":129677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:33:37] local.INFO: TCP Data received {"connection_id":130920,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e010000019f517cdf70012cc65780074dbaf8000900822c..."} 
[2026-07-11 19:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130920,"packet_length":93,"packet_hex":"00000000000000518e010000019f517cdf70012cc65780074dbaf8000900822c..."} 
[2026-07-11 19:33:37] local.INFO: Processing buffer {"connection_id":130920,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f517cdf70012cc65780074dbaf8000900822c..."} 
[2026-07-11 19:33:37] local.INFO: Packet analysis {"connection_id":130920,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f517c"} 
[2026-07-11 19:33:37] local.INFO: Extracted packet for processing {"connection_id":130920,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f517c"} 
[2026-07-11 19:33:37] local.INFO: GPS Element Parsed {"raw_longitude":751196032,"raw_latitude":122534648,"longitude_deg":75.1196032,"latitude_deg":12.2534648,"altitude":9,"angle":130,"satellites":44,"speed":51,"hex_longitude":"2cc65780","hex_latitude":"074dbaf8","is_valid_coordinates":true} 
[2026-07-11 19:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-11 19:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:33:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:33:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-11 19:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130920,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-11 19:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130920,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-11 19:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130920,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-11 19:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-11 19:33:37] local.WARNING: DEBUG: No valid data to process  
[2026-07-11 19:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":130920,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-11 19:33:37] local.ERROR: GPS data processing failed {"connection_id":130920,"error":"No valid data to process"} 
[2026-07-11 19:33:37] local.INFO: Acknowledgment sent {"connection_id":130920,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-11 19:33:59] local.INFO: TCP Data received {"connection_id":129679,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:33:59] local.INFO: Processing buffer {"connection_id":129679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:33:59] local.INFO: IMEI packet received {"connection_id":129679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":129679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:34:04] local.INFO: TCP Data received {"connection_id":128773,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:34:04] local.INFO: Processing buffer {"connection_id":128773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:34:04] local.INFO: IMEI packet received {"connection_id":128773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":128773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:34:04] local.INFO: TCP Data received {"connection_id":129679,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:34:04] local.INFO: Processing buffer {"connection_id":129679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:34:04] local.INFO: IMEI packet received {"connection_id":129679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":129679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:34:04] local.INFO: TCP Data received {"connection_id":128773,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:34:04] local.INFO: Processing buffer {"connection_id":128773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:34:04] local.INFO: IMEI packet received {"connection_id":128773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":128773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:34:05] local.INFO: TCP Data received {"connection_id":129678,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:34:05] local.INFO: Processing buffer {"connection_id":129678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:34:05] local.INFO: IMEI packet received {"connection_id":129678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":129678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:34:05] local.INFO: TCP Data received {"connection_id":129679,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:34:05] local.INFO: Processing buffer {"connection_id":129679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:34:05] local.INFO: Packet analysis {"connection_id":129679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:34:05] local.INFO: Extracted packet for processing {"connection_id":129679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:34:05] 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-07-11 19: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-07-11 19:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:34:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":129679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:34:05] local.INFO: GPS data processed {"connection_id":129679,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:34:05] local.INFO: Acknowledgment sent {"connection_id":129679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:34:08] local.INFO: TCP Data received {"connection_id":128773,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:34:08] local.INFO: Processing buffer {"connection_id":128773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:34:08] local.INFO: IMEI packet received {"connection_id":128773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":128773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:34:09] local.INFO: TCP Data received {"connection_id":128773,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517cef10012cc66940074dafc0000800742c..."} 
[2026-07-11 19:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517cef10012cc66940074dafc0000800742c..."} 
[2026-07-11 19:34:09] local.INFO: Processing buffer {"connection_id":128773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517cef10012cc66940074dafc0000800742c..."} 
[2026-07-11 19:34:09] local.INFO: Packet analysis {"connection_id":128773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517c"} 
[2026-07-11 19:34:09] local.INFO: Extracted packet for processing {"connection_id":128773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517c"} 
[2026-07-11 19:34:09] local.INFO: GPS Element Parsed {"raw_longitude":751200576,"raw_latitude":122531776,"longitude_deg":75.1200576,"latitude_deg":12.2531776,"altitude":8,"angle":116,"satellites":44,"speed":53,"hex_longitude":"2cc66940","hex_latitude":"074dafc0","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647312896001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345416117646262272,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4154711362368768000,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783778570000,"timestamp_ms":1783778570000,"timestamp_seconds":1783778570,"priority":1,"record_length":96,"hex_timestamp":"0000019f517cef10"} 
[2026-07-11 19:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647312896001,"66":27332,"89":206,"85":37632,"24":53,"16":345416117646262272,"44":-4154711362368768000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 19:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647312896001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:34:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 19:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345416117646262272,"km_value":345416117646262.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4154711362368768000,"description":"Unknown IO ID 44"} 
[2026-07-11 19:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647312896001,"power":27332,"unknown_89":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-4154711362368768000}} 
[2026-07-11 19:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":128773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:34:09] local.INFO: GPS data processed {"connection_id":128773,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:34:09] local.INFO: Acknowledgment sent {"connection_id":128773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:34:37] local.INFO: TCP Data received {"connection_id":129679,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:34:37] local.INFO: Processing buffer {"connection_id":129679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:34:37] local.INFO: Packet analysis {"connection_id":129679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:34:37] local.INFO: Extracted packet for processing {"connection_id":129679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:34:37] 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-07-11 19:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:34:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":129679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:34:37] local.INFO: GPS data processed {"connection_id":129679,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:34:37] local.INFO: Acknowledgment sent {"connection_id":129679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:34:40] local.INFO: TCP Data received {"connection_id":128773,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517cfeb0012cc67c00074da950000700662c..."} 
[2026-07-11 19:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517cfeb0012cc67c00074da950000700662c..."} 
[2026-07-11 19:34:40] local.INFO: Processing buffer {"connection_id":128773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517cfeb0012cc67c00074da950000700662c..."} 
[2026-07-11 19:34:40] local.INFO: Packet analysis {"connection_id":128773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517c"} 
[2026-07-11 19:34:40] local.INFO: Extracted packet for processing {"connection_id":128773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517c"} 
[2026-07-11 19:34:40] local.INFO: GPS Element Parsed {"raw_longitude":751205376,"raw_latitude":122530128,"longitude_deg":75.1205376,"latitude_deg":12.2530128,"altitude":7,"angle":102,"satellites":44,"speed":48,"hex_longitude":"2cc67c00","hex_latitude":"074da950","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647313920001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345416358164430848,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4149715181532889088,"note":"Value kept but may cause issues"} 
[2026-07-11 19:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783778574000,"timestamp_ms":1783778574000,"timestamp_seconds":1783778574,"priority":1,"record_length":96,"hex_timestamp":"0000019f517cfeb0"} 
[2026-07-11 19:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647313920001,"66":27463,"89":206,"85":37632,"24":48,"16":345416358164430848,"44":-4149715181532889088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 19:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647313920001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:34:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 19:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345416358164430848,"km_value":345416358164430.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4149715181532889088,"description":"Unknown IO ID 44"} 
[2026-07-11 19:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647313920001,"power":27463,"unknown_89":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-4149715181532889088}} 
[2026-07-11 19:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":128773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:34:40] local.INFO: GPS data processed {"connection_id":128773,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:34:40] local.INFO: Acknowledgment sent {"connection_id":128773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:34:44] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:34:44] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:34:44] local.INFO: IMEI packet received {"connection_id":128951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":128951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:34:59] local.INFO: TCP Data received {"connection_id":128774,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:34:59] local.INFO: Processing buffer {"connection_id":128774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:34:59] local.INFO: IMEI packet received {"connection_id":128774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":128774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:35:01] local.INFO: TCP Data received {"connection_id":130921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:35:01] local.INFO: Processing buffer {"connection_id":130921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:35:01] local.INFO: IMEI packet received {"connection_id":130921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":130921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:35:04] local.INFO: TCP Data received {"connection_id":130921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:35:04] local.INFO: TCP Data received {"connection_id":128774,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:35:04] local.INFO: Processing buffer {"connection_id":130921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:35:04] local.INFO: IMEI packet received {"connection_id":130921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":130921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:35:04] local.INFO: Processing buffer {"connection_id":128774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:35:04] local.INFO: IMEI packet received {"connection_id":128774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:35:05] local.INFO: TCP Data received {"connection_id":128774,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:35:05] local.INFO: Processing buffer {"connection_id":128774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:35:05] local.INFO: Packet analysis {"connection_id":128774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:35:05] local.INFO: Extracted packet for processing {"connection_id":128774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:35:05] 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-07-11 19:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":128774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:35:05] local.INFO: GPS data processed {"connection_id":128774,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:35:05] local.INFO: Acknowledgment sent {"connection_id":128774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:35:08] local.INFO: TCP Data received {"connection_id":130921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:35:08] local.INFO: Processing buffer {"connection_id":130921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:35:08] local.INFO: IMEI packet received {"connection_id":130921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":130921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:35:09] local.INFO: TCP Data received {"connection_id":130921,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517d21d8012cc6a0c0074da2280006006a2a..."} 
[2026-07-11 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517d21d8012cc6a0c0074da2280006006a2a..."} 
[2026-07-11 19:35:09] local.INFO: Processing buffer {"connection_id":130921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517d21d8012cc6a0c0074da2280006006a2a..."} 
[2026-07-11 19:35:09] local.INFO: Packet analysis {"connection_id":130921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517d"} 
[2026-07-11 19:35:09] local.INFO: Extracted packet for processing {"connection_id":130921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517d"} 
[2026-07-11 19:35:09] local.INFO: GPS Element Parsed {"raw_longitude":751214784,"raw_latitude":122528296,"longitude_deg":75.1214784,"latitude_deg":12.2528296,"altitude":6,"angle":106,"satellites":42,"speed":29,"hex_longitude":"2cc6a0c0","hex_latitude":"074da228","is_valid_coordinates":true} 
[2026-07-11 19:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647314944001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345416813430964224,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4144437525719986176,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783778583000,"timestamp_ms":1783778583000,"timestamp_seconds":1783778583,"priority":1,"record_length":96,"hex_timestamp":"0000019f517d21d8"} 
[2026-07-11 19:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 19:35: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-07-11 19:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647314944001,"66":27321,"89":206,"85":37632,"24":29,"16":345416813430964224,"44":-4144437525719986176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 19:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647314944001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:35:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 19:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345416813430964224,"km_value":345416813430964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4144437525719986176,"description":"Unknown IO ID 44"} 
[2026-07-11 19:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647314944001,"power":27321,"unknown_89":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-4144437525719986176}} 
[2026-07-11 19:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":130921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:35:09] local.INFO: GPS data processed {"connection_id":130921,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:35:09] local.INFO: Acknowledgment sent {"connection_id":130921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:35:32] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:35:32] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:35:32] local.INFO: IMEI packet received {"connection_id":130922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":130922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:35:34] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:35:34] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:35:34] local.INFO: IMEI packet received {"connection_id":130922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":130922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:35:35] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.15","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:35:35] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:35:35] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":130923,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-11 19:35:37] local.INFO: TCP Data received {"connection_id":128774,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:35:37] local.INFO: Processing buffer {"connection_id":128774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:35:37] local.INFO: Packet analysis {"connection_id":128774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:35:37] local.INFO: Extracted packet for processing {"connection_id":128774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:35:37] 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-07-11 19:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":128774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:35:37] local.INFO: GPS data processed {"connection_id":128774,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:35:37] local.INFO: Acknowledgment sent {"connection_id":128774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:35:39] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:35:39] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:35:39] local.INFO: IMEI packet received {"connection_id":130922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":130922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:35:39] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f517ea878012d77758005d3c138000000aa27..."} 
[2026-07-11 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517ea878012d77758005d3c138000000aa27..."} 
[2026-07-11 19:35:39] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517ea878012d77758005d3c138000000aa27..."} 
[2026-07-11 19:35:39] local.INFO: Packet analysis {"connection_id":130922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517e"} 
[2026-07-11 19:35:39] local.INFO: Extracted packet for processing {"connection_id":130922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517e"} 
[2026-07-11 19:35:39] local.INFO: GPS Element Parsed {"raw_longitude":762803584,"raw_latitude":97763640,"longitude_deg":76.2803584,"latitude_deg":9.776364,"altitude":0,"angle":170,"satellites":39,"speed":22,"hex_longitude":"2d777580","hex_latitude":"05d3c138","is_valid_coordinates":true} 
[2026-07-11 19:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647338240001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105195628958580736,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8605534488004605952,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783778683000,"timestamp_ms":1783778683000,"timestamp_seconds":1783778683,"priority":1,"record_length":96,"hex_timestamp":"0000019f517ea878"} 
[2026-07-11 19:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-11 19:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647338240001,"66":11917,"55":206,"85":15104,"24":22,"16":105195628958580736,"45":8605534488004605952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647338240001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:35:39] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105195628958580736,"km_value":105195628958580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8605534488004605952,"description":"Unknown IO ID 45"} 
[2026-07-11 19:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647338240001,"power":11917,"unknown_55":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8605534488004605952}} 
[2026-07-11 19:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":130922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:35:39] local.INFO: GPS data processed {"connection_id":130922,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:35:39] local.INFO: Acknowledgment sent {"connection_id":130922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:35:40] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.15","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:35:40] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:35:40] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":130923,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-11 19:35:40] local.INFO: TCP Data received {"connection_id":130921,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517d5c70012cc6c200074d95e0000600732b..."} 
[2026-07-11 19:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517d5c70012cc6c200074d95e0000600732b..."} 
[2026-07-11 19:35:40] local.INFO: Processing buffer {"connection_id":130921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517d5c70012cc6c200074d95e0000600732b..."} 
[2026-07-11 19:35:40] local.INFO: Packet analysis {"connection_id":130921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517d"} 
[2026-07-11 19:35:40] local.INFO: Extracted packet for processing {"connection_id":130921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517d"} 
[2026-07-11 19:35:40] local.INFO: GPS Element Parsed {"raw_longitude":751223296,"raw_latitude":122525152,"longitude_deg":75.1223296,"latitude_deg":12.2525152,"altitude":6,"angle":115,"satellites":43,"speed":19,"hex_longitude":"2cc6c200","hex_latitude":"074d95e0","is_valid_coordinates":true} 
[2026-07-11 19:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647317248001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345417247222661120,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4134093320326338560,"note":"Value kept but may cause issues"} 
[2026-07-11 19:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783778598000,"timestamp_ms":1783778598000,"timestamp_seconds":1783778598,"priority":1,"record_length":96,"hex_timestamp":"0000019f517d5c70"} 
[2026-07-11 19:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 19:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647317248001,"66":27343,"89":206,"85":37632,"24":19,"16":345417247222661120,"44":-4134093320326338560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 19:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647317248001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:35:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 19:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345417247222661120,"km_value":345417247222661.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4134093320326338560,"description":"Unknown IO ID 44"} 
[2026-07-11 19:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647317248001,"power":27343,"unknown_89":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-4134093320326338560}} 
[2026-07-11 19:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":130921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:35:40] local.INFO: GPS data processed {"connection_id":130921,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:35:40] local.INFO: Acknowledgment sent {"connection_id":130921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:36:03] local.INFO: TCP Data received {"connection_id":129681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:36:03] local.INFO: Processing buffer {"connection_id":129681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:36:03] local.INFO: IMEI packet received {"connection_id":129681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":129681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:36:04] local.INFO: TCP Data received {"connection_id":128952,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:36:04] local.INFO: Processing buffer {"connection_id":128952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:36:04] local.INFO: IMEI packet received {"connection_id":128952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":128952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:36:08] local.INFO: TCP Data received {"connection_id":129681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:36:08] local.INFO: Processing buffer {"connection_id":129681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:36:08] local.INFO: IMEI packet received {"connection_id":129681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":129681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:36:09] local.INFO: TCP Data received {"connection_id":128952,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:36:09] local.INFO: Processing buffer {"connection_id":128952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:36:09] local.INFO: IMEI packet received {"connection_id":128952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":128952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:36:09] local.INFO: TCP Data received {"connection_id":129681,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517d7bb0012cc6d140074d8d400004007e2c..."} 
[2026-07-11 19:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517d7bb0012cc6d140074d8d400004007e2c..."} 
[2026-07-11 19:36:09] local.INFO: Processing buffer {"connection_id":129681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517d7bb0012cc6d140074d8d400004007e2c..."} 
[2026-07-11 19:36:09] local.INFO: Packet analysis {"connection_id":129681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517d"} 
[2026-07-11 19:36:09] local.INFO: Extracted packet for processing {"connection_id":129681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517d"} 
[2026-07-11 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":751227200,"raw_latitude":122522944,"longitude_deg":75.12272,"latitude_deg":12.2522944,"altitude":4,"angle":126,"satellites":44,"speed":23,"hex_longitude":"2cc6d140","hex_latitude":"074d8d40","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647321088001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345417457676058624,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4124734277351514112,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783778606000,"timestamp_ms":1783778606000,"timestamp_seconds":1783778606,"priority":1,"record_length":96,"hex_timestamp":"0000019f517d7bb0"} 
[2026-07-11 19:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647321088001,"66":27376,"89":206,"85":37632,"24":23,"16":345417457676058624,"44":-4124734277351514112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 19:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647321088001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:36:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 19:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345417457676058624,"km_value":345417457676058.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4124734277351514112,"description":"Unknown IO ID 44"} 
[2026-07-11 19:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647321088001,"power":27376,"unknown_89":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-4124734277351514112}} 
[2026-07-11 19:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":129681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:36:09] local.INFO: GPS data processed {"connection_id":129681,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:36:09] local.INFO: Acknowledgment sent {"connection_id":129681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:36:10] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.15","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:36:10] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:36:10] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":130923,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-11 19:36:10] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f517ed370012d777b0005d3ab600000009d29..."} 
[2026-07-11 19:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517ed370012d777b0005d3ab600000009d29..."} 
[2026-07-11 19:36:10] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517ed370012d777b0005d3ab600000009d29..."} 
[2026-07-11 19:36:10] local.INFO: Packet analysis {"connection_id":130922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517e"} 
[2026-07-11 19:36:10] local.INFO: Extracted packet for processing {"connection_id":130922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517e"} 
[2026-07-11 19:36:10] local.INFO: GPS Element Parsed {"raw_longitude":762804992,"raw_latitude":97758048,"longitude_deg":76.2804992,"latitude_deg":9.7758048,"altitude":0,"angle":157,"satellites":41,"speed":10,"hex_longitude":"2d777b00","hex_latitude":"05d3ab60","is_valid_coordinates":true} 
[2026-07-11 19:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647342848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105195912426422272,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8607927025304418304,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783778694000,"timestamp_ms":1783778694000,"timestamp_seconds":1783778694,"priority":1,"record_length":96,"hex_timestamp":"0000019f517ed370"} 
[2026-07-11 19:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 19:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647342848001,"66":11917,"55":206,"85":15104,"24":10,"16":105195912426422272,"45":8607927025304418304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647342848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:36:10] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105195912426422272,"km_value":105195912426422.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8607927025304418304,"description":"Unknown IO ID 45"} 
[2026-07-11 19:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647342848001,"power":11917,"unknown_55":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8607927025304418304}} 
[2026-07-11 19:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":130922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:36:10] local.INFO: GPS data processed {"connection_id":130922,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:36:10] local.INFO: Acknowledgment sent {"connection_id":130922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:36:11] local.INFO: TCP Data received {"connection_id":128952,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:36:11] local.INFO: Processing buffer {"connection_id":128952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:36:11] local.INFO: Packet analysis {"connection_id":128952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:36:11] local.INFO: Extracted packet for processing {"connection_id":128952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:36:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":128952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:36:11] local.INFO: GPS data processed {"connection_id":128952,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:36:11] local.INFO: Acknowledgment sent {"connection_id":128952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:36:14] local.INFO: TCP Data received {"connection_id":128952,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:36:14] local.INFO: Processing buffer {"connection_id":128952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517b2dd8012d196680071fef80003b011a27..."} 
[2026-07-11 19:36:14] local.INFO: Packet analysis {"connection_id":128952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:36:14] local.INFO: Extracted packet for processing {"connection_id":128952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517b"} 
[2026-07-11 19:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647207424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783778455000,"timestamp_ms":1783778455000,"timestamp_seconds":1783778455,"priority":1,"record_length":96,"hex_timestamp":"0000019f517b2dd8"} 
[2026-07-11 19:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647207424001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647207424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:36:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647207424001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":128952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:36:14] local.INFO: GPS data processed {"connection_id":128952,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:36:14] local.INFO: Acknowledgment sent {"connection_id":128952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:36:34] local.INFO: TCP Data received {"connection_id":128775,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:36:34] local.INFO: Processing buffer {"connection_id":128775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:36:34] local.INFO: IMEI packet received {"connection_id":128775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":128775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:36:39] local.INFO: TCP Data received {"connection_id":128775,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:36:39] local.INFO: Processing buffer {"connection_id":128775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:36:39] local.INFO: IMEI packet received {"connection_id":128775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":128775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:36:40] local.INFO: TCP Data received {"connection_id":128775,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f517ed758012d777bc005d3aa800000008d29..."} 
[2026-07-11 19:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517ed758012d777bc005d3aa800000008d29..."} 
[2026-07-11 19:36:40] local.INFO: Processing buffer {"connection_id":128775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517ed758012d777bc005d3aa800000008d29..."} 
[2026-07-11 19:36:40] local.INFO: Packet analysis {"connection_id":128775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517e"} 
[2026-07-11 19:36:40] local.INFO: Extracted packet for processing {"connection_id":128775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517e"} 
[2026-07-11 19:36:40] local.INFO: GPS Element Parsed {"raw_longitude":762805184,"raw_latitude":97757824,"longitude_deg":76.2805184,"latitude_deg":9.7757824,"altitude":0,"angle":141,"satellites":41,"speed":9,"hex_longitude":"2d777bc0","hex_latitude":"05d3aa80","is_valid_coordinates":true} 
[2026-07-11 19:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647345664001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105195925311324160,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8609475137674895360,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783778695000,"timestamp_ms":1783778695000,"timestamp_seconds":1783778695,"priority":1,"record_length":96,"hex_timestamp":"0000019f517ed758"} 
[2026-07-11 19:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:36:40] 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-07-11 19:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 19:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647345664001,"66":11917,"55":206,"85":15104,"24":9,"16":105195925311324160,"45":8609475137674895360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-07-11 19:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647345664001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:36:40] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-11 19:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105195925311324160,"km_value":105195925311324.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8609475137674895360,"description":"Unknown IO ID 45"} 
[2026-07-11 19:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647345664001,"power":11917,"unknown_55":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8609475137674895360}} 
[2026-07-11 19:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":128775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:36:40] local.INFO: GPS data processed {"connection_id":128775,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:36:40] local.INFO: Acknowledgment sent {"connection_id":128775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:36:40] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.15","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:36:40] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-07-11 19:36:40] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":130923,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-07-11 19:36:43] local.INFO: TCP Data received {"connection_id":129681,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517dbe18012cc6ef40074d79480005007a2b..."} 
[2026-07-11 19:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517dbe18012cc6ef40074d79480005007a2b..."} 
[2026-07-11 19:36:43] local.INFO: Processing buffer {"connection_id":129681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517dbe18012cc6ef40074d79480005007a2b..."} 
[2026-07-11 19:36:43] local.INFO: Packet analysis {"connection_id":129681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517d"} 
[2026-07-11 19:36:43] local.INFO: Extracted packet for processing {"connection_id":129681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517d"} 
[2026-07-11 19:36:43] local.INFO: GPS Element Parsed {"raw_longitude":751234880,"raw_latitude":122517832,"longitude_deg":75.123488,"latitude_deg":12.2517832,"altitude":5,"angle":122,"satellites":43,"speed":17,"hex_longitude":"2cc6ef40","hex_latitude":"074d7948","is_valid_coordinates":true} 
[2026-07-11 19:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647323136001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345417900057690112,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4120441783957241856,"note":"Value kept but may cause issues"} 
[2026-07-11 19:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783778623000,"timestamp_ms":1783778623000,"timestamp_seconds":1783778623,"priority":1,"record_length":96,"hex_timestamp":"0000019f517dbe18"} 
[2026-07-11 19:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:36:43] 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-07-11 19:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647323136001,"66":27365,"89":206,"85":37632,"24":17,"16":345417900057690112,"44":-4120441783957241856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 19:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647323136001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:36:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 19:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345417900057690112,"km_value":345417900057690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4120441783957241856,"description":"Unknown IO ID 44"} 
[2026-07-11 19:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647323136001,"power":27365,"unknown_89":206,"unknown_85":37632,"ignition":17,"odometer":null,"unknown_44":-4120441783957241856}} 
[2026-07-11 19:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":129681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:36:43] local.INFO: GPS data processed {"connection_id":129681,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:36:43] local.INFO: Acknowledgment sent {"connection_id":129681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:36:59] local.INFO: TCP Data received {"connection_id":130924,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:36:59] local.INFO: Processing buffer {"connection_id":130924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:36:59] local.INFO: IMEI packet received {"connection_id":130924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":130924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:37:03] local.INFO: TCP Data received {"connection_id":128953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:37:03] local.INFO: Processing buffer {"connection_id":128953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:37:03] local.INFO: IMEI packet received {"connection_id":128953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":128953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:37:04] local.INFO: TCP Data received {"connection_id":130924,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:37:04] local.INFO: Processing buffer {"connection_id":130924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:37:04] local.INFO: IMEI packet received {"connection_id":130924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":130924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:37:05] local.INFO: TCP Data received {"connection_id":130924,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:37:05] local.INFO: Processing buffer {"connection_id":130924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:37:05] local.INFO: Packet analysis {"connection_id":130924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:37:05] local.INFO: Extracted packet for processing {"connection_id":130924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 19:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:37:05] 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-07-11 19:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:37:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":130924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:37:05] local.INFO: GPS data processed {"connection_id":130924,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:37:05] local.INFO: Acknowledgment sent {"connection_id":130924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:37:08] local.INFO: TCP Data received {"connection_id":128953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:37:08] local.INFO: Processing buffer {"connection_id":128953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:37:08] local.INFO: IMEI packet received {"connection_id":128953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":128953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:37:10] local.INFO: TCP Data received {"connection_id":128953,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f517e0c38012cc70e80074d6728000700792c..."} 
[2026-07-11 19:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517e0c38012cc70e80074d6728000700792c..."} 
[2026-07-11 19:37:10] local.INFO: Processing buffer {"connection_id":128953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517e0c38012cc70e80074d6728000700792c..."} 
[2026-07-11 19:37:10] local.INFO: Packet analysis {"connection_id":128953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517e"} 
[2026-07-11 19:37:10] local.INFO: Extracted packet for processing {"connection_id":128953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517e"} 
[2026-07-11 19:37:10] local.INFO: GPS Element Parsed {"raw_longitude":751242880,"raw_latitude":122513192,"longitude_deg":75.124288,"latitude_deg":12.2513192,"altitude":7,"angle":121,"satellites":44,"speed":16,"hex_longitude":"2cc70e80","hex_latitude":"074d6728","is_valid_coordinates":true} 
[2026-07-11 19:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647327488001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345418342439321600,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4111997534657230848,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783778643000,"timestamp_ms":1783778643000,"timestamp_seconds":1783778643,"priority":1,"record_length":96,"hex_timestamp":"0000019f517e0c38"} 
[2026-07-11 19:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 19:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647327488001,"66":27321,"89":206,"85":37632,"24":16,"16":345418342439321600,"44":-4111997534657230848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-11 19:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647327488001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:37:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 19:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345418342439321600,"km_value":345418342439321.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4111997534657230848,"description":"Unknown IO ID 44"} 
[2026-07-11 19:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647327488001,"power":27321,"unknown_89":206,"unknown_85":37632,"ignition":16,"odometer":null,"unknown_44":-4111997534657230848}} 
[2026-07-11 19:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":128953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:37:10] local.INFO: GPS data processed {"connection_id":128953,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:37:10] local.INFO: Acknowledgment sent {"connection_id":128953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:37:10] local.INFO: TCP Data received {"connection_id":128775,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51809890012d78aa4005d3cc480003006528..."} 
[2026-07-11 19:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51809890012d78aa4005d3cc480003006528..."} 
[2026-07-11 19:37:10] local.INFO: Processing buffer {"connection_id":128775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51809890012d78aa4005d3cc480003006528..."} 
[2026-07-11 19:37:10] local.INFO: Packet analysis {"connection_id":128775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:37:10] local.INFO: Extracted packet for processing {"connection_id":128775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:37:10] local.INFO: GPS Element Parsed {"raw_longitude":762882624,"raw_latitude":97766472,"longitude_deg":76.2882624,"latitude_deg":9.7766472,"altitude":3,"angle":101,"satellites":40,"speed":34,"hex_longitude":"2d78aa40","hex_latitude":"05d3cc48","is_valid_coordinates":true} 
[2026-07-11 19:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647372288001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105199700587577344,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8684558587714854912,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783778810000,"timestamp_ms":1783778810000,"timestamp_seconds":1783778810,"priority":1,"record_length":96,"hex_timestamp":"0000019f51809890"} 
[2026-07-11 19:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 19:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647372288001,"66":11830,"53":206,"85":15104,"24":34,"16":105199700587577344,"45":8684558587714854912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 19:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647372288001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:37:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 19:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105199700587577344,"km_value":105199700587577.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8684558587714854912,"description":"Unknown IO ID 45"} 
[2026-07-11 19:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647372288001,"power":11830,"unknown_53":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8684558587714854912}} 
[2026-07-11 19:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":128775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:37:10] local.INFO: GPS data processed {"connection_id":128775,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:37:10] local.INFO: Acknowledgment sent {"connection_id":128775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:37:34] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:37:34] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:37:34] local.INFO: IMEI packet received {"connection_id":130925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":130925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:37:37] local.INFO: TCP Data received {"connection_id":130924,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:37:37] local.INFO: Processing buffer {"connection_id":130924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:37:37] local.INFO: Packet analysis {"connection_id":130924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:37:37] local.INFO: Extracted packet for processing {"connection_id":130924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 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-07-11 19:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:37:37] 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-07-11 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-07-11 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-07-11 19:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":130924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:37:37] local.INFO: GPS data processed {"connection_id":130924,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:37:37] local.INFO: Acknowledgment sent {"connection_id":130924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:37:39] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:37:39] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:37:39] local.INFO: IMEI packet received {"connection_id":130925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":130925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:37:39] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51809890012d78aa4005d3cc480003006528..."} 
[2026-07-11 19:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51809890012d78aa4005d3cc480003006528..."} 
[2026-07-11 19:37:39] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51809890012d78aa4005d3cc480003006528..."} 
[2026-07-11 19:37:39] local.INFO: Packet analysis {"connection_id":130925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:37:39] local.INFO: Extracted packet for processing {"connection_id":130925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:37:39] local.INFO: GPS Element Parsed {"raw_longitude":762882624,"raw_latitude":97766472,"longitude_deg":76.2882624,"latitude_deg":9.7766472,"altitude":3,"angle":101,"satellites":40,"speed":34,"hex_longitude":"2d78aa40","hex_latitude":"05d3cc48","is_valid_coordinates":true} 
[2026-07-11 19:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647375360001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105199700587577344,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694832424364558336,"note":"Value kept but may cause issues"} 
[2026-07-11 19:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783778810000,"timestamp_ms":1783778810000,"timestamp_seconds":1783778810,"priority":1,"record_length":96,"hex_timestamp":"0000019f51809890"} 
[2026-07-11 19:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:37: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-07-11 19:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-11 19:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647375360001,"66":11787,"53":206,"85":15104,"24":34,"16":105199700587577344,"45":8694832424364558336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 19:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647375360001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:37:39] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 19:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105199700587577344,"km_value":105199700587577.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694832424364558336,"description":"Unknown IO ID 45"} 
[2026-07-11 19:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647375360001,"power":11787,"unknown_53":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8694832424364558336}} 
[2026-07-11 19:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":130925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:37:40] local.INFO: GPS data processed {"connection_id":130925,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:37:40] local.INFO: Acknowledgment sent {"connection_id":130925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:37:43] local.INFO: TCP Data received {"connection_id":129683,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:37:43] local.INFO: Processing buffer {"connection_id":129683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:37:43] local.INFO: IMEI packet received {"connection_id":129683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":129683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:37:59] local.INFO: TCP Data received {"connection_id":128776,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:37:59] local.INFO: Processing buffer {"connection_id":128776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:37:59] local.INFO: IMEI packet received {"connection_id":128776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":128776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:38:04] local.INFO: TCP Data received {"connection_id":128776,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:38:04] local.INFO: Processing buffer {"connection_id":128776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:38:04] local.INFO: IMEI packet received {"connection_id":128776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":128776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:38:05] local.INFO: TCP Data received {"connection_id":128776,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:38:05] local.INFO: Processing buffer {"connection_id":128776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:38:05] local.INFO: Packet analysis {"connection_id":128776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:38:05] local.INFO: Extracted packet for processing {"connection_id":128776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 19:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:38:05] 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-07-11 19:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":128776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:38:05] local.INFO: GPS data processed {"connection_id":128776,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:38:05] local.INFO: Acknowledgment sent {"connection_id":128776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:38:11] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5180bfa0012d78cd0005d3c4600003006829..."} 
[2026-07-11 19:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5180bfa0012d78cd0005d3c4600003006829..."} 
[2026-07-11 19:38:11] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5180bfa0012d78cd0005d3c4600003006829..."} 
[2026-07-11 19:38:11] local.INFO: Packet analysis {"connection_id":130925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:38:11] local.INFO: Extracted packet for processing {"connection_id":130925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:38:11] local.INFO: GPS Element Parsed {"raw_longitude":762891520,"raw_latitude":97764448,"longitude_deg":76.289152,"latitude_deg":9.7764448,"altitude":3,"angle":104,"satellites":41,"speed":36,"hex_longitude":"2d78cd00","hex_latitude":"05d3c460","is_valid_coordinates":true} 
[2026-07-11 19:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647375360001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105200138674241536,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694832424364558336,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783778820000,"timestamp_ms":1783778820000,"timestamp_seconds":1783778820,"priority":1,"record_length":96,"hex_timestamp":"0000019f5180bfa0"} 
[2026-07-11 19:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372273064,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6966646879899538057,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3514826756,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2822111438,"corrected_to":0} 
[2026-07-11 19:38:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":196695,"corrected_to":0} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":117,"raw_value":-4842776974306836480,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930591234,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-4610045806790048512,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2882344443447347712,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:11] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,53,85,24,241,157,16,190,159,152,45,64,204,3,40,10,66,105,192,207,5,41,39,128,1,240,227,189,81,211,4,113,205,30,209,23,200,239,54,2,117,83,206,233,70],"length":533,"final_offset":663,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2822111438,"validated":0},{"io_id":200,"original":196695,"validated":0}]} 
[2026-07-11 19:38:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216284004589109248,"timestamp_seconds":216284004589109.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 19:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647375360001,"66":11037,"53":206,"85":15104,"24":36,"16":105200138674241536,"45":8694832424364558336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 19:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647375360001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:38:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 19:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105200138674241536,"km_value":105200138674241.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694832424364558336,"description":"Unknown IO ID 45"} 
[2026-07-11 19:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647375360001,"power":11037,"unknown_53":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8694832424364558336}} 
[2026-07-11 19:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":130925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:38:11] local.INFO: GPS data processed {"connection_id":130925,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:38:11] local.INFO: Acknowledgment sent {"connection_id":130925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:38:18] local.INFO: TCP Data received {"connection_id":128777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:38:18] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:38:18] local.INFO: IMEI packet received {"connection_id":128777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":128777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:38:19] local.INFO: TCP Data received {"connection_id":128777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:38:19] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:38:19] local.INFO: IMEI packet received {"connection_id":128777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":128777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:38:21] local.INFO: TCP Data received {"connection_id":128777,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5180a448012cc88a40074cc2180009009d2c..."} 
[2026-07-11 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5180a448012cc88a40074cc2180009009d2c..."} 
[2026-07-11 19:38:21] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5180a448012cc88a40074cc2180009009d2c..."} 
[2026-07-11 19:38:21] local.INFO: Packet analysis {"connection_id":128777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:38:21] local.INFO: Extracted packet for processing {"connection_id":128777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":751340096,"raw_latitude":122470936,"longitude_deg":75.1340096,"latitude_deg":12.2470936,"altitude":9,"angle":157,"satellites":44,"speed":47,"hex_longitude":"2cc88a40","hex_latitude":"074cc218","is_valid_coordinates":true} 
[2026-07-11 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647374080001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345423788457852928,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4000814918866268160,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783778813000,"timestamp_ms":1783778813000,"timestamp_seconds":1783778813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5180a448"} 
[2026-07-11 19:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 19:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647374080001,"66":27365,"161":206,"85":37632,"24":47,"16":345423788457852928,"44":-4000814918866268160},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-11 19:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647374080001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:38:21] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-11 19:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345423788457852928,"km_value":345423788457852.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4000814918866268160,"description":"Unknown IO ID 44"} 
[2026-07-11 19:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647374080001,"power":27365,"unknown_161":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-4000814918866268160}} 
[2026-07-11 19:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":128777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:38:21] local.INFO: GPS data processed {"connection_id":128777,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:38:21] local.INFO: Acknowledgment sent {"connection_id":128777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:38:24] local.INFO: TCP Data received {"connection_id":128777,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5180c388012cc897c0074ca0980009009f2d..."} 
[2026-07-11 19:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5180c388012cc897c0074ca0980009009f2d..."} 
[2026-07-11 19:38:24] local.INFO: Processing buffer {"connection_id":128777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5180c388012cc897c0074ca0980009009f2d..."} 
[2026-07-11 19:38:24] local.INFO: Packet analysis {"connection_id":128777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:38:24] local.INFO: Extracted packet for processing {"connection_id":128777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:38:24] local.INFO: GPS Element Parsed {"raw_longitude":751343552,"raw_latitude":122462360,"longitude_deg":75.1343552,"latitude_deg":12.246236,"altitude":9,"angle":159,"satellites":45,"speed":44,"hex_longitude":"2cc897c0","hex_latitude":"074ca098","is_valid_coordinates":true} 
[2026-07-11 19:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647376128001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345424230839484416,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3996311319241156608,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783778821000,"timestamp_ms":1783778821000,"timestamp_seconds":1783778821,"priority":1,"record_length":96,"hex_timestamp":"0000019f5180c388"} 
[2026-07-11 19:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 19:38:24] 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-07-11 19:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647376128001,"66":27397,"161":206,"85":37632,"24":44,"16":345424230839484416,"44":-3996311319241156608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-11 19:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647376128001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:38:24] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-11 19:38:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345424230839484416,"km_value":345424230839484.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:38:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3996311319241156608,"description":"Unknown IO ID 44"} 
[2026-07-11 19:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647376128001,"power":27397,"unknown_161":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3996311319241156608}} 
[2026-07-11 19:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":128777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:38:24] local.INFO: GPS data processed {"connection_id":128777,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:38:24] local.INFO: Acknowledgment sent {"connection_id":128777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:38:37] local.INFO: TCP Data received {"connection_id":128776,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:38:37] local.INFO: Processing buffer {"connection_id":128776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:38:37] local.INFO: Packet analysis {"connection_id":128776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:38:37] local.INFO: Extracted packet for processing {"connection_id":128776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 19:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:38:37] 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-07-11 19:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":128776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:38:37] local.INFO: GPS data processed {"connection_id":128776,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:38:37] local.INFO: Acknowledgment sent {"connection_id":128776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:38:37] local.INFO: TCP Data received {"connection_id":130927,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:38:37] local.INFO: Processing buffer {"connection_id":130927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:38:37] local.INFO: IMEI packet received {"connection_id":130927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":130927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:38:39] local.INFO: TCP Data received {"connection_id":130927,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:38:39] local.INFO: Processing buffer {"connection_id":130927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:38:39] local.INFO: IMEI packet received {"connection_id":130927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":130927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:38:44] local.INFO: TCP Data received {"connection_id":130927,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:38:44] local.INFO: Processing buffer {"connection_id":130927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:38:44] local.INFO: IMEI packet received {"connection_id":130927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":130927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:38:45] local.INFO: TCP Data received {"connection_id":130927,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5180ea98012d78f24005d3ba200002006a29..."} 
[2026-07-11 19:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5180ea98012d78f24005d3ba200002006a29..."} 
[2026-07-11 19:38:45] local.INFO: Processing buffer {"connection_id":130927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5180ea98012d78f24005d3ba200002006a29..."} 
[2026-07-11 19:38:45] local.INFO: Packet analysis {"connection_id":130927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:38:45] local.INFO: Extracted packet for processing {"connection_id":130927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5180"} 
[2026-07-11 19:38:45] local.INFO: GPS Element Parsed {"raw_longitude":762901056,"raw_latitude":97761824,"longitude_deg":76.2901056,"latitude_deg":9.7761824,"altitude":2,"angle":106,"satellites":41,"speed":36,"hex_longitude":"2d78f240","hex_latitude":"05d3ba20","is_valid_coordinates":true} 
[2026-07-11 19:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647377920001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105200611120644096,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704613679804735488,"note":"Value kept but may cause issues"} 
[2026-07-11 19:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783778831000,"timestamp_ms":1783778831000,"timestamp_seconds":1783778831,"priority":1,"record_length":96,"hex_timestamp":"0000019f5180ea98"} 
[2026-07-11 19:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":43,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-11 19:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647377920001,"66":12004,"53":206,"85":15104,"24":36,"16":105200611120644096,"45":8704613679804735488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-11 19:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647377920001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:38:45] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 19:38:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105200611120644096,"km_value":105200611120644.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704613679804735488,"description":"Unknown IO ID 45"} 
[2026-07-11 19:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647377920001,"power":12004,"unknown_53":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8704613679804735488}} 
[2026-07-11 19:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":130927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:38:45] local.INFO: GPS data processed {"connection_id":130927,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:38:45] local.INFO: Acknowledgment sent {"connection_id":130927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:38:59] local.INFO: TCP Data received {"connection_id":130929,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:38:59] local.INFO: Processing buffer {"connection_id":130929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:38:59] local.INFO: IMEI packet received {"connection_id":130929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":130929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:39:00] local.INFO: TCP Data received {"connection_id":128954,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:39:00] local.INFO: Processing buffer {"connection_id":128954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:39:00] local.INFO: IMEI packet received {"connection_id":128954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":128954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:39:03] local.INFO: TCP Data received {"connection_id":128954,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:39:03] local.INFO: Processing buffer {"connection_id":128954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:39:03] local.INFO: IMEI packet received {"connection_id":128954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":128954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:39:04] local.INFO: TCP Data received {"connection_id":130929,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:39:04] local.INFO: Processing buffer {"connection_id":130929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:39:04] local.INFO: IMEI packet received {"connection_id":130929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":130929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:39:05] local.INFO: TCP Data received {"connection_id":130929,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:39:05] local.INFO: Processing buffer {"connection_id":130929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:39:05] local.INFO: Packet analysis {"connection_id":130929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:39:05] local.INFO: Extracted packet for processing {"connection_id":130929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 19:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:39:05] 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-07-11 19:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":130929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:39:05] local.INFO: GPS data processed {"connection_id":130929,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:39:05] local.INFO: Acknowledgment sent {"connection_id":130929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:39:07] local.INFO: TCP Data received {"connection_id":128954,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:39:07] local.INFO: Processing buffer {"connection_id":128954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:39:07] local.INFO: IMEI packet received {"connection_id":128954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":128954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:39:07] local.INFO: TCP Data received {"connection_id":128954,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5181dcc8012cc98b80074c5120000a00532c..."} 
[2026-07-11 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5181dcc8012cc98b80074c5120000a00532c..."} 
[2026-07-11 19:39:07] local.INFO: Processing buffer {"connection_id":128954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5181dcc8012cc98b80074c5120000a00532c..."} 
[2026-07-11 19:39:07] local.INFO: Packet analysis {"connection_id":128954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5181"} 
[2026-07-11 19:39:07] local.INFO: Extracted packet for processing {"connection_id":128954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5181"} 
[2026-07-11 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":751405952,"raw_latitude":122442016,"longitude_deg":75.1405952,"latitude_deg":12.2442016,"altitude":10,"angle":83,"satellites":44,"speed":31,"hex_longitude":"2cc98b80","hex_latitude":"074c5120","is_valid_coordinates":true} 
[2026-07-11 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647395840001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345427993230835712,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3926575893768622080,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783778893000,"timestamp_ms":1783778893000,"timestamp_seconds":1783778893,"priority":1,"record_length":96,"hex_timestamp":"0000019f5181dcc8"} 
[2026-07-11 19:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647395840001,"66":27321,"159":206,"85":37632,"24":31,"16":345427993230835712,"44":-3926575893768622080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 19:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647395840001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:39:07] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 19:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345427993230835712,"km_value":345427993230835.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3926575893768622080,"description":"Unknown IO ID 44"} 
[2026-07-11 19:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647395840001,"power":27321,"unknown_159":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3926575893768622080}} 
[2026-07-11 19:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":128954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:39:07] local.INFO: GPS data processed {"connection_id":128954,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:39:07] local.INFO: Acknowledgment sent {"connection_id":128954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:39:16] local.INFO: TCP Data received {"connection_id":130927,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518284c0012d7a79c005d349b0000300672a..."} 
[2026-07-11 19:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518284c0012d7a79c005d349b0000300672a..."} 
[2026-07-11 19:39:16] local.INFO: Processing buffer {"connection_id":130927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518284c0012d7a79c005d349b0000300672a..."} 
[2026-07-11 19:39:16] local.INFO: Packet analysis {"connection_id":130927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:39:16] local.INFO: Extracted packet for processing {"connection_id":130927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:39:16] local.INFO: GPS Element Parsed {"raw_longitude":763001280,"raw_latitude":97733040,"longitude_deg":76.300128,"latitude_deg":9.773304,"altitude":3,"angle":103,"satellites":42,"speed":31,"hex_longitude":"2d7a79c0","hex_latitude":"05d349b0","is_valid_coordinates":true} 
[2026-07-11 19:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647404800001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105205597577674752,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303714388846592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783778936000,"timestamp_ms":1783778936000,"timestamp_seconds":1783778936,"priority":1,"record_length":96,"hex_timestamp":"0000019f518284c0"} 
[2026-07-11 19:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-07-11 19:39:16] 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-07-11 19:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647404800001,"66":11895,"189":206,"85":15104,"24":31,"16":105205597577674752,"45":8815303714388846592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-07-11 19:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647404800001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:39:16] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-11 19:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105205597577674752,"km_value":105205597577674.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303714388846592,"description":"Unknown IO ID 45"} 
[2026-07-11 19:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647404800001,"power":11895,"unknown_189":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8815303714388846592}} 
[2026-07-11 19:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":130927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:39:16] local.INFO: GPS data processed {"connection_id":130927,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:39:16] local.INFO: Acknowledgment sent {"connection_id":130927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:39:34] local.INFO: TCP Data received {"connection_id":129684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:39:34] local.INFO: Processing buffer {"connection_id":129684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:39:34] local.INFO: IMEI packet received {"connection_id":129684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":129684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:39:37] local.INFO: TCP Data received {"connection_id":130929,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:39:37] local.INFO: Processing buffer {"connection_id":130929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:39:37] local.INFO: Packet analysis {"connection_id":130929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:39:37] local.INFO: Extracted packet for processing {"connection_id":130929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 19:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:39:37] 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-07-11 19:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:39:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":130929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:39:37] local.INFO: GPS data processed {"connection_id":130929,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:39:37] local.INFO: Acknowledgment sent {"connection_id":130929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:39:39] local.INFO: TCP Data received {"connection_id":129684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:39:39] local.INFO: Processing buffer {"connection_id":129684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:39:39] local.INFO: IMEI packet received {"connection_id":129684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":129684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:39:40] local.INFO: TCP Data received {"connection_id":128954,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5181fff0012cc9a700074c5148000a00602d..."} 
[2026-07-11 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5181fff0012cc9a700074c5148000a00602d..."} 
[2026-07-11 19:39:40] local.INFO: Processing buffer {"connection_id":128954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5181fff0012cc9a700074c5148000a00602d..."} 
[2026-07-11 19:39:40] local.INFO: Packet analysis {"connection_id":128954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5181"} 
[2026-07-11 19:39:40] local.INFO: Extracted packet for processing {"connection_id":128954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5181"} 
[2026-07-11 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":751412992,"raw_latitude":122442056,"longitude_deg":75.1412992,"latitude_deg":12.2442056,"altitude":10,"angle":96,"satellites":45,"speed":29,"hex_longitude":"2cc9a700","hex_latitude":"074c5148","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647396608001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345428328238284800,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3923901881489743872,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783778902000,"timestamp_ms":1783778902000,"timestamp_seconds":1783778902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5181fff0"} 
[2026-07-11 19:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 19:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647396608001,"66":27169,"159":206,"85":37632,"24":29,"16":345428328238284800,"44":-3923901881489743872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 19:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647396608001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:39:40] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 19:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345428328238284800,"km_value":345428328238284.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3923901881489743872,"description":"Unknown IO ID 44"} 
[2026-07-11 19:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647396608001,"power":27169,"unknown_159":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-3923901881489743872}} 
[2026-07-11 19:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":128954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:39:40] local.INFO: GPS data processed {"connection_id":128954,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:39:40] local.INFO: Acknowledgment sent {"connection_id":128954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:39:40] local.INFO: TCP Data received {"connection_id":129684,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5182afb8012d7a9a0005d34248000100572b..."} 
[2026-07-11 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5182afb8012d7a9a0005d34248000100572b..."} 
[2026-07-11 19:39:40] local.INFO: Processing buffer {"connection_id":129684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5182afb8012d7a9a0005d34248000100572b..."} 
[2026-07-11 19:39:40] local.INFO: Packet analysis {"connection_id":129684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:39:40] local.INFO: Extracted packet for processing {"connection_id":129684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763009536,"raw_latitude":97731144,"longitude_deg":76.3009536,"latitude_deg":9.7731144,"altitude":1,"angle":87,"satellites":43,"speed":25,"hex_longitude":"2d7a9a00","hex_latitude":"05d34248","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647407616001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105206009894535168,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825296076061388800,"note":"Value kept but may cause issues"} 
[2026-07-11 19:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783778947000,"timestamp_ms":1783778947000,"timestamp_seconds":1783778947,"priority":1,"record_length":96,"hex_timestamp":"0000019f5182afb8"} 
[2026-07-11 19:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647407616001,"66":11895,"189":206,"85":15104,"24":25,"16":105206009894535168,"45":8825296076061388800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-07-11 19:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647407616001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:39:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-11 19:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105206009894535168,"km_value":105206009894535.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825296076061388800,"description":"Unknown IO ID 45"} 
[2026-07-11 19:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647407616001,"power":11895,"unknown_189":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8825296076061388800}} 
[2026-07-11 19:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":129684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:39:40] local.INFO: GPS data processed {"connection_id":129684,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:39:40] local.INFO: Acknowledgment sent {"connection_id":129684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:39:59] local.INFO: TCP Data received {"connection_id":130930,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:39:59] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:39:59] local.INFO: IMEI packet received {"connection_id":130930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":130930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:40:03] local.INFO: TCP Data received {"connection_id":128955,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:40:03] local.INFO: Processing buffer {"connection_id":128955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:40:03] local.INFO: IMEI packet received {"connection_id":128955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":128955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:40:04] local.INFO: TCP Data received {"connection_id":130930,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:40:04] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:40:04] local.INFO: IMEI packet received {"connection_id":130930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":130930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:40:05] local.INFO: TCP Data received {"connection_id":130930,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:40:05] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:40:05] local.INFO: Packet analysis {"connection_id":130930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:40:05] local.INFO: Extracted packet for processing {"connection_id":130930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 19:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:40:05] 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-07-11 19:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:40:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":130930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:40:06] local.INFO: GPS data processed {"connection_id":130930,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:40:06] local.INFO: Acknowledgment sent {"connection_id":130930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:40:07] local.INFO: TCP Data received {"connection_id":128955,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:40:07] local.INFO: Processing buffer {"connection_id":128955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:40:07] local.INFO: IMEI packet received {"connection_id":128955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":128955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:40:07] local.INFO: TCP Data received {"connection_id":128955,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51821760012cc9b840074c4d90000b006b2d..."} 
[2026-07-11 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51821760012cc9b840074c4d90000b006b2d..."} 
[2026-07-11 19:40:07] local.INFO: Processing buffer {"connection_id":128955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51821760012cc9b840074c4d90000b006b2d..."} 
[2026-07-11 19:40:07] local.INFO: Packet analysis {"connection_id":128955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:40:07] local.INFO: Extracted packet for processing {"connection_id":128955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":751417408,"raw_latitude":122441104,"longitude_deg":75.1417408,"latitude_deg":12.2441104,"altitude":11,"angle":107,"satellites":45,"speed":28,"hex_longitude":"2cc9b840","hex_latitude":"074c4d90","is_valid_coordinates":true} 
[2026-07-11 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647398912001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345428542986649600,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3916161319630190592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783778908000,"timestamp_ms":1783778908000,"timestamp_seconds":1783778908,"priority":1,"record_length":96,"hex_timestamp":"0000019f51821760"} 
[2026-07-11 19:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 19:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647398912001,"66":27376,"159":206,"85":37632,"24":28,"16":345428542986649600,"44":-3916161319630190592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-11 19:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647398912001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:40:07] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-11 19:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345428542986649600,"km_value":345428542986649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:40:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3916161319630190592,"description":"Unknown IO ID 44"} 
[2026-07-11 19:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647398912001,"power":27376,"unknown_159":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-3916161319630190592}} 
[2026-07-11 19:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":128955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:40:07] local.INFO: GPS data processed {"connection_id":128955,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:40:07] local.INFO: Acknowledgment sent {"connection_id":128955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:40:12] local.INFO: TCP Data received {"connection_id":129684,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5182bb70012d7aa1c005d343d80001004a2b..."} 
[2026-07-11 19:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5182bb70012d7aa1c005d343d80001004a2b..."} 
[2026-07-11 19:40:12] local.INFO: Processing buffer {"connection_id":129684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5182bb70012d7aa1c005d343d80001004a2b..."} 
[2026-07-11 19:40:12] local.INFO: Packet analysis {"connection_id":129684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:40:12] local.INFO: Extracted packet for processing {"connection_id":129684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763011520,"raw_latitude":97731544,"longitude_deg":76.301152,"latitude_deg":9.7731544,"altitude":1,"angle":74,"satellites":43,"speed":30,"hex_longitude":"2d7aa1c0","hex_latitude":"05d343d8","is_valid_coordinates":true} 
[2026-07-11 19:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647410432001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105206104383815680,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834373644059822080,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783778950000,"timestamp_ms":1783778950000,"timestamp_seconds":1783778950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5182bb70"} 
[2026-07-11 19:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647410432001,"66":11852,"189":206,"85":15104,"24":30,"16":105206104383815680,"45":8834373644059822080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-07-11 19:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647410432001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:40:12] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-11 19:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105206104383815680,"km_value":105206104383815.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834373644059822080,"description":"Unknown IO ID 45"} 
[2026-07-11 19:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647410432001,"power":11852,"unknown_189":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8834373644059822080}} 
[2026-07-11 19:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":129684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:40:12] local.INFO: GPS data processed {"connection_id":129684,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:40:12] local.INFO: Acknowledgment sent {"connection_id":129684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:40:25] local.INFO: TCP Data received {"connection_id":129685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:40:25] local.INFO: Processing buffer {"connection_id":129685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:40:25] local.INFO: IMEI packet received {"connection_id":129685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":129685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:40:34] local.INFO: TCP Data received {"connection_id":130931,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:40:34] local.INFO: Processing buffer {"connection_id":130931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:40:34] local.INFO: IMEI packet received {"connection_id":130931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":130931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:40:35] local.INFO: TCP Data received {"connection_id":130931,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:40:35] local.INFO: Processing buffer {"connection_id":130931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:40:35] local.INFO: IMEI packet received {"connection_id":130931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":130931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:40:37] local.INFO: TCP Data received {"connection_id":130930,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:40:37] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:40:37] local.INFO: Packet analysis {"connection_id":130930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:40:37] local.INFO: Extracted packet for processing {"connection_id":130930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 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-07-11 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:40:37] 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-07-11 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-07-11 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-07-11 19:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":130930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:40:37] local.INFO: GPS data processed {"connection_id":130930,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:40:37] local.INFO: Acknowledgment sent {"connection_id":130930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:40:38] local.INFO: TCP Data received {"connection_id":128955,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51824a28012cc9db40074c3ef0000d00712d..."} 
[2026-07-11 19:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51824a28012cc9db40074c3ef0000d00712d..."} 
[2026-07-11 19:40:38] local.INFO: Processing buffer {"connection_id":128955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51824a28012cc9db40074c3ef0000d00712d..."} 
[2026-07-11 19:40:38] local.INFO: Packet analysis {"connection_id":128955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:40:38] local.INFO: Extracted packet for processing {"connection_id":128955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:40:38] local.INFO: GPS Element Parsed {"raw_longitude":751426368,"raw_latitude":122437360,"longitude_deg":75.1426368,"latitude_deg":12.243736,"altitude":13,"angle":113,"satellites":45,"speed":30,"hex_longitude":"2cc9db40","hex_latitude":"074c3ef0","is_valid_coordinates":true} 
[2026-07-11 19:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647400448001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345429006843117568,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3911305876282175488,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783778921000,"timestamp_ms":1783778921000,"timestamp_seconds":1783778921,"priority":1,"record_length":96,"hex_timestamp":"0000019f51824a28"} 
[2026-07-11 19:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647400448001,"66":27332,"75":206,"85":37632,"24":30,"16":345429006843117568,"44":-3911305876282175488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,44]} 
[2026-07-11 19:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647400448001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:40:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-11 19:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345429006843117568,"km_value":345429006843117.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:40:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3911305876282175488,"description":"Unknown IO ID 44"} 
[2026-07-11 19:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647400448001,"power":27332,"unknown_75":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-3911305876282175488}} 
[2026-07-11 19:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":128955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:40:39] local.INFO: GPS data processed {"connection_id":128955,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:40:39] local.INFO: Acknowledgment sent {"connection_id":128955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:40:39] local.INFO: TCP Data received {"connection_id":130931,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:40:39] local.INFO: Processing buffer {"connection_id":130931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:40:39] local.INFO: IMEI packet received {"connection_id":130931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":130931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:40:40] local.INFO: TCP Data received {"connection_id":130931,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5182e280012d7ac30005d34d200003004c2b..."} 
[2026-07-11 19:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5182e280012d7ac30005d34d200003004c2b..."} 
[2026-07-11 19:40:40] local.INFO: Processing buffer {"connection_id":130931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5182e280012d7ac30005d34d200003004c2b..."} 
[2026-07-11 19:40:40] local.INFO: Packet analysis {"connection_id":130931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:40:40] local.INFO: Extracted packet for processing {"connection_id":130931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763020032,"raw_latitude":97733920,"longitude_deg":76.3020032,"latitude_deg":9.773392,"altitude":3,"angle":76,"satellites":43,"speed":37,"hex_longitude":"2d7ac300","hex_latitude":"05d34d20","is_valid_coordinates":true} 
[2026-07-11 19:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647411200001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105206572535250944,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836555075129432064,"note":"Value kept but may cause issues"} 
[2026-07-11 19:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783778960000,"timestamp_ms":1783778960000,"timestamp_seconds":1783778960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5182e280"} 
[2026-07-11 19:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 19:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647411200001,"66":11776,"189":206,"85":15104,"24":37,"16":105206572535250944,"45":8836555075129432064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-07-11 19:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647411200001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:40:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-11 19:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105206572535250944,"km_value":105206572535250.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836555075129432064,"description":"Unknown IO ID 45"} 
[2026-07-11 19:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647411200001,"power":11776,"unknown_189":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8836555075129432064}} 
[2026-07-11 19:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":130931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:40:40] local.INFO: GPS data processed {"connection_id":130931,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:40:40] local.INFO: Acknowledgment sent {"connection_id":130931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:40:50] local.INFO: TCP Data received {"connection_id":130932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:40:50] local.INFO: Processing buffer {"connection_id":130932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:40:50] local.INFO: IMEI packet received {"connection_id":130932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":130932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:41:04] local.INFO: TCP Data received {"connection_id":128778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:41:04] local.INFO: Processing buffer {"connection_id":128778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:41:04] local.INFO: IMEI packet received {"connection_id":128778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":128778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:41:04] local.INFO: TCP Data received {"connection_id":128956,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:41:04] local.INFO: Processing buffer {"connection_id":128956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:41:04] local.INFO: IMEI packet received {"connection_id":128956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":128956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:41:06] local.INFO: TCP Data received {"connection_id":128778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:41:06] local.INFO: Processing buffer {"connection_id":128778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:41:06] local.INFO: IMEI packet received {"connection_id":128778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":128778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:41:07] local.INFO: TCP Data received {"connection_id":128778,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51827908012cc9fd80074c30d8000f006d2d..."} 
[2026-07-11 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51827908012cc9fd80074c30d8000f006d2d..."} 
[2026-07-11 19:41:07] local.INFO: Processing buffer {"connection_id":128778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51827908012cc9fd80074c30d8000f006d2d..."} 
[2026-07-11 19:41:07] local.INFO: Packet analysis {"connection_id":128778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:41:07] local.INFO: Extracted packet for processing {"connection_id":128778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":751435136,"raw_latitude":122433752,"longitude_deg":75.1435136,"latitude_deg":12.2433752,"altitude":15,"angle":109,"satellites":45,"speed":31,"hex_longitude":"2cc9fd80","hex_latitude":"074c30d8","is_valid_coordinates":true} 
[2026-07-11 19:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647403776001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345429457814683648,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3901454252098260992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783778933000,"timestamp_ms":1783778933000,"timestamp_seconds":1783778933,"priority":1,"record_length":96,"hex_timestamp":"0000019f51827908"} 
[2026-07-11 19:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19: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-07-11 19:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647403776001,"66":27267,"75":206,"85":37632,"24":31,"16":345429457814683648,"44":-3901454252098260992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,44]} 
[2026-07-11 19:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647403776001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:41:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-11 19:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345429457814683648,"km_value":345429457814683.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:41:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3901454252098260992,"description":"Unknown IO ID 44"} 
[2026-07-11 19:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647403776001,"power":27267,"unknown_75":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3901454252098260992}} 
[2026-07-11 19:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":128778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:41:07] local.INFO: GPS data processed {"connection_id":128778,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:41:07] local.INFO: Acknowledgment sent {"connection_id":128778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:41:09] local.INFO: TCP Data received {"connection_id":128956,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:41:09] local.INFO: Processing buffer {"connection_id":128956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:41:09] local.INFO: IMEI packet received {"connection_id":128956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":128956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:41:10] local.INFO: TCP Data received {"connection_id":128956,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:41:10] local.INFO: Processing buffer {"connection_id":128956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:41:10] local.INFO: Packet analysis {"connection_id":128956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:41:10] local.INFO: Extracted packet for processing {"connection_id":128956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 19:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:41:10] 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-07-11 19:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:41:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":128956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:41:10] local.INFO: GPS data processed {"connection_id":128956,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:41:10] local.INFO: Acknowledgment sent {"connection_id":128956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:41:11] local.INFO: TCP Data received {"connection_id":130931,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51833870012d7ad74005d35178000300522b..."} 
[2026-07-11 19:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51833870012d7ad74005d35178000300522b..."} 
[2026-07-11 19:41:11] local.INFO: Processing buffer {"connection_id":130931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51833870012d7ad74005d35178000300522b..."} 
[2026-07-11 19:41:11] local.INFO: Packet analysis {"connection_id":130931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5183"} 
[2026-07-11 19:41:11] local.INFO: Extracted packet for processing {"connection_id":130931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5183"} 
[2026-07-11 19:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763025216,"raw_latitude":97735032,"longitude_deg":76.3025216,"latitude_deg":9.7735032,"altitude":3,"angle":82,"satellites":43,"speed":15,"hex_longitude":"2d7ad740","hex_latitude":"05d35178","is_valid_coordinates":true} 
[2026-07-11 19:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647413760001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105206770103746560,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845914118105669632,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783778982000,"timestamp_ms":1783778982000,"timestamp_seconds":1783778982,"priority":1,"record_length":96,"hex_timestamp":"0000019f51833870"} 
[2026-07-11 19:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 19:41:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:11] local.WARNING: Large IO value detected {"io_id":195,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:11] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2186921985,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2822045902,"corrected_to":0} 
[2026-07-11 19:41:11] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2684431738,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:11] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3273654272,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,189,85,24,241,157,16,196,159,187,45,192,67,1,43,10,66,175,132,240,119,227,195,81,211,4,113,205,42,54,52,88,239,46,53,2,117],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2822045902,"validated":0}]} 
[2026-07-11 19:41:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216256529683513344,"timestamp_seconds":216256529683513.34,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 19:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647413760001,"66":11297,"189":206,"85":15104,"24":15,"16":105206770103746560,"45":8845914118105669632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-07-11 19:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647413760001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:41:11] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-11 19:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105206770103746560,"km_value":105206770103746.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845914118105669632,"description":"Unknown IO ID 45"} 
[2026-07-11 19:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647413760001,"power":11297,"unknown_189":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8845914118105669632}} 
[2026-07-11 19:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":130931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:41:11] local.INFO: GPS data processed {"connection_id":130931,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:41:11] local.INFO: Acknowledgment sent {"connection_id":130931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:41:15] local.INFO: TCP Data received {"connection_id":128956,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:41:15] local.INFO: Processing buffer {"connection_id":128956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f517fc5a0012d196680071fef80003b011a26..."} 
[2026-07-11 19:41:15] local.INFO: Packet analysis {"connection_id":128956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:41:15] local.INFO: Extracted packet for processing {"connection_id":128956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f517f"} 
[2026-07-11 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647284480001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783778756000,"timestamp_ms":1783778756000,"timestamp_seconds":1783778756,"priority":1,"record_length":96,"hex_timestamp":"0000019f517fc5a0"} 
[2026-07-11 19:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 19:41:15] 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-07-11 19:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647284480001,"66":2177,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647284480001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:41:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:41:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647284480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":128956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:41:15] local.INFO: GPS data processed {"connection_id":128956,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:41:15] local.INFO: Acknowledgment sent {"connection_id":128956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:41:34] local.INFO: TCP Data received {"connection_id":128779,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:41:34] local.INFO: Processing buffer {"connection_id":128779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:41:34] local.INFO: IMEI packet received {"connection_id":128779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":128779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:41:38] local.INFO: TCP Data received {"connection_id":128778,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5182a7e8012cca2240074c27c8001100632d..."} 
[2026-07-11 19:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5182a7e8012cca2240074c27c8001100632d..."} 
[2026-07-11 19:41:38] local.INFO: Processing buffer {"connection_id":128778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5182a7e8012cca2240074c27c8001100632d..."} 
[2026-07-11 19:41:38] local.INFO: Packet analysis {"connection_id":128778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:41:38] local.INFO: Extracted packet for processing {"connection_id":128778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5182"} 
[2026-07-11 19:41:38] local.INFO: GPS Element Parsed {"raw_longitude":751444544,"raw_latitude":122431432,"longitude_deg":75.1444544,"latitude_deg":12.2431432,"altitude":17,"angle":99,"satellites":45,"speed":31,"hex_longitude":"2cca2240","hex_latitude":"074c27c8","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647406848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345429917376184320,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3891813734146844672,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783778945000,"timestamp_ms":1783778945000,"timestamp_seconds":1783778945,"priority":1,"record_length":96,"hex_timestamp":"0000019f5182a7e8"} 
[2026-07-11 19:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 19:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647406848001,"66":27321,"103":206,"85":37632,"24":31,"16":345429917376184320,"44":-3891813734146844672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-11 19:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647406848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:41:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 19:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345429917376184320,"km_value":345429917376184.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:41:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3891813734146844672,"description":"Unknown IO ID 44"} 
[2026-07-11 19:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647406848001,"power":27321,"unknown_103":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3891813734146844672}} 
[2026-07-11 19:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":128778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:41:38] local.INFO: GPS data processed {"connection_id":128778,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:41:38] local.INFO: Acknowledgment sent {"connection_id":128778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:41:39] local.INFO: TCP Data received {"connection_id":128779,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:41:39] local.INFO: Processing buffer {"connection_id":128779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:41:39] local.INFO: IMEI packet received {"connection_id":128779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":128779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:41:39] local.INFO: TCP Data received {"connection_id":128779,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51837ec0012d7afb8005d354600003005a2b..."} 
[2026-07-11 19:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51837ec0012d7afb8005d354600003005a2b..."} 
[2026-07-11 19:41:39] local.INFO: Processing buffer {"connection_id":128779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51837ec0012d7afb8005d354600003005a2b..."} 
[2026-07-11 19:41:39] local.INFO: Packet analysis {"connection_id":128779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5183"} 
[2026-07-11 19:41:39] local.INFO: Extracted packet for processing {"connection_id":128779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5183"} 
[2026-07-11 19:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763034496,"raw_latitude":97735776,"longitude_deg":76.3034496,"latitude_deg":9.7735776,"altitude":3,"angle":90,"satellites":43,"speed":27,"hex_longitude":"2d7afb80","hex_latitude":"05d35460","is_valid_coordinates":true} 
[2026-07-11 19:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647419392001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105207212485378048,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851613986384345088,"note":"Value kept but may cause issues"} 
[2026-07-11 19:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783779000000,"timestamp_ms":1783779000000,"timestamp_seconds":1783779000,"priority":1,"record_length":96,"hex_timestamp":"0000019f51837ec0"} 
[2026-07-11 19:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 19:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647419392001,"66":12004,"189":206,"85":15104,"24":27,"16":105207212485378048,"45":8851613986384345088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-07-11 19:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647419392001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:41:39] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-11 19:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105207212485378048,"km_value":105207212485378.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851613986384345088,"description":"Unknown IO ID 45"} 
[2026-07-11 19:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647419392001,"power":12004,"unknown_189":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8851613986384345088}} 
[2026-07-11 19:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":128779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:41:39] local.INFO: GPS data processed {"connection_id":128779,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:41:39] local.INFO: Acknowledgment sent {"connection_id":128779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:41:59] local.INFO: TCP Data received {"connection_id":129686,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:41:59] local.INFO: Processing buffer {"connection_id":129686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:41:59] local.INFO: IMEI packet received {"connection_id":129686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":129686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:42:03] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:42:03] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:42:03] local.INFO: IMEI packet received {"connection_id":128780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":128780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:42:04] local.INFO: TCP Data received {"connection_id":129686,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:42:04] local.INFO: Processing buffer {"connection_id":129686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:42:04] local.INFO: IMEI packet received {"connection_id":129686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":129686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:42:05] local.INFO: TCP Data received {"connection_id":129686,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:42:05] local.INFO: Processing buffer {"connection_id":129686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:42:05] local.INFO: Packet analysis {"connection_id":129686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:05] local.INFO: Extracted packet for processing {"connection_id":129686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647361536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779057000,"timestamp_ms":1783779057000,"timestamp_seconds":1783779057,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845d68"} 
[2026-07-11 19:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:42:05] 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-07-11 19:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647361536001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647361536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647361536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":129686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:42:05] local.INFO: GPS data processed {"connection_id":129686,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:42:05] local.INFO: Acknowledgment sent {"connection_id":129686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:42:09] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:42:09] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:42:09] local.INFO: IMEI packet received {"connection_id":128780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":128780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:42:10] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:42:10] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:42:10] local.INFO: IMEI packet received {"connection_id":128780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":128780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:42:10] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845980012ccb0f00074b6048000700a82e..."} 
[2026-07-11 19:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845980012ccb0f00074b6048000700a82e..."} 
[2026-07-11 19:42:10] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f51..."} 
[2026-07-11 19:42:10] local.INFO: IMEI packet received {"connection_id":128780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":128780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:42:10] local.INFO: TCP Data received {"connection_id":128779,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5184c6e0012d7b4f8005d379e80004016229..."} 
[2026-07-11 19:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5184c6e0012d7b4f8005d379e80004016229..."} 
[2026-07-11 19:42:10] local.INFO: Processing buffer {"connection_id":128779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5184c6e0012d7b4f8005d379e80004016229..."} 
[2026-07-11 19:42:10] local.INFO: Packet analysis {"connection_id":128779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:10] local.INFO: Extracted packet for processing {"connection_id":128779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":97745384,"longitude_deg":76.3056,"latitude_deg":9.7745384,"altitude":4,"angle":354,"satellites":41,"speed":14,"hex_longitude":"2d7b4f80","hex_latitude":"05d379e8","is_valid_coordinates":true} 
[2026-07-11 19:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647444224001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105208599759814656,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352336048128,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783779084000,"timestamp_ms":1783779084000,"timestamp_seconds":1783779084,"priority":1,"record_length":96,"hex_timestamp":"0000019f5184c6e0"} 
[2026-07-11 19:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-11 19:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647444224001,"66":11895,"210":206,"85":15104,"24":14,"16":105208599759814656,"45":8885461352336048128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-07-11 19:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647444224001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:42:10] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-11 19:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105208599759814656,"km_value":105208599759814.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352336048128,"description":"Unknown IO ID 45"} 
[2026-07-11 19:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647444224001,"power":11895,"unknown_210":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8885461352336048128}} 
[2026-07-11 19:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":128779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:42:11] local.INFO: GPS data processed {"connection_id":128779,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:42:11] local.INFO: Acknowledgment sent {"connection_id":128779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:42:14] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51848478012ccb1640074b3c28000700a72e..."} 
[2026-07-11 19:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51848478012ccb1640074b3c28000700a72e..."} 
[2026-07-11 19:42:14] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f51845980012ccb0f00074b6048000700a82e..."} 
[2026-07-11 19:42:14] local.INFO: Packet analysis {"connection_id":128780,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:14] local.INFO: Extracted packet for processing {"connection_id":128780,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":751505152,"raw_latitude":122380360,"longitude_deg":75.1505152,"latitude_deg":12.238036,"altitude":7,"angle":168,"satellites":46,"speed":32,"hex_longitude":"2ccb0f00","hex_latitude":"074b6048","is_valid_coordinates":true} 
[2026-07-11 19:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647434752001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345434186573676544,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3817363602818140160,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783779056000,"timestamp_ms":1783779056000,"timestamp_seconds":1783779056,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845980"} 
[2026-07-11 19:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647434752001,"66":26778,"103":206,"85":37632,"24":32,"16":345434186573676544,"44":-3817363602818140160},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-11 19:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647434752001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345434186573676544,"km_value":345434186573676.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3817363602818140160,"description":"Unknown IO ID 44"} 
[2026-07-11 19:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647434752001,"power":26778,"unknown_103":206,"unknown_85":37632,"ignition":32,"odometer":null,"unknown_44":-3817363602818140160}} 
[2026-07-11 19:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":128780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:42:14] local.INFO: GPS data processed {"connection_id":128780,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:42:14] local.INFO: Acknowledgment sent {"connection_id":128780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:42:14] local.INFO: Packet analysis {"connection_id":128780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:14] local.INFO: Extracted packet for processing {"connection_id":128780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":751507008,"raw_latitude":122371112,"longitude_deg":75.1507008,"latitude_deg":12.2371112,"altitude":7,"angle":167,"satellites":46,"speed":35,"hex_longitude":"2ccb1640","hex_latitude":"074b3c28","is_valid_coordinates":true} 
[2026-07-11 19:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438336001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345434646135177216,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3814830328030148608,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783779067000,"timestamp_ms":1783779067000,"timestamp_seconds":1783779067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51848478"} 
[2026-07-11 19:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-11 19:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438336001,"66":27365,"103":206,"85":37632,"24":35,"16":345434646135177216,"44":-3814830328030148608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-11 19:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438336001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345434646135177216,"km_value":345434646135177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3814830328030148608,"description":"Unknown IO ID 44"} 
[2026-07-11 19:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438336001,"power":27365,"unknown_103":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3814830328030148608}} 
[2026-07-11 19:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":128780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:42:14] local.INFO: GPS data processed {"connection_id":128780,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:42:14] local.INFO: Acknowledgment sent {"connection_id":128780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:42:33] local.INFO: TCP Data received {"connection_id":129687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:42:33] local.INFO: Processing buffer {"connection_id":129687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:42:33] local.INFO: IMEI packet received {"connection_id":129687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":129687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:42:34] local.INFO: TCP Data received {"connection_id":129687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:42:34] local.INFO: Processing buffer {"connection_id":129687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:42:34] local.INFO: IMEI packet received {"connection_id":129687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":129687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:42:37] local.INFO: TCP Data received {"connection_id":129686,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:42:37] local.INFO: Processing buffer {"connection_id":129686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:42:37] local.INFO: Packet analysis {"connection_id":129686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:37] local.INFO: Extracted packet for processing {"connection_id":129686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647361536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779057000,"timestamp_ms":1783779057000,"timestamp_seconds":1783779057,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845d68"} 
[2026-07-11 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-07-11 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:42:37] 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-07-11 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-07-11 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-07-11 19:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647361536001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647361536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:42:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647361536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":129686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:42:37] local.INFO: GPS data processed {"connection_id":129686,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:42:37] local.INFO: Acknowledgment sent {"connection_id":129686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:42:39] local.INFO: TCP Data received {"connection_id":129687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:42:39] local.INFO: Processing buffer {"connection_id":129687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:42:39] local.INFO: IMEI packet received {"connection_id":129687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":129687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:42:39] local.INFO: TCP Data received {"connection_id":129687,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51850560012d7b494005d39be80004015b2b..."} 
[2026-07-11 19:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51850560012d7b494005d39be80004015b2b..."} 
[2026-07-11 19:42:39] local.INFO: Processing buffer {"connection_id":129687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51850560012d7b494005d39be80004015b2b..."} 
[2026-07-11 19:42:39] local.INFO: Packet analysis {"connection_id":129687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:42:39] local.INFO: Extracted packet for processing {"connection_id":129687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":97754088,"longitude_deg":76.30544,"latitude_deg":9.7754088,"altitude":4,"angle":347,"satellites":43,"speed":25,"hex_longitude":"2d7b4940","hex_latitude":"05d39be8","is_valid_coordinates":true} 
[2026-07-11 19:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647445504001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105209033551511552,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352336451584,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783779100000,"timestamp_ms":1783779100000,"timestamp_seconds":1783779100,"priority":1,"record_length":96,"hex_timestamp":"0000019f51850560"} 
[2026-07-11 19:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 19:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647445504001,"66":11852,"210":206,"85":15104,"24":25,"16":105209033551511552,"45":8885461352336451584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-07-11 19:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647445504001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:42:39] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-11 19:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105209033551511552,"km_value":105209033551511.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352336451584,"description":"Unknown IO ID 45"} 
[2026-07-11 19:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647445504001,"power":11852,"unknown_210":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8885461352336451584}} 
[2026-07-11 19:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":129687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:42:39] local.INFO: GPS data processed {"connection_id":129687,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:42:39] local.INFO: Acknowledgment sent {"connection_id":129687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:42:45] local.INFO: TCP Data received {"connection_id":128780,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5184af70012ccb1f40074b17e8000700a42e..."} 
[2026-07-11 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5184af70012ccb1f40074b17e8000700a42e..."} 
[2026-07-11 19:42:45] local.INFO: Processing buffer {"connection_id":128780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5184af70012ccb1f40074b17e8000700a42e..."} 
[2026-07-11 19:42:45] local.INFO: Packet analysis {"connection_id":128780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:45] local.INFO: Extracted packet for processing {"connection_id":128780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":751509312,"raw_latitude":122361832,"longitude_deg":75.1509312,"latitude_deg":12.2361832,"altitude":7,"angle":164,"satellites":46,"speed":27,"hex_longitude":"2ccb1f40","hex_latitude":"074b17e8","is_valid_coordinates":true} 
[2026-07-11 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647441152001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345435109991645184,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3812789634451363840,"note":"Value kept but may cause issues"} 
[2026-07-11 19:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783779078000,"timestamp_ms":1783779078000,"timestamp_seconds":1783779078,"priority":1,"record_length":96,"hex_timestamp":"0000019f5184af70"} 
[2026-07-11 19:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 19:42:45] 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-07-11 19:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647441152001,"66":27321,"103":206,"85":37632,"24":27,"16":345435109991645184,"44":-3812789634451363840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-11 19:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647441152001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:42:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 19:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345435109991645184,"km_value":345435109991645.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:42:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3812789634451363840,"description":"Unknown IO ID 44"} 
[2026-07-11 19:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647441152001,"power":27321,"unknown_103":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-3812789634451363840}} 
[2026-07-11 19:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":128780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:42:45] local.INFO: GPS data processed {"connection_id":128780,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:42:45] local.INFO: Acknowledgment sent {"connection_id":128780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:42:59] local.INFO: TCP Data received {"connection_id":130934,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:42:59] local.INFO: Processing buffer {"connection_id":130934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:42:59] local.INFO: IMEI packet received {"connection_id":130934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":130934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:43:03] local.INFO: TCP Data received {"connection_id":129688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:43:03] local.INFO: Processing buffer {"connection_id":129688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:43:03] local.INFO: IMEI packet received {"connection_id":129688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":129688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:43:04] local.INFO: TCP Data received {"connection_id":130934,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:43:04] local.INFO: Processing buffer {"connection_id":130934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:43:04] local.INFO: IMEI packet received {"connection_id":130934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":130934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:43:06] local.INFO: TCP Data received {"connection_id":130934,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:43:06] local.INFO: Processing buffer {"connection_id":130934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:43:06] local.INFO: Packet analysis {"connection_id":130934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:43:06] local.INFO: Extracted packet for processing {"connection_id":130934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647361536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783779057000,"timestamp_ms":1783779057000,"timestamp_seconds":1783779057,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845d68"} 
[2026-07-11 19:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647361536001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647361536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:43:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647361536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":130934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:43:06] local.INFO: GPS data processed {"connection_id":130934,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:43:06] local.INFO: Acknowledgment sent {"connection_id":130934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:43:07] local.INFO: TCP Data received {"connection_id":129688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:43:07] local.INFO: Processing buffer {"connection_id":129688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:43:07] local.INFO: IMEI packet received {"connection_id":129688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":129688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:43:08] local.INFO: TCP Data received {"connection_id":129688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:43:08] local.INFO: Processing buffer {"connection_id":129688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:43:08] local.INFO: IMEI packet received {"connection_id":129688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":129688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:43:09] local.INFO: TCP Data received {"connection_id":129688,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5184cac8012ccb2540074b05d0000400952d..."} 
[2026-07-11 19:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5184cac8012ccb2540074b05d0000400952d..."} 
[2026-07-11 19:43:09] local.INFO: Processing buffer {"connection_id":129688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5184cac8012ccb2540074b05d0000400952d..."} 
[2026-07-11 19:43:09] local.INFO: Packet analysis {"connection_id":129688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:43:09] local.INFO: Extracted packet for processing {"connection_id":129688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:43:09] local.INFO: GPS Element Parsed {"raw_longitude":751510848,"raw_latitude":122357200,"longitude_deg":75.1510848,"latitude_deg":12.23572,"altitude":4,"angle":149,"satellites":45,"speed":28,"hex_longitude":"2ccb2540","hex_latitude":"074b05d0","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647443968001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345435346214846464,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3810256359663343616,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783779085000,"timestamp_ms":1783779085000,"timestamp_seconds":1783779085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5184cac8"} 
[2026-07-11 19:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 19:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647443968001,"66":27267,"103":206,"85":37632,"24":28,"16":345435346214846464,"44":-3810256359663343616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-11 19:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647443968001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:43:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 19:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345435346214846464,"km_value":345435346214846.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3810256359663343616,"description":"Unknown IO ID 44"} 
[2026-07-11 19:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647443968001,"power":27267,"unknown_103":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-3810256359663343616}} 
[2026-07-11 19:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":129688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:43:09] local.INFO: GPS data processed {"connection_id":129688,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:43:09] local.INFO: Acknowledgment sent {"connection_id":129688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:43:11] local.INFO: TCP Data received {"connection_id":129687,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51855768012d7b440005d3b2880006015929..."} 
[2026-07-11 19:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51855768012d7b440005d3b2880006015929..."} 
[2026-07-11 19:43:11] local.INFO: Processing buffer {"connection_id":129687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51855768012d7b440005d3b2880006015929..."} 
[2026-07-11 19:43:11] local.INFO: Packet analysis {"connection_id":129687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:43:11] local.INFO: Extracted packet for processing {"connection_id":129687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763053056,"raw_latitude":97759880,"longitude_deg":76.3053056,"latitude_deg":9.775988,"altitude":6,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d7b4400","hex_latitude":"05d3b288","is_valid_coordinates":true} 
[2026-07-11 19:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647449600001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105209334199222272,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702133734238208,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783779121000,"timestamp_ms":1783779121000,"timestamp_seconds":1783779121,"priority":1,"record_length":96,"hex_timestamp":"0000019f51855768"} 
[2026-07-11 19:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 19:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647449600001,"66":11308,"210":206,"85":15104,"24":0,"16":105209334199222272,"45":8883702133734238208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-07-11 19:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647449600001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:43:11] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-11 19:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105209334199222272,"km_value":105209334199222.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702133734238208,"description":"Unknown IO ID 45"} 
[2026-07-11 19:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647449600001,"power":11308,"unknown_210":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8883702133734238208}} 
[2026-07-11 19:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":129687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:43:11] local.INFO: GPS data processed {"connection_id":129687,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:43:11] local.INFO: Acknowledgment sent {"connection_id":129687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:43:34] local.INFO: TCP Data received {"connection_id":130935,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:43:34] local.INFO: Processing buffer {"connection_id":130935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:43:34] local.INFO: IMEI packet received {"connection_id":130935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":130935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:43:38] local.INFO: TCP Data received {"connection_id":130934,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:43:38] local.INFO: Processing buffer {"connection_id":130934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:43:38] local.INFO: Packet analysis {"connection_id":130934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:43:38] local.INFO: Extracted packet for processing {"connection_id":130934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647361536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783779057000,"timestamp_ms":1783779057000,"timestamp_seconds":1783779057,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845d68"} 
[2026-07-11 19:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:43: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-07-11 19:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647361536001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647361536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:43:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647361536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":130934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:43:38] local.INFO: GPS data processed {"connection_id":130934,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:43:38] local.INFO: Acknowledgment sent {"connection_id":130934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:43:39] local.INFO: TCP Data received {"connection_id":130935,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:43:39] local.INFO: Processing buffer {"connection_id":130935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:43:39] local.INFO: IMEI packet received {"connection_id":130935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":130935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:43:40] local.INFO: TCP Data received {"connection_id":129688,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5184d298012ccb28c0074b0110000300892d..."} 
[2026-07-11 19:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5184d298012ccb28c0074b0110000300892d..."} 
[2026-07-11 19:43:40] local.INFO: Processing buffer {"connection_id":129688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5184d298012ccb28c0074b0110000300892d..."} 
[2026-07-11 19:43:40] local.INFO: Packet analysis {"connection_id":129688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:43:40] local.INFO: Extracted packet for processing {"connection_id":129688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:43:40] local.INFO: GPS Element Parsed {"raw_longitude":751511744,"raw_latitude":122355984,"longitude_deg":75.1511744,"latitude_deg":12.2355984,"altitude":3,"angle":137,"satellites":45,"speed":32,"hex_longitude":"2ccb28c0","hex_latitude":"074b0110","is_valid_coordinates":true} 
[2026-07-11 19:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647445760001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345435419229290496,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3808567509804265472,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779087000,"timestamp_ms":1783779087000,"timestamp_seconds":1783779087,"priority":1,"record_length":96,"hex_timestamp":"0000019f5184d298"} 
[2026-07-11 19:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 19:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647445760001,"66":27332,"103":206,"85":37632,"24":32,"16":345435419229290496,"44":-3808567509804265472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-11 19:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647445760001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:43:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 19:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345435419229290496,"km_value":345435419229290.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3808567509804265472,"description":"Unknown IO ID 44"} 
[2026-07-11 19:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647445760001,"power":27332,"unknown_103":206,"unknown_85":37632,"ignition":32,"odometer":null,"unknown_44":-3808567509804265472}} 
[2026-07-11 19:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":129688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:43:40] local.INFO: GPS data processed {"connection_id":129688,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:43:40] local.INFO: Acknowledgment sent {"connection_id":129688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:43:41] local.INFO: TCP Data received {"connection_id":130935,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51858a30012d7b43c005d3b3c00007016529..."} 
[2026-07-11 19:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51858a30012d7b43c005d3b3c00007016529..."} 
[2026-07-11 19:43:41] local.INFO: Processing buffer {"connection_id":130935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51858a30012d7b43c005d3b3c00007016529..."} 
[2026-07-11 19:43:41] local.INFO: Packet analysis {"connection_id":130935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:43:41] local.INFO: Extracted packet for processing {"connection_id":130935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":97760192,"longitude_deg":76.3052992,"latitude_deg":9.7760192,"altitude":7,"angle":357,"satellites":41,"speed":9,"hex_longitude":"2d7b43c0","hex_latitude":"05d3b3c0","is_valid_coordinates":true} 
[2026-07-11 19:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647454976001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105209351379091456,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882224390107990016,"note":"Value kept but may cause issues"} 
[2026-07-11 19:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783779134000,"timestamp_ms":1783779134000,"timestamp_seconds":1783779134,"priority":1,"record_length":96,"hex_timestamp":"0000019f51858a30"} 
[2026-07-11 19:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:43: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-07-11 19:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 19:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647454976001,"66":11721,"210":206,"85":15104,"24":9,"16":105209351379091456,"45":8882224390107990016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-07-11 19:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647454976001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:43:41] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-11 19:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105209351379091456,"km_value":105209351379091.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882224390107990016,"description":"Unknown IO ID 45"} 
[2026-07-11 19:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647454976001,"power":11721,"unknown_210":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8882224390107990016}} 
[2026-07-11 19:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":130935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:43:41] local.INFO: GPS data processed {"connection_id":130935,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:43:41] local.INFO: Acknowledgment sent {"connection_id":130935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:44:04] local.INFO: TCP Data received {"connection_id":128958,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:44:04] local.INFO: Processing buffer {"connection_id":128958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:44:04] local.INFO: IMEI packet received {"connection_id":128958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":128958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:44:08] local.INFO: TCP Data received {"connection_id":128782,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:44:08] local.INFO: Processing buffer {"connection_id":128782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:44:08] local.INFO: IMEI packet received {"connection_id":128782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":128782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:44:09] local.INFO: TCP Data received {"connection_id":128958,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:44:09] local.INFO: Processing buffer {"connection_id":128958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:44:09] local.INFO: IMEI packet received {"connection_id":128958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":128958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:44:10] local.INFO: TCP Data received {"connection_id":128958,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:44:10] local.INFO: Processing buffer {"connection_id":128958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:44:10] local.INFO: Packet analysis {"connection_id":128958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:44:10] local.INFO: Extracted packet for processing {"connection_id":128958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647361536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783779057000,"timestamp_ms":1783779057000,"timestamp_seconds":1783779057,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845d68"} 
[2026-07-11 19:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:44:10] 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-07-11 19:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647361536001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647361536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:44:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:44:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647361536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:44:10] local.INFO: TCP Data received {"connection_id":128782,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:44:10] local.INFO: Processing buffer {"connection_id":128782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:44:10] local.INFO: IMEI packet received {"connection_id":128782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":128782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":128958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:44:10] local.INFO: GPS data processed {"connection_id":128958,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:44:10] local.INFO: Acknowledgment sent {"connection_id":128958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:44:11] local.INFO: TCP Data received {"connection_id":128782,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51863610012ccb9a80074a39e8000500c628..."} 
[2026-07-11 19:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51863610012ccb9a80074a39e8000500c628..."} 
[2026-07-11 19:44:11] local.INFO: Processing buffer {"connection_id":128782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51863610012ccb9a80074a39e8000500c628..."} 
[2026-07-11 19:44:11] local.INFO: Packet analysis {"connection_id":128782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:44:11] local.INFO: Extracted packet for processing {"connection_id":128782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:44:11] local.INFO: GPS Element Parsed {"raw_longitude":751540864,"raw_latitude":122305000,"longitude_deg":75.1540864,"latitude_deg":12.2305,"altitude":5,"angle":198,"satellites":40,"speed":35,"hex_longitude":"2ccb9a80","hex_latitude":"074a39e8","is_valid_coordinates":true} 
[2026-07-11 19:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647467008001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345438786483650560,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3772397975308060672,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783779178000,"timestamp_ms":1783779178000,"timestamp_seconds":1783779178,"priority":1,"record_length":96,"hex_timestamp":"0000019f51863610"} 
[2026-07-11 19:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647467008001,"66":27213,"101":206,"85":37632,"24":35,"16":345438786483650560,"44":-3772397975308060672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-11 19:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647467008001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:44:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 19:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345438786483650560,"km_value":345438786483650.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3772397975308060672,"description":"Unknown IO ID 44"} 
[2026-07-11 19:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647467008001,"power":27213,"unknown_101":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3772397975308060672}} 
[2026-07-11 19:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":128782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:44:11] local.INFO: GPS data processed {"connection_id":128782,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:44:11] local.INFO: Acknowledgment sent {"connection_id":128782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:44:12] local.INFO: TCP Data received {"connection_id":130935,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518599d0012d7b42c005d3b8d80007015a2a..."} 
[2026-07-11 19:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518599d0012d7b42c005d3b8d80007015a2a..."} 
[2026-07-11 19:44:12] local.INFO: Processing buffer {"connection_id":130935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518599d0012d7b42c005d3b8d80007015a2a..."} 
[2026-07-11 19:44:12] local.INFO: Packet analysis {"connection_id":130935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:44:12] local.INFO: Extracted packet for processing {"connection_id":130935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:44:12] local.INFO: GPS Element Parsed {"raw_longitude":763052736,"raw_latitude":97761496,"longitude_deg":76.3052736,"latitude_deg":9.7761496,"altitude":7,"angle":346,"satellites":42,"speed":18,"hex_longitude":"2d7b42c0","hex_latitude":"05d3b8d8","is_valid_coordinates":true} 
[2026-07-11 19:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647458304001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105209415803600896,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882154021363892224,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783779138000,"timestamp_ms":1783779138000,"timestamp_seconds":1783779138,"priority":1,"record_length":96,"hex_timestamp":"0000019f518599d0"} 
[2026-07-11 19:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:44: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-07-11 19:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-11 19:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647458304001,"66":11819,"210":206,"85":15104,"24":18,"16":105209415803600896,"45":8882154021363892224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-07-11 19:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647458304001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:44:12] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-11 19:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105209415803600896,"km_value":105209415803600.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882154021363892224,"description":"Unknown IO ID 45"} 
[2026-07-11 19:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647458304001,"power":11819,"unknown_210":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8882154021363892224}} 
[2026-07-11 19:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":130935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:44:12] local.INFO: GPS data processed {"connection_id":130935,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:44:12] local.INFO: Acknowledgment sent {"connection_id":130935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:44:14] local.INFO: TCP Data received {"connection_id":128782,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51864998012ccb9640074a2980000600ba2a..."} 
[2026-07-11 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51864998012ccb9640074a2980000600ba2a..."} 
[2026-07-11 19:44:14] local.INFO: Processing buffer {"connection_id":128782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51864998012ccb9640074a2980000600ba2a..."} 
[2026-07-11 19:44:14] local.INFO: Packet analysis {"connection_id":128782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:44:14] local.INFO: Extracted packet for processing {"connection_id":128782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:44:14] local.INFO: GPS Element Parsed {"raw_longitude":751539776,"raw_latitude":122300800,"longitude_deg":75.1539776,"latitude_deg":12.23008,"altitude":6,"angle":186,"satellites":42,"speed":33,"hex_longitude":"2ccb9640","hex_latitude":"074a2980","is_valid_coordinates":true} 
[2026-07-11 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647469568001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345438996937048064,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3775564568798304256,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783779183000,"timestamp_ms":1783779183000,"timestamp_seconds":1783779183,"priority":1,"record_length":96,"hex_timestamp":"0000019f51864998"} 
[2026-07-11 19:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 19:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647469568001,"66":26723,"101":206,"85":37632,"24":33,"16":345438996937048064,"44":-3775564568798304256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-11 19:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647469568001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:44:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 19:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345438996937048064,"km_value":345438996937048.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:44:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3775564568798304256,"description":"Unknown IO ID 44"} 
[2026-07-11 19:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647469568001,"power":26723,"unknown_101":206,"unknown_85":37632,"ignition":33,"odometer":null,"unknown_44":-3775564568798304256}} 
[2026-07-11 19:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":128782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:44:14] local.INFO: GPS data processed {"connection_id":128782,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:44:14] local.INFO: Acknowledgment sent {"connection_id":128782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:44:15] local.INFO: TCP Data received {"connection_id":128958,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:44:15] local.INFO: Processing buffer {"connection_id":128958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:44:15] local.INFO: Packet analysis {"connection_id":128958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:44:15] local.INFO: Extracted packet for processing {"connection_id":128958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647361536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783779057000,"timestamp_ms":1783779057000,"timestamp_seconds":1783779057,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845d68"} 
[2026-07-11 19:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:44:15] 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-07-11 19:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647361536001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647361536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:44:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647361536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":128958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:44:15] local.INFO: GPS data processed {"connection_id":128958,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:44:15] local.INFO: Acknowledgment sent {"connection_id":128958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:44:34] local.INFO: TCP Data received {"connection_id":129689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:44:34] local.INFO: Processing buffer {"connection_id":129689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:44:34] local.INFO: IMEI packet received {"connection_id":129689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":129689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:44:38] local.INFO: TCP Data received {"connection_id":129689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:44:38] local.INFO: Processing buffer {"connection_id":129689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:44:38] local.INFO: IMEI packet received {"connection_id":129689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":129689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:44:39] local.INFO: TCP Data received {"connection_id":129689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:44:39] local.INFO: Processing buffer {"connection_id":129689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:44:39] local.INFO: IMEI packet received {"connection_id":129689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":129689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:44:39] local.INFO: TCP Data received {"connection_id":129689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5185d080012d7b3a4005d3dbe80006015c2b..."} 
[2026-07-11 19:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5185d080012d7b3a4005d3dbe80006015c2b..."} 
[2026-07-11 19:44:39] local.INFO: Processing buffer {"connection_id":129689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5185d080012d7b3a4005d3dbe80006015c2b..."} 
[2026-07-11 19:44:39] local.INFO: Packet analysis {"connection_id":129689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:44:39] local.INFO: Extracted packet for processing {"connection_id":129689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5185"} 
[2026-07-11 19:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763050560,"raw_latitude":97770472,"longitude_deg":76.305056,"latitude_deg":9.7770472,"altitude":6,"angle":348,"satellites":43,"speed":21,"hex_longitude":"2d7b3a40","hex_latitude":"05d3dbe8","is_valid_coordinates":true} 
[2026-07-11 19:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647459328001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105209858185232384,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881872546387515392,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783779152000,"timestamp_ms":1783779152000,"timestamp_seconds":1783779152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5185d080"} 
[2026-07-11 19:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-11 19:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":815,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647459328001,"66":11711,"210":206,"85":15104,"24":21,"16":105209858185232384,"45":8881872546387515392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-07-11 19:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647459328001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:44:39] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-11 19:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105209858185232384,"km_value":105209858185232.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881872546387515392,"description":"Unknown IO ID 45"} 
[2026-07-11 19:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647459328001,"power":11711,"unknown_210":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8881872546387515392}} 
[2026-07-11 19:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":129689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:44:40] local.INFO: GPS data processed {"connection_id":129689,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:44:40] local.INFO: Acknowledgment sent {"connection_id":129689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:44:44] local.INFO: TCP Data received {"connection_id":129689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51860348012d7b34c005d3ffd0000401652b..."} 
[2026-07-11 19:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51860348012d7b34c005d3ffd0000401652b..."} 
[2026-07-11 19:44:44] local.INFO: Processing buffer {"connection_id":129689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51860348012d7b34c005d3ffd0000401652b..."} 
[2026-07-11 19:44:44] local.INFO: Packet analysis {"connection_id":129689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:44:44] local.INFO: Extracted packet for processing {"connection_id":129689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763049152,"raw_latitude":97779664,"longitude_deg":76.3049152,"latitude_deg":9.7779664,"altitude":4,"angle":357,"satellites":43,"speed":33,"hex_longitude":"2d7b34c0","hex_latitude":"05d3ffd0","is_valid_coordinates":true} 
[2026-07-11 19:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647462912001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105210309156798464,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879480009087772672,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783779165000,"timestamp_ms":1783779165000,"timestamp_seconds":1783779165,"priority":1,"record_length":96,"hex_timestamp":"0000019f51860348"} 
[2026-07-11 19:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-11 19:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647462912001,"66":11852,"210":206,"85":15104,"24":33,"16":105210309156798464,"45":8879480009087772672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-07-11 19:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647462912001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:44:44] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-11 19:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105210309156798464,"km_value":105210309156798.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879480009087772672,"description":"Unknown IO ID 45"} 
[2026-07-11 19:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647462912001,"power":11852,"unknown_210":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8879480009087772672}} 
[2026-07-11 19:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":129689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:44:44] local.INFO: GPS data processed {"connection_id":129689,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:44:44] local.INFO: Acknowledgment sent {"connection_id":129689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:44:45] local.INFO: TCP Data received {"connection_id":128782,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51865550012ccb9640074a1fb0000700af29..."} 
[2026-07-11 19:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51865550012ccb9640074a1fb0000700af29..."} 
[2026-07-11 19:44:45] local.INFO: Processing buffer {"connection_id":128782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51865550012ccb9640074a1fb0000700af29..."} 
[2026-07-11 19:44:45] local.INFO: Packet analysis {"connection_id":128782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:44:45] local.INFO: Extracted packet for processing {"connection_id":128782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:44:45] local.INFO: GPS Element Parsed {"raw_longitude":751539776,"raw_latitude":122298288,"longitude_deg":75.1539776,"latitude_deg":12.2298288,"altitude":7,"angle":175,"satellites":41,"speed":32,"hex_longitude":"2ccb9640","hex_latitude":"074a1fb0","is_valid_coordinates":true} 
[2026-07-11 19:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647470848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345439117196132352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776760837450399744,"note":"Value kept but may cause issues"} 
[2026-07-11 19:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783779186000,"timestamp_ms":1783779186000,"timestamp_seconds":1783779186,"priority":1,"record_length":96,"hex_timestamp":"0000019f51865550"} 
[2026-07-11 19:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-07-11 19:44:45] 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-07-11 19:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647470848001,"66":27376,"101":206,"85":37632,"24":32,"16":345439117196132352,"44":-3776760837450399744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-11 19:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647470848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:44:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 19:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345439117196132352,"km_value":345439117196132.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776760837450399744,"description":"Unknown IO ID 44"} 
[2026-07-11 19:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647470848001,"power":27376,"unknown_101":206,"unknown_85":37632,"ignition":32,"odometer":null,"unknown_44":-3776760837450399744}} 
[2026-07-11 19:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":128782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:44:45] local.INFO: GPS data processed {"connection_id":128782,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:44:45] local.INFO: Acknowledgment sent {"connection_id":128782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:44:59] local.INFO: TCP Data received {"connection_id":128783,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:44:59] local.INFO: Processing buffer {"connection_id":128783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:44:59] local.INFO: IMEI packet received {"connection_id":128783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":128783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:45:04] local.INFO: TCP Data received {"connection_id":128783,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:45:04] local.INFO: Processing buffer {"connection_id":128783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:45:04] local.INFO: IMEI packet received {"connection_id":128783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:45:05] local.INFO: TCP Data received {"connection_id":128783,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:45:05] local.INFO: Processing buffer {"connection_id":128783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:45:05] local.INFO: Packet analysis {"connection_id":128783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:45:05] local.INFO: Extracted packet for processing {"connection_id":128783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647361536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779057000,"timestamp_ms":1783779057000,"timestamp_seconds":1783779057,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845d68"} 
[2026-07-11 19:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:45:05] 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-07-11 19:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647361536001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647361536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647361536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":128783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:45:05] local.INFO: GPS data processed {"connection_id":128783,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:45:05] local.INFO: Acknowledgment sent {"connection_id":128783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:45:11] local.INFO: TCP Data received {"connection_id":130936,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:45:11] local.INFO: Processing buffer {"connection_id":130936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:45:11] local.INFO: IMEI packet received {"connection_id":130936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":130936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:45:15] local.INFO: TCP Data received {"connection_id":129689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51862a58012d7b35c005d423280003000229..."} 
[2026-07-11 19:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51862a58012d7b35c005d423280003000229..."} 
[2026-07-11 19:45:15] local.INFO: Processing buffer {"connection_id":129689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51862a58012d7b35c005d423280003000229..."} 
[2026-07-11 19:45:15] local.INFO: Packet analysis {"connection_id":129689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:45:15] local.INFO: Extracted packet for processing {"connection_id":129689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:45:15] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":97788712,"longitude_deg":76.3049408,"latitude_deg":9.7788712,"altitude":3,"angle":2,"satellites":41,"speed":37,"hex_longitude":"2d7b35c0","hex_latitude":"05d42328","is_valid_coordinates":true} 
[2026-07-11 19:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647466240001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105210742948495360,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877931896718217216,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783779175000,"timestamp_ms":1783779175000,"timestamp_seconds":1783779175,"priority":1,"record_length":96,"hex_timestamp":"0000019f51862a58"} 
[2026-07-11 19:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 19:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647466240001,"66":11624,"210":206,"85":15104,"24":37,"16":105210742948495360,"45":8877931896718217216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-07-11 19:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647466240001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:45:15] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-11 19:45:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105210742948495360,"km_value":105210742948495.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877931896718217216,"description":"Unknown IO ID 45"} 
[2026-07-11 19:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647466240001,"power":11624,"unknown_210":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8877931896718217216}} 
[2026-07-11 19:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":129689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:45:16] local.INFO: GPS data processed {"connection_id":129689,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:45:16] local.INFO: Acknowledgment sent {"connection_id":129689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:45:17] local.INFO: TCP Data received {"connection_id":130936,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:45:17] local.INFO: Processing buffer {"connection_id":130936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:45:17] local.INFO: IMEI packet received {"connection_id":130936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":130936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:45:18] local.INFO: TCP Data received {"connection_id":130936,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518668d8012ccb9940074a1030000800a22b..."} 
[2026-07-11 19:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518668d8012ccb9940074a1030000800a22b..."} 
[2026-07-11 19:45:18] local.INFO: Processing buffer {"connection_id":130936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518668d8012ccb9940074a1030000800a22b..."} 
[2026-07-11 19:45:18] local.INFO: Packet analysis {"connection_id":130936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:45:18] local.INFO: Extracted packet for processing {"connection_id":130936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":751540544,"raw_latitude":122294320,"longitude_deg":75.1540544,"latitude_deg":12.229432,"altitude":8,"angle":162,"satellites":43,"speed":31,"hex_longitude":"2ccb9940","hex_latitude":"074a1030","is_valid_coordinates":true} 
[2026-07-11 19:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647471616001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345439314764627968,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776760837451042816,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783779191000,"timestamp_ms":1783779191000,"timestamp_seconds":1783779191,"priority":1,"record_length":96,"hex_timestamp":"0000019f518668d8"} 
[2026-07-11 19:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:45:18] 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-07-11 19:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647471616001,"66":27397,"101":206,"85":37632,"24":31,"16":345439314764627968,"44":-3776760837451042816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-11 19:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647471616001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:45:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 19:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345439314764627968,"km_value":345439314764627.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:45:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776760837451042816,"description":"Unknown IO ID 44"} 
[2026-07-11 19:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647471616001,"power":27397,"unknown_101":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3776760837451042816}} 
[2026-07-11 19:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":130936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:45:18] local.INFO: GPS data processed {"connection_id":130936,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:45:18] local.INFO: Acknowledgment sent {"connection_id":130936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:45:19] local.INFO: TCP Data received {"connection_id":130936,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51867878012ccb9e40074a0520000800952c..."} 
[2026-07-11 19:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51867878012ccb9e40074a0520000800952c..."} 
[2026-07-11 19:45:19] local.INFO: Processing buffer {"connection_id":130936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51867878012ccb9e40074a0520000800952c..."} 
[2026-07-11 19:45:19] local.INFO: Packet analysis {"connection_id":130936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:45:19] local.INFO: Extracted packet for processing {"connection_id":130936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5186"} 
[2026-07-11 19:45:19] local.INFO: GPS Element Parsed {"raw_longitude":751541824,"raw_latitude":122291488,"longitude_deg":75.1541824,"latitude_deg":12.2291488,"altitude":8,"angle":149,"satellites":44,"speed":26,"hex_longitude":"2ccb9e40","hex_latitude":"074a0520","is_valid_coordinates":true} 
[2026-07-11 19:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647472896001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345439465088483328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3775916412521926656,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783779195000,"timestamp_ms":1783779195000,"timestamp_seconds":1783779195,"priority":1,"record_length":96,"hex_timestamp":"0000019f51867878"} 
[2026-07-11 19:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647472896001,"66":27343,"101":206,"85":37632,"24":26,"16":345439465088483328,"44":-3775916412521926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-11 19:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647472896001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:45:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-11 19:45:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345439465088483328,"km_value":345439465088483.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3775916412521926656,"description":"Unknown IO ID 44"} 
[2026-07-11 19:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647472896001,"power":27343,"unknown_101":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-3775916412521926656}} 
[2026-07-11 19:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":130936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:45:19] local.INFO: GPS data processed {"connection_id":130936,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:45:19] local.INFO: Acknowledgment sent {"connection_id":130936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:45:37] local.INFO: TCP Data received {"connection_id":128783,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:45:37] local.INFO: Processing buffer {"connection_id":128783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:45:37] local.INFO: Packet analysis {"connection_id":128783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:45:37] local.INFO: Extracted packet for processing {"connection_id":128783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647361536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779057000,"timestamp_ms":1783779057000,"timestamp_seconds":1783779057,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845d68"} 
[2026-07-11 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-07-11 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:45:37] 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-07-11 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-07-11 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-07-11 19:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647361536001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647361536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:45:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647361536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":128783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:45:37] local.INFO: GPS data processed {"connection_id":128783,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:45:37] local.INFO: Acknowledgment sent {"connection_id":128783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:45:39] local.INFO: TCP Data received {"connection_id":128784,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:45:39] local.INFO: Processing buffer {"connection_id":128784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:45:39] local.INFO: IMEI packet received {"connection_id":128784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":128784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:45:45] local.INFO: TCP Data received {"connection_id":128784,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:45:45] local.INFO: Processing buffer {"connection_id":128784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:45:45] local.INFO: IMEI packet received {"connection_id":128784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":128784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:45:49] local.INFO: TCP Data received {"connection_id":128784,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:45:49] local.INFO: Processing buffer {"connection_id":128784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:45:49] local.INFO: IMEI packet received {"connection_id":128784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":128784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:45:50] local.INFO: TCP Data received {"connection_id":128784,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51881688012d7b8ec005d468c80004005c2a..."} 
[2026-07-11 19:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51881688012d7b8ec005d468c80004005c2a..."} 
[2026-07-11 19:45:50] local.INFO: Processing buffer {"connection_id":128784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51881688012d7b8ec005d468c80004005c2a..."} 
[2026-07-11 19:45:50] local.INFO: Packet analysis {"connection_id":128784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:45:50] local.INFO: Extracted packet for processing {"connection_id":128784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:45:50] local.INFO: GPS Element Parsed {"raw_longitude":763072192,"raw_latitude":97806536,"longitude_deg":76.3072192,"latitude_deg":9.7806536,"altitude":4,"angle":92,"satellites":42,"speed":18,"hex_longitude":"2d7b8ec0","hex_latitude":"05d468c8","is_valid_coordinates":true} 
[2026-07-11 19:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647496448001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105212800237830144,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893201914211592192,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783779301000,"timestamp_ms":1783779301000,"timestamp_seconds":1783779301,"priority":1,"record_length":96,"hex_timestamp":"0000019f51881688"} 
[2026-07-11 19:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 19:45:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:50] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":5888,"corrected_to":0} 
[2026-07-11 19:45:50] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:50] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3221607510,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:50] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2269097985,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1308950734,"corrected_to":0} 
[2026-07-11 19:45:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:50] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3377987584,"note":"Value kept but may cause issues"} 
[2026-07-11 19:45:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,5,85,24,241,157,16,202,159,184,45,128,102,3,43,10,66,201,161,97,41,141,192,1,240,61,227,81,212,4,113,205,55,239,44,2,117],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":202,"original":5888,"validated":0},{"io_id":205,"original":1308950734,"validated":0}]} 
[2026-07-11 19:45:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288327317859926016,"timestamp_seconds":288327317859926.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 19:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":128784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":128784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":128784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647496448001,"66":11950,"5":206,"85":15104,"24":18,"16":105212800237830144,"45":8893201914211592192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-07-11 19:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647496448001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:45:50] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-11 19:45:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105212800237830144,"km_value":105212800237830.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893201914211592192,"description":"Unknown IO ID 45"} 
[2026-07-11 19:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647496448001,"power":11950,"unknown_5":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8893201914211592192}} 
[2026-07-11 19:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":128784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:45:50] local.INFO: GPS data processed {"connection_id":128784,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:45:50] local.INFO: Acknowledgment sent {"connection_id":128784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:45:59] local.INFO: TCP Data received {"connection_id":129690,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:45:59] local.INFO: Processing buffer {"connection_id":129690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:45:59] local.INFO: IMEI packet received {"connection_id":129690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":129690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:46:03] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:46:03] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:46:03] local.INFO: IMEI packet received {"connection_id":130937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":130937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:46:04] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:46:04] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:46:04] local.INFO: IMEI packet received {"connection_id":130937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":130937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:46:04] local.INFO: TCP Data received {"connection_id":129690,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:46:04] local.INFO: Processing buffer {"connection_id":129690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:46:04] local.INFO: IMEI packet received {"connection_id":129690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":129690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:46:05] local.INFO: TCP Data received {"connection_id":129690,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:46:05] local.INFO: Processing buffer {"connection_id":129690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51845d68012d196680071fef80003b011a26..."} 
[2026-07-11 19:46:05] local.INFO: Packet analysis {"connection_id":129690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:46:05] local.INFO: Extracted packet for processing {"connection_id":129690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5184"} 
[2026-07-11 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647361536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779057000,"timestamp_ms":1783779057000,"timestamp_seconds":1783779057,"priority":1,"record_length":96,"hex_timestamp":"0000019f51845d68"} 
[2026-07-11 19:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-11 19:46:05] 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-07-11 19:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647361536001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647361536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:46:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647361536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":129690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:46:05] local.INFO: GPS data processed {"connection_id":129690,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:46:05] local.INFO: Acknowledgment sent {"connection_id":129690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:46:07] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:46:07] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:46:07] local.INFO: IMEI packet received {"connection_id":130937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":130937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:46:10] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5187ef78012ccc4180074904d0000700b82c..."} 
[2026-07-11 19:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5187ef78012ccc4180074904d0000700b82c..."} 
[2026-07-11 19:46:10] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5187ef78012ccc4180074904d0000700b82c..."} 
[2026-07-11 19:46:10] local.INFO: Packet analysis {"connection_id":130937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5187"} 
[2026-07-11 19:46:10] local.INFO: Extracted packet for processing {"connection_id":130937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5187"} 
[2026-07-11 19:46:10] local.INFO: GPS Element Parsed {"raw_longitude":751583616,"raw_latitude":122225872,"longitude_deg":75.1583616,"latitude_deg":12.2225872,"altitude":7,"angle":184,"satellites":44,"speed":43,"hex_longitude":"2ccc4180","hex_latitude":"074904d0","is_valid_coordinates":true} 
[2026-07-11 19:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647496192001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345443541012447232,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3727713822775261184,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783779291000,"timestamp_ms":1783779291000,"timestamp_seconds":1783779291,"priority":1,"record_length":96,"hex_timestamp":"0000019f5187ef78"} 
[2026-07-11 19:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647496192001,"66":27332,"167":206,"85":37632,"24":43,"16":345443541012447232,"44":-3727713822775261184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-11 19:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647496192001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:46:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 19:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345443541012447232,"km_value":345443541012447.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3727713822775261184,"description":"Unknown IO ID 44"} 
[2026-07-11 19:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647496192001,"power":27332,"unknown_167":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3727713822775261184}} 
[2026-07-11 19:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":130937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:46:10] local.INFO: GPS data processed {"connection_id":130937,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:46:10] local.INFO: Acknowledgment sent {"connection_id":130937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:46:15] local.INFO: TCP Data received {"connection_id":128785,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:46:15] local.INFO: Processing buffer {"connection_id":128785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:46:15] local.INFO: IMEI packet received {"connection_id":128785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":128785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:46:37] local.INFO: TCP Data received {"connection_id":129690,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:46:37] local.INFO: Processing buffer {"connection_id":129690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:46:37] local.INFO: Packet analysis {"connection_id":129690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:46:37] local.INFO: Extracted packet for processing {"connection_id":129690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":129690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:46:37] local.INFO: GPS data processed {"connection_id":129690,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:46:37] local.INFO: Acknowledgment sent {"connection_id":129690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:46:38] local.INFO: TCP Data received {"connection_id":130938,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:46:38] local.INFO: Processing buffer {"connection_id":130938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:46:38] local.INFO: IMEI packet received {"connection_id":130938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":130938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:46:39] local.INFO: TCP Data received {"connection_id":130938,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:46:39] local.INFO: Processing buffer {"connection_id":130938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:46:39] local.INFO: IMEI packet received {"connection_id":130938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":130938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:46:41] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518812a0012ccc3e000748de90000700ba2b..."} 
[2026-07-11 19:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518812a0012ccc3e000748de90000700ba2b..."} 
[2026-07-11 19:46:41] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518812a0012ccc3e000748de90000700ba2b..."} 
[2026-07-11 19:46:41] local.INFO: Packet analysis {"connection_id":130937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:46:41] local.INFO: Extracted packet for processing {"connection_id":130937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:46:41] local.INFO: GPS Element Parsed {"raw_longitude":751582720,"raw_latitude":122216080,"longitude_deg":75.158272,"latitude_deg":12.221608,"altitude":7,"angle":186,"satellites":43,"speed":43,"hex_longitude":"2ccc3e00","hex_latitude":"0748de90","is_valid_coordinates":true} 
[2026-07-11 19:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647498496001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345444017753817088,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728558247707881472,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783779300000,"timestamp_ms":1783779300000,"timestamp_seconds":1783779300,"priority":1,"record_length":96,"hex_timestamp":"0000019f518812a0"} 
[2026-07-11 19:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:46: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-07-11 19:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647498496001,"66":27376,"167":206,"85":37632,"24":43,"16":345444017753817088,"44":-3728558247707881472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-11 19:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647498496001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:46:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 19:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345444017753817088,"km_value":345444017753817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728558247707881472,"description":"Unknown IO ID 44"} 
[2026-07-11 19:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647498496001,"power":27376,"unknown_167":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3728558247707881472}} 
[2026-07-11 19:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":130937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:46:41] local.INFO: GPS data processed {"connection_id":130937,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:46:41] local.INFO: Acknowledgment sent {"connection_id":130937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:46:44] local.INFO: TCP Data received {"connection_id":130938,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:46:44] local.INFO: Processing buffer {"connection_id":130938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:46:44] local.INFO: IMEI packet received {"connection_id":130938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":130938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:46:44] local.INFO: TCP Data received {"connection_id":128960,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:46:44] local.INFO: Processing buffer {"connection_id":128960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:46:44] local.INFO: IMEI packet received {"connection_id":128960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":128960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:46:45] local.INFO: TCP Data received {"connection_id":130938,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51885120012d7baac005d465f8000500672a..."} 
[2026-07-11 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51885120012d7baac005d465f8000500672a..."} 
[2026-07-11 19:46:45] local.INFO: Processing buffer {"connection_id":130938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51885120012d7baac005d465f8000500672a..."} 
[2026-07-11 19:46:45] local.INFO: Packet analysis {"connection_id":130938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:46:45] local.INFO: Extracted packet for processing {"connection_id":130938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763079360,"raw_latitude":97805816,"longitude_deg":76.307936,"latitude_deg":9.7805816,"altitude":5,"angle":103,"satellites":42,"speed":19,"hex_longitude":"2d7baac0","hex_latitude":"05d465f8","is_valid_coordinates":true} 
[2026-07-11 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647501056001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105213156720115712,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903264644629055488,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783779316000,"timestamp_ms":1783779316000,"timestamp_seconds":1783779316,"priority":1,"record_length":96,"hex_timestamp":"0000019f51885120"} 
[2026-07-11 19:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 19:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647501056001,"66":11700,"5":206,"85":15104,"24":19,"16":105213156720115712,"45":8903264644629055488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-07-11 19:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647501056001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:46:45] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-11 19:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105213156720115712,"km_value":105213156720115.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903264644629055488,"description":"Unknown IO ID 45"} 
[2026-07-11 19:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647501056001,"power":11700,"unknown_5":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8903264644629055488}} 
[2026-07-11 19:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":130938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:46:45] local.INFO: GPS data processed {"connection_id":130938,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:46:45] local.INFO: Acknowledgment sent {"connection_id":130938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:46:49] local.INFO: TCP Data received {"connection_id":130938,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51889388012d7bcb8005d45db00003005c29..."} 
[2026-07-11 19:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51889388012d7bcb8005d45db00003005c29..."} 
[2026-07-11 19:46:49] local.INFO: Processing buffer {"connection_id":130938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51889388012d7bcb8005d45db00003005c29..."} 
[2026-07-11 19:46:49] local.INFO: Packet analysis {"connection_id":130938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:46:49] local.INFO: Extracted packet for processing {"connection_id":130938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:46:49] local.INFO: GPS Element Parsed {"raw_longitude":763087744,"raw_latitude":97803696,"longitude_deg":76.3087744,"latitude_deg":9.7803696,"altitude":3,"angle":92,"satellites":41,"speed":18,"hex_longitude":"2d7bcb80","hex_latitude":"05d45db0","is_valid_coordinates":true} 
[2026-07-11 19:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647504896001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105213586216845312,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911145943976769536,"note":"Value kept but may cause issues"} 
[2026-07-11 19:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783779333000,"timestamp_ms":1783779333000,"timestamp_seconds":1783779333,"priority":1,"record_length":96,"hex_timestamp":"0000019f51889388"} 
[2026-07-11 19:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-11 19:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647504896001,"66":12037,"5":206,"85":15104,"24":18,"16":105213586216845312,"45":8911145943976769536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-07-11 19:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647504896001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:46:49] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-11 19:46:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105213586216845312,"km_value":105213586216845.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911145943976769536,"description":"Unknown IO ID 45"} 
[2026-07-11 19:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647504896001,"power":12037,"unknown_5":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8911145943976769536}} 
[2026-07-11 19:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":130938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:46:49] local.INFO: GPS data processed {"connection_id":130938,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:46:49] local.INFO: Acknowledgment sent {"connection_id":130938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:47:03] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:47:03] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:47:03] local.INFO: IMEI packet received {"connection_id":128787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":128787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:47:04] local.INFO: TCP Data received {"connection_id":128786,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:47:04] local.INFO: Processing buffer {"connection_id":128786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:47:04] local.INFO: IMEI packet received {"connection_id":128786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:47:08] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:47:08] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:47:08] local.INFO: IMEI packet received {"connection_id":128787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":128787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:47:09] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518831e0012ccc37800748bc38000600c32a..."} 
[2026-07-11 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518831e0012ccc37800748bc38000600c32a..."} 
[2026-07-11 19:47:09] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518831e0012ccc37800748bc38000600c32a..."} 
[2026-07-11 19:47:09] local.INFO: Packet analysis {"connection_id":128787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:09] local.INFO: Extracted packet for processing {"connection_id":128787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":751581056,"raw_latitude":122207288,"longitude_deg":75.1581056,"latitude_deg":12.2207288,"altitude":6,"angle":195,"satellites":42,"speed":45,"hex_longitude":"2ccc3780","hex_latitude":"0748bc38","is_valid_coordinates":true} 
[2026-07-11 19:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647500800001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345444451545513984,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3729543410128875520,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783779308000,"timestamp_ms":1783779308000,"timestamp_seconds":1783779308,"priority":1,"record_length":96,"hex_timestamp":"0000019f518831e0"} 
[2026-07-11 19:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647500800001,"66":27484,"167":206,"85":37632,"24":45,"16":345444451545513984,"44":-3729543410128875520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-11 19:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647500800001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:47:09] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 19:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345444451545513984,"km_value":345444451545514.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3729543410128875520,"description":"Unknown IO ID 44"} 
[2026-07-11 19:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647500800001,"power":27484,"unknown_167":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3729543410128875520}} 
[2026-07-11 19:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":128787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:47:09] local.INFO: GPS data processed {"connection_id":128787,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:47:09] local.INFO: Acknowledgment sent {"connection_id":128787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:47:09] local.INFO: TCP Data received {"connection_id":128786,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:47:09] local.INFO: Processing buffer {"connection_id":128786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:47:09] local.INFO: IMEI packet received {"connection_id":128786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":128786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:47:11] local.INFO: TCP Data received {"connection_id":128786,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:47:11] local.INFO: Processing buffer {"connection_id":128786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:47:11] local.INFO: Packet analysis {"connection_id":128786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:11] local.INFO: Extracted packet for processing {"connection_id":128786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:47:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":128786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:47:11] local.INFO: GPS data processed {"connection_id":128786,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:47:11] local.INFO: Acknowledgment sent {"connection_id":128786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:47:15] local.INFO: TCP Data received {"connection_id":128786,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:47:15] local.INFO: Processing buffer {"connection_id":128786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:47:15] local.INFO: Packet analysis {"connection_id":128786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:15] local.INFO: Extracted packet for processing {"connection_id":128786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:47:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:47:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":128786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:47:15] local.INFO: GPS data processed {"connection_id":128786,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:47:15] local.INFO: Acknowledgment sent {"connection_id":128786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:47:35] local.INFO: TCP Data received {"connection_id":128961,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:47:35] local.INFO: Processing buffer {"connection_id":128961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:47:35] local.INFO: IMEI packet received {"connection_id":128961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":128961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:47:39] local.INFO: TCP Data received {"connection_id":128961,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:47:39] local.INFO: Processing buffer {"connection_id":128961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:47:39] local.INFO: IMEI packet received {"connection_id":128961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":128961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:47:40] local.INFO: TCP Data received {"connection_id":128961,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188e590012d7bd48005d45d78000400592a..."} 
[2026-07-11 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188e590012d7bd48005d45d78000400592a..."} 
[2026-07-11 19:47:40] local.INFO: Processing buffer {"connection_id":128961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188e590012d7bd48005d45d78000400592a..."} 
[2026-07-11 19:47:40] local.INFO: Packet analysis {"connection_id":128961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:40] local.INFO: Extracted packet for processing {"connection_id":128961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763090048,"raw_latitude":97803640,"longitude_deg":76.3090048,"latitude_deg":9.780364,"altitude":4,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7bd480","hex_latitude":"05d45d78","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647509248001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105213685001093120,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920364249463500800,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779354000,"timestamp_ms":1783779354000,"timestamp_seconds":1783779354,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188e590"} 
[2026-07-11 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-07-11 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729382257078043648,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3144119470272787416,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13056,"corrected_to":0} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2277033985,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":385875968,"corrected_to":0} 
[2026-07-11 19:47:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5621900596035125272,"corrected_to":0} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2147865697,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2919288142,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3385982976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194568960,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,5,85,24,241,157,16,203,159,81,45,192,101,42,10,66,202,22,104,4,208,1,240,227,212,113,205,18,161,84,41,239,46,2,117,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":203,"original":13056,"validated":0},{"io_id":202,"original":385875968,"validated":0},{"io_id":205,"original":5621900596035125272,"validated":0}]} 
[2026-07-11 19:47:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216274113278377984,"timestamp_seconds":216274113278377.97,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 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-07-11 19:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647509248001,"66":11645,"211":206,"85":15104,"24":0,"16":105213685001093120,"45":8920364249463500800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-11 19:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647509248001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:47:40] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-11 19:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105213685001093120,"km_value":105213685001093.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920364249463500800,"description":"Unknown IO ID 45"} 
[2026-07-11 19:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647509248001,"power":11645,"unknown_211":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8920364249463500800}} 
[2026-07-11 19:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":128961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:47:40] local.INFO: GPS data processed {"connection_id":128961,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:47:40] local.INFO: Acknowledgment sent {"connection_id":128961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:47:40] local.INFO: TCP Data received {"connection_id":128787,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51885120012ccc2bc007489a80000400c62c..."} 
[2026-07-11 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51885120012ccc2bc007489a80000400c62c..."} 
[2026-07-11 19:47:40] local.INFO: Processing buffer {"connection_id":128787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51885120012ccc2bc007489a80000400c62c..."} 
[2026-07-11 19:47:40] local.INFO: Packet analysis {"connection_id":128787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:40] local.INFO: Extracted packet for processing {"connection_id":128787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":751578048,"raw_latitude":122198656,"longitude_deg":75.1578048,"latitude_deg":12.2198656,"altitude":4,"angle":198,"satellites":44,"speed":45,"hex_longitude":"2ccc2bc0","hex_latitude":"07489a80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647502848001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345444893927145472,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3731372997479745536,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779316000,"timestamp_ms":1783779316000,"timestamp_seconds":1783779316,"priority":1,"record_length":96,"hex_timestamp":"0000019f51885120"} 
[2026-07-11 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-07-11 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 19:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 19:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647502848001,"66":27343,"167":206,"85":37632,"24":45,"16":345444893927145472,"44":-3731372997479745536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-11 19:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647502848001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:47:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 19:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345444893927145472,"km_value":345444893927145.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3731372997479745536,"description":"Unknown IO ID 44"} 
[2026-07-11 19:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647502848001,"power":27343,"unknown_167":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3731372997479745536}} 
[2026-07-11 19:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":128787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:47:40] local.INFO: GPS data processed {"connection_id":128787,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:47:40] local.INFO: Acknowledgment sent {"connection_id":128787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:47:41] local.INFO: TCP Data received {"connection_id":128961,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51893798012d7bd58005d45d98000400592a..."} 
[2026-07-11 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51893798012d7bd58005d45d98000400592a..."} 
[2026-07-11 19:47:41] local.INFO: Processing buffer {"connection_id":128961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51893798012d7bd58005d45d98000400592a..."} 
[2026-07-11 19:47:41] local.INFO: Packet analysis {"connection_id":128961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5189"} 
[2026-07-11 19:47:41] local.INFO: Extracted packet for processing {"connection_id":128961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5189"} 
[2026-07-11 19:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763090304,"raw_latitude":97803672,"longitude_deg":76.3090304,"latitude_deg":9.7803672,"altitude":4,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7bd580","hex_latitude":"05d45d98","is_valid_coordinates":true} 
[2026-07-11 19:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647514624001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105213697885995008,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922897524253882368,"note":"Value kept but may cause issues"} 
[2026-07-11 19:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783779375000,"timestamp_ms":1783779375000,"timestamp_seconds":1783779375,"priority":1,"record_length":96,"hex_timestamp":"0000019f51893798"} 
[2026-07-11 19:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 19:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647514624001,"66":11874,"211":206,"85":15104,"24":0,"16":105213697885995008,"45":8922897524253882368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-11 19:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647514624001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:47:41] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-11 19:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105213697885995008,"km_value":105213697885995.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922897524253882368,"description":"Unknown IO ID 45"} 
[2026-07-11 19:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647514624001,"power":11874,"unknown_211":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8922897524253882368}} 
[2026-07-11 19:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":128961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:47:41] local.INFO: GPS data processed {"connection_id":128961,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:47:41] local.INFO: Acknowledgment sent {"connection_id":128961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:47:59] local.INFO: TCP Data received {"connection_id":128962,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:47:59] local.INFO: Processing buffer {"connection_id":128962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:47:59] local.INFO: IMEI packet received {"connection_id":128962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":128962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:48:03] local.INFO: TCP Data received {"connection_id":130939,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:48:03] local.INFO: Processing buffer {"connection_id":130939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:48:03] local.INFO: IMEI packet received {"connection_id":130939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":130939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:48:04] local.INFO: TCP Data received {"connection_id":128962,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:48:04] local.INFO: Processing buffer {"connection_id":128962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:48:04] local.INFO: IMEI packet received {"connection_id":128962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":128962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:48:05] local.INFO: TCP Data received {"connection_id":128962,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:48:05] local.INFO: Processing buffer {"connection_id":128962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:48:05] local.INFO: Packet analysis {"connection_id":128962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:48:05] local.INFO: Extracted packet for processing {"connection_id":128962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:48:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:48:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":128962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:48:05] local.INFO: GPS data processed {"connection_id":128962,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:48:05] local.INFO: Acknowledgment sent {"connection_id":128962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:48:08] local.INFO: TCP Data received {"connection_id":130939,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:48:08] local.INFO: Processing buffer {"connection_id":130939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:48:08] local.INFO: IMEI packet received {"connection_id":130939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":130939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:48:09] local.INFO: TCP Data received {"connection_id":130939,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51887060012ccc240007487a70000300ba2b..."} 
[2026-07-11 19:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51887060012ccc240007487a70000300ba2b..."} 
[2026-07-11 19:48:09] local.INFO: Processing buffer {"connection_id":130939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51887060012ccc240007487a70000300ba2b..."} 
[2026-07-11 19:48:09] local.INFO: Packet analysis {"connection_id":130939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:48:09] local.INFO: Extracted packet for processing {"connection_id":130939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:48:09] local.INFO: GPS Element Parsed {"raw_longitude":751576064,"raw_latitude":122190448,"longitude_deg":75.1576064,"latitude_deg":12.2190448,"altitude":3,"angle":186,"satellites":43,"speed":39,"hex_longitude":"2ccc2400","hex_latitude":"07487a70","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647504896001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345445306244005888,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3734680328458305536,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783779324000,"timestamp_ms":1783779324000,"timestamp_seconds":1783779324,"priority":1,"record_length":96,"hex_timestamp":"0000019f51887060"} 
[2026-07-11 19:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647504896001,"66":27300,"167":206,"85":37632,"24":39,"16":345445306244005888,"44":-3734680328458305536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-11 19:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647504896001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:48:09] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 19:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345445306244005888,"km_value":345445306244005.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3734680328458305536,"description":"Unknown IO ID 44"} 
[2026-07-11 19:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647504896001,"power":27300,"unknown_167":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-3734680328458305536}} 
[2026-07-11 19:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":130939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:48:09] local.INFO: GPS data processed {"connection_id":130939,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:48:09] local.INFO: Acknowledgment sent {"connection_id":130939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:48:12] local.INFO: TCP Data received {"connection_id":128961,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518989a0012d7bd58005d45d98000400592a..."} 
[2026-07-11 19:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518989a0012d7bd58005d45d98000400592a..."} 
[2026-07-11 19:48:12] local.INFO: Processing buffer {"connection_id":128961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518989a0012d7bd58005d45d98000400592a..."} 
[2026-07-11 19:48:12] local.INFO: Packet analysis {"connection_id":128961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5189"} 
[2026-07-11 19:48:12] local.INFO: Extracted packet for processing {"connection_id":128961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5189"} 
[2026-07-11 19:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763090304,"raw_latitude":97803672,"longitude_deg":76.3090304,"latitude_deg":9.7803672,"altitude":4,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7bd580","hex_latitude":"05d45d98","is_valid_coordinates":true} 
[2026-07-11 19:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647520000001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105213697885995008,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923178999230601216,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783779396000,"timestamp_ms":1783779396000,"timestamp_seconds":1783779396,"priority":1,"record_length":96,"hex_timestamp":"0000019f518989a0"} 
[2026-07-11 19:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 19:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647520000001,"66":11547,"211":206,"85":15104,"24":0,"16":105213697885995008,"45":8923178999230601216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-11 19:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647520000001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:48:12] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-11 19:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105213697885995008,"km_value":105213697885995.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923178999230601216,"description":"Unknown IO ID 45"} 
[2026-07-11 19:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647520000001,"power":11547,"unknown_211":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8923178999230601216}} 
[2026-07-11 19:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":128961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:48:12] local.INFO: GPS data processed {"connection_id":128961,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:48:12] local.INFO: Acknowledgment sent {"connection_id":128961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:48:34] local.INFO: TCP Data received {"connection_id":129691,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:48:34] local.INFO: Processing buffer {"connection_id":129691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:48:34] local.INFO: IMEI packet received {"connection_id":129691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":129691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:48:35] local.INFO: TCP Data received {"connection_id":129691,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:48:35] local.INFO: Processing buffer {"connection_id":129691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:48:35] local.INFO: IMEI packet received {"connection_id":129691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":129691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:48:37] local.INFO: TCP Data received {"connection_id":128962,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:48:37] local.INFO: Processing buffer {"connection_id":128962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:48:37] local.INFO: Packet analysis {"connection_id":128962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:48:37] local.INFO: Extracted packet for processing {"connection_id":128962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:48:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":128962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:48:37] local.INFO: GPS data processed {"connection_id":128962,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:48:37] local.INFO: Acknowledgment sent {"connection_id":128962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:48:39] local.INFO: TCP Data received {"connection_id":129691,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:48:39] local.INFO: Processing buffer {"connection_id":129691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:48:39] local.INFO: IMEI packet received {"connection_id":129691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":129691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:48:40] local.INFO: TCP Data received {"connection_id":130939,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518883e8012ccc238007486860000300ac2b..."} 
[2026-07-11 19:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518883e8012ccc238007486860000300ac2b..."} 
[2026-07-11 19:48:40] local.INFO: Processing buffer {"connection_id":130939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518883e8012ccc238007486860000300ac2b..."} 
[2026-07-11 19:48:40] local.INFO: Packet analysis {"connection_id":130939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:48:40] local.INFO: Extracted packet for processing {"connection_id":130939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:48:40] local.INFO: GPS Element Parsed {"raw_longitude":751575936,"raw_latitude":122185824,"longitude_deg":75.1575936,"latitude_deg":12.2185824,"altitude":3,"angle":172,"satellites":43,"speed":34,"hex_longitude":"2ccc2380","hex_latitude":"07486860","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647506944001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345445529582305280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3736861759529914368,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779329000,"timestamp_ms":1783779329000,"timestamp_seconds":1783779329,"priority":1,"record_length":96,"hex_timestamp":"0000019f518883e8"} 
[2026-07-11 19:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19: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-07-11 19: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-07-11 19:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647506944001,"66":27332,"167":206,"85":37632,"24":34,"16":345445529582305280,"44":-3736861759529914368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-11 19:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647506944001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:48:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-11 19:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345445529582305280,"km_value":345445529582305.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3736861759529914368,"description":"Unknown IO ID 44"} 
[2026-07-11 19:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647506944001,"power":27332,"unknown_167":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-3736861759529914368}} 
[2026-07-11 19:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":130939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:48:40] local.INFO: GPS data processed {"connection_id":130939,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:48:40] local.INFO: Acknowledgment sent {"connection_id":130939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:48:41] local.INFO: TCP Data received {"connection_id":129691,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5189df90012d7bd58005d45d98000400592a..."} 
[2026-07-11 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5189df90012d7bd58005d45d98000400592a..."} 
[2026-07-11 19:48:41] local.INFO: Processing buffer {"connection_id":129691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5189df90012d7bd58005d45d98000400592a..."} 
[2026-07-11 19:48:41] local.INFO: Packet analysis {"connection_id":129691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5189"} 
[2026-07-11 19:48:41] local.INFO: Extracted packet for processing {"connection_id":129691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5189"} 
[2026-07-11 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763090304,"raw_latitude":97803672,"longitude_deg":76.3090304,"latitude_deg":9.7803672,"altitude":4,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d7bd580","hex_latitude":"05d45d98","is_valid_coordinates":true} 
[2026-07-11 19:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647525376001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105213697885995008,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923178999230601216,"note":"Value kept but may cause issues"} 
[2026-07-11 19:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783779418000,"timestamp_ms":1783779418000,"timestamp_seconds":1783779418,"priority":1,"record_length":96,"hex_timestamp":"0000019f5189df90"} 
[2026-07-11 19:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 19:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647525376001,"66":11798,"211":206,"85":15104,"24":0,"16":105213697885995008,"45":8923178999230601216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-11 19:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647525376001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:48:41] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-11 19:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105213697885995008,"km_value":105213697885995.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923178999230601216,"description":"Unknown IO ID 45"} 
[2026-07-11 19:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647525376001,"power":11798,"unknown_211":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8923178999230601216}} 
[2026-07-11 19:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":129691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:48:41] local.INFO: GPS data processed {"connection_id":129691,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:48:41] local.INFO: Acknowledgment sent {"connection_id":129691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:49:00] local.INFO: TCP Data received {"connection_id":129692,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:49:00] local.INFO: Processing buffer {"connection_id":129692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:49:00] local.INFO: IMEI packet received {"connection_id":129692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":129692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:49:03] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:49:03] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:49:03] local.INFO: IMEI packet received {"connection_id":130940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":130940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:49:04] local.INFO: TCP Data received {"connection_id":129692,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:49:04] local.INFO: Processing buffer {"connection_id":129692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:49:04] local.INFO: IMEI packet received {"connection_id":129692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":129692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:49:05] local.INFO: TCP Data received {"connection_id":129692,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:49:05] local.INFO: Processing buffer {"connection_id":129692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:49:05] local.INFO: Packet analysis {"connection_id":129692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:49:05] local.INFO: Extracted packet for processing {"connection_id":129692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:49:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":129692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:49:05] local.INFO: GPS data processed {"connection_id":129692,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:49:05] local.INFO: Acknowledgment sent {"connection_id":129692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:49:08] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:49:08] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:49:08] local.INFO: IMEI packet received {"connection_id":130940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":130940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:49:15] local.INFO: TCP Data received {"connection_id":129691,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518a2db0012d7bed0005d45da00003005929..."} 
[2026-07-11 19:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518a2db0012d7bed0005d45da00003005929..."} 
[2026-07-11 19:49:15] local.INFO: Processing buffer {"connection_id":129691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518a2db0012d7bed0005d45da00003005929..."} 
[2026-07-11 19:49:15] local.INFO: Packet analysis {"connection_id":129691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518a"} 
[2026-07-11 19:49:15] local.INFO: Extracted packet for processing {"connection_id":129691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518a"} 
[2026-07-11 19:49:15] local.INFO: GPS Element Parsed {"raw_longitude":763096320,"raw_latitude":97803680,"longitude_deg":76.309632,"latitude_deg":9.780368,"altitude":3,"angle":89,"satellites":41,"speed":18,"hex_longitude":"2d7bed00","hex_latitude":"05d45da0","is_valid_coordinates":true} 
[2026-07-11 19:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647531008001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105213994238738432,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923178999230601216,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783779438000,"timestamp_ms":1783779438000,"timestamp_seconds":1783779438,"priority":1,"record_length":96,"hex_timestamp":"0000019f518a2db0"} 
[2026-07-11 19:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1241513984,"corrected_to":0} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3019951438,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847001840,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184138571981,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":212,"raw_value":7379148002336451328,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1308950734,"corrected_to":0} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":18,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3221607525,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":117,"raw_value":-3856207180935987200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930198018,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":107,"raw_value":1640917622588416,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3098499633375087104,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-5131850480533667835,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,211,85,24,241,157,16,203,159,137,45,128,93,4,42,10,66,55,229,1,240,125,227,81,212,113,205,18,170,248,239,5,2,117,87,206,107,88,135],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":203,"original":1241513984,"validated":0},{"io_id":205,"original":1308950734,"validated":0}]} 
[2026-07-11 19:49:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288328413075210240,"timestamp_seconds":288328413075210.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 19:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647531008001,"66":11569,"211":206,"85":15104,"24":18,"16":105213994238738432,"45":8923178999230601216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-11 19:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647531008001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:49:15] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-11 19:49:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105213994238738432,"km_value":105213994238738.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923178999230601216,"description":"Unknown IO ID 45"} 
[2026-07-11 19:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647531008001,"power":11569,"unknown_211":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8923178999230601216}} 
[2026-07-11 19:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":129691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:49:15] local.INFO: GPS data processed {"connection_id":129691,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:49:15] local.INFO: Acknowledgment sent {"connection_id":129691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:49:22] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188aee0012ccc2a40074845f8000300a42e..."} 
[2026-07-11 19:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188aee0012ccc2a40074845f8000300a42e..."} 
[2026-07-11 19:49:22] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188aee0012ccc2a40074845f8000300a42e..."} 
[2026-07-11 19:49:22] local.INFO: Packet analysis {"connection_id":130940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:49:22] local.INFO: Extracted packet for processing {"connection_id":130940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:49:22] local.INFO: GPS Element Parsed {"raw_longitude":751577664,"raw_latitude":122177016,"longitude_deg":75.1577664,"latitude_deg":12.2177016,"altitude":3,"angle":164,"satellites":46,"speed":29,"hex_longitude":"2ccc2a40","hex_latitude":"074845f8","is_valid_coordinates":true} 
[2026-07-11 19:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647508224001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345445963374002176,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3737002497019453440,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783779340000,"timestamp_ms":1783779340000,"timestamp_seconds":1783779340,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188aee0"} 
[2026-07-11 19:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:49:22] 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-07-11 19:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:49:22] 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-07-11 19:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647508224001,"66":27484,"12":206,"85":37632,"24":29,"16":345445963374002176,"44":-3737002497019453440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,44]} 
[2026-07-11 19:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647508224001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:49:22] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-11 19:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345445963374002176,"km_value":345445963374002.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3737002497019453440,"description":"Unknown IO ID 44"} 
[2026-07-11 19:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647508224001,"power":27484,"unknown_12":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-3737002497019453440}} 
[2026-07-11 19:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":130940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:49:22] local.INFO: GPS data processed {"connection_id":130940,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:49:22] local.INFO: Acknowledgment sent {"connection_id":130940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:49:34] local.INFO: TCP Data received {"connection_id":128963,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:49:34] local.INFO: Processing buffer {"connection_id":128963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:49:34] local.INFO: IMEI packet received {"connection_id":128963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":128963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:49:37] local.INFO: TCP Data received {"connection_id":128963,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:49:37] local.INFO: Processing buffer {"connection_id":128963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:49:37] local.INFO: IMEI packet received {"connection_id":128963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":128963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:49:37] local.INFO: TCP Data received {"connection_id":129692,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:49:37] local.INFO: Processing buffer {"connection_id":129692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:49:37] local.INFO: Packet analysis {"connection_id":129692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:49:37] local.INFO: Extracted packet for processing {"connection_id":129692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:49:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":129692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:49:37] local.INFO: GPS data processed {"connection_id":129692,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:49:37] local.INFO: Acknowledgment sent {"connection_id":129692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:49:39] local.INFO: TCP Data received {"connection_id":128963,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:49:39] local.INFO: Processing buffer {"connection_id":128963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:49:39] local.INFO: IMEI packet received {"connection_id":128963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":128963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:49:39] local.INFO: TCP Data received {"connection_id":128963,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518bcbc0012d7ca08005d47cb00004005029..."} 
[2026-07-11 19:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518bcbc0012d7ca08005d47cb00004005029..."} 
[2026-07-11 19:49:39] local.INFO: Processing buffer {"connection_id":128963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518bcbc0012d7ca08005d47cb00004005029..."} 
[2026-07-11 19:49:39] local.INFO: Packet analysis {"connection_id":128963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:49:39] local.INFO: Extracted packet for processing {"connection_id":128963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763142272,"raw_latitude":97811632,"longitude_deg":76.3142272,"latitude_deg":9.7811632,"altitude":4,"angle":80,"satellites":41,"speed":23,"hex_longitude":"2d7ca080","hex_latitude":"05d47cb0","is_valid_coordinates":true} 
[2026-07-11 19:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647558912001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105216270571405312,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971029745273108480,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783779544000,"timestamp_ms":1783779544000,"timestamp_seconds":1783779544,"priority":1,"record_length":96,"hex_timestamp":"0000019f518bcbc0"} 
[2026-07-11 19:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 19:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647558912001,"66":11874,"254":206,"85":15104,"24":23,"16":105216270571405312,"45":8971029745273108480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 19:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647558912001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:49:39] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 19:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105216270571405312,"km_value":105216270571405.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971029745273108480,"description":"Unknown IO ID 45"} 
[2026-07-11 19:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647558912001,"power":11874,"unknown_254":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8971029745273108480}} 
[2026-07-11 19:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":128963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:49:39] local.INFO: GPS data processed {"connection_id":128963,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:49:39] local.INFO: Acknowledgment sent {"connection_id":128963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:49:40] local.INFO: TCP Data received {"connection_id":128963,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518bfaa0012d7cbfc005d482d80005004228..."} 
[2026-07-11 19:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518bfaa0012d7cbfc005d482d80005004228..."} 
[2026-07-11 19:49:40] local.INFO: Processing buffer {"connection_id":128963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518bfaa0012d7cbfc005d482d80005004228..."} 
[2026-07-11 19:49:40] local.INFO: Packet analysis {"connection_id":128963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:49:40] local.INFO: Extracted packet for processing {"connection_id":128963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763150272,"raw_latitude":97813208,"longitude_deg":76.3150272,"latitude_deg":9.7813208,"altitude":5,"angle":66,"satellites":40,"speed":25,"hex_longitude":"2d7cbfc0","hex_latitude":"05d482d8","is_valid_coordinates":true} 
[2026-07-11 19:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647563264001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105216631348658176,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980318419504902144,"note":"Value kept but may cause issues"} 
[2026-07-11 19:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779556000,"timestamp_ms":1783779556000,"timestamp_seconds":1783779556,"priority":1,"record_length":96,"hex_timestamp":"0000019f518bfaa0"} 
[2026-07-11 19:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 19:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647563264001,"66":11874,"254":206,"85":15104,"24":25,"16":105216631348658176,"45":8980318419504902144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 19:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647563264001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:49:40] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 19:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105216631348658176,"km_value":105216631348658.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980318419504902144,"description":"Unknown IO ID 45"} 
[2026-07-11 19:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647563264001,"power":11874,"unknown_254":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8980318419504902144}} 
[2026-07-11 19:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":128963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:49:40] local.INFO: GPS data processed {"connection_id":128963,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:49:40] local.INFO: Acknowledgment sent {"connection_id":128963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:49:59] local.INFO: TCP Data received {"connection_id":128790,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:49:59] local.INFO: Processing buffer {"connection_id":128790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:49:59] local.INFO: IMEI packet received {"connection_id":128790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":128790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:50:04] local.INFO: TCP Data received {"connection_id":128790,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:50:04] local.INFO: Processing buffer {"connection_id":128790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:50:04] local.INFO: IMEI packet received {"connection_id":128790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":128790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:50:06] local.INFO: TCP Data received {"connection_id":128790,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:50:06] local.INFO: Processing buffer {"connection_id":128790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:50:06] local.INFO: Packet analysis {"connection_id":128790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:50:06] local.INFO: Extracted packet for processing {"connection_id":128790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:50:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":128790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:50:06] local.INFO: GPS data processed {"connection_id":128790,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:50:06] local.INFO: Acknowledgment sent {"connection_id":128790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:50:08] local.INFO: TCP Data received {"connection_id":129693,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:50:08] local.INFO: Processing buffer {"connection_id":129693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:50:08] local.INFO: IMEI packet received {"connection_id":129693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":129693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:50:09] local.INFO: TCP Data received {"connection_id":129693,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129693,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:50:09] local.INFO: Processing buffer {"connection_id":129693,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:50:09] local.INFO: IMEI packet received {"connection_id":129693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":129693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:50:10] local.INFO: TCP Data received {"connection_id":129693,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518b4ad8012ccc7f400746f3b0000a00ae26..."} 
[2026-07-11 19:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518b4ad8012ccc7f400746f3b0000a00ae26..."} 
[2026-07-11 19:50:10] local.INFO: Processing buffer {"connection_id":129693,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f51..."} 
[2026-07-11 19:50:10] local.INFO: IMEI packet received {"connection_id":129693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":129693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:50:11] local.INFO: TCP Data received {"connection_id":128963,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518c2598012d7cda0005d48db00007005224..."} 
[2026-07-11 19:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518c2598012d7cda0005d48db00007005224..."} 
[2026-07-11 19:50:11] local.INFO: Processing buffer {"connection_id":128963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518c2598012d7cda0005d48db00007005224..."} 
[2026-07-11 19:50:11] local.INFO: Packet analysis {"connection_id":128963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:50:11] local.INFO: Extracted packet for processing {"connection_id":128963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763156992,"raw_latitude":97815984,"longitude_deg":76.3156992,"latitude_deg":9.7815984,"altitude":7,"angle":82,"satellites":36,"speed":25,"hex_longitude":"2d7cda00","hex_latitude":"05d48db0","is_valid_coordinates":true} 
[2026-07-11 19:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647566336001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105216987830943744,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989114512527513600,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783779567000,"timestamp_ms":1783779567000,"timestamp_seconds":1783779567,"priority":1,"record_length":96,"hex_timestamp":"0000019f518c2598"} 
[2026-07-11 19:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 19:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647566336001,"66":11906,"254":206,"85":15104,"24":25,"16":105216987830943744,"45":8989114512527513600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 19:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647566336001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:50:11] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 19:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105216987830943744,"km_value":105216987830943.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989114512527513600,"description":"Unknown IO ID 45"} 
[2026-07-11 19:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647566336001,"power":11906,"unknown_254":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8989114512527513600}} 
[2026-07-11 19:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":128963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:50:11] local.INFO: GPS data processed {"connection_id":128963,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:50:11] local.INFO: Acknowledgment sent {"connection_id":128963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:50:14] local.INFO: TCP Data received {"connection_id":129693,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518b8188012ccc83400746cff0000f00ad21..."} 
[2026-07-11 19:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518b8188012ccc83400746cff0000f00ad21..."} 
[2026-07-11 19:50:14] local.INFO: Processing buffer {"connection_id":129693,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f518b4ad8012ccc7f400746f3b0000a00ae26..."} 
[2026-07-11 19:50:14] local.INFO: Packet analysis {"connection_id":129693,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:50:14] local.INFO: Extracted packet for processing {"connection_id":129693,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:50:14] local.INFO: GPS Element Parsed {"raw_longitude":751599424,"raw_latitude":122090416,"longitude_deg":75.1599424,"latitude_deg":12.2090416,"altitude":10,"angle":174,"satellites":38,"speed":30,"hex_longitude":"2ccc7f40","hex_latitude":"0746f3b0","is_valid_coordinates":true} 
[2026-07-11 19:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647551744001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345450318470840320,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3712373436579258368,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783779511000,"timestamp_ms":1783779511000,"timestamp_seconds":1783779511,"priority":1,"record_length":96,"hex_timestamp":"0000019f518b4ad8"} 
[2026-07-11 19:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:50:14] 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-07-11 19:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647551744001,"66":27082,"2":206,"85":37632,"24":30,"16":345450318470840320,"44":-3712373436579258368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647551744001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345450318470840320,"km_value":345450318470840.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3712373436579258368,"description":"Unknown IO ID 44"} 
[2026-07-11 19:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647551744001,"power":27082,"power_alt":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-3712373436579258368}} 
[2026-07-11 19:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":129693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:50:14] local.INFO: GPS data processed {"connection_id":129693,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:50:14] local.INFO: Acknowledgment sent {"connection_id":129693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:50:14] local.INFO: Packet analysis {"connection_id":129693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:50:14] local.INFO: Extracted packet for processing {"connection_id":129693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:50:14] local.INFO: GPS Element Parsed {"raw_longitude":751600448,"raw_latitude":122081264,"longitude_deg":75.1600448,"latitude_deg":12.2081264,"altitude":15,"angle":173,"satellites":33,"speed":20,"hex_longitude":"2ccc8340","hex_latitude":"0746cff0","is_valid_coordinates":true} 
[2026-07-11 19:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647554816001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345450765147439104,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3711177167930675200,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783779525000,"timestamp_ms":1783779525000,"timestamp_seconds":1783779525,"priority":1,"record_length":96,"hex_timestamp":"0000019f518b8188"} 
[2026-07-11 19:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-11 19:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647554816001,"66":27332,"168":206,"85":37632,"24":20,"16":345450765147439104,"44":-3711177167930675200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,44]} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647554816001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345450765147439104,"km_value":345450765147439.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3711177167930675200,"description":"Unknown IO ID 44"} 
[2026-07-11 19:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647554816001,"power":27332,"unknown_168":206,"unknown_85":37632,"ignition":20,"odometer":null,"unknown_44":-3711177167930675200}} 
[2026-07-11 19:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":129693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:50:14] local.INFO: GPS data processed {"connection_id":129693,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:50:14] local.INFO: Acknowledgment sent {"connection_id":129693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:50:14] local.INFO: TCP Data received {"connection_id":129693,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518bd778012ccc87000746afa8001400ad29..."} 
[2026-07-11 19:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518bd778012ccc87000746afa8001400ad29..."} 
[2026-07-11 19:50:14] local.INFO: Processing buffer {"connection_id":129693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518bd778012ccc87000746afa8001400ad29..."} 
[2026-07-11 19:50:14] local.INFO: Packet analysis {"connection_id":129693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:50:14] local.INFO: Extracted packet for processing {"connection_id":129693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518b"} 
[2026-07-11 19:50:14] local.INFO: GPS Element Parsed {"raw_longitude":751601408,"raw_latitude":122073000,"longitude_deg":75.1601408,"latitude_deg":12.2073,"altitude":20,"angle":173,"satellites":41,"speed":17,"hex_longitude":"2ccc8700","hex_latitude":"0746afa8","is_valid_coordinates":true} 
[2026-07-11 19:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647558400001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345451168874364928,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3710051268026175488,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783779547000,"timestamp_ms":1783779547000,"timestamp_seconds":1783779547,"priority":1,"record_length":96,"hex_timestamp":"0000019f518bd778"} 
[2026-07-11 19:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647558400001,"66":27343,"168":206,"85":37632,"24":17,"16":345451168874364928,"44":-3710051268026175488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,44]} 
[2026-07-11 19:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647558400001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345451168874364928,"km_value":345451168874364.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3710051268026175488,"description":"Unknown IO ID 44"} 
[2026-07-11 19:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647558400001,"power":27343,"unknown_168":206,"unknown_85":37632,"ignition":17,"odometer":null,"unknown_44":-3710051268026175488}} 
[2026-07-11 19:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":129693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:50:14] local.INFO: GPS data processed {"connection_id":129693,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:50:14] local.INFO: Acknowledgment sent {"connection_id":129693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:50:34] local.INFO: TCP Data received {"connection_id":128964,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:50:34] local.INFO: Processing buffer {"connection_id":128964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:50:34] local.INFO: IMEI packet received {"connection_id":128964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":128964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:50:38] local.INFO: TCP Data received {"connection_id":128790,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:50:38] local.INFO: Processing buffer {"connection_id":128790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:50:38] local.INFO: Packet analysis {"connection_id":128790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:50:38] local.INFO: Extracted packet for processing {"connection_id":128790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19: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-07-11 19: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-07-11 19:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:50:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":128790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:50:38] local.INFO: GPS data processed {"connection_id":128790,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:50:38] local.INFO: Acknowledgment sent {"connection_id":128790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:50:39] local.INFO: TCP Data received {"connection_id":128964,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:50:39] local.INFO: Processing buffer {"connection_id":128964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:50:39] local.INFO: IMEI packet received {"connection_id":128964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":128964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:50:40] local.INFO: TCP Data received {"connection_id":128964,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518c40f0012d7cecc005d490d80007004725..."} 
[2026-07-11 19:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518c40f0012d7cecc005d490d80007004725..."} 
[2026-07-11 19:50:40] local.INFO: Processing buffer {"connection_id":128964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518c40f0012d7cecc005d490d80007004725..."} 
[2026-07-11 19:50:40] local.INFO: Packet analysis {"connection_id":128964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:50:40] local.INFO: Extracted packet for processing {"connection_id":128964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763161792,"raw_latitude":97816792,"longitude_deg":76.3161792,"latitude_deg":9.7816792,"altitude":7,"angle":71,"satellites":37,"speed":23,"hex_longitude":"2d7cecc0","hex_latitude":"05d490d8","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647569152001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105217249823948800,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996503230666878976,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779574000,"timestamp_ms":1783779574000,"timestamp_seconds":1783779574,"priority":1,"record_length":96,"hex_timestamp":"0000019f518c40f0"} 
[2026-07-11 19:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-11 19:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647569152001,"66":11776,"254":206,"85":15104,"24":23,"16":105217249823948800,"45":8996503230666878976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 19:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647569152001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:50:40] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 19:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105217249823948800,"km_value":105217249823948.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996503230666878976,"description":"Unknown IO ID 45"} 
[2026-07-11 19:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647569152001,"power":11776,"unknown_254":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8996503230666878976}} 
[2026-07-11 19:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":128964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:50:40] local.INFO: GPS data processed {"connection_id":128964,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:50:40] local.INFO: Acknowledgment sent {"connection_id":128964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:50:45] local.INFO: TCP Data received {"connection_id":129693,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518c1dc8012ccc8b8007468ce0001500a82b..."} 
[2026-07-11 19:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518c1dc8012ccc8b8007468ce0001500a82b..."} 
[2026-07-11 19:50:45] local.INFO: Processing buffer {"connection_id":129693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518c1dc8012ccc8b8007468ce0001500a82b..."} 
[2026-07-11 19:50:45] local.INFO: Packet analysis {"connection_id":129693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:50:45] local.INFO: Extracted packet for processing {"connection_id":129693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:50:45] local.INFO: GPS Element Parsed {"raw_longitude":751602560,"raw_latitude":122064096,"longitude_deg":75.160256,"latitude_deg":12.2064096,"altitude":21,"angle":168,"satellites":43,"speed":21,"hex_longitude":"2ccc8b80","hex_latitude":"07468ce0","is_valid_coordinates":true} 
[2026-07-11 19:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647564032001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345451606961029120,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3708995736865626112,"note":"Value kept but may cause issues"} 
[2026-07-11 19:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783779565000,"timestamp_ms":1783779565000,"timestamp_seconds":1783779565,"priority":1,"record_length":96,"hex_timestamp":"0000019f518c1dc8"} 
[2026-07-11 19:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647564032001,"66":27332,"239":206,"85":37632,"24":21,"16":345451606961029120,"44":-3708995736865626112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 19:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647564032001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:50:45] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 19:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345451606961029120,"km_value":345451606961029.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3708995736865626112,"description":"Unknown IO ID 44"} 
[2026-07-11 19:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647564032001,"power":27332,"unknown_239":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3708995736865626112}} 
[2026-07-11 19:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":129693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:50:45] local.INFO: GPS data processed {"connection_id":129693,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:50:45] local.INFO: Acknowledgment sent {"connection_id":129693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:50:59] local.INFO: TCP Data received {"connection_id":128791,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:50:59] local.INFO: Processing buffer {"connection_id":128791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:50:59] local.INFO: IMEI packet received {"connection_id":128791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":128791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:51:03] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:51:03] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:51:03] local.INFO: IMEI packet received {"connection_id":130942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":130942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:51:04] local.INFO: TCP Data received {"connection_id":128791,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:51:04] local.INFO: Processing buffer {"connection_id":128791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:51:04] local.INFO: IMEI packet received {"connection_id":128791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":128791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:51:06] local.INFO: TCP Data received {"connection_id":128791,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:51:06] local.INFO: Processing buffer {"connection_id":128791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:51:06] local.INFO: Packet analysis {"connection_id":128791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:51:06] local.INFO: Extracted packet for processing {"connection_id":128791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 19:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:51:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":128791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:51:06] local.INFO: GPS data processed {"connection_id":128791,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:51:06] local.INFO: Acknowledgment sent {"connection_id":128791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:51:08] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:51:08] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:51:08] local.INFO: IMEI packet received {"connection_id":130942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":130942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:51:11] local.INFO: TCP Data received {"connection_id":128964,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518c5090012d7cf58005d495280005003a28..."} 
[2026-07-11 19:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518c5090012d7cf58005d495280005003a28..."} 
[2026-07-11 19:51:11] local.INFO: Processing buffer {"connection_id":128964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518c5090012d7cf58005d495280005003a28..."} 
[2026-07-11 19:51:11] local.INFO: Packet analysis {"connection_id":128964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:51:11] local.INFO: Extracted packet for processing {"connection_id":128964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763164032,"raw_latitude":97817896,"longitude_deg":76.3164032,"latitude_deg":9.7817896,"altitude":5,"angle":58,"satellites":40,"speed":29,"hex_longitude":"2d7cf580","hex_latitude":"05d49528","is_valid_coordinates":true} 
[2026-07-11 19:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647570944001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105217370083033088,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001780886480410624,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783779578000,"timestamp_ms":1783779578000,"timestamp_seconds":1783779578,"priority":1,"record_length":96,"hex_timestamp":"0000019f518c5090"} 
[2026-07-11 19:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 19:51:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1308885198,"corrected_to":0} 
[2026-07-11 19:51:11] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":49153,"corrected_to":0} 
[2026-07-11 19:51:11] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2341033985,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:11] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:11] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257806,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:11] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3436773376,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,254,85,24,241,157,16,206,159,37,45,141,7,36,10,66,250,192,130,5,40,205,203,128,1,240,98,227,81,212,4,113,31,82,89,41,239,46,2,117],"length":434,"final_offset":564,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1308885198,"validated":0},{"io_id":203,"original":49153,"validated":0}]} 
[2026-07-11 19:51:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504481382506364928,"timestamp_seconds":504481382506364.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 19:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647570944001,"66":11950,"254":206,"85":15104,"24":29,"16":105217370083033088,"45":9001780886480410624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 19:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647570944001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:51:11] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 19:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105217370083033088,"km_value":105217370083033.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001780886480410624,"description":"Unknown IO ID 45"} 
[2026-07-11 19:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647570944001,"power":11950,"unknown_254":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9001780886480410624}} 
[2026-07-11 19:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":128964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:51:11] local.INFO: GPS data processed {"connection_id":128964,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:51:11] local.INFO: Acknowledgment sent {"connection_id":128964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:51:16] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518c44d8012ccc92c0074676a00016009c2c..."} 
[2026-07-11 19:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518c44d8012ccc92c0074676a00016009c2c..."} 
[2026-07-11 19:51:16] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518c44d8012ccc92c0074676a00016009c2c..."} 
[2026-07-11 19:51:16] local.INFO: Packet analysis {"connection_id":130942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:51:16] local.INFO: Extracted packet for processing {"connection_id":130942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:51:16] local.INFO: GPS Element Parsed {"raw_longitude":751604416,"raw_latitude":122058400,"longitude_deg":75.1604416,"latitude_deg":12.20584,"altitude":22,"angle":156,"satellites":44,"speed":26,"hex_longitude":"2ccc92c0","hex_latitude":"074676a0","is_valid_coordinates":true} 
[2026-07-11 19:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647568640001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345451894723837952,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707729099472707584,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783779575000,"timestamp_ms":1783779575000,"timestamp_seconds":1783779575,"priority":1,"record_length":96,"hex_timestamp":"0000019f518c44d8"} 
[2026-07-11 19:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647568640001,"66":27376,"239":206,"85":37632,"24":26,"16":345451894723837952,"44":-3707729099472707584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 19:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647568640001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:51:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 19:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345451894723837952,"km_value":345451894723837.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707729099472707584,"description":"Unknown IO ID 44"} 
[2026-07-11 19:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647568640001,"power":27376,"unknown_239":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-3707729099472707584}} 
[2026-07-11 19:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":130942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:51:16] local.INFO: GPS data processed {"connection_id":130942,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:51:16] local.INFO: Acknowledgment sent {"connection_id":130942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:51:17] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518c6be8012ccc9f80074660080016008f2e..."} 
[2026-07-11 19:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518c6be8012ccc9f80074660080016008f2e..."} 
[2026-07-11 19:51:17] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518c6be8012ccc9f80074660080016008f2e..."} 
[2026-07-11 19:51:17] local.INFO: Packet analysis {"connection_id":130942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:51:17] local.INFO: Extracted packet for processing {"connection_id":130942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":751607680,"raw_latitude":122052616,"longitude_deg":75.160768,"latitude_deg":12.2052616,"altitude":22,"angle":143,"satellites":46,"speed":19,"hex_longitude":"2ccc9f80","hex_latitude":"07466008","is_valid_coordinates":true} 
[2026-07-11 19:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647571200001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345452216846385152,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3705688405893013504,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783779585000,"timestamp_ms":1783779585000,"timestamp_seconds":1783779585,"priority":1,"record_length":96,"hex_timestamp":"0000019f518c6be8"} 
[2026-07-11 19:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647571200001,"66":27365,"239":206,"85":37632,"24":19,"16":345452216846385152,"44":-3705688405893013504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 19:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647571200001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:51:17] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 19:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345452216846385152,"km_value":345452216846385.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:51:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3705688405893013504,"description":"Unknown IO ID 44"} 
[2026-07-11 19:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647571200001,"power":27365,"unknown_239":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-3705688405893013504}} 
[2026-07-11 19:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":130942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:51:17] local.INFO: GPS data processed {"connection_id":130942,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:51:17] local.INFO: Acknowledgment sent {"connection_id":130942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:51:34] local.INFO: TCP Data received {"connection_id":128792,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:51:34] local.INFO: Processing buffer {"connection_id":128792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:51:34] local.INFO: IMEI packet received {"connection_id":128792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":128792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:51:37] local.INFO: TCP Data received {"connection_id":128791,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:51:37] local.INFO: Processing buffer {"connection_id":128791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5188f530012d196680071fef80003b011a27..."} 
[2026-07-11 19:51:37] local.INFO: Packet analysis {"connection_id":128791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:51:37] local.INFO: Extracted packet for processing {"connection_id":128791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5188"} 
[2026-07-11 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647438592001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779358000,"timestamp_ms":1783779358000,"timestamp_seconds":1783779358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5188f530"} 
[2026-07-11 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-07-11 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647438592001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647438592001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:51:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647438592001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":128791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:51:37] local.INFO: GPS data processed {"connection_id":128791,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:51:37] local.INFO: Acknowledgment sent {"connection_id":128791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:51:39] local.INFO: TCP Data received {"connection_id":128792,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:51:39] local.INFO: Processing buffer {"connection_id":128792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:51:39] local.INFO: IMEI packet received {"connection_id":128792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":128792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:51:40] local.INFO: TCP Data received {"connection_id":128792,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518ddb18012d7d260005d56c280000000c22..."} 
[2026-07-11 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518ddb18012d7d260005d56c280000000c22..."} 
[2026-07-11 19:51:40] local.INFO: Processing buffer {"connection_id":128792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518ddb18012d7d260005d56c280000000c22..."} 
[2026-07-11 19:51:40] local.INFO: Packet analysis {"connection_id":128792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:51:40] local.INFO: Extracted packet for processing {"connection_id":128792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763176448,"raw_latitude":97872936,"longitude_deg":76.3176448,"latitude_deg":9.7872936,"altitude":0,"angle":12,"satellites":34,"speed":9,"hex_longitude":"2d7d2600","hex_latitude":"05d56c28","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647596288001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105220574128635904,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222678235136,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779679000,"timestamp_ms":1783779679000,"timestamp_seconds":1783779679,"priority":1,"record_length":96,"hex_timestamp":"0000019f518ddb18"} 
[2026-07-11 19:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-11 19:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647596288001,"66":11547,"254":206,"85":15104,"24":9,"16":105220574128635904,"45":9017684222678235136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-11 19:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647596288001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:51:40] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-11 19:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105220574128635904,"km_value":105220574128635.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222678235136,"description":"Unknown IO ID 45"} 
[2026-07-11 19:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647596288001,"power":11547,"unknown_254":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9017684222678235136}} 
[2026-07-11 19:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":128792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:51:40] local.INFO: GPS data processed {"connection_id":128792,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:51:40] local.INFO: Acknowledgment sent {"connection_id":128792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:51:48] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518c77a0012ccca30007465c38001600822d..."} 
[2026-07-11 19:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518c77a0012ccca30007465c38001600822d..."} 
[2026-07-11 19:51:48] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518c77a0012ccca30007465c38001600822d..."} 
[2026-07-11 19:51:48] local.INFO: Packet analysis {"connection_id":130942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:51:48] local.INFO: Extracted packet for processing {"connection_id":130942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:51:48] local.INFO: GPS Element Parsed {"raw_longitude":751608576,"raw_latitude":122051640,"longitude_deg":75.1608576,"latitude_deg":12.205164,"altitude":22,"angle":130,"satellites":45,"speed":15,"hex_longitude":"2ccca300","hex_latitude":"07465c38","is_valid_coordinates":true} 
[2026-07-11 19:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647573760001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345452281270894592,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3702099599941433344,"note":"Value kept but may cause issues"} 
[2026-07-11 19:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783779588000,"timestamp_ms":1783779588000,"timestamp_seconds":1783779588,"priority":1,"record_length":96,"hex_timestamp":"0000019f518c77a0"} 
[2026-07-11 19:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 19:51:48] 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-07-11 19:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647573760001,"66":27397,"239":206,"85":37632,"24":15,"16":345452281270894592,"44":-3702099599941433344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 19:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647573760001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:51:48] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 19:51:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345452281270894592,"km_value":345452281270894.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:51:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3702099599941433344,"description":"Unknown IO ID 44"} 
[2026-07-11 19:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647573760001,"power":27397,"unknown_239":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-3702099599941433344}} 
[2026-07-11 19:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":130942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:51:48] local.INFO: GPS data processed {"connection_id":130942,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:51:48] local.INFO: Acknowledgment sent {"connection_id":130942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:52:04] local.INFO: TCP Data received {"connection_id":128966,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:52:04] local.INFO: Processing buffer {"connection_id":128966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:52:04] local.INFO: IMEI packet received {"connection_id":128966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":128966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:52:04] local.INFO: TCP Data received {"connection_id":128967,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:52:04] local.INFO: Processing buffer {"connection_id":128967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:52:04] local.INFO: IMEI packet received {"connection_id":128967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":128967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:52:08] local.INFO: TCP Data received {"connection_id":128966,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:52:08] local.INFO: Processing buffer {"connection_id":128966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:52:08] local.INFO: IMEI packet received {"connection_id":128966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":128966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:52:08] local.INFO: TCP Data received {"connection_id":128966,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518c9ac8012cccae40074652280015008d2e..."} 
[2026-07-11 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518c9ac8012cccae40074652280015008d2e..."} 
[2026-07-11 19:52:08] local.INFO: Processing buffer {"connection_id":128966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518c9ac8012cccae40074652280015008d2e..."} 
[2026-07-11 19:52:08] local.INFO: Packet analysis {"connection_id":128966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:52:08] local.INFO: Extracted packet for processing {"connection_id":128966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":751611456,"raw_latitude":122049064,"longitude_deg":75.1611456,"latitude_deg":12.2049064,"altitude":21,"angle":141,"satellites":46,"speed":23,"hex_longitude":"2cccae40","hex_latitude":"07465228","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647574528001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345452470249455616,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3701114437523195904,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783779597000,"timestamp_ms":1783779597000,"timestamp_seconds":1783779597,"priority":1,"record_length":96,"hex_timestamp":"0000019f518c9ac8"} 
[2026-07-11 19:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:52: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-07-11 19:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647574528001,"66":27376,"239":206,"85":37632,"24":23,"16":345452470249455616,"44":-3701114437523195904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 19:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647574528001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:52:08] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 19:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345452470249455616,"km_value":345452470249455.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:52:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3701114437523195904,"description":"Unknown IO ID 44"} 
[2026-07-11 19:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647574528001,"power":27376,"unknown_239":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-3701114437523195904}} 
[2026-07-11 19:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":128966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:52:08] local.INFO: GPS data processed {"connection_id":128966,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:52:08] local.INFO: Acknowledgment sent {"connection_id":128966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:52:09] local.INFO: TCP Data received {"connection_id":128967,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:52:09] local.INFO: Processing buffer {"connection_id":128967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:52:09] local.INFO: IMEI packet received {"connection_id":128967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":128967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:52:10] local.INFO: TCP Data received {"connection_id":128793,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:52:10] local.INFO: Processing buffer {"connection_id":128793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:52:10] local.INFO: IMEI packet received {"connection_id":128793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":128793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:52:10] local.INFO: TCP Data received {"connection_id":128967,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:52:10] local.INFO: Processing buffer {"connection_id":128967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:52:10] local.INFO: Packet analysis {"connection_id":128967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:52:10] local.INFO: Extracted packet for processing {"connection_id":128967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 19:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:52:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:52:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":128967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:52:10] local.INFO: GPS data processed {"connection_id":128967,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:52:10] local.INFO: Acknowledgment sent {"connection_id":128967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:52:11] local.INFO: TCP Data received {"connection_id":128792,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f518df670012d7d280005d56f380000003624..."} 
[2026-07-11 19:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518df670012d7d280005d56f380000003624..."} 
[2026-07-11 19:52:11] local.INFO: Processing buffer {"connection_id":128792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518df670012d7d280005d56f380000003624..."} 
[2026-07-11 19:52:11] local.INFO: Packet analysis {"connection_id":128792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:52:11] local.INFO: Extracted packet for processing {"connection_id":128792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97873720,"longitude_deg":76.317696,"latitude_deg":9.787372,"altitude":0,"angle":54,"satellites":36,"speed":8,"hex_longitude":"2d7d2800","hex_latitude":"05d56f38","is_valid_coordinates":true} 
[2026-07-11 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647597824001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105220625668243456,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017895328911468544,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783779686000,"timestamp_ms":1783779686000,"timestamp_seconds":1783779686,"priority":1,"record_length":96,"hex_timestamp":"0000019f518df670"} 
[2026-07-11 19:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:52:11] 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-07-11 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 19:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647597824001,"66":11906,"253":206,"85":15104,"24":8,"16":105220625668243456,"45":9017895328911468544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-11 19:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647597824001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:52:11] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-11 19:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105220625668243456,"km_value":105220625668243.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017895328911468544,"description":"Unknown IO ID 45"} 
[2026-07-11 19:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647597824001,"power":11906,"unknown_253":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9017895328911468544}} 
[2026-07-11 19:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":128792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:52:11] local.INFO: GPS data processed {"connection_id":128792,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:52:11] local.INFO: Acknowledgment sent {"connection_id":128792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:52:15] local.INFO: TCP Data received {"connection_id":128967,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:52:15] local.INFO: Processing buffer {"connection_id":128967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:52:15] local.INFO: Packet analysis {"connection_id":128967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:52:15] local.INFO: Extracted packet for processing {"connection_id":128967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 19:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:52:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:52:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":128967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:52:15] local.INFO: GPS data processed {"connection_id":128967,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:52:15] local.INFO: Acknowledgment sent {"connection_id":128967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:52:33] local.INFO: TCP Data received {"connection_id":129694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:33] local.INFO: Processing buffer {"connection_id":129694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:33] local.INFO: IMEI packet received {"connection_id":129694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":129694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:52:34] local.INFO: TCP Data received {"connection_id":129694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:34] local.INFO: Processing buffer {"connection_id":129694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:34] local.INFO: IMEI packet received {"connection_id":129694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":129694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:52:36] local.INFO: TCP Data received {"connection_id":129694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:36] local.INFO: Processing buffer {"connection_id":129694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:36] local.INFO: IMEI packet received {"connection_id":129694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":129694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:52:37] local.INFO: TCP Data received {"connection_id":129694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:37] local.INFO: Processing buffer {"connection_id":129694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:52:37] local.INFO: IMEI packet received {"connection_id":129694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":129694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:52:40] local.INFO: TCP Data received {"connection_id":128966,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518ccd90012cccc48007463630001400902c..."} 
[2026-07-11 19:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518ccd90012cccc48007463630001400902c..."} 
[2026-07-11 19:52:40] local.INFO: Processing buffer {"connection_id":128966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518ccd90012cccc48007463630001400902c..."} 
[2026-07-11 19:52:40] local.INFO: Packet analysis {"connection_id":128966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:52:40] local.INFO: Extracted packet for processing {"connection_id":128966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:52:40] local.INFO: GPS Element Parsed {"raw_longitude":751617152,"raw_latitude":122041904,"longitude_deg":75.1617152,"latitude_deg":12.2041904,"altitude":20,"angle":144,"satellites":44,"speed":28,"hex_longitude":"2cccc480","hex_latitude":"07463630","is_valid_coordinates":true} 
[2026-07-11 19:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647576832001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345452908336119808,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3697947844035860480,"note":"Value kept but may cause issues"} 
[2026-07-11 19:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779610000,"timestamp_ms":1783779610000,"timestamp_seconds":1783779610,"priority":1,"record_length":96,"hex_timestamp":"0000019f518ccd90"} 
[2026-07-11 19:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647576832001,"66":27267,"239":206,"85":37632,"24":28,"16":345452908336119808,"44":-3697947844035860480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 19:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647576832001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:52:40] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 19:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345452908336119808,"km_value":345452908336119.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3697947844035860480,"description":"Unknown IO ID 44"} 
[2026-07-11 19:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647576832001,"power":27267,"unknown_239":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-3697947844035860480}} 
[2026-07-11 19:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":128966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:52:40] local.INFO: GPS data processed {"connection_id":128966,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:52:40] local.INFO: Acknowledgment sent {"connection_id":128966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:52:50] local.INFO: TCP Data received {"connection_id":128794,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:52:50] local.INFO: Processing buffer {"connection_id":128794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:52:50] local.INFO: IMEI packet received {"connection_id":128794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":128794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:52:59] local.INFO: TCP Data received {"connection_id":128968,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:52:59] local.INFO: Processing buffer {"connection_id":128968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:52:59] local.INFO: IMEI packet received {"connection_id":128968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":128968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:53:03] local.INFO: TCP Data received {"connection_id":129695,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:53:03] local.INFO: Processing buffer {"connection_id":129695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:53:03] local.INFO: IMEI packet received {"connection_id":129695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":129695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:53:04] local.INFO: TCP Data received {"connection_id":128968,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:53:04] local.INFO: Processing buffer {"connection_id":128968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:53:04] local.INFO: IMEI packet received {"connection_id":128968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":128968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:53:06] local.INFO: TCP Data received {"connection_id":128968,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:53:06] local.INFO: Processing buffer {"connection_id":128968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:53:06] local.INFO: Packet analysis {"connection_id":128968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:53:06] local.INFO: Extracted packet for processing {"connection_id":128968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 19:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:53:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":128968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:53:06] local.INFO: GPS data processed {"connection_id":128968,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:53:06] local.INFO: Acknowledgment sent {"connection_id":128968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:53:10] local.INFO: TCP Data received {"connection_id":129695,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129695,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:53:10] local.INFO: Processing buffer {"connection_id":129695,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 19:53:10] local.INFO: IMEI packet received {"connection_id":129695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":129695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:53:11] local.INFO: TCP Data received {"connection_id":129695,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518cf0b8012cccd040074620d00014009b2e..."} 
[2026-07-11 19:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518cf0b8012cccd040074620d00014009b2e..."} 
[2026-07-11 19:53:11] local.INFO: Processing buffer {"connection_id":129695,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f51..."} 
[2026-07-11 19:53:11] local.INFO: IMEI packet received {"connection_id":129695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":129695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:53:12] local.INFO: TCP Data received {"connection_id":129695,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d1f98012cccdb400745ff20001500a52e..."} 
[2026-07-11 19:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d1f98012cccdb400745ff20001500a52e..."} 
[2026-07-11 19:53:12] local.INFO: Processing buffer {"connection_id":129695,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f518cf0b8012cccd040074620d00014009b2e..."} 
[2026-07-11 19:53:12] local.INFO: Packet analysis {"connection_id":129695,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:53:12] local.INFO: Extracted packet for processing {"connection_id":129695,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518c"} 
[2026-07-11 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":751620160,"raw_latitude":122036432,"longitude_deg":75.162016,"latitude_deg":12.2036432,"altitude":20,"angle":155,"satellites":46,"speed":28,"hex_longitude":"2cccd040","hex_latitude":"074620d0","is_valid_coordinates":true} 
[2026-07-11 19:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647580160001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345453208983830528,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3691685025805881344,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783779619000,"timestamp_ms":1783779619000,"timestamp_seconds":1783779619,"priority":1,"record_length":96,"hex_timestamp":"0000019f518cf0b8"} 
[2026-07-11 19:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 19:53: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-07-11 19:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647580160001,"66":27321,"239":206,"85":37632,"24":28,"16":345453208983830528,"44":-3691685025805881344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 19:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647580160001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:53:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 19:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345453208983830528,"km_value":345453208983830.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3691685025805881344,"description":"Unknown IO ID 44"} 
[2026-07-11 19:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647580160001,"power":27321,"unknown_239":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-3691685025805881344}} 
[2026-07-11 19:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":129695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:53:12] local.INFO: GPS data processed {"connection_id":129695,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:53:12] local.INFO: Acknowledgment sent {"connection_id":129695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:53:12] local.INFO: Packet analysis {"connection_id":129695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:53:12] local.INFO: Extracted packet for processing {"connection_id":129695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":751622976,"raw_latitude":122027808,"longitude_deg":75.1622976,"latitude_deg":12.2027808,"altitude":21,"angle":165,"satellites":46,"speed":30,"hex_longitude":"2cccdb40","hex_latitude":"0745ff20","is_valid_coordinates":true} 
[2026-07-11 19:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647582464001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345453651365462016,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3688377694830931968,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783779631000,"timestamp_ms":1783779631000,"timestamp_seconds":1783779631,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d1f98"} 
[2026-07-11 19:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 19:53: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-07-11 19:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647582464001,"66":27321,"239":206,"85":37632,"24":30,"16":345453651365462016,"44":-3688377694830931968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 19:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647582464001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:53:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 19:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345453651365462016,"km_value":345453651365462.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3688377694830931968,"description":"Unknown IO ID 44"} 
[2026-07-11 19:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647582464001,"power":27321,"unknown_239":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-3688377694830931968}} 
[2026-07-11 19:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":129695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:53:12] local.INFO: GPS data processed {"connection_id":129695,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:53:12] local.INFO: Acknowledgment sent {"connection_id":129695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:53:13] local.INFO: TCP Data received {"connection_id":129695,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d4e78012ccce4800745dbc8001400a42d..."} 
[2026-07-11 19:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d4e78012ccce4800745dbc8001400a42d..."} 
[2026-07-11 19:53:13] local.INFO: Processing buffer {"connection_id":129695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d4e78012ccce4800745dbc8001400a42d..."} 
[2026-07-11 19:53:13] local.INFO: Packet analysis {"connection_id":129695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:53:13] local.INFO: Extracted packet for processing {"connection_id":129695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:53:13] local.INFO: GPS Element Parsed {"raw_longitude":751625344,"raw_latitude":122018760,"longitude_deg":75.1625344,"latitude_deg":12.201876,"altitude":20,"angle":164,"satellites":45,"speed":32,"hex_longitude":"2ccce480","hex_latitude":"0745dbc8","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647585536001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345454102337028096,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3685281470089322496,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783779643000,"timestamp_ms":1783779643000,"timestamp_seconds":1783779643,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d4e78"} 
[2026-07-11 19:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 19:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647585536001,"66":27267,"239":206,"85":37632,"24":32,"16":345454102337028096,"44":-3685281470089322496},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-11 19:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647585536001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:53:13] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-11 19:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345454102337028096,"km_value":345454102337028.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3685281470089322496,"description":"Unknown IO ID 44"} 
[2026-07-11 19:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647585536001,"power":27267,"unknown_239":206,"unknown_85":37632,"ignition":32,"odometer":null,"unknown_44":-3685281470089322496}} 
[2026-07-11 19:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":129695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:53:13] local.INFO: GPS data processed {"connection_id":129695,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:53:13] local.INFO: Acknowledgment sent {"connection_id":129695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:53:37] local.INFO: TCP Data received {"connection_id":128968,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:53:37] local.INFO: Processing buffer {"connection_id":128968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:53:37] local.INFO: Packet analysis {"connection_id":128968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:53:37] local.INFO: Extracted packet for processing {"connection_id":128968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 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-07-11 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:53:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":128968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:53:37] local.INFO: GPS data processed {"connection_id":128968,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:53:37] local.INFO: Acknowledgment sent {"connection_id":128968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:53:45] local.INFO: TCP Data received {"connection_id":129695,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518f1398012ccd41800744d438001100982d..."} 
[2026-07-11 19:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518f1398012ccd41800744d438001100982d..."} 
[2026-07-11 19:53:45] local.INFO: Processing buffer {"connection_id":129695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518f1398012ccd41800744d438001100982d..."} 
[2026-07-11 19:53:45] local.INFO: Packet analysis {"connection_id":129695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518f"} 
[2026-07-11 19:53:45] local.INFO: Extracted packet for processing {"connection_id":129695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518f"} 
[2026-07-11 19:53:45] local.INFO: GPS Element Parsed {"raw_longitude":751649152,"raw_latitude":121951288,"longitude_deg":75.1649152,"latitude_deg":12.1951288,"altitude":17,"angle":152,"satellites":45,"speed":21,"hex_longitude":"2ccd4180","hex_latitude":"0744d438","is_valid_coordinates":true} 
[2026-07-11 19:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647617792001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345457585555505152,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3656922866205063168,"note":"Value kept but may cause issues"} 
[2026-07-11 19:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783779759000,"timestamp_ms":1783779759000,"timestamp_seconds":1783779759,"priority":1,"record_length":96,"hex_timestamp":"0000019f518f1398"} 
[2026-07-11 19:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:53:45] 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-07-11 19:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647617792001,"66":27365,"231":206,"85":37632,"24":21,"16":345457585555505152,"44":-3656922866205063168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-07-11 19:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647617792001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:53:45] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-11 19:53:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345457585555505152,"km_value":345457585555505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:53:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3656922866205063168,"description":"Unknown IO ID 44"} 
[2026-07-11 19:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647617792001,"power":27365,"unknown_231":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3656922866205063168}} 
[2026-07-11 19:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":129695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:53:45] local.INFO: GPS data processed {"connection_id":129695,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:53:45] local.INFO: Acknowledgment sent {"connection_id":129695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:53:59] local.INFO: TCP Data received {"connection_id":128969,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:53:59] local.INFO: Processing buffer {"connection_id":128969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:53:59] local.INFO: IMEI packet received {"connection_id":128969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":128969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:54:03] local.INFO: TCP Data received {"connection_id":130944,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:54:03] local.INFO: Processing buffer {"connection_id":130944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:54:03] local.INFO: IMEI packet received {"connection_id":130944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":130944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:54:04] local.INFO: TCP Data received {"connection_id":128969,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:54:04] local.INFO: Processing buffer {"connection_id":128969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:54:04] local.INFO: IMEI packet received {"connection_id":128969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":128969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:54:05] local.INFO: TCP Data received {"connection_id":130944,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:54:05] local.INFO: Processing buffer {"connection_id":130944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:54:05] local.INFO: IMEI packet received {"connection_id":130944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":130944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:54:05] local.INFO: TCP Data received {"connection_id":128969,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:54:05] local.INFO: Processing buffer {"connection_id":128969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:54:05] local.INFO: Packet analysis {"connection_id":128969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:54:05] local.INFO: Extracted packet for processing {"connection_id":128969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 19:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":128969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:54:06] local.INFO: GPS data processed {"connection_id":128969,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:54:06] local.INFO: Acknowledgment sent {"connection_id":128969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:54:09] local.INFO: TCP Data received {"connection_id":130944,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:54:09] local.INFO: Processing buffer {"connection_id":130944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:54:09] local.INFO: IMEI packet received {"connection_id":130944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":130944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:54:10] local.INFO: TCP Data received {"connection_id":130944,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518f4660012ccd55400744b628001100932d..."} 
[2026-07-11 19:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518f4660012ccd55400744b628001100932d..."} 
[2026-07-11 19:54:10] local.INFO: Processing buffer {"connection_id":130944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518f4660012ccd55400744b628001100932d..."} 
[2026-07-11 19:54:10] local.INFO: Packet analysis {"connection_id":130944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518f"} 
[2026-07-11 19:54:10] local.INFO: Extracted packet for processing {"connection_id":130944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518f"} 
[2026-07-11 19:54:10] local.INFO: GPS Element Parsed {"raw_longitude":751654208,"raw_latitude":121943592,"longitude_deg":75.1654208,"latitude_deg":12.1943592,"altitude":17,"angle":147,"satellites":45,"speed":31,"hex_longitude":"2ccd5540","hex_latitude":"0744b628","is_valid_coordinates":true} 
[2026-07-11 19:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647618304001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345458032232103936,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3656500653740247040,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783779772000,"timestamp_ms":1783779772000,"timestamp_seconds":1783779772,"priority":1,"record_length":96,"hex_timestamp":"0000019f518f4660"} 
[2026-07-11 19:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 19:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647618304001,"66":27397,"231":206,"85":37632,"24":31,"16":345458032232103936,"44":-3656500653740247040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-07-11 19:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647618304001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:54:10] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-11 19:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345458032232103936,"km_value":345458032232103.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3656500653740247040,"description":"Unknown IO ID 44"} 
[2026-07-11 19:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647618304001,"power":27397,"unknown_231":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3656500653740247040}} 
[2026-07-11 19:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":130944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:54:10] local.INFO: GPS data processed {"connection_id":130944,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:54:10] local.INFO: Acknowledgment sent {"connection_id":130944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:54:37] local.INFO: TCP Data received {"connection_id":128969,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:54:37] local.INFO: Processing buffer {"connection_id":128969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:54:37] local.INFO: Packet analysis {"connection_id":128969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:54:37] local.INFO: Extracted packet for processing {"connection_id":128969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 19:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":128969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:54:37] local.INFO: GPS data processed {"connection_id":128969,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:54:37] local.INFO: Acknowledgment sent {"connection_id":128969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:54:40] local.INFO: TCP Data received {"connection_id":130944,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518f7540012ccd6780074495480010009a2e..."} 
[2026-07-11 19:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518f7540012ccd6780074495480010009a2e..."} 
[2026-07-11 19:54:40] local.INFO: Processing buffer {"connection_id":130944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518f7540012ccd6780074495480010009a2e..."} 
[2026-07-11 19:54:40] local.INFO: Packet analysis {"connection_id":130944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518f"} 
[2026-07-11 19:54:40] local.INFO: Extracted packet for processing {"connection_id":130944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518f"} 
[2026-07-11 19:54:40] local.INFO: GPS Element Parsed {"raw_longitude":751658880,"raw_latitude":121935176,"longitude_deg":75.165888,"latitude_deg":12.1935176,"altitude":16,"angle":154,"satellites":46,"speed":33,"hex_longitude":"2ccd6780","hex_latitude":"07449548","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647621632001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345458496088571904,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3650941522952181760,"note":"Value kept but may cause issues"} 
[2026-07-11 19:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779784000,"timestamp_ms":1783779784000,"timestamp_seconds":1783779784,"priority":1,"record_length":96,"hex_timestamp":"0000019f518f7540"} 
[2026-07-11 19:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647621632001,"66":27343,"231":206,"85":37632,"24":33,"16":345458496088571904,"44":-3650941522952181760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-07-11 19:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647621632001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:54:40] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-11 19:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345458496088571904,"km_value":345458496088571.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3650941522952181760,"description":"Unknown IO ID 44"} 
[2026-07-11 19:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647621632001,"power":27343,"unknown_231":206,"unknown_85":37632,"ignition":33,"odometer":null,"unknown_44":-3650941522952181760}} 
[2026-07-11 19:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":130944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:54:40] local.INFO: GPS data processed {"connection_id":130944,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:54:40] local.INFO: Acknowledgment sent {"connection_id":130944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:54:59] local.INFO: TCP Data received {"connection_id":129699,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:54:59] local.INFO: Processing buffer {"connection_id":129699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:54:59] local.INFO: IMEI packet received {"connection_id":129699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":129699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:55:03] local.INFO: TCP Data received {"connection_id":130945,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:55:03] local.INFO: Processing buffer {"connection_id":130945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:55:03] local.INFO: IMEI packet received {"connection_id":130945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":130945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:55:04] local.INFO: TCP Data received {"connection_id":130945,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:55:04] local.INFO: Processing buffer {"connection_id":130945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:55:04] local.INFO: IMEI packet received {"connection_id":130945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":130945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:55:04] local.INFO: TCP Data received {"connection_id":129699,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:55:04] local.INFO: Processing buffer {"connection_id":129699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:55:04] local.INFO: IMEI packet received {"connection_id":129699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":129699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:55:05] local.INFO: TCP Data received {"connection_id":129699,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:55:05] local.INFO: Processing buffer {"connection_id":129699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:55:05] local.INFO: Packet analysis {"connection_id":129699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:55:05] local.INFO: Extracted packet for processing {"connection_id":129699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 19:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:55:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":129699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:55:06] local.INFO: GPS data processed {"connection_id":129699,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:55:06] local.INFO: Acknowledgment sent {"connection_id":129699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:55:08] local.INFO: TCP Data received {"connection_id":130945,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:55:08] local.INFO: Processing buffer {"connection_id":130945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:55:08] local.INFO: IMEI packet received {"connection_id":130945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":130945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:55:09] local.INFO: TCP Data received {"connection_id":130945,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f518fa038012ccd758007447208000f00a02e..."} 
[2026-07-11 19:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518fa038012ccd758007447208000f00a02e..."} 
[2026-07-11 19:55:09] local.INFO: Processing buffer {"connection_id":130945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518fa038012ccd758007447208000f00a02e..."} 
[2026-07-11 19:55:09] local.INFO: Packet analysis {"connection_id":130945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518f"} 
[2026-07-11 19:55:09] local.INFO: Extracted packet for processing {"connection_id":130945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518f"} 
[2026-07-11 19:55:09] local.INFO: GPS Element Parsed {"raw_longitude":751662464,"raw_latitude":121926152,"longitude_deg":75.1662464,"latitude_deg":12.1926152,"altitude":15,"angle":160,"satellites":46,"speed":35,"hex_longitude":"2ccd7580","hex_latitude":"07447208","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647624704001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345458964240007168,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3645804604629366784,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783779795000,"timestamp_ms":1783779795000,"timestamp_seconds":1783779795,"priority":1,"record_length":96,"hex_timestamp":"0000019f518fa038"} 
[2026-07-11 19:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647624704001,"66":27463,"143":206,"85":37632,"24":35,"16":345458964240007168,"44":-3645804604629366784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-07-11 19:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647624704001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:55:09] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-11 19:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345458964240007168,"km_value":345458964240007.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3645804604629366784,"description":"Unknown IO ID 44"} 
[2026-07-11 19:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647624704001,"power":27463,"unknown_143":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3645804604629366784}} 
[2026-07-11 19:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":130945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:55:09] local.INFO: GPS data processed {"connection_id":130945,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:55:09] local.INFO: Acknowledgment sent {"connection_id":130945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:55:37] local.INFO: TCP Data received {"connection_id":129699,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:55:37] local.INFO: Processing buffer {"connection_id":129699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:55:37] local.INFO: Packet analysis {"connection_id":129699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:55:37] local.INFO: Extracted packet for processing {"connection_id":129699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 19:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:55:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":129699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:55:37] local.INFO: GPS data processed {"connection_id":129699,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:55:37] local.INFO: Acknowledgment sent {"connection_id":129699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:55:40] local.INFO: TCP Data received {"connection_id":130945,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51911350012ccee84007441cd8000900632f..."} 
[2026-07-11 19:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51911350012ccee84007441cd8000900632f..."} 
[2026-07-11 19:55:40] local.INFO: Processing buffer {"connection_id":130945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51911350012ccee84007441cd8000900632f..."} 
[2026-07-11 19:55:40] local.INFO: Packet analysis {"connection_id":130945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:55:40] local.INFO: Extracted packet for processing {"connection_id":130945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:55:40] local.INFO: GPS Element Parsed {"raw_longitude":751757376,"raw_latitude":121904344,"longitude_deg":75.1757376,"latitude_deg":12.1904344,"altitude":9,"angle":99,"satellites":47,"speed":42,"hex_longitude":"2ccee840","hex_latitude":"07441cd8","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647651840001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345463843322855424,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3537507107347834880,"note":"Value kept but may cause issues"} 
[2026-07-11 19:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779890000,"timestamp_ms":1783779890000,"timestamp_seconds":1783779890,"priority":1,"record_length":96,"hex_timestamp":"0000019f51911350"} 
[2026-07-11 19:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647651840001,"66":27343,"142":206,"85":37632,"24":42,"16":345463843322855424,"44":-3537507107347834880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-07-11 19:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647651840001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:55:40] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-11 19:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345463843322855424,"km_value":345463843322855.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3537507107347834880,"description":"Unknown IO ID 44"} 
[2026-07-11 19:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647651840001,"power":27343,"unknown_142":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3537507107347834880}} 
[2026-07-11 19:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":130945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:55:40] local.INFO: GPS data processed {"connection_id":130945,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:55:40] local.INFO: Acknowledgment sent {"connection_id":130945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:56:04] local.INFO: TCP Data received {"connection_id":130946,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:56:04] local.INFO: Processing buffer {"connection_id":130946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:56:04] local.INFO: IMEI packet received {"connection_id":130946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":130946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:56:07] local.INFO: TCP Data received {"connection_id":129700,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:56:07] local.INFO: Processing buffer {"connection_id":129700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:56:07] local.INFO: IMEI packet received {"connection_id":129700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":129700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:56:08] local.INFO: TCP Data received {"connection_id":129700,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:56:08] local.INFO: Processing buffer {"connection_id":129700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:56:08] local.INFO: IMEI packet received {"connection_id":129700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":129700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:56:09] local.INFO: TCP Data received {"connection_id":130946,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:56:09] local.INFO: Processing buffer {"connection_id":130946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:56:09] local.INFO: IMEI packet received {"connection_id":130946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":130946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:56:10] local.INFO: TCP Data received {"connection_id":130946,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:56:10] local.INFO: Processing buffer {"connection_id":130946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:56:10] local.INFO: Packet analysis {"connection_id":130946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:56:10] local.INFO: Extracted packet for processing {"connection_id":130946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 19:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:56:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":130946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:56:10] local.INFO: GPS data processed {"connection_id":130946,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:56:10] local.INFO: Acknowledgment sent {"connection_id":130946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:56:13] local.INFO: TCP Data received {"connection_id":129700,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:56:13] local.INFO: Processing buffer {"connection_id":129700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:56:13] local.INFO: IMEI packet received {"connection_id":129700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":129700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:56:14] local.INFO: TCP Data received {"connection_id":129700,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519126d8012ccefc80074416f8000900702f..."} 
[2026-07-11 19:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519126d8012ccefc80074416f8000900702f..."} 
[2026-07-11 19:56:14] local.INFO: Processing buffer {"connection_id":129700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519126d8012ccefc80074416f8000900702f..."} 
[2026-07-11 19:56:14] local.INFO: Packet analysis {"connection_id":129700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:56:14] local.INFO: Extracted packet for processing {"connection_id":129700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:56:14] local.INFO: GPS Element Parsed {"raw_longitude":751762560,"raw_latitude":121902840,"longitude_deg":75.176256,"latitude_deg":12.190284,"altitude":9,"angle":112,"satellites":47,"speed":43,"hex_longitude":"2ccefc80","hex_latitude":"074416f8","is_valid_coordinates":true} 
[2026-07-11 19:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647651840001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345464101020893184,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3537507107347834880,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783779895000,"timestamp_ms":1783779895000,"timestamp_seconds":1783779895,"priority":1,"record_length":96,"hex_timestamp":"0000019f519126d8"} 
[2026-07-11 19:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:56:14] 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-07-11 19:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647651840001,"66":27343,"142":206,"85":37632,"24":43,"16":345464101020893184,"44":-3537507107347834880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-07-11 19:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647651840001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:56:14] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-11 19:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345464101020893184,"km_value":345464101020893.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:56:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3537507107347834880,"description":"Unknown IO ID 44"} 
[2026-07-11 19:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647651840001,"power":27343,"unknown_142":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3537507107347834880}} 
[2026-07-11 19:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":129700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:56:14] local.INFO: GPS data processed {"connection_id":129700,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:56:14] local.INFO: Acknowledgment sent {"connection_id":129700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:56:15] local.INFO: TCP Data received {"connection_id":129700,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51913a60012ccf0f8007440c780009007c2e..."} 
[2026-07-11 19:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51913a60012ccf0f8007440c780009007c2e..."} 
[2026-07-11 19:56:15] local.INFO: Processing buffer {"connection_id":129700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51913a60012ccf0f8007440c780009007c2e..."} 
[2026-07-11 19:56:15] local.INFO: Packet analysis {"connection_id":129700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:56:15] local.INFO: Extracted packet for processing {"connection_id":129700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":751767424,"raw_latitude":121900152,"longitude_deg":75.1767424,"latitude_deg":12.1900152,"altitude":9,"angle":124,"satellites":46,"speed":43,"hex_longitude":"2ccf0f80","hex_latitude":"07440c78","is_valid_coordinates":true} 
[2026-07-11 19:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647653120001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345464367308865536,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3531807239069829120,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783779900000,"timestamp_ms":1783779900000,"timestamp_seconds":1783779900,"priority":1,"record_length":96,"hex_timestamp":"0000019f51913a60"} 
[2026-07-11 19:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 19:56:15] 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-07-11 19:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647653120001,"66":27332,"142":206,"85":37632,"24":43,"16":345464367308865536,"44":-3531807239069829120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-07-11 19:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647653120001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345464367308865536,"km_value":345464367308865.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3531807239069829120,"description":"Unknown IO ID 44"} 
[2026-07-11 19:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647653120001,"power":27332,"unknown_142":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3531807239069829120}} 
[2026-07-11 19:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":129700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:56:15] local.INFO: GPS data processed {"connection_id":129700,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:56:15] local.INFO: Acknowledgment sent {"connection_id":129700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:56:15] local.INFO: TCP Data received {"connection_id":130946,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:56:15] local.INFO: Processing buffer {"connection_id":130946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f518d8cf8012d196680071fef80003b011a26..."} 
[2026-07-11 19:56:15] local.INFO: Packet analysis {"connection_id":130946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:56:15] local.INFO: Extracted packet for processing {"connection_id":130946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f518d"} 
[2026-07-11 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647515648001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783779659000,"timestamp_ms":1783779659000,"timestamp_seconds":1783779659,"priority":1,"record_length":96,"hex_timestamp":"0000019f518d8cf8"} 
[2026-07-11 19:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 19:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647515648001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647515648001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647515648001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":130946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:56:15] local.INFO: GPS data processed {"connection_id":130946,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:56:15] local.INFO: Acknowledgment sent {"connection_id":130946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:56:46] local.INFO: TCP Data received {"connection_id":129700,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51914a00012ccf1d0007440120000900882e..."} 
[2026-07-11 19:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51914a00012ccf1d0007440120000900882e..."} 
[2026-07-11 19:56:46] local.INFO: Processing buffer {"connection_id":129700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51914a00012ccf1d0007440120000900882e..."} 
[2026-07-11 19:56:46] local.INFO: Packet analysis {"connection_id":129700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:56:46] local.INFO: Extracted packet for processing {"connection_id":129700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:56:46] local.INFO: GPS Element Parsed {"raw_longitude":751770880,"raw_latitude":121897248,"longitude_deg":75.177088,"latitude_deg":12.1897248,"altitude":9,"angle":136,"satellites":46,"speed":44,"hex_longitude":"2ccf1d00","hex_latitude":"07440120","is_valid_coordinates":true} 
[2026-07-11 19:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647654400001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345464582057230336,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3526459214513014784,"note":"Value kept but may cause issues"} 
[2026-07-11 19:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783779904000,"timestamp_ms":1783779904000,"timestamp_seconds":1783779904,"priority":1,"record_length":96,"hex_timestamp":"0000019f51914a00"} 
[2026-07-11 19:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:56:46] 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-07-11 19:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647654400001,"66":27332,"142":206,"85":37632,"24":44,"16":345464582057230336,"44":-3526459214513014784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-07-11 19:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647654400001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:56:46] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-11 19:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-11 19:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345464582057230336,"km_value":345464582057230.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3526459214513014784,"description":"Unknown IO ID 44"} 
[2026-07-11 19:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647654400001,"power":27332,"unknown_142":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3526459214513014784}} 
[2026-07-11 19:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":129700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:56:46] local.INFO: GPS data processed {"connection_id":129700,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:56:46] local.INFO: Acknowledgment sent {"connection_id":129700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:56:59] local.INFO: TCP Data received {"connection_id":128796,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:56:59] local.INFO: Processing buffer {"connection_id":128796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:56:59] local.INFO: IMEI packet received {"connection_id":128796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":128796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:57:02] local.INFO: TCP Data received {"connection_id":129701,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:57:02] local.INFO: Processing buffer {"connection_id":129701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:57:02] local.INFO: IMEI packet received {"connection_id":129701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":129701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:57:03] local.INFO: TCP Data received {"connection_id":129701,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:57:03] local.INFO: Processing buffer {"connection_id":129701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:57:03] local.INFO: IMEI packet received {"connection_id":129701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":129701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:57:04] local.INFO: TCP Data received {"connection_id":128796,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:57:04] local.INFO: Processing buffer {"connection_id":128796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:57:04] local.INFO: IMEI packet received {"connection_id":128796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":128796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:57:05] local.INFO: TCP Data received {"connection_id":128796,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:57:05] local.INFO: Processing buffer {"connection_id":128796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:57:05] local.INFO: Packet analysis {"connection_id":128796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:57:05] local.INFO: Extracted packet for processing {"connection_id":128796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 19:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":128796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:57:05] local.INFO: GPS data processed {"connection_id":128796,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:57:05] local.INFO: Acknowledgment sent {"connection_id":128796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:57:08] local.INFO: TCP Data received {"connection_id":129701,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:57:08] local.INFO: Processing buffer {"connection_id":129701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:57:08] local.INFO: IMEI packet received {"connection_id":129701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":129701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:57:09] local.INFO: TCP Data received {"connection_id":129701,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51916940012ccf32400743e448000900922e..."} 
[2026-07-11 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51916940012ccf32400743e448000900922e..."} 
[2026-07-11 19:57:09] local.INFO: Processing buffer {"connection_id":129701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51916940012ccf32400743e448000900922e..."} 
[2026-07-11 19:57:09] local.INFO: Packet analysis {"connection_id":129701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:57:09] local.INFO: Extracted packet for processing {"connection_id":129701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":751776320,"raw_latitude":121889864,"longitude_deg":75.177632,"latitude_deg":12.1889864,"altitude":9,"angle":146,"satellites":46,"speed":45,"hex_longitude":"2ccf3240","hex_latitude":"0743e448","is_valid_coordinates":true} 
[2026-07-11 19:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647655424001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345465028733829120,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3522659302328164352,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783779912000,"timestamp_ms":1783779912000,"timestamp_seconds":1783779912,"priority":1,"record_length":96,"hex_timestamp":"0000019f51916940"} 
[2026-07-11 19:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647655424001,"66":27332,"79":206,"83":43264,"24":45,"16":345465028733829120,"44":-3522659302328164352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-07-11 19:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647655424001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:57:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-11 19:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 19:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345465028733829120,"km_value":345465028733829.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3522659302328164352,"description":"Unknown IO ID 44"} 
[2026-07-11 19:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647655424001,"power":27332,"unknown_79":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3522659302328164352}} 
[2026-07-11 19:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":129701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:57:09] local.INFO: GPS data processed {"connection_id":129701,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:57:09] local.INFO: Acknowledgment sent {"connection_id":129701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:57:37] local.INFO: TCP Data received {"connection_id":128796,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:57:37] local.INFO: Processing buffer {"connection_id":128796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:57:37] local.INFO: Packet analysis {"connection_id":128796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:57:37] local.INFO: Extracted packet for processing {"connection_id":128796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 19:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":128796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:57:37] local.INFO: GPS data processed {"connection_id":128796,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:57:37] local.INFO: Acknowledgment sent {"connection_id":128796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:57:39] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:57:39] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:57:39] local.INFO: IMEI packet received {"connection_id":130948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":130948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:57:40] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f519299f0012d7e3e0005d41d80000700a629..."} 
[2026-07-11 19:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519299f0012d7e3e0005d41d80000700a629..."} 
[2026-07-11 19:57:40] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519299f0012d7e3e0005d41d80000700a629..."} 
[2026-07-11 19:57:40] local.INFO: Packet analysis {"connection_id":130948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:57:40] local.INFO: Extracted packet for processing {"connection_id":130948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763248128,"raw_latitude":97787264,"longitude_deg":76.3248128,"latitude_deg":9.7787264,"altitude":7,"angle":166,"satellites":41,"speed":24,"hex_longitude":"2d7e3e00","hex_latitude":"05d41d80","is_valid_coordinates":true} 
[2026-07-11 19:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647675136001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105227952882450432,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266184054784,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779990000,"timestamp_ms":1783779990000,"timestamp_seconds":1783779990,"priority":1,"record_length":96,"hex_timestamp":"0000019f519299f0"} 
[2026-07-11 19:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-11 19:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647675136001,"66":12102,"111":206,"85":15104,"24":24,"16":105227952882450432,"45":9095934266184054784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-11 19:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647675136001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:57:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 19:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105227952882450432,"km_value":105227952882450.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266184054784,"description":"Unknown IO ID 45"} 
[2026-07-11 19:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647675136001,"power":12102,"unknown_111":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9095934266184054784}} 
[2026-07-11 19:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":130948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:57:40] local.INFO: GPS data processed {"connection_id":130948,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:57:40] local.INFO: Acknowledgment sent {"connection_id":130948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:57:40] local.INFO: TCP Data received {"connection_id":129701,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51918880012ccf46c00743c680000a00922f..."} 
[2026-07-11 19:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51918880012ccf46c00743c680000a00922f..."} 
[2026-07-11 19:57:40] local.INFO: Processing buffer {"connection_id":129701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51918880012ccf46c00743c680000a00922f..."} 
[2026-07-11 19:57:40] local.INFO: Packet analysis {"connection_id":129701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:57:40] local.INFO: Extracted packet for processing {"connection_id":129701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5191"} 
[2026-07-11 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":751781568,"raw_latitude":121882240,"longitude_deg":75.1781568,"latitude_deg":12.188224,"altitude":10,"angle":146,"satellites":47,"speed":44,"hex_longitude":"2ccf46c0","hex_latitude":"0743c680","is_valid_coordinates":true} 
[2026-07-11 19:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647657472001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345465471115460608,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3516677959074953216,"note":"Value kept but may cause issues"} 
[2026-07-11 19:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783779920000,"timestamp_ms":1783779920000,"timestamp_seconds":1783779920,"priority":1,"record_length":96,"hex_timestamp":"0000019f51918880"} 
[2026-07-11 19:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 19:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647657472001,"66":27397,"79":206,"83":43264,"24":44,"16":345465471115460608,"44":-3516677959074953216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-07-11 19:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647657472001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:57:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-11 19:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 19:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345465471115460608,"km_value":345465471115460.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3516677959074953216,"description":"Unknown IO ID 44"} 
[2026-07-11 19:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647657472001,"power":27397,"unknown_79":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3516677959074953216}} 
[2026-07-11 19:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":129701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:57:40] local.INFO: GPS data processed {"connection_id":129701,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:57:40] local.INFO: Acknowledgment sent {"connection_id":129701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:57:59] local.INFO: TCP Data received {"connection_id":128973,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:57:59] local.INFO: Processing buffer {"connection_id":128973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:57:59] local.INFO: IMEI packet received {"connection_id":128973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":128973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:58:04] local.INFO: TCP Data received {"connection_id":128974,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:58:04] local.INFO: Processing buffer {"connection_id":128974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:58:04] local.INFO: IMEI packet received {"connection_id":128974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":128974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:58:06] local.INFO: TCP Data received {"connection_id":128973,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:58:06] local.INFO: Processing buffer {"connection_id":128973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:58:06] local.INFO: IMEI packet received {"connection_id":128973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":128973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:58:08] local.INFO: TCP Data received {"connection_id":128974,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:58:08] local.INFO: Processing buffer {"connection_id":128974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:58:08] local.INFO: IMEI packet received {"connection_id":128974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":128974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:58:09] local.INFO: TCP Data received {"connection_id":128974,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5192ff80012cd081c00742c8d0000d007c2f..."} 
[2026-07-11 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5192ff80012cd081c00742c8d0000d007c2f..."} 
[2026-07-11 19:58:09] local.INFO: Processing buffer {"connection_id":128974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5192ff80012cd081c00742c8d0000d007c2f..."} 
[2026-07-11 19:58:09] local.INFO: Packet analysis {"connection_id":128974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:09] local.INFO: Extracted packet for processing {"connection_id":128974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":751862208,"raw_latitude":121817296,"longitude_deg":75.1862208,"latitude_deg":12.1817296,"altitude":13,"angle":124,"satellites":47,"speed":55,"hex_longitude":"2cd081c0","hex_latitude":"0742c8d0","is_valid_coordinates":true} 
[2026-07-11 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647682304001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345470470457393152,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3431109566172059648,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780016000,"timestamp_ms":1783780016000,"timestamp_seconds":1783780016,"priority":1,"record_length":96,"hex_timestamp":"0000019f5192ff80"} 
[2026-07-11 19:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:58:09] 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-07-11 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 19:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647682304001,"66":27397,"111":206,"83":43264,"24":55,"16":345470470457393152,"44":-3431109566172059648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-11 19:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647682304001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:58:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 19:58:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 19:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345470470457393152,"km_value":345470470457393.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:58:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3431109566172059648,"description":"Unknown IO ID 44"} 
[2026-07-11 19:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647682304001,"power":27397,"unknown_111":206,"unknown_83":43264,"ignition":55,"odometer":null,"unknown_44":-3431109566172059648}} 
[2026-07-11 19:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":128974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:58:09] local.INFO: GPS data processed {"connection_id":128974,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:58:09] local.INFO: Acknowledgment sent {"connection_id":128974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:58:11] local.INFO: TCP Data received {"connection_id":128973,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:58:11] local.INFO: Processing buffer {"connection_id":128973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:58:11] local.INFO: IMEI packet received {"connection_id":128973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":128973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:58:11] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5192c4e8012d7e478005d3fb30000800ab29..."} 
[2026-07-11 19:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5192c4e8012d7e478005d3fb30000800ab29..."} 
[2026-07-11 19:58:11] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5192c4e8012d7e478005d3fb30000800ab29..."} 
[2026-07-11 19:58:11] local.INFO: Packet analysis {"connection_id":130948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:11] local.INFO: Extracted packet for processing {"connection_id":130948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763250560,"raw_latitude":97778480,"longitude_deg":76.325056,"latitude_deg":9.777848,"altitude":8,"angle":171,"satellites":41,"speed":34,"hex_longitude":"2d7e4780","hex_latitude":"05d3fb30","is_valid_coordinates":true} 
[2026-07-11 19:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647677440001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105228395264081920,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096708322368520192,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:11] 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-07-11 19:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783780001000,"timestamp_ms":1783780001000,"timestamp_seconds":1783780001,"priority":1,"record_length":96,"hex_timestamp":"0000019f5192c4e8"} 
[2026-07-11 19:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-11 19:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647677440001,"66":11917,"110":206,"85":15104,"24":34,"16":105228395264081920,"45":9096708322368520192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 19:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647677440001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:58:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 19:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105228395264081920,"km_value":105228395264081.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096708322368520192,"description":"Unknown IO ID 45"} 
[2026-07-11 19:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647677440001,"power":11917,"unknown_110":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9096708322368520192}} 
[2026-07-11 19:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":130948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:58:11] local.INFO: GPS data processed {"connection_id":130948,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:58:11] local.INFO: Acknowledgment sent {"connection_id":130948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:58:18] local.INFO: TCP Data received {"connection_id":128973,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:58:18] local.INFO: Processing buffer {"connection_id":128973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:58:18] local.INFO: Packet analysis {"connection_id":128973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:18] local.INFO: Extracted packet for processing {"connection_id":128973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 19:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:58:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:58:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":128973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:58:18] local.INFO: GPS data processed {"connection_id":128973,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:58:18] local.INFO: Acknowledgment sent {"connection_id":128973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:58:20] local.INFO: TCP Data received {"connection_id":128973,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:58:20] local.INFO: Processing buffer {"connection_id":128973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:58:20] local.INFO: Packet analysis {"connection_id":128973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:20] local.INFO: Extracted packet for processing {"connection_id":128973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 19:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:58:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:58:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":128973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:58:20] local.INFO: GPS data processed {"connection_id":128973,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:58:20] local.INFO: Acknowledgment sent {"connection_id":128973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:58:25] local.INFO: TCP Data received {"connection_id":128972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:58:25] local.INFO: Processing buffer {"connection_id":128972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:58:25] local.INFO: IMEI packet received {"connection_id":128972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":128972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:58:32] local.INFO: TCP Data received {"connection_id":129702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:58:32] local.INFO: Processing buffer {"connection_id":129702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:58:32] local.INFO: IMEI packet received {"connection_id":129702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":129702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:58:34] local.INFO: TCP Data received {"connection_id":129702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:58:34] local.INFO: Processing buffer {"connection_id":129702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:58:34] local.INFO: IMEI packet received {"connection_id":129702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":129702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:58:36] local.INFO: TCP Data received {"connection_id":129702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:58:36] local.INFO: Processing buffer {"connection_id":129702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:58:36] local.INFO: IMEI packet received {"connection_id":129702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":129702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:58:37] local.INFO: TCP Data received {"connection_id":129702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5192ff80012d7e490005d3d5e0000800b427..."} 
[2026-07-11 19:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5192ff80012d7e490005d3d5e0000800b427..."} 
[2026-07-11 19:58:37] local.INFO: Processing buffer {"connection_id":129702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5192ff80012d7e490005d3d5e0000800b427..."} 
[2026-07-11 19:58:37] local.INFO: Packet analysis {"connection_id":129702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:37] local.INFO: Extracted packet for processing {"connection_id":129702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763250944,"raw_latitude":97768928,"longitude_deg":76.3250944,"latitude_deg":9.7768928,"altitude":8,"angle":180,"satellites":39,"speed":28,"hex_longitude":"2d7e4900","hex_latitude":"05d3d5e0","is_valid_coordinates":true} 
[2026-07-11 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647680256001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105228859120549888,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099382334645022720,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:37] 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-07-11 19:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780016000,"timestamp_ms":1783780016000,"timestamp_seconds":1783780016,"priority":1,"record_length":96,"hex_timestamp":"0000019f5192ff80"} 
[2026-07-11 19:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-11 19:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647680256001,"66":12298,"110":206,"85":15104,"24":28,"16":105228859120549888,"45":9099382334645022720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-11 19:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647680256001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:58:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 19:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105228859120549888,"km_value":105228859120549.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099382334645022720,"description":"Unknown IO ID 45"} 
[2026-07-11 19:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647680256001,"power":12298,"unknown_110":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9099382334645022720}} 
[2026-07-11 19:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":129702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:58:37] local.INFO: GPS data processed {"connection_id":129702,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:58:37] local.INFO: Acknowledgment sent {"connection_id":129702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:58:40] local.INFO: TCP Data received {"connection_id":128974,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51931ad8012cd0a0c00742b280000d007f2e..."} 
[2026-07-11 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51931ad8012cd0a0c00742b280000d007f2e..."} 
[2026-07-11 19:58:40] local.INFO: Processing buffer {"connection_id":128974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51931ad8012cd0a0c00742b280000d007f2e..."} 
[2026-07-11 19:58:40] local.INFO: Packet analysis {"connection_id":128974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5193"} 
[2026-07-11 19:58:40] local.INFO: Extracted packet for processing {"connection_id":128974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5193"} 
[2026-07-11 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":751870144,"raw_latitude":121811584,"longitude_deg":75.1870144,"latitude_deg":12.1811584,"altitude":13,"angle":127,"satellites":46,"speed":53,"hex_longitude":"2cd0a0c0","hex_latitude":"0742b280","is_valid_coordinates":true} 
[2026-07-11 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647684096001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345470934313861120,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3422243104407105536,"note":"Value kept but may cause issues"} 
[2026-07-11 19:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780023000,"timestamp_ms":1783780023000,"timestamp_seconds":1783780023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51931ad8"} 
[2026-07-11 19:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 19:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647684096001,"66":27104,"111":206,"83":43264,"24":53,"16":345470934313861120,"44":-3422243104407105536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-11 19:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647684096001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:58:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 19:58:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 19:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345470934313861120,"km_value":345470934313861.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:58:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3422243104407105536,"description":"Unknown IO ID 44"} 
[2026-07-11 19:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647684096001,"power":27104,"unknown_111":206,"unknown_83":43264,"ignition":53,"odometer":null,"unknown_44":-3422243104407105536}} 
[2026-07-11 19:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":128974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:58:40] local.INFO: GPS data processed {"connection_id":128974,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:58:40] local.INFO: Acknowledgment sent {"connection_id":128974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:58:42] local.INFO: TCP Data received {"connection_id":129703,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:58:42] local.INFO: Processing buffer {"connection_id":129703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 19:58:42] local.INFO: IMEI packet received {"connection_id":129703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 19:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":129703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:59:01] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:59:01] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:59:01] local.INFO: IMEI packet received {"connection_id":130949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 19:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":130949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:59:03] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:59:03] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:59:03] local.INFO: IMEI packet received {"connection_id":130949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":130949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:59:04] local.INFO: TCP Data received {"connection_id":129704,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:59:04] local.INFO: Processing buffer {"connection_id":129704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:59:04] local.INFO: IMEI packet received {"connection_id":129704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":129704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:59:08] local.INFO: TCP Data received {"connection_id":129702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5194e3e0012d7e310005d35560000800af28..."} 
[2026-07-11 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5194e3e0012d7e310005d35560000800af28..."} 
[2026-07-11 19:59:08] local.INFO: Processing buffer {"connection_id":129702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5194e3e0012d7e310005d35560000800af28..."} 
[2026-07-11 19:59:08] local.INFO: Packet analysis {"connection_id":129702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 19:59:08] local.INFO: Extracted packet for processing {"connection_id":129702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 19:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":97736032,"longitude_deg":76.32448,"latitude_deg":9.7736032,"altitude":8,"angle":175,"satellites":40,"speed":7,"hex_longitude":"2d7e3100","hex_latitude":"05d35560","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647715584001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105230993719296000,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658217472,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783780140000,"timestamp_ms":1783780140000,"timestamp_seconds":1783780140,"priority":1,"record_length":96,"hex_timestamp":"0000019f5194e3e0"} 
[2026-07-11 19:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-11 19:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647715584001,"66":11830,"109":206,"85":15104,"24":7,"16":105230993719296000,"45":9093049147658217472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 19:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647715584001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:59:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 19:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105230993719296000,"km_value":105230993719296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658217472,"description":"Unknown IO ID 45"} 
[2026-07-11 19:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647715584001,"power":11830,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9093049147658217472}} 
[2026-07-11 19:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":129702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:59:08] local.INFO: GPS data processed {"connection_id":129702,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:59:08] local.INFO: Acknowledgment sent {"connection_id":129702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:59:08] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:59:08] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 19:59:08] local.INFO: IMEI packet received {"connection_id":130949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 19:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":130949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:59:09] local.INFO: TCP Data received {"connection_id":129704,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:59:09] local.INFO: Processing buffer {"connection_id":129704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:59:09] local.INFO: IMEI packet received {"connection_id":129704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 19:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":129704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:59:09] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51933a18012cd0c04007429ae8000e007e2d..."} 
[2026-07-11 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51933a18012cd0c04007429ae8000e007e2d..."} 
[2026-07-11 19:59:09] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51933a18012cd0c04007429ae8000e007e2d..."} 
[2026-07-11 19:59:09] local.INFO: Packet analysis {"connection_id":130949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5193"} 
[2026-07-11 19:59:09] local.INFO: Extracted packet for processing {"connection_id":130949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5193"} 
[2026-07-11 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":751878208,"raw_latitude":121805544,"longitude_deg":75.1878208,"latitude_deg":12.1805544,"altitude":14,"angle":126,"satellites":45,"speed":46,"hex_longitude":"2cd0c040","hex_latitude":"07429ae8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 19:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647685888001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345471419645165568,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3413517380130537472,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780031000,"timestamp_ms":1783780031000,"timestamp_seconds":1783780031,"priority":1,"record_length":96,"hex_timestamp":"0000019f51933a18"} 
[2026-07-11 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-07-11 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-11 19:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 19:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647685888001,"66":27365,"111":206,"83":43264,"24":46,"16":345471419645165568,"44":-3413517380130537472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-11 19:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647685888001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:59:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 19:59:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 19:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345471419645165568,"km_value":345471419645165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:59:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3413517380130537472,"description":"Unknown IO ID 44"} 
[2026-07-11 19:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647685888001,"power":27365,"unknown_111":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3413517380130537472}} 
[2026-07-11 19:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":130949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:59:09] local.INFO: GPS data processed {"connection_id":130949,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:59:09] local.INFO: Acknowledgment sent {"connection_id":130949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:59:10] local.INFO: TCP Data received {"connection_id":129704,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:59:10] local.INFO: Processing buffer {"connection_id":129704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:59:10] local.INFO: Packet analysis {"connection_id":129704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:59:10] local.INFO: Extracted packet for processing {"connection_id":129704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 19:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:59:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":129704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:59:10] local.INFO: GPS data processed {"connection_id":129704,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:59:10] local.INFO: Acknowledgment sent {"connection_id":129704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:59:15] local.INFO: TCP Data received {"connection_id":129704,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:59:15] local.INFO: Processing buffer {"connection_id":129704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 19:59:15] local.INFO: Packet analysis {"connection_id":129704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:59:15] local.INFO: Extracted packet for processing {"connection_id":129704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 19:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 19:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 19:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 19:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 19:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 19:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 19:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 19:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 19:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 19:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 19:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:59:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 19:59:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 19:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 19:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 19:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":129704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:59:15] local.INFO: GPS data processed {"connection_id":129704,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:59:15] local.INFO: Acknowledgment sent {"connection_id":129704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:59:34] local.INFO: TCP Data received {"connection_id":128798,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:59:34] local.INFO: Processing buffer {"connection_id":128798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:59:34] local.INFO: IMEI packet received {"connection_id":128798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 19:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":128798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 19:59:36] local.INFO: TCP Data received {"connection_id":128798,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:59:36] local.INFO: Processing buffer {"connection_id":128798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:59:36] local.INFO: IMEI packet received {"connection_id":128798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":128798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:59:40] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51935d40012cd0de40074284d00010007e2f..."} 
[2026-07-11 19:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51935d40012cd0de40074284d00010007e2f..."} 
[2026-07-11 19:59:40] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51935d40012cd0de40074284d00010007e2f..."} 
[2026-07-11 19:59:40] local.INFO: Packet analysis {"connection_id":130949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5193"} 
[2026-07-11 19:59:40] local.INFO: Extracted packet for processing {"connection_id":130949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5193"} 
[2026-07-11 19:59:40] local.INFO: GPS Element Parsed {"raw_longitude":751885888,"raw_latitude":121799888,"longitude_deg":75.1885888,"latitude_deg":12.1799888,"altitude":16,"angle":126,"satellites":47,"speed":38,"hex_longitude":"2cd0de40","hex_latitude":"074284d0","is_valid_coordinates":true} 
[2026-07-11 19: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-07-11 19:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647687936001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345471874911698944,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3404650918365698048,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780040000,"timestamp_ms":1783780040000,"timestamp_seconds":1783780040,"priority":1,"record_length":96,"hex_timestamp":"0000019f51935d40"} 
[2026-07-11 19:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 19:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19: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-07-11 19:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 19:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 19:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 19:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647687936001,"66":27376,"111":206,"83":43264,"24":38,"16":345471874911698944,"44":-3404650918365698048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-11 19:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 19:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 19:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647687936001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:59:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 19:59:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 19:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345471874911698944,"km_value":345471874911698.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3404650918365698048,"description":"Unknown IO ID 44"} 
[2026-07-11 19:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647687936001,"power":27376,"unknown_111":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3404650918365698048}} 
[2026-07-11 19:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":130949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:59:40] local.INFO: GPS data processed {"connection_id":130949,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:59:40] local.INFO: Acknowledgment sent {"connection_id":130949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:59:44] local.INFO: TCP Data received {"connection_id":128798,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:59:44] local.INFO: Processing buffer {"connection_id":128798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 19:59:44] local.INFO: IMEI packet received {"connection_id":128798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 19:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":128798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 19:59:46] local.INFO: TCP Data received {"connection_id":128798,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5194ebb0012d7e314005d354080007009b26..."} 
[2026-07-11 19:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5194ebb0012d7e314005d354080007009b26..."} 
[2026-07-11 19:59:46] local.INFO: Processing buffer {"connection_id":128798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5194ebb0012d7e314005d354080007009b26..."} 
[2026-07-11 19:59:46] local.INFO: Packet analysis {"connection_id":128798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 19:59:46] local.INFO: Extracted packet for processing {"connection_id":128798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 19:59:46] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":97735688,"longitude_deg":76.3244864,"latitude_deg":9.7735688,"altitude":7,"angle":155,"satellites":38,"speed":7,"hex_longitude":"2d7e3140","hex_latitude":"05d35408","is_valid_coordinates":true} 
[2026-07-11 19:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 19:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647715840001,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231015194132480,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658166272,"note":"Value kept but may cause issues"} 
[2026-07-11 19:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 19:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783780142000,"timestamp_ms":1783780142000,"timestamp_seconds":1783780142,"priority":1,"record_length":96,"hex_timestamp":"0000019f5194ebb0"} 
[2026-07-11 19:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 19:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 19:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-11 19:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 19:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 19:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 19:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 19:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 19:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 19:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 19:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 19:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 19:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647715840001,"66":11776,"109":206,"85":15104,"24":7,"16":105231015194132480,"45":9093049147658166272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 19:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 19:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 19:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647715840001,"description":"Unknown IO ID 0"} 
[2026-07-11 19:59:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 19:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 19:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231015194132480,"km_value":105231015194132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 19:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658166272,"description":"Unknown IO ID 45"} 
[2026-07-11 19:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647715840001,"power":11776,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9093049147658166272}} 
[2026-07-11 19:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":128798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 19:59:46] local.INFO: GPS data processed {"connection_id":128798,"processed":1,"errors":0,"total":1} 
[2026-07-11 19:59:46] local.INFO: Acknowledgment sent {"connection_id":128798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 19:59:59] local.INFO: TCP Data received {"connection_id":130950,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:59:59] local.INFO: Processing buffer {"connection_id":130950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 19:59:59] local.INFO: IMEI packet received {"connection_id":130950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 19:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":130950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:00:03] local.INFO: TCP Data received {"connection_id":128800,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:00:03] local.INFO: Processing buffer {"connection_id":128800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:00:03] local.INFO: IMEI packet received {"connection_id":128800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":128800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:00:04] local.INFO: TCP Data received {"connection_id":130950,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:00:04] local.INFO: Processing buffer {"connection_id":130950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:00:04] local.INFO: IMEI packet received {"connection_id":130950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":130950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:00:04] local.INFO: TCP Data received {"connection_id":128800,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:00:04] local.INFO: Processing buffer {"connection_id":128800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:00:04] local.INFO: IMEI packet received {"connection_id":128800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":128800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:00:05] local.INFO: TCP Data received {"connection_id":130950,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:00:05] local.INFO: Processing buffer {"connection_id":130950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:00:05] local.INFO: Packet analysis {"connection_id":130950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 20:00:05] local.INFO: Extracted packet for processing {"connection_id":130950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 20:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 20:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:00:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":130950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:00:06] local.INFO: GPS data processed {"connection_id":130950,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:00:06] local.INFO: Acknowledgment sent {"connection_id":130950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:00:08] local.INFO: TCP Data received {"connection_id":128800,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:00:08] local.INFO: Processing buffer {"connection_id":128800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:00:08] local.INFO: IMEI packet received {"connection_id":128800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":128800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:00:09] local.INFO: TCP Data received {"connection_id":128800,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5194d440012cd1f50007417050001100742d..."} 
[2026-07-11 20:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5194d440012cd1f50007417050001100742d..."} 
[2026-07-11 20:00:09] local.INFO: Processing buffer {"connection_id":128800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5194d440012cd1f50007417050001100742d..."} 
[2026-07-11 20:00:09] local.INFO: Packet analysis {"connection_id":128800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 20:00:09] local.INFO: Extracted packet for processing {"connection_id":128800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 20:00:09] local.INFO: GPS Element Parsed {"raw_longitude":751957248,"raw_latitude":121729104,"longitude_deg":75.1957248,"latitude_deg":12.1729104,"altitude":17,"angle":116,"satellites":45,"speed":44,"hex_longitude":"2cd1f500","hex_latitude":"07417050","is_valid_coordinates":true} 
[2026-07-11 20:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647712512001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345476741109645312,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3327315668532852736,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780136000,"timestamp_ms":1783780136000,"timestamp_seconds":1783780136,"priority":1,"record_length":96,"hex_timestamp":"0000019f5194d440"} 
[2026-07-11 20:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:00:09] 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-07-11 20:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647712512001,"66":27484,"110":206,"83":43264,"24":44,"16":345476741109645312,"44":-3327315668532852736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-11 20:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647712512001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:00:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 20:00:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345476741109645312,"km_value":345476741109645.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:00:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3327315668532852736,"description":"Unknown IO ID 44"} 
[2026-07-11 20:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647712512001,"power":27484,"unknown_110":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3327315668532852736}} 
[2026-07-11 20:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":128800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:00:09] local.INFO: GPS data processed {"connection_id":128800,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:00:09] local.INFO: Acknowledgment sent {"connection_id":128800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:00:17] local.INFO: TCP Data received {"connection_id":128798,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5194ef98012d7e318005d353600007008c26..."} 
[2026-07-11 20:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5194ef98012d7e318005d353600007008c26..."} 
[2026-07-11 20:00:17] local.INFO: Processing buffer {"connection_id":128798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5194ef98012d7e318005d353600007008c26..."} 
[2026-07-11 20:00:17] local.INFO: Packet analysis {"connection_id":128798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 20:00:17] local.INFO: Extracted packet for processing {"connection_id":128798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 20:00:17] local.INFO: GPS Element Parsed {"raw_longitude":763244928,"raw_latitude":97735520,"longitude_deg":76.3244928,"latitude_deg":9.773552,"altitude":7,"angle":140,"satellites":38,"speed":8,"hex_longitude":"2d7e3180","hex_latitude":"05d35360","is_valid_coordinates":true} 
[2026-07-11 20:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647716352001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231023784067072,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516402255872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783780143000,"timestamp_ms":1783780143000,"timestamp_seconds":1783780143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5194ef98"} 
[2026-07-11 20:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 20:00:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:17] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2497193985,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-11 20:00:17] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865432,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:17] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3673948160,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:17] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,219,159,227,45,8,40,10,66,223,86,220,64,1,240,152,81,211,4,113,205,208,51,239,46,2,117],"length":434,"final_offset":564,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-11 20:00:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504573745777016832,"timestamp_seconds":504573745777016.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 20:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647716352001,"66":11776,"109":206,"85":15104,"24":8,"16":105231023784067072,"45":9093119516402255872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647716352001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:00:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:00:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231023784067072,"km_value":105231023784067.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516402255872,"description":"Unknown IO ID 45"} 
[2026-07-11 20:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647716352001,"power":11776,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9093119516402255872}} 
[2026-07-11 20:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":128798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:00:17] local.INFO: GPS data processed {"connection_id":128798,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:00:17] local.INFO: Acknowledgment sent {"connection_id":128798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:00:34] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:00:34] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:00:34] local.INFO: IMEI packet received {"connection_id":130951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":130951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:00:37] local.INFO: TCP Data received {"connection_id":130950,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:00:37] local.INFO: Processing buffer {"connection_id":130950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:00:37] local.INFO: Packet analysis {"connection_id":130950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 20:00:37] local.INFO: Extracted packet for processing {"connection_id":130950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 20:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 20:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:00:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":130950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:00:37] local.INFO: GPS data processed {"connection_id":130950,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:00:37] local.INFO: Acknowledgment sent {"connection_id":130950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:00:39] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:00:39] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:00:39] local.INFO: IMEI packet received {"connection_id":130951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":130951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:00:40] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51950af0012d7e360005d34e780006007428..."} 
[2026-07-11 20:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51950af0012d7e360005d34e780006007428..."} 
[2026-07-11 20:00:40] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51950af0012d7e360005d34e780006007428..."} 
[2026-07-11 20:00:40] local.INFO: Packet analysis {"connection_id":130951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:00:40] local.INFO: Extracted packet for processing {"connection_id":130951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734264,"longitude_deg":76.324608,"latitude_deg":9.7734264,"altitude":6,"angle":116,"satellites":40,"speed":9,"hex_longitude":"2d7e3600","hex_latitude":"05d34e78","is_valid_coordinates":true} 
[2026-07-11 20:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647716608001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231105388445696,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093189885146390528,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780150000,"timestamp_ms":1783780150000,"timestamp_seconds":1783780150,"priority":1,"record_length":96,"hex_timestamp":"0000019f51950af0"} 
[2026-07-11 20:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2497449985,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221607255,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2550189389,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3674341376,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,219,159,235,45,64,84,7,38,10,66,227,8,40,223,1,240,54,81,211,4,113,205,216,49,120,239,46,2,117],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-11 20:00:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504557253102665728,"timestamp_seconds":504557253102665.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 20:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647716608001,"66":11895,"109":206,"85":15104,"24":9,"16":105231105388445696,"45":9093189885146390528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647716608001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:00:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231105388445696,"km_value":105231105388445.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093189885146390528,"description":"Unknown IO ID 45"} 
[2026-07-11 20:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647716608001,"power":11895,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9093189885146390528}} 
[2026-07-11 20:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":130951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:00:40] local.INFO: GPS data processed {"connection_id":130951,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:00:40] local.INFO: Acknowledgment sent {"connection_id":130951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:00:40] local.INFO: TCP Data received {"connection_id":128800,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5194f380012cd21580074160b0001000732e..."} 
[2026-07-11 20:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5194f380012cd21580074160b0001000732e..."} 
[2026-07-11 20:00:40] local.INFO: Processing buffer {"connection_id":128800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5194f380012cd21580074160b0001000732e..."} 
[2026-07-11 20:00:40] local.INFO: Packet analysis {"connection_id":128800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 20:00:40] local.INFO: Extracted packet for processing {"connection_id":128800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5194"} 
[2026-07-11 20:00:40] local.INFO: GPS Element Parsed {"raw_longitude":751965568,"raw_latitude":121725104,"longitude_deg":75.1965568,"latitude_deg":12.1725104,"altitude":16,"angle":115,"satellites":46,"speed":45,"hex_longitude":"2cd21580","hex_latitude":"074160b0","is_valid_coordinates":true} 
[2026-07-11 20:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647714816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345477179196309504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3317745519325851648,"note":"Value kept but may cause issues"} 
[2026-07-11 20:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780144000,"timestamp_ms":1783780144000,"timestamp_seconds":1783780144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5194f380"} 
[2026-07-11 20:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 20:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647714816001,"66":27332,"110":206,"83":43264,"24":45,"16":345477179196309504,"44":-3317745519325851648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-11 20:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647714816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:00:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 20:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345477179196309504,"km_value":345477179196309.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:00:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3317745519325851648,"description":"Unknown IO ID 44"} 
[2026-07-11 20:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647714816001,"power":27332,"unknown_110":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3317745519325851648}} 
[2026-07-11 20:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":128800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:00:40] local.INFO: GPS data processed {"connection_id":128800,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:00:40] local.INFO: Acknowledgment sent {"connection_id":128800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:00:59] local.INFO: TCP Data received {"connection_id":129705,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:00:59] local.INFO: Processing buffer {"connection_id":129705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:00:59] local.INFO: IMEI packet received {"connection_id":129705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":129705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:01:03] local.INFO: TCP Data received {"connection_id":128975,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:01:03] local.INFO: Processing buffer {"connection_id":128975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:01:03] local.INFO: IMEI packet received {"connection_id":128975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":128975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:01:03] local.INFO: TCP Data received {"connection_id":128975,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:01:03] local.INFO: Processing buffer {"connection_id":128975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:01:03] local.INFO: IMEI packet received {"connection_id":128975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":128975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:01:04] local.INFO: TCP Data received {"connection_id":129705,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:01:04] local.INFO: Processing buffer {"connection_id":129705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:01:04] local.INFO: IMEI packet received {"connection_id":129705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":129705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:01:05] local.INFO: TCP Data received {"connection_id":129705,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:01:05] local.INFO: Processing buffer {"connection_id":129705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:01:05] local.INFO: Packet analysis {"connection_id":129705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 20:01:05] local.INFO: Extracted packet for processing {"connection_id":129705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 20:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":129705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:01:05] local.INFO: GPS data processed {"connection_id":129705,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:01:05] local.INFO: Acknowledgment sent {"connection_id":129705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:01:08] local.INFO: TCP Data received {"connection_id":128975,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:01:08] local.INFO: Processing buffer {"connection_id":128975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:01:08] local.INFO: IMEI packet received {"connection_id":128975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":128975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:01:09] local.INFO: TCP Data received {"connection_id":128975,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519512c0012cd23600074150f8001000742e..."} 
[2026-07-11 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519512c0012cd23600074150f8001000742e..."} 
[2026-07-11 20:01:09] local.INFO: Processing buffer {"connection_id":128975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519512c0012cd23600074150f8001000742e..."} 
[2026-07-11 20:01:09] local.INFO: Packet analysis {"connection_id":128975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:01:09] local.INFO: Extracted packet for processing {"connection_id":128975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":751973888,"raw_latitude":121721080,"longitude_deg":75.1973888,"latitude_deg":12.172108,"altitude":16,"angle":116,"satellites":46,"speed":44,"hex_longitude":"2cd23600","hex_latitude":"074150f8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647716864001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345477621577940992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3308597582583779328,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780152000,"timestamp_ms":1783780152000,"timestamp_seconds":1783780152,"priority":1,"record_length":96,"hex_timestamp":"0000019f519512c0"} 
[2026-07-11 20:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 20:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647716864001,"66":27376,"243":206,"83":43264,"24":44,"16":345477621577940992,"44":-3308597582583779328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-07-11 20:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647716864001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:01:09] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-11 20:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345477621577940992,"km_value":345477621577941.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:01:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3308597582583779328,"description":"Unknown IO ID 44"} 
[2026-07-11 20:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647716864001,"power":27376,"unknown_243":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3308597582583779328}} 
[2026-07-11 20:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":128975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:01:09] local.INFO: GPS data processed {"connection_id":128975,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:01:09] local.INFO: Acknowledgment sent {"connection_id":128975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:01:11] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51950ed8012d7e370005d34e480005005d28..."} 
[2026-07-11 20:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51950ed8012d7e370005d34e480005005d28..."} 
[2026-07-11 20:01:11] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51950ed8012d7e370005d34e480005005d28..."} 
[2026-07-11 20:01:11] local.INFO: Packet analysis {"connection_id":130951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:01:11] local.INFO: Extracted packet for processing {"connection_id":130951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97734216,"longitude_deg":76.3246336,"latitude_deg":9.7734216,"altitude":5,"angle":93,"satellites":40,"speed":7,"hex_longitude":"2d7e3700","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-07-11 20:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647718400001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231118273347584,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541266944,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783780151000,"timestamp_ms":1783780151000,"timestamp_seconds":1783780151,"priority":1,"record_length":96,"hex_timestamp":"0000019f51950ed8"} 
[2026-07-11 20:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 20:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647718400001,"66":11547,"109":206,"85":15104,"24":7,"16":105231118273347584,"45":9094456522541266944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647718400001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:01:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231118273347584,"km_value":105231118273347.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541266944,"description":"Unknown IO ID 45"} 
[2026-07-11 20:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647718400001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9094456522541266944}} 
[2026-07-11 20:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":130951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:01:11] local.INFO: GPS data processed {"connection_id":130951,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:01:11] local.INFO: Acknowledgment sent {"connection_id":130951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:01:34] local.INFO: TCP Data received {"connection_id":129706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:01:34] local.INFO: Processing buffer {"connection_id":129706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:01:34] local.INFO: IMEI packet received {"connection_id":129706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":129706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:01:37] local.INFO: TCP Data received {"connection_id":129705,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:01:37] local.INFO: Processing buffer {"connection_id":129705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519224c0012d196680071fef80003b011a27..."} 
[2026-07-11 20:01:37] local.INFO: Packet analysis {"connection_id":129705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 20:01:37] local.INFO: Extracted packet for processing {"connection_id":129705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5192"} 
[2026-07-11 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647592704001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783779960000,"timestamp_ms":1783779960000,"timestamp_seconds":1783779960,"priority":1,"record_length":96,"hex_timestamp":"0000019f519224c0"} 
[2026-07-11 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-07-11 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647592704001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647592704001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:01:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647592704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":129705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:01:37] local.INFO: GPS data processed {"connection_id":129705,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:01:37] local.INFO: Acknowledgment sent {"connection_id":129705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:01:39] local.INFO: TCP Data received {"connection_id":129706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:01:39] local.INFO: Processing buffer {"connection_id":129706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:01:39] local.INFO: IMEI packet received {"connection_id":129706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":129706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:01:39] local.INFO: TCP Data received {"connection_id":129706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f519512c0012d7e378005d34e600005004a29..."} 
[2026-07-11 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519512c0012d7e378005d34e600005004a29..."} 
[2026-07-11 20:01:39] local.INFO: Processing buffer {"connection_id":129706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519512c0012d7e378005d34e600005004a29..."} 
[2026-07-11 20:01:39] local.INFO: Packet analysis {"connection_id":129706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:01:39] local.INFO: Extracted packet for processing {"connection_id":129706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97734240,"longitude_deg":76.3246464,"latitude_deg":9.773424,"altitude":5,"angle":74,"satellites":41,"speed":7,"hex_longitude":"2d7e3780","hex_latitude":"05d34e60","is_valid_coordinates":true} 
[2026-07-11 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647718656001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231122568314880,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517965312,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783780152000,"timestamp_ms":1783780152000,"timestamp_seconds":1783780152,"priority":1,"record_length":96,"hex_timestamp":"0000019f519512c0"} 
[2026-07-11 20:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:01: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-07-11 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 20:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647718656001,"66":11547,"109":206,"85":15104,"24":7,"16":105231122568314880,"45":9094737997517965312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647718656001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:01:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231122568314880,"km_value":105231122568314.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517965312,"description":"Unknown IO ID 45"} 
[2026-07-11 20:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647718656001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9094737997517965312}} 
[2026-07-11 20:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":129706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:01:39] local.INFO: GPS data processed {"connection_id":129706,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:01:39] local.INFO: Acknowledgment sent {"connection_id":129706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:01:40] local.INFO: TCP Data received {"connection_id":128975,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519535e8012cd257c007413eb0000e00782f..."} 
[2026-07-11 20:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519535e8012cd257c007413eb0000e00782f..."} 
[2026-07-11 20:01:40] local.INFO: Processing buffer {"connection_id":128975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519535e8012cd257c007413eb0000e00782f..."} 
[2026-07-11 20:01:40] local.INFO: Packet analysis {"connection_id":128975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:01:40] local.INFO: Extracted packet for processing {"connection_id":128975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:01:40] local.INFO: GPS Element Parsed {"raw_longitude":751982528,"raw_latitude":121716400,"longitude_deg":75.1982528,"latitude_deg":12.17164,"altitude":14,"angle":120,"satellites":47,"speed":42,"hex_longitude":"2cd257c0","hex_latitude":"07413eb0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647718912001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345478085434408960,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3299449645841713152,"note":"Value kept but may cause issues"} 
[2026-07-11 20:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780161000,"timestamp_ms":1783780161000,"timestamp_seconds":1783780161,"priority":1,"record_length":96,"hex_timestamp":"0000019f519535e8"} 
[2026-07-11 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-07-11 20:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647718912001,"66":27180,"243":206,"83":43264,"24":42,"16":345478085434408960,"44":-3299449645841713152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-07-11 20:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647718912001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:01:40] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-11 20:01:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345478085434408960,"km_value":345478085434408.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3299449645841713152,"description":"Unknown IO ID 44"} 
[2026-07-11 20:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647718912001,"power":27180,"unknown_243":206,"unknown_83":43264,"ignition":42,"odometer":null,"unknown_44":-3299449645841713152}} 
[2026-07-11 20:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":128975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:01:40] local.INFO: GPS data processed {"connection_id":128975,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:01:40] local.INFO: Acknowledgment sent {"connection_id":128975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:01:59] local.INFO: TCP Data received {"connection_id":128976,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:01:59] local.INFO: Processing buffer {"connection_id":128976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:01:59] local.INFO: IMEI packet received {"connection_id":128976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":128976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:02:03] local.INFO: TCP Data received {"connection_id":129707,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:02:03] local.INFO: Processing buffer {"connection_id":129707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:02:03] local.INFO: IMEI packet received {"connection_id":129707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":129707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:02:04] local.INFO: TCP Data received {"connection_id":128976,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:02:04] local.INFO: Processing buffer {"connection_id":128976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:02:04] local.INFO: IMEI packet received {"connection_id":128976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":128976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:02:05] local.INFO: TCP Data received {"connection_id":128976,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:02:05] local.INFO: Processing buffer {"connection_id":128976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:02:05] local.INFO: Packet analysis {"connection_id":128976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:05] local.INFO: Extracted packet for processing {"connection_id":128976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:02:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":128976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:02:06] local.INFO: GPS data processed {"connection_id":128976,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:02:06] local.INFO: Acknowledgment sent {"connection_id":128976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:02:07] local.INFO: TCP Data received {"connection_id":129707,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:02:07] local.INFO: Processing buffer {"connection_id":129707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:02:07] local.INFO: IMEI packet received {"connection_id":129707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":129707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:02:08] local.INFO: TCP Data received {"connection_id":129707,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:02:08] local.INFO: Processing buffer {"connection_id":129707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:02:08] local.INFO: IMEI packet received {"connection_id":129707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":129707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:02:09] local.INFO: TCP Data received {"connection_id":129707,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196a900012cd3574007400fa80007008c2f..."} 
[2026-07-11 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196a900012cd3574007400fa80007008c2f..."} 
[2026-07-11 20:02:09] local.INFO: Processing buffer {"connection_id":129707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196a900012cd3574007400fa80007008c2f..."} 
[2026-07-11 20:02:09] local.INFO: Packet analysis {"connection_id":129707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:09] local.INFO: Extracted packet for processing {"connection_id":129707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":752047936,"raw_latitude":121638824,"longitude_deg":75.2047936,"latitude_deg":12.1638824,"altitude":7,"angle":140,"satellites":47,"speed":41,"hex_longitude":"2cd35740","hex_latitude":"07400fa8","is_valid_coordinates":true} 
[2026-07-11 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647742976001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345482977402159104,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3225069883265095680,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780256000,"timestamp_ms":1783780256000,"timestamp_seconds":1783780256,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196a900"} 
[2026-07-11 20:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:02:09] 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-07-11 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 20:02:09] 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-07-11 20:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647742976001,"66":27343,"245":206,"83":43264,"24":41,"16":345482977402159104,"44":-3225069883265095680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-07-11 20:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647742976001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:02:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345482977402159104,"km_value":345482977402159.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3225069883265095680,"description":"Unknown IO ID 44"} 
[2026-07-11 20:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647742976001,"power":27343,"geofence_id":206,"unknown_83":43264,"ignition":41,"odometer":null,"unknown_44":-3225069883265095680}} 
[2026-07-11 20:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":129707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:02:09] local.INFO: GPS data processed {"connection_id":129707,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:02:09] local.INFO: Acknowledgment sent {"connection_id":129707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:02:11] local.INFO: TCP Data received {"connection_id":129706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f519516a8012d7e380005d34ed00005003029..."} 
[2026-07-11 20:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519516a8012d7e380005d34ed00005003029..."} 
[2026-07-11 20:02:11] local.INFO: Processing buffer {"connection_id":129706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519516a8012d7e380005d34ed00005003029..."} 
[2026-07-11 20:02:11] local.INFO: Packet analysis {"connection_id":129706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:02:11] local.INFO: Extracted packet for processing {"connection_id":129706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734352,"longitude_deg":76.3246592,"latitude_deg":9.7734352,"altitude":5,"angle":48,"satellites":41,"speed":7,"hex_longitude":"2d7e3800","hex_latitude":"05d34ed0","is_valid_coordinates":true} 
[2026-07-11 20:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647718912001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231131158249472,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006326784,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783780153000,"timestamp_ms":1783780153000,"timestamp_seconds":1783780153,"priority":1,"record_length":96,"hex_timestamp":"0000019f519516a8"} 
[2026-07-11 20:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-11 20:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647718912001,"66":11874,"109":206,"85":15104,"24":7,"16":105231131158249472,"45":9094878735006326784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647718912001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:02:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231131158249472,"km_value":105231131158249.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006326784,"description":"Unknown IO ID 45"} 
[2026-07-11 20:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647718912001,"power":11874,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9094878735006326784}} 
[2026-07-11 20:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":129706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:02:11] local.INFO: GPS data processed {"connection_id":129706,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:02:11] local.INFO: Acknowledgment sent {"connection_id":129706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:02:14] local.INFO: TCP Data received {"connection_id":129707,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196cc28012cd36fc0073ff2280007008c2f..."} 
[2026-07-11 20:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196cc28012cd36fc0073ff2280007008c2f..."} 
[2026-07-11 20:02:14] local.INFO: Processing buffer {"connection_id":129707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196cc28012cd36fc0073ff2280007008c2f..."} 
[2026-07-11 20:02:14] local.INFO: Packet analysis {"connection_id":129707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:14] local.INFO: Extracted packet for processing {"connection_id":129707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:14] local.INFO: GPS Element Parsed {"raw_longitude":752054208,"raw_latitude":121631272,"longitude_deg":75.2054208,"latitude_deg":12.1631272,"altitude":7,"angle":140,"satellites":47,"speed":44,"hex_longitude":"2cd36fc0","hex_latitude":"073ff228","is_valid_coordinates":true} 
[2026-07-11 20:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647745536001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345483449848561664,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3218033008849213440,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783780265000,"timestamp_ms":1783780265000,"timestamp_seconds":1783780265,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196cc28"} 
[2026-07-11 20:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:02:14] 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-07-11 20:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647745536001,"66":27234,"119":206,"83":43264,"24":44,"16":345483449848561664,"44":-3218033008849213440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-07-11 20:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647745536001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:02:14] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-11 20:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345483449848561664,"km_value":345483449848561.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3218033008849213440,"description":"Unknown IO ID 44"} 
[2026-07-11 20:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647745536001,"power":27234,"unknown_119":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3218033008849213440}} 
[2026-07-11 20:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":129707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:02:14] local.INFO: GPS data processed {"connection_id":129707,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:02:14] local.INFO: Acknowledgment sent {"connection_id":129707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:02:37] local.INFO: TCP Data received {"connection_id":128976,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:02:37] local.INFO: Processing buffer {"connection_id":128976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:02:37] local.INFO: Packet analysis {"connection_id":128976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:37] local.INFO: Extracted packet for processing {"connection_id":128976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:02:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":128976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:02:38] local.INFO: GPS data processed {"connection_id":128976,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:02:38] local.INFO: Acknowledgment sent {"connection_id":128976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:02:39] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:02:39] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:02:39] local.INFO: IMEI packet received {"connection_id":130954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":130954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:02:44] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:02:44] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:02:44] local.INFO: IMEI packet received {"connection_id":130954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":130954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:02:44] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f519568b0012d7e360005d34ee8000300302a..."} 
[2026-07-11 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519568b0012d7e360005d34ee8000300302a..."} 
[2026-07-11 20:02:44] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519568b0012d7e360005d34ee8000300302a..."} 
[2026-07-11 20:02:44] local.INFO: Packet analysis {"connection_id":130954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:02:44] local.INFO: Extracted packet for processing {"connection_id":130954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:02:44] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734376,"longitude_deg":76.324608,"latitude_deg":9.7734376,"altitude":3,"angle":48,"satellites":42,"speed":2,"hex_longitude":"2d7e3600","hex_latitude":"05d34ee8","is_valid_coordinates":true} 
[2026-07-11 20:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647719168001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231191287791616,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494710784,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783780174000,"timestamp_ms":1783780174000,"timestamp_seconds":1783780174,"priority":1,"record_length":96,"hex_timestamp":"0000019f519568b0"} 
[2026-07-11 20:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:02: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-07-11 20:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 20:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647719168001,"66":11798,"109":206,"85":15104,"24":2,"16":105231191287791616,"45":9095019472494710784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647719168001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:02:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231191287791616,"km_value":105231191287791.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494710784,"description":"Unknown IO ID 45"} 
[2026-07-11 20:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647719168001,"power":11798,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9095019472494710784}} 
[2026-07-11 20:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":130954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:02:44] local.INFO: GPS data processed {"connection_id":130954,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:02:44] local.INFO: Acknowledgment sent {"connection_id":130954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:02:45] local.INFO: TCP Data received {"connection_id":129707,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196eb68012cd385c0073fd6a80007008f2d..."} 
[2026-07-11 20:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196eb68012cd385c0073fd6a80007008f2d..."} 
[2026-07-11 20:02:45] local.INFO: Processing buffer {"connection_id":129707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196eb68012cd385c0073fd6a80007008f2d..."} 
[2026-07-11 20:02:45] local.INFO: Packet analysis {"connection_id":129707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:45] local.INFO: Extracted packet for processing {"connection_id":129707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:02:45] local.INFO: GPS Element Parsed {"raw_longitude":752059840,"raw_latitude":121624232,"longitude_deg":75.205984,"latitude_deg":12.1624232,"altitude":7,"angle":143,"satellites":45,"speed":44,"hex_longitude":"2cd385c0","hex_latitude":"073fd6a8","is_valid_coordinates":true} 
[2026-07-11 20:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647747840001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345483879345291264,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3211136871921735680,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783780273000,"timestamp_ms":1783780273000,"timestamp_seconds":1783780273,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196eb68"} 
[2026-07-11 20:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 20:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647747840001,"66":27267,"119":206,"83":43264,"24":44,"16":345483879345291264,"44":-3211136871921735680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-07-11 20:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647747840001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:02:45] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-11 20:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345483879345291264,"km_value":345483879345291.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3211136871921735680,"description":"Unknown IO ID 44"} 
[2026-07-11 20:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647747840001,"power":27267,"unknown_119":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3211136871921735680}} 
[2026-07-11 20:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":129707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:02:45] local.INFO: GPS data processed {"connection_id":129707,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:02:45] local.INFO: Acknowledgment sent {"connection_id":129707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:02:45] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5195bab8012d7e34c005d34f580001003026..."} 
[2026-07-11 20:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5195bab8012d7e34c005d34f580001003026..."} 
[2026-07-11 20:02:45] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5195bab8012d7e34c005d34f580001003026..."} 
[2026-07-11 20:02:45] local.INFO: Packet analysis {"connection_id":130954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:02:45] local.INFO: Extracted packet for processing {"connection_id":130954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5195"} 
[2026-07-11 20:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734488,"longitude_deg":76.324576,"latitude_deg":9.7734488,"altitude":1,"angle":48,"satellites":38,"speed":2,"hex_longitude":"2d7e34c0","hex_latitude":"05d34f58","is_valid_coordinates":true} 
[2026-07-11 20:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647724544001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231208467660800,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541295616,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783780195000,"timestamp_ms":1783780195000,"timestamp_seconds":1783780195,"priority":1,"record_length":96,"hex_timestamp":"0000019f5195bab8"} 
[2026-07-11 20:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184149975245,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2500521985,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6208212120702232576,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847198448,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":1639738519848960,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":117,"raw_value":-2662471804706095104,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929477122,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2882311458098514432,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":148,"raw_value":-2308093514125082619,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.WARNING: Large IO value detected {"io_id":8,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-11 20:02:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,85,24,241,157,16,219,159,22,45,78,5,41,10,66,18,128,14,1,240,27,227,81,211,4,113,205,9,239,49,96,38,46,2,117,91,206,175,54,148,8],"length":632,"final_offset":762,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-11 20:02:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216225739060674560,"timestamp_seconds":216225739060674.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 20:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647724544001,"66":12906,"109":206,"85":15104,"24":2,"16":105231208467660800,"45":9094456522541295616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647724544001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:02:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231208467660800,"km_value":105231208467660.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541295616,"description":"Unknown IO ID 45"} 
[2026-07-11 20:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647724544001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094456522541295616}} 
[2026-07-11 20:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":130954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:02:45] local.INFO: GPS data processed {"connection_id":130954,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:02:45] local.INFO: Acknowledgment sent {"connection_id":130954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:03:04] local.INFO: TCP Data received {"connection_id":130955,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:03:04] local.INFO: Processing buffer {"connection_id":130955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:03:04] local.INFO: IMEI packet received {"connection_id":130955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":130955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:03:07] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:03:07] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:03:07] local.INFO: IMEI packet received {"connection_id":128801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":128801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:03:08] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:03:08] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:03:08] local.INFO: IMEI packet received {"connection_id":128801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":128801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:03:09] local.INFO: TCP Data received {"connection_id":130955,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:03:09] local.INFO: Processing buffer {"connection_id":130955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:03:09] local.INFO: IMEI packet received {"connection_id":130955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":130955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:03:10] local.INFO: TCP Data received {"connection_id":130955,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:03:10] local.INFO: Processing buffer {"connection_id":130955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:03:10] local.INFO: Packet analysis {"connection_id":130955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:10] local.INFO: Extracted packet for processing {"connection_id":130955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:03:10] 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-07-11 20:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:03:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":130955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:03:10] local.INFO: GPS data processed {"connection_id":130955,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:03:10] local.INFO: Acknowledgment sent {"connection_id":130955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:03:15] local.INFO: TCP Data received {"connection_id":130955,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:03:15] local.INFO: Processing buffer {"connection_id":130955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:03:15] local.INFO: Packet analysis {"connection_id":130955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:15] local.INFO: Extracted packet for processing {"connection_id":130955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:03:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:03:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":130955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:03:15] local.INFO: GPS data processed {"connection_id":130955,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:03:15] local.INFO: Acknowledgment sent {"connection_id":130955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:03:16] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51960cc0012d7e364005d34dc00001003029..."} 
[2026-07-11 20:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51960cc0012d7e364005d34dc00001003029..."} 
[2026-07-11 20:03:16] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51960cc0012d7e364005d34dc00001003029..."} 
[2026-07-11 20:03:16] local.INFO: Packet analysis {"connection_id":130954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:16] local.INFO: Extracted packet for processing {"connection_id":130954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":41,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647729920001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820435968,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783780216000,"timestamp_ms":1783780216000,"timestamp_seconds":1783780216,"priority":1,"record_length":96,"hex_timestamp":"0000019f51960cc0"} 
[2026-07-11 20:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-11 20:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647729920001,"66":12917,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094104678820435968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647729920001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:03:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820435968,"description":"Unknown IO ID 45"} 
[2026-07-11 20:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647729920001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820435968}} 
[2026-07-11 20:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":130954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:03:16] local.INFO: GPS data processed {"connection_id":130954,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:03:16] local.INFO: Acknowledgment sent {"connection_id":130954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:03:17] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 20:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 20:03:17] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 20:03:17] local.INFO: IMEI packet received {"connection_id":128801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":128801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:03:19] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51970aa8012cd39900073fb960000700962e..."} 
[2026-07-11 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51970aa8012cd39900073fb960000700962e..."} 
[2026-07-11 20:03:19] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f51..."} 
[2026-07-11 20:03:19] local.INFO: IMEI packet received {"connection_id":128801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":128801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:03:19] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519729e8012cd3ab80073f9a88000800902e..."} 
[2026-07-11 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519729e8012cd3ab80073f9a88000800902e..."} 
[2026-07-11 20:03:19] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f51970aa8012cd39900073fb960000700962e..."} 
[2026-07-11 20:03:19] local.INFO: Packet analysis {"connection_id":128801,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:03:19] local.INFO: Extracted packet for processing {"connection_id":128801,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":752064768,"raw_latitude":121616736,"longitude_deg":75.2064768,"latitude_deg":12.1616736,"altitude":7,"angle":150,"satellites":46,"speed":44,"hex_longitude":"2cd39900","hex_latitude":"073fb960","is_valid_coordinates":true} 
[2026-07-11 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647749888001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345484313136988160,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3204944422435903488,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783780281000,"timestamp_ms":1783780281000,"timestamp_seconds":1783780281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51970aa8"} 
[2026-07-11 20:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 20:03:19] 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-07-11 20:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647749888001,"66":27343,"119":206,"83":43264,"24":44,"16":345484313136988160,"44":-3204944422435903488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-07-11 20:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647749888001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345484313136988160,"km_value":345484313136988.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3204944422435903488,"description":"Unknown IO ID 44"} 
[2026-07-11 20:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647749888001,"power":27343,"unknown_119":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3204944422435903488}} 
[2026-07-11 20:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":128801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:03:19] local.INFO: GPS data processed {"connection_id":128801,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:03:19] local.INFO: Acknowledgment sent {"connection_id":128801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:03:19] local.INFO: Packet analysis {"connection_id":128801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:03:19] local.INFO: Extracted packet for processing {"connection_id":128801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":752069504,"raw_latitude":121608840,"longitude_deg":75.2069504,"latitude_deg":12.160884,"altitude":8,"angle":144,"satellites":46,"speed":46,"hex_longitude":"2cd3ab80","hex_latitude":"073f9a88","is_valid_coordinates":true} 
[2026-07-11 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647751936001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345484755518619648,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3199526029136142336,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783780289000,"timestamp_ms":1783780289000,"timestamp_seconds":1783780289,"priority":1,"record_length":96,"hex_timestamp":"0000019f519729e8"} 
[2026-07-11 20:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:03:19] 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-07-11 20:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647751936001,"66":27376,"119":206,"83":43264,"24":46,"16":345484755518619648,"44":-3199526029136142336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-07-11 20:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647751936001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345484755518619648,"km_value":345484755518619.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3199526029136142336,"description":"Unknown IO ID 44"} 
[2026-07-11 20:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647751936001,"power":27376,"unknown_119":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3199526029136142336}} 
[2026-07-11 20:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":128801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:03:19] local.INFO: GPS data processed {"connection_id":128801,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:03:19] local.INFO: Acknowledgment sent {"connection_id":128801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:03:20] local.INFO: TCP Data received {"connection_id":128801,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51974158012cd3bd80073f8670000900852e..."} 
[2026-07-11 20:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51974158012cd3bd80073f8670000900852e..."} 
[2026-07-11 20:03:20] local.INFO: Processing buffer {"connection_id":128801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51974158012cd3bd80073f8670000900852e..."} 
[2026-07-11 20:03:20] local.INFO: Packet analysis {"connection_id":128801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:03:20] local.INFO: Extracted packet for processing {"connection_id":128801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:03:20] local.INFO: GPS Element Parsed {"raw_longitude":752074112,"raw_latitude":121603696,"longitude_deg":75.2074112,"latitude_deg":12.1603696,"altitude":9,"angle":133,"satellites":46,"speed":45,"hex_longitude":"2cd3bd80","hex_latitude":"073f8670","is_valid_coordinates":true} 
[2026-07-11 20:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647753984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345485090526068736,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3194318742069016576,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783780295000,"timestamp_ms":1783780295000,"timestamp_seconds":1783780295,"priority":1,"record_length":96,"hex_timestamp":"0000019f51974158"} 
[2026-07-11 20:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20: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-07-11 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:03:20] 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-07-11 20:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":128801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":128801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":128801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647753984001,"66":27332,"119":206,"83":43264,"24":45,"16":345485090526068736,"44":-3194318742069016576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-07-11 20:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647753984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:03:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-11 20:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345485090526068736,"km_value":345485090526068.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3194318742069016576,"description":"Unknown IO ID 44"} 
[2026-07-11 20:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647753984001,"power":27332,"unknown_119":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3194318742069016576}} 
[2026-07-11 20:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":128801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:03:20] local.INFO: GPS data processed {"connection_id":128801,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:03:20] local.INFO: Acknowledgment sent {"connection_id":128801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:03:34] local.INFO: TCP Data received {"connection_id":129708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:03:34] local.INFO: Processing buffer {"connection_id":129708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:03:34] local.INFO: IMEI packet received {"connection_id":129708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":129708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:03:39] local.INFO: TCP Data received {"connection_id":129708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:03:39] local.INFO: Processing buffer {"connection_id":129708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:03:39] local.INFO: IMEI packet received {"connection_id":129708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":129708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:03:40] local.INFO: TCP Data received {"connection_id":129708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f51965ec8012d7e364005d34dc0000100302a..."} 
[2026-07-11 20:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51965ec8012d7e364005d34dc0000100302a..."} 
[2026-07-11 20:03:40] local.INFO: Processing buffer {"connection_id":129708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51965ec8012d7e364005d34dc0000100302a..."} 
[2026-07-11 20:03:40] local.INFO: Packet analysis {"connection_id":129708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:40] local.INFO: Extracted packet for processing {"connection_id":129708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647735296001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780237000,"timestamp_ms":1783780237000,"timestamp_seconds":1783780237,"priority":1,"record_length":96,"hex_timestamp":"0000019f51965ec8"} 
[2026-07-11 20:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-11 20:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647735296001,"66":12765,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647735296001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:03:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647735296001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":129708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:03:40] local.INFO: GPS data processed {"connection_id":129708,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:03:40] local.INFO: Acknowledgment sent {"connection_id":129708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:03:40] local.INFO: TCP Data received {"connection_id":129708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196b0d0012d7e364005d34dc00001003029..."} 
[2026-07-11 20:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196b0d0012d7e364005d34dc00001003029..."} 
[2026-07-11 20:03:40] local.INFO: Processing buffer {"connection_id":129708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196b0d0012d7e364005d34dc00001003029..."} 
[2026-07-11 20:03:40] local.INFO: Packet analysis {"connection_id":129708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:40] local.INFO: Extracted packet for processing {"connection_id":129708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":41,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647740672001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780258000,"timestamp_ms":1783780258000,"timestamp_seconds":1783780258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196b0d0"} 
[2026-07-11 20:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647740672001,"66":12624,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647740672001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:03:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647740672001,"power":12624,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":129708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:03:41] local.INFO: GPS data processed {"connection_id":129708,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:03:41] local.INFO: Acknowledgment sent {"connection_id":129708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:03:59] local.INFO: TCP Data received {"connection_id":130956,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:03:59] local.INFO: Processing buffer {"connection_id":130956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:03:59] local.INFO: IMEI packet received {"connection_id":130956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":130956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:04:00] local.INFO: TCP Data received {"connection_id":130957,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:04:00] local.INFO: Processing buffer {"connection_id":130957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:04:00] local.INFO: IMEI packet received {"connection_id":130957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":130957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:04:03] local.INFO: TCP Data received {"connection_id":130957,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:04:03] local.INFO: Processing buffer {"connection_id":130957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:04:03] local.INFO: IMEI packet received {"connection_id":130957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":130957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:04:04] local.INFO: TCP Data received {"connection_id":130956,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:04:04] local.INFO: Processing buffer {"connection_id":130956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:04:04] local.INFO: IMEI packet received {"connection_id":130956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":130956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:04:05] local.INFO: TCP Data received {"connection_id":128978,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:04:05] local.INFO: Processing buffer {"connection_id":128978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:04:05] local.INFO: IMEI packet received {"connection_id":128978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":128978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:04:05] local.INFO: TCP Data received {"connection_id":130956,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:04:05] local.INFO: Processing buffer {"connection_id":130956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:04:05] local.INFO: Packet analysis {"connection_id":130956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:04:05] local.INFO: Extracted packet for processing {"connection_id":130956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":130956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:04:06] local.INFO: GPS data processed {"connection_id":130956,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:04:06] local.INFO: Acknowledgment sent {"connection_id":130956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:04:08] local.INFO: TCP Data received {"connection_id":130957,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:04:08] local.INFO: Processing buffer {"connection_id":130957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:04:08] local.INFO: IMEI packet received {"connection_id":130957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":130957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:04:09] local.INFO: TCP Data received {"connection_id":130957,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51986268012cd458c0073e60a0000700962c..."} 
[2026-07-11 20:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51986268012cd458c0073e60a0000700962c..."} 
[2026-07-11 20:04:09] local.INFO: Processing buffer {"connection_id":130957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51986268012cd458c0073e60a0000700962c..."} 
[2026-07-11 20:04:09] local.INFO: Packet analysis {"connection_id":130957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:04:09] local.INFO: Extracted packet for processing {"connection_id":130957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":752113856,"raw_latitude":121528480,"longitude_deg":75.2113856,"latitude_deg":12.152848,"altitude":7,"angle":150,"satellites":44,"speed":52,"hex_longitude":"2cd458c0","hex_latitude":"073e60a0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647774464001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345489295299051520,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3145553202374467584,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780369000,"timestamp_ms":1783780369000,"timestamp_seconds":1783780369,"priority":1,"record_length":96,"hex_timestamp":"0000019f51986268"} 
[2026-07-11 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-07-11 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 20:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647774464001,"66":27267,"118":206,"83":43264,"24":52,"16":345489295299051520,"44":-3145553202374467584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-07-11 20:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647774464001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:04:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-11 20:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345489295299051520,"km_value":345489295299051.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3145553202374467584,"description":"Unknown IO ID 44"} 
[2026-07-11 20:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647774464001,"power":27267,"unknown_118":206,"unknown_83":43264,"ignition":52,"odometer":null,"unknown_44":-3145553202374467584}} 
[2026-07-11 20:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":130957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:04:09] local.INFO: GPS data processed {"connection_id":130957,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:04:09] local.INFO: Acknowledgment sent {"connection_id":130957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:04:12] local.INFO: TCP Data received {"connection_id":129708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f519702d8012d7e364005d34dc00001003028..."} 
[2026-07-11 20:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519702d8012d7e364005d34dc00001003028..."} 
[2026-07-11 20:04:12] local.INFO: Processing buffer {"connection_id":129708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519702d8012d7e364005d34dc00001003028..."} 
[2026-07-11 20:04:12] local.INFO: Packet analysis {"connection_id":129708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:04:12] local.INFO: Extracted packet for processing {"connection_id":129708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746048001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783780279000,"timestamp_ms":1783780279000,"timestamp_seconds":1783780279,"priority":1,"record_length":96,"hex_timestamp":"0000019f519702d8"} 
[2026-07-11 20:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-11 20:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746048001,"66":12624,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746048001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:04:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746048001,"power":12624,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":129708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:04:12] local.INFO: GPS data processed {"connection_id":129708,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:04:12] local.INFO: Acknowledgment sent {"connection_id":129708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:04:34] local.INFO: TCP Data received {"connection_id":129709,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:04:34] local.INFO: Processing buffer {"connection_id":129709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:04:34] local.INFO: IMEI packet received {"connection_id":129709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":129709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:04:37] local.INFO: TCP Data received {"connection_id":130956,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:04:37] local.INFO: Processing buffer {"connection_id":130956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:04:37] local.INFO: Packet analysis {"connection_id":130956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:04:37] local.INFO: Extracted packet for processing {"connection_id":130956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":130956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:04:37] local.INFO: GPS data processed {"connection_id":130956,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:04:37] local.INFO: Acknowledgment sent {"connection_id":130956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:04:39] local.INFO: TCP Data received {"connection_id":129709,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:04:39] local.INFO: Processing buffer {"connection_id":129709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:04:39] local.INFO: IMEI packet received {"connection_id":129709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":129709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:04:40] local.INFO: TCP Data received {"connection_id":130957,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51987dc0012cd46c40073e4368000900932c..."} 
[2026-07-11 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51987dc0012cd46c40073e4368000900932c..."} 
[2026-07-11 20:04:40] local.INFO: Processing buffer {"connection_id":130957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51987dc0012cd46c40073e4368000900932c..."} 
[2026-07-11 20:04:40] local.INFO: Packet analysis {"connection_id":130957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:04:40] local.INFO: Extracted packet for processing {"connection_id":130957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":752118848,"raw_latitude":121521000,"longitude_deg":75.2118848,"latitude_deg":12.1521,"altitude":9,"angle":147,"satellites":44,"speed":48,"hex_longitude":"2cd46c40","hex_latitude":"073e4368","is_valid_coordinates":true} 
[2026-07-11 20:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647774464001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345489729090748416,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3145553202374467584,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780376000,"timestamp_ms":1783780376000,"timestamp_seconds":1783780376,"priority":1,"record_length":96,"hex_timestamp":"0000019f51987dc0"} 
[2026-07-11 20:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 20:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647774464001,"66":27332,"118":206,"83":43264,"24":48,"16":345489729090748416,"44":-3145553202374467584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-07-11 20:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647774464001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:04:40] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-11 20:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345489729090748416,"km_value":345489729090748.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3145553202374467584,"description":"Unknown IO ID 44"} 
[2026-07-11 20:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647774464001,"power":27332,"unknown_118":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3145553202374467584}} 
[2026-07-11 20:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":130957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:04:40] local.INFO: GPS data processed {"connection_id":130957,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:04:40] local.INFO: Acknowledgment sent {"connection_id":130957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:04:43] local.INFO: TCP Data received {"connection_id":129709,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f519754e0012d7e364005d34dc00001003027..."} 
[2026-07-11 20:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519754e0012d7e364005d34dc00001003027..."} 
[2026-07-11 20:04:43] local.INFO: Processing buffer {"connection_id":129709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519754e0012d7e364005d34dc00001003027..."} 
[2026-07-11 20:04:43] local.INFO: Packet analysis {"connection_id":129709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:04:43] local.INFO: Extracted packet for processing {"connection_id":129709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:04:43] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647751424001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783780300000,"timestamp_ms":1783780300000,"timestamp_seconds":1783780300,"priority":1,"record_length":96,"hex_timestamp":"0000019f519754e0"} 
[2026-07-11 20:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-11 20:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647751424001,"66":12667,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647751424001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:04:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647751424001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":129709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:04:43] local.INFO: GPS data processed {"connection_id":129709,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:04:43] local.INFO: Acknowledgment sent {"connection_id":129709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:04:44] local.INFO: TCP Data received {"connection_id":128802,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:04:44] local.INFO: Processing buffer {"connection_id":128802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:04:44] local.INFO: IMEI packet received {"connection_id":128802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":128802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:04:59] local.INFO: TCP Data received {"connection_id":130958,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:04:59] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:04:59] local.INFO: IMEI packet received {"connection_id":130958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":130958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:05:03] local.INFO: TCP Data received {"connection_id":128979,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:05:03] local.INFO: Processing buffer {"connection_id":128979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:05:03] local.INFO: IMEI packet received {"connection_id":128979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":128979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:05:04] local.INFO: TCP Data received {"connection_id":130958,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:05:04] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:05:04] local.INFO: IMEI packet received {"connection_id":130958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":130958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:05:05] local.INFO: TCP Data received {"connection_id":130958,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:05:05] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:05:05] local.INFO: Packet analysis {"connection_id":130958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:05:05] local.INFO: Extracted packet for processing {"connection_id":130958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:05:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":130958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:05:05] local.INFO: GPS data processed {"connection_id":130958,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:05:05] local.INFO: Acknowledgment sent {"connection_id":130958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:05:08] local.INFO: TCP Data received {"connection_id":128979,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:05:08] local.INFO: Processing buffer {"connection_id":128979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:05:08] local.INFO: IMEI packet received {"connection_id":128979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":128979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:05:09] local.INFO: TCP Data received {"connection_id":128979,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51989d00012cd480c0073e25a0000a00952b..."} 
[2026-07-11 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51989d00012cd480c0073e25a0000a00952b..."} 
[2026-07-11 20:05:09] local.INFO: Processing buffer {"connection_id":128979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51989d00012cd480c0073e25a0000a00952b..."} 
[2026-07-11 20:05:09] local.INFO: Packet analysis {"connection_id":128979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:05:09] local.INFO: Extracted packet for processing {"connection_id":128979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:05:09] local.INFO: GPS Element Parsed {"raw_longitude":752124096,"raw_latitude":121513376,"longitude_deg":75.2124096,"latitude_deg":12.1513376,"altitude":10,"angle":149,"satellites":43,"speed":43,"hex_longitude":"2cd480c0","hex_latitude":"073e25a0","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647776256001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345490175767347200,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3140064440330524672,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780384000,"timestamp_ms":1783780384000,"timestamp_seconds":1783780384,"priority":1,"record_length":96,"hex_timestamp":"0000019f51989d00"} 
[2026-07-11 20:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 20:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647776256001,"66":27213,"118":206,"83":43264,"24":43,"16":345490175767347200,"44":-3140064440330524672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-07-11 20:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647776256001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:05:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-11 20:05:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345490175767347200,"km_value":345490175767347.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:05:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3140064440330524672,"description":"Unknown IO ID 44"} 
[2026-07-11 20:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647776256001,"power":27213,"unknown_118":206,"unknown_83":43264,"ignition":43,"odometer":null,"unknown_44":-3140064440330524672}} 
[2026-07-11 20:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":128979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:05:09] local.INFO: GPS data processed {"connection_id":128979,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:05:09] local.INFO: Acknowledgment sent {"connection_id":128979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:05:16] local.INFO: TCP Data received {"connection_id":129709,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5197a6e8012d7e364005d34dc00001003029..."} 
[2026-07-11 20:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5197a6e8012d7e364005d34dc00001003029..."} 
[2026-07-11 20:05:16] local.INFO: Processing buffer {"connection_id":129709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5197a6e8012d7e364005d34dc00001003029..."} 
[2026-07-11 20:05:16] local.INFO: Packet analysis {"connection_id":129709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:05:16] local.INFO: Extracted packet for processing {"connection_id":129709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":41,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647756800001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783780321000,"timestamp_ms":1783780321000,"timestamp_seconds":1783780321,"priority":1,"record_length":96,"hex_timestamp":"0000019f5197a6e8"} 
[2026-07-11 20:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-11 20:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647756800001,"66":12765,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647756800001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:05:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647756800001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":129709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:05:16] local.INFO: GPS data processed {"connection_id":129709,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:05:16] local.INFO: Acknowledgment sent {"connection_id":129709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:05:34] local.INFO: TCP Data received {"connection_id":128803,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:05:34] local.INFO: Processing buffer {"connection_id":128803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:05:34] local.INFO: IMEI packet received {"connection_id":128803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":128803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:05:37] local.INFO: TCP Data received {"connection_id":130958,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:05:37] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:05:37] local.INFO: Packet analysis {"connection_id":130958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:05:37] local.INFO: Extracted packet for processing {"connection_id":130958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:05:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":130958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:05:37] local.INFO: GPS data processed {"connection_id":130958,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:05:37] local.INFO: Acknowledgment sent {"connection_id":130958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:05:39] local.INFO: TCP Data received {"connection_id":128803,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:05:39] local.INFO: Processing buffer {"connection_id":128803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:05:39] local.INFO: IMEI packet received {"connection_id":128803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":128803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:05:40] local.INFO: TCP Data received {"connection_id":128803,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5197f8f0012d7e364005d34dc00001003029..."} 
[2026-07-11 20:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5197f8f0012d7e364005d34dc00001003029..."} 
[2026-07-11 20:05:40] local.INFO: Processing buffer {"connection_id":128803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5197f8f0012d7e364005d34dc00001003029..."} 
[2026-07-11 20:05:40] local.INFO: Packet analysis {"connection_id":128803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:05:40] local.INFO: Extracted packet for processing {"connection_id":128803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5197"} 
[2026-07-11 20:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":41,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647762176001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780342000,"timestamp_ms":1783780342000,"timestamp_seconds":1783780342,"priority":1,"record_length":96,"hex_timestamp":"0000019f5197f8f0"} 
[2026-07-11 20:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647762176001,"66":12689,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647762176001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:05:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647762176001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":128803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:05:40] local.INFO: GPS data processed {"connection_id":128803,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:05:40] local.INFO: Acknowledgment sent {"connection_id":128803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:05:40] local.INFO: TCP Data received {"connection_id":128979,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519a1018012cd4e900073c9ec8000900aa2c..."} 
[2026-07-11 20:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519a1018012cd4e900073c9ec8000900aa2c..."} 
[2026-07-11 20:05:40] local.INFO: Processing buffer {"connection_id":128979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519a1018012cd4e900073c9ec8000900aa2c..."} 
[2026-07-11 20:05:40] local.INFO: Packet analysis {"connection_id":128979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:05:40] local.INFO: Extracted packet for processing {"connection_id":128979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:05:40] local.INFO: GPS Element Parsed {"raw_longitude":752150784,"raw_latitude":121413320,"longitude_deg":75.2150784,"latitude_deg":12.141332,"altitude":9,"angle":170,"satellites":44,"speed":45,"hex_longitude":"2cd4e900","hex_latitude":"073c9ec8","is_valid_coordinates":true} 
[2026-07-11 20:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647800320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345495213763985408,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3106780024359548928,"note":"Value kept but may cause issues"} 
[2026-07-11 20:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780479000,"timestamp_ms":1783780479000,"timestamp_seconds":1783780479,"priority":1,"record_length":96,"hex_timestamp":"0000019f519a1018"} 
[2026-07-11 20:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 20:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647800320001,"66":27343,"135":206,"83":43264,"24":45,"16":345495213763985408,"44":-3106780024359548928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-11 20:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647800320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:05:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-11 20:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345495213763985408,"km_value":345495213763985.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3106780024359548928,"description":"Unknown IO ID 44"} 
[2026-07-11 20:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647800320001,"power":27343,"unknown_135":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3106780024359548928}} 
[2026-07-11 20:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":128979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:05:40] local.INFO: GPS data processed {"connection_id":128979,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:05:40] local.INFO: Acknowledgment sent {"connection_id":128979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:05:59] local.INFO: TCP Data received {"connection_id":128804,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:05:59] local.INFO: Processing buffer {"connection_id":128804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:05:59] local.INFO: IMEI packet received {"connection_id":128804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":128804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:06:04] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:06:04] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:06:04] local.INFO: IMEI packet received {"connection_id":130959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":130959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:06:04] local.INFO: TCP Data received {"connection_id":128804,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:06:04] local.INFO: Processing buffer {"connection_id":128804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:06:04] local.INFO: IMEI packet received {"connection_id":128804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":128804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:06:05] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:06:05] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:06:05] local.INFO: IMEI packet received {"connection_id":130959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":130959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:06:05] local.INFO: TCP Data received {"connection_id":128804,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:06:05] local.INFO: Processing buffer {"connection_id":128804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:06:05] local.INFO: Packet analysis {"connection_id":128804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:06:05] local.INFO: Extracted packet for processing {"connection_id":128804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":128804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:06:05] local.INFO: GPS data processed {"connection_id":128804,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:06:05] local.INFO: Acknowledgment sent {"connection_id":128804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:06:08] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:06:08] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:06:08] local.INFO: IMEI packet received {"connection_id":130959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":130959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:06:09] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519a2f58012cd4ef40073c7b60000a00a92c..."} 
[2026-07-11 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519a2f58012cd4ef40073c7b60000a00a92c..."} 
[2026-07-11 20:06:09] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519a2f58012cd4ef40073c7b60000a00a92c..."} 
[2026-07-11 20:06:09] local.INFO: Packet analysis {"connection_id":130959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:06:09] local.INFO: Extracted packet for processing {"connection_id":130959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:06:09] local.INFO: GPS Element Parsed {"raw_longitude":752152384,"raw_latitude":121404256,"longitude_deg":75.2152384,"latitude_deg":12.1404256,"altitude":10,"angle":169,"satellites":44,"speed":44,"hex_longitude":"2cd4ef40","hex_latitude":"073c7b60","is_valid_coordinates":true} 
[2026-07-11 20:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647802624001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345495656145616896,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3104950437013436416,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780487000,"timestamp_ms":1783780487000,"timestamp_seconds":1783780487,"priority":1,"record_length":96,"hex_timestamp":"0000019f519a2f58"} 
[2026-07-11 20:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:06:09] 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-07-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647802624001,"66":27321,"135":206,"83":43264,"24":44,"16":345495656145616896,"44":-3104950437013436416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-11 20:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647802624001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:06:09] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-11 20:06:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345495656145616896,"km_value":345495656145616.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3104950437013436416,"description":"Unknown IO ID 44"} 
[2026-07-11 20:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647802624001,"power":27321,"unknown_135":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3104950437013436416}} 
[2026-07-11 20:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":130959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:06:09] local.INFO: GPS data processed {"connection_id":130959,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:06:09] local.INFO: Acknowledgment sent {"connection_id":130959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:06:11] local.INFO: TCP Data received {"connection_id":128803,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51984af8012d7e364005d34dc00001003029..."} 
[2026-07-11 20:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51984af8012d7e364005d34dc00001003029..."} 
[2026-07-11 20:06:11] local.INFO: Processing buffer {"connection_id":128803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51984af8012d7e364005d34dc00001003029..."} 
[2026-07-11 20:06:11] local.INFO: Packet analysis {"connection_id":128803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:06:11] local.INFO: Extracted packet for processing {"connection_id":128803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":41,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647767552001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783780363000,"timestamp_ms":1783780363000,"timestamp_seconds":1783780363,"priority":1,"record_length":96,"hex_timestamp":"0000019f51984af8"} 
[2026-07-11 20:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-11 20:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647767552001,"66":12722,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647767552001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:06:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647767552001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":128803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:06:11] local.INFO: GPS data processed {"connection_id":128803,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:06:11] local.INFO: Acknowledgment sent {"connection_id":128803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:06:34] local.INFO: TCP Data received {"connection_id":128981,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:06:34] local.INFO: Processing buffer {"connection_id":128981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:06:34] local.INFO: IMEI packet received {"connection_id":128981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":128981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:06:37] local.INFO: TCP Data received {"connection_id":128804,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:06:37] local.INFO: Processing buffer {"connection_id":128804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5196bc88012d196680071fef80003b011a26..."} 
[2026-07-11 20:06:37] local.INFO: Packet analysis {"connection_id":128804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:06:37] local.INFO: Extracted packet for processing {"connection_id":128804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5196"} 
[2026-07-11 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647669760001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780261000,"timestamp_ms":1783780261000,"timestamp_seconds":1783780261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5196bc88"} 
[2026-07-11 20:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647669760001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647669760001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:06:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647669760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":128804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:06:37] local.INFO: GPS data processed {"connection_id":128804,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:06:37] local.INFO: Acknowledgment sent {"connection_id":128804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:06:39] local.INFO: TCP Data received {"connection_id":128981,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:06:39] local.INFO: Processing buffer {"connection_id":128981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:06:39] local.INFO: IMEI packet received {"connection_id":128981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":128981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:06:40] local.INFO: TCP Data received {"connection_id":128981,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51989d00012d7e364005d34dc00001003026..."} 
[2026-07-11 20:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51989d00012d7e364005d34dc00001003026..."} 
[2026-07-11 20:06:40] local.INFO: Processing buffer {"connection_id":128981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51989d00012d7e364005d34dc00001003026..."} 
[2026-07-11 20:06:40] local.INFO: Packet analysis {"connection_id":128981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:06:40] local.INFO: Extracted packet for processing {"connection_id":128981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647772928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780384000,"timestamp_ms":1783780384000,"timestamp_seconds":1783780384,"priority":1,"record_length":96,"hex_timestamp":"0000019f51989d00"} 
[2026-07-11 20:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-11 20:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647772928001,"66":12504,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647772928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:06:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647772928001,"power":12504,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":128981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:06:40] local.INFO: GPS data processed {"connection_id":128981,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:06:40] local.INFO: Acknowledgment sent {"connection_id":128981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:06:40] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519a4e98012cd4f4c0073c5930000a00ad2c..."} 
[2026-07-11 20:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519a4e98012cd4f4c0073c5930000a00ad2c..."} 
[2026-07-11 20:06:40] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519a4e98012cd4f4c0073c5930000a00ad2c..."} 
[2026-07-11 20:06:40] local.INFO: Packet analysis {"connection_id":130959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:06:40] local.INFO: Extracted packet for processing {"connection_id":130959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":752153792,"raw_latitude":121395504,"longitude_deg":75.2153792,"latitude_deg":12.1395504,"altitude":10,"angle":173,"satellites":44,"speed":43,"hex_longitude":"2cd4f4c0","hex_latitude":"073c5930","is_valid_coordinates":true} 
[2026-07-11 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647804672001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345496089937313792,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3103191218411315200,"note":"Value kept but may cause issues"} 
[2026-07-11 20:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780495000,"timestamp_ms":1783780495000,"timestamp_seconds":1783780495,"priority":1,"record_length":96,"hex_timestamp":"0000019f519a4e98"} 
[2026-07-11 20:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647804672001,"66":27332,"135":206,"83":43264,"24":43,"16":345496089937313792,"44":-3103191218411315200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-11 20:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647804672001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:06:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-11 20:06:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345496089937313792,"km_value":345496089937313.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3103191218411315200,"description":"Unknown IO ID 44"} 
[2026-07-11 20:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647804672001,"power":27332,"unknown_135":206,"unknown_83":43264,"ignition":43,"odometer":null,"unknown_44":-3103191218411315200}} 
[2026-07-11 20:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":130959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:06:40] local.INFO: GPS data processed {"connection_id":130959,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:06:40] local.INFO: Acknowledgment sent {"connection_id":130959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:06:59] local.INFO: TCP Data received {"connection_id":128982,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:06:59] local.INFO: Processing buffer {"connection_id":128982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:06:59] local.INFO: IMEI packet received {"connection_id":128982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":128982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:07:04] local.INFO: TCP Data received {"connection_id":128982,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:07:04] local.INFO: Processing buffer {"connection_id":128982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:07:04] local.INFO: IMEI packet received {"connection_id":128982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":128982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:07:06] local.INFO: TCP Data received {"connection_id":128982,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:07:06] local.INFO: Processing buffer {"connection_id":128982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:07:06] local.INFO: Packet analysis {"connection_id":128982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:07:06] local.INFO: Extracted packet for processing {"connection_id":128982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":128982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:07:06] local.INFO: GPS data processed {"connection_id":128982,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:07:06] local.INFO: Acknowledgment sent {"connection_id":128982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:07:10] local.INFO: TCP Data received {"connection_id":128982,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:07:10] local.INFO: Processing buffer {"connection_id":128982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:07:10] local.INFO: Packet analysis {"connection_id":128982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:07:10] local.INFO: Extracted packet for processing {"connection_id":128982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:07:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:07:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":128982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:07:10] local.INFO: GPS data processed {"connection_id":128982,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:07:10] local.INFO: Acknowledgment sent {"connection_id":128982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:07:11] local.INFO: TCP Data received {"connection_id":128981,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5198ef08012d7e364005d34dc00001003027..."} 
[2026-07-11 20:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5198ef08012d7e364005d34dc00001003027..."} 
[2026-07-11 20:07:11] local.INFO: Processing buffer {"connection_id":128981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5198ef08012d7e364005d34dc00001003027..."} 
[2026-07-11 20:07:11] local.INFO: Packet analysis {"connection_id":128981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:07:11] local.INFO: Extracted packet for processing {"connection_id":128981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5198"} 
[2026-07-11 20:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647778304001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783780405000,"timestamp_ms":1783780405000,"timestamp_seconds":1783780405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5198ef08"} 
[2026-07-11 20:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-11 20:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647778304001,"66":12765,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647778304001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:07:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647778304001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":128981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:07:12] local.INFO: GPS data processed {"connection_id":128981,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:07:12] local.INFO: Acknowledgment sent {"connection_id":128981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:07:13] local.INFO: TCP Data received {"connection_id":128806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:07:13] local.INFO: Processing buffer {"connection_id":128806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:07:13] local.INFO: IMEI packet received {"connection_id":128806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":128806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:07:16] local.INFO: TCP Data received {"connection_id":128806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:07:16] local.INFO: Processing buffer {"connection_id":128806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:07:16] local.INFO: IMEI packet received {"connection_id":128806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":128806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:07:20] local.INFO: TCP Data received {"connection_id":128806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:07:20] local.INFO: Processing buffer {"connection_id":128806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:07:20] local.INFO: IMEI packet received {"connection_id":128806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":128806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:07:21] local.INFO: TCP Data received {"connection_id":128806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519a6dd8012cd4f8c0073c36b8000b00ae2c..."} 
[2026-07-11 20:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519a6dd8012cd4f8c0073c36b8000b00ae2c..."} 
[2026-07-11 20:07:21] local.INFO: Processing buffer {"connection_id":128806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519a6dd8012cd4f8c0073c36b8000b00ae2c..."} 
[2026-07-11 20:07:21] local.INFO: Packet analysis {"connection_id":128806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:07:21] local.INFO: Extracted packet for processing {"connection_id":128806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:07:21] local.INFO: GPS Element Parsed {"raw_longitude":752154816,"raw_latitude":121386680,"longitude_deg":75.2154816,"latitude_deg":12.138668,"altitude":11,"angle":174,"satellites":44,"speed":44,"hex_longitude":"2cd4f8c0","hex_latitude":"073c36b8","is_valid_coordinates":true} 
[2026-07-11 20:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647806720001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345496519434043392,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3101643106041647104,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783780503000,"timestamp_ms":1783780503000,"timestamp_seconds":1783780503,"priority":1,"record_length":96,"hex_timestamp":"0000019f519a6dd8"} 
[2026-07-11 20:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 20:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":128806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":128806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":128806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647806720001,"66":27365,"135":206,"83":43264,"24":44,"16":345496519434043392,"44":-3101643106041647104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-11 20:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647806720001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:07:21] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-11 20:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345496519434043392,"km_value":345496519434043.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3101643106041647104,"description":"Unknown IO ID 44"} 
[2026-07-11 20:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647806720001,"power":27365,"unknown_135":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3101643106041647104}} 
[2026-07-11 20:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":128806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:07:21] local.INFO: GPS data processed {"connection_id":128806,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:07:21] local.INFO: Acknowledgment sent {"connection_id":128806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:07:22] local.INFO: TCP Data received {"connection_id":128806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519a9100012cd4fd00073c10e8000a00ac2c..."} 
[2026-07-11 20:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519a9100012cd4fd00073c10e8000a00ac2c..."} 
[2026-07-11 20:07:22] local.INFO: Processing buffer {"connection_id":128806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519a9100012cd4fd00073c10e8000a00ac2c..."} 
[2026-07-11 20:07:22] local.INFO: Packet analysis {"connection_id":128806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:07:22] local.INFO: Extracted packet for processing {"connection_id":128806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519a"} 
[2026-07-11 20:07:22] local.INFO: GPS Element Parsed {"raw_longitude":752155904,"raw_latitude":121377000,"longitude_deg":75.2155904,"latitude_deg":12.1377,"altitude":10,"angle":172,"satellites":44,"speed":38,"hex_longitude":"2cd4fd00","hex_latitude":"073c10e8","is_valid_coordinates":true} 
[2026-07-11 20:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647808768001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345496991880445952,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3100517206137063424,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783780512000,"timestamp_ms":1783780512000,"timestamp_seconds":1783780512,"priority":1,"record_length":96,"hex_timestamp":"0000019f519a9100"} 
[2026-07-11 20:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:07:22] 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-07-11 20:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647808768001,"66":27365,"135":206,"83":43264,"24":38,"16":345496991880445952,"44":-3100517206137063424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-11 20:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647808768001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:07:22] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-11 20:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345496991880445952,"km_value":345496991880445.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3100517206137063424,"description":"Unknown IO ID 44"} 
[2026-07-11 20:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647808768001,"power":27365,"unknown_135":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3100517206137063424}} 
[2026-07-11 20:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":128806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:07:22] local.INFO: GPS data processed {"connection_id":128806,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:07:22] local.INFO: Acknowledgment sent {"connection_id":128806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:07:34] local.INFO: TCP Data received {"connection_id":128983,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:07:34] local.INFO: Processing buffer {"connection_id":128983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:07:34] local.INFO: IMEI packet received {"connection_id":128983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":128983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:07:39] local.INFO: TCP Data received {"connection_id":128983,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:07:39] local.INFO: Processing buffer {"connection_id":128983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:07:39] local.INFO: IMEI packet received {"connection_id":128983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":128983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:07:40] local.INFO: TCP Data received {"connection_id":128983,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51991de8012d7e364005d34dc00001003027..."} 
[2026-07-11 20:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51991de8012d7e364005d34dc00001003027..."} 
[2026-07-11 20:07:40] local.INFO: Processing buffer {"connection_id":128983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51991de8012d7e364005d34dc00001003027..."} 
[2026-07-11 20:07:40] local.INFO: Packet analysis {"connection_id":128983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5199"} 
[2026-07-11 20:07:40] local.INFO: Extracted packet for processing {"connection_id":128983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5199"} 
[2026-07-11 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:07: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-07-11 20:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647783680001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780417000,"timestamp_ms":1783780417000,"timestamp_seconds":1783780417,"priority":1,"record_length":96,"hex_timestamp":"0000019f51991de8"} 
[2026-07-11 20:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647783680001,"66":12765,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647783680001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:07:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647783680001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":128983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:07:40] local.INFO: GPS data processed {"connection_id":128983,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:07:40] local.INFO: Acknowledgment sent {"connection_id":128983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:07:42] local.INFO: TCP Data received {"connection_id":128982,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:07:42] local.INFO: Processing buffer {"connection_id":128982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:07:42] local.INFO: Packet analysis {"connection_id":128982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:07:42] local.INFO: Extracted packet for processing {"connection_id":128982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:07:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":128982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:07:42] local.INFO: GPS data processed {"connection_id":128982,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:07:42] local.INFO: Acknowledgment sent {"connection_id":128982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:07:59] local.INFO: TCP Data received {"connection_id":129711,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:07:59] local.INFO: Processing buffer {"connection_id":129711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:07:59] local.INFO: IMEI packet received {"connection_id":129711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":129711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:08:04] local.INFO: TCP Data received {"connection_id":129711,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:08:04] local.INFO: Processing buffer {"connection_id":129711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:08:04] local.INFO: IMEI packet received {"connection_id":129711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":129711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:08:05] local.INFO: TCP Data received {"connection_id":129711,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:08:05] local.INFO: Processing buffer {"connection_id":129711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:08:05] local.INFO: Packet analysis {"connection_id":129711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:08:05] local.INFO: Extracted packet for processing {"connection_id":129711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":129711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:08:05] local.INFO: GPS data processed {"connection_id":129711,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:08:05] local.INFO: Acknowledgment sent {"connection_id":129711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:08:08] local.INFO: TCP Data received {"connection_id":128807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:08:08] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:08:08] local.INFO: IMEI packet received {"connection_id":128807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":128807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:08:09] local.INFO: TCP Data received {"connection_id":128807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:08:09] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:08:09] local.INFO: IMEI packet received {"connection_id":128807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":128807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:08:11] local.INFO: TCP Data received {"connection_id":128983,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51991de8012d7e364005d34dc00001003027..."} 
[2026-07-11 20:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51991de8012d7e364005d34dc00001003027..."} 
[2026-07-11 20:08:11] local.INFO: Processing buffer {"connection_id":128983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51991de8012d7e364005d34dc00001003027..."} 
[2026-07-11 20:08:11] local.INFO: Packet analysis {"connection_id":128983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5199"} 
[2026-07-11 20:08:11] local.INFO: Extracted packet for processing {"connection_id":128983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5199"} 
[2026-07-11 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783780417000,"timestamp_ms":1783780417000,"timestamp_seconds":1783780417,"priority":1,"record_length":96,"hex_timestamp":"0000019f51991de8"} 
[2026-07-11 20:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:08:11] 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-07-11 20:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12765,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:08:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":128983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:08:11] local.INFO: GPS data processed {"connection_id":128983,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:08:11] local.INFO: Acknowledgment sent {"connection_id":128983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:08:13] local.INFO: TCP Data received {"connection_id":128807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:08:13] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:08:13] local.INFO: IMEI packet received {"connection_id":128807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":128807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:08:16] local.INFO: TCP Data received {"connection_id":128807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519c2f10012cd51ec0073b0db8000900ba2b..."} 
[2026-07-11 20:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519c2f10012cd51ec0073b0db8000900ba2b..."} 
[2026-07-11 20:08:16] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519c2f10012cd51ec0073b0db8000900ba2b..."} 
[2026-07-11 20:08:16] local.INFO: Packet analysis {"connection_id":128807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:08:16] local.INFO: Extracted packet for processing {"connection_id":128807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:08:16] local.INFO: GPS Element Parsed {"raw_longitude":752164544,"raw_latitude":121310648,"longitude_deg":75.2164544,"latitude_deg":12.1310648,"altitude":9,"angle":186,"satellites":43,"speed":27,"hex_longitude":"2cd51ec0","hex_latitude":"073b0db8","is_valid_coordinates":true} 
[2026-07-11 20:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647833600001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345500311890165760,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088624888388145152,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783780618000,"timestamp_ms":1783780618000,"timestamp_seconds":1783780618,"priority":1,"record_length":96,"hex_timestamp":"0000019f519c2f10"} 
[2026-07-11 20:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 20:08:16] 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-07-11 20:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647833600001,"66":27376,"137":206,"83":43264,"24":27,"16":345500311890165760,"44":-3088624888388145152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-11 20:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647833600001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:08:16] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-11 20:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345500311890165760,"km_value":345500311890165.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:08:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088624888388145152,"description":"Unknown IO ID 44"} 
[2026-07-11 20:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647833600001,"power":27376,"unknown_137":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3088624888388145152}} 
[2026-07-11 20:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":128807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:08:16] local.INFO: GPS data processed {"connection_id":128807,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:08:16] local.INFO: Acknowledgment sent {"connection_id":128807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:08:34] local.INFO: TCP Data received {"connection_id":129712,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:08:34] local.INFO: Processing buffer {"connection_id":129712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:08:34] local.INFO: IMEI packet received {"connection_id":129712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":129712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:08:37] local.INFO: TCP Data received {"connection_id":129711,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:08:37] local.INFO: Processing buffer {"connection_id":129711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:08:37] local.INFO: Packet analysis {"connection_id":129711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:08:37] local.INFO: Extracted packet for processing {"connection_id":129711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":129711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:08:37] local.INFO: GPS data processed {"connection_id":129711,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:08:37] local.INFO: Acknowledgment sent {"connection_id":129711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:08:39] local.INFO: TCP Data received {"connection_id":129712,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:08:39] local.INFO: Processing buffer {"connection_id":129712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:08:39] local.INFO: IMEI packet received {"connection_id":129712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":129712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:08:42] local.INFO: TCP Data received {"connection_id":129712,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51991de8012d7e364005d34dc00001003027..."} 
[2026-07-11 20:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51991de8012d7e364005d34dc00001003027..."} 
[2026-07-11 20:08:42] local.INFO: Processing buffer {"connection_id":129712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51991de8012d7e364005d34dc00001003027..."} 
[2026-07-11 20:08:42] local.INFO: Packet analysis {"connection_id":129712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5199"} 
[2026-07-11 20:08:42] local.INFO: Extracted packet for processing {"connection_id":129712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5199"} 
[2026-07-11 20:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734080,"longitude_deg":76.3246144,"latitude_deg":9.773408,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-11 20:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783780417000,"timestamp_ms":1783780417000,"timestamp_seconds":1783780417,"priority":1,"record_length":96,"hex_timestamp":"0000019f51991de8"} 
[2026-07-11 20:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:08: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-07-11 20: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:08:42] 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-07-11 20:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12765,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:08:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":129712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:08:42] local.INFO: GPS data processed {"connection_id":129712,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:08:42] local.INFO: Acknowledgment sent {"connection_id":129712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:08:48] local.INFO: TCP Data received {"connection_id":128807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519c5a08012cd51c00073aeac0000800b72b..."} 
[2026-07-11 20:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519c5a08012cd51c00073aeac0000800b72b..."} 
[2026-07-11 20:08:48] local.INFO: Processing buffer {"connection_id":128807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519c5a08012cd51c00073aeac0000800b72b..."} 
[2026-07-11 20:08:48] local.INFO: Packet analysis {"connection_id":128807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:08:48] local.INFO: Extracted packet for processing {"connection_id":128807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:08:48] local.INFO: GPS Element Parsed {"raw_longitude":752163840,"raw_latitude":121301696,"longitude_deg":75.216384,"latitude_deg":12.1301696,"altitude":8,"angle":183,"satellites":43,"speed":33,"hex_longitude":"2cd51c00","hex_latitude":"073aeac0","is_valid_coordinates":true} 
[2026-07-11 20:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647838208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345500745681862656,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089821157041522688,"note":"Value kept but may cause issues"} 
[2026-07-11 20:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783780629000,"timestamp_ms":1783780629000,"timestamp_seconds":1783780629,"priority":1,"record_length":96,"hex_timestamp":"0000019f519c5a08"} 
[2026-07-11 20:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:08:48] 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-07-11 20:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647838208001,"66":27397,"137":206,"83":43264,"24":33,"16":345500745681862656,"44":-3089821157041522688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-11 20:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647838208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:08:48] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-11 20:08:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345500745681862656,"km_value":345500745681862.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089821157041522688,"description":"Unknown IO ID 44"} 
[2026-07-11 20:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647838208001,"power":27397,"unknown_137":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3089821157041522688}} 
[2026-07-11 20:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":128807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:08:48] local.INFO: GPS data processed {"connection_id":128807,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:08:48] local.INFO: Acknowledgment sent {"connection_id":128807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:08:59] local.INFO: TCP Data received {"connection_id":128984,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:08:59] local.INFO: Processing buffer {"connection_id":128984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:08:59] local.INFO: IMEI packet received {"connection_id":128984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":128984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:09:03] local.INFO: TCP Data received {"connection_id":128985,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:09:03] local.INFO: Processing buffer {"connection_id":128985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:09:03] local.INFO: IMEI packet received {"connection_id":128985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":128985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:09:04] local.INFO: TCP Data received {"connection_id":128984,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:09:04] local.INFO: Processing buffer {"connection_id":128984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:09:04] local.INFO: IMEI packet received {"connection_id":128984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":128984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:09:05] local.INFO: TCP Data received {"connection_id":128984,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:09:05] local.INFO: Processing buffer {"connection_id":128984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:09:05] local.INFO: Packet analysis {"connection_id":128984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:09:05] local.INFO: Extracted packet for processing {"connection_id":128984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:09:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":128984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:09:05] local.INFO: GPS data processed {"connection_id":128984,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:09:05] local.INFO: Acknowledgment sent {"connection_id":128984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:09:08] local.INFO: TCP Data received {"connection_id":128985,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:09:08] local.INFO: Processing buffer {"connection_id":128985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:09:08] local.INFO: IMEI packet received {"connection_id":128985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":128985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:09:09] local.INFO: TCP Data received {"connection_id":128985,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519c8500012cd51900073ac6f0000900b72a..."} 
[2026-07-11 20:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519c8500012cd51900073ac6f0000900b72a..."} 
[2026-07-11 20:09:09] local.INFO: Processing buffer {"connection_id":128985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519c8500012cd51900073ac6f0000900b72a..."} 
[2026-07-11 20:09:09] local.INFO: Packet analysis {"connection_id":128985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:09:09] local.INFO: Extracted packet for processing {"connection_id":128985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:09:09] local.INFO: GPS Element Parsed {"raw_longitude":752163072,"raw_latitude":121292528,"longitude_deg":75.2163072,"latitude_deg":12.1292528,"altitude":9,"angle":183,"satellites":42,"speed":35,"hex_longitude":"2cd51900","hex_latitude":"073ac6f0","is_valid_coordinates":true} 
[2026-07-11 20:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647841024001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345501192358461440,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090595213229768704,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780640000,"timestamp_ms":1783780640000,"timestamp_seconds":1783780640,"priority":1,"record_length":96,"hex_timestamp":"0000019f519c8500"} 
[2026-07-11 20:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647841024001,"66":27365,"137":206,"83":43264,"24":35,"16":345501192358461440,"44":-3090595213229768704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-11 20:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647841024001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:09:09] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-11 20:09:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345501192358461440,"km_value":345501192358461.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090595213229768704,"description":"Unknown IO ID 44"} 
[2026-07-11 20:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647841024001,"power":27365,"unknown_137":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-3090595213229768704}} 
[2026-07-11 20:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":128985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:09:09] local.INFO: GPS data processed {"connection_id":128985,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:09:09] local.INFO: Acknowledgment sent {"connection_id":128985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:09:13] local.INFO: TCP Data received {"connection_id":129712,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:09:13] local.INFO: Processing buffer {"connection_id":129712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:09:13] local.INFO: Packet analysis {"connection_id":129712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:09:13] local.INFO: Extracted packet for processing {"connection_id":129712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783780722000,"timestamp_ms":1783780722000,"timestamp_seconds":1783780722,"priority":1,"record_length":96,"hex_timestamp":"0000019f519dc550"} 
[2026-07-11 20:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:09: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-07-11 20:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:09:13] 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-07-11 20:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12298,"81":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 20:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 20:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":129712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:09:13] local.INFO: GPS data processed {"connection_id":129712,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:09:13] local.INFO: Acknowledgment sent {"connection_id":129712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:09:34] local.INFO: TCP Data received {"connection_id":128809,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:09:34] local.INFO: Processing buffer {"connection_id":128809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:09:34] local.INFO: IMEI packet received {"connection_id":128809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":128809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:09:37] local.INFO: TCP Data received {"connection_id":128984,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:09:37] local.INFO: Processing buffer {"connection_id":128984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:09:37] local.INFO: Packet analysis {"connection_id":128984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:09:37] local.INFO: Extracted packet for processing {"connection_id":128984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:09:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":128984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:09:37] local.INFO: GPS data processed {"connection_id":128984,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:09:37] local.INFO: Acknowledgment sent {"connection_id":128984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:09:39] local.INFO: TCP Data received {"connection_id":128809,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:09:39] local.INFO: Processing buffer {"connection_id":128809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:09:39] local.INFO: IMEI packet received {"connection_id":128809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":128809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:09:40] local.INFO: TCP Data received {"connection_id":128809,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:09:40] local.INFO: Processing buffer {"connection_id":128809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:09:40] local.INFO: Packet analysis {"connection_id":128809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:09:40] local.INFO: Extracted packet for processing {"connection_id":128809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780722000,"timestamp_ms":1783780722000,"timestamp_seconds":1783780722,"priority":1,"record_length":96,"hex_timestamp":"0000019f519dc550"} 
[2026-07-11 20:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:09: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-07-11 20: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12298,"81":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 20:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 20:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":128809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:09:40] local.INFO: GPS data processed {"connection_id":128809,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:09:40] local.INFO: Acknowledgment sent {"connection_id":128809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:09:41] local.INFO: TCP Data received {"connection_id":128985,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519cac10012cd51a00073aa190000900af2b..."} 
[2026-07-11 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519cac10012cd51a00073aa190000900af2b..."} 
[2026-07-11 20:09:41] local.INFO: Processing buffer {"connection_id":128985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519cac10012cd51a00073aa190000900af2b..."} 
[2026-07-11 20:09:41] local.INFO: Packet analysis {"connection_id":128985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:09:41] local.INFO: Extracted packet for processing {"connection_id":128985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":752163328,"raw_latitude":121282960,"longitude_deg":75.2163328,"latitude_deg":12.128296,"altitude":9,"angle":175,"satellites":43,"speed":38,"hex_longitude":"2cd51a00","hex_latitude":"073aa190","is_valid_coordinates":true} 
[2026-07-11 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647843840001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345501656214929408,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091439638162247680,"note":"Value kept but may cause issues"} 
[2026-07-11 20:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783780650000,"timestamp_ms":1783780650000,"timestamp_seconds":1783780650,"priority":1,"record_length":96,"hex_timestamp":"0000019f519cac10"} 
[2026-07-11 20:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647843840001,"66":27213,"137":206,"83":43264,"24":38,"16":345501656214929408,"44":-3091439638162247680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-11 20:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647843840001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:09:41] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-11 20:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345501656214929408,"km_value":345501656214929.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091439638162247680,"description":"Unknown IO ID 44"} 
[2026-07-11 20:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647843840001,"power":27213,"unknown_137":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3091439638162247680}} 
[2026-07-11 20:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":128985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:09:41] local.INFO: GPS data processed {"connection_id":128985,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:09:41] local.INFO: Acknowledgment sent {"connection_id":128985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:09:59] local.INFO: TCP Data received {"connection_id":130962,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:09:59] local.INFO: Processing buffer {"connection_id":130962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:09:59] local.INFO: IMEI packet received {"connection_id":130962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":130962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:10:04] local.INFO: TCP Data received {"connection_id":130962,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:10:04] local.INFO: Processing buffer {"connection_id":130962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:10:04] local.INFO: IMEI packet received {"connection_id":130962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":130962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:10:04] local.INFO: TCP Data received {"connection_id":128810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:10:04] local.INFO: Processing buffer {"connection_id":128810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:10:04] local.INFO: IMEI packet received {"connection_id":128810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":128810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:10:05] local.INFO: TCP Data received {"connection_id":130962,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:10:05] local.INFO: Processing buffer {"connection_id":130962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:10:05] local.INFO: Packet analysis {"connection_id":130962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:10:05] local.INFO: Extracted packet for processing {"connection_id":130962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":130962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:10:05] local.INFO: GPS data processed {"connection_id":130962,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:10:05] local.INFO: Acknowledgment sent {"connection_id":130962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:10:08] local.INFO: TCP Data received {"connection_id":128810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:10:08] local.INFO: Processing buffer {"connection_id":128810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:10:08] local.INFO: IMEI packet received {"connection_id":128810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":128810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:10:12] local.INFO: TCP Data received {"connection_id":128809,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:10:12] local.INFO: Processing buffer {"connection_id":128809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:10:12] local.INFO: Packet analysis {"connection_id":128809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:10:12] local.INFO: Extracted packet for processing {"connection_id":128809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783780722000,"timestamp_ms":1783780722000,"timestamp_seconds":1783780722,"priority":1,"record_length":96,"hex_timestamp":"0000019f519dc550"} 
[2026-07-11 20:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:10: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-07-11 20:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:10:12] 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-07-11 20:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":128809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":128809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":128809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12298,"81":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 20:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:10:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 20:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":128809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:10:12] local.INFO: GPS data processed {"connection_id":128809,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:10:12] local.INFO: Acknowledgment sent {"connection_id":128809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:10:13] local.INFO: TCP Data received {"connection_id":128810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:10:13] local.INFO: Processing buffer {"connection_id":128810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:10:13] local.INFO: IMEI packet received {"connection_id":128810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":128810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:10:15] local.INFO: TCP Data received {"connection_id":128810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519ccf38012cd51f00073a7f50000900aa2b..."} 
[2026-07-11 20:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519ccf38012cd51f00073a7f50000900aa2b..."} 
[2026-07-11 20:10:15] local.INFO: Processing buffer {"connection_id":128810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519ccf38012cd51f00073a7f50000900aa2b..."} 
[2026-07-11 20:10:15] local.INFO: Packet analysis {"connection_id":128810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:10:15] local.INFO: Extracted packet for processing {"connection_id":128810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":752164608,"raw_latitude":121274192,"longitude_deg":75.2164608,"latitude_deg":12.1274192,"altitude":9,"angle":170,"satellites":43,"speed":40,"hex_longitude":"2cd51f00","hex_latitude":"073a7f50","is_valid_coordinates":true} 
[2026-07-11 20:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647846400001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345502085711659008,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091158163187986432,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783780659000,"timestamp_ms":1783780659000,"timestamp_seconds":1783780659,"priority":1,"record_length":96,"hex_timestamp":"0000019f519ccf38"} 
[2026-07-11 20:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 20:10:15] 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-07-11 20:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647846400001,"66":27213,"137":206,"83":43264,"24":40,"16":345502085711659008,"44":-3091158163187986432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-11 20:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647846400001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345502085711659008,"km_value":345502085711659.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091158163187986432,"description":"Unknown IO ID 44"} 
[2026-07-11 20:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647846400001,"power":27213,"unknown_137":206,"unknown_83":43264,"ignition":40,"odometer":null,"unknown_44":-3091158163187986432}} 
[2026-07-11 20:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":128810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:10:15] local.INFO: GPS data processed {"connection_id":128810,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:10:15] local.INFO: Acknowledgment sent {"connection_id":128810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:10:19] local.INFO: TCP Data received {"connection_id":128810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519cf260012cd52480073a5ce8000900aa2c..."} 
[2026-07-11 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519cf260012cd52480073a5ce8000900aa2c..."} 
[2026-07-11 20:10:19] local.INFO: Processing buffer {"connection_id":128810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519cf260012cd52480073a5ce8000900aa2c..."} 
[2026-07-11 20:10:19] local.INFO: Packet analysis {"connection_id":128810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:10:19] local.INFO: Extracted packet for processing {"connection_id":128810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519c"} 
[2026-07-11 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":752166016,"raw_latitude":121265384,"longitude_deg":75.2166016,"latitude_deg":12.1265384,"altitude":9,"angle":170,"satellites":44,"speed":38,"hex_longitude":"2cd52480","hex_latitude":"073a5ce8","is_valid_coordinates":true} 
[2026-07-11 20:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647848704001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345502519503355904,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089750788306677760,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783780668000,"timestamp_ms":1783780668000,"timestamp_seconds":1783780668,"priority":1,"record_length":96,"hex_timestamp":"0000019f519cf260"} 
[2026-07-11 20:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:10: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-07-11 20:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 20:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647848704001,"66":27267,"137":206,"83":43264,"24":38,"16":345502519503355904,"44":-3089750788306677760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-11 20:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647848704001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:10:19] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-11 20:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345502519503355904,"km_value":345502519503355.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:10:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089750788306677760,"description":"Unknown IO ID 44"} 
[2026-07-11 20:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647848704001,"power":27267,"unknown_137":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3089750788306677760}} 
[2026-07-11 20:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":128810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:10:19] local.INFO: GPS data processed {"connection_id":128810,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:10:19] local.INFO: Acknowledgment sent {"connection_id":128810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:10:27] local.INFO: TCP Data received {"connection_id":130961,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:10:27] local.INFO: Processing buffer {"connection_id":130961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:10:27] local.INFO: IMEI packet received {"connection_id":130961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":130961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:10:34] local.INFO: TCP Data received {"connection_id":128986,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:10:34] local.INFO: Processing buffer {"connection_id":128986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:10:34] local.INFO: IMEI packet received {"connection_id":128986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":128986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:10:37] local.INFO: TCP Data received {"connection_id":130962,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:10:37] local.INFO: Processing buffer {"connection_id":130962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:10:37] local.INFO: Packet analysis {"connection_id":130962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:10:37] local.INFO: Extracted packet for processing {"connection_id":130962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":130962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:10:37] local.INFO: GPS data processed {"connection_id":130962,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:10:37] local.INFO: Acknowledgment sent {"connection_id":130962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:10:39] local.INFO: TCP Data received {"connection_id":128986,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:10:39] local.INFO: Processing buffer {"connection_id":128986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:10:39] local.INFO: IMEI packet received {"connection_id":128986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":128986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:10:40] local.INFO: TCP Data received {"connection_id":128986,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:10:40] local.INFO: Processing buffer {"connection_id":128986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:10:40] local.INFO: Packet analysis {"connection_id":128986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:10:40] local.INFO: Extracted packet for processing {"connection_id":128986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780722000,"timestamp_ms":1783780722000,"timestamp_seconds":1783780722,"priority":1,"record_length":96,"hex_timestamp":"0000019f519dc550"} 
[2026-07-11 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-07-11 20:10: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-07-11 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12298,"81":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 20:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 20:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":128986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:10:40] local.INFO: GPS data processed {"connection_id":128986,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:10:40] local.INFO: Acknowledgment sent {"connection_id":128986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:10:44] local.INFO: TCP Data received {"connection_id":129713,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:10:44] local.INFO: Processing buffer {"connection_id":129713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:10:44] local.INFO: IMEI packet received {"connection_id":129713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":129713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:11:01] local.INFO: TCP Data received {"connection_id":128811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:11:01] local.INFO: Processing buffer {"connection_id":128811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:11:01] local.INFO: IMEI packet received {"connection_id":128811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":128811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:11:03] local.INFO: TCP Data received {"connection_id":128811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:11:03] local.INFO: Processing buffer {"connection_id":128811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:11:03] local.INFO: IMEI packet received {"connection_id":128811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":128811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:11:04] local.INFO: TCP Data received {"connection_id":129714,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:11:04] local.INFO: Processing buffer {"connection_id":129714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:11:04] local.INFO: IMEI packet received {"connection_id":129714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":129714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:11:08] local.INFO: TCP Data received {"connection_id":128811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:11:08] local.INFO: Processing buffer {"connection_id":128811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:11:08] local.INFO: IMEI packet received {"connection_id":128811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":128811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:11:09] local.INFO: TCP Data received {"connection_id":128811,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519efdd0012cd54ac00738e1b8000c00b42b..."} 
[2026-07-11 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519efdd0012cd54ac00738e1b8000c00b42b..."} 
[2026-07-11 20:11:09] local.INFO: Processing buffer {"connection_id":128811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519efdd0012cd54ac00738e1b8000c00b42b..."} 
[2026-07-11 20:11:09] local.INFO: Packet analysis {"connection_id":128811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519e"} 
[2026-07-11 20:11:09] local.INFO: Extracted packet for processing {"connection_id":128811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519e"} 
[2026-07-11 20:11:09] local.INFO: GPS Element Parsed {"raw_longitude":752175808,"raw_latitude":121168312,"longitude_deg":75.2175808,"latitude_deg":12.1168312,"altitude":12,"angle":180,"satellites":43,"speed":20,"hex_longitude":"2cd54ac0","hex_latitude":"0738e1b8","is_valid_coordinates":true} 
[2026-07-11 20:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647880704001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345507278327119872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3078702895495612416,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780802000,"timestamp_ms":1783780802000,"timestamp_seconds":1783780802,"priority":1,"record_length":96,"hex_timestamp":"0000019f519efdd0"} 
[2026-07-11 20:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:11:09] 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-07-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647880704001,"66":27343,"150":206,"83":43264,"24":20,"16":345507278327119872,"44":-3078702895495612416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-11 20:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647880704001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:11:09] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-11 20:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345507278327119872,"km_value":345507278327119.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3078702895495612416,"description":"Unknown IO ID 44"} 
[2026-07-11 20:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647880704001,"power":27343,"unknown_150":206,"unknown_83":43264,"ignition":20,"odometer":null,"unknown_44":-3078702895495612416}} 
[2026-07-11 20:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":128811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:11:09] local.INFO: GPS data processed {"connection_id":128811,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:11:09] local.INFO: Acknowledgment sent {"connection_id":128811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:11:09] local.INFO: TCP Data received {"connection_id":129714,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:11:09] local.INFO: Processing buffer {"connection_id":129714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:11:09] local.INFO: IMEI packet received {"connection_id":129714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":129714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:11:10] local.INFO: TCP Data received {"connection_id":129714,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:11:10] local.INFO: Processing buffer {"connection_id":129714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519b5450012d196680071fef80003b011a24..."} 
[2026-07-11 20:11:10] local.INFO: Packet analysis {"connection_id":129714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:11:10] local.INFO: Extracted packet for processing {"connection_id":129714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519b"} 
[2026-07-11 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647746816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783780562000,"timestamp_ms":1783780562000,"timestamp_seconds":1783780562,"priority":1,"record_length":96,"hex_timestamp":"0000019f519b5450"} 
[2026-07-11 20:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647746816001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647746816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:11:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:11:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647746816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":129714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:11:10] local.INFO: GPS data processed {"connection_id":129714,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:11:10] local.INFO: Acknowledgment sent {"connection_id":129714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:11:11] local.INFO: TCP Data received {"connection_id":128986,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:11:11] local.INFO: Processing buffer {"connection_id":128986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:11:11] local.INFO: Packet analysis {"connection_id":128986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:11:11] local.INFO: Extracted packet for processing {"connection_id":128986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783780722000,"timestamp_ms":1783780722000,"timestamp_seconds":1783780722,"priority":1,"record_length":96,"hex_timestamp":"0000019f519dc550"} 
[2026-07-11 20:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:11:11] 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-07-11 20:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12298,"81":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 20:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 20:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":128986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:11:11] local.INFO: GPS data processed {"connection_id":128986,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:11:11] local.INFO: Acknowledgment sent {"connection_id":128986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:11:39] local.INFO: TCP Data received {"connection_id":128812,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:11:39] local.INFO: Processing buffer {"connection_id":128812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:11:39] local.INFO: IMEI packet received {"connection_id":128812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":128812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:11:39] local.INFO: TCP Data received {"connection_id":128811,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519efdd0012cd54ac00738e1b8000c00b42b..."} 
[2026-07-11 20:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519efdd0012cd54ac00738e1b8000c00b42b..."} 
[2026-07-11 20:11:39] local.INFO: Processing buffer {"connection_id":128811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519efdd0012cd54ac00738e1b8000c00b42b..."} 
[2026-07-11 20:11:39] local.INFO: Packet analysis {"connection_id":128811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519e"} 
[2026-07-11 20:11:39] local.INFO: Extracted packet for processing {"connection_id":128811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519e"} 
[2026-07-11 20:11:39] local.INFO: GPS Element Parsed {"raw_longitude":752175808,"raw_latitude":121168312,"longitude_deg":75.2175808,"latitude_deg":12.1168312,"altitude":12,"angle":180,"satellites":43,"speed":20,"hex_longitude":"2cd54ac0","hex_latitude":"0738e1b8","is_valid_coordinates":true} 
[2026-07-11 20:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647885312001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345507278327119872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077436258102691840,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783780802000,"timestamp_ms":1783780802000,"timestamp_seconds":1783780802,"priority":1,"record_length":96,"hex_timestamp":"0000019f519efdd0"} 
[2026-07-11 20:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647885312001,"66":27343,"150":206,"83":43264,"24":20,"16":345507278327119872,"44":-3077436258102691840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-11 20:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647885312001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:11:39] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-11 20:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345507278327119872,"km_value":345507278327119.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:11:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077436258102691840,"description":"Unknown IO ID 44"} 
[2026-07-11 20:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647885312001,"power":27343,"unknown_150":206,"unknown_83":43264,"ignition":20,"odometer":null,"unknown_44":-3077436258102691840}} 
[2026-07-11 20:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":128811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:11:39] local.INFO: GPS data processed {"connection_id":128811,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:11:39] local.INFO: Acknowledgment sent {"connection_id":128811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:11:42] local.INFO: TCP Data received {"connection_id":129714,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:11:42] local.INFO: Processing buffer {"connection_id":129714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:11:42] local.INFO: Packet analysis {"connection_id":129714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:11:42] local.INFO: Extracted packet for processing {"connection_id":129714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:11:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":129714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:11:42] local.INFO: GPS data processed {"connection_id":129714,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:11:42] local.INFO: Acknowledgment sent {"connection_id":129714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:11:44] local.INFO: TCP Data received {"connection_id":128812,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:11:44] local.INFO: Processing buffer {"connection_id":128812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:11:44] local.INFO: IMEI packet received {"connection_id":128812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":128812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:11:45] local.INFO: TCP Data received {"connection_id":128812,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:11:45] local.INFO: Processing buffer {"connection_id":128812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:11:45] local.INFO: Packet analysis {"connection_id":128812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:11:45] local.INFO: Extracted packet for processing {"connection_id":128812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783780722000,"timestamp_ms":1783780722000,"timestamp_seconds":1783780722,"priority":1,"record_length":96,"hex_timestamp":"0000019f519dc550"} 
[2026-07-11 20:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:11: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-07-11 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:11:45] 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-07-11 20:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12298,"81":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 20:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 20:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":128812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:11:45] local.INFO: GPS data processed {"connection_id":128812,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:11:45] local.INFO: Acknowledgment sent {"connection_id":128812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:11:49] local.INFO: TCP Data received {"connection_id":128812,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:11:49] local.INFO: Processing buffer {"connection_id":128812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:11:49] local.INFO: Packet analysis {"connection_id":128812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:11:49] local.INFO: Extracted packet for processing {"connection_id":128812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:11:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783780722000,"timestamp_ms":1783780722000,"timestamp_seconds":1783780722,"priority":1,"record_length":96,"hex_timestamp":"0000019f519dc550"} 
[2026-07-11 20:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:11:49] 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-07-11 20:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":128812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":128812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":128812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12298,"81":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 20:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 20:11:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":128812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:11:49] local.INFO: GPS data processed {"connection_id":128812,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:11:49] local.INFO: Acknowledgment sent {"connection_id":128812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:11:59] local.INFO: TCP Data received {"connection_id":129715,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:11:59] local.INFO: Processing buffer {"connection_id":129715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:11:59] local.INFO: IMEI packet received {"connection_id":129715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":129715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:12:03] local.INFO: TCP Data received {"connection_id":128987,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:12:03] local.INFO: Processing buffer {"connection_id":128987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:12:03] local.INFO: IMEI packet received {"connection_id":128987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":128987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:12:04] local.INFO: TCP Data received {"connection_id":129715,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:12:04] local.INFO: Processing buffer {"connection_id":129715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:12:04] local.INFO: IMEI packet received {"connection_id":129715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":129715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:12:05] local.INFO: TCP Data received {"connection_id":129715,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:12:05] local.INFO: Processing buffer {"connection_id":129715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:12:05] local.INFO: Packet analysis {"connection_id":129715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:05] local.INFO: Extracted packet for processing {"connection_id":129715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:12:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":129715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:12:05] local.INFO: GPS data processed {"connection_id":129715,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:12:05] local.INFO: Acknowledgment sent {"connection_id":129715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:12:07] local.INFO: TCP Data received {"connection_id":128987,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:12:07] local.INFO: Processing buffer {"connection_id":128987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:12:07] local.INFO: IMEI packet received {"connection_id":128987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":128987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:12:08] local.INFO: TCP Data received {"connection_id":128987,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519f4fd8012cd54a400738c038000b00ad2c..."} 
[2026-07-11 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519f4fd8012cd54a400738c038000b00ad2c..."} 
[2026-07-11 20:12:08] local.INFO: Processing buffer {"connection_id":128987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519f4fd8012cd54a400738c038000b00ad2c..."} 
[2026-07-11 20:12:08] local.INFO: Packet analysis {"connection_id":128987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:08] local.INFO: Extracted packet for processing {"connection_id":128987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":752175680,"raw_latitude":121159736,"longitude_deg":75.217568,"latitude_deg":12.1159736,"altitude":11,"angle":173,"satellites":44,"speed":21,"hex_longitude":"2cd54a40","hex_latitude":"0738c038","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647885312001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345507694938947584,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077436258102691840,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783780823000,"timestamp_ms":1783780823000,"timestamp_seconds":1783780823,"priority":1,"record_length":96,"hex_timestamp":"0000019f519f4fd8"} 
[2026-07-11 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-07-11 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:12: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-07-11 20:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647885312001,"66":27376,"150":206,"83":43264,"24":21,"16":345507694938947584,"44":-3077436258102691840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-11 20:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647885312001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:12:08] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-11 20:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345507694938947584,"km_value":345507694938947.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:12:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077436258102691840,"description":"Unknown IO ID 44"} 
[2026-07-11 20:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647885312001,"power":27376,"unknown_150":206,"unknown_83":43264,"ignition":21,"odometer":null,"unknown_44":-3077436258102691840}} 
[2026-07-11 20:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":128987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:12:08] local.INFO: GPS data processed {"connection_id":128987,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:12:08] local.INFO: Acknowledgment sent {"connection_id":128987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:12:09] local.INFO: TCP Data received {"connection_id":128987,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519f9240012cd54ec007389d68000900a82b..."} 
[2026-07-11 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519f9240012cd54ec007389d68000900a82b..."} 
[2026-07-11 20:12:09] local.INFO: Processing buffer {"connection_id":128987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519f9240012cd54ec007389d68000900a82b..."} 
[2026-07-11 20:12:09] local.INFO: Packet analysis {"connection_id":128987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:09] local.INFO: Extracted packet for processing {"connection_id":128987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":752176832,"raw_latitude":121150824,"longitude_deg":75.2176832,"latitude_deg":12.1150824,"altitude":9,"angle":168,"satellites":43,"speed":21,"hex_longitude":"2cd54ec0","hex_latitude":"07389d68","is_valid_coordinates":true} 
[2026-07-11 20:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647890688001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345508133025611776,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077576995593242624,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780840000,"timestamp_ms":1783780840000,"timestamp_seconds":1783780840,"priority":1,"record_length":96,"hex_timestamp":"0000019f519f9240"} 
[2026-07-11 20:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647890688001,"66":27397,"150":206,"83":43264,"24":21,"16":345508133025611776,"44":-3077576995593242624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-11 20:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647890688001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:12:09] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-11 20:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345508133025611776,"km_value":345508133025611.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077576995593242624,"description":"Unknown IO ID 44"} 
[2026-07-11 20:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647890688001,"power":27397,"unknown_150":206,"unknown_83":43264,"ignition":21,"odometer":null,"unknown_44":-3077576995593242624}} 
[2026-07-11 20:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":128987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:12:09] local.INFO: GPS data processed {"connection_id":128987,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:12:09] local.INFO: Acknowledgment sent {"connection_id":128987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:12:34] local.INFO: TCP Data received {"connection_id":128814,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:12:34] local.INFO: Processing buffer {"connection_id":128814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:12:34] local.INFO: IMEI packet received {"connection_id":128814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":128814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:12:37] local.INFO: TCP Data received {"connection_id":129715,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:12:37] local.INFO: Processing buffer {"connection_id":129715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:12:37] local.INFO: Packet analysis {"connection_id":129715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:37] local.INFO: Extracted packet for processing {"connection_id":129715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:12:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":129715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:12:37] local.INFO: GPS data processed {"connection_id":129715,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:12:37] local.INFO: Acknowledgment sent {"connection_id":129715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:12:39] local.INFO: TCP Data received {"connection_id":128814,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:12:39] local.INFO: Processing buffer {"connection_id":128814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:12:39] local.INFO: IMEI packet received {"connection_id":128814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":128814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:12:40] local.INFO: TCP Data received {"connection_id":128987,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fccd8012cd556c007387bc0000b009f2a..."} 
[2026-07-11 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fccd8012cd556c007387bc0000b009f2a..."} 
[2026-07-11 20:12:40] local.INFO: Processing buffer {"connection_id":128987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fccd8012cd556c007387bc0000b009f2a..."} 
[2026-07-11 20:12:40] local.INFO: Packet analysis {"connection_id":128987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:40] local.INFO: Extracted packet for processing {"connection_id":128987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":752178880,"raw_latitude":121142208,"longitude_deg":75.217888,"latitude_deg":12.1142208,"altitude":11,"angle":159,"satellites":42,"speed":16,"hex_longitude":"2cd556c0","hex_latitude":"07387bc0","is_valid_coordinates":true} 
[2026-07-11 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647895040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345508562522341376,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3076310358200326144,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780855000,"timestamp_ms":1783780855000,"timestamp_seconds":1783780855,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fccd8"} 
[2026-07-11 20:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647895040001,"66":27365,"150":206,"83":43264,"24":16,"16":345508562522341376,"44":-3076310358200326144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-11 20:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647895040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:12:40] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-11 20:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345508562522341376,"km_value":345508562522341.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3076310358200326144,"description":"Unknown IO ID 44"} 
[2026-07-11 20:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647895040001,"power":27365,"unknown_150":206,"unknown_83":43264,"ignition":16,"odometer":null,"unknown_44":-3076310358200326144}} 
[2026-07-11 20:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":128987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:12:40] local.INFO: GPS data processed {"connection_id":128987,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:12:40] local.INFO: Acknowledgment sent {"connection_id":128987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:12:40] local.INFO: TCP Data received {"connection_id":128814,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:12:40] local.INFO: Processing buffer {"connection_id":128814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:12:40] local.INFO: Packet analysis {"connection_id":128814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:12:40] local.INFO: Extracted packet for processing {"connection_id":128814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780722000,"timestamp_ms":1783780722000,"timestamp_seconds":1783780722,"priority":1,"record_length":96,"hex_timestamp":"0000019f519dc550"} 
[2026-07-11 20:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12298,"81":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 20:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 20:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":128814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:12:40] local.INFO: GPS data processed {"connection_id":128814,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:12:40] local.INFO: Acknowledgment sent {"connection_id":128814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:12:59] local.INFO: TCP Data received {"connection_id":130964,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:12:59] local.INFO: Processing buffer {"connection_id":130964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:12:59] local.INFO: IMEI packet received {"connection_id":130964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":130964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:13:03] local.INFO: TCP Data received {"connection_id":130965,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:13:03] local.INFO: Processing buffer {"connection_id":130965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:13:03] local.INFO: IMEI packet received {"connection_id":130965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":130965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:13:04] local.INFO: TCP Data received {"connection_id":130964,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:13:04] local.INFO: Processing buffer {"connection_id":130964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:13:04] local.INFO: IMEI packet received {"connection_id":130964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":130964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:13:05] local.INFO: TCP Data received {"connection_id":130964,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:13:05] local.INFO: Processing buffer {"connection_id":130964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:13:05] local.INFO: Packet analysis {"connection_id":130964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:13:05] local.INFO: Extracted packet for processing {"connection_id":130964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:13:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:13:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":130964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:13:06] local.INFO: GPS data processed {"connection_id":130964,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:13:06] local.INFO: Acknowledgment sent {"connection_id":130964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:13:07] local.INFO: TCP Data received {"connection_id":130965,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:13:07] local.INFO: Processing buffer {"connection_id":130965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:13:07] local.INFO: IMEI packet received {"connection_id":130965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":130965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:13:08] local.INFO: TCP Data received {"connection_id":130965,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a00b58012cd56300073859a0000b009e2c..."} 
[2026-07-11 20:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a00b58012cd56300073859a0000b009e2c..."} 
[2026-07-11 20:13:08] local.INFO: Processing buffer {"connection_id":130965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a00b58012cd56300073859a0000b009e2c..."} 
[2026-07-11 20:13:08] local.INFO: Packet analysis {"connection_id":130965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:13:08] local.INFO: Extracted packet for processing {"connection_id":130965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":752182016,"raw_latitude":121133472,"longitude_deg":75.2182016,"latitude_deg":12.1133472,"altitude":11,"angle":158,"satellites":44,"speed":27,"hex_longitude":"2cd56300","hex_latitude":"073859a0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647898880001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345509013493907456,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3074058558388846592,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783780871000,"timestamp_ms":1783780871000,"timestamp_seconds":1783780871,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a00b58"} 
[2026-07-11 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-07-11 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:13: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-07-11 20:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647898880001,"66":27365,"150":206,"83":43264,"24":27,"16":345509013493907456,"44":-3074058558388846592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-11 20:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647898880001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:13:08] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-11 20:13:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345509013493907456,"km_value":345509013493907.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:13:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3074058558388846592,"description":"Unknown IO ID 44"} 
[2026-07-11 20:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647898880001,"power":27365,"unknown_150":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3074058558388846592}} 
[2026-07-11 20:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":130965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:13:08] local.INFO: GPS data processed {"connection_id":130965,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:13:08] local.INFO: Acknowledgment sent {"connection_id":130965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:13:11] local.INFO: TCP Data received {"connection_id":128814,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:13:11] local.INFO: Processing buffer {"connection_id":128814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519dc550012d7e380005d34dd80001003026..."} 
[2026-07-11 20:13:11] local.INFO: Packet analysis {"connection_id":128814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:13:11] local.INFO: Extracted packet for processing {"connection_id":128814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519d"} 
[2026-07-11 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647786752001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285397504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783780722000,"timestamp_ms":1783780722000,"timestamp_seconds":1783780722,"priority":1,"record_length":96,"hex_timestamp":"0000019f519dc550"} 
[2026-07-11 20:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-11 20:13:11] 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-07-11 20:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647786752001,"66":12298,"81":206,"85":15104,"24":0,"16":105231238532431872,"45":9094526891285397504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-11 20:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647786752001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 20:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285397504,"description":"Unknown IO ID 45"} 
[2026-07-11 20:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647786752001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285397504}} 
[2026-07-11 20:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":128814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:13:11] local.INFO: GPS data processed {"connection_id":128814,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:13:11] local.INFO: Acknowledgment sent {"connection_id":128814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:13:34] local.INFO: TCP Data received {"connection_id":128988,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:13:34] local.INFO: Processing buffer {"connection_id":128988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:13:34] local.INFO: IMEI packet received {"connection_id":128988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":128988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:13:37] local.INFO: TCP Data received {"connection_id":130964,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:13:37] local.INFO: Processing buffer {"connection_id":130964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:13:37] local.INFO: Packet analysis {"connection_id":130964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:13:37] local.INFO: Extracted packet for processing {"connection_id":130964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:13:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":130964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:13:37] local.INFO: GPS data processed {"connection_id":130964,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:13:37] local.INFO: Acknowledgment sent {"connection_id":130964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:13:38] local.INFO: TCP Data received {"connection_id":128988,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:13:38] local.INFO: Processing buffer {"connection_id":128988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:13:38] local.INFO: IMEI packet received {"connection_id":128988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":128988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:13:39] local.INFO: TCP Data received {"connection_id":130965,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a051a8012cd56fc007383900000b009d2c..."} 
[2026-07-11 20:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a051a8012cd56fc007383900000b009d2c..."} 
[2026-07-11 20:13:39] local.INFO: Processing buffer {"connection_id":130965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a051a8012cd56fc007383900000b009d2c..."} 
[2026-07-11 20:13:39] local.INFO: Packet analysis {"connection_id":130965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:13:39] local.INFO: Extracted packet for processing {"connection_id":130965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:13:39] local.INFO: GPS Element Parsed {"raw_longitude":752185280,"raw_latitude":121125120,"longitude_deg":75.218528,"latitude_deg":12.112512,"altitude":11,"angle":157,"satellites":44,"speed":17,"hex_longitude":"2cd56fc0","hex_latitude":"07383900","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647902976001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345509447285604352,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3070610489926377472,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783780889000,"timestamp_ms":1783780889000,"timestamp_seconds":1783780889,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a051a8"} 
[2026-07-11 20:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647902976001,"66":27343,"169":206,"83":43264,"24":17,"16":345509447285604352,"44":-3070610489926377472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647902976001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:13:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345509447285604352,"km_value":345509447285604.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:13:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3070610489926377472,"description":"Unknown IO ID 44"} 
[2026-07-11 20:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647902976001,"power":27343,"unknown_169":206,"unknown_83":43264,"ignition":17,"odometer":null,"unknown_44":-3070610489926377472}} 
[2026-07-11 20:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":130965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:13:39] local.INFO: GPS data processed {"connection_id":130965,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:13:39] local.INFO: Acknowledgment sent {"connection_id":130965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:13:39] local.INFO: TCP Data received {"connection_id":128988,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a241c0012d7e380005d34dd80001003028..."} 
[2026-07-11 20:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a241c0012d7e380005d34dd80001003028..."} 
[2026-07-11 20:13:39] local.INFO: Processing buffer {"connection_id":128988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a241c0012d7e380005d34dd80001003028..."} 
[2026-07-11 20:13:39] local.INFO: Packet analysis {"connection_id":128988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:13:39] local.INFO: Extracted packet for processing {"connection_id":128988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647864832001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783781016000,"timestamp_ms":1783781016000,"timestamp_seconds":1783781016,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a241c0"} 
[2026-07-11 20:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2560425985,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185973,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4683743612465315841,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":5879351353937854006,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":64,"raw_value":419764677304713264,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":13555878858850304,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3571636861248798926,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":74,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397005,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3678470144,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545088000,"note":"Value kept but may cause issues"} 
[2026-07-11 20:13:39] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,81,85,24,241,157,16,219,159,29,45,64,77,1,39,10,66,109,239,240,221,227,211,4,113,205,74,54,192,41,49,2,117,5],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-11 20:13:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72110533804818432,"timestamp_seconds":72110533804818.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-11 20:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647864832001,"66":12385,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647864832001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:13:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647864832001,"power":12385,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":128988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:13:39] local.INFO: GPS data processed {"connection_id":128988,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:13:39] local.INFO: Acknowledgment sent {"connection_id":128988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:13:59] local.INFO: TCP Data received {"connection_id":128815,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:13:59] local.INFO: Processing buffer {"connection_id":128815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:13:59] local.INFO: IMEI packet received {"connection_id":128815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":128815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:14:04] local.INFO: TCP Data received {"connection_id":130967,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:14:04] local.INFO: Processing buffer {"connection_id":130967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:14:04] local.INFO: IMEI packet received {"connection_id":130967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":130967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:14:05] local.INFO: TCP Data received {"connection_id":128815,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:14:05] local.INFO: Processing buffer {"connection_id":128815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:14:05] local.INFO: IMEI packet received {"connection_id":128815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":128815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:14:06] local.INFO: TCP Data received {"connection_id":128815,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:14:06] local.INFO: Processing buffer {"connection_id":128815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:14:06] local.INFO: Packet analysis {"connection_id":128815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:14:06] local.INFO: Extracted packet for processing {"connection_id":128815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:14:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":128815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:14:07] local.INFO: GPS data processed {"connection_id":128815,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:14:07] local.INFO: Acknowledgment sent {"connection_id":128815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:14:08] local.INFO: TCP Data received {"connection_id":130967,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:14:08] local.INFO: Processing buffer {"connection_id":130967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:14:08] local.INFO: IMEI packet received {"connection_id":130967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":130967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:14:09] local.INFO: TCP Data received {"connection_id":130967,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a08470012cd5780007382588000c00912b..."} 
[2026-07-11 20:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a08470012cd5780007382588000c00912b..."} 
[2026-07-11 20:14:09] local.INFO: Processing buffer {"connection_id":130967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a08470012cd5780007382588000c00912b..."} 
[2026-07-11 20:14:09] local.INFO: Packet analysis {"connection_id":130967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:14:09] local.INFO: Extracted packet for processing {"connection_id":130967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:14:09] local.INFO: GPS Element Parsed {"raw_longitude":752187392,"raw_latitude":121120136,"longitude_deg":75.2187392,"latitude_deg":12.1120136,"altitude":12,"angle":145,"satellites":43,"speed":10,"hex_longitude":"2cd57800","hex_latitude":"07382588","is_valid_coordinates":true} 
[2026-07-11 20:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647907584001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345509709278609408,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3067021683975454720,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780902000,"timestamp_ms":1783780902000,"timestamp_seconds":1783780902,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a08470"} 
[2026-07-11 20:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:14:09] 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-07-11 20:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647907584001,"66":27397,"169":206,"83":43264,"24":10,"16":345509709278609408,"44":-3067021683975454720},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647907584001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:14:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345509709278609408,"km_value":345509709278609.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3067021683975454720,"description":"Unknown IO ID 44"} 
[2026-07-11 20:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647907584001,"power":27397,"unknown_169":206,"unknown_83":43264,"ignition":10,"odometer":null,"unknown_44":-3067021683975454720}} 
[2026-07-11 20:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":130967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:14:09] local.INFO: GPS data processed {"connection_id":130967,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:14:09] local.INFO: Acknowledgment sent {"connection_id":130967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:14:11] local.INFO: TCP Data received {"connection_id":128988,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a241c0012d7e380005d34dd80001003028..."} 
[2026-07-11 20:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a241c0012d7e380005d34dd80001003028..."} 
[2026-07-11 20:14:11] local.INFO: Processing buffer {"connection_id":128988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a241c0012d7e380005d34dd80001003028..."} 
[2026-07-11 20:14:11] local.INFO: Packet analysis {"connection_id":128988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:14:11] local.INFO: Extracted packet for processing {"connection_id":128988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781016000,"timestamp_ms":1783781016000,"timestamp_seconds":1783781016,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a241c0"} 
[2026-07-11 20:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":12385,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:14:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":12385,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":128988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:14:11] local.INFO: GPS data processed {"connection_id":128988,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:14:11] local.INFO: Acknowledgment sent {"connection_id":128988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:14:34] local.INFO: TCP Data received {"connection_id":128816,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:14:34] local.INFO: Processing buffer {"connection_id":128816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:14:34] local.INFO: IMEI packet received {"connection_id":128816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":128816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:14:38] local.INFO: TCP Data received {"connection_id":128815,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:14:38] local.INFO: Processing buffer {"connection_id":128815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:14:38] local.INFO: Packet analysis {"connection_id":128815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:14:38] local.INFO: Extracted packet for processing {"connection_id":128815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:14:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":128815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:14:39] local.INFO: GPS data processed {"connection_id":128815,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:14:39] local.INFO: Acknowledgment sent {"connection_id":128815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:14:39] local.INFO: TCP Data received {"connection_id":128816,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:14:39] local.INFO: Processing buffer {"connection_id":128816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:14:39] local.INFO: IMEI packet received {"connection_id":128816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":128816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:14:40] local.INFO: TCP Data received {"connection_id":130967,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a09be0012cd57d4007382040000d00842c..."} 
[2026-07-11 20:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a09be0012cd57d4007382040000d00842c..."} 
[2026-07-11 20:14:40] local.INFO: Processing buffer {"connection_id":130967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a09be0012cd57d4007382040000d00842c..."} 
[2026-07-11 20:14:40] local.INFO: Packet analysis {"connection_id":130967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:14:40] local.INFO: Extracted packet for processing {"connection_id":130967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:14:40] local.INFO: GPS Element Parsed {"raw_longitude":752188736,"raw_latitude":121118784,"longitude_deg":75.2188736,"latitude_deg":12.1118784,"altitude":13,"angle":132,"satellites":44,"speed":14,"hex_longitude":"2cd57d40","hex_latitude":"07382040","is_valid_coordinates":true} 
[2026-07-11 20:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647910912001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345509799472922624,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3064699515418867712,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780908000,"timestamp_ms":1783780908000,"timestamp_seconds":1783780908,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a09be0"} 
[2026-07-11 20:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647910912001,"66":27213,"169":206,"83":43264,"24":14,"16":345509799472922624,"44":-3064699515418867712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647910912001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:14:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345509799472922624,"km_value":345509799472922.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3064699515418867712,"description":"Unknown IO ID 44"} 
[2026-07-11 20:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647910912001,"power":27213,"unknown_169":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3064699515418867712}} 
[2026-07-11 20:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":130967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:14:40] local.INFO: GPS data processed {"connection_id":130967,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:14:40] local.INFO: Acknowledgment sent {"connection_id":130967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:14:40] local.INFO: TCP Data received {"connection_id":128816,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:14:40] local.INFO: Processing buffer {"connection_id":128816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:14:40] local.INFO: Packet analysis {"connection_id":128816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:14:40] local.INFO: Extracted packet for processing {"connection_id":128816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781023000,"timestamp_ms":1783781023000,"timestamp_seconds":1783781023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a25d18"} 
[2026-07-11 20:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:14: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-07-11 20:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":2927,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:14:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":2927,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":128816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:14:40] local.INFO: GPS data processed {"connection_id":128816,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:14:40] local.INFO: Acknowledgment sent {"connection_id":128816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:15:04] local.INFO: TCP Data received {"connection_id":130968,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:15:04] local.INFO: Processing buffer {"connection_id":130968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:15:04] local.INFO: IMEI packet received {"connection_id":130968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":130968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:15:04] local.INFO: TCP Data received {"connection_id":129717,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:15:04] local.INFO: Processing buffer {"connection_id":129717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:15:04] local.INFO: IMEI packet received {"connection_id":129717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":129717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:15:08] local.INFO: TCP Data received {"connection_id":130968,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:15:08] local.INFO: Processing buffer {"connection_id":130968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:15:08] local.INFO: IMEI packet received {"connection_id":130968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":130968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:15:09] local.INFO: TCP Data received {"connection_id":129717,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:15:09] local.INFO: Processing buffer {"connection_id":129717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:15:09] local.INFO: IMEI packet received {"connection_id":129717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":129717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:15:09] local.INFO: TCP Data received {"connection_id":130968,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a0e618012cd59640073806b0000d008c2c..."} 
[2026-07-11 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a0e618012cd59640073806b0000d008c2c..."} 
[2026-07-11 20:15:09] local.INFO: Processing buffer {"connection_id":130968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a0e618012cd59640073806b0000d008c2c..."} 
[2026-07-11 20:15:09] local.INFO: Packet analysis {"connection_id":130968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:15:09] local.INFO: Extracted packet for processing {"connection_id":130968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a0"} 
[2026-07-11 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":752195136,"raw_latitude":121112240,"longitude_deg":75.2195136,"latitude_deg":12.111224,"altitude":13,"angle":140,"satellites":44,"speed":28,"hex_longitude":"2cd59640","hex_latitude":"073806b0","is_valid_coordinates":true} 
[2026-07-11 20:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647912448001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345510241854554112,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3063221771791482880,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780927000,"timestamp_ms":1783780927000,"timestamp_seconds":1783780927,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a0e618"} 
[2026-07-11 20:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:15:09] 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-07-11 20:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 20:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647912448001,"66":27397,"169":206,"83":43264,"24":28,"16":345510241854554112,"44":-3063221771791482880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647912448001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:15:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345510241854554112,"km_value":345510241854554.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3063221771791482880,"description":"Unknown IO ID 44"} 
[2026-07-11 20:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647912448001,"power":27397,"unknown_169":206,"unknown_83":43264,"ignition":28,"odometer":null,"unknown_44":-3063221771791482880}} 
[2026-07-11 20:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":130968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:15:09] local.INFO: GPS data processed {"connection_id":130968,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:15:09] local.INFO: Acknowledgment sent {"connection_id":130968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:15:10] local.INFO: TCP Data received {"connection_id":129717,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:15:10] local.INFO: Processing buffer {"connection_id":129717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:15:10] local.INFO: Packet analysis {"connection_id":129717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:15:10] local.INFO: Extracted packet for processing {"connection_id":129717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:15:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:15:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":129717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:15:10] local.INFO: GPS data processed {"connection_id":129717,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:15:10] local.INFO: Acknowledgment sent {"connection_id":129717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:15:11] local.INFO: TCP Data received {"connection_id":128816,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:15:11] local.INFO: Processing buffer {"connection_id":128816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:15:11] local.INFO: Packet analysis {"connection_id":128816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:15:11] local.INFO: Extracted packet for processing {"connection_id":128816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781023000,"timestamp_ms":1783781023000,"timestamp_seconds":1783781023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a25d18"} 
[2026-07-11 20:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":2927,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:15:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":2927,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":128816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:15:11] local.INFO: GPS data processed {"connection_id":128816,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:15:11] local.INFO: Acknowledgment sent {"connection_id":128816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:15:15] local.INFO: TCP Data received {"connection_id":129717,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:15:15] local.INFO: Processing buffer {"connection_id":129717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:15:15] local.INFO: Packet analysis {"connection_id":129717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:15:15] local.INFO: Extracted packet for processing {"connection_id":129717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:15:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":129717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:15:15] local.INFO: GPS data processed {"connection_id":129717,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:15:15] local.INFO: Acknowledgment sent {"connection_id":129717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:15:34] local.INFO: TCP Data received {"connection_id":130969,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:15:34] local.INFO: Processing buffer {"connection_id":130969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:15:34] local.INFO: IMEI packet received {"connection_id":130969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":130969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:15:39] local.INFO: TCP Data received {"connection_id":130969,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:15:39] local.INFO: Processing buffer {"connection_id":130969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:15:39] local.INFO: IMEI packet received {"connection_id":130969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":130969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:15:40] local.INFO: TCP Data received {"connection_id":130969,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:15:40] local.INFO: Processing buffer {"connection_id":130969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:15:40] local.INFO: Packet analysis {"connection_id":130969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:15:40] local.INFO: Extracted packet for processing {"connection_id":130969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781023000,"timestamp_ms":1783781023000,"timestamp_seconds":1783781023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a25d18"} 
[2026-07-11 20:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20: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-07-11 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":2927,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:15:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":2927,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":130969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:15:40] local.INFO: GPS data processed {"connection_id":130969,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:15:40] local.INFO: Acknowledgment sent {"connection_id":130969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:15:40] local.INFO: TCP Data received {"connection_id":130968,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a118e0012cd5a3c00737f2d8000e009a2a..."} 
[2026-07-11 20:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a118e0012cd5a3c00737f2d8000e009a2a..."} 
[2026-07-11 20:15:40] local.INFO: Processing buffer {"connection_id":130968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a118e0012cd5a3c00737f2d8000e009a2a..."} 
[2026-07-11 20:15:40] local.INFO: Packet analysis {"connection_id":130968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a1"} 
[2026-07-11 20:15:40] local.INFO: Extracted packet for processing {"connection_id":130968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a1"} 
[2026-07-11 20:15:40] local.INFO: GPS Element Parsed {"raw_longitude":752198592,"raw_latitude":121107160,"longitude_deg":75.2198592,"latitude_deg":12.110716,"altitude":14,"angle":154,"satellites":42,"speed":7,"hex_longitude":"2cd5a3c0","hex_latitude":"0737f2d8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647917312001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345510538207297536,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3056184897375391744,"note":"Value kept but may cause issues"} 
[2026-07-11 20:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783780940000,"timestamp_ms":1783780940000,"timestamp_seconds":1783780940,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a118e0"} 
[2026-07-11 20:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647917312001,"66":27484,"169":206,"83":43264,"24":7,"16":345510538207297536,"44":-3056184897375391744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647917312001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:15:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345510538207297536,"km_value":345510538207297.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3056184897375391744,"description":"Unknown IO ID 44"} 
[2026-07-11 20:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647917312001,"power":27484,"unknown_169":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3056184897375391744}} 
[2026-07-11 20:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":130968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:15:40] local.INFO: GPS data processed {"connection_id":130968,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:15:40] local.INFO: Acknowledgment sent {"connection_id":130968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:16:00] local.INFO: TCP Data received {"connection_id":129718,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:16:00] local.INFO: Processing buffer {"connection_id":129718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:16:00] local.INFO: IMEI packet received {"connection_id":129718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":129718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:16:03] local.INFO: TCP Data received {"connection_id":128817,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:16:03] local.INFO: Processing buffer {"connection_id":128817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:16:03] local.INFO: IMEI packet received {"connection_id":128817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":128817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:16:04] local.INFO: TCP Data received {"connection_id":129718,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:16:04] local.INFO: Processing buffer {"connection_id":129718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:16:04] local.INFO: IMEI packet received {"connection_id":129718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":129718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:16:05] local.INFO: TCP Data received {"connection_id":129718,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:16:05] local.INFO: Processing buffer {"connection_id":129718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:16:05] local.INFO: Packet analysis {"connection_id":129718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:16:05] local.INFO: Extracted packet for processing {"connection_id":129718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:16:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":129718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:16:05] local.INFO: GPS data processed {"connection_id":129718,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:16:05] local.INFO: Acknowledgment sent {"connection_id":129718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:16:08] local.INFO: TCP Data received {"connection_id":128817,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:16:08] local.INFO: Processing buffer {"connection_id":128817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:16:08] local.INFO: IMEI packet received {"connection_id":128817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":128817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:16:09] local.INFO: TCP Data received {"connection_id":128817,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a13c08012cd5a7c00737ea90001000892c..."} 
[2026-07-11 20:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a13c08012cd5a7c00737ea90001000892c..."} 
[2026-07-11 20:16:09] local.INFO: Processing buffer {"connection_id":128817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a13c08012cd5a7c00737ea90001000892c..."} 
[2026-07-11 20:16:09] local.INFO: Packet analysis {"connection_id":128817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a1"} 
[2026-07-11 20:16:09] local.INFO: Extracted packet for processing {"connection_id":128817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a1"} 
[2026-07-11 20:16:09] local.INFO: GPS Element Parsed {"raw_longitude":752199616,"raw_latitude":121105040,"longitude_deg":75.2199616,"latitude_deg":12.110504,"altitude":16,"angle":137,"satellites":44,"speed":12,"hex_longitude":"2cd5a7c0","hex_latitude":"0737ea90","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647920640001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345510654171414528,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3052384985191098368,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780949000,"timestamp_ms":1783780949000,"timestamp_seconds":1783780949,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a13c08"} 
[2026-07-11 20:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 20:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647920640001,"66":27213,"169":206,"83":43264,"24":12,"16":345510654171414528,"44":-3052384985191098368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647920640001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:16:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:16:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345510654171414528,"km_value":345510654171414.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3052384985191098368,"description":"Unknown IO ID 44"} 
[2026-07-11 20:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647920640001,"power":27213,"unknown_169":206,"unknown_83":43264,"ignition":12,"odometer":null,"unknown_44":-3052384985191098368}} 
[2026-07-11 20:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":128817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:16:09] local.INFO: GPS data processed {"connection_id":128817,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:16:09] local.INFO: Acknowledgment sent {"connection_id":128817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:16:10] local.INFO: TCP Data received {"connection_id":130970,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:16:10] local.INFO: Processing buffer {"connection_id":130970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:16:10] local.INFO: IMEI packet received {"connection_id":130970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":130970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:16:11] local.INFO: TCP Data received {"connection_id":130969,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:16:11] local.INFO: Processing buffer {"connection_id":130969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:16:11] local.INFO: Packet analysis {"connection_id":130969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:16:11] local.INFO: Extracted packet for processing {"connection_id":130969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781023000,"timestamp_ms":1783781023000,"timestamp_seconds":1783781023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a25d18"} 
[2026-07-11 20:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":2927,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:16:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":2927,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":130969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:16:11] local.INFO: GPS data processed {"connection_id":130969,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:16:11] local.INFO: Acknowledgment sent {"connection_id":130969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:16:39] local.INFO: TCP Data received {"connection_id":128818,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:16:39] local.INFO: Processing buffer {"connection_id":128818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:16:39] local.INFO: IMEI packet received {"connection_id":128818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":128818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:16:41] local.INFO: TCP Data received {"connection_id":128817,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a18e10012cd5b0c00737e0a8000a008d2c..."} 
[2026-07-11 20:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a18e10012cd5b0c00737e0a8000a008d2c..."} 
[2026-07-11 20:16:41] local.INFO: Processing buffer {"connection_id":128817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a18e10012cd5b0c00737e0a8000a008d2c..."} 
[2026-07-11 20:16:41] local.INFO: Packet analysis {"connection_id":128817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a1"} 
[2026-07-11 20:16:41] local.INFO: Extracted packet for processing {"connection_id":128817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a1"} 
[2026-07-11 20:16:41] local.INFO: GPS Element Parsed {"raw_longitude":752201920,"raw_latitude":121102504,"longitude_deg":75.220192,"latitude_deg":12.1102504,"altitude":10,"angle":141,"satellites":44,"speed":10,"hex_longitude":"2cd5b0c0","hex_latitude":"0737e0a8","is_valid_coordinates":true} 
[2026-07-11 20:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647922944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345510821675139072,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3051259085284798464,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783780970000,"timestamp_ms":1783780970000,"timestamp_seconds":1783780970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a18e10"} 
[2026-07-11 20:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 20:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647922944001,"66":27365,"169":206,"83":43264,"24":10,"16":345510821675139072,"44":-3051259085284798464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647922944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:16:41] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345510821675139072,"km_value":345510821675139.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3051259085284798464,"description":"Unknown IO ID 44"} 
[2026-07-11 20:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647922944001,"power":27365,"unknown_169":206,"unknown_83":43264,"ignition":10,"odometer":null,"unknown_44":-3051259085284798464}} 
[2026-07-11 20:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":128817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:16:41] local.INFO: GPS data processed {"connection_id":128817,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:16:41] local.INFO: Acknowledgment sent {"connection_id":128817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:16:42] local.INFO: TCP Data received {"connection_id":129718,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:16:42] local.INFO: Processing buffer {"connection_id":129718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f519fec18012d196680071fef80003b011a27..."} 
[2026-07-11 20:16:42] local.INFO: Packet analysis {"connection_id":129718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:16:42] local.INFO: Extracted packet for processing {"connection_id":129718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f519f"} 
[2026-07-11 20:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647823872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783780863000,"timestamp_ms":1783780863000,"timestamp_seconds":1783780863,"priority":1,"record_length":96,"hex_timestamp":"0000019f519fec18"} 
[2026-07-11 20:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647823872001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647823872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:16:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647823872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":129718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:16:42] local.INFO: GPS data processed {"connection_id":129718,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:16:42] local.INFO: Acknowledgment sent {"connection_id":129718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:16:44] local.INFO: TCP Data received {"connection_id":128818,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:16:44] local.INFO: Processing buffer {"connection_id":128818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:16:44] local.INFO: IMEI packet received {"connection_id":128818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":128818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:16:44] local.INFO: TCP Data received {"connection_id":130971,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:16:44] local.INFO: Processing buffer {"connection_id":130971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:16:44] local.INFO: IMEI packet received {"connection_id":130971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":130971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:16:45] local.INFO: TCP Data received {"connection_id":128818,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:16:45] local.INFO: Processing buffer {"connection_id":128818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:16:45] local.INFO: Packet analysis {"connection_id":128818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:16:45] local.INFO: Extracted packet for processing {"connection_id":128818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783781023000,"timestamp_ms":1783781023000,"timestamp_seconds":1783781023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a25d18"} 
[2026-07-11 20:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":2927,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:16:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:16:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":2927,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":128818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:16:45] local.INFO: GPS data processed {"connection_id":128818,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:16:45] local.INFO: Acknowledgment sent {"connection_id":128818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:16:49] local.INFO: TCP Data received {"connection_id":128818,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:16:49] local.INFO: Processing buffer {"connection_id":128818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:16:49] local.INFO: Packet analysis {"connection_id":128818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:16:49] local.INFO: Extracted packet for processing {"connection_id":128818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783781023000,"timestamp_ms":1783781023000,"timestamp_seconds":1783781023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a25d18"} 
[2026-07-11 20:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":128818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":128818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":128818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":2927,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:16:49] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":2927,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":128818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:16:50] local.INFO: GPS data processed {"connection_id":128818,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:16:50] local.INFO: Acknowledgment sent {"connection_id":128818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:16:59] local.INFO: TCP Data received {"connection_id":130972,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:16:59] local.INFO: Processing buffer {"connection_id":130972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:16:59] local.INFO: IMEI packet received {"connection_id":130972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":130972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:17:03] local.INFO: TCP Data received {"connection_id":129719,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:17:03] local.INFO: Processing buffer {"connection_id":129719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:17:03] local.INFO: IMEI packet received {"connection_id":129719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":129719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:17:04] local.INFO: TCP Data received {"connection_id":130972,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:17:04] local.INFO: Processing buffer {"connection_id":130972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:17:04] local.INFO: IMEI packet received {"connection_id":130972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":130972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:17:05] local.INFO: TCP Data received {"connection_id":130972,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:17:05] local.INFO: Processing buffer {"connection_id":130972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:17:05] local.INFO: Packet analysis {"connection_id":130972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:17:05] local.INFO: Extracted packet for processing {"connection_id":130972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:17:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":130972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:17:05] local.INFO: GPS data processed {"connection_id":130972,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:17:05] local.INFO: Acknowledgment sent {"connection_id":130972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:17:08] local.INFO: TCP Data received {"connection_id":129719,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:17:08] local.INFO: Processing buffer {"connection_id":129719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:17:08] local.INFO: IMEI packet received {"connection_id":129719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":129719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:17:09] local.INFO: TCP Data received {"connection_id":129719,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a1e018012cd5b8400737d7e8000c00892c..."} 
[2026-07-11 20:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a1e018012cd5b8400737d7e8000c00892c..."} 
[2026-07-11 20:17:09] local.INFO: Processing buffer {"connection_id":129719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a1e018012cd5b8400737d7e8000c00892c..."} 
[2026-07-11 20:17:09] local.INFO: Packet analysis {"connection_id":129719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a1"} 
[2026-07-11 20:17:09] local.INFO: Extracted packet for processing {"connection_id":129719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a1"} 
[2026-07-11 20:17:09] local.INFO: GPS Element Parsed {"raw_longitude":752203840,"raw_latitude":121100264,"longitude_deg":75.220384,"latitude_deg":12.1100264,"altitude":12,"angle":137,"satellites":44,"speed":2,"hex_longitude":"2cd5b840","hex_latitude":"0737d7e8","is_valid_coordinates":true} 
[2026-07-11 20:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647928320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345510967704027136,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3048725810495051776,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783780991000,"timestamp_ms":1783780991000,"timestamp_seconds":1783780991,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a1e018"} 
[2026-07-11 20:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:17:09] 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-07-11 20:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:17:09] 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-07-11 20:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647928320001,"66":27332,"169":206,"83":43264,"24":2,"16":345510967704027136,"44":-3048725810495051776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647928320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:17:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345510967704027136,"km_value":345510967704027.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:17:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3048725810495051776,"description":"Unknown IO ID 44"} 
[2026-07-11 20:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647928320001,"power":27332,"unknown_169":206,"unknown_83":43264,"ignition":2,"odometer":null,"unknown_44":-3048725810495051776}} 
[2026-07-11 20:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":129719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:17:09] local.INFO: GPS data processed {"connection_id":129719,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:17:09] local.INFO: Acknowledgment sent {"connection_id":129719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:17:34] local.INFO: TCP Data received {"connection_id":129720,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:17:34] local.INFO: Processing buffer {"connection_id":129720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:17:34] local.INFO: IMEI packet received {"connection_id":129720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":129720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:17:37] local.INFO: TCP Data received {"connection_id":130972,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:17:37] local.INFO: Processing buffer {"connection_id":130972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:17:37] local.INFO: Packet analysis {"connection_id":130972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:17:37] local.INFO: Extracted packet for processing {"connection_id":130972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:17:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":130972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:17:37] local.INFO: GPS data processed {"connection_id":130972,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:17:37] local.INFO: Acknowledgment sent {"connection_id":130972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:17:39] local.INFO: TCP Data received {"connection_id":129720,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:17:39] local.INFO: Processing buffer {"connection_id":129720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:17:39] local.INFO: IMEI packet received {"connection_id":129720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":129720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:17:40] local.INFO: TCP Data received {"connection_id":129720,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:17:40] local.INFO: Processing buffer {"connection_id":129720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:17:40] local.INFO: Packet analysis {"connection_id":129720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:17:40] local.INFO: Extracted packet for processing {"connection_id":129720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781023000,"timestamp_ms":1783781023000,"timestamp_seconds":1783781023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a25d18"} 
[2026-07-11 20:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:17: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-07-11 20:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":2927,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:17:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":2927,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":129720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:17:40] local.INFO: GPS data processed {"connection_id":129720,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:17:40] local.INFO: Acknowledgment sent {"connection_id":129720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:17:47] local.INFO: TCP Data received {"connection_id":129719,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a53f60012cd63dc0073754f80002009c29..."} 
[2026-07-11 20:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a53f60012cd63dc0073754f80002009c29..."} 
[2026-07-11 20:17:47] local.INFO: Processing buffer {"connection_id":129719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a53f60012cd63dc0073754f80002009c29..."} 
[2026-07-11 20:17:47] local.INFO: Packet analysis {"connection_id":129719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:17:47] local.INFO: Extracted packet for processing {"connection_id":129719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:17:47] local.INFO: GPS Element Parsed {"raw_longitude":752238016,"raw_latitude":121066744,"longitude_deg":75.2238016,"latitude_deg":12.1066744,"altitude":2,"angle":156,"satellites":41,"speed":14,"hex_longitude":"2cd63dc0","hex_latitude":"073754f8","is_valid_coordinates":true} 
[2026-07-11 20:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647990016001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345513317051138048,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3009319313764630528,"note":"Value kept but may cause issues"} 
[2026-07-11 20:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783781212000,"timestamp_ms":1783781212000,"timestamp_seconds":1783781212,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a53f60"} 
[2026-07-11 20:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 20:17:47] 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-07-11 20:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647990016001,"66":27300,"170":206,"83":43264,"24":14,"16":345513317051138048,"44":-3009319313764630528},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-11 20:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647990016001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:17:47] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-11 20:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345513317051138048,"km_value":345513317051138.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3009319313764630528,"description":"Unknown IO ID 44"} 
[2026-07-11 20:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647990016001,"power":27300,"unknown_170":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3009319313764630528}} 
[2026-07-11 20:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":129719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:17:47] local.INFO: GPS data processed {"connection_id":129719,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:17:47] local.INFO: Acknowledgment sent {"connection_id":129719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:18:04] local.INFO: TCP Data received {"connection_id":128989,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:18:04] local.INFO: Processing buffer {"connection_id":128989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:18:04] local.INFO: IMEI packet received {"connection_id":128989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":128989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:18:08] local.INFO: TCP Data received {"connection_id":128990,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:18:08] local.INFO: Processing buffer {"connection_id":128990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:18:08] local.INFO: IMEI packet received {"connection_id":128990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":128990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:18:09] local.INFO: TCP Data received {"connection_id":128989,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:18:09] local.INFO: Processing buffer {"connection_id":128989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:18:09] local.INFO: IMEI packet received {"connection_id":128989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":128989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:18:09] local.INFO: TCP Data received {"connection_id":128990,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:18:09] local.INFO: Processing buffer {"connection_id":128990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:18:09] local.INFO: IMEI packet received {"connection_id":128990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":128990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:18:10] local.INFO: TCP Data received {"connection_id":128990,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a54730012cd63e80073751c0000200a928..."} 
[2026-07-11 20:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a54730012cd63e80073751c0000200a928..."} 
[2026-07-11 20:18:10] local.INFO: Processing buffer {"connection_id":128990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a54730012cd63e80073751c0000200a928..."} 
[2026-07-11 20:18:10] local.INFO: Packet analysis {"connection_id":128990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:18:10] local.INFO: Extracted packet for processing {"connection_id":128990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":752238208,"raw_latitude":121065920,"longitude_deg":75.2238208,"latitude_deg":12.106592,"altitude":2,"angle":169,"satellites":40,"speed":16,"hex_longitude":"2cd63e80","hex_latitude":"073751c0","is_valid_coordinates":true} 
[2026-07-11 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647990272001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345513355705843712,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3009037838788003840,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783781214000,"timestamp_ms":1783781214000,"timestamp_seconds":1783781214,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a54730"} 
[2026-07-11 20:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 20:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647990272001,"66":27310,"170":206,"83":43264,"24":16,"16":345513355705843712,"44":-3009037838788003840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-11 20:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647990272001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:18:10] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-11 20:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345513355705843712,"km_value":345513355705843.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3009037838788003840,"description":"Unknown IO ID 44"} 
[2026-07-11 20:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647990272001,"power":27310,"unknown_170":206,"unknown_83":43264,"ignition":16,"odometer":null,"unknown_44":-3009037838788003840}} 
[2026-07-11 20:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":128990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:18:10] local.INFO: GPS data processed {"connection_id":128990,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:18:10] local.INFO: Acknowledgment sent {"connection_id":128990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:18:10] local.INFO: TCP Data received {"connection_id":128989,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:18:10] local.INFO: Processing buffer {"connection_id":128989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:18:10] local.INFO: Packet analysis {"connection_id":128989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:18:10] local.INFO: Extracted packet for processing {"connection_id":128989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:18:10] 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-07-11 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:18:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:18:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":128989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:18:10] local.INFO: GPS data processed {"connection_id":128989,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:18:10] local.INFO: Acknowledgment sent {"connection_id":128989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:18:11] local.INFO: TCP Data received {"connection_id":129720,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:18:11] local.INFO: Processing buffer {"connection_id":129720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:18:11] local.INFO: Packet analysis {"connection_id":129720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:18:11] local.INFO: Extracted packet for processing {"connection_id":129720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781023000,"timestamp_ms":1783781023000,"timestamp_seconds":1783781023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a25d18"} 
[2026-07-11 20:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":2927,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:18:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":2927,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":129720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:18:11] local.INFO: GPS data processed {"connection_id":129720,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:18:11] local.INFO: Acknowledgment sent {"connection_id":129720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:18:14] local.INFO: TCP Data received {"connection_id":128990,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a55ea0012cd64300073745300000009c29..."} 
[2026-07-11 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a55ea0012cd64300073745300000009c29..."} 
[2026-07-11 20:18:14] local.INFO: Processing buffer {"connection_id":128990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a55ea0012cd64300073745300000009c29..."} 
[2026-07-11 20:18:14] local.INFO: Packet analysis {"connection_id":128990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:18:14] local.INFO: Extracted packet for processing {"connection_id":128990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":752239360,"raw_latitude":121062704,"longitude_deg":75.223936,"latitude_deg":12.1062704,"altitude":0,"angle":156,"satellites":41,"speed":25,"hex_longitude":"2cd64300","hex_latitude":"07374530","is_valid_coordinates":true} 
[2026-07-11 20:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647990784001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345513523209568256,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3008826732555681792,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783781220000,"timestamp_ms":1783781220000,"timestamp_seconds":1783781220,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a55ea0"} 
[2026-07-11 20:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 20:18:14] 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-07-11 20:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647990784001,"66":27376,"170":206,"83":43264,"24":25,"16":345513523209568256,"44":-3008826732555681792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-11 20:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647990784001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:18:14] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-11 20:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-11 20:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345513523209568256,"km_value":345513523209568.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3008826732555681792,"description":"Unknown IO ID 44"} 
[2026-07-11 20:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647990784001,"power":27376,"unknown_170":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3008826732555681792}} 
[2026-07-11 20:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":128990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:18:14] local.INFO: GPS data processed {"connection_id":128990,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:18:14] local.INFO: Acknowledgment sent {"connection_id":128990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:18:15] local.INFO: TCP Data received {"connection_id":128989,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:18:15] local.INFO: Processing buffer {"connection_id":128989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:18:15] local.INFO: Packet analysis {"connection_id":128989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:18:15] local.INFO: Extracted packet for processing {"connection_id":128989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:18:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:18:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":128989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:18:15] local.INFO: GPS data processed {"connection_id":128989,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:18:15] local.INFO: Acknowledgment sent {"connection_id":128989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:18:34] local.INFO: TCP Data received {"connection_id":130973,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:18:34] local.INFO: Processing buffer {"connection_id":130973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:18:34] local.INFO: IMEI packet received {"connection_id":130973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":130973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:18:39] local.INFO: TCP Data received {"connection_id":130973,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:18:39] local.INFO: Processing buffer {"connection_id":130973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:18:39] local.INFO: IMEI packet received {"connection_id":130973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":130973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:18:40] local.INFO: TCP Data received {"connection_id":130973,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:18:40] local.INFO: Processing buffer {"connection_id":130973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a25d18012d7e380005d34dd80001003028..."} 
[2026-07-11 20:18:40] local.INFO: Packet analysis {"connection_id":130973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:18:40] local.INFO: Extracted packet for processing {"connection_id":130973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a2"} 
[2026-07-11 20:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647940096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781023000,"timestamp_ms":1783781023000,"timestamp_seconds":1783781023,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a25d18"} 
[2026-07-11 20:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:18: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-07-11 20:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-11 20:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647940096001,"66":2927,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647940096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:18:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647940096001,"power":2927,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":130973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:18:40] local.INFO: GPS data processed {"connection_id":130973,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:18:40] local.INFO: Acknowledgment sent {"connection_id":130973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:18:45] local.INFO: TCP Data received {"connection_id":128990,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a58998012cd6528007372af80000008f2a..."} 
[2026-07-11 20:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a58998012cd6528007372af80000008f2a..."} 
[2026-07-11 20:18:45] local.INFO: Processing buffer {"connection_id":128990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a58998012cd6528007372af80000008f2a..."} 
[2026-07-11 20:18:45] local.INFO: Packet analysis {"connection_id":128990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:18:45] local.INFO: Extracted packet for processing {"connection_id":128990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:18:45] local.INFO: GPS Element Parsed {"raw_longitude":752243328,"raw_latitude":121055992,"longitude_deg":75.2243328,"latitude_deg":12.1055992,"altitude":0,"angle":143,"satellites":42,"speed":30,"hex_longitude":"2cd65280","hex_latitude":"07372af8","is_valid_coordinates":true} 
[2026-07-11 20:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647992320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345513896871723008,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3007560095161307136,"note":"Value kept but may cause issues"} 
[2026-07-11 20:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783781231000,"timestamp_ms":1783781231000,"timestamp_seconds":1783781231,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a58998"} 
[2026-07-11 20:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:18:45] 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-07-11 20:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647992320001,"66":27321,"165":206,"83":40960,"24":30,"16":345513896871723008,"44":-3007560095161307136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-11 20:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647992320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:18:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-11 20:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345513896871723008,"km_value":345513896871723.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:18:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3007560095161307136,"description":"Unknown IO ID 44"} 
[2026-07-11 20:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647992320001,"power":27321,"unknown_165":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-3007560095161307136}} 
[2026-07-11 20:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":128990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:18:45] local.INFO: GPS data processed {"connection_id":128990,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:18:45] local.INFO: Acknowledgment sent {"connection_id":128990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:18:59] local.INFO: TCP Data received {"connection_id":129722,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:18:59] local.INFO: Processing buffer {"connection_id":129722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:18:59] local.INFO: IMEI packet received {"connection_id":129722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":129722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:19:00] local.INFO: TCP Data received {"connection_id":128991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:00] local.INFO: Processing buffer {"connection_id":128991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:00] local.INFO: IMEI packet received {"connection_id":128991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":128991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:19:03] local.INFO: TCP Data received {"connection_id":128991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:03] local.INFO: Processing buffer {"connection_id":128991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:03] local.INFO: IMEI packet received {"connection_id":128991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":128991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:19:04] local.INFO: TCP Data received {"connection_id":129722,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:19:04] local.INFO: Processing buffer {"connection_id":129722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:19:04] local.INFO: IMEI packet received {"connection_id":129722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":129722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:19:04] local.INFO: TCP Data received {"connection_id":128991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:04] local.INFO: Processing buffer {"connection_id":128991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:04] local.INFO: IMEI packet received {"connection_id":128991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":128991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:19:05] local.INFO: TCP Data received {"connection_id":129722,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:19:05] local.INFO: Processing buffer {"connection_id":129722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:19:05] local.INFO: Packet analysis {"connection_id":129722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:19:05] local.INFO: Extracted packet for processing {"connection_id":129722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:19:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":129722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:19:05] local.INFO: GPS data processed {"connection_id":129722,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:19:05] local.INFO: Acknowledgment sent {"connection_id":129722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:19:08] local.INFO: TCP Data received {"connection_id":128991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:08] local.INFO: Processing buffer {"connection_id":128991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:19:08] local.INFO: IMEI packet received {"connection_id":128991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":128991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:19:09] local.INFO: TCP Data received {"connection_id":128991,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a5acc0012cd66640073717200001008026..."} 
[2026-07-11 20:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a5acc0012cd66640073717200001008026..."} 
[2026-07-11 20:19:09] local.INFO: Processing buffer {"connection_id":128991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a5acc0012cd66640073717200001008026..."} 
[2026-07-11 20:19:09] local.INFO: Packet analysis {"connection_id":128991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:19:09] local.INFO: Extracted packet for processing {"connection_id":128991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:19:09] local.INFO: GPS Element Parsed {"raw_longitude":752248384,"raw_latitude":121050912,"longitude_deg":75.2248384,"latitude_deg":12.1050912,"altitude":1,"angle":128,"satellites":38,"speed":29,"hex_longitude":"2cd66640","hex_latitude":"07371720","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647995136001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345514244764073984,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3003197233024010240,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783781240000,"timestamp_ms":1783781240000,"timestamp_seconds":1783781240,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a5acc0"} 
[2026-07-11 20:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:19:09] 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-07-11 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647995136001,"66":27310,"165":206,"83":40960,"24":29,"16":345514244764073984,"44":-3003197233024010240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-11 20:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647995136001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:19:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-11 20:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345514244764073984,"km_value":345514244764074.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3003197233024010240,"description":"Unknown IO ID 44"} 
[2026-07-11 20:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647995136001,"power":27310,"unknown_165":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-3003197233024010240}} 
[2026-07-11 20:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":128991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:19:09] local.INFO: GPS data processed {"connection_id":128991,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:19:09] local.INFO: Acknowledgment sent {"connection_id":128991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:19:10] local.INFO: TCP Data received {"connection_id":129722,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:19:10] local.INFO: Processing buffer {"connection_id":129722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:19:10] local.INFO: Packet analysis {"connection_id":129722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:19:10] local.INFO: Extracted packet for processing {"connection_id":129722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:19:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:19:10] 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-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:19:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:19:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":129722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:19:10] local.INFO: GPS data processed {"connection_id":129722,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:19:10] local.INFO: Acknowledgment sent {"connection_id":129722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:19:11] local.INFO: TCP Data received {"connection_id":130973,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:19:11] local.INFO: Processing buffer {"connection_id":130973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:19:11] local.INFO: Packet analysis {"connection_id":130973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:19:11] local.INFO: Extracted packet for processing {"connection_id":130973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647941888001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781324000,"timestamp_ms":1783781324000,"timestamp_seconds":1783781324,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a6f4e0"} 
[2026-07-11 20:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-11 20:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647941888001,"66":2220,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647941888001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:19:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647941888001,"power":2220,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":130973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:19:11] local.INFO: GPS data processed {"connection_id":130973,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:19:11] local.INFO: Acknowledgment sent {"connection_id":130973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:19:34] local.INFO: TCP Data received {"connection_id":128992,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:19:34] local.INFO: Processing buffer {"connection_id":128992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:19:34] local.INFO: IMEI packet received {"connection_id":128992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":128992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:19:39] local.INFO: TCP Data received {"connection_id":128992,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:19:39] local.INFO: Processing buffer {"connection_id":128992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:19:39] local.INFO: IMEI packet received {"connection_id":128992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":128992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:19:40] local.INFO: TCP Data received {"connection_id":128992,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:19:40] local.INFO: Processing buffer {"connection_id":128992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:19:40] local.INFO: Packet analysis {"connection_id":128992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:19:40] local.INFO: Extracted packet for processing {"connection_id":128992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647941888001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781324000,"timestamp_ms":1783781324000,"timestamp_seconds":1783781324,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a6f4e0"} 
[2026-07-11 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-07-11 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":11,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-11 20:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647941888001,"66":2220,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647941888001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:19:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647941888001,"power":2220,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":128992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:19:40] local.INFO: GPS data processed {"connection_id":128992,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:19:40] local.INFO: Acknowledgment sent {"connection_id":128992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:19:40] local.INFO: TCP Data received {"connection_id":128991,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a5d7b8012cd6810007370688000400752a..."} 
[2026-07-11 20:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a5d7b8012cd6810007370688000400752a..."} 
[2026-07-11 20:19:40] local.INFO: Processing buffer {"connection_id":128991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a5d7b8012cd6810007370688000400752a..."} 
[2026-07-11 20:19:40] local.INFO: Packet analysis {"connection_id":128991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:19:40] local.INFO: Extracted packet for processing {"connection_id":128991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a5"} 
[2026-07-11 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":752255232,"raw_latitude":121046664,"longitude_deg":75.2255232,"latitude_deg":12.1046664,"altitude":4,"angle":117,"satellites":42,"speed":27,"hex_longitude":"2cd68100","hex_latitude":"07370688","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647997440001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345514627016163328,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2997638102235275264,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781251000,"timestamp_ms":1783781251000,"timestamp_seconds":1783781251,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a5d7b8"} 
[2026-07-11 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-07-11 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 20:19:40] 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-07-11 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-07-11 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-07-11 20:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647997440001,"66":27300,"165":206,"83":40960,"24":27,"16":345514627016163328,"44":-2997638102235275264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-11 20:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647997440001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:19:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-11 20:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345514627016163328,"km_value":345514627016163.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2997638102235275264,"description":"Unknown IO ID 44"} 
[2026-07-11 20:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647997440001,"power":27300,"unknown_165":206,"unknown_83":40960,"ignition":27,"odometer":null,"unknown_44":-2997638102235275264}} 
[2026-07-11 20:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":128991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:19:40] local.INFO: GPS data processed {"connection_id":128991,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:19:40] local.INFO: Acknowledgment sent {"connection_id":128991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:19:41] local.INFO: TCP Data received {"connection_id":129722,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:19:41] local.INFO: Processing buffer {"connection_id":129722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:19:41] local.INFO: Packet analysis {"connection_id":129722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:19:41] local.INFO: Extracted packet for processing {"connection_id":129722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:19:41] 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-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:19:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:19:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":129722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:19:41] local.INFO: GPS data processed {"connection_id":129722,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:19:41] local.INFO: Acknowledgment sent {"connection_id":129722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:19:59] local.INFO: TCP Data received {"connection_id":130974,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:19:59] local.INFO: Processing buffer {"connection_id":130974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:19:59] local.INFO: IMEI packet received {"connection_id":130974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":130974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:20:03] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:20:03] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:20:03] local.INFO: IMEI packet received {"connection_id":128821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":128821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:20:04] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:20:04] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:20:04] local.INFO: IMEI packet received {"connection_id":128821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":128821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:20:07] local.INFO: TCP Data received {"connection_id":130974,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:20:07] local.INFO: Processing buffer {"connection_id":130974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:20:07] local.INFO: IMEI packet received {"connection_id":130974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":130974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:20:08] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:20:08] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:20:08] local.INFO: IMEI packet received {"connection_id":128821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":128821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:20:09] local.INFO: TCP Data received {"connection_id":130974,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:20:09] local.INFO: Processing buffer {"connection_id":130974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:20:09] local.INFO: Packet analysis {"connection_id":130974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:20:09] local.INFO: Extracted packet for processing {"connection_id":130974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:20:09] 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-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":130974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:20:09] local.INFO: GPS data processed {"connection_id":130974,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:20:09] local.INFO: Acknowledgment sent {"connection_id":130974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:20:09] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a60698012cd6a1800736f590000500792b..."} 
[2026-07-11 20:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a60698012cd6a1800736f590000500792b..."} 
[2026-07-11 20:20:09] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a60698012cd6a1800736f590000500792b..."} 
[2026-07-11 20:20:09] local.INFO: Packet analysis {"connection_id":128821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:20:09] local.INFO: Extracted packet for processing {"connection_id":128821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":752263552,"raw_latitude":121042320,"longitude_deg":75.2263552,"latitude_deg":12.104232,"altitude":5,"angle":121,"satellites":43,"speed":32,"hex_longitude":"2cd6a180","hex_latitude":"0736f590","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648000256001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345515073692762112,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2990108646609352704,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783781263000,"timestamp_ms":1783781263000,"timestamp_seconds":1783781263,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a60698"} 
[2026-07-11 20:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 20:20: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-07-11 20: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-07-11 20:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648000256001,"66":27332,"165":206,"83":40960,"24":32,"16":345515073692762112,"44":-2990108646609352704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-11 20:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648000256001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345515073692762112,"km_value":345515073692762.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2990108646609352704,"description":"Unknown IO ID 44"} 
[2026-07-11 20:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648000256001,"power":27332,"unknown_165":206,"unknown_83":40960,"ignition":32,"odometer":null,"unknown_44":-2990108646609352704}} 
[2026-07-11 20:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":128821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:20:09] local.INFO: GPS data processed {"connection_id":128821,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:20:09] local.INFO: Acknowledgment sent {"connection_id":128821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:20:11] local.INFO: TCP Data received {"connection_id":128992,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:20:11] local.INFO: Processing buffer {"connection_id":128992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:20:11] local.INFO: Packet analysis {"connection_id":128992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:20:11] local.INFO: Extracted packet for processing {"connection_id":128992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647941888001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781324000,"timestamp_ms":1783781324000,"timestamp_seconds":1783781324,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a6f4e0"} 
[2026-07-11 20:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-11 20:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647941888001,"66":2220,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647941888001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:20:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647941888001,"power":2220,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":128992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:20:11] local.INFO: GPS data processed {"connection_id":128992,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:20:11] local.INFO: Acknowledgment sent {"connection_id":128992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:20:34] local.INFO: TCP Data received {"connection_id":130975,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:20:34] local.INFO: Processing buffer {"connection_id":130975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:20:34] local.INFO: IMEI packet received {"connection_id":130975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":130975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:20:39] local.INFO: TCP Data received {"connection_id":130975,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:20:39] local.INFO: Processing buffer {"connection_id":130975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:20:39] local.INFO: IMEI packet received {"connection_id":130975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:20:40] local.INFO: TCP Data received {"connection_id":130975,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:20:40] local.INFO: Processing buffer {"connection_id":130975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:20:40] local.INFO: Packet analysis {"connection_id":130975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:20:40] local.INFO: Extracted packet for processing {"connection_id":130975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647941888001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781324000,"timestamp_ms":1783781324000,"timestamp_seconds":1783781324,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a6f4e0"} 
[2026-07-11 20:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":11,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-11 20:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647941888001,"66":2220,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647941888001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647941888001,"power":2220,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":130975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:20:40] local.INFO: GPS data processed {"connection_id":130975,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:20:40] local.INFO: Acknowledgment sent {"connection_id":130975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:20:40] local.INFO: TCP Data received {"connection_id":130974,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:20:40] local.INFO: Processing buffer {"connection_id":130974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:20:40] local.INFO: Packet analysis {"connection_id":130974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:20:40] local.INFO: Extracted packet for processing {"connection_id":130974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:20:40] 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-07-11 20:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":130974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:20:40] local.INFO: GPS data processed {"connection_id":130974,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:20:40] local.INFO: Acknowledgment sent {"connection_id":130974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:20:40] local.INFO: TCP Data received {"connection_id":128821,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a7cbb8012cd7f6c007362840000800722b..."} 
[2026-07-11 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a7cbb8012cd7f6c007362840000800722b..."} 
[2026-07-11 20:20:40] local.INFO: Processing buffer {"connection_id":128821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a7cbb8012cd7f6c007362840000800722b..."} 
[2026-07-11 20:20:40] local.INFO: Packet analysis {"connection_id":128821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a7"} 
[2026-07-11 20:20:40] local.INFO: Extracted packet for processing {"connection_id":128821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a7"} 
[2026-07-11 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":752350912,"raw_latitude":120989760,"longitude_deg":75.2350912,"latitude_deg":12.098976,"altitude":8,"angle":114,"satellites":43,"speed":50,"hex_longitude":"2cd7f6c0","hex_latitude":"07362840","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648031232001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345520030085021696,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2894196048308840448,"note":"Value kept but may cause issues"} 
[2026-07-11 20:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781379000,"timestamp_ms":1783781379000,"timestamp_seconds":1783781379,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a7cbb8"} 
[2026-07-11 20:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648031232001,"66":27332,"175":206,"83":40960,"24":50,"16":345520030085021696,"44":-2894196048308840448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-11 20:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648031232001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345520030085021696,"km_value":345520030085021.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2894196048308840448,"description":"Unknown IO ID 44"} 
[2026-07-11 20:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648031232001,"power":27332,"unknown_175":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2894196048308840448}} 
[2026-07-11 20:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":128821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:20:40] local.INFO: GPS data processed {"connection_id":128821,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:20:40] local.INFO: Acknowledgment sent {"connection_id":128821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:20:59] local.INFO: TCP Data received {"connection_id":128822,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:20:59] local.INFO: Processing buffer {"connection_id":128822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:20:59] local.INFO: IMEI packet received {"connection_id":128822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":128822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:21:03] local.INFO: TCP Data received {"connection_id":129723,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:21:03] local.INFO: Processing buffer {"connection_id":129723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:21:03] local.INFO: IMEI packet received {"connection_id":129723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":129723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:21:04] local.INFO: TCP Data received {"connection_id":128822,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:21:04] local.INFO: Processing buffer {"connection_id":128822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:21:04] local.INFO: IMEI packet received {"connection_id":128822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":128822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:21:05] local.INFO: TCP Data received {"connection_id":129723,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:21:05] local.INFO: Processing buffer {"connection_id":129723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:21:05] local.INFO: IMEI packet received {"connection_id":129723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":129723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:21:05] local.INFO: TCP Data received {"connection_id":128822,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:21:05] local.INFO: Processing buffer {"connection_id":128822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:21:05] local.INFO: Packet analysis {"connection_id":128822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:21:05] local.INFO: Extracted packet for processing {"connection_id":128822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:21:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":128822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:21:05] local.INFO: GPS data processed {"connection_id":128822,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:21:05] local.INFO: Acknowledgment sent {"connection_id":128822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:21:08] local.INFO: TCP Data received {"connection_id":129723,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:21:08] local.INFO: Processing buffer {"connection_id":129723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:21:08] local.INFO: IMEI packet received {"connection_id":129723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":129723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:21:09] local.INFO: TCP Data received {"connection_id":129723,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a7eaf8012cd81a00073617f8000800732c..."} 
[2026-07-11 20:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a7eaf8012cd81a00073617f8000800732c..."} 
[2026-07-11 20:21:09] local.INFO: Processing buffer {"connection_id":129723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a7eaf8012cd81a00073617f8000800732c..."} 
[2026-07-11 20:21:09] local.INFO: Packet analysis {"connection_id":129723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a7"} 
[2026-07-11 20:21:09] local.INFO: Extracted packet for processing {"connection_id":129723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a7"} 
[2026-07-11 20:21:09] local.INFO: GPS Element Parsed {"raw_longitude":752359936,"raw_latitude":120985592,"longitude_deg":75.2359936,"latitude_deg":12.0985592,"altitude":8,"angle":115,"satellites":44,"speed":46,"hex_longitude":"2cd81a00","hex_latitude":"073617f8","is_valid_coordinates":true} 
[2026-07-11 20:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648033024001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345520502531424256,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2884907374078312448,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783781387000,"timestamp_ms":1783781387000,"timestamp_seconds":1783781387,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a7eaf8"} 
[2026-07-11 20:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:21:09] 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-07-11 20:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 20:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648033024001,"66":27343,"175":206,"83":40960,"24":46,"16":345520502531424256,"44":-2884907374078312448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-11 20:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648033024001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:21:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-11 20:21:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345520502531424256,"km_value":345520502531424.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2884907374078312448,"description":"Unknown IO ID 44"} 
[2026-07-11 20:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648033024001,"power":27343,"unknown_175":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2884907374078312448}} 
[2026-07-11 20:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":129723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:21:09] local.INFO: GPS data processed {"connection_id":129723,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:21:09] local.INFO: Acknowledgment sent {"connection_id":129723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:21:11] local.INFO: TCP Data received {"connection_id":130975,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:21:11] local.INFO: Processing buffer {"connection_id":130975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:21:11] local.INFO: Packet analysis {"connection_id":130975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:21:11] local.INFO: Extracted packet for processing {"connection_id":130975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647941888001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781324000,"timestamp_ms":1783781324000,"timestamp_seconds":1783781324,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a6f4e0"} 
[2026-07-11 20:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-11 20:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647941888001,"66":2220,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647941888001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:21:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647941888001,"power":2220,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":130975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:21:11] local.INFO: GPS data processed {"connection_id":130975,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:21:11] local.INFO: Acknowledgment sent {"connection_id":130975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:21:34] local.INFO: TCP Data received {"connection_id":130976,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:21:34] local.INFO: Processing buffer {"connection_id":130976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:21:34] local.INFO: IMEI packet received {"connection_id":130976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":130976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:21:37] local.INFO: TCP Data received {"connection_id":128822,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:21:37] local.INFO: Processing buffer {"connection_id":128822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a483e0012d196680071fef80003b011a26..."} 
[2026-07-11 20:21:37] local.INFO: Packet analysis {"connection_id":128822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:21:37] local.INFO: Extracted packet for processing {"connection_id":128822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a4"} 
[2026-07-11 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647900928001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783781164000,"timestamp_ms":1783781164000,"timestamp_seconds":1783781164,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a483e0"} 
[2026-07-11 20:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647900928001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647900928001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:21:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647900928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":128822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:21:37] local.INFO: GPS data processed {"connection_id":128822,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:21:37] local.INFO: Acknowledgment sent {"connection_id":128822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:21:39] local.INFO: TCP Data received {"connection_id":130976,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:21:39] local.INFO: Processing buffer {"connection_id":130976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:21:39] local.INFO: IMEI packet received {"connection_id":130976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":130976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:21:40] local.INFO: TCP Data received {"connection_id":130976,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:21:40] local.INFO: Processing buffer {"connection_id":130976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:21:40] local.INFO: Packet analysis {"connection_id":130976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:21:40] local.INFO: Extracted packet for processing {"connection_id":130976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647941888001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781324000,"timestamp_ms":1783781324000,"timestamp_seconds":1783781324,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a6f4e0"} 
[2026-07-11 20:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-11 20:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647941888001,"66":2220,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647941888001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:21:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647941888001,"power":2220,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":130976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:21:40] local.INFO: GPS data processed {"connection_id":130976,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:21:40] local.INFO: Acknowledgment sent {"connection_id":130976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:21:41] local.INFO: TCP Data received {"connection_id":129723,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a80e20012cd83cc0073606b8000900762c..."} 
[2026-07-11 20:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a80e20012cd83cc0073606b8000900762c..."} 
[2026-07-11 20:21:41] local.INFO: Processing buffer {"connection_id":129723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a80e20012cd83cc0073606b8000900762c..."} 
[2026-07-11 20:21:41] local.INFO: Packet analysis {"connection_id":129723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a8"} 
[2026-07-11 20:21:41] local.INFO: Extracted packet for processing {"connection_id":129723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a8"} 
[2026-07-11 20:21:41] local.INFO: GPS Element Parsed {"raw_longitude":752368832,"raw_latitude":120981176,"longitude_deg":75.2368832,"latitude_deg":12.0981176,"altitude":9,"angle":118,"satellites":44,"speed":41,"hex_longitude":"2cd83cc0","hex_latitude":"073606b8","is_valid_coordinates":true} 
[2026-07-11 20:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648035072001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345520974977826816,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2874985381150328832,"note":"Value kept but may cause issues"} 
[2026-07-11 20:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783781396000,"timestamp_ms":1783781396000,"timestamp_seconds":1783781396,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a80e20"} 
[2026-07-11 20:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:21: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-07-11 20:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648035072001,"66":27310,"175":206,"83":40960,"24":41,"16":345520974977826816,"44":-2874985381150328832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-11 20:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648035072001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:21:41] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-11 20:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345520974977826816,"km_value":345520974977826.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2874985381150328832,"description":"Unknown IO ID 44"} 
[2026-07-11 20:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648035072001,"power":27310,"unknown_175":206,"unknown_83":40960,"ignition":41,"odometer":null,"unknown_44":-2874985381150328832}} 
[2026-07-11 20:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":129723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:21:41] local.INFO: GPS data processed {"connection_id":129723,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:21:41] local.INFO: Acknowledgment sent {"connection_id":129723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:22:04] local.INFO: TCP Data received {"connection_id":128994,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:22:04] local.INFO: Processing buffer {"connection_id":128994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:22:04] local.INFO: IMEI packet received {"connection_id":128994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":128994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:22:08] local.INFO: TCP Data received {"connection_id":128824,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:22:08] local.INFO: Processing buffer {"connection_id":128824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:22:08] local.INFO: IMEI packet received {"connection_id":128824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":128824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:22:09] local.INFO: TCP Data received {"connection_id":128994,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:22:09] local.INFO: Processing buffer {"connection_id":128994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:22:09] local.INFO: IMEI packet received {"connection_id":128994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:22:09] local.INFO: TCP Data received {"connection_id":128824,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:22:09] local.INFO: Processing buffer {"connection_id":128824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:22:09] local.INFO: IMEI packet received {"connection_id":128824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:22:10] local.INFO: TCP Data received {"connection_id":128823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:22:10] local.INFO: Processing buffer {"connection_id":128823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:22:10] local.INFO: IMEI packet received {"connection_id":128823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":128823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:22:10] local.INFO: TCP Data received {"connection_id":128994,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:22:10] local.INFO: Processing buffer {"connection_id":128994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:22:10] local.INFO: Packet analysis {"connection_id":128994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:22:10] local.INFO: Extracted packet for processing {"connection_id":128994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:22:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":128994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:22:10] local.INFO: GPS data processed {"connection_id":128994,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:22:10] local.INFO: Acknowledgment sent {"connection_id":128994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:22:11] local.INFO: TCP Data received {"connection_id":130976,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:22:11] local.INFO: Processing buffer {"connection_id":130976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a6f4e0012d7e380005d34dd8000100302a..."} 
[2026-07-11 20:22:11] local.INFO: Packet analysis {"connection_id":130976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:22:11] local.INFO: Extracted packet for processing {"connection_id":130976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a6"} 
[2026-07-11 20:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647941888001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781324000,"timestamp_ms":1783781324000,"timestamp_seconds":1783781324,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a6f4e0"} 
[2026-07-11 20:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-11 20:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647941888001,"66":2220,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647941888001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:22:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647941888001,"power":2220,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":130976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:22:11] local.INFO: GPS data processed {"connection_id":130976,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:22:11] local.INFO: Acknowledgment sent {"connection_id":130976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:22:13] local.INFO: TCP Data received {"connection_id":128824,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:22:13] local.INFO: Processing buffer {"connection_id":128824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:22:13] local.INFO: IMEI packet received {"connection_id":128824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":128824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:22:14] local.INFO: TCP Data received {"connection_id":128824,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a83530012cd85e400735f3e8000900782b..."} 
[2026-07-11 20:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a83530012cd85e400735f3e8000900782b..."} 
[2026-07-11 20:22:14] local.INFO: Processing buffer {"connection_id":128824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a83530012cd85e400735f3e8000900782b..."} 
[2026-07-11 20:22:14] local.INFO: Packet analysis {"connection_id":128824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a8"} 
[2026-07-11 20:22:14] local.INFO: Extracted packet for processing {"connection_id":128824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a8"} 
[2026-07-11 20:22:14] local.INFO: GPS Element Parsed {"raw_longitude":752377408,"raw_latitude":120976360,"longitude_deg":75.2377408,"latitude_deg":12.097636,"altitude":9,"angle":120,"satellites":43,"speed":35,"hex_longitude":"2cd85e40","hex_latitude":"0735f3e8","is_valid_coordinates":true} 
[2026-07-11 20:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648037376001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345521443129262080,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2865204125710764032,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783781406000,"timestamp_ms":1783781406000,"timestamp_seconds":1783781406,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a83530"} 
[2026-07-11 20:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 20:22:14] 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-07-11 20:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648037376001,"66":27343,"175":206,"83":40960,"24":35,"16":345521443129262080,"44":-2865204125710764032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-11 20:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648037376001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:22:14] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-11 20:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345521443129262080,"km_value":345521443129262.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2865204125710764032,"description":"Unknown IO ID 44"} 
[2026-07-11 20:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648037376001,"power":27343,"unknown_175":206,"unknown_83":40960,"ignition":35,"odometer":null,"unknown_44":-2865204125710764032}} 
[2026-07-11 20:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":128824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:22:14] local.INFO: GPS data processed {"connection_id":128824,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:22:14] local.INFO: Acknowledgment sent {"connection_id":128824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:22:15] local.INFO: TCP Data received {"connection_id":128994,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:22:15] local.INFO: Processing buffer {"connection_id":128994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:22:15] local.INFO: Packet analysis {"connection_id":128994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:22:15] local.INFO: Extracted packet for processing {"connection_id":128994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:22:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:22:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":128994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:22:15] local.INFO: GPS data processed {"connection_id":128994,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:22:15] local.INFO: Acknowledgment sent {"connection_id":128994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:22:39] local.INFO: TCP Data received {"connection_id":130977,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:22:39] local.INFO: Processing buffer {"connection_id":130977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:22:39] local.INFO: IMEI packet received {"connection_id":130977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":130977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:22:44] local.INFO: TCP Data received {"connection_id":130978,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:22:44] local.INFO: Processing buffer {"connection_id":130978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:22:44] local.INFO: IMEI packet received {"connection_id":130978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":130978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:22:45] local.INFO: TCP Data received {"connection_id":128824,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a86028012cd87dc00735e008000a007b2b..."} 
[2026-07-11 20:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a86028012cd87dc00735e008000a007b2b..."} 
[2026-07-11 20:22:45] local.INFO: Processing buffer {"connection_id":128824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a86028012cd87dc00735e008000a007b2b..."} 
[2026-07-11 20:22:45] local.INFO: Packet analysis {"connection_id":128824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a8"} 
[2026-07-11 20:22:45] local.INFO: Extracted packet for processing {"connection_id":128824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a8"} 
[2026-07-11 20:22:45] local.INFO: GPS Element Parsed {"raw_longitude":752385472,"raw_latitude":120971272,"longitude_deg":75.2385472,"latitude_deg":12.0971272,"altitude":10,"angle":123,"satellites":43,"speed":35,"hex_longitude":"2cd87dc0","hex_latitude":"0735e008","is_valid_coordinates":true} 
[2026-07-11 20:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648039936001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345521902690762752,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2855774713992189952,"note":"Value kept but may cause issues"} 
[2026-07-11 20:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783781417000,"timestamp_ms":1783781417000,"timestamp_seconds":1783781417,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a86028"} 
[2026-07-11 20:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648039936001,"66":27343,"175":206,"83":40960,"24":35,"16":345521902690762752,"44":-2855774713992189952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-11 20:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648039936001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:22:45] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-11 20:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345521902690762752,"km_value":345521902690762.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:22:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2855774713992189952,"description":"Unknown IO ID 44"} 
[2026-07-11 20:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648039936001,"power":27343,"unknown_175":206,"unknown_83":40960,"ignition":35,"odometer":null,"unknown_44":-2855774713992189952}} 
[2026-07-11 20:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":128824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:22:45] local.INFO: GPS data processed {"connection_id":128824,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:22:45] local.INFO: Acknowledgment sent {"connection_id":128824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:22:59] local.INFO: TCP Data received {"connection_id":128995,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:22:59] local.INFO: Processing buffer {"connection_id":128995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:22:59] local.INFO: IMEI packet received {"connection_id":128995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":128995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:23:03] local.INFO: TCP Data received {"connection_id":129724,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:23:03] local.INFO: Processing buffer {"connection_id":129724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:23:03] local.INFO: IMEI packet received {"connection_id":129724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":129724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:23:03] local.INFO: TCP Data received {"connection_id":129724,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:23:03] local.INFO: Processing buffer {"connection_id":129724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:23:03] local.INFO: IMEI packet received {"connection_id":129724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":129724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:23:04] local.INFO: TCP Data received {"connection_id":128995,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:23:04] local.INFO: Processing buffer {"connection_id":128995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:23:04] local.INFO: IMEI packet received {"connection_id":128995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":128995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:23:05] local.INFO: TCP Data received {"connection_id":128995,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:23:05] local.INFO: Processing buffer {"connection_id":128995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:23:05] local.INFO: Packet analysis {"connection_id":128995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:23:05] local.INFO: Extracted packet for processing {"connection_id":128995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:23:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":128995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:23:05] local.INFO: GPS data processed {"connection_id":128995,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:23:05] local.INFO: Acknowledgment sent {"connection_id":128995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:23:08] local.INFO: TCP Data received {"connection_id":129724,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:23:08] local.INFO: Processing buffer {"connection_id":129724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:23:08] local.INFO: IMEI packet received {"connection_id":129724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":129724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:23:09] local.INFO: TCP Data received {"connection_id":129724,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a9f668012cd9f1c007352b88001a007b2b..."} 
[2026-07-11 20:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a9f668012cd9f1c007352b88001a007b2b..."} 
[2026-07-11 20:23:09] local.INFO: Processing buffer {"connection_id":129724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a9f668012cd9f1c007352b88001a007b2b..."} 
[2026-07-11 20:23:09] local.INFO: Packet analysis {"connection_id":129724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:23:09] local.INFO: Extracted packet for processing {"connection_id":129724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:23:09] local.INFO: GPS Element Parsed {"raw_longitude":752480704,"raw_latitude":120925064,"longitude_deg":75.2480704,"latitude_deg":12.0925064,"altitude":26,"angle":123,"satellites":43,"speed":40,"hex_longitude":"2cd9f1c0","hex_latitude":"07352b88","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648066816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345526953572302848,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2751910447597918208,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783781521000,"timestamp_ms":1783781521000,"timestamp_seconds":1783781521,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a9f668"} 
[2026-07-11 20:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:23:09] 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-07-11 20: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-11 20:23:09] 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-07-11 20: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-07-11 20:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648066816001,"66":27517,"174":206,"83":40960,"24":40,"16":345526953572302848,"44":-2751910447597918208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-07-11 20:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648066816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:23:09] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-11 20:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345526953572302848,"km_value":345526953572302.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2751910447597918208,"description":"Unknown IO ID 44"} 
[2026-07-11 20:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648066816001,"power":27517,"unknown_174":206,"unknown_83":40960,"ignition":40,"odometer":null,"unknown_44":-2751910447597918208}} 
[2026-07-11 20:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":129724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:23:09] local.INFO: GPS data processed {"connection_id":129724,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:23:09] local.INFO: Acknowledgment sent {"connection_id":129724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:23:37] local.INFO: TCP Data received {"connection_id":128995,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:23:37] local.INFO: Processing buffer {"connection_id":128995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:23:37] local.INFO: Packet analysis {"connection_id":128995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:23:37] local.INFO: Extracted packet for processing {"connection_id":128995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:23:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":128995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:23:37] local.INFO: GPS data processed {"connection_id":128995,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:23:37] local.INFO: Acknowledgment sent {"connection_id":128995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:23:41] local.INFO: TCP Data received {"connection_id":129724,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51aa1990012cda0f40073515e0001900802b..."} 
[2026-07-11 20:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51aa1990012cda0f40073515e0001900802b..."} 
[2026-07-11 20:23:41] local.INFO: Processing buffer {"connection_id":129724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51aa1990012cda0f40073515e0001900802b..."} 
[2026-07-11 20:23:41] local.INFO: Packet analysis {"connection_id":129724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51aa"} 
[2026-07-11 20:23:41] local.INFO: Extracted packet for processing {"connection_id":129724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51aa"} 
[2026-07-11 20:23:41] local.INFO: GPS Element Parsed {"raw_longitude":752488256,"raw_latitude":120919520,"longitude_deg":75.2488256,"latitude_deg":12.091952,"altitude":25,"angle":128,"satellites":43,"speed":42,"hex_longitude":"2cda0f40","hex_latitude":"073515e0","is_valid_coordinates":true} 
[2026-07-11 20:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648069376001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345527400248901632,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2742199560902572032,"note":"Value kept but may cause issues"} 
[2026-07-11 20:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783781530000,"timestamp_ms":1783781530000,"timestamp_seconds":1783781530,"priority":1,"record_length":96,"hex_timestamp":"0000019f51aa1990"} 
[2026-07-11 20:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 20:23:41] 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-07-11 20:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648069376001,"66":27343,"174":206,"83":40960,"24":42,"16":345527400248901632,"44":-2742199560902572032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-07-11 20:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648069376001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:23:41] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-11 20:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345527400248901632,"km_value":345527400248901.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2742199560902572032,"description":"Unknown IO ID 44"} 
[2026-07-11 20:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648069376001,"power":27343,"unknown_174":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2742199560902572032}} 
[2026-07-11 20:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":129724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:23:41] local.INFO: GPS data processed {"connection_id":129724,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:23:41] local.INFO: Acknowledgment sent {"connection_id":129724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:23:59] local.INFO: TCP Data received {"connection_id":129725,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:23:59] local.INFO: Processing buffer {"connection_id":129725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:23:59] local.INFO: IMEI packet received {"connection_id":129725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":129725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:24:03] local.INFO: TCP Data received {"connection_id":129726,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:24:03] local.INFO: Processing buffer {"connection_id":129726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:24:03] local.INFO: IMEI packet received {"connection_id":129726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":129726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:24:04] local.INFO: TCP Data received {"connection_id":129725,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:24:04] local.INFO: Processing buffer {"connection_id":129725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:24:04] local.INFO: IMEI packet received {"connection_id":129725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":129725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:24:05] local.INFO: TCP Data received {"connection_id":129725,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:24:05] local.INFO: Processing buffer {"connection_id":129725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:24:05] local.INFO: Packet analysis {"connection_id":129725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:24:05] local.INFO: Extracted packet for processing {"connection_id":129725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:24:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":129725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:24:06] local.INFO: GPS data processed {"connection_id":129725,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:24:06] local.INFO: Acknowledgment sent {"connection_id":129725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:24:08] local.INFO: TCP Data received {"connection_id":129726,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:24:08] local.INFO: Processing buffer {"connection_id":129726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:24:08] local.INFO: IMEI packet received {"connection_id":129726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":129726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:24:09] local.INFO: TCP Data received {"connection_id":129726,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51aa38d0012cda2a000734fe48001800842a..."} 
[2026-07-11 20:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51aa38d0012cda2a000734fe48001800842a..."} 
[2026-07-11 20:24:09] local.INFO: Processing buffer {"connection_id":129726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51aa38d0012cda2a000734fe48001800842a..."} 
[2026-07-11 20:24:09] local.INFO: Packet analysis {"connection_id":129726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51aa"} 
[2026-07-11 20:24:09] local.INFO: Extracted packet for processing {"connection_id":129726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51aa"} 
[2026-07-11 20:24:09] local.INFO: GPS Element Parsed {"raw_longitude":752495104,"raw_latitude":120913480,"longitude_deg":75.2495104,"latitude_deg":12.091348,"altitude":24,"angle":132,"satellites":42,"speed":47,"hex_longitude":"2cda2a00","hex_latitude":"0734fe48","is_valid_coordinates":true} 
[2026-07-11 20:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648071680001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345527838335565824,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2733896049091026944,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783781538000,"timestamp_ms":1783781538000,"timestamp_seconds":1783781538,"priority":1,"record_length":96,"hex_timestamp":"0000019f51aa38d0"} 
[2026-07-11 20:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648071680001,"66":27332,"174":206,"83":40960,"24":47,"16":345527838335565824,"44":-2733896049091026944},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-07-11 20:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648071680001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:24:09] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-11 20:24:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345527838335565824,"km_value":345527838335565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:24:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2733896049091026944,"description":"Unknown IO ID 44"} 
[2026-07-11 20:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648071680001,"power":27332,"unknown_174":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2733896049091026944}} 
[2026-07-11 20:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":129726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:24:09] local.INFO: GPS data processed {"connection_id":129726,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:24:09] local.INFO: Acknowledgment sent {"connection_id":129726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:24:37] local.INFO: TCP Data received {"connection_id":129725,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:24:37] local.INFO: Processing buffer {"connection_id":129725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:24:37] local.INFO: Packet analysis {"connection_id":129725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:24:37] local.INFO: Extracted packet for processing {"connection_id":129725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:24:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":129725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:24:37] local.INFO: GPS data processed {"connection_id":129725,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:24:37] local.INFO: Acknowledgment sent {"connection_id":129725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:24:40] local.INFO: TCP Data received {"connection_id":129726,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51aa5428012cda44c00734e748001700802a..."} 
[2026-07-11 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51aa5428012cda44c00734e748001700802a..."} 
[2026-07-11 20:24:40] local.INFO: Processing buffer {"connection_id":129726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51aa5428012cda44c00734e748001700802a..."} 
[2026-07-11 20:24:40] local.INFO: Packet analysis {"connection_id":129726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51aa"} 
[2026-07-11 20:24:40] local.INFO: Extracted packet for processing {"connection_id":129726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51aa"} 
[2026-07-11 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":752501952,"raw_latitude":120907592,"longitude_deg":75.2501952,"latitude_deg":12.0907592,"altitude":23,"angle":128,"satellites":42,"speed":53,"hex_longitude":"2cda44c0","hex_latitude":"0734e748","is_valid_coordinates":true} 
[2026-07-11 20:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648073728001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345528272127262720,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2726366593465563136,"note":"Value kept but may cause issues"} 
[2026-07-11 20:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781545000,"timestamp_ms":1783781545000,"timestamp_seconds":1783781545,"priority":1,"record_length":96,"hex_timestamp":"0000019f51aa5428"} 
[2026-07-11 20:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 20:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648073728001,"66":27321,"174":206,"83":40960,"24":53,"16":345528272127262720,"44":-2726366593465563136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-07-11 20:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648073728001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:24:40] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-11 20:24:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345528272127262720,"km_value":345528272127262.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2726366593465563136,"description":"Unknown IO ID 44"} 
[2026-07-11 20:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648073728001,"power":27321,"unknown_174":206,"unknown_83":40960,"ignition":53,"odometer":null,"unknown_44":-2726366593465563136}} 
[2026-07-11 20:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":129726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:24:40] local.INFO: GPS data processed {"connection_id":129726,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:24:40] local.INFO: Acknowledgment sent {"connection_id":129726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:24:59] local.INFO: TCP Data received {"connection_id":129727,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:24:59] local.INFO: Processing buffer {"connection_id":129727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:24:59] local.INFO: IMEI packet received {"connection_id":129727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":129727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:25:04] local.INFO: TCP Data received {"connection_id":129727,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:25:04] local.INFO: Processing buffer {"connection_id":129727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:25:04] local.INFO: IMEI packet received {"connection_id":129727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":129727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:25:05] local.INFO: TCP Data received {"connection_id":128997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:25:05] local.INFO: Processing buffer {"connection_id":128997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:25:05] local.INFO: IMEI packet received {"connection_id":128997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":128997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:25:06] local.INFO: TCP Data received {"connection_id":129727,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:25:06] local.INFO: Processing buffer {"connection_id":129727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:25:06] local.INFO: Packet analysis {"connection_id":129727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:25:06] local.INFO: Extracted packet for processing {"connection_id":129727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:25:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:25:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":129727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:25:06] local.INFO: GPS data processed {"connection_id":129727,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:25:06] local.INFO: Acknowledgment sent {"connection_id":129727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:25:08] local.INFO: TCP Data received {"connection_id":128997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:25:08] local.INFO: Processing buffer {"connection_id":128997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:25:08] local.INFO: IMEI packet received {"connection_id":128997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":128997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:25:13] local.INFO: TCP Data received {"connection_id":128997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:25:13] local.INFO: Processing buffer {"connection_id":128997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:25:13] local.INFO: IMEI packet received {"connection_id":128997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":128997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:25:14] local.INFO: TCP Data received {"connection_id":128997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51aba418012cdb160007341ab8001600952a..."} 
[2026-07-11 20:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51aba418012cdb160007341ab8001600952a..."} 
[2026-07-11 20:25:14] local.INFO: Processing buffer {"connection_id":128997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51aba418012cdb160007341ab8001600952a..."} 
[2026-07-11 20:25:14] local.INFO: Packet analysis {"connection_id":128997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:25:14] local.INFO: Extracted packet for processing {"connection_id":128997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:25:14] local.INFO: GPS Element Parsed {"raw_longitude":752555520,"raw_latitude":120855224,"longitude_deg":75.255552,"latitude_deg":12.0855224,"altitude":22,"angle":149,"satellites":42,"speed":16,"hex_longitude":"2cdb1600","hex_latitude":"07341ab8","is_valid_coordinates":true} 
[2026-07-11 20:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096768001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345531901374627840,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2660571817674115072,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783781631000,"timestamp_ms":1783781631000,"timestamp_seconds":1783781631,"priority":1,"record_length":96,"hex_timestamp":"0000019f51aba418"} 
[2026-07-11 20:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:25:14] 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-07-11 20:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096768001,"66":27017,"145":206,"83":40960,"24":16,"16":345531901374627840,"44":-2660571817674115072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-11 20:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096768001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:25:14] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 20:25:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345531901374627840,"km_value":345531901374627.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:25:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2660571817674115072,"description":"Unknown IO ID 44"} 
[2026-07-11 20:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096768001,"power":27017,"unknown_145":206,"unknown_83":40960,"ignition":16,"odometer":null,"unknown_44":-2660571817674115072}} 
[2026-07-11 20:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":128997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:25:14] local.INFO: GPS data processed {"connection_id":128997,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:25:14] local.INFO: Acknowledgment sent {"connection_id":128997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:25:38] local.INFO: TCP Data received {"connection_id":129727,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:25:38] local.INFO: Processing buffer {"connection_id":129727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:25:38] local.INFO: Packet analysis {"connection_id":129727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:25:38] local.INFO: Extracted packet for processing {"connection_id":129727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:25: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-07-11 20:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:25:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:25:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":129727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:25:38] local.INFO: GPS data processed {"connection_id":129727,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:25:38] local.INFO: Acknowledgment sent {"connection_id":129727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:25:45] local.INFO: TCP Data received {"connection_id":128997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51abe298012cdb29c00733fd00001400922a..."} 
[2026-07-11 20:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51abe298012cdb29c00733fd00001400922a..."} 
[2026-07-11 20:25:45] local.INFO: Processing buffer {"connection_id":128997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51abe298012cdb29c00733fd00001400922a..."} 
[2026-07-11 20:25:45] local.INFO: Packet analysis {"connection_id":128997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:25:45] local.INFO: Extracted packet for processing {"connection_id":128997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:25:45] local.INFO: GPS Element Parsed {"raw_longitude":752560576,"raw_latitude":120847616,"longitude_deg":75.2560576,"latitude_deg":12.0847616,"altitude":20,"angle":146,"satellites":42,"speed":23,"hex_longitude":"2cdb29c0","hex_latitude":"0733fd00","is_valid_coordinates":true} 
[2026-07-11 20:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648097536001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345532343756259328,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2659938498976761856,"note":"Value kept but may cause issues"} 
[2026-07-11 20:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783781647000,"timestamp_ms":1783781647000,"timestamp_seconds":1783781647,"priority":1,"record_length":96,"hex_timestamp":"0000019f51abe298"} 
[2026-07-11 20:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-11 20:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648097536001,"66":27376,"145":206,"83":40960,"24":23,"16":345532343756259328,"44":-2659938498976761856},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-11 20:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648097536001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:25:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 20:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345532343756259328,"km_value":345532343756259.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:25:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2659938498976761856,"description":"Unknown IO ID 44"} 
[2026-07-11 20:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648097536001,"power":27376,"unknown_145":206,"unknown_83":40960,"ignition":23,"odometer":null,"unknown_44":-2659938498976761856}} 
[2026-07-11 20:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":128997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:25:45] local.INFO: GPS data processed {"connection_id":128997,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:25:45] local.INFO: Acknowledgment sent {"connection_id":128997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:26:03] local.INFO: TCP Data received {"connection_id":130980,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:26:03] local.INFO: Processing buffer {"connection_id":130980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:26:03] local.INFO: IMEI packet received {"connection_id":130980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":130980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:26:04] local.INFO: TCP Data received {"connection_id":130980,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:26:04] local.INFO: Processing buffer {"connection_id":130980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:26:04] local.INFO: IMEI packet received {"connection_id":130980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":130980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:26:04] local.INFO: TCP Data received {"connection_id":130979,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:26:04] local.INFO: Processing buffer {"connection_id":130979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:26:04] local.INFO: IMEI packet received {"connection_id":130979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":130979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:26:06] local.INFO: TCP Data received {"connection_id":130980,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:26:06] local.INFO: Processing buffer {"connection_id":130980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:26:06] local.INFO: IMEI packet received {"connection_id":130980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":130980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:26:07] local.INFO: TCP Data received {"connection_id":130980,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ace850012cdb6a4007339010000a00d720..."} 
[2026-07-11 20:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ace850012cdb6a4007339010000a00d720..."} 
[2026-07-11 20:26:07] local.INFO: Processing buffer {"connection_id":130980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ace850012cdb6a4007339010000a00d720..."} 
[2026-07-11 20:26:07] local.INFO: Packet analysis {"connection_id":130980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ac"} 
[2026-07-11 20:26:07] local.INFO: Extracted packet for processing {"connection_id":130980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ac"} 
[2026-07-11 20:26:07] local.INFO: GPS Element Parsed {"raw_longitude":752577088,"raw_latitude":120819728,"longitude_deg":75.2577088,"latitude_deg":12.0819728,"altitude":10,"angle":215,"satellites":32,"speed":13,"hex_longitude":"2cdb6a40","hex_latitude":"07339010","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648118272001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345533950074028032,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636013125965295616,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783781714000,"timestamp_ms":1783781714000,"timestamp_seconds":1783781714,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ace850"} 
[2026-07-11 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-07-11 20:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-11 20:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648118272001,"66":27343,"146":206,"83":40960,"24":13,"16":345533950074028032,"44":-2636013125965295616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-07-11 20:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648118272001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:26:07] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-11 20:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345533950074028032,"km_value":345533950074028.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636013125965295616,"description":"Unknown IO ID 44"} 
[2026-07-11 20:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648118272001,"power":27343,"unknown_146":206,"unknown_83":40960,"ignition":13,"odometer":null,"unknown_44":-2636013125965295616}} 
[2026-07-11 20:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":130980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:26:07] local.INFO: GPS data processed {"connection_id":130980,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:26:07] local.INFO: Acknowledgment sent {"connection_id":130980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:26:09] local.INFO: TCP Data received {"connection_id":130979,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:26:09] local.INFO: Processing buffer {"connection_id":130979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:26:09] local.INFO: IMEI packet received {"connection_id":130979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":130979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:26:10] local.INFO: TCP Data received {"connection_id":130979,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:26:10] local.INFO: Processing buffer {"connection_id":130979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:26:10] local.INFO: Packet analysis {"connection_id":130979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:26:10] local.INFO: Extracted packet for processing {"connection_id":130979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:26:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":130979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:26:10] local.INFO: GPS data processed {"connection_id":130979,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:26:10] local.INFO: Acknowledgment sent {"connection_id":130979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:26:16] local.INFO: TCP Data received {"connection_id":130979,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:26:16] local.INFO: Processing buffer {"connection_id":130979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51a91ba8012d196680071fef80003b011a25..."} 
[2026-07-11 20:26:16] local.INFO: Packet analysis {"connection_id":130979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:26:16] local.INFO: Extracted packet for processing {"connection_id":130979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51a9"} 
[2026-07-11 20:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456647977984001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783781465000,"timestamp_ms":1783781465000,"timestamp_seconds":1783781465,"priority":1,"record_length":96,"hex_timestamp":"0000019f51a91ba8"} 
[2026-07-11 20:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456647977984001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456647977984001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:26:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:26:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456647977984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":130979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:26:16] local.INFO: GPS data processed {"connection_id":130979,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:26:16] local.INFO: Acknowledgment sent {"connection_id":130979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:26:38] local.INFO: TCP Data received {"connection_id":130980,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51acf408012cdb684007338ce8000900c725..."} 
[2026-07-11 20:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51acf408012cdb684007338ce8000900c725..."} 
[2026-07-11 20:26:38] local.INFO: Processing buffer {"connection_id":130980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51acf408012cdb684007338ce8000900c725..."} 
[2026-07-11 20:26:38] local.INFO: Packet analysis {"connection_id":130980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ac"} 
[2026-07-11 20:26:38] local.INFO: Extracted packet for processing {"connection_id":130980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ac"} 
[2026-07-11 20:26:38] local.INFO: GPS Element Parsed {"raw_longitude":752576576,"raw_latitude":120818920,"longitude_deg":75.2576576,"latitude_deg":12.081892,"altitude":9,"angle":199,"satellites":37,"speed":12,"hex_longitude":"2cdb6840","hex_latitude":"07338ce8","is_valid_coordinates":true} 
[2026-07-11 20:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648118784001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345533993023700992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636224232197976064,"note":"Value kept but may cause issues"} 
[2026-07-11 20:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783781717000,"timestamp_ms":1783781717000,"timestamp_seconds":1783781717,"priority":1,"record_length":96,"hex_timestamp":"0000019f51acf408"} 
[2026-07-11 20:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648118784001,"66":27376,"146":206,"83":40960,"24":12,"16":345533993023700992,"44":-2636224232197976064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-07-11 20:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648118784001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:26:38] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-11 20:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345533993023700992,"km_value":345533993023701.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:26:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636224232197976064,"description":"Unknown IO ID 44"} 
[2026-07-11 20:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648118784001,"power":27376,"unknown_146":206,"unknown_83":40960,"ignition":12,"odometer":null,"unknown_44":-2636224232197976064}} 
[2026-07-11 20:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":130980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:26:38] local.INFO: GPS data processed {"connection_id":130980,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:26:38] local.INFO: Acknowledgment sent {"connection_id":130980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:26:59] local.INFO: TCP Data received {"connection_id":128999,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:26:59] local.INFO: Processing buffer {"connection_id":128999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:26:59] local.INFO: IMEI packet received {"connection_id":128999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":128999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:27:03] local.INFO: TCP Data received {"connection_id":129000,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:27:03] local.INFO: Processing buffer {"connection_id":129000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:27:03] local.INFO: IMEI packet received {"connection_id":129000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":129000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:27:04] local.INFO: TCP Data received {"connection_id":128999,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:27:04] local.INFO: Processing buffer {"connection_id":128999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:27:04] local.INFO: IMEI packet received {"connection_id":128999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":128999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:27:05] local.INFO: TCP Data received {"connection_id":128999,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:27:05] local.INFO: Processing buffer {"connection_id":128999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:27:05] local.INFO: Packet analysis {"connection_id":128999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:27:05] local.INFO: Extracted packet for processing {"connection_id":128999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:27:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":128999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:27:05] local.INFO: GPS data processed {"connection_id":128999,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:27:05] local.INFO: Acknowledgment sent {"connection_id":128999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:27:07] local.INFO: TCP Data received {"connection_id":129000,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:27:07] local.INFO: Processing buffer {"connection_id":129000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:27:07] local.INFO: IMEI packet received {"connection_id":129000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":129000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:27:08] local.INFO: TCP Data received {"connection_id":129000,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51acfbd8012cdb6800073389b0000a00b527..."} 
[2026-07-11 20:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51acfbd8012cdb6800073389b0000a00b527..."} 
[2026-07-11 20:27:08] local.INFO: Processing buffer {"connection_id":129000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51acfbd8012cdb6800073389b0000a00b527..."} 
[2026-07-11 20:27:08] local.INFO: Packet analysis {"connection_id":129000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ac"} 
[2026-07-11 20:27:08] local.INFO: Extracted packet for processing {"connection_id":129000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ac"} 
[2026-07-11 20:27:08] local.INFO: GPS Element Parsed {"raw_longitude":752576512,"raw_latitude":120818096,"longitude_deg":75.2576512,"latitude_deg":12.0818096,"altitude":10,"angle":181,"satellites":39,"speed":16,"hex_longitude":"2cdb6800","hex_latitude":"073389b0","is_valid_coordinates":true} 
[2026-07-11 20:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648119552001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345534035973373952,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636787182151604224,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783781719000,"timestamp_ms":1783781719000,"timestamp_seconds":1783781719,"priority":1,"record_length":96,"hex_timestamp":"0000019f51acfbd8"} 
[2026-07-11 20:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:27:08] 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-07-11 20:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:27: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-07-11 20:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648119552001,"66":27082,"146":206,"83":40960,"24":16,"16":345534035973373952,"44":-2636787182151604224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-07-11 20:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648119552001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:27:08] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-11 20:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345534035973373952,"km_value":345534035973373.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636787182151604224,"description":"Unknown IO ID 44"} 
[2026-07-11 20:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648119552001,"power":27082,"unknown_146":206,"unknown_83":40960,"ignition":16,"odometer":null,"unknown_44":-2636787182151604224}} 
[2026-07-11 20:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":129000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:27:08] local.INFO: GPS data processed {"connection_id":129000,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:27:08] local.INFO: Acknowledgment sent {"connection_id":129000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:27:10] local.INFO: TCP Data received {"connection_id":128999,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:27:10] local.INFO: Processing buffer {"connection_id":128999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:27:10] local.INFO: Packet analysis {"connection_id":128999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:27:10] local.INFO: Extracted packet for processing {"connection_id":128999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:27:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":128999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:27:10] local.INFO: GPS data processed {"connection_id":128999,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:27:10] local.INFO: Acknowledgment sent {"connection_id":128999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:27:29] local.INFO: TCP Data received {"connection_id":128826,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:27:29] local.INFO: Processing buffer {"connection_id":128826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:27:29] local.INFO: IMEI packet received {"connection_id":128826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":128826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:27:34] local.INFO: TCP Data received {"connection_id":128826,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:27:34] local.INFO: Processing buffer {"connection_id":128826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:27:34] local.INFO: IMEI packet received {"connection_id":128826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":128826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:27:35] local.INFO: TCP Data received {"connection_id":128826,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:27:35] local.INFO: Processing buffer {"connection_id":128826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:27:35] local.INFO: Packet analysis {"connection_id":128826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:27:35] local.INFO: Extracted packet for processing {"connection_id":128826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648018944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783781625000,"timestamp_ms":1783781625000,"timestamp_seconds":1783781625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ab8ca8"} 
[2026-07-11 20:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 20:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":128826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":128826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":128826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648018944001,"66":2209,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648018944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:27:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648018944001,"power":2209,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":128826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:27:35] local.INFO: GPS data processed {"connection_id":128826,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:27:35] local.INFO: Acknowledgment sent {"connection_id":128826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:27:39] local.INFO: TCP Data received {"connection_id":129000,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ad1348012cdb690007337d38000d00aa27..."} 
[2026-07-11 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ad1348012cdb690007337d38000d00aa27..."} 
[2026-07-11 20:27:39] local.INFO: Processing buffer {"connection_id":129000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ad1348012cdb690007337d38000d00aa27..."} 
[2026-07-11 20:27:39] local.INFO: Packet analysis {"connection_id":129000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:27:39] local.INFO: Extracted packet for processing {"connection_id":129000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:27:39] local.INFO: GPS Element Parsed {"raw_longitude":752576768,"raw_latitude":120814904,"longitude_deg":75.2576768,"latitude_deg":12.0814904,"altitude":13,"angle":170,"satellites":39,"speed":23,"hex_longitude":"2cdb6900","hex_latitude":"07337d38","is_valid_coordinates":true} 
[2026-07-11 20:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648120064001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345534190592196608,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636857550895992832,"note":"Value kept but may cause issues"} 
[2026-07-11 20:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783781725000,"timestamp_ms":1783781725000,"timestamp_seconds":1783781725,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ad1348"} 
[2026-07-11 20:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-11 20:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648120064001,"66":27234,"146":206,"83":40960,"24":23,"16":345534190592196608,"44":-2636857550895992832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-07-11 20:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648120064001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:27:39] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-11 20:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345534190592196608,"km_value":345534190592196.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636857550895992832,"description":"Unknown IO ID 44"} 
[2026-07-11 20:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648120064001,"power":27234,"unknown_146":206,"unknown_83":40960,"ignition":23,"odometer":null,"unknown_44":-2636857550895992832}} 
[2026-07-11 20:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":129000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:27:39] local.INFO: GPS data processed {"connection_id":129000,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:27:39] local.INFO: Acknowledgment sent {"connection_id":129000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:27:59] local.INFO: TCP Data received {"connection_id":130982,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:27:59] local.INFO: Processing buffer {"connection_id":130982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:27:59] local.INFO: IMEI packet received {"connection_id":130982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":130982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:28:03] local.INFO: TCP Data received {"connection_id":130983,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:28:03] local.INFO: Processing buffer {"connection_id":130983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:28:03] local.INFO: IMEI packet received {"connection_id":130983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":130983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:28:04] local.INFO: TCP Data received {"connection_id":130982,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:28:04] local.INFO: Processing buffer {"connection_id":130982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:28:04] local.INFO: IMEI packet received {"connection_id":130982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":130982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:28:04] local.INFO: TCP Data received {"connection_id":130983,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:28:04] local.INFO: Processing buffer {"connection_id":130983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:28:04] local.INFO: IMEI packet received {"connection_id":130983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":130983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:28:06] local.INFO: TCP Data received {"connection_id":130982,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:28:06] local.INFO: Processing buffer {"connection_id":130982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:28:06] local.INFO: Packet analysis {"connection_id":130982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:28:06] local.INFO: Extracted packet for processing {"connection_id":130982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:28:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":130982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:28:06] local.INFO: GPS data processed {"connection_id":130982,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:28:06] local.INFO: Acknowledgment sent {"connection_id":130982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:28:06] local.INFO: TCP Data received {"connection_id":128826,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:28:06] local.INFO: Processing buffer {"connection_id":128826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:28:06] local.INFO: Packet analysis {"connection_id":128826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:28:06] local.INFO: Extracted packet for processing {"connection_id":128826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648018944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783781625000,"timestamp_ms":1783781625000,"timestamp_seconds":1783781625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ab8ca8"} 
[2026-07-11 20:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 20:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648018944001,"66":2209,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648018944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:28:06] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648018944001,"power":2209,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":128826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:28:06] local.INFO: GPS data processed {"connection_id":128826,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:28:06] local.INFO: Acknowledgment sent {"connection_id":128826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:28:09] local.INFO: TCP Data received {"connection_id":130983,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:28:09] local.INFO: Processing buffer {"connection_id":130983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:28:09] local.INFO: IMEI packet received {"connection_id":130983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":130983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:28:10] local.INFO: TCP Data received {"connection_id":130983,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ae7aa8012cdbb1c007324030001700b92a..."} 
[2026-07-11 20:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ae7aa8012cdbb1c007324030001700b92a..."} 
[2026-07-11 20:28:10] local.INFO: Processing buffer {"connection_id":130983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ae7aa8012cdbb1c007324030001700b92a..."} 
[2026-07-11 20:28:10] local.INFO: Packet analysis {"connection_id":130983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ae"} 
[2026-07-11 20:28:10] local.INFO: Extracted packet for processing {"connection_id":130983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ae"} 
[2026-07-11 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":752595392,"raw_latitude":120733744,"longitude_deg":75.2595392,"latitude_deg":12.0733744,"altitude":23,"angle":185,"satellites":42,"speed":36,"hex_longitude":"2cdbb1c0","hex_latitude":"07324030","is_valid_coordinates":true} 
[2026-07-11 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648142848001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345538287990996992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2615887665150210048,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783781817000,"timestamp_ms":1783781817000,"timestamp_seconds":1783781817,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ae7aa8"} 
[2026-07-11 20:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648142848001,"66":27321,"145":206,"83":40960,"24":36,"16":345538287990996992,"44":-2615887665150210048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-11 20:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648142848001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:28:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 20:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345538287990996992,"km_value":345538287990997.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2615887665150210048,"description":"Unknown IO ID 44"} 
[2026-07-11 20:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648142848001,"power":27321,"unknown_145":206,"unknown_83":40960,"ignition":36,"odometer":null,"unknown_44":-2615887665150210048}} 
[2026-07-11 20:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":130983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:28:10] local.INFO: GPS data processed {"connection_id":130983,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:28:10] local.INFO: Acknowledgment sent {"connection_id":130983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:28:15] local.INFO: TCP Data received {"connection_id":130981,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:28:15] local.INFO: Processing buffer {"connection_id":130981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:28:15] local.INFO: IMEI packet received {"connection_id":130981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":130981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:28:38] local.INFO: TCP Data received {"connection_id":130982,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:28:38] local.INFO: Processing buffer {"connection_id":130982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:28:38] local.INFO: Packet analysis {"connection_id":130982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:28:38] local.INFO: Extracted packet for processing {"connection_id":130982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:28:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":130982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:28:38] local.INFO: GPS data processed {"connection_id":130982,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:28:38] local.INFO: Acknowledgment sent {"connection_id":130982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:28:39] local.INFO: TCP Data received {"connection_id":129001,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:28:39] local.INFO: Processing buffer {"connection_id":129001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:28:39] local.INFO: IMEI packet received {"connection_id":129001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":129001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:28:41] local.INFO: TCP Data received {"connection_id":130983,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51aea5a0012cdbaf0007321b10001700b22a..."} 
[2026-07-11 20:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51aea5a0012cdbaf0007321b10001700b22a..."} 
[2026-07-11 20:28:42] local.INFO: Processing buffer {"connection_id":130983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51aea5a0012cdbaf0007321b10001700b22a..."} 
[2026-07-11 20:28:42] local.INFO: Packet analysis {"connection_id":130983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ae"} 
[2026-07-11 20:28:42] local.INFO: Extracted packet for processing {"connection_id":130983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ae"} 
[2026-07-11 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":752594688,"raw_latitude":120724240,"longitude_deg":75.2594688,"latitude_deg":12.072424,"altitude":23,"angle":178,"satellites":42,"speed":34,"hex_longitude":"2cdbaf00","hex_latitude":"07321b10","is_valid_coordinates":true} 
[2026-07-11 20:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648145152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345538747552497664,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2616098771385176064,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783781828000,"timestamp_ms":1783781828000,"timestamp_seconds":1783781828,"priority":1,"record_length":96,"hex_timestamp":"0000019f51aea5a0"} 
[2026-07-11 20:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648145152001,"66":27169,"145":206,"83":40960,"24":34,"16":345538747552497664,"44":-2616098771385176064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-11 20:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648145152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:28:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 20:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345538747552497664,"km_value":345538747552497.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2616098771385176064,"description":"Unknown IO ID 44"} 
[2026-07-11 20:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648145152001,"power":27169,"unknown_145":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2616098771385176064}} 
[2026-07-11 20:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":130983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:28:42] local.INFO: GPS data processed {"connection_id":130983,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:28:42] local.INFO: Acknowledgment sent {"connection_id":130983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:28:44] local.INFO: TCP Data received {"connection_id":129001,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:28:44] local.INFO: Processing buffer {"connection_id":129001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:28:44] local.INFO: IMEI packet received {"connection_id":129001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":129001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:28:44] local.INFO: TCP Data received {"connection_id":129002,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:28:44] local.INFO: Processing buffer {"connection_id":129002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:28:44] local.INFO: IMEI packet received {"connection_id":129002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":129002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:28:45] local.INFO: TCP Data received {"connection_id":129001,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:28:45] local.INFO: Processing buffer {"connection_id":129001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:28:45] local.INFO: Packet analysis {"connection_id":129001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:28:45] local.INFO: Extracted packet for processing {"connection_id":129001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648018944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783781625000,"timestamp_ms":1783781625000,"timestamp_seconds":1783781625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ab8ca8"} 
[2026-07-11 20:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 20:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648018944001,"66":2209,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648018944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:28:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:28:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648018944001,"power":2209,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":129001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:28:45] local.INFO: GPS data processed {"connection_id":129001,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:28:45] local.INFO: Acknowledgment sent {"connection_id":129001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:28:49] local.INFO: TCP Data received {"connection_id":129001,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:28:49] local.INFO: Processing buffer {"connection_id":129001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:28:49] local.INFO: Packet analysis {"connection_id":129001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:28:49] local.INFO: Extracted packet for processing {"connection_id":129001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:28:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648018944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783781625000,"timestamp_ms":1783781625000,"timestamp_seconds":1783781625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ab8ca8"} 
[2026-07-11 20:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 20:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":129001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":129001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":129001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648018944001,"66":2209,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648018944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:28:49] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:28:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648018944001,"power":2209,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":129001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:28:50] local.INFO: GPS data processed {"connection_id":129001,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:28:50] local.INFO: Acknowledgment sent {"connection_id":129001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:28:59] local.INFO: TCP Data received {"connection_id":129729,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:28:59] local.INFO: Processing buffer {"connection_id":129729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:28:59] local.INFO: IMEI packet received {"connection_id":129729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":129729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:29:03] local.INFO: TCP Data received {"connection_id":128827,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:29:03] local.INFO: Processing buffer {"connection_id":128827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:29:03] local.INFO: IMEI packet received {"connection_id":128827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":128827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:29:04] local.INFO: TCP Data received {"connection_id":129729,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:29:04] local.INFO: Processing buffer {"connection_id":129729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:29:04] local.INFO: IMEI packet received {"connection_id":129729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":129729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:29:05] local.INFO: TCP Data received {"connection_id":129729,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:29:05] local.INFO: Processing buffer {"connection_id":129729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:29:05] local.INFO: Packet analysis {"connection_id":129729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:29:05] local.INFO: Extracted packet for processing {"connection_id":129729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":129729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:29:05] local.INFO: GPS data processed {"connection_id":129729,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:29:05] local.INFO: Acknowledgment sent {"connection_id":129729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:29:07] local.INFO: TCP Data received {"connection_id":128827,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:29:07] local.INFO: Processing buffer {"connection_id":128827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:29:07] local.INFO: IMEI packet received {"connection_id":128827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":128827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:29:10] local.INFO: TCP Data received {"connection_id":128827,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:29:10] local.INFO: Processing buffer {"connection_id":128827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:29:10] local.INFO: IMEI packet received {"connection_id":128827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":128827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:29:11] local.INFO: TCP Data received {"connection_id":128827,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51aeccb0012cdbaf400731f818001800b32a..."} 
[2026-07-11 20:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51aeccb0012cdbaf400731f818001800b32a..."} 
[2026-07-11 20:29:11] local.INFO: Processing buffer {"connection_id":128827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51aeccb0012cdbaf400731f818001800b32a..."} 
[2026-07-11 20:29:11] local.INFO: Packet analysis {"connection_id":128827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ae"} 
[2026-07-11 20:29:11] local.INFO: Extracted packet for processing {"connection_id":128827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ae"} 
[2026-07-11 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":752594752,"raw_latitude":120715288,"longitude_deg":75.2594752,"latitude_deg":12.0715288,"altitude":24,"angle":179,"satellites":42,"speed":36,"hex_longitude":"2cdbaf40","hex_latitude":"0731f818","is_valid_coordinates":true} 
[2026-07-11 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648147968001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345539181344194560,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2616872827573563392,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781838000,"timestamp_ms":1783781838000,"timestamp_seconds":1783781838,"priority":1,"record_length":96,"hex_timestamp":"0000019f51aeccb0"} 
[2026-07-11 20:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 20:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648147968001,"66":27332,"144":206,"83":40960,"24":36,"16":345539181344194560,"44":-2616872827573563392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-07-11 20:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648147968001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:29:11] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-11 20:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345539181344194560,"km_value":345539181344194.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2616872827573563392,"description":"Unknown IO ID 44"} 
[2026-07-11 20:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648147968001,"power":27332,"unknown_144":206,"unknown_83":40960,"ignition":36,"odometer":null,"unknown_44":-2616872827573563392}} 
[2026-07-11 20:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":128827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:29:11] local.INFO: GPS data processed {"connection_id":128827,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:29:11] local.INFO: Acknowledgment sent {"connection_id":128827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:29:14] local.INFO: TCP Data received {"connection_id":128827,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51aeebf0012cdbad000731dc00001600be29..."} 
[2026-07-11 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51aeebf0012cdbad000731dc00001600be29..."} 
[2026-07-11 20:29:14] local.INFO: Processing buffer {"connection_id":128827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51aeebf0012cdbad000731dc00001600be29..."} 
[2026-07-11 20:29:14] local.INFO: Packet analysis {"connection_id":128827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ae"} 
[2026-07-11 20:29:14] local.INFO: Extracted packet for processing {"connection_id":128827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ae"} 
[2026-07-11 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":752594176,"raw_latitude":120708096,"longitude_deg":75.2594176,"latitude_deg":12.0708096,"altitude":22,"angle":190,"satellites":41,"speed":39,"hex_longitude":"2cdbad00","hex_latitude":"0731dc00","is_valid_coordinates":true} 
[2026-07-11 20:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648150528001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345539533531512832,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2616802458831677440,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783781846000,"timestamp_ms":1783781846000,"timestamp_seconds":1783781846,"priority":1,"record_length":96,"hex_timestamp":"0000019f51aeebf0"} 
[2026-07-11 20:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 20:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648150528001,"66":27300,"144":206,"83":40960,"24":39,"16":345539533531512832,"44":-2616802458831677440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-07-11 20:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648150528001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:29:14] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-11 20:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345539533531512832,"km_value":345539533531512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2616802458831677440,"description":"Unknown IO ID 44"} 
[2026-07-11 20:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648150528001,"power":27300,"unknown_144":206,"unknown_83":40960,"ignition":39,"odometer":null,"unknown_44":-2616802458831677440}} 
[2026-07-11 20:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":128827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:29:14] local.INFO: GPS data processed {"connection_id":128827,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:29:14] local.INFO: Acknowledgment sent {"connection_id":128827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:29:34] local.INFO: TCP Data received {"connection_id":130984,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:29:34] local.INFO: Processing buffer {"connection_id":130984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:29:34] local.INFO: IMEI packet received {"connection_id":130984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":130984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:29:37] local.INFO: TCP Data received {"connection_id":129729,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:29:37] local.INFO: Processing buffer {"connection_id":129729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:29:37] local.INFO: Packet analysis {"connection_id":129729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:29:37] local.INFO: Extracted packet for processing {"connection_id":129729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":129729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:29:37] local.INFO: GPS data processed {"connection_id":129729,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:29:37] local.INFO: Acknowledgment sent {"connection_id":129729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:29:39] local.INFO: TCP Data received {"connection_id":130984,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:29:39] local.INFO: Processing buffer {"connection_id":130984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:29:39] local.INFO: IMEI packet received {"connection_id":130984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":130984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:29:40] local.INFO: TCP Data received {"connection_id":130984,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:29:40] local.INFO: Processing buffer {"connection_id":130984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:29:40] local.INFO: Packet analysis {"connection_id":130984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:29:40] local.INFO: Extracted packet for processing {"connection_id":130984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648018944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781625000,"timestamp_ms":1783781625000,"timestamp_seconds":1783781625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ab8ca8"} 
[2026-07-11 20:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 20:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648018944001,"66":2209,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648018944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:29:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648018944001,"power":2209,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":130984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:29:40] local.INFO: GPS data processed {"connection_id":130984,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:29:40] local.INFO: Acknowledgment sent {"connection_id":130984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:29:45] local.INFO: TCP Data received {"connection_id":128827,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51af1300012cdba5800731b630001400b92a..."} 
[2026-07-11 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51af1300012cdba5800731b630001400b92a..."} 
[2026-07-11 20:29:45] local.INFO: Processing buffer {"connection_id":128827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51af1300012cdba5800731b630001400b92a..."} 
[2026-07-11 20:29:45] local.INFO: Packet analysis {"connection_id":128827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51af"} 
[2026-07-11 20:29:45] local.INFO: Extracted packet for processing {"connection_id":128827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51af"} 
[2026-07-11 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":752592256,"raw_latitude":120698416,"longitude_deg":75.2592256,"latitude_deg":12.0698416,"altitude":20,"angle":185,"satellites":42,"speed":40,"hex_longitude":"2cdba580","hex_latitude":"0731b630","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648152576001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345540010272882688,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2617435777531117568,"note":"Value kept but may cause issues"} 
[2026-07-11 20:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783781856000,"timestamp_ms":1783781856000,"timestamp_seconds":1783781856,"priority":1,"record_length":96,"hex_timestamp":"0000019f51af1300"} 
[2026-07-11 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-07-11 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 20:29:45] 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-07-11 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-07-11 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-07-11 20:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648152576001,"66":27332,"144":206,"83":40960,"24":40,"16":345540010272882688,"44":-2617435777531117568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-07-11 20:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648152576001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:29:45] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-11 20:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345540010272882688,"km_value":345540010272882.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2617435777531117568,"description":"Unknown IO ID 44"} 
[2026-07-11 20:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648152576001,"power":27332,"unknown_144":206,"unknown_83":40960,"ignition":40,"odometer":null,"unknown_44":-2617435777531117568}} 
[2026-07-11 20:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":128827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:29:45] local.INFO: GPS data processed {"connection_id":128827,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:29:45] local.INFO: Acknowledgment sent {"connection_id":128827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:29:59] local.INFO: TCP Data received {"connection_id":129730,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:29:59] local.INFO: Processing buffer {"connection_id":129730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:29:59] local.INFO: IMEI packet received {"connection_id":129730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":129730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:30:03] local.INFO: TCP Data received {"connection_id":129731,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:30:03] local.INFO: Processing buffer {"connection_id":129731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:30:03] local.INFO: IMEI packet received {"connection_id":129731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":129731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:30:04] local.INFO: TCP Data received {"connection_id":129730,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:30:04] local.INFO: Processing buffer {"connection_id":129730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:30:04] local.INFO: IMEI packet received {"connection_id":129730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":129730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:30:06] local.INFO: TCP Data received {"connection_id":129730,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:30:06] local.INFO: Processing buffer {"connection_id":129730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:30:06] local.INFO: Packet analysis {"connection_id":129730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:30:06] local.INFO: Extracted packet for processing {"connection_id":129730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:30:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":129730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:30:06] local.INFO: GPS data processed {"connection_id":129730,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:30:06] local.INFO: Acknowledgment sent {"connection_id":129730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:30:08] local.INFO: TCP Data received {"connection_id":129731,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:30:08] local.INFO: Processing buffer {"connection_id":129731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:30:08] local.INFO: IMEI packet received {"connection_id":129731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":129731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:30:09] local.INFO: TCP Data received {"connection_id":129731,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b062f0012cdbe100073081780008009429..."} 
[2026-07-11 20:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b062f0012cdbe100073081780008009429..."} 
[2026-07-11 20:30:09] local.INFO: Processing buffer {"connection_id":129731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b062f0012cdbe100073081780008009429..."} 
[2026-07-11 20:30:09] local.INFO: Packet analysis {"connection_id":129731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b0"} 
[2026-07-11 20:30:09] local.INFO: Extracted packet for processing {"connection_id":129731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b0"} 
[2026-07-11 20:30:09] local.INFO: GPS Element Parsed {"raw_longitude":752607488,"raw_latitude":120619384,"longitude_deg":75.2607488,"latitude_deg":12.0619384,"altitude":8,"angle":148,"satellites":41,"speed":35,"hex_longitude":"2cdbe100","hex_latitude":"07308178","is_valid_coordinates":true} 
[2026-07-11 20:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648176384001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345543953052860416,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2603995347415285760,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783781942000,"timestamp_ms":1783781942000,"timestamp_seconds":1783781942,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b062f0"} 
[2026-07-11 20:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:30:09] 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-07-11 20:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 20:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648176384001,"66":27397,"95":206,"83":40960,"24":35,"16":345543953052860416,"44":-2603995347415285760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 20:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648176384001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:30:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 20:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345543953052860416,"km_value":345543953052860.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:30:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2603995347415285760,"description":"Unknown IO ID 44"} 
[2026-07-11 20:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648176384001,"power":27397,"unknown_95":206,"unknown_83":40960,"ignition":35,"odometer":null,"unknown_44":-2603995347415285760}} 
[2026-07-11 20:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":129731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:30:09] local.INFO: GPS data processed {"connection_id":129731,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:30:09] local.INFO: Acknowledgment sent {"connection_id":129731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:30:11] local.INFO: TCP Data received {"connection_id":130984,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:30:11] local.INFO: Processing buffer {"connection_id":130984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:30:11] local.INFO: Packet analysis {"connection_id":130984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:30:11] local.INFO: Extracted packet for processing {"connection_id":130984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648018944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783781625000,"timestamp_ms":1783781625000,"timestamp_seconds":1783781625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ab8ca8"} 
[2026-07-11 20:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 20:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648018944001,"66":2209,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648018944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:30:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648018944001,"power":2209,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":130984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:30:11] local.INFO: GPS data processed {"connection_id":130984,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:30:11] local.INFO: Acknowledgment sent {"connection_id":130984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:30:34] local.INFO: TCP Data received {"connection_id":129004,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:30:34] local.INFO: Processing buffer {"connection_id":129004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:30:34] local.INFO: IMEI packet received {"connection_id":129004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":129004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:30:37] local.INFO: TCP Data received {"connection_id":129730,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:30:37] local.INFO: Processing buffer {"connection_id":129730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:30:37] local.INFO: Packet analysis {"connection_id":129730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:30:37] local.INFO: Extracted packet for processing {"connection_id":129730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:30:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":129730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:30:37] local.INFO: GPS data processed {"connection_id":129730,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:30:37] local.INFO: Acknowledgment sent {"connection_id":129730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:30:39] local.INFO: TCP Data received {"connection_id":129004,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:30:39] local.INFO: Processing buffer {"connection_id":129004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:30:39] local.INFO: IMEI packet received {"connection_id":129004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":129004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:30:39] local.INFO: TCP Data received {"connection_id":129004,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:30:39] local.INFO: Processing buffer {"connection_id":129004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:30:39] local.INFO: Packet analysis {"connection_id":129004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:30:39] local.INFO: Extracted packet for processing {"connection_id":129004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648018944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783781625000,"timestamp_ms":1783781625000,"timestamp_seconds":1783781625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ab8ca8"} 
[2026-07-11 20:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 20:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648018944001,"66":2209,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648018944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:30:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648018944001,"power":2209,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":129004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:30:40] local.INFO: GPS data processed {"connection_id":129004,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:30:40] local.INFO: Acknowledgment sent {"connection_id":129004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:30:40] local.INFO: TCP Data received {"connection_id":129731,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b08a00012cdbf68007306368000500922b..."} 
[2026-07-11 20:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b08a00012cdbf68007306368000500922b..."} 
[2026-07-11 20:30:40] local.INFO: Processing buffer {"connection_id":129731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b08a00012cdbf68007306368000500922b..."} 
[2026-07-11 20:30:40] local.INFO: Packet analysis {"connection_id":129731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b0"} 
[2026-07-11 20:30:40] local.INFO: Extracted packet for processing {"connection_id":129731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b0"} 
[2026-07-11 20:30:40] local.INFO: GPS Element Parsed {"raw_longitude":752612992,"raw_latitude":120611688,"longitude_deg":75.2612992,"latitude_deg":12.0611688,"altitude":5,"angle":146,"satellites":43,"speed":40,"hex_longitude":"2cdbf680","hex_latitude":"07306368","is_valid_coordinates":true} 
[2026-07-11 20:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648177152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345544408319393792,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2602799078764873728,"note":"Value kept but may cause issues"} 
[2026-07-11 20:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781952000,"timestamp_ms":1783781952000,"timestamp_seconds":1783781952,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b08a00"} 
[2026-07-11 20:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648177152001,"66":27267,"95":206,"83":40960,"24":40,"16":345544408319393792,"44":-2602799078764873728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 20:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648177152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:30:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 20:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345544408319393792,"km_value":345544408319393.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2602799078764873728,"description":"Unknown IO ID 44"} 
[2026-07-11 20:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648177152001,"power":27267,"unknown_95":206,"unknown_83":40960,"ignition":40,"odometer":null,"unknown_44":-2602799078764873728}} 
[2026-07-11 20:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":129731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:30:40] local.INFO: GPS data processed {"connection_id":129731,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:30:40] local.INFO: Acknowledgment sent {"connection_id":129731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:31:04] local.INFO: TCP Data received {"connection_id":128829,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:31:04] local.INFO: Processing buffer {"connection_id":128829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:31:04] local.INFO: IMEI packet received {"connection_id":128829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":128829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:31:08] local.INFO: TCP Data received {"connection_id":129732,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:31:08] local.INFO: Processing buffer {"connection_id":129732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:31:08] local.INFO: IMEI packet received {"connection_id":129732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":129732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:31:09] local.INFO: TCP Data received {"connection_id":128829,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:31:09] local.INFO: Processing buffer {"connection_id":128829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:31:09] local.INFO: IMEI packet received {"connection_id":128829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":128829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:31:10] local.INFO: TCP Data received {"connection_id":128829,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:31:10] local.INFO: Processing buffer {"connection_id":128829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:31:10] local.INFO: Packet analysis {"connection_id":128829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:31:10] local.INFO: Extracted packet for processing {"connection_id":128829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:31:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":128829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:31:10] local.INFO: GPS data processed {"connection_id":128829,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:31:10] local.INFO: Acknowledgment sent {"connection_id":128829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:31:10] local.INFO: TCP Data received {"connection_id":129004,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:31:10] local.INFO: Processing buffer {"connection_id":129004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:31:10] local.INFO: Packet analysis {"connection_id":129004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:31:10] local.INFO: Extracted packet for processing {"connection_id":129004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648018944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783781625000,"timestamp_ms":1783781625000,"timestamp_seconds":1783781625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ab8ca8"} 
[2026-07-11 20:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 20:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648018944001,"66":2209,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648018944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:31:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648018944001,"power":2209,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":129004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:31:11] local.INFO: GPS data processed {"connection_id":129004,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:31:11] local.INFO: Acknowledgment sent {"connection_id":129004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:31:11] local.INFO: TCP Data received {"connection_id":129732,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:31:11] local.INFO: Processing buffer {"connection_id":129732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:31:11] local.INFO: IMEI packet received {"connection_id":129732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":129732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:31:12] local.INFO: TCP Data received {"connection_id":129732,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b0b4f8012cdc0bc0073043b0000400942a..."} 
[2026-07-11 20:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b0b4f8012cdc0bc0073043b0000400942a..."} 
[2026-07-11 20:31:12] local.INFO: Processing buffer {"connection_id":129732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b0b4f8012cdc0bc0073043b0000400942a..."} 
[2026-07-11 20:31:12] local.INFO: Packet analysis {"connection_id":129732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b0"} 
[2026-07-11 20:31:12] local.INFO: Extracted packet for processing {"connection_id":129732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b0"} 
[2026-07-11 20:31:12] local.INFO: GPS Element Parsed {"raw_longitude":752618432,"raw_latitude":120603568,"longitude_deg":75.2618432,"latitude_deg":12.0603568,"altitude":4,"angle":148,"satellites":42,"speed":33,"hex_longitude":"2cdc0bc0","hex_latitude":"073043b0","is_valid_coordinates":true} 
[2026-07-11 20:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648179712001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345544880765796352,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2596747366767564800,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783781963000,"timestamp_ms":1783781963000,"timestamp_seconds":1783781963,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b0b4f8"} 
[2026-07-11 20:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 20:31: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-07-11 20:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648179712001,"66":27245,"95":206,"83":40960,"24":33,"16":345544880765796352,"44":-2596747366767564800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 20:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648179712001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:31:12] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 20:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345544880765796352,"km_value":345544880765796.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2596747366767564800,"description":"Unknown IO ID 44"} 
[2026-07-11 20:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648179712001,"power":27245,"unknown_95":206,"unknown_83":40960,"ignition":33,"odometer":null,"unknown_44":-2596747366767564800}} 
[2026-07-11 20:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":129732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:31:12] local.INFO: GPS data processed {"connection_id":129732,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:31:12] local.INFO: Acknowledgment sent {"connection_id":129732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:31:13] local.INFO: TCP Data received {"connection_id":129732,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b0dff0012cdc1f40073024e8000600972a..."} 
[2026-07-11 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b0dff0012cdc1f40073024e8000600972a..."} 
[2026-07-11 20:31:13] local.INFO: Processing buffer {"connection_id":129732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b0dff0012cdc1f40073024e8000600972a..."} 
[2026-07-11 20:31:13] local.INFO: Packet analysis {"connection_id":129732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b0"} 
[2026-07-11 20:31:13] local.INFO: Extracted packet for processing {"connection_id":129732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b0"} 
[2026-07-11 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":752623424,"raw_latitude":120595688,"longitude_deg":75.2623424,"latitude_deg":12.0595688,"altitude":6,"angle":151,"satellites":42,"speed":31,"hex_longitude":"2cdc1f40","hex_latitude":"073024e8","is_valid_coordinates":true} 
[2026-07-11 20:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648182528001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345545331737362432,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2590766023514542080,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783781974000,"timestamp_ms":1783781974000,"timestamp_seconds":1783781974,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b0dff0"} 
[2026-07-11 20:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 20:31:13] 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-07-11 20:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648182528001,"66":27376,"95":206,"83":40960,"24":31,"16":345545331737362432,"44":-2590766023514542080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 20:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648182528001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:31:13] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 20:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345545331737362432,"km_value":345545331737362.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2590766023514542080,"description":"Unknown IO ID 44"} 
[2026-07-11 20:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648182528001,"power":27376,"unknown_95":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2590766023514542080}} 
[2026-07-11 20:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":129732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:31:13] local.INFO: GPS data processed {"connection_id":129732,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:31:13] local.INFO: Acknowledgment sent {"connection_id":129732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:31:15] local.INFO: TCP Data received {"connection_id":128829,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:31:15] local.INFO: Processing buffer {"connection_id":128829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51adb370012d196680071fef80003b011a27..."} 
[2026-07-11 20:31:15] local.INFO: Packet analysis {"connection_id":128829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:31:15] local.INFO: Extracted packet for processing {"connection_id":128829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ad"} 
[2026-07-11 20:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648055040001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783781766000,"timestamp_ms":1783781766000,"timestamp_seconds":1783781766,"priority":1,"record_length":96,"hex_timestamp":"0000019f51adb370"} 
[2026-07-11 20:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648055040001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648055040001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:31:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648055040001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":128829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:31:15] local.INFO: GPS data processed {"connection_id":128829,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:31:15] local.INFO: Acknowledgment sent {"connection_id":128829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:31:34] local.INFO: TCP Data received {"connection_id":130985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:31:34] local.INFO: Processing buffer {"connection_id":130985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:31:34] local.INFO: IMEI packet received {"connection_id":130985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":130985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:31:39] local.INFO: TCP Data received {"connection_id":130985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:31:39] local.INFO: Processing buffer {"connection_id":130985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:31:39] local.INFO: IMEI packet received {"connection_id":130985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":130985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:31:40] local.INFO: TCP Data received {"connection_id":130985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:31:40] local.INFO: Processing buffer {"connection_id":130985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ab8ca8012d7e380005d34dd80001003023..."} 
[2026-07-11 20:31:40] local.INFO: Packet analysis {"connection_id":130985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:31:40] local.INFO: Extracted packet for processing {"connection_id":130985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ab"} 
[2026-07-11 20:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648018944001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783781625000,"timestamp_ms":1783781625000,"timestamp_seconds":1783781625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ab8ca8"} 
[2026-07-11 20:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-11 20:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648018944001,"66":2209,"115":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-11 20:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648018944001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:31:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-11 20:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648018944001,"power":2209,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":130985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:31:40] local.INFO: GPS data processed {"connection_id":130985,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:31:40] local.INFO: Acknowledgment sent {"connection_id":130985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:31:44] local.INFO: TCP Data received {"connection_id":129732,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b10ed0012cdc334007300628000500932a..."} 
[2026-07-11 20:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b10ed0012cdc334007300628000500932a..."} 
[2026-07-11 20:31:44] local.INFO: Processing buffer {"connection_id":129732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b10ed0012cdc334007300628000500932a..."} 
[2026-07-11 20:31:44] local.INFO: Packet analysis {"connection_id":129732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b1"} 
[2026-07-11 20:31:44] local.INFO: Extracted packet for processing {"connection_id":129732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b1"} 
[2026-07-11 20:31:44] local.INFO: GPS Element Parsed {"raw_longitude":752628544,"raw_latitude":120587816,"longitude_deg":75.2628544,"latitude_deg":12.0587816,"altitude":5,"angle":147,"satellites":42,"speed":34,"hex_longitude":"2cdc3340","hex_latitude":"07300628","is_valid_coordinates":true} 
[2026-07-11 20:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648185344001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345545782708928512,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2585277261470701568,"note":"Value kept but may cause issues"} 
[2026-07-11 20:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783781986000,"timestamp_ms":1783781986000,"timestamp_seconds":1783781986,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b10ed0"} 
[2026-07-11 20:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648185344001,"66":27365,"95":206,"83":40960,"24":34,"16":345545782708928512,"44":-2585277261470701568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 20:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648185344001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:31:44] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 20:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345545782708928512,"km_value":345545782708928.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:31:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2585277261470701568,"description":"Unknown IO ID 44"} 
[2026-07-11 20:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648185344001,"power":27365,"unknown_95":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2585277261470701568}} 
[2026-07-11 20:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":129732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:31:44] local.INFO: GPS data processed {"connection_id":129732,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:31:44] local.INFO: Acknowledgment sent {"connection_id":129732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:32:00] local.INFO: TCP Data received {"connection_id":128830,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:32:00] local.INFO: Processing buffer {"connection_id":128830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:32:00] local.INFO: IMEI packet received {"connection_id":128830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":128830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:32:03] local.INFO: TCP Data received {"connection_id":128831,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:32:03] local.INFO: Processing buffer {"connection_id":128831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:32:03] local.INFO: IMEI packet received {"connection_id":128831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":128831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:32:04] local.INFO: TCP Data received {"connection_id":128830,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:32:04] local.INFO: Processing buffer {"connection_id":128830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:32:04] local.INFO: IMEI packet received {"connection_id":128830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":128830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:32:05] local.INFO: TCP Data received {"connection_id":128830,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:32:05] local.INFO: Processing buffer {"connection_id":128830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:32:05] local.INFO: Packet analysis {"connection_id":128830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:32:05] local.INFO: Extracted packet for processing {"connection_id":128830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":128830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:32:06] local.INFO: GPS data processed {"connection_id":128830,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:32:06] local.INFO: Acknowledgment sent {"connection_id":128830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:32:08] local.INFO: TCP Data received {"connection_id":128831,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:32:08] local.INFO: Processing buffer {"connection_id":128831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:32:08] local.INFO: IMEI packet received {"connection_id":128831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":128831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:32:09] local.INFO: TCP Data received {"connection_id":128831,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b139c8012cdc4740072fe6680005009329..."} 
[2026-07-11 20:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b139c8012cdc4740072fe6680005009329..."} 
[2026-07-11 20:32:09] local.INFO: Processing buffer {"connection_id":128831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b139c8012cdc4740072fe6680005009329..."} 
[2026-07-11 20:32:09] local.INFO: Packet analysis {"connection_id":128831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b1"} 
[2026-07-11 20:32:09] local.INFO: Extracted packet for processing {"connection_id":128831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b1"} 
[2026-07-11 20:32:09] local.INFO: GPS Element Parsed {"raw_longitude":752633664,"raw_latitude":120579688,"longitude_deg":75.2633664,"latitude_deg":12.0579688,"altitude":5,"angle":147,"satellites":41,"speed":28,"hex_longitude":"2cdc4740","hex_latitude":"072fe668","is_valid_coordinates":true} 
[2026-07-11 20:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648188416001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345546246565396480,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2579647761938503680,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783781997000,"timestamp_ms":1783781997000,"timestamp_seconds":1783781997,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b139c8"} 
[2026-07-11 20:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:32:09] 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-07-11 20:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648188416001,"66":27376,"95":206,"83":40960,"24":28,"16":345546246565396480,"44":-2579647761938503680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 20:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648188416001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:32:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 20:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345546246565396480,"km_value":345546246565396.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2579647761938503680,"description":"Unknown IO ID 44"} 
[2026-07-11 20:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648188416001,"power":27376,"unknown_95":206,"unknown_83":40960,"ignition":28,"odometer":null,"unknown_44":-2579647761938503680}} 
[2026-07-11 20:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":128831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:32:09] local.INFO: GPS data processed {"connection_id":128831,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:32:09] local.INFO: Acknowledgment sent {"connection_id":128831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:32:10] local.INFO: TCP Data received {"connection_id":128830,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:32:10] local.INFO: Processing buffer {"connection_id":128830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:32:10] local.INFO: Packet analysis {"connection_id":128830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:32:10] local.INFO: Extracted packet for processing {"connection_id":128830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:32:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":128830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:32:10] local.INFO: GPS data processed {"connection_id":128830,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:32:10] local.INFO: Acknowledgment sent {"connection_id":128830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:32:10] local.INFO: TCP Data received {"connection_id":130985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:32:10] local.INFO: Processing buffer {"connection_id":130985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:32:10] local.INFO: Packet analysis {"connection_id":130985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:32:10] local.INFO: Extracted packet for processing {"connection_id":130985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:32:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":130985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:32:10] local.INFO: GPS data processed {"connection_id":130985,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:32:10] local.INFO: Acknowledgment sent {"connection_id":130985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:32:34] local.INFO: TCP Data received {"connection_id":129734,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129734,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:32:34] local.INFO: Processing buffer {"connection_id":129734,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:32:34] local.INFO: IMEI packet received {"connection_id":129734,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":129734,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:32:39] local.INFO: TCP Data received {"connection_id":129734,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129734,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:32:39] local.INFO: Processing buffer {"connection_id":129734,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:32:39] local.INFO: IMEI packet received {"connection_id":129734,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":129734,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:32:40] local.INFO: TCP Data received {"connection_id":129734,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:32:40] local.INFO: Processing buffer {"connection_id":129734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:32:40] local.INFO: Packet analysis {"connection_id":129734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:32:40] local.INFO: Extracted packet for processing {"connection_id":129734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:32:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":129734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:32:40] local.INFO: GPS data processed {"connection_id":129734,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:32:40] local.INFO: Acknowledgment sent {"connection_id":129734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:32:40] local.INFO: TCP Data received {"connection_id":128831,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b18018012cdc5bc0072fc718000500922b..."} 
[2026-07-11 20:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b18018012cdc5bc0072fc718000500922b..."} 
[2026-07-11 20:32:40] local.INFO: Processing buffer {"connection_id":128831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b18018012cdc5bc0072fc718000500922b..."} 
[2026-07-11 20:32:40] local.INFO: Packet analysis {"connection_id":128831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b1"} 
[2026-07-11 20:32:40] local.INFO: Extracted packet for processing {"connection_id":128831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b1"} 
[2026-07-11 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":752638912,"raw_latitude":120571672,"longitude_deg":75.2638912,"latitude_deg":12.0571672,"altitude":5,"angle":146,"satellites":43,"speed":28,"hex_longitude":"2cdc5bc0","hex_latitude":"072fc718","is_valid_coordinates":true} 
[2026-07-11 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648191232001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345546710421864448,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2574018262406371328,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782015000,"timestamp_ms":1783782015000,"timestamp_seconds":1783782015,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b18018"} 
[2026-07-11 20:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648191232001,"66":27267,"95":206,"83":40960,"24":28,"16":345546710421864448,"44":-2574018262406371328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 20:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648191232001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:32:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 20:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345546710421864448,"km_value":345546710421864.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2574018262406371328,"description":"Unknown IO ID 44"} 
[2026-07-11 20:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648191232001,"power":27267,"unknown_95":206,"unknown_83":40960,"ignition":28,"odometer":null,"unknown_44":-2574018262406371328}} 
[2026-07-11 20:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":128831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:32:40] local.INFO: GPS data processed {"connection_id":128831,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:32:40] local.INFO: Acknowledgment sent {"connection_id":128831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:32:41] local.INFO: TCP Data received {"connection_id":128830,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:32:41] local.INFO: Processing buffer {"connection_id":128830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:32:41] local.INFO: Packet analysis {"connection_id":128830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:32:41] local.INFO: Extracted packet for processing {"connection_id":128830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:32:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:32:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":128830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:32:42] local.INFO: GPS data processed {"connection_id":128830,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:32:42] local.INFO: Acknowledgment sent {"connection_id":128830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:32:59] local.INFO: TCP Data received {"connection_id":130987,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:32:59] local.INFO: Processing buffer {"connection_id":130987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:32:59] local.INFO: IMEI packet received {"connection_id":130987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":130987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:33:03] local.INFO: TCP Data received {"connection_id":130988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:33:03] local.INFO: Processing buffer {"connection_id":130988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:33:03] local.INFO: IMEI packet received {"connection_id":130988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":130988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:33:04] local.INFO: TCP Data received {"connection_id":130987,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:33:04] local.INFO: Processing buffer {"connection_id":130987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:33:04] local.INFO: IMEI packet received {"connection_id":130987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":130987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:33:09] local.INFO: TCP Data received {"connection_id":130988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:33:09] local.INFO: Processing buffer {"connection_id":130988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:33:09] local.INFO: IMEI packet received {"connection_id":130988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":130988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:33:09] local.INFO: TCP Data received {"connection_id":130988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b1a340012cdc6f40072fb030000500862a..."} 
[2026-07-11 20:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b1a340012cdc6f40072fb030000500862a..."} 
[2026-07-11 20:33:09] local.INFO: Processing buffer {"connection_id":130988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b1a340012cdc6f40072fb030000500862a..."} 
[2026-07-11 20:33:09] local.INFO: Packet analysis {"connection_id":130988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b1"} 
[2026-07-11 20:33:09] local.INFO: Extracted packet for processing {"connection_id":130988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b1"} 
[2026-07-11 20:33:09] local.INFO: GPS Element Parsed {"raw_longitude":752643904,"raw_latitude":120565808,"longitude_deg":75.2643904,"latitude_deg":12.0565808,"altitude":5,"angle":134,"satellites":42,"speed":37,"hex_longitude":"2cdc6f40","hex_latitude":"072fb030","is_valid_coordinates":true} 
[2026-07-11 20:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648195840001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345547079789051904,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2568248025385854976,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783782024000,"timestamp_ms":1783782024000,"timestamp_seconds":1783782024,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b1a340"} 
[2026-07-11 20:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 20:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648195840001,"66":27365,"93":206,"83":40960,"24":37,"16":345547079789051904,"44":-2568248025385854976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-07-11 20:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648195840001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:33:09] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-11 20:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345547079789051904,"km_value":345547079789051.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:33:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2568248025385854976,"description":"Unknown IO ID 44"} 
[2026-07-11 20:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648195840001,"power":27365,"unknown_93":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2568248025385854976}} 
[2026-07-11 20:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":130988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:33:09] local.INFO: GPS data processed {"connection_id":130988,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:33:09] local.INFO: Acknowledgment sent {"connection_id":130988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:33:10] local.INFO: TCP Data received {"connection_id":130987,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:33:10] local.INFO: Processing buffer {"connection_id":130987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:33:10] local.INFO: Packet analysis {"connection_id":130987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:33:10] local.INFO: Extracted packet for processing {"connection_id":130987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:33:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":130987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:33:10] local.INFO: GPS data processed {"connection_id":130987,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:33:10] local.INFO: Acknowledgment sent {"connection_id":130987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:33:11] local.INFO: TCP Data received {"connection_id":129734,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:33:11] local.INFO: Processing buffer {"connection_id":129734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:33:11] local.INFO: Packet analysis {"connection_id":129734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:33:11] local.INFO: Extracted packet for processing {"connection_id":129734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:33:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":129734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:33:11] local.INFO: GPS data processed {"connection_id":129734,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:33:11] local.INFO: Acknowledgment sent {"connection_id":129734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:33:39] local.INFO: TCP Data received {"connection_id":128833,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:33:39] local.INFO: Processing buffer {"connection_id":128833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:33:39] local.INFO: IMEI packet received {"connection_id":128833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":128833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:33:40] local.INFO: TCP Data received {"connection_id":130988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b37418012cdcd800072f11f0001000a729..."} 
[2026-07-11 20:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b37418012cdcd800072f11f0001000a729..."} 
[2026-07-11 20:33:40] local.INFO: Processing buffer {"connection_id":130988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b37418012cdcd800072f11f0001000a729..."} 
[2026-07-11 20:33:40] local.INFO: Packet analysis {"connection_id":130988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:33:40] local.INFO: Extracted packet for processing {"connection_id":130988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:33:40] local.INFO: GPS Element Parsed {"raw_longitude":752670720,"raw_latitude":120525296,"longitude_deg":75.267072,"latitude_deg":12.0525296,"altitude":16,"angle":167,"satellites":41,"speed":8,"hex_longitude":"2cdcd800","hex_latitude":"072f11f0","is_valid_coordinates":true} 
[2026-07-11 20:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648225024001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345549167143157760,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2534471028191684608,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782143000,"timestamp_ms":1783782143000,"timestamp_seconds":1783782143,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b37418"} 
[2026-07-11 20:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648225024001,"66":27376,"93":206,"83":40960,"24":8,"16":345549167143157760,"44":-2534471028191684608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-07-11 20:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648225024001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:33:40] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-11 20:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345549167143157760,"km_value":345549167143157.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2534471028191684608,"description":"Unknown IO ID 44"} 
[2026-07-11 20:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648225024001,"power":27376,"unknown_93":206,"unknown_83":40960,"ignition":8,"odometer":null,"unknown_44":-2534471028191684608}} 
[2026-07-11 20:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":130988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:33:40] local.INFO: GPS data processed {"connection_id":130988,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:33:40] local.INFO: Acknowledgment sent {"connection_id":130988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:33:44] local.INFO: TCP Data received {"connection_id":128833,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:33:44] local.INFO: Processing buffer {"connection_id":128833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:33:44] local.INFO: IMEI packet received {"connection_id":128833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":128833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:33:45] local.INFO: TCP Data received {"connection_id":128833,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:33:45] local.INFO: Processing buffer {"connection_id":128833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:33:45] local.INFO: Packet analysis {"connection_id":128833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:33:45] local.INFO: Extracted packet for processing {"connection_id":128833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:33:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":128833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:33:45] local.INFO: GPS data processed {"connection_id":128833,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:33:45] local.INFO: Acknowledgment sent {"connection_id":128833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:33:46] local.INFO: TCP Data received {"connection_id":130987,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:33:46] local.INFO: Processing buffer {"connection_id":130987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:33:46] local.INFO: Packet analysis {"connection_id":130987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:33:46] local.INFO: Extracted packet for processing {"connection_id":130987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:33:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:33:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":130987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:33:46] local.INFO: GPS data processed {"connection_id":130987,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:33:46] local.INFO: Acknowledgment sent {"connection_id":130987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:33:49] local.INFO: TCP Data received {"connection_id":128833,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:33:49] local.INFO: Processing buffer {"connection_id":128833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:33:49] local.INFO: Packet analysis {"connection_id":128833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:33:49] local.INFO: Extracted packet for processing {"connection_id":128833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":128833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":128833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":128833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:33:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":128833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:33:50] local.INFO: GPS data processed {"connection_id":128833,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:33:50] local.INFO: Acknowledgment sent {"connection_id":128833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:34:03] local.INFO: TCP Data received {"connection_id":129006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:34:03] local.INFO: Processing buffer {"connection_id":129006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:34:03] local.INFO: IMEI packet received {"connection_id":129006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":129006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:34:04] local.INFO: TCP Data received {"connection_id":130989,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:34:04] local.INFO: Processing buffer {"connection_id":130989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:34:04] local.INFO: IMEI packet received {"connection_id":130989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":130989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:34:06] local.INFO: TCP Data received {"connection_id":129006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:34:06] local.INFO: Processing buffer {"connection_id":129006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:34:06] local.INFO: IMEI packet received {"connection_id":129006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":129006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:34:09] local.INFO: TCP Data received {"connection_id":129006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:34:09] local.INFO: Processing buffer {"connection_id":129006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:34:09] local.INFO: IMEI packet received {"connection_id":129006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":129006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:34:09] local.INFO: TCP Data received {"connection_id":130989,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:34:09] local.INFO: Processing buffer {"connection_id":130989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:34:09] local.INFO: IMEI packet received {"connection_id":130989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":130989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:34:09] local.INFO: TCP Data received {"connection_id":129006,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b39740012cdcd900072f0a78001200b229..."} 
[2026-07-11 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b39740012cdcd900072f0a78001200b229..."} 
[2026-07-11 20:34:09] local.INFO: Processing buffer {"connection_id":129006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b39740012cdcd900072f0a78001200b229..."} 
[2026-07-11 20:34:09] local.INFO: Packet analysis {"connection_id":129006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:34:09] local.INFO: Extracted packet for processing {"connection_id":129006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:34:09] local.INFO: GPS Element Parsed {"raw_longitude":752670976,"raw_latitude":120523384,"longitude_deg":75.2670976,"latitude_deg":12.0523384,"altitude":18,"angle":178,"satellites":41,"speed":8,"hex_longitude":"2cdcd900","hex_latitude":"072f0a78","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648228608001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345549261632438272,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2533274759541428224,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783782152000,"timestamp_ms":1783782152000,"timestamp_seconds":1783782152,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b39740"} 
[2026-07-11 20:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648228608001,"66":27213,"93":206,"83":40960,"24":8,"16":345549261632438272,"44":-2533274759541428224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-07-11 20:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648228608001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:34:09] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-11 20:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345549261632438272,"km_value":345549261632438.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2533274759541428224,"description":"Unknown IO ID 44"} 
[2026-07-11 20:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648228608001,"power":27213,"unknown_93":206,"unknown_83":40960,"ignition":8,"odometer":null,"unknown_44":-2533274759541428224}} 
[2026-07-11 20:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":129006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:34:09] local.INFO: GPS data processed {"connection_id":129006,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:34:09] local.INFO: Acknowledgment sent {"connection_id":129006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:34:10] local.INFO: TCP Data received {"connection_id":129005,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:34:10] local.INFO: Processing buffer {"connection_id":129005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:34:10] local.INFO: IMEI packet received {"connection_id":129005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":129005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:34:10] local.INFO: TCP Data received {"connection_id":130989,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:34:10] local.INFO: Processing buffer {"connection_id":130989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:34:10] local.INFO: Packet analysis {"connection_id":130989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:34:10] local.INFO: Extracted packet for processing {"connection_id":130989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:34:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:34:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":130989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:34:11] local.INFO: GPS data processed {"connection_id":130989,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:34:11] local.INFO: Acknowledgment sent {"connection_id":130989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:34:15] local.INFO: TCP Data received {"connection_id":130989,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:34:15] local.INFO: Processing buffer {"connection_id":130989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:34:15] local.INFO: Packet analysis {"connection_id":130989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:34:15] local.INFO: Extracted packet for processing {"connection_id":130989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:34:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:34:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":130989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:34:15] local.INFO: GPS data processed {"connection_id":130989,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:34:15] local.INFO: Acknowledgment sent {"connection_id":130989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:34:34] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:34:34] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:34:34] local.INFO: IMEI packet received {"connection_id":128834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":128834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:34:39] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:34:39] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:34:39] local.INFO: IMEI packet received {"connection_id":128834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":128834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:34:40] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:34:40] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:34:40] local.INFO: Packet analysis {"connection_id":128834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:34:40] local.INFO: Extracted packet for processing {"connection_id":128834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 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-07-11 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:34:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":128834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:34:40] local.INFO: GPS data processed {"connection_id":128834,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:34:40] local.INFO: Acknowledgment sent {"connection_id":128834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:34:40] local.INFO: TCP Data received {"connection_id":129006,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b3cdf0012cdcd8c0072eff40001400c129..."} 
[2026-07-11 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b3cdf0012cdcd8c0072eff40001400c129..."} 
[2026-07-11 20:34:40] local.INFO: Processing buffer {"connection_id":129006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b3cdf0012cdcd8c0072eff40001400c129..."} 
[2026-07-11 20:34:40] local.INFO: Packet analysis {"connection_id":129006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:34:40] local.INFO: Extracted packet for processing {"connection_id":129006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":752670912,"raw_latitude":120520512,"longitude_deg":75.2670912,"latitude_deg":12.0520512,"altitude":20,"angle":193,"satellites":41,"speed":8,"hex_longitude":"2cdcd8c0","hex_latitude":"072eff40","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648230912001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345549403366359040,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2532993284565207040,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782166000,"timestamp_ms":1783782166000,"timestamp_seconds":1783782166,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b3cdf0"} 
[2026-07-11 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-07-11 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 20:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648230912001,"66":27463,"93":206,"83":40960,"24":8,"16":345549403366359040,"44":-2532993284565207040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-07-11 20:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648230912001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:34:40] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-11 20:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345549403366359040,"km_value":345549403366359.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2532993284565207040,"description":"Unknown IO ID 44"} 
[2026-07-11 20:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648230912001,"power":27463,"unknown_93":206,"unknown_83":40960,"ignition":8,"odometer":null,"unknown_44":-2532993284565207040}} 
[2026-07-11 20:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":129006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:34:40] local.INFO: GPS data processed {"connection_id":129006,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:34:40] local.INFO: Acknowledgment sent {"connection_id":129006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:34:44] local.INFO: TCP Data received {"connection_id":128835,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:34:44] local.INFO: Processing buffer {"connection_id":128835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:34:44] local.INFO: IMEI packet received {"connection_id":128835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":128835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:34:44] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:34:44] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:34:44] local.INFO: Packet analysis {"connection_id":128834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:34:44] local.INFO: Extracted packet for processing {"connection_id":128834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:34:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":128834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:34:44] local.INFO: GPS data processed {"connection_id":128834,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:34:44] local.INFO: Acknowledgment sent {"connection_id":128834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:34:59] local.INFO: TCP Data received {"connection_id":129735,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:34:59] local.INFO: Processing buffer {"connection_id":129735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:34:59] local.INFO: IMEI packet received {"connection_id":129735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":129735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:35:04] local.INFO: TCP Data received {"connection_id":129735,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:35:04] local.INFO: Processing buffer {"connection_id":129735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:35:04] local.INFO: IMEI packet received {"connection_id":129735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":129735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:35:05] local.INFO: TCP Data received {"connection_id":129735,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:35:05] local.INFO: Processing buffer {"connection_id":129735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:35:05] local.INFO: Packet analysis {"connection_id":129735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:35:05] local.INFO: Extracted packet for processing {"connection_id":129735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":129735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:35:05] local.INFO: GPS data processed {"connection_id":129735,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:35:05] local.INFO: Acknowledgment sent {"connection_id":129735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:35:08] local.INFO: TCP Data received {"connection_id":129007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:35:08] local.INFO: Processing buffer {"connection_id":129007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:35:08] local.INFO: IMEI packet received {"connection_id":129007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":129007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:35:09] local.INFO: TCP Data received {"connection_id":129007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:35:09] local.INFO: Processing buffer {"connection_id":129007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:35:09] local.INFO: IMEI packet received {"connection_id":129007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":129007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:35:13] local.INFO: TCP Data received {"connection_id":129007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:35:13] local.INFO: Processing buffer {"connection_id":129007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:35:13] local.INFO: IMEI packet received {"connection_id":129007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":129007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:35:14] local.INFO: TCP Data received {"connection_id":129007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b41ff8012cdcd680072ef3e8001c00c029..."} 
[2026-07-11 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b41ff8012cdcd680072ef3e8001c00c029..."} 
[2026-07-11 20:35:14] local.INFO: Processing buffer {"connection_id":129007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b41ff8012cdcd680072ef3e8001c00c029..."} 
[2026-07-11 20:35:14] local.INFO: Packet analysis {"connection_id":129007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b4"} 
[2026-07-11 20:35:14] local.INFO: Extracted packet for processing {"connection_id":129007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b4"} 
[2026-07-11 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":752670336,"raw_latitude":120517608,"longitude_deg":75.2670336,"latitude_deg":12.0517608,"altitude":28,"angle":192,"satellites":41,"speed":4,"hex_longitude":"2cdcd680","hex_latitude":"072ef3e8","is_valid_coordinates":true} 
[2026-07-11 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648234496001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345549549395247104,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2533063653310119936,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783782187000,"timestamp_ms":1783782187000,"timestamp_seconds":1783782187,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b41ff8"} 
[2026-07-11 20:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 20:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648234496001,"66":27180,"93":206,"83":40960,"24":4,"16":345549549395247104,"44":-2533063653310119936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-07-11 20:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648234496001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:35:14] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-11 20:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345549549395247104,"km_value":345549549395247.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2533063653310119936,"description":"Unknown IO ID 44"} 
[2026-07-11 20:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648234496001,"power":27180,"unknown_93":206,"unknown_83":40960,"ignition":4,"odometer":null,"unknown_44":-2533063653310119936}} 
[2026-07-11 20:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":129007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:35:14] local.INFO: GPS data processed {"connection_id":129007,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:35:14] local.INFO: Acknowledgment sent {"connection_id":129007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:35:15] local.INFO: TCP Data received {"connection_id":128834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:35:15] local.INFO: Processing buffer {"connection_id":128834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:35:15] local.INFO: Packet analysis {"connection_id":128834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:35:15] local.INFO: Extracted packet for processing {"connection_id":128834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:35:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:35:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:35:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":128834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:35:15] local.INFO: GPS data processed {"connection_id":128834,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:35:15] local.INFO: Acknowledgment sent {"connection_id":128834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:35:34] local.INFO: TCP Data received {"connection_id":129008,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:35:34] local.INFO: Processing buffer {"connection_id":129008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:35:34] local.INFO: IMEI packet received {"connection_id":129008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":129008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:35:36] local.INFO: TCP Data received {"connection_id":129735,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:35:36] local.INFO: Processing buffer {"connection_id":129735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:35:36] local.INFO: Packet analysis {"connection_id":129735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:35:36] local.INFO: Extracted packet for processing {"connection_id":129735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:35:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":129735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:35:36] local.INFO: GPS data processed {"connection_id":129735,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:35:36] local.INFO: Acknowledgment sent {"connection_id":129735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:35:39] local.INFO: TCP Data received {"connection_id":129008,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:35:39] local.INFO: Processing buffer {"connection_id":129008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:35:39] local.INFO: IMEI packet received {"connection_id":129008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":129008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:35:40] local.INFO: TCP Data received {"connection_id":129008,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:35:40] local.INFO: Processing buffer {"connection_id":129008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:35:40] local.INFO: Packet analysis {"connection_id":129008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:35:40] local.INFO: Extracted packet for processing {"connection_id":129008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:35:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":129008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:35:40] local.INFO: GPS data processed {"connection_id":129008,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:35:40] local.INFO: Acknowledgment sent {"connection_id":129008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:35:46] local.INFO: TCP Data received {"connection_id":129007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b47200012cdcd500072ee7c8001e00bd29..."} 
[2026-07-11 20:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b47200012cdcd500072ee7c8001e00bd29..."} 
[2026-07-11 20:35:46] local.INFO: Processing buffer {"connection_id":129007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b47200012cdcd500072ee7c8001e00bd29..."} 
[2026-07-11 20:35:46] local.INFO: Packet analysis {"connection_id":129007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b4"} 
[2026-07-11 20:35:46] local.INFO: Extracted packet for processing {"connection_id":129007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b4"} 
[2026-07-11 20:35:46] local.INFO: GPS Element Parsed {"raw_longitude":752669952,"raw_latitude":120514504,"longitude_deg":75.2669952,"latitude_deg":12.0514504,"altitude":30,"angle":189,"satellites":41,"speed":7,"hex_longitude":"2cdcd500","hex_latitude":"072ee7c8","is_valid_coordinates":true} 
[2026-07-11 20:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648239872001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345549704014069760,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2533696972008462336,"note":"Value kept but may cause issues"} 
[2026-07-11 20:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783782208000,"timestamp_ms":1783782208000,"timestamp_seconds":1783782208,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b47200"} 
[2026-07-11 20:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 20:35:46] 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-07-11 20:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648239872001,"66":27517,"93":206,"83":40960,"24":7,"16":345549704014069760,"44":-2533696972008462336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-07-11 20:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648239872001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:35:46] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-11 20:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345549704014069760,"km_value":345549704014069.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2533696972008462336,"description":"Unknown IO ID 44"} 
[2026-07-11 20:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648239872001,"power":27517,"unknown_93":206,"unknown_83":40960,"ignition":7,"odometer":null,"unknown_44":-2533696972008462336}} 
[2026-07-11 20:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":129007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:35:46] local.INFO: GPS data processed {"connection_id":129007,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:35:46] local.INFO: Acknowledgment sent {"connection_id":129007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:35:59] local.INFO: TCP Data received {"connection_id":129736,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:35:59] local.INFO: Processing buffer {"connection_id":129736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:35:59] local.INFO: IMEI packet received {"connection_id":129736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":129736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:36:04] local.INFO: TCP Data received {"connection_id":129736,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:36:04] local.INFO: Processing buffer {"connection_id":129736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:36:04] local.INFO: IMEI packet received {"connection_id":129736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":129736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:36:06] local.INFO: TCP Data received {"connection_id":129736,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:36:06] local.INFO: Processing buffer {"connection_id":129736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:36:06] local.INFO: Packet analysis {"connection_id":129736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:36:06] local.INFO: Extracted packet for processing {"connection_id":129736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:36:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:36:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":129736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:36:06] local.INFO: GPS data processed {"connection_id":129736,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:36:06] local.INFO: Acknowledgment sent {"connection_id":129736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:36:11] local.INFO: TCP Data received {"connection_id":129008,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:36:11] local.INFO: Processing buffer {"connection_id":129008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:36:11] local.INFO: Packet analysis {"connection_id":129008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:36:11] local.INFO: Extracted packet for processing {"connection_id":129008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:36:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":129008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:36:11] local.INFO: GPS data processed {"connection_id":129008,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:36:11] local.INFO: Acknowledgment sent {"connection_id":129008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:36:12] local.INFO: TCP Data received {"connection_id":130990,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:36:12] local.INFO: Processing buffer {"connection_id":130990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:36:12] local.INFO: IMEI packet received {"connection_id":130990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":130990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:36:13] local.INFO: TCP Data received {"connection_id":130990,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:36:13] local.INFO: Processing buffer {"connection_id":130990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:36:13] local.INFO: IMEI packet received {"connection_id":130990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":130990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:36:18] local.INFO: TCP Data received {"connection_id":130990,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:36:18] local.INFO: Processing buffer {"connection_id":130990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:36:18] local.INFO: IMEI packet received {"connection_id":130990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":130990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:36:19] local.INFO: TCP Data received {"connection_id":130990,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b4c408012cdcd400072edf90001e00ba29..."} 
[2026-07-11 20:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b4c408012cdcd400072edf90001e00ba29..."} 
[2026-07-11 20:36:19] local.INFO: Processing buffer {"connection_id":130990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b4c408012cdcd400072edf90001e00ba29..."} 
[2026-07-11 20:36:19] local.INFO: Packet analysis {"connection_id":130990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b4"} 
[2026-07-11 20:36:19] local.INFO: Extracted packet for processing {"connection_id":130990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b4"} 
[2026-07-11 20:36:19] local.INFO: GPS Element Parsed {"raw_longitude":752669696,"raw_latitude":120512400,"longitude_deg":75.2669696,"latitude_deg":12.05124,"altitude":30,"angle":186,"satellites":41,"speed":0,"hex_longitude":"2cdcd400","hex_latitude":"072edf90","is_valid_coordinates":true} 
[2026-07-11 20:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648245248001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345549811388252160,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2534119184474322944,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783782229000,"timestamp_ms":1783782229000,"timestamp_seconds":1783782229,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b4c408"} 
[2026-07-11 20:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 20:36:19] 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-07-11 20:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648245248001,"66":27234,"93":206,"83":40960,"24":0,"16":345549811388252160,"44":-2534119184474322944},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-07-11 20:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648245248001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:36:19] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-11 20:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345549811388252160,"km_value":345549811388252.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2534119184474322944,"description":"Unknown IO ID 44"} 
[2026-07-11 20:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648245248001,"power":27234,"unknown_93":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2534119184474322944}} 
[2026-07-11 20:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":130990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:36:19] local.INFO: GPS data processed {"connection_id":130990,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:36:19] local.INFO: Acknowledgment sent {"connection_id":130990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:36:34] local.INFO: TCP Data received {"connection_id":130991,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:36:34] local.INFO: Processing buffer {"connection_id":130991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:36:34] local.INFO: IMEI packet received {"connection_id":130991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":130991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:36:37] local.INFO: TCP Data received {"connection_id":129736,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:36:37] local.INFO: Processing buffer {"connection_id":129736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b24b38012d196680071fef80003b011a22..."} 
[2026-07-11 20:36:37] local.INFO: Packet analysis {"connection_id":129736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:36:37] local.INFO: Extracted packet for processing {"connection_id":129736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b2"} 
[2026-07-11 20:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648132096001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783782067000,"timestamp_ms":1783782067000,"timestamp_seconds":1783782067,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b24b38"} 
[2026-07-11 20:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648132096001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648132096001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:36:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648132096001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":129736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:36:38] local.INFO: GPS data processed {"connection_id":129736,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:36:38] local.INFO: Acknowledgment sent {"connection_id":129736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:36:39] local.INFO: TCP Data received {"connection_id":130991,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:36:39] local.INFO: Processing buffer {"connection_id":130991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:36:39] local.INFO: IMEI packet received {"connection_id":130991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":130991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:36:40] local.INFO: TCP Data received {"connection_id":130991,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:36:40] local.INFO: Processing buffer {"connection_id":130991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b32210012d7e380005d34dd80001003028..."} 
[2026-07-11 20:36:40] local.INFO: Packet analysis {"connection_id":130991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:36:40] local.INFO: Extracted packet for processing {"connection_id":130991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b3"} 
[2026-07-11 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648096000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782122000,"timestamp_ms":1783782122000,"timestamp_seconds":1783782122,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b32210"} 
[2026-07-11 20:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648096000001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648096000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:36:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648096000001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":130991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:36:40] local.INFO: GPS data processed {"connection_id":130991,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:36:40] local.INFO: Acknowledgment sent {"connection_id":130991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:36:59] local.INFO: TCP Data received {"connection_id":128836,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:36:59] local.INFO: Processing buffer {"connection_id":128836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:36:59] local.INFO: IMEI packet received {"connection_id":128836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":128836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:37:03] local.INFO: TCP Data received {"connection_id":129011,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:37:03] local.INFO: Processing buffer {"connection_id":129011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:37:03] local.INFO: IMEI packet received {"connection_id":129011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":129011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:37:04] local.INFO: TCP Data received {"connection_id":128836,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:37:04] local.INFO: Processing buffer {"connection_id":128836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:37:04] local.INFO: IMEI packet received {"connection_id":128836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":128836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:37:05] local.INFO: TCP Data received {"connection_id":128836,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:37:05] local.INFO: Processing buffer {"connection_id":128836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:37:05] local.INFO: Packet analysis {"connection_id":128836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:37:05] local.INFO: Extracted packet for processing {"connection_id":128836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:37:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":128836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:37:05] local.INFO: GPS data processed {"connection_id":128836,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:37:05] local.INFO: Acknowledgment sent {"connection_id":128836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:37:08] local.INFO: TCP Data received {"connection_id":129011,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:37:08] local.INFO: Processing buffer {"connection_id":129011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:37:08] local.INFO: IMEI packet received {"connection_id":129011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":129011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:37:09] local.INFO: TCP Data received {"connection_id":129011,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6a868012cdc9300072dbd40000f00b529..."} 
[2026-07-11 20:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6a868012cdc9300072dbd40000f00b529..."} 
[2026-07-11 20:37:09] local.INFO: Processing buffer {"connection_id":129011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6a868012cdc9300072dbd40000f00b529..."} 
[2026-07-11 20:37:09] local.INFO: Packet analysis {"connection_id":129011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:37:09] local.INFO: Extracted packet for processing {"connection_id":129011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:37:09] local.INFO: GPS Element Parsed {"raw_longitude":752653056,"raw_latitude":120438080,"longitude_deg":75.2653056,"latitude_deg":12.043808,"altitude":15,"angle":181,"satellites":41,"speed":33,"hex_longitude":"2cdc9300","hex_latitude":"072dbd40","is_valid_coordinates":true} 
[2026-07-11 20:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648279552001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345553535124897792,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550866945605822464,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783782353000,"timestamp_ms":1783782353000,"timestamp_seconds":1783782353,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6a868"} 
[2026-07-11 20:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648279552001,"66":27397,"27":206,"83":40960,"24":33,"16":345553535124897792,"44":-2550866945605822464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-11 20:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648279552001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:37:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-11 20:37:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345553535124897792,"km_value":345553535124897.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:37:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550866945605822464,"description":"Unknown IO ID 44"} 
[2026-07-11 20:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648279552001,"power":27397,"unknown_27":206,"unknown_83":40960,"ignition":33,"odometer":null,"unknown_44":-2550866945605822464}} 
[2026-07-11 20:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":129011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:37:09] local.INFO: GPS data processed {"connection_id":129011,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:37:09] local.INFO: Acknowledgment sent {"connection_id":129011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:37:10] local.INFO: TCP Data received {"connection_id":130991,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:37:10] local.INFO: Processing buffer {"connection_id":130991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:37:10] local.INFO: Packet analysis {"connection_id":130991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:37:10] local.INFO: Extracted packet for processing {"connection_id":130991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648223232001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783782423000,"timestamp_ms":1783782423000,"timestamp_seconds":1783782423,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b7b9d8"} 
[2026-07-11 20:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:37:10] 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-07-11 20:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648223232001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648223232001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:37:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648223232001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":130991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:37:10] local.INFO: GPS data processed {"connection_id":130991,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:37:10] local.INFO: Acknowledgment sent {"connection_id":130991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:37:34] local.INFO: TCP Data received {"connection_id":129012,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:37:34] local.INFO: Processing buffer {"connection_id":129012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:37:34] local.INFO: IMEI packet received {"connection_id":129012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":129012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:37:37] local.INFO: TCP Data received {"connection_id":128836,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:37:37] local.INFO: Processing buffer {"connection_id":128836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:37:37] local.INFO: Packet analysis {"connection_id":128836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:37:37] local.INFO: Extracted packet for processing {"connection_id":128836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":128836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:37:37] local.INFO: GPS data processed {"connection_id":128836,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:37:37] local.INFO: Acknowledgment sent {"connection_id":128836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:37:39] local.INFO: TCP Data received {"connection_id":129012,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:37:39] local.INFO: Processing buffer {"connection_id":129012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:37:39] local.INFO: IMEI packet received {"connection_id":129012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":129012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:37:40] local.INFO: TCP Data received {"connection_id":129012,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:37:40] local.INFO: Processing buffer {"connection_id":129012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:37:40] local.INFO: Packet analysis {"connection_id":129012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:37:40] local.INFO: Extracted packet for processing {"connection_id":129012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648223232001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782423000,"timestamp_ms":1783782423000,"timestamp_seconds":1783782423,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b7b9d8"} 
[2026-07-11 20:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:37:40] 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-07-11 20: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648223232001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648223232001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:37:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648223232001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":129012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:37:40] local.INFO: GPS data processed {"connection_id":129012,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:37:40] local.INFO: Acknowledgment sent {"connection_id":129012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:37:40] local.INFO: TCP Data received {"connection_id":129011,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6a868012cdc9300072dbd40000f00b529..."} 
[2026-07-11 20:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6a868012cdc9300072dbd40000f00b529..."} 
[2026-07-11 20:37:40] local.INFO: Processing buffer {"connection_id":129011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6a868012cdc9300072dbd40000f00b529..."} 
[2026-07-11 20:37:40] local.INFO: Packet analysis {"connection_id":129011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:37:40] local.INFO: Extracted packet for processing {"connection_id":129011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":752653056,"raw_latitude":120438080,"longitude_deg":75.2653056,"latitude_deg":12.043808,"altitude":15,"angle":181,"satellites":41,"speed":33,"hex_longitude":"2cdc9300","hex_latitude":"072dbd40","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648282368001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345553535124897792,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552696532956790784,"note":"Value kept but may cause issues"} 
[2026-07-11 20:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782353000,"timestamp_ms":1783782353000,"timestamp_seconds":1783782353,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6a868"} 
[2026-07-11 20:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648282368001,"66":27397,"27":206,"83":40960,"24":33,"16":345553535124897792,"44":-2552696532956790784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-11 20:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648282368001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:37:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-11 20:37:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345553535124897792,"km_value":345553535124897.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552696532956790784,"description":"Unknown IO ID 44"} 
[2026-07-11 20:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648282368001,"power":27397,"unknown_27":206,"unknown_83":40960,"ignition":33,"odometer":null,"unknown_44":-2552696532956790784}} 
[2026-07-11 20:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":129011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:37:40] local.INFO: GPS data processed {"connection_id":129011,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:37:40] local.INFO: Acknowledgment sent {"connection_id":129011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:37:59] local.INFO: TCP Data received {"connection_id":129013,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:37:59] local.INFO: Processing buffer {"connection_id":129013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:37:59] local.INFO: IMEI packet received {"connection_id":129013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":129013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:38:03] local.INFO: TCP Data received {"connection_id":129014,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:38:03] local.INFO: Processing buffer {"connection_id":129014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:38:03] local.INFO: IMEI packet received {"connection_id":129014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":129014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:38:04] local.INFO: TCP Data received {"connection_id":129013,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:38:04] local.INFO: Processing buffer {"connection_id":129013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:38:04] local.INFO: IMEI packet received {"connection_id":129013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":129013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:38:05] local.INFO: TCP Data received {"connection_id":129013,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:38:05] local.INFO: Processing buffer {"connection_id":129013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:38:05] local.INFO: Packet analysis {"connection_id":129013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:38:05] local.INFO: Extracted packet for processing {"connection_id":129013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":129013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:38:05] local.INFO: GPS data processed {"connection_id":129013,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:38:05] local.INFO: Acknowledgment sent {"connection_id":129013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:38:08] local.INFO: TCP Data received {"connection_id":129014,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:38:08] local.INFO: Processing buffer {"connection_id":129014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:38:08] local.INFO: IMEI packet received {"connection_id":129014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":129014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:38:08] local.INFO: TCP Data received {"connection_id":129014,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6d360012cdc9500072d9720001000ae29..."} 
[2026-07-11 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6d360012cdc9500072d9720001000ae29..."} 
[2026-07-11 20:38:08] local.INFO: Processing buffer {"connection_id":129014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6d360012cdc9500072d9720001000ae29..."} 
[2026-07-11 20:38:08] local.INFO: Packet analysis {"connection_id":129014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:38:08] local.INFO: Extracted packet for processing {"connection_id":129014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":752653568,"raw_latitude":120428320,"longitude_deg":75.2653568,"latitude_deg":12.042832,"altitude":16,"angle":174,"satellites":41,"speed":38,"hex_longitude":"2cdc9500","hex_latitude":"072d9720","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648282368001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345554007571300352,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552696532956790784,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783782364000,"timestamp_ms":1783782364000,"timestamp_seconds":1783782364,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6d360"} 
[2026-07-11 20:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:38: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-07-11 20:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648282368001,"66":27321,"27":206,"83":40960,"24":38,"16":345554007571300352,"44":-2552696532956790784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-11 20:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648282368001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:38:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-11 20:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345554007571300352,"km_value":345554007571300.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552696532956790784,"description":"Unknown IO ID 44"} 
[2026-07-11 20:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648282368001,"power":27321,"unknown_27":206,"unknown_83":40960,"ignition":38,"odometer":null,"unknown_44":-2552696532956790784}} 
[2026-07-11 20:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":129014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:38:08] local.INFO: GPS data processed {"connection_id":129014,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:38:08] local.INFO: Acknowledgment sent {"connection_id":129014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:38:11] local.INFO: TCP Data received {"connection_id":129012,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:38:11] local.INFO: Processing buffer {"connection_id":129012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:38:11] local.INFO: Packet analysis {"connection_id":129012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:38:11] local.INFO: Extracted packet for processing {"connection_id":129012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648223232001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783782423000,"timestamp_ms":1783782423000,"timestamp_seconds":1783782423,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b7b9d8"} 
[2026-07-11 20:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:38:11] 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-07-11 20:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648223232001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648223232001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:38:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648223232001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":129012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:38:11] local.INFO: GPS data processed {"connection_id":129012,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:38:11] local.INFO: Acknowledgment sent {"connection_id":129012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:38:34] local.INFO: TCP Data received {"connection_id":128837,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:38:34] local.INFO: Processing buffer {"connection_id":128837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:38:34] local.INFO: IMEI packet received {"connection_id":128837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":128837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:38:37] local.INFO: TCP Data received {"connection_id":129013,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:38:37] local.INFO: Processing buffer {"connection_id":129013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:38:37] local.INFO: Packet analysis {"connection_id":129013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:38:37] local.INFO: Extracted packet for processing {"connection_id":129013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":129013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:38:37] local.INFO: GPS data processed {"connection_id":129013,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:38:37] local.INFO: Acknowledgment sent {"connection_id":129013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:38:39] local.INFO: TCP Data received {"connection_id":128837,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:38:39] local.INFO: Processing buffer {"connection_id":128837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:38:39] local.INFO: IMEI packet received {"connection_id":128837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":128837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:38:44] local.INFO: TCP Data received {"connection_id":128837,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:38:44] local.INFO: Processing buffer {"connection_id":128837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:38:44] local.INFO: IMEI packet received {"connection_id":128837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-11 20:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":128837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:38:44] local.INFO: TCP Data received {"connection_id":128837,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:38:44] local.INFO: Processing buffer {"connection_id":128837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:38:44] local.INFO: Packet analysis {"connection_id":128837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:38:44] local.INFO: Extracted packet for processing {"connection_id":128837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648223232001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783782423000,"timestamp_ms":1783782423000,"timestamp_seconds":1783782423,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b7b9d8"} 
[2026-07-11 20:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648223232001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648223232001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:38:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:38:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648223232001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":128837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:38:44] local.INFO: GPS data processed {"connection_id":128837,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:38:44] local.INFO: Acknowledgment sent {"connection_id":128837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:38:49] local.INFO: TCP Data received {"connection_id":128837,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:38:49] local.INFO: Processing buffer {"connection_id":128837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b7b9d8012d7e380005d34dd80001003027..."} 
[2026-07-11 20:38:49] local.INFO: Packet analysis {"connection_id":128837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:38:49] local.INFO: Extracted packet for processing {"connection_id":128837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:38:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":1,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-11 20:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648223232001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105231238532431872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494647296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783782423000,"timestamp_ms":1783782423000,"timestamp_seconds":1783782423,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b7b9d8"} 
[2026-07-11 20:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:38:49] 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-07-11 20:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-11 20:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":128837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":128837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":128837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-11 20:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-11 20:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-11 20:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648223232001,"66":2209,"109":206,"85":15104,"24":0,"16":105231238532431872,"45":9095019472494647296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-11 20:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-11 20:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-11 20:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648223232001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:38:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 20:38:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-11 20:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105231238532431872,"km_value":105231238532431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494647296,"description":"Unknown IO ID 45"} 
[2026-07-11 20:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648223232001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494647296}} 
[2026-07-11 20:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":128837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:38:49] local.INFO: GPS data processed {"connection_id":128837,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:38:49] local.INFO: Acknowledgment sent {"connection_id":128837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:38:56] local.INFO: TCP Data received {"connection_id":129014,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6f688012cdc9800072d7478001100af28..."} 
[2026-07-11 20:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6f688012cdc9800072d7478001100af28..."} 
[2026-07-11 20:38:56] local.INFO: Processing buffer {"connection_id":129014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6f688012cdc9800072d7478001100af28..."} 
[2026-07-11 20:38:56] local.INFO: Packet analysis {"connection_id":129014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:38:56] local.INFO: Extracted packet for processing {"connection_id":129014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:38:56] local.INFO: GPS Element Parsed {"raw_longitude":752654336,"raw_latitude":120419448,"longitude_deg":75.2654336,"latitude_deg":12.0419448,"altitude":17,"angle":175,"satellites":40,"speed":40,"hex_longitude":"2cdc9800","hex_latitude":"072d7478","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648285184001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345554441362997248,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552133583005868032,"note":"Value kept but may cause issues"} 
[2026-07-11 20:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783782373000,"timestamp_ms":1783782373000,"timestamp_seconds":1783782373,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6f688"} 
[2026-07-11 20:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:38:56] 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-07-11 20: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-07-11 20:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":129014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":129014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":129014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648285184001,"66":27223,"27":206,"83":40960,"24":40,"16":345554441362997248,"44":-2552133583005868032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-11 20:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648285184001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:38:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-11 20:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345554441362997248,"km_value":345554441362997.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:38:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552133583005868032,"description":"Unknown IO ID 44"} 
[2026-07-11 20:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648285184001,"power":27223,"unknown_27":206,"unknown_83":40960,"ignition":40,"odometer":null,"unknown_44":-2552133583005868032}} 
[2026-07-11 20:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":129014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:38:56] local.INFO: GPS data processed {"connection_id":129014,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:38:56] local.INFO: Acknowledgment sent {"connection_id":129014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:38:59] local.INFO: TCP Data received {"connection_id":129738,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:38:59] local.INFO: Processing buffer {"connection_id":129738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:38:59] local.INFO: IMEI packet received {"connection_id":129738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":129738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:39:03] local.INFO: TCP Data received {"connection_id":130993,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:39:03] local.INFO: Processing buffer {"connection_id":130993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:39:03] local.INFO: IMEI packet received {"connection_id":130993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":130993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:39:04] local.INFO: TCP Data received {"connection_id":129738,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:39:04] local.INFO: Processing buffer {"connection_id":129738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:39:04] local.INFO: IMEI packet received {"connection_id":129738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":129738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:39:05] local.INFO: TCP Data received {"connection_id":129738,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:39:05] local.INFO: Processing buffer {"connection_id":129738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:39:05] local.INFO: Packet analysis {"connection_id":129738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:39:05] local.INFO: Extracted packet for processing {"connection_id":129738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":129738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:39:05] local.INFO: GPS data processed {"connection_id":129738,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:39:05] local.INFO: Acknowledgment sent {"connection_id":129738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:39:08] local.INFO: TCP Data received {"connection_id":130993,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:39:08] local.INFO: Processing buffer {"connection_id":130993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:39:08] local.INFO: IMEI packet received {"connection_id":130993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":130993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:39:09] local.INFO: TCP Data received {"connection_id":130993,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b719b0012cdc9b00072d4e40000f00b128..."} 
[2026-07-11 20:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b719b0012cdc9b00072d4e40000f00b128..."} 
[2026-07-11 20:39:09] local.INFO: Processing buffer {"connection_id":130993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b719b0012cdc9b00072d4e40000f00b128..."} 
[2026-07-11 20:39:09] local.INFO: Packet analysis {"connection_id":130993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:39:09] local.INFO: Extracted packet for processing {"connection_id":130993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b7"} 
[2026-07-11 20:39:09] local.INFO: GPS Element Parsed {"raw_longitude":752655104,"raw_latitude":120409664,"longitude_deg":75.2655104,"latitude_deg":12.0409664,"altitude":15,"angle":177,"satellites":40,"speed":47,"hex_longitude":"2cdc9b00","hex_latitude":"072d4e40","is_valid_coordinates":true} 
[2026-07-11 20:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648287488001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345554918104367104,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2551289158078007296,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783782382000,"timestamp_ms":1783782382000,"timestamp_seconds":1783782382,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b719b0"} 
[2026-07-11 20:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-11 20:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648287488001,"66":26832,"28":206,"83":40960,"24":47,"16":345554918104367104,"44":-2551289158078007296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-07-11 20:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648287488001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:39:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-11 20:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345554918104367104,"km_value":345554918104367.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2551289158078007296,"description":"Unknown IO ID 44"} 
[2026-07-11 20:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648287488001,"power":26832,"unknown_28":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2551289158078007296}} 
[2026-07-11 20:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":130993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:39:09] local.INFO: GPS data processed {"connection_id":130993,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:39:09] local.INFO: Acknowledgment sent {"connection_id":130993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:39:34] local.INFO: TCP Data received {"connection_id":129739,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:39:34] local.INFO: Processing buffer {"connection_id":129739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:39:34] local.INFO: IMEI packet received {"connection_id":129739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":129739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:39:37] local.INFO: TCP Data received {"connection_id":129738,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:39:37] local.INFO: Processing buffer {"connection_id":129738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:39:37] local.INFO: Packet analysis {"connection_id":129738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:39:37] local.INFO: Extracted packet for processing {"connection_id":129738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:39:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":129738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:39:37] local.INFO: GPS data processed {"connection_id":129738,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:39:37] local.INFO: Acknowledgment sent {"connection_id":129738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:39:40] local.INFO: TCP Data received {"connection_id":130993,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b96788012cdcb580072bd258001700b82b..."} 
[2026-07-11 20:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b96788012cdcb580072bd258001700b82b..."} 
[2026-07-11 20:39:40] local.INFO: Processing buffer {"connection_id":130993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b96788012cdcb580072bd258001700b82b..."} 
[2026-07-11 20:39:40] local.INFO: Packet analysis {"connection_id":130993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:39:40] local.INFO: Extracted packet for processing {"connection_id":130993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":752661888,"raw_latitude":120312408,"longitude_deg":75.2661888,"latitude_deg":12.0312408,"altitude":23,"angle":184,"satellites":43,"speed":32,"hex_longitude":"2cdcb580","hex_latitude":"072bd258","is_valid_coordinates":true} 
[2026-07-11 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648327680001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345559908856365056,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543056015035973632,"note":"Value kept but may cause issues"} 
[2026-07-11 20:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782533000,"timestamp_ms":1783782533000,"timestamp_seconds":1783782533,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b96788"} 
[2026-07-11 20:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 20:39:40] 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-07-11 20:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648327680001,"66":27213,"224":206,"83":40960,"24":32,"16":345559908856365056,"44":-2543056015035973632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-07-11 20:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648327680001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:39:40] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-11 20:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345559908856365056,"km_value":345559908856365.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543056015035973632,"description":"Unknown IO ID 44"} 
[2026-07-11 20:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648327680001,"power":27213,"unknown_224":206,"unknown_83":40960,"ignition":32,"odometer":null,"unknown_44":-2543056015035973632}} 
[2026-07-11 20:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":130993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:39:40] local.INFO: GPS data processed {"connection_id":130993,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:39:40] local.INFO: Acknowledgment sent {"connection_id":130993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:39:59] local.INFO: TCP Data received {"connection_id":130995,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:39:59] local.INFO: Processing buffer {"connection_id":130995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:39:59] local.INFO: IMEI packet received {"connection_id":130995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":130995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:40:03] local.INFO: TCP Data received {"connection_id":130996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:40:03] local.INFO: Processing buffer {"connection_id":130996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:40:03] local.INFO: IMEI packet received {"connection_id":130996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":130996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:40:04] local.INFO: TCP Data received {"connection_id":130995,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:40:04] local.INFO: Processing buffer {"connection_id":130995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:40:04] local.INFO: IMEI packet received {"connection_id":130995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":130995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:40:05] local.INFO: TCP Data received {"connection_id":130995,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:40:05] local.INFO: Processing buffer {"connection_id":130995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:40:05] local.INFO: Packet analysis {"connection_id":130995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:40:05] local.INFO: Extracted packet for processing {"connection_id":130995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:40:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":130995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:40:05] local.INFO: GPS data processed {"connection_id":130995,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:40:05] local.INFO: Acknowledgment sent {"connection_id":130995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:40:05] local.INFO: TCP Data received {"connection_id":130996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:40:05] local.INFO: Processing buffer {"connection_id":130996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:40:05] local.INFO: IMEI packet received {"connection_id":130996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":130996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:40:08] local.INFO: TCP Data received {"connection_id":130996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:40:08] local.INFO: Processing buffer {"connection_id":130996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:40:08] local.INFO: IMEI packet received {"connection_id":130996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":130996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:40:09] local.INFO: TCP Data received {"connection_id":130996,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b97340012cdcb3c0072bc9e0001500c42a..."} 
[2026-07-11 20:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b97340012cdcb3c0072bc9e0001500c42a..."} 
[2026-07-11 20:40:09] local.INFO: Processing buffer {"connection_id":130996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b97340012cdcb3c0072bc9e0001500c42a..."} 
[2026-07-11 20:40:09] local.INFO: Packet analysis {"connection_id":130996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:40:09] local.INFO: Extracted packet for processing {"connection_id":130996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:40:09] local.INFO: GPS Element Parsed {"raw_longitude":752661440,"raw_latitude":120310240,"longitude_deg":75.266144,"latitude_deg":12.031024,"altitude":21,"angle":196,"satellites":42,"speed":27,"hex_longitude":"2cdcb3c0","hex_latitude":"072bc9e0","is_valid_coordinates":true} 
[2026-07-11 20:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648328448001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345560016230547456,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2542985646292445184,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783782536000,"timestamp_ms":1783782536000,"timestamp_seconds":1783782536,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b97340"} 
[2026-07-11 20:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:40:09] 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-07-11 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 20:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648328448001,"66":27050,"224":206,"83":40960,"24":27,"16":345560016230547456,"44":-2542985646292445184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-07-11 20:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648328448001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:40:09] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-11 20:40:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345560016230547456,"km_value":345560016230547.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2542985646292445184,"description":"Unknown IO ID 44"} 
[2026-07-11 20:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648328448001,"power":27050,"unknown_224":206,"unknown_83":40960,"ignition":27,"odometer":null,"unknown_44":-2542985646292445184}} 
[2026-07-11 20:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":130996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:40:09] local.INFO: GPS data processed {"connection_id":130996,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:40:09] local.INFO: Acknowledgment sent {"connection_id":130996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:40:15] local.INFO: TCP Data received {"connection_id":130994,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:40:15] local.INFO: Processing buffer {"connection_id":130994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:40:15] local.INFO: IMEI packet received {"connection_id":130994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":130994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:40:37] local.INFO: TCP Data received {"connection_id":130995,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:40:37] local.INFO: Processing buffer {"connection_id":130995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:40:37] local.INFO: Packet analysis {"connection_id":130995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:40:37] local.INFO: Extracted packet for processing {"connection_id":130995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":130995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:40:37] local.INFO: GPS data processed {"connection_id":130995,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:40:37] local.INFO: Acknowledgment sent {"connection_id":130995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:40:40] local.INFO: TCP Data received {"connection_id":130996,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b982e0012cdcb200072bc180001400b72a..."} 
[2026-07-11 20:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b982e0012cdcb200072bc180001400b72a..."} 
[2026-07-11 20:40:40] local.INFO: Processing buffer {"connection_id":130996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b982e0012cdcb200072bc180001400b72a..."} 
[2026-07-11 20:40:40] local.INFO: Packet analysis {"connection_id":130996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:40:40] local.INFO: Extracted packet for processing {"connection_id":130996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:40:40] local.INFO: GPS Element Parsed {"raw_longitude":752660992,"raw_latitude":120308096,"longitude_deg":75.2660992,"latitude_deg":12.0308096,"altitude":20,"angle":183,"satellites":42,"speed":18,"hex_longitude":"2cdcb200","hex_latitude":"072bc180","is_valid_coordinates":true} 
[2026-07-11 20:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648329216001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345560123604729856,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543478227502243840,"note":"Value kept but may cause issues"} 
[2026-07-11 20:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782540000,"timestamp_ms":1783782540000,"timestamp_seconds":1783782540,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b982e0"} 
[2026-07-11 20:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-11 20:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648329216001,"66":27234,"225":206,"83":40960,"24":18,"16":345560123604729856,"44":-2543478227502243840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-07-11 20:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648329216001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:40:40] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-11 20:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345560123604729856,"km_value":345560123604729.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543478227502243840,"description":"Unknown IO ID 44"} 
[2026-07-11 20:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648329216001,"power":27234,"unknown_225":206,"unknown_83":40960,"ignition":18,"odometer":null,"unknown_44":-2543478227502243840}} 
[2026-07-11 20:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":130996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:40:40] local.INFO: GPS data processed {"connection_id":130996,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:40:40] local.INFO: Acknowledgment sent {"connection_id":130996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:40:44] local.INFO: TCP Data received {"connection_id":128838,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:40:44] local.INFO: Processing buffer {"connection_id":128838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:40:44] local.INFO: IMEI packet received {"connection_id":128838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":128838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:41:04] local.INFO: TCP Data received {"connection_id":129740,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:41:04] local.INFO: Processing buffer {"connection_id":129740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:41:04] local.INFO: IMEI packet received {"connection_id":129740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":129740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:41:08] local.INFO: TCP Data received {"connection_id":129741,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:41:08] local.INFO: Processing buffer {"connection_id":129741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:41:08] local.INFO: IMEI packet received {"connection_id":129741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":129741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:41:09] local.INFO: TCP Data received {"connection_id":129740,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:41:09] local.INFO: Processing buffer {"connection_id":129740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:41:09] local.INFO: IMEI packet received {"connection_id":129740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":129740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:41:10] local.INFO: TCP Data received {"connection_id":129740,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:41:10] local.INFO: Processing buffer {"connection_id":129740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:41:10] local.INFO: Packet analysis {"connection_id":129740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:41:10] local.INFO: Extracted packet for processing {"connection_id":129740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:41:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":129740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:41:10] local.INFO: GPS data processed {"connection_id":129740,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:41:10] local.INFO: Acknowledgment sent {"connection_id":129740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:41:15] local.INFO: TCP Data received {"connection_id":129740,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:41:15] local.INFO: Processing buffer {"connection_id":129740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b6e300012d196680071fef80003b011a22..."} 
[2026-07-11 20:41:15] local.INFO: Packet analysis {"connection_id":129740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:41:15] local.INFO: Extracted packet for processing {"connection_id":129740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b6"} 
[2026-07-11 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648209152001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783782368000,"timestamp_ms":1783782368000,"timestamp_seconds":1783782368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b6e300"} 
[2026-07-11 20:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648209152001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648209152001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:41:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:41:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648209152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":129740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:41:15] local.INFO: GPS data processed {"connection_id":129740,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:41:15] local.INFO: Acknowledgment sent {"connection_id":129740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:41:17] local.INFO: TCP Data received {"connection_id":129741,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:41:17] local.INFO: Processing buffer {"connection_id":129741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:41:17] local.INFO: IMEI packet received {"connection_id":129741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":129741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:41:23] local.INFO: TCP Data received {"connection_id":129741,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b99e38012cdcb200072bb480001300c22a..."} 
[2026-07-11 20:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b99e38012cdcb200072bb480001300c22a..."} 
[2026-07-11 20:41:23] local.INFO: Processing buffer {"connection_id":129741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b99e38012cdcb200072bb480001300c22a..."} 
[2026-07-11 20:41:23] local.INFO: Packet analysis {"connection_id":129741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:41:23] local.INFO: Extracted packet for processing {"connection_id":129741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:41:23] local.INFO: GPS Element Parsed {"raw_longitude":752660992,"raw_latitude":120304768,"longitude_deg":75.2660992,"latitude_deg":12.0304768,"altitude":19,"angle":194,"satellites":42,"speed":18,"hex_longitude":"2cdcb200","hex_latitude":"072bb480","is_valid_coordinates":true} 
[2026-07-11 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648330240001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345560286813487104,"note":"Value kept but may cause issues"} 
[2026-07-11 20:41:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543970808712036352,"note":"Value kept but may cause issues"} 
[2026-07-11 20:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783782547000,"timestamp_ms":1783782547000,"timestamp_seconds":1783782547,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b99e38"} 
[2026-07-11 20:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:41: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-07-11 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 20:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648330240001,"66":27397,"225":206,"83":40960,"24":18,"16":345560286813487104,"44":-2543970808712036352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-07-11 20:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648330240001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:41:23] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-11 20:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345560286813487104,"km_value":345560286813487.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:41:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543970808712036352,"description":"Unknown IO ID 44"} 
[2026-07-11 20:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648330240001,"power":27397,"unknown_225":206,"unknown_83":40960,"ignition":18,"odometer":null,"unknown_44":-2543970808712036352}} 
[2026-07-11 20:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":129741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:41:23] local.INFO: GPS data processed {"connection_id":129741,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:41:23] local.INFO: Acknowledgment sent {"connection_id":129741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:41:59] local.INFO: TCP Data received {"connection_id":130998,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:41:59] local.INFO: Processing buffer {"connection_id":130998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:41:59] local.INFO: IMEI packet received {"connection_id":130998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":130998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:42:03] local.INFO: TCP Data received {"connection_id":130999,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:42:03] local.INFO: Processing buffer {"connection_id":130999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:42:03] local.INFO: IMEI packet received {"connection_id":130999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":130999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:42:04] local.INFO: TCP Data received {"connection_id":130999,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:42:04] local.INFO: Processing buffer {"connection_id":130999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:42:04] local.INFO: IMEI packet received {"connection_id":130999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":130999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:42:04] local.INFO: TCP Data received {"connection_id":130998,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:42:04] local.INFO: Processing buffer {"connection_id":130998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:42:04] local.INFO: IMEI packet received {"connection_id":130998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":130998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:42:05] local.INFO: TCP Data received {"connection_id":130998,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:42:05] local.INFO: Processing buffer {"connection_id":130998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:42:05] local.INFO: Packet analysis {"connection_id":130998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:42:05] local.INFO: Extracted packet for processing {"connection_id":130998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:42:05] 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-07-11 20: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-07-11 20:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":130998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:42:05] local.INFO: GPS data processed {"connection_id":130998,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:42:05] local.INFO: Acknowledgment sent {"connection_id":130998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:42:08] local.INFO: TCP Data received {"connection_id":130999,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:42:08] local.INFO: Processing buffer {"connection_id":130999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:42:08] local.INFO: IMEI packet received {"connection_id":130999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":130999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:42:09] local.INFO: TCP Data received {"connection_id":130999,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b9b1c0012cdcb080072babd8001200b42b..."} 
[2026-07-11 20:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b9b1c0012cdcb080072babd8001200b42b..."} 
[2026-07-11 20:42:09] local.INFO: Processing buffer {"connection_id":130999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b9b1c0012cdcb080072babd8001200b42b..."} 
[2026-07-11 20:42:09] local.INFO: Packet analysis {"connection_id":130999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:42:09] local.INFO: Extracted packet for processing {"connection_id":130999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:42:09] local.INFO: GPS Element Parsed {"raw_longitude":752660608,"raw_latitude":120302552,"longitude_deg":75.2660608,"latitude_deg":12.0302552,"altitude":18,"angle":180,"satellites":43,"speed":17,"hex_longitude":"2cdcb080","hex_latitude":"072babd8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648332032001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345560394187669504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543970808712888320,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783782552000,"timestamp_ms":1783782552000,"timestamp_seconds":1783782552,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b9b1c0"} 
[2026-07-11 20:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648332032001,"66":27223,"225":206,"83":40960,"24":17,"16":345560394187669504,"44":-2543970808712888320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-07-11 20:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648332032001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:42:09] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-11 20:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345560394187669504,"km_value":345560394187669.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543970808712888320,"description":"Unknown IO ID 44"} 
[2026-07-11 20:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648332032001,"power":27223,"unknown_225":206,"unknown_83":40960,"ignition":17,"odometer":null,"unknown_44":-2543970808712888320}} 
[2026-07-11 20:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":130999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:42:09] local.INFO: GPS data processed {"connection_id":130999,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:42:09] local.INFO: Acknowledgment sent {"connection_id":130999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:42:37] local.INFO: TCP Data received {"connection_id":130998,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:42:37] local.INFO: Processing buffer {"connection_id":130998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:42:37] local.INFO: Packet analysis {"connection_id":130998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:42:37] local.INFO: Extracted packet for processing {"connection_id":130998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:42:37] 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-07-11 20: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-07-11 20:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":130998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:42:37] local.INFO: GPS data processed {"connection_id":130998,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:42:37] local.INFO: Acknowledgment sent {"connection_id":130998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:42:40] local.INFO: TCP Data received {"connection_id":130999,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51b9ec58012cdcad40072b87c0000e00bc2a..."} 
[2026-07-11 20:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51b9ec58012cdcad40072b87c0000e00bc2a..."} 
[2026-07-11 20:42:40] local.INFO: Processing buffer {"connection_id":130999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51b9ec58012cdcad40072b87c0000e00bc2a..."} 
[2026-07-11 20:42:40] local.INFO: Packet analysis {"connection_id":130999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:42:40] local.INFO: Extracted packet for processing {"connection_id":130999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51b9"} 
[2026-07-11 20:42:40] local.INFO: GPS Element Parsed {"raw_longitude":752659776,"raw_latitude":120293312,"longitude_deg":75.2659776,"latitude_deg":12.0293312,"altitude":14,"angle":188,"satellites":42,"speed":32,"hex_longitude":"2cdcad40","hex_latitude":"072b87c0","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648333312001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345560845159235584,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544393021178521600,"note":"Value kept but may cause issues"} 
[2026-07-11 20:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783782567000,"timestamp_ms":1783782567000,"timestamp_seconds":1783782567,"priority":1,"record_length":96,"hex_timestamp":"0000019f51b9ec58"} 
[2026-07-11 20:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-11 20:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648333312001,"66":27332,"225":206,"83":40960,"24":32,"16":345560845159235584,"44":-2544393021178521600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-07-11 20:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648333312001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:42:40] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-11 20:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345560845159235584,"km_value":345560845159235.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544393021178521600,"description":"Unknown IO ID 44"} 
[2026-07-11 20:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648333312001,"power":27332,"unknown_225":206,"unknown_83":40960,"ignition":32,"odometer":null,"unknown_44":-2544393021178521600}} 
[2026-07-11 20:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":130999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:42:40] local.INFO: GPS data processed {"connection_id":130999,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:42:40] local.INFO: Acknowledgment sent {"connection_id":130999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:42:59] local.INFO: TCP Data received {"connection_id":128839,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:42:59] local.INFO: Processing buffer {"connection_id":128839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:42:59] local.INFO: IMEI packet received {"connection_id":128839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":128839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:43:04] local.INFO: TCP Data received {"connection_id":128839,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:43:04] local.INFO: Processing buffer {"connection_id":128839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:43:04] local.INFO: IMEI packet received {"connection_id":128839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":128839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:43:05] local.INFO: TCP Data received {"connection_id":128839,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:43:05] local.INFO: Processing buffer {"connection_id":128839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:43:05] local.INFO: Packet analysis {"connection_id":128839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:43:05] local.INFO: Extracted packet for processing {"connection_id":128839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:43:05] 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-07-11 20:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:43:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":128839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:43:05] local.INFO: GPS data processed {"connection_id":128839,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:43:05] local.INFO: Acknowledgment sent {"connection_id":128839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:43:38] local.INFO: TCP Data received {"connection_id":129742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:43:38] local.INFO: Processing buffer {"connection_id":129742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:43:38] local.INFO: IMEI packet received {"connection_id":129742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":129742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:43:41] local.INFO: TCP Data received {"connection_id":128839,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:43:41] local.INFO: Processing buffer {"connection_id":128839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:43:41] local.INFO: Packet analysis {"connection_id":128839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:43:41] local.INFO: Extracted packet for processing {"connection_id":128839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:43:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":128839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:43:41] local.INFO: GPS data processed {"connection_id":128839,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:43:41] local.INFO: Acknowledgment sent {"connection_id":128839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:43:43] local.INFO: TCP Data received {"connection_id":129742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:43:43] local.INFO: Processing buffer {"connection_id":129742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:43:43] local.INFO: IMEI packet received {"connection_id":129742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":129742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:43:44] local.INFO: TCP Data received {"connection_id":129742,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bc0f38012cdce500072aaa68000b00842d..."} 
[2026-07-11 20:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bc0f38012cdce500072aaa68000b00842d..."} 
[2026-07-11 20:43:44] local.INFO: Processing buffer {"connection_id":129742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bc0f38012cdce500072aaa68000b00842d..."} 
[2026-07-11 20:43:44] local.INFO: Packet analysis {"connection_id":129742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bc"} 
[2026-07-11 20:43:44] local.INFO: Extracted packet for processing {"connection_id":129742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bc"} 
[2026-07-11 20:43:44] local.INFO: GPS Element Parsed {"raw_longitude":752674048,"raw_latitude":120236648,"longitude_deg":75.2674048,"latitude_deg":12.0236648,"altitude":11,"angle":132,"satellites":45,"speed":19,"hex_longitude":"2cdce500","hex_latitude":"072aaa68","is_valid_coordinates":true} 
[2026-07-11 20:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648367616001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345563800096735232,"note":"Value kept but may cause issues"} 
[2026-07-11 20:43:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2535948771892807680,"note":"Value kept but may cause issues"} 
[2026-07-11 20:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783782707000,"timestamp_ms":1783782707000,"timestamp_seconds":1783782707,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bc0f38"} 
[2026-07-11 20:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 20:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648367616001,"66":27397,"43":206,"83":40960,"24":19,"16":345563800096735232,"44":-2535948771892807680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-07-11 20:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648367616001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:43:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 20:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345563800096735232,"km_value":345563800096735.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:43:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2535948771892807680,"description":"Unknown IO ID 44"} 
[2026-07-11 20:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648367616001,"power":27397,"unknown_43":206,"unknown_83":40960,"ignition":19,"odometer":null,"unknown_44":-2535948771892807680}} 
[2026-07-11 20:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":129742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:43:44] local.INFO: GPS data processed {"connection_id":129742,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:43:44] local.INFO: Acknowledgment sent {"connection_id":129742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:43:58] local.INFO: TCP Data received {"connection_id":129015,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:43:58] local.INFO: Processing buffer {"connection_id":129015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:43:59] local.INFO: IMEI packet received {"connection_id":129015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":129015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:44:04] local.INFO: TCP Data received {"connection_id":129015,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:44:04] local.INFO: Processing buffer {"connection_id":129015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:44:04] local.INFO: IMEI packet received {"connection_id":129015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":129015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:44:05] local.INFO: TCP Data received {"connection_id":129015,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:44:05] local.INFO: Processing buffer {"connection_id":129015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:44:05] local.INFO: Packet analysis {"connection_id":129015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:44:05] local.INFO: Extracted packet for processing {"connection_id":129015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:44:05] 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-07-11 20:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:44:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":129015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:44:05] local.INFO: GPS data processed {"connection_id":129015,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:44:05] local.INFO: Acknowledgment sent {"connection_id":129015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:44:08] local.INFO: TCP Data received {"connection_id":131001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:44:08] local.INFO: Processing buffer {"connection_id":131001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:44:08] local.INFO: IMEI packet received {"connection_id":131001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":131001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:44:13] local.INFO: TCP Data received {"connection_id":131001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:44:13] local.INFO: Processing buffer {"connection_id":131001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:44:13] local.INFO: IMEI packet received {"connection_id":131001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":131001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:44:14] local.INFO: TCP Data received {"connection_id":131001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bc51a0012cdd0040072a9218000800832d..."} 
[2026-07-11 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bc51a0012cdd0040072a9218000800832d..."} 
[2026-07-11 20:44:14] local.INFO: Processing buffer {"connection_id":131001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bc51a0012cdd0040072a9218000800832d..."} 
[2026-07-11 20:44:14] local.INFO: Packet analysis {"connection_id":131001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bc"} 
[2026-07-11 20:44:14] local.INFO: Extracted packet for processing {"connection_id":131001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bc"} 
[2026-07-11 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":752681024,"raw_latitude":120230424,"longitude_deg":75.2681024,"latitude_deg":12.0230424,"altitude":8,"angle":131,"satellites":45,"speed":23,"hex_longitude":"2cdd0040","hex_latitude":"072a9218","is_valid_coordinates":true} 
[2026-07-11 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648372992001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345564251068301312,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2529615584918083584,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783782724000,"timestamp_ms":1783782724000,"timestamp_seconds":1783782724,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bc51a0"} 
[2026-07-11 20:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:44:14] 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-07-11 20:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648372992001,"66":27321,"43":206,"83":40960,"24":23,"16":345564251068301312,"44":-2529615584918083584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-07-11 20:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648372992001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:44:14] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 20:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345564251068301312,"km_value":345564251068301.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:44:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2529615584918083584,"description":"Unknown IO ID 44"} 
[2026-07-11 20:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648372992001,"power":27321,"unknown_43":206,"unknown_83":40960,"ignition":23,"odometer":null,"unknown_44":-2529615584918083584}} 
[2026-07-11 20:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":131001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:44:14] local.INFO: GPS data processed {"connection_id":131001,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:44:14] local.INFO: Acknowledgment sent {"connection_id":131001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:44:29] local.INFO: TCP Data received {"connection_id":129016,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:44:29] local.INFO: Processing buffer {"connection_id":129016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-11 20:44:29] local.INFO: IMEI packet received {"connection_id":129016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-11 20:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":129016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:44:38] local.INFO: TCP Data received {"connection_id":129015,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:44:38] local.INFO: Processing buffer {"connection_id":129015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:44:38] local.INFO: Packet analysis {"connection_id":129015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:44:38] local.INFO: Extracted packet for processing {"connection_id":129015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:44:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":129015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:44:38] local.INFO: GPS data processed {"connection_id":129015,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:44:38] local.INFO: Acknowledgment sent {"connection_id":129015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:44:45] local.INFO: TCP Data received {"connection_id":131001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bc8468012cdd1c40072a7a40000500812d..."} 
[2026-07-11 20:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bc8468012cdd1c40072a7a40000500812d..."} 
[2026-07-11 20:44:45] local.INFO: Processing buffer {"connection_id":131001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bc8468012cdd1c40072a7a40000500812d..."} 
[2026-07-11 20:44:45] local.INFO: Packet analysis {"connection_id":131001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bc"} 
[2026-07-11 20:44:45] local.INFO: Extracted packet for processing {"connection_id":131001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bc"} 
[2026-07-11 20:44:45] local.INFO: GPS Element Parsed {"raw_longitude":752688192,"raw_latitude":120224320,"longitude_deg":75.2688192,"latitude_deg":12.022432,"altitude":5,"angle":129,"satellites":45,"speed":29,"hex_longitude":"2cdd1c40","hex_latitude":"072a7a40","is_valid_coordinates":true} 
[2026-07-11 20:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648377344001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345564702039867392,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2521945391804311552,"note":"Value kept but may cause issues"} 
[2026-07-11 20:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783782737000,"timestamp_ms":1783782737000,"timestamp_seconds":1783782737,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bc8468"} 
[2026-07-11 20:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:44:45] 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-07-11 20:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648377344001,"66":27300,"43":206,"83":40960,"24":29,"16":345564702039867392,"44":-2521945391804311552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-07-11 20:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648377344001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:44:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 20:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345564702039867392,"km_value":345564702039867.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2521945391804311552,"description":"Unknown IO ID 44"} 
[2026-07-11 20:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648377344001,"power":27300,"unknown_43":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2521945391804311552}} 
[2026-07-11 20:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":131001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:44:45] local.INFO: GPS data processed {"connection_id":131001,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:44:45] local.INFO: Acknowledgment sent {"connection_id":131001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:44:58] local.INFO: TCP Data received {"connection_id":128840,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:44:58] local.INFO: Processing buffer {"connection_id":128840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:44:58] local.INFO: IMEI packet received {"connection_id":128840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":128840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:45:03] local.INFO: TCP Data received {"connection_id":128840,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:45:03] local.INFO: Processing buffer {"connection_id":128840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:45:03] local.INFO: IMEI packet received {"connection_id":128840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":128840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:45:04] local.INFO: TCP Data received {"connection_id":128841,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:45:04] local.INFO: Processing buffer {"connection_id":128841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:45:04] local.INFO: IMEI packet received {"connection_id":128841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:45:05] local.INFO: TCP Data received {"connection_id":128841,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:45:05] local.INFO: Processing buffer {"connection_id":128841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:45:05] local.INFO: IMEI packet received {"connection_id":128841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":128841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:45:05] local.INFO: TCP Data received {"connection_id":128840,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:45:05] local.INFO: Processing buffer {"connection_id":128840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:45:05] local.INFO: Packet analysis {"connection_id":128840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:45:05] local.INFO: Extracted packet for processing {"connection_id":128840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:45:05] 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-07-11 20: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-07-11 20:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":128840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:45:05] local.INFO: GPS data processed {"connection_id":128840,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:45:05] local.INFO: Acknowledgment sent {"connection_id":128840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:45:09] local.INFO: TCP Data received {"connection_id":128841,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:45:09] local.INFO: Processing buffer {"connection_id":128841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:45:09] local.INFO: IMEI packet received {"connection_id":128841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":128841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:45:10] local.INFO: TCP Data received {"connection_id":128841,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bcb730012cdd3780072a6280000700832d..."} 
[2026-07-11 20:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bcb730012cdd3780072a6280000700832d..."} 
[2026-07-11 20:45:10] local.INFO: Processing buffer {"connection_id":128841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bcb730012cdd3780072a6280000700832d..."} 
[2026-07-11 20:45:10] local.INFO: Packet analysis {"connection_id":128841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bc"} 
[2026-07-11 20:45:10] local.INFO: Extracted packet for processing {"connection_id":128841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bc"} 
[2026-07-11 20:45:10] local.INFO: GPS Element Parsed {"raw_longitude":752695168,"raw_latitude":120218240,"longitude_deg":75.2695168,"latitude_deg":12.021824,"altitude":7,"angle":131,"satellites":45,"speed":26,"hex_longitude":"2cdd3780","hex_latitude":"072a6280","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648380672001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345565144421498880,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2514064092457975808,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783782750000,"timestamp_ms":1783782750000,"timestamp_seconds":1783782750,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bcb730"} 
[2026-07-11 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-07-11 20:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 20:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648380672001,"66":27343,"43":206,"83":40960,"24":26,"16":345565144421498880,"44":-2514064092457975808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-07-11 20:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648380672001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:45:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-11 20:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345565144421498880,"km_value":345565144421498.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2514064092457975808,"description":"Unknown IO ID 44"} 
[2026-07-11 20:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648380672001,"power":27343,"unknown_43":206,"unknown_83":40960,"ignition":26,"odometer":null,"unknown_44":-2514064092457975808}} 
[2026-07-11 20:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":128841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:45:10] local.INFO: GPS data processed {"connection_id":128841,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:45:10] local.INFO: Acknowledgment sent {"connection_id":128841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:45:36] local.INFO: TCP Data received {"connection_id":128840,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:45:36] local.INFO: Processing buffer {"connection_id":128840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:45:36] local.INFO: Packet analysis {"connection_id":128840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:45:36] local.INFO: Extracted packet for processing {"connection_id":128840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:45:36] 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-07-11 20: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-07-11 20:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:45:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":128840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:45:37] local.INFO: GPS data processed {"connection_id":128840,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:45:37] local.INFO: Acknowledgment sent {"connection_id":128840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:45:41] local.INFO: TCP Data received {"connection_id":128841,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bd0938012cdd50c0072a4ce0000b00852d..."} 
[2026-07-11 20:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bd0938012cdd50c0072a4ce0000b00852d..."} 
[2026-07-11 20:45:41] local.INFO: Processing buffer {"connection_id":128841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bd0938012cdd50c0072a4ce0000b00852d..."} 
[2026-07-11 20:45:41] local.INFO: Packet analysis {"connection_id":128841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bd"} 
[2026-07-11 20:45:41] local.INFO: Extracted packet for processing {"connection_id":128841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bd"} 
[2026-07-11 20:45:41] local.INFO: GPS Element Parsed {"raw_longitude":752701632,"raw_latitude":120212704,"longitude_deg":75.2701632,"latitude_deg":12.0212704,"altitude":11,"angle":133,"satellites":45,"speed":13,"hex_longitude":"2cdd50c0","hex_latitude":"072a4ce0","is_valid_coordinates":true} 
[2026-07-11 20:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648384000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2506393899344166912,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345565552443392000,"note":"Value kept but may cause issues"} 
[2026-07-11 20:45:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 20:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783782771000,"timestamp_ms":1783782771000,"timestamp_seconds":1783782771,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bd0938"} 
[2026-07-11 20:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:45: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-07-11 20:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648384000001,"66":27213,"44":-2506393899344166912,"83":40960,"24":13,"16":345565552443392000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-11 20:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648384000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2506393899344166912,"description":"Unknown IO ID 44"} 
[2026-07-11 20:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345565552443392000,"km_value":345565552443392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:45:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456648384000001,"power":27213,"unknown_44":-2506393899344166912,"unknown_83":40960,"ignition":13,"odometer":null}} 
[2026-07-11 20:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":128841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:45:41] local.INFO: GPS data processed {"connection_id":128841,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:45:41] local.INFO: Acknowledgment sent {"connection_id":128841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:46:03] local.INFO: TCP Data received {"connection_id":129744,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:46:03] local.INFO: Processing buffer {"connection_id":129744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:46:03] local.INFO: IMEI packet received {"connection_id":129744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":129744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:46:04] local.INFO: TCP Data received {"connection_id":129019,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:46:04] local.INFO: Processing buffer {"connection_id":129019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:46:04] local.INFO: IMEI packet received {"connection_id":129019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":129019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:46:07] local.INFO: TCP Data received {"connection_id":129744,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:46:07] local.INFO: Processing buffer {"connection_id":129744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:46:07] local.INFO: IMEI packet received {"connection_id":129744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":129744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:46:08] local.INFO: TCP Data received {"connection_id":129744,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:46:08] local.INFO: Processing buffer {"connection_id":129744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:46:08] local.INFO: IMEI packet received {"connection_id":129744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":129744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:46:09] local.INFO: TCP Data received {"connection_id":129019,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:46:09] local.INFO: Processing buffer {"connection_id":129019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:46:09] local.INFO: IMEI packet received {"connection_id":129019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":129019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:46:09] local.INFO: TCP Data received {"connection_id":129744,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bf2060012cde268007296ab80003009029..."} 
[2026-07-11 20:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bf2060012cde268007296ab80003009029..."} 
[2026-07-11 20:46:09] local.INFO: Processing buffer {"connection_id":129744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bf2060012cde268007296ab80003009029..."} 
[2026-07-11 20:46:09] local.INFO: Packet analysis {"connection_id":129744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:46:09] local.INFO: Extracted packet for processing {"connection_id":129744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:46:09] local.INFO: GPS Element Parsed {"raw_longitude":752756352,"raw_latitude":120154808,"longitude_deg":75.2756352,"latitude_deg":12.0154808,"altitude":3,"angle":144,"satellites":41,"speed":31,"hex_longitude":"2cde2680","hex_latitude":"07296ab8","is_valid_coordinates":true} 
[2026-07-11 20:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648421376001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345569392144154624,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2445524935644876800,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783782908000,"timestamp_ms":1783782908000,"timestamp_seconds":1783782908,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bf2060"} 
[2026-07-11 20:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648421376001,"66":27213,"53":206,"83":40960,"24":31,"16":345569392144154624,"44":-2445524935644876800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-11 20:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648421376001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:46:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 20:46:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345569392144154624,"km_value":345569392144154.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2445524935644876800,"description":"Unknown IO ID 44"} 
[2026-07-11 20:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648421376001,"power":27213,"unknown_53":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2445524935644876800}} 
[2026-07-11 20:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":129744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:46:09] local.INFO: GPS data processed {"connection_id":129744,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:46:09] local.INFO: Acknowledgment sent {"connection_id":129744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:46:11] local.INFO: TCP Data received {"connection_id":129019,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:46:11] local.INFO: Processing buffer {"connection_id":129019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:46:11] local.INFO: Packet analysis {"connection_id":129019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:46:11] local.INFO: Extracted packet for processing {"connection_id":129019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:46:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":129019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:46:11] local.INFO: GPS data processed {"connection_id":129019,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:46:11] local.INFO: Acknowledgment sent {"connection_id":129019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:46:12] local.INFO: TCP Data received {"connection_id":129018,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:46:12] local.INFO: Processing buffer {"connection_id":129018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:46:12] local.INFO: IMEI packet received {"connection_id":129018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":129018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:46:14] local.INFO: TCP Data received {"connection_id":129744,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bf4b58012cde3cc007294fb00005008d29..."} 
[2026-07-11 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bf4b58012cde3cc007294fb00005008d29..."} 
[2026-07-11 20:46:14] local.INFO: Processing buffer {"connection_id":129744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bf4b58012cde3cc007294fb00005008d29..."} 
[2026-07-11 20:46:14] local.INFO: Packet analysis {"connection_id":129744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:46:14] local.INFO: Extracted packet for processing {"connection_id":129744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":752762048,"raw_latitude":120147888,"longitude_deg":75.2762048,"latitude_deg":12.0147888,"altitude":5,"angle":141,"satellites":41,"speed":30,"hex_longitude":"2cde3cc0","hex_latitude":"07294fb0","is_valid_coordinates":true} 
[2026-07-11 20:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648424448001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345569825935851520,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2439121379926558720,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783782919000,"timestamp_ms":1783782919000,"timestamp_seconds":1783782919,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bf4b58"} 
[2026-07-11 20:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 20:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648424448001,"66":27376,"53":206,"83":40960,"24":30,"16":345569825935851520,"44":-2439121379926558720},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-11 20:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648424448001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:46:14] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 20:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345569825935851520,"km_value":345569825935851.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2439121379926558720,"description":"Unknown IO ID 44"} 
[2026-07-11 20:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648424448001,"power":27376,"unknown_53":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-2439121379926558720}} 
[2026-07-11 20:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":129744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:46:14] local.INFO: GPS data processed {"connection_id":129744,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:46:14] local.INFO: Acknowledgment sent {"connection_id":129744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:46:42] local.INFO: TCP Data received {"connection_id":129019,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:46:42] local.INFO: Processing buffer {"connection_id":129019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bb7ac8012d196680071fef80003b011a26..."} 
[2026-07-11 20:46:42] local.INFO: Packet analysis {"connection_id":129019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:46:42] local.INFO: Extracted packet for processing {"connection_id":129019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bb"} 
[2026-07-11 20:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648286208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783782669000,"timestamp_ms":1783782669000,"timestamp_seconds":1783782669,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bb7ac8"} 
[2026-07-11 20:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 20:46:42] 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-07-11 20:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648286208001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648286208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:46:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648286208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":129019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:46:43] local.INFO: GPS data processed {"connection_id":129019,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:46:43] local.INFO: Acknowledgment sent {"connection_id":129019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:46:44] local.INFO: TCP Data received {"connection_id":131002,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:46:44] local.INFO: Processing buffer {"connection_id":131002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:46:44] local.INFO: IMEI packet received {"connection_id":131002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":131002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:46:45] local.INFO: TCP Data received {"connection_id":129744,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bf7268012cde548007293580000300872b..."} 
[2026-07-11 20:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bf7268012cde548007293580000300872b..."} 
[2026-07-11 20:46:45] local.INFO: Processing buffer {"connection_id":129744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bf7268012cde548007293580000300872b..."} 
[2026-07-11 20:46:45] local.INFO: Packet analysis {"connection_id":129744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:46:45] local.INFO: Extracted packet for processing {"connection_id":129744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":752768128,"raw_latitude":120141184,"longitude_deg":75.2768128,"latitude_deg":12.0141184,"altitude":3,"angle":135,"satellites":43,"speed":39,"hex_longitude":"2cde5480","hex_latitude":"07293580","is_valid_coordinates":true} 
[2026-07-11 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648427264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345570259727548416,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2432858561696518144,"note":"Value kept but may cause issues"} 
[2026-07-11 20:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783782929000,"timestamp_ms":1783782929000,"timestamp_seconds":1783782929,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bf7268"} 
[2026-07-11 20:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:46:45] 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-07-11 20:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648427264001,"66":27343,"53":206,"83":40960,"24":39,"16":345570259727548416,"44":-2432858561696518144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-11 20:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648427264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:46:45] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 20:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345570259727548416,"km_value":345570259727548.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:46:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2432858561696518144,"description":"Unknown IO ID 44"} 
[2026-07-11 20:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648427264001,"power":27343,"unknown_53":206,"unknown_83":40960,"ignition":39,"odometer":null,"unknown_44":-2432858561696518144}} 
[2026-07-11 20:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":129744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:46:45] local.INFO: GPS data processed {"connection_id":129744,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:46:45] local.INFO: Acknowledgment sent {"connection_id":129744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:46:59] local.INFO: TCP Data received {"connection_id":131003,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:46:59] local.INFO: Processing buffer {"connection_id":131003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:46:59] local.INFO: IMEI packet received {"connection_id":131003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":131003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:47:03] local.INFO: TCP Data received {"connection_id":131004,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:47:03] local.INFO: Processing buffer {"connection_id":131004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:47:03] local.INFO: IMEI packet received {"connection_id":131004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":131004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:47:05] local.INFO: TCP Data received {"connection_id":131003,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:47:05] local.INFO: Processing buffer {"connection_id":131003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:47:05] local.INFO: IMEI packet received {"connection_id":131003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":131003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:47:08] local.INFO: TCP Data received {"connection_id":131004,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:47:08] local.INFO: Processing buffer {"connection_id":131004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:47:08] local.INFO: IMEI packet received {"connection_id":131004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":131004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:47:09] local.INFO: TCP Data received {"connection_id":131004,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bf9590012cde6dc0072919300003008b2c..."} 
[2026-07-11 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bf9590012cde6dc0072919300003008b2c..."} 
[2026-07-11 20:47:09] local.INFO: Processing buffer {"connection_id":131004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bf9590012cde6dc0072919300003008b2c..."} 
[2026-07-11 20:47:09] local.INFO: Packet analysis {"connection_id":131004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:47:09] local.INFO: Extracted packet for processing {"connection_id":131004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":752774592,"raw_latitude":120133936,"longitude_deg":75.2774592,"latitude_deg":12.0133936,"altitude":3,"angle":139,"satellites":44,"speed":44,"hex_longitude":"2cde6dc0","hex_latitude":"07291930","is_valid_coordinates":true} 
[2026-07-11 20:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648429824001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345570723584016384,"note":"Value kept but may cause issues"} 
[2026-07-11 20:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2426173531001356288,"note":"Value kept but may cause issues"} 
[2026-07-11 20:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783782938000,"timestamp_ms":1783782938000,"timestamp_seconds":1783782938,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bf9590"} 
[2026-07-11 20:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648429824001,"66":27321,"53":206,"83":40960,"24":44,"16":345570723584016384,"44":-2426173531001356288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-11 20:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648429824001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:47:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 20:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345570723584016384,"km_value":345570723584016.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2426173531001356288,"description":"Unknown IO ID 44"} 
[2026-07-11 20:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648429824001,"power":27321,"unknown_53":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2426173531001356288}} 
[2026-07-11 20:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":131004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:47:09] local.INFO: GPS data processed {"connection_id":131004,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:47:09] local.INFO: Acknowledgment sent {"connection_id":131004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:47:15] local.INFO: TCP Data received {"connection_id":131003,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:47:15] local.INFO: Processing buffer {"connection_id":131003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:47:15] local.INFO: Packet analysis {"connection_id":131003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:47:15] local.INFO: Extracted packet for processing {"connection_id":131003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648363264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783782970000,"timestamp_ms":1783782970000,"timestamp_seconds":1783782970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c01290"} 
[2026-07-11 20:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648363264001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648363264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648363264001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":131003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:47:15] local.INFO: GPS data processed {"connection_id":131003,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:47:15] local.INFO: Acknowledgment sent {"connection_id":131003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:47:41] local.INFO: TCP Data received {"connection_id":131004,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51bfb4d0012cde86400728fe000003008c2a..."} 
[2026-07-11 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51bfb4d0012cde86400728fe000003008c2a..."} 
[2026-07-11 20:47:41] local.INFO: Processing buffer {"connection_id":131004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51bfb4d0012cde86400728fe000003008c2a..."} 
[2026-07-11 20:47:41] local.INFO: Packet analysis {"connection_id":131004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:47:41] local.INFO: Extracted packet for processing {"connection_id":131004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51bf"} 
[2026-07-11 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":752780864,"raw_latitude":120126976,"longitude_deg":75.2780864,"latitude_deg":12.0126976,"altitude":3,"angle":140,"satellites":42,"speed":46,"hex_longitude":"2cde8640","hex_latitude":"0728fe00","is_valid_coordinates":true} 
[2026-07-11 20:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648432128001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345571174555582464,"note":"Value kept but may cause issues"} 
[2026-07-11 20:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2419066287841267712,"note":"Value kept but may cause issues"} 
[2026-07-11 20:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783782946000,"timestamp_ms":1783782946000,"timestamp_seconds":1783782946,"priority":1,"record_length":96,"hex_timestamp":"0000019f51bfb4d0"} 
[2026-07-11 20:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648432128001,"66":27365,"53":206,"83":40960,"24":46,"16":345571174555582464,"44":-2419066287841267712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-11 20:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648432128001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:47:41] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-11 20:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345571174555582464,"km_value":345571174555582.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2419066287841267712,"description":"Unknown IO ID 44"} 
[2026-07-11 20:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648432128001,"power":27365,"unknown_53":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2419066287841267712}} 
[2026-07-11 20:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":131004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:47:41] local.INFO: GPS data processed {"connection_id":131004,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:47:41] local.INFO: Acknowledgment sent {"connection_id":131004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:47:59] local.INFO: TCP Data received {"connection_id":128842,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:47:59] local.INFO: Processing buffer {"connection_id":128842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:47:59] local.INFO: IMEI packet received {"connection_id":128842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":128842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:48:04] local.INFO: TCP Data received {"connection_id":128842,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:48:04] local.INFO: Processing buffer {"connection_id":128842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:48:04] local.INFO: IMEI packet received {"connection_id":128842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":128842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:48:05] local.INFO: TCP Data received {"connection_id":128842,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:48:05] local.INFO: Processing buffer {"connection_id":128842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:48:05] local.INFO: Packet analysis {"connection_id":128842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:48:05] local.INFO: Extracted packet for processing {"connection_id":128842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648363264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782970000,"timestamp_ms":1783782970000,"timestamp_seconds":1783782970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c01290"} 
[2026-07-11 20:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:48:05] 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-07-11 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648363264001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648363264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:48:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:48:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648363264001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":128842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:48:05] local.INFO: GPS data processed {"connection_id":128842,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:48:05] local.INFO: Acknowledgment sent {"connection_id":128842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:48:23] local.INFO: TCP Data received {"connection_id":129020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:48:23] local.INFO: Processing buffer {"connection_id":129020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:48:23] local.INFO: IMEI packet received {"connection_id":129020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":129020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:48:25] local.INFO: TCP Data received {"connection_id":129020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:48:25] local.INFO: Processing buffer {"connection_id":129020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:48:25] local.INFO: IMEI packet received {"connection_id":129020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":129020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:48:26] local.INFO: TCP Data received {"connection_id":129020,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c11460012cdf83800727be380002008b2a..."} 
[2026-07-11 20:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c11460012cdf83800727be380002008b2a..."} 
[2026-07-11 20:48:26] local.INFO: Processing buffer {"connection_id":129020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c11460012cdf83800727be380002008b2a..."} 
[2026-07-11 20:48:26] local.INFO: Packet analysis {"connection_id":129020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c1"} 
[2026-07-11 20:48:26] local.INFO: Extracted packet for processing {"connection_id":129020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c1"} 
[2026-07-11 20:48:26] local.INFO: GPS Element Parsed {"raw_longitude":752845696,"raw_latitude":120045112,"longitude_deg":75.2845696,"latitude_deg":12.0045112,"altitude":2,"angle":139,"satellites":42,"speed":44,"hex_longitude":"2cdf8380","hex_latitude":"0727be38","is_valid_coordinates":true} 
[2026-07-11 20:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648454912001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345576203962286080,"note":"Value kept but may cause issues"} 
[2026-07-11 20:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2347782750010163200,"note":"Value kept but may cause issues"} 
[2026-07-11 20:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783783036000,"timestamp_ms":1783783036000,"timestamp_seconds":1783783036,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c11460"} 
[2026-07-11 20:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:48:26] 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-07-11 20:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":129020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":129020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":129020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648454912001,"66":27365,"54":206,"83":40960,"24":44,"16":345576203962286080,"44":-2347782750010163200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-07-11 20:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648454912001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:48:26] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-11 20:48:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345576203962286080,"km_value":345576203962286.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2347782750010163200,"description":"Unknown IO ID 44"} 
[2026-07-11 20:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648454912001,"power":27365,"unknown_54":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2347782750010163200}} 
[2026-07-11 20:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":129020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:48:26] local.INFO: GPS data processed {"connection_id":129020,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:48:26] local.INFO: Acknowledgment sent {"connection_id":129020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:48:37] local.INFO: TCP Data received {"connection_id":128842,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:48:37] local.INFO: Processing buffer {"connection_id":128842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:48:37] local.INFO: Packet analysis {"connection_id":128842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:48:37] local.INFO: Extracted packet for processing {"connection_id":128842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648363264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783782970000,"timestamp_ms":1783782970000,"timestamp_seconds":1783782970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c01290"} 
[2026-07-11 20:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:48:37] 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-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648363264001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648363264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:48:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648363264001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":128842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:48:37] local.INFO: GPS data processed {"connection_id":128842,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:48:37] local.INFO: Acknowledgment sent {"connection_id":128842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:48:59] local.INFO: TCP Data received {"connection_id":129745,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:48:59] local.INFO: Processing buffer {"connection_id":129745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:48:59] local.INFO: IMEI packet received {"connection_id":129745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":129745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:49:03] local.INFO: TCP Data received {"connection_id":129022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:49:03] local.INFO: Processing buffer {"connection_id":129022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:49:03] local.INFO: IMEI packet received {"connection_id":129022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":129022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:49:03] local.INFO: TCP Data received {"connection_id":129022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:49:03] local.INFO: Processing buffer {"connection_id":129022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:49:03] local.INFO: IMEI packet received {"connection_id":129022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":129022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:49:04] local.INFO: TCP Data received {"connection_id":129745,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:49:04] local.INFO: Processing buffer {"connection_id":129745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:49:04] local.INFO: IMEI packet received {"connection_id":129745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":129745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:49:07] local.INFO: TCP Data received {"connection_id":129745,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:49:07] local.INFO: Processing buffer {"connection_id":129745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:49:07] local.INFO: Packet analysis {"connection_id":129745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:49:07] local.INFO: Extracted packet for processing {"connection_id":129745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648363264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783782970000,"timestamp_ms":1783782970000,"timestamp_seconds":1783782970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c01290"} 
[2026-07-11 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-07-11 20:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648363264001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648363264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:49:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648363264001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":129745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:49:07] local.INFO: GPS data processed {"connection_id":129745,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:49:07] local.INFO: Acknowledgment sent {"connection_id":129745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:49:08] local.INFO: TCP Data received {"connection_id":129022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:49:08] local.INFO: Processing buffer {"connection_id":129022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:49:08] local.INFO: IMEI packet received {"connection_id":129022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":129022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:49:09] local.INFO: TCP Data received {"connection_id":129022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c133a0012cdf9c000727a350000300892b..."} 
[2026-07-11 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c133a0012cdf9c000727a350000300892b..."} 
[2026-07-11 20:49:09] local.INFO: Processing buffer {"connection_id":129022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c133a0012cdf9c000727a350000300892b..."} 
[2026-07-11 20:49:09] local.INFO: Packet analysis {"connection_id":129022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c1"} 
[2026-07-11 20:49:09] local.INFO: Extracted packet for processing {"connection_id":129022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c1"} 
[2026-07-11 20:49:09] local.INFO: GPS Element Parsed {"raw_longitude":752851968,"raw_latitude":120038224,"longitude_deg":75.2851968,"latitude_deg":12.0038224,"altitude":3,"angle":137,"satellites":43,"speed":47,"hex_longitude":"2cdf9c00","hex_latitude":"0727a350","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648457216001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345576650638884864,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2340886613082621952,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783783044000,"timestamp_ms":1783783044000,"timestamp_seconds":1783783044,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c133a0"} 
[2026-07-11 20:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:49:09] 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-07-11 20: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-07-11 20:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648457216001,"66":27365,"54":206,"83":40960,"24":47,"16":345576650638884864,"44":-2340886613082621952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-07-11 20:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648457216001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:49:09] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-11 20:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-11 20:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345576650638884864,"km_value":345576650638884.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:49:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2340886613082621952,"description":"Unknown IO ID 44"} 
[2026-07-11 20:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648457216001,"power":27365,"unknown_54":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2340886613082621952}} 
[2026-07-11 20:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":129022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:49:09] local.INFO: GPS data processed {"connection_id":129022,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:49:09] local.INFO: Acknowledgment sent {"connection_id":129022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:49:38] local.INFO: TCP Data received {"connection_id":129745,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:49:38] local.INFO: Processing buffer {"connection_id":129745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:49:38] local.INFO: Packet analysis {"connection_id":129745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:49:38] local.INFO: Extracted packet for processing {"connection_id":129745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648363264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783782970000,"timestamp_ms":1783782970000,"timestamp_seconds":1783782970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c01290"} 
[2026-07-11 20:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:49: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-07-11 20:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648363264001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648363264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:49:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648363264001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":129745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:49:38] local.INFO: GPS data processed {"connection_id":129745,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:49:38] local.INFO: Acknowledgment sent {"connection_id":129745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:49:40] local.INFO: TCP Data received {"connection_id":129022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c25c80012ce097400726d118000300742b..."} 
[2026-07-11 20:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c25c80012ce097400726d118000300742b..."} 
[2026-07-11 20:49:40] local.INFO: Processing buffer {"connection_id":129022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c25c80012ce097400726d118000300742b..."} 
[2026-07-11 20:49:40] local.INFO: Packet analysis {"connection_id":129022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:49:40] local.INFO: Extracted packet for processing {"connection_id":129022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:49:40] local.INFO: GPS Element Parsed {"raw_longitude":752916288,"raw_latitude":119984408,"longitude_deg":75.2916288,"latitude_deg":11.9984408,"altitude":3,"angle":116,"satellites":43,"speed":43,"hex_longitude":"2ce09740","hex_latitude":"0726d118","is_valid_coordinates":true} 
[2026-07-11 20:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648478208001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345580894066573312,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2265451319339503616,"note":"Value kept but may cause issues"} 
[2026-07-11 20:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783783120000,"timestamp_ms":1783783120000,"timestamp_seconds":1783783120,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c25c80"} 
[2026-07-11 20:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648478208001,"66":27343,"151":206,"83":43008,"24":43,"16":345580894066573312,"44":-2265451319339503616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-07-11 20:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648478208001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:49:40] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-11 20:49:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345580894066573312,"km_value":345580894066573.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2265451319339503616,"description":"Unknown IO ID 44"} 
[2026-07-11 20:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648478208001,"power":27343,"unknown_151":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-2265451319339503616}} 
[2026-07-11 20:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":129022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:49:40] local.INFO: GPS data processed {"connection_id":129022,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:49:40] local.INFO: Acknowledgment sent {"connection_id":129022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:50:03] local.INFO: TCP Data received {"connection_id":131006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:50:03] local.INFO: Processing buffer {"connection_id":131006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:50:03] local.INFO: IMEI packet received {"connection_id":131006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":131006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:50:04] local.INFO: TCP Data received {"connection_id":128844,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:50:04] local.INFO: Processing buffer {"connection_id":128844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:50:04] local.INFO: IMEI packet received {"connection_id":128844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":128844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:50:06] local.INFO: TCP Data received {"connection_id":131006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:50:06] local.INFO: Processing buffer {"connection_id":131006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:50:06] local.INFO: IMEI packet received {"connection_id":131006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":131006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:50:08] local.INFO: TCP Data received {"connection_id":131006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:50:08] local.INFO: Processing buffer {"connection_id":131006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:50:08] local.INFO: IMEI packet received {"connection_id":131006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":131006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:50:09] local.INFO: TCP Data received {"connection_id":131006,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c27bc0012ce0b5c00726bee8000400792a..."} 
[2026-07-11 20:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c27bc0012ce0b5c00726bee8000400792a..."} 
[2026-07-11 20:50:09] local.INFO: Processing buffer {"connection_id":131006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c27bc0012ce0b5c00726bee8000400792a..."} 
[2026-07-11 20:50:09] local.INFO: Packet analysis {"connection_id":131006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:50:09] local.INFO: Extracted packet for processing {"connection_id":131006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:50:09] local.INFO: GPS Element Parsed {"raw_longitude":752924096,"raw_latitude":119979752,"longitude_deg":75.2924096,"latitude_deg":11.9979752,"altitude":4,"angle":121,"satellites":42,"speed":43,"hex_longitude":"2ce0b5c0","hex_latitude":"0726bee8","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648478720001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345581332153237504,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2263269888270198784,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783783128000,"timestamp_ms":1783783128000,"timestamp_seconds":1783783128,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c27bc0"} 
[2026-07-11 20:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:50:09] 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-07-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648478720001,"66":27343,"151":206,"83":43008,"24":43,"16":345581332153237504,"44":-2263269888270198784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-07-11 20:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648478720001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:50:09] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-11 20:50:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345581332153237504,"km_value":345581332153237.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:50:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2263269888270198784,"description":"Unknown IO ID 44"} 
[2026-07-11 20:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648478720001,"power":27343,"unknown_151":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-2263269888270198784}} 
[2026-07-11 20:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":131006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:50:09] local.INFO: GPS data processed {"connection_id":131006,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:50:09] local.INFO: Acknowledgment sent {"connection_id":131006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:50:09] local.INFO: TCP Data received {"connection_id":128844,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:50:09] local.INFO: Processing buffer {"connection_id":128844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:50:09] local.INFO: IMEI packet received {"connection_id":128844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":128844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:50:10] local.INFO: TCP Data received {"connection_id":128844,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:50:10] local.INFO: Processing buffer {"connection_id":128844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:50:10] local.INFO: Packet analysis {"connection_id":128844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:50:10] local.INFO: Extracted packet for processing {"connection_id":128844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648363264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783782970000,"timestamp_ms":1783782970000,"timestamp_seconds":1783782970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c01290"} 
[2026-07-11 20:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:50:10] 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-07-11 20:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648363264001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648363264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:50:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:50:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648363264001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":128844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:50:10] local.INFO: GPS data processed {"connection_id":128844,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:50:10] local.INFO: Acknowledgment sent {"connection_id":128844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:50:14] local.INFO: TCP Data received {"connection_id":131006,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c2a2d0012ce0d5c00726ab700004007a2d..."} 
[2026-07-11 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c2a2d0012ce0d5c00726ab700004007a2d..."} 
[2026-07-11 20:50:14] local.INFO: Processing buffer {"connection_id":131006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c2a2d0012ce0d5c00726ab700004007a2d..."} 
[2026-07-11 20:50:14] local.INFO: Packet analysis {"connection_id":131006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:50:14] local.INFO: Extracted packet for processing {"connection_id":131006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":752932288,"raw_latitude":119974768,"longitude_deg":75.2932288,"latitude_deg":11.9974768,"altitude":4,"angle":122,"satellites":45,"speed":35,"hex_longitude":"2ce0d5c0","hex_latitude":"0726ab70","is_valid_coordinates":true} 
[2026-07-11 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648480768001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345581787419770880,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2254684901481715712,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783783138000,"timestamp_ms":1783783138000,"timestamp_seconds":1783783138,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c2a2d0"} 
[2026-07-11 20:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:50:14] 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-07-11 20:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648480768001,"66":27343,"151":206,"83":43008,"24":35,"16":345581787419770880,"44":-2254684901481715712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-07-11 20:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648480768001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:50:14] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-11 20:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345581787419770880,"km_value":345581787419770.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2254684901481715712,"description":"Unknown IO ID 44"} 
[2026-07-11 20:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648480768001,"power":27343,"unknown_151":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-2254684901481715712}} 
[2026-07-11 20:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":131006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:50:14] local.INFO: GPS data processed {"connection_id":131006,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:50:14] local.INFO: Acknowledgment sent {"connection_id":131006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:50:15] local.INFO: TCP Data received {"connection_id":128844,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:50:15] local.INFO: Processing buffer {"connection_id":128844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:50:15] local.INFO: Packet analysis {"connection_id":128844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:50:15] local.INFO: Extracted packet for processing {"connection_id":128844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648363264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783782970000,"timestamp_ms":1783782970000,"timestamp_seconds":1783782970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c01290"} 
[2026-07-11 20:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648363264001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648363264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:50:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:50:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648363264001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":128844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:50:15] local.INFO: GPS data processed {"connection_id":128844,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:50:15] local.INFO: Acknowledgment sent {"connection_id":128844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:50:45] local.INFO: TCP Data received {"connection_id":131006,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c2c9e0012ce0f480072698500006007a2c..."} 
[2026-07-11 20:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c2c9e0012ce0f480072698500006007a2c..."} 
[2026-07-11 20:50:45] local.INFO: Processing buffer {"connection_id":131006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c2c9e0012ce0f480072698500006007a2c..."} 
[2026-07-11 20:50:45] local.INFO: Packet analysis {"connection_id":131006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:50:45] local.INFO: Extracted packet for processing {"connection_id":131006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:50:45] local.INFO: GPS Element Parsed {"raw_longitude":752940160,"raw_latitude":119969872,"longitude_deg":75.294016,"latitude_deg":11.9969872,"altitude":6,"angle":122,"satellites":44,"speed":37,"hex_longitude":"2ce0f480","hex_latitude":"07269850","is_valid_coordinates":true} 
[2026-07-11 20:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648483328001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345582229801402368,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2245677702228250624,"note":"Value kept but may cause issues"} 
[2026-07-11 20:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783783148000,"timestamp_ms":1783783148000,"timestamp_seconds":1783783148,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c2c9e0"} 
[2026-07-11 20:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648483328001,"66":27365,"151":206,"83":43008,"24":37,"16":345582229801402368,"44":-2245677702228250624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-07-11 20:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648483328001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:50:45] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-11 20:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345582229801402368,"km_value":345582229801402.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2245677702228250624,"description":"Unknown IO ID 44"} 
[2026-07-11 20:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648483328001,"power":27365,"unknown_151":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-2245677702228250624}} 
[2026-07-11 20:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":131006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:50:45] local.INFO: GPS data processed {"connection_id":131006,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:50:45] local.INFO: Acknowledgment sent {"connection_id":131006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:50:58] local.INFO: TCP Data received {"connection_id":129747,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:50:58] local.INFO: Processing buffer {"connection_id":129747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:50:58] local.INFO: IMEI packet received {"connection_id":129747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":129747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:51:04] local.INFO: TCP Data received {"connection_id":129747,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:51:04] local.INFO: Processing buffer {"connection_id":129747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:51:04] local.INFO: IMEI packet received {"connection_id":129747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":129747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:51:05] local.INFO: TCP Data received {"connection_id":129747,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:51:05] local.INFO: Processing buffer {"connection_id":129747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:51:05] local.INFO: Packet analysis {"connection_id":129747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:51:05] local.INFO: Extracted packet for processing {"connection_id":129747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648363264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783782970000,"timestamp_ms":1783782970000,"timestamp_seconds":1783782970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c01290"} 
[2026-07-11 20:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:51:05] 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-07-11 20:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648363264001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648363264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:51:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648363264001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":129747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:51:05] local.INFO: GPS data processed {"connection_id":129747,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:51:05] local.INFO: Acknowledgment sent {"connection_id":129747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:51:10] local.INFO: TCP Data received {"connection_id":129023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:51:10] local.INFO: Processing buffer {"connection_id":129023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:51:10] local.INFO: IMEI packet received {"connection_id":129023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":129023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:51:13] local.INFO: TCP Data received {"connection_id":129023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:51:13] local.INFO: Processing buffer {"connection_id":129023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:51:13] local.INFO: IMEI packet received {"connection_id":129023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":129023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:51:14] local.INFO: TCP Data received {"connection_id":129023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c2f0f0012ce11580072685d00006007129..."} 
[2026-07-11 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c2f0f0012ce11580072685d00006007129..."} 
[2026-07-11 20:51:14] local.INFO: Processing buffer {"connection_id":129023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c2f0f0012ce11580072685d00006007129..."} 
[2026-07-11 20:51:14] local.INFO: Packet analysis {"connection_id":129023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:51:14] local.INFO: Extracted packet for processing {"connection_id":129023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c2"} 
[2026-07-11 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":752948608,"raw_latitude":119965136,"longitude_deg":75.2948608,"latitude_deg":11.9965136,"altitude":6,"angle":113,"satellites":41,"speed":40,"hex_longitude":"2ce11580","hex_latitude":"072685d0","is_valid_coordinates":true} 
[2026-07-11 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648485888001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345582693657870336,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2237022346695651328,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783783158000,"timestamp_ms":1783783158000,"timestamp_seconds":1783783158,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c2f0f0"} 
[2026-07-11 20:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 20:51:14] 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-07-11 20:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648485888001,"66":27463,"149":206,"83":43008,"24":40,"16":345582693657870336,"44":-2237022346695651328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-07-11 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648485888001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:51:14] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-11 20:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345582693657870336,"km_value":345582693657870.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2237022346695651328,"description":"Unknown IO ID 44"} 
[2026-07-11 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648485888001,"power":27463,"unknown_149":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-2237022346695651328}} 
[2026-07-11 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":129023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:51:14] local.INFO: GPS data processed {"connection_id":129023,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:51:14] local.INFO: Acknowledgment sent {"connection_id":129023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:51:37] local.INFO: TCP Data received {"connection_id":129747,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:51:37] local.INFO: Processing buffer {"connection_id":129747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c01290012d196680071fef80003b011a24..."} 
[2026-07-11 20:51:37] local.INFO: Packet analysis {"connection_id":129747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:51:37] local.INFO: Extracted packet for processing {"connection_id":129747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c0"} 
[2026-07-11 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648363264001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783782970000,"timestamp_ms":1783782970000,"timestamp_seconds":1783782970,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c01290"} 
[2026-07-11 20:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:51:37] 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-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648363264001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648363264001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:51:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648363264001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":129747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:51:37] local.INFO: GPS data processed {"connection_id":129747,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:51:37] local.INFO: Acknowledgment sent {"connection_id":129747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:51:51] local.INFO: TCP Data received {"connection_id":129023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c46408012ce2b500072602e80006006e2c..."} 
[2026-07-11 20:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c46408012ce2b500072602e80006006e2c..."} 
[2026-07-11 20:51:51] local.INFO: Processing buffer {"connection_id":129023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c46408012ce2b500072602e80006006e2c..."} 
[2026-07-11 20:51:51] local.INFO: Packet analysis {"connection_id":129023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:51:51] local.INFO: Extracted packet for processing {"connection_id":129023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:51:51] local.INFO: GPS Element Parsed {"raw_longitude":753054976,"raw_latitude":119931624,"longitude_deg":75.3054976,"latitude_deg":11.9931624,"altitude":6,"angle":110,"satellites":44,"speed":41,"hex_longitude":"2ce2b500","hex_latitude":"072602e8","is_valid_coordinates":true} 
[2026-07-11 20:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648510464001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345588002237448192,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2120843550067273728,"note":"Value kept but may cause issues"} 
[2026-07-11 20:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783783253000,"timestamp_ms":1783783253000,"timestamp_seconds":1783783253,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c46408"} 
[2026-07-11 20:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 20:51:51] 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-07-11 20:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648510464001,"66":27213,"87":206,"83":43008,"24":41,"16":345588002237448192,"44":-2120843550067273728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-11 20:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648510464001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:51:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-11 20:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345588002237448192,"km_value":345588002237448.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2120843550067273728,"description":"Unknown IO ID 44"} 
[2026-07-11 20:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648510464001,"power":27213,"unknown_87":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-2120843550067273728}} 
[2026-07-11 20:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":129023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:51:51] local.INFO: GPS data processed {"connection_id":129023,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:51:51] local.INFO: Acknowledgment sent {"connection_id":129023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:51:59] local.INFO: TCP Data received {"connection_id":131007,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:51:59] local.INFO: Processing buffer {"connection_id":131007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:51:59] local.INFO: IMEI packet received {"connection_id":131007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":131007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:52:04] local.INFO: TCP Data received {"connection_id":131007,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:52:04] local.INFO: Processing buffer {"connection_id":131007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:52:04] local.INFO: IMEI packet received {"connection_id":131007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":131007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:52:04] local.INFO: TCP Data received {"connection_id":129024,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:52:04] local.INFO: Processing buffer {"connection_id":129024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:52:04] local.INFO: IMEI packet received {"connection_id":129024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":129024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:52:05] local.INFO: TCP Data received {"connection_id":131007,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:52:05] local.INFO: Processing buffer {"connection_id":131007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:52:05] local.INFO: Packet analysis {"connection_id":131007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:05] local.INFO: Extracted packet for processing {"connection_id":131007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648440320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783271000,"timestamp_ms":1783783271000,"timestamp_seconds":1783783271,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4aa58"} 
[2026-07-11 20:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648440320001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648440320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:52:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648440320001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":131007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:52:05] local.INFO: GPS data processed {"connection_id":131007,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:52:05] local.INFO: Acknowledgment sent {"connection_id":131007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:52:09] local.INFO: TCP Data received {"connection_id":129024,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:52:09] local.INFO: Processing buffer {"connection_id":129024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:52:09] local.INFO: IMEI packet received {"connection_id":129024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":129024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:52:14] local.INFO: TCP Data received {"connection_id":129024,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:52:14] local.INFO: Processing buffer {"connection_id":129024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:52:14] local.INFO: IMEI packet received {"connection_id":129024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":129024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:52:15] local.INFO: TCP Data received {"connection_id":129748,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:52:15] local.INFO: Processing buffer {"connection_id":129748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:52:15] local.INFO: IMEI packet received {"connection_id":129748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":129748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:52:15] local.INFO: TCP Data received {"connection_id":129024,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c48730012ce2d7800725f430000500752b..."} 
[2026-07-11 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c48730012ce2d7800725f430000500752b..."} 
[2026-07-11 20:52:15] local.INFO: Processing buffer {"connection_id":129024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c48730012ce2d7800725f430000500752b..."} 
[2026-07-11 20:52:15] local.INFO: Packet analysis {"connection_id":129024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:15] local.INFO: Extracted packet for processing {"connection_id":129024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:15] local.INFO: GPS Element Parsed {"raw_longitude":753063808,"raw_latitude":119927856,"longitude_deg":75.3063808,"latitude_deg":11.9927856,"altitude":5,"angle":117,"satellites":43,"speed":41,"hex_longitude":"2ce2d780","hex_latitude":"0725f430","is_valid_coordinates":true} 
[2026-07-11 20:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648512768001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345588461798948864,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2110780819650713600,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783783262000,"timestamp_ms":1783783262000,"timestamp_seconds":1783783262,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c48730"} 
[2026-07-11 20:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 20:52:15] 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-07-11 20:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648512768001,"66":27300,"87":206,"83":43008,"24":41,"16":345588461798948864,"44":-2110780819650713600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-11 20:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648512768001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345588461798948864,"km_value":345588461798948.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2110780819650713600,"description":"Unknown IO ID 44"} 
[2026-07-11 20:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648512768001,"power":27300,"unknown_87":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-2110780819650713600}} 
[2026-07-11 20:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":129024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:52:15] local.INFO: GPS data processed {"connection_id":129024,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:52:15] local.INFO: Acknowledgment sent {"connection_id":129024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:52:16] local.INFO: TCP Data received {"connection_id":129024,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c492e8012ce2e1c00725ecf8000400832c..."} 
[2026-07-11 20:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c492e8012ce2e1c00725ecf8000400832c..."} 
[2026-07-11 20:52:16] local.INFO: Processing buffer {"connection_id":129024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c492e8012ce2e1c00725ecf8000400832c..."} 
[2026-07-11 20:52:16] local.INFO: Packet analysis {"connection_id":129024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:16] local.INFO: Extracted packet for processing {"connection_id":129024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:16] local.INFO: GPS Element Parsed {"raw_longitude":753066432,"raw_latitude":119926008,"longitude_deg":75.3066432,"latitude_deg":11.9926008,"altitude":4,"angle":131,"satellites":44,"speed":42,"hex_longitude":"2ce2e1c0","hex_latitude":"0725ecf8","is_valid_coordinates":true} 
[2026-07-11 20:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648515072001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345588612122804224,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2101069932955160576,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783783265000,"timestamp_ms":1783783265000,"timestamp_seconds":1783783265,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c492e8"} 
[2026-07-11 20:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 20:52:16] 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-07-11 20:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648515072001,"66":27343,"87":206,"83":43008,"24":42,"16":345588612122804224,"44":-2101069932955160576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-11 20:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648515072001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:52:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-11 20:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345588612122804224,"km_value":345588612122804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:52:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2101069932955160576,"description":"Unknown IO ID 44"} 
[2026-07-11 20:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648515072001,"power":27343,"unknown_87":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-2101069932955160576}} 
[2026-07-11 20:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":129024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:52:16] local.INFO: GPS data processed {"connection_id":129024,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:52:16] local.INFO: Acknowledgment sent {"connection_id":129024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:52:38] local.INFO: TCP Data received {"connection_id":131007,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:52:38] local.INFO: Processing buffer {"connection_id":131007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:52:38] local.INFO: Packet analysis {"connection_id":131007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:38] local.INFO: Extracted packet for processing {"connection_id":131007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648440320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783783271000,"timestamp_ms":1783783271000,"timestamp_seconds":1783783271,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4aa58"} 
[2026-07-11 20:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648440320001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648440320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:52:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648440320001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":131007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:52:38] local.INFO: GPS data processed {"connection_id":131007,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:52:38] local.INFO: Acknowledgment sent {"connection_id":131007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:52:47] local.INFO: TCP Data received {"connection_id":129024,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4a670012ce2f0800725dd00000400912c..."} 
[2026-07-11 20:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4a670012ce2f0800725dd00000400912c..."} 
[2026-07-11 20:52:47] local.INFO: Processing buffer {"connection_id":129024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4a670012ce2f0800725dd00000400912c..."} 
[2026-07-11 20:52:47] local.INFO: Packet analysis {"connection_id":129024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:47] local.INFO: Extracted packet for processing {"connection_id":129024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:52:47] local.INFO: GPS Element Parsed {"raw_longitude":753070208,"raw_latitude":119921920,"longitude_deg":75.3070208,"latitude_deg":11.992192,"altitude":4,"angle":145,"satellites":44,"speed":45,"hex_longitude":"2ce2f080","hex_latitude":"0725dd00","is_valid_coordinates":true} 
[2026-07-11 20:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648515840001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345588882705743872,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2098184814444349440,"note":"Value kept but may cause issues"} 
[2026-07-11 20:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783783270000,"timestamp_ms":1783783270000,"timestamp_seconds":1783783270,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4a670"} 
[2026-07-11 20:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648515840001,"66":27343,"87":206,"83":43008,"24":45,"16":345588882705743872,"44":-2098184814444349440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-11 20:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648515840001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:52:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-11 20:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345588882705743872,"km_value":345588882705743.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2098184814444349440,"description":"Unknown IO ID 44"} 
[2026-07-11 20:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648515840001,"power":27343,"unknown_87":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-2098184814444349440}} 
[2026-07-11 20:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":129024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:52:47] local.INFO: GPS data processed {"connection_id":129024,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:52:47] local.INFO: Acknowledgment sent {"connection_id":129024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:52:50] local.INFO: TCP Data received {"connection_id":129749,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:52:50] local.INFO: Processing buffer {"connection_id":129749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:52:50] local.INFO: IMEI packet received {"connection_id":129749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":129749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:53:03] local.INFO: TCP Data received {"connection_id":131009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:53:03] local.INFO: Processing buffer {"connection_id":131009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:53:03] local.INFO: IMEI packet received {"connection_id":131009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":131009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:53:04] local.INFO: TCP Data received {"connection_id":131008,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:53:04] local.INFO: Processing buffer {"connection_id":131008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:53:04] local.INFO: IMEI packet received {"connection_id":131008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":131008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:53:08] local.INFO: TCP Data received {"connection_id":131009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:53:08] local.INFO: Processing buffer {"connection_id":131009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:53:08] local.INFO: IMEI packet received {"connection_id":131009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":131009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:53:09] local.INFO: TCP Data received {"connection_id":131008,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:53:09] local.INFO: Processing buffer {"connection_id":131008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:53:09] local.INFO: IMEI packet received {"connection_id":131008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":131008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:53:10] local.INFO: TCP Data received {"connection_id":131008,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:53:10] local.INFO: Processing buffer {"connection_id":131008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:53:10] local.INFO: Packet analysis {"connection_id":131008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:53:10] local.INFO: Extracted packet for processing {"connection_id":131008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648440320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783783271000,"timestamp_ms":1783783271000,"timestamp_seconds":1783783271,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4aa58"} 
[2026-07-11 20:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648440320001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648440320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:53:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:53:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648440320001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":131008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:53:10] local.INFO: GPS data processed {"connection_id":131008,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:53:10] local.INFO: Acknowledgment sent {"connection_id":131008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:53:10] local.INFO: TCP Data received {"connection_id":131009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4c5b0012ce304400725be08000500912b..."} 
[2026-07-11 20:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4c5b0012ce304400725be08000500912b..."} 
[2026-07-11 20:53:10] local.INFO: Processing buffer {"connection_id":131009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4c5b0012ce304400725be08000500912b..."} 
[2026-07-11 20:53:10] local.INFO: Packet analysis {"connection_id":131009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:53:10] local.INFO: Extracted packet for processing {"connection_id":131009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":753075264,"raw_latitude":119913992,"longitude_deg":75.3075264,"latitude_deg":11.9913992,"altitude":5,"angle":145,"satellites":43,"speed":46,"hex_longitude":"2ce30440","hex_latitude":"0725be08","is_valid_coordinates":true} 
[2026-07-11 20:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517120001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345589333677309952,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2094033058538913792,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783783278000,"timestamp_ms":1783783278000,"timestamp_seconds":1783783278,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4c5b0"} 
[2026-07-11 20:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517120001,"66":27376,"169":206,"83":43008,"24":46,"16":345589333677309952,"44":-2094033058538913792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517120001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:53:10] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345589333677309952,"km_value":345589333677309.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2094033058538913792,"description":"Unknown IO ID 44"} 
[2026-07-11 20:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517120001,"power":27376,"unknown_169":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-2094033058538913792}} 
[2026-07-11 20:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":131009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:53:10] local.INFO: GPS data processed {"connection_id":131009,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:53:10] local.INFO: Acknowledgment sent {"connection_id":131009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:53:15] local.INFO: TCP Data received {"connection_id":131008,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:53:15] local.INFO: Processing buffer {"connection_id":131008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:53:15] local.INFO: Packet analysis {"connection_id":131008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:53:15] local.INFO: Extracted packet for processing {"connection_id":131008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648440320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783783271000,"timestamp_ms":1783783271000,"timestamp_seconds":1783783271,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4aa58"} 
[2026-07-11 20:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648440320001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648440320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:53:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:53:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648440320001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":131008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:53:16] local.INFO: GPS data processed {"connection_id":131008,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:53:16] local.INFO: Acknowledgment sent {"connection_id":131008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:53:42] local.INFO: TCP Data received {"connection_id":131009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4e4f0012ce318c007259f980006009429..."} 
[2026-07-11 20:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4e4f0012ce318c007259f980006009429..."} 
[2026-07-11 20:53:42] local.INFO: Processing buffer {"connection_id":131009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4e4f0012ce318c007259f980006009429..."} 
[2026-07-11 20:53:42] local.INFO: Packet analysis {"connection_id":131009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:53:42] local.INFO: Extracted packet for processing {"connection_id":131009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753080512,"raw_latitude":119906200,"longitude_deg":75.3080512,"latitude_deg":11.99062,"altitude":6,"angle":148,"satellites":41,"speed":45,"hex_longitude":"2ce318c0","hex_latitude":"07259f98","is_valid_coordinates":true} 
[2026-07-11 20:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648519168001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345589788943843328,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2088473927750907904,"note":"Value kept but may cause issues"} 
[2026-07-11 20:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783783286000,"timestamp_ms":1783783286000,"timestamp_seconds":1783783286,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4e4f0"} 
[2026-07-11 20:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648519168001,"66":27267,"169":206,"83":43008,"24":45,"16":345589788943843328,"44":-2088473927750907904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648519168001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:53:42] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345589788943843328,"km_value":345589788943843.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2088473927750907904,"description":"Unknown IO ID 44"} 
[2026-07-11 20:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648519168001,"power":27267,"unknown_169":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-2088473927750907904}} 
[2026-07-11 20:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":131009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:53:42] local.INFO: GPS data processed {"connection_id":131009,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:53:42] local.INFO: Acknowledgment sent {"connection_id":131009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:53:59] local.INFO: TCP Data received {"connection_id":129750,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:53:59] local.INFO: Processing buffer {"connection_id":129750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:53:59] local.INFO: IMEI packet received {"connection_id":129750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":129750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:54:03] local.INFO: TCP Data received {"connection_id":128845,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:54:03] local.INFO: Processing buffer {"connection_id":128845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:54:03] local.INFO: IMEI packet received {"connection_id":128845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":128845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:54:04] local.INFO: TCP Data received {"connection_id":129750,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:54:04] local.INFO: Processing buffer {"connection_id":129750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:54:04] local.INFO: IMEI packet received {"connection_id":129750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":129750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:54:05] local.INFO: TCP Data received {"connection_id":129750,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:54:05] local.INFO: Processing buffer {"connection_id":129750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:54:05] local.INFO: Packet analysis {"connection_id":129750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:54:05] local.INFO: Extracted packet for processing {"connection_id":129750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648440320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783271000,"timestamp_ms":1783783271000,"timestamp_seconds":1783783271,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4aa58"} 
[2026-07-11 20:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648440320001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648440320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:54:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648440320001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":129750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:54:06] local.INFO: GPS data processed {"connection_id":129750,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:54:06] local.INFO: Acknowledgment sent {"connection_id":129750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:54:08] local.INFO: TCP Data received {"connection_id":128845,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:54:08] local.INFO: Processing buffer {"connection_id":128845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:54:08] local.INFO: IMEI packet received {"connection_id":128845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":128845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:54:09] local.INFO: TCP Data received {"connection_id":128845,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c50c00012ce32b0007257fd8000600912b..."} 
[2026-07-11 20:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c50c00012ce32b0007257fd8000600912b..."} 
[2026-07-11 20:54:09] local.INFO: Processing buffer {"connection_id":128845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c50c00012ce32b0007257fd8000600912b..."} 
[2026-07-11 20:54:09] local.INFO: Packet analysis {"connection_id":128845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c5"} 
[2026-07-11 20:54:09] local.INFO: Extracted packet for processing {"connection_id":128845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c5"} 
[2026-07-11 20:54:09] local.INFO: GPS Element Parsed {"raw_longitude":753085184,"raw_latitude":119898072,"longitude_deg":75.3085184,"latitude_deg":11.9898072,"altitude":6,"angle":145,"satellites":43,"speed":28,"hex_longitude":"2ce32b00","hex_latitude":"07257fd8","is_valid_coordinates":true} 
[2026-07-11 20:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648521216001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345590239915409408,"note":"Value kept but may cause issues"} 
[2026-07-11 20:54:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2082703690730334208,"note":"Value kept but may cause issues"} 
[2026-07-11 20:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783783296000,"timestamp_ms":1783783296000,"timestamp_seconds":1783783296,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c50c00"} 
[2026-07-11 20:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 20:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648521216001,"66":27397,"169":206,"83":43008,"24":28,"16":345590239915409408,"44":-2082703690730334208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-11 20:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648521216001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:54:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-11 20:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345590239915409408,"km_value":345590239915409.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:54:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2082703690730334208,"description":"Unknown IO ID 44"} 
[2026-07-11 20:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648521216001,"power":27397,"unknown_169":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-2082703690730334208}} 
[2026-07-11 20:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":128845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:54:09] local.INFO: GPS data processed {"connection_id":128845,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:54:09] local.INFO: Acknowledgment sent {"connection_id":128845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:54:37] local.INFO: TCP Data received {"connection_id":129750,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:54:37] local.INFO: Processing buffer {"connection_id":129750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:54:37] local.INFO: Packet analysis {"connection_id":129750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:54:37] local.INFO: Extracted packet for processing {"connection_id":129750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648440320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783783271000,"timestamp_ms":1783783271000,"timestamp_seconds":1783783271,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4aa58"} 
[2026-07-11 20:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648440320001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648440320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648440320001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":129750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:54:37] local.INFO: GPS data processed {"connection_id":129750,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:54:37] local.INFO: Acknowledgment sent {"connection_id":129750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:54:59] local.INFO: TCP Data received {"connection_id":129026,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:54:59] local.INFO: Processing buffer {"connection_id":129026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:54:59] local.INFO: IMEI packet received {"connection_id":129026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":129026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:55:02] local.INFO: TCP Data received {"connection_id":131011,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:55:02] local.INFO: Processing buffer {"connection_id":131011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:55:02] local.INFO: IMEI packet received {"connection_id":131011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":131011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:55:03] local.INFO: TCP Data received {"connection_id":131011,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:55:03] local.INFO: Processing buffer {"connection_id":131011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:55:03] local.INFO: IMEI packet received {"connection_id":131011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":131011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:55:04] local.INFO: TCP Data received {"connection_id":129026,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:55:04] local.INFO: Processing buffer {"connection_id":129026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:55:04] local.INFO: IMEI packet received {"connection_id":129026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":129026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:55:08] local.INFO: TCP Data received {"connection_id":131011,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:55:08] local.INFO: Processing buffer {"connection_id":131011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:55:08] local.INFO: IMEI packet received {"connection_id":131011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":131011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:55:09] local.INFO: TCP Data received {"connection_id":131011,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c6f830012ce42e80072446e0000a00902a..."} 
[2026-07-11 20:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c6f830012ce42e80072446e0000a00902a..."} 
[2026-07-11 20:55:09] local.INFO: Processing buffer {"connection_id":131011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c6f830012ce42e80072446e0000a00902a..."} 
[2026-07-11 20:55:09] local.INFO: Packet analysis {"connection_id":131011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c6"} 
[2026-07-11 20:55:09] local.INFO: Extracted packet for processing {"connection_id":131011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c6"} 
[2026-07-11 20:55:09] local.INFO: GPS Element Parsed {"raw_longitude":753151616,"raw_latitude":119817952,"longitude_deg":75.3151616,"latitude_deg":11.9817952,"altitude":10,"angle":144,"satellites":42,"speed":26,"hex_longitude":"2ce42e80","hex_latitude":"072446e0","is_valid_coordinates":true} 
[2026-07-11 20: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-07-11 20:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648552960001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345595247847276544,"note":"Value kept but may cause issues"} 
[2026-07-11 20:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2010646096713046016,"note":"Value kept but may cause issues"} 
[2026-07-11 20:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783783422000,"timestamp_ms":1783783422000,"timestamp_seconds":1783783422,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c6f830"} 
[2026-07-11 20:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:55:09] 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-07-11 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20: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-07-11 20:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648552960001,"66":27376,"8":206,"83":43008,"24":26,"16":345595247847276544,"44":-2010646096713046016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-07-11 20:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648552960001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:55:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-11 20:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345595247847276544,"km_value":345595247847276.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2010646096713046016,"description":"Unknown IO ID 44"} 
[2026-07-11 20:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648552960001,"power":27376,"unknown_8":206,"unknown_83":43008,"ignition":26,"odometer":null,"unknown_44":-2010646096713046016}} 
[2026-07-11 20:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":131011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:55:09] local.INFO: GPS data processed {"connection_id":131011,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:55:09] local.INFO: Acknowledgment sent {"connection_id":131011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:55:12] local.INFO: TCP Data received {"connection_id":129026,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:55:12] local.INFO: Processing buffer {"connection_id":129026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:55:12] local.INFO: Packet analysis {"connection_id":129026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:55:12] local.INFO: Extracted packet for processing {"connection_id":129026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648440320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783783271000,"timestamp_ms":1783783271000,"timestamp_seconds":1783783271,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4aa58"} 
[2026-07-11 20:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648440320001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648440320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:55:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648440320001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":129026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:55:12] local.INFO: GPS data processed {"connection_id":129026,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:55:12] local.INFO: Acknowledgment sent {"connection_id":129026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:55:40] local.INFO: TCP Data received {"connection_id":131011,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c72af8012ce44540072429800008008b2b..."} 
[2026-07-11 20:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c72af8012ce44540072429800008008b2b..."} 
[2026-07-11 20:55:40] local.INFO: Processing buffer {"connection_id":131011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c72af8012ce44540072429800008008b2b..."} 
[2026-07-11 20:55:40] local.INFO: Packet analysis {"connection_id":131011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c7"} 
[2026-07-11 20:55:40] local.INFO: Extracted packet for processing {"connection_id":131011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c7"} 
[2026-07-11 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":753157440,"raw_latitude":119810432,"longitude_deg":75.315744,"latitude_deg":11.9810432,"altitude":8,"angle":139,"satellites":43,"speed":33,"hex_longitude":"2ce44540","hex_latitude":"07242980","is_valid_coordinates":true} 
[2026-07-11 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-07-11 20:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648556032001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345595703113809920,"note":"Value kept but may cause issues"} 
[2026-07-11 20:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2004524015971540992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783783435000,"timestamp_ms":1783783435000,"timestamp_seconds":1783783435,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c72af8"} 
[2026-07-11 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-07-11 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 20:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 20:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648556032001,"66":27397,"89":206,"83":43008,"24":33,"16":345595703113809920,"44":-2004524015971540992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-11 20:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648556032001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:55:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 20:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345595703113809920,"km_value":345595703113809.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2004524015971540992,"description":"Unknown IO ID 44"} 
[2026-07-11 20:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648556032001,"power":27397,"unknown_89":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-2004524015971540992}} 
[2026-07-11 20:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":131011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:55:40] local.INFO: GPS data processed {"connection_id":131011,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:55:40] local.INFO: Acknowledgment sent {"connection_id":131011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:55:59] local.INFO: TCP Data received {"connection_id":129028,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:55:59] local.INFO: Processing buffer {"connection_id":129028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:55:59] local.INFO: IMEI packet received {"connection_id":129028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":129028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:56:03] local.INFO: TCP Data received {"connection_id":128846,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:56:03] local.INFO: Processing buffer {"connection_id":128846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:56:03] local.INFO: IMEI packet received {"connection_id":128846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":128846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:56:04] local.INFO: TCP Data received {"connection_id":129028,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:56:04] local.INFO: Processing buffer {"connection_id":129028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:56:04] local.INFO: IMEI packet received {"connection_id":129028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":129028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:56:06] local.INFO: TCP Data received {"connection_id":129028,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:56:06] local.INFO: Processing buffer {"connection_id":129028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:56:06] local.INFO: Packet analysis {"connection_id":129028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:56:06] local.INFO: Extracted packet for processing {"connection_id":129028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648440320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783783271000,"timestamp_ms":1783783271000,"timestamp_seconds":1783783271,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4aa58"} 
[2026-07-11 20:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648440320001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648440320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648440320001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":129028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:56:06] local.INFO: GPS data processed {"connection_id":129028,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:56:06] local.INFO: Acknowledgment sent {"connection_id":129028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:56:06] local.INFO: TCP Data received {"connection_id":128846,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:56:06] local.INFO: Processing buffer {"connection_id":128846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:56:06] local.INFO: IMEI packet received {"connection_id":128846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":128846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:56:08] local.INFO: TCP Data received {"connection_id":128846,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:56:08] local.INFO: Processing buffer {"connection_id":128846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:56:08] local.INFO: IMEI packet received {"connection_id":128846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":128846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:56:09] local.INFO: TCP Data received {"connection_id":128846,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c755f0012ce45dc007240fd8000900892b..."} 
[2026-07-11 20:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c755f0012ce45dc007240fd8000900892b..."} 
[2026-07-11 20:56:09] local.INFO: Processing buffer {"connection_id":128846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c755f0012ce45dc007240fd8000900892b..."} 
[2026-07-11 20:56:09] local.INFO: Packet analysis {"connection_id":128846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c7"} 
[2026-07-11 20:56:09] local.INFO: Extracted packet for processing {"connection_id":128846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c7"} 
[2026-07-11 20:56:09] local.INFO: GPS Element Parsed {"raw_longitude":753163712,"raw_latitude":119803864,"longitude_deg":75.3163712,"latitude_deg":11.9803864,"altitude":9,"angle":137,"satellites":43,"speed":31,"hex_longitude":"2ce45dc0","hex_latitude":"07240fd8","is_valid_coordinates":true} 
[2026-07-11 20:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648559360001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345596141200474112,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1998120460253298688,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783783446000,"timestamp_ms":1783783446000,"timestamp_seconds":1783783446,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c755f0"} 
[2026-07-11 20:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 20:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648559360001,"66":27343,"89":206,"83":43008,"24":31,"16":345596141200474112,"44":-1998120460253298688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-11 20:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648559360001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:56:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 20:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345596141200474112,"km_value":345596141200474.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1998120460253298688,"description":"Unknown IO ID 44"} 
[2026-07-11 20:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648559360001,"power":27343,"unknown_89":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1998120460253298688}} 
[2026-07-11 20:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":128846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:56:09] local.INFO: GPS data processed {"connection_id":128846,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:56:09] local.INFO: Acknowledgment sent {"connection_id":128846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:56:37] local.INFO: TCP Data received {"connection_id":129028,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:56:37] local.INFO: Processing buffer {"connection_id":129028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c4aa58012d196680071fef80003b011a20..."} 
[2026-07-11 20:56:37] local.INFO: Packet analysis {"connection_id":129028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:56:37] local.INFO: Extracted packet for processing {"connection_id":129028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c4"} 
[2026-07-11 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648440320001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783783271000,"timestamp_ms":1783783271000,"timestamp_seconds":1783783271,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c4aa58"} 
[2026-07-11 20:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 20:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648440320001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648440320001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:56:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648440320001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":129028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:56:38] local.INFO: GPS data processed {"connection_id":129028,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:56:38] local.INFO: Acknowledgment sent {"connection_id":129028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:56:40] local.INFO: TCP Data received {"connection_id":128846,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c77148012ce46b000723fdf0000900942c..."} 
[2026-07-11 20:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c77148012ce46b000723fdf0000900942c..."} 
[2026-07-11 20:56:40] local.INFO: Processing buffer {"connection_id":128846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c77148012ce46b000723fdf0000900942c..."} 
[2026-07-11 20:56:40] local.INFO: Packet analysis {"connection_id":128846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c7"} 
[2026-07-11 20:56:40] local.INFO: Extracted packet for processing {"connection_id":128846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c7"} 
[2026-07-11 20:56:40] local.INFO: GPS Element Parsed {"raw_longitude":753167104,"raw_latitude":119799280,"longitude_deg":75.3167104,"latitude_deg":11.979928,"altitude":9,"angle":148,"satellites":44,"speed":33,"hex_longitude":"2ce46b00","hex_latitude":"0723fdf0","is_valid_coordinates":true} 
[2026-07-11 20:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648562176001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345596416078381056,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991224323325569024,"note":"Value kept but may cause issues"} 
[2026-07-11 20:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783783453000,"timestamp_ms":1783783453000,"timestamp_seconds":1783783453,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c77148"} 
[2026-07-11 20:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648562176001,"66":27321,"89":206,"83":43008,"24":33,"16":345596416078381056,"44":-1991224323325569024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-11 20:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648562176001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:56:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 20:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345596416078381056,"km_value":345596416078381.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:56:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991224323325569024,"description":"Unknown IO ID 44"} 
[2026-07-11 20:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648562176001,"power":27321,"unknown_89":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1991224323325569024}} 
[2026-07-11 20:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":128846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:56:40] local.INFO: GPS data processed {"connection_id":128846,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:56:40] local.INFO: Acknowledgment sent {"connection_id":128846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:56:58] local.INFO: TCP Data received {"connection_id":129751,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:56:58] local.INFO: Processing buffer {"connection_id":129751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:56:58] local.INFO: IMEI packet received {"connection_id":129751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":129751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:57:03] local.INFO: TCP Data received {"connection_id":128847,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:57:03] local.INFO: Processing buffer {"connection_id":128847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:57:03] local.INFO: IMEI packet received {"connection_id":128847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":128847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:57:04] local.INFO: TCP Data received {"connection_id":129751,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:57:04] local.INFO: Processing buffer {"connection_id":129751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:57:04] local.INFO: IMEI packet received {"connection_id":129751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":129751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:57:05] local.INFO: TCP Data received {"connection_id":129751,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:57:05] local.INFO: Processing buffer {"connection_id":129751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:57:05] local.INFO: Packet analysis {"connection_id":129751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:57:05] local.INFO: Extracted packet for processing {"connection_id":129751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 20:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":129751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:57:05] local.INFO: GPS data processed {"connection_id":129751,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:57:05] local.INFO: Acknowledgment sent {"connection_id":129751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:57:08] local.INFO: TCP Data received {"connection_id":128847,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:57:08] local.INFO: Processing buffer {"connection_id":128847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:57:08] local.INFO: IMEI packet received {"connection_id":128847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":128847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:57:09] local.INFO: TCP Data received {"connection_id":128847,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c79c40012ce47f000723dd50000600942d..."} 
[2026-07-11 20:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c79c40012ce47f000723dd50000600942d..."} 
[2026-07-11 20:57:09] local.INFO: Processing buffer {"connection_id":128847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c79c40012ce47f000723dd50000600942d..."} 
[2026-07-11 20:57:09] local.INFO: Packet analysis {"connection_id":128847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c7"} 
[2026-07-11 20:57:09] local.INFO: Extracted packet for processing {"connection_id":128847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c7"} 
[2026-07-11 20:57:09] local.INFO: GPS Element Parsed {"raw_longitude":753172224,"raw_latitude":119790928,"longitude_deg":75.3172224,"latitude_deg":11.9790928,"altitude":6,"angle":148,"satellites":45,"speed":38,"hex_longitude":"2ce47f00","hex_latitude":"0723dd50","is_valid_coordinates":true} 
[2026-07-11 20:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648563968001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345596888524783616,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1987494779885326336,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783783464000,"timestamp_ms":1783783464000,"timestamp_seconds":1783783464,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c79c40"} 
[2026-07-11 20:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:57:09] 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-07-11 20:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648563968001,"66":27300,"89":206,"83":43008,"24":38,"16":345596888524783616,"44":-1987494779885326336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-11 20:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648563968001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:57:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-11 20:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345596888524783616,"km_value":345596888524783.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1987494779885326336,"description":"Unknown IO ID 44"} 
[2026-07-11 20:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648563968001,"power":27300,"unknown_89":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-1987494779885326336}} 
[2026-07-11 20:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":128847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:57:09] local.INFO: GPS data processed {"connection_id":128847,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:57:09] local.INFO: Acknowledgment sent {"connection_id":128847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:57:37] local.INFO: TCP Data received {"connection_id":129751,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:57:37] local.INFO: Processing buffer {"connection_id":129751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:57:37] local.INFO: Packet analysis {"connection_id":129751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:57:37] local.INFO: Extracted packet for processing {"connection_id":129751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 20:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":129751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:57:37] local.INFO: GPS data processed {"connection_id":129751,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:57:37] local.INFO: Acknowledgment sent {"connection_id":129751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:57:40] local.INFO: TCP Data received {"connection_id":128847,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c99428012ce572000722c5f8000300952d..."} 
[2026-07-11 20:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c99428012ce572000722c5f8000300952d..."} 
[2026-07-11 20:57:40] local.INFO: Processing buffer {"connection_id":128847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c99428012ce572000722c5f8000300952d..."} 
[2026-07-11 20:57:40] local.INFO: Packet analysis {"connection_id":128847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:57:40] local.INFO: Extracted packet for processing {"connection_id":128847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:57:40] local.INFO: GPS Element Parsed {"raw_longitude":753234432,"raw_latitude":119719416,"longitude_deg":75.3234432,"latitude_deg":11.9719416,"altitude":3,"angle":149,"satellites":45,"speed":35,"hex_longitude":"2ce57200","hex_latitude":"0722c5f8","is_valid_coordinates":true} 
[2026-07-11 20:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648597248001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345601509909594112,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1918251935632805888,"note":"Value kept but may cause issues"} 
[2026-07-11 20:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783783593000,"timestamp_ms":1783783593000,"timestamp_seconds":1783783593,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c99428"} 
[2026-07-11 20:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 20:57: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-07-11 20:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648597248001,"66":27343,"73":206,"83":43008,"24":35,"16":345601509909594112,"44":-1918251935632805888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-11 20:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648597248001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:57:40] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-11 20:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345601509909594112,"km_value":345601509909594.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1918251935632805888,"description":"Unknown IO ID 44"} 
[2026-07-11 20:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648597248001,"power":27343,"unknown_73":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1918251935632805888}} 
[2026-07-11 20:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":128847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:57:40] local.INFO: GPS data processed {"connection_id":128847,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:57:40] local.INFO: Acknowledgment sent {"connection_id":128847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:57:59] local.INFO: TCP Data received {"connection_id":131013,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:57:59] local.INFO: Processing buffer {"connection_id":131013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:57:59] local.INFO: IMEI packet received {"connection_id":131013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":131013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:58:04] local.INFO: TCP Data received {"connection_id":131013,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:58:04] local.INFO: Processing buffer {"connection_id":131013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:58:04] local.INFO: IMEI packet received {"connection_id":131013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":131013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:58:05] local.INFO: TCP Data received {"connection_id":131013,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:58:05] local.INFO: Processing buffer {"connection_id":131013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:58:05] local.INFO: Packet analysis {"connection_id":131013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:58:05] local.INFO: Extracted packet for processing {"connection_id":131013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 20:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:58:05] local.INFO: TCP Data received {"connection_id":128848,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:58:05] local.INFO: Processing buffer {"connection_id":128848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:58:05] local.INFO: IMEI packet received {"connection_id":128848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":128848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":131013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:58:05] local.INFO: GPS data processed {"connection_id":131013,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:58:05] local.INFO: Acknowledgment sent {"connection_id":131013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:58:08] local.INFO: TCP Data received {"connection_id":128848,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:58:08] local.INFO: Processing buffer {"connection_id":128848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:58:08] local.INFO: IMEI packet received {"connection_id":128848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":128848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:58:13] local.INFO: TCP Data received {"connection_id":128848,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:58:13] local.INFO: Processing buffer {"connection_id":128848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:58:13] local.INFO: IMEI packet received {"connection_id":128848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":128848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:58:13] local.INFO: TCP Data received {"connection_id":128848,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c9bb38012ce586c00722a9400004008b2c..."} 
[2026-07-11 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c9bb38012ce586c00722a9400004008b2c..."} 
[2026-07-11 20:58:13] local.INFO: Processing buffer {"connection_id":128848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c9bb38012ce586c00722a9400004008b2c..."} 
[2026-07-11 20:58:13] local.INFO: Packet analysis {"connection_id":128848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:58:13] local.INFO: Extracted packet for processing {"connection_id":128848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:58:13] local.INFO: GPS Element Parsed {"raw_longitude":753239744,"raw_latitude":119712064,"longitude_deg":75.3239744,"latitude_deg":11.9712064,"altitude":4,"angle":139,"satellites":44,"speed":34,"hex_longitude":"2ce586c0","hex_latitude":"0722a940","is_valid_coordinates":true} 
[2026-07-11 20:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648599808001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345601947996258304,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1913466861030868992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783783603000,"timestamp_ms":1783783603000,"timestamp_seconds":1783783603,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c9bb38"} 
[2026-07-11 20:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648599808001,"66":27321,"73":206,"83":43008,"24":34,"16":345601947996258304,"44":-1913466861030868992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-11 20:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648599808001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:58:13] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-11 20:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345601947996258304,"km_value":345601947996258.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1913466861030868992,"description":"Unknown IO ID 44"} 
[2026-07-11 20:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648599808001,"power":27321,"unknown_73":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1913466861030868992}} 
[2026-07-11 20:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":128848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:58:13] local.INFO: GPS data processed {"connection_id":128848,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:58:13] local.INFO: Acknowledgment sent {"connection_id":128848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:58:14] local.INFO: TCP Data received {"connection_id":131013,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:58:14] local.INFO: Processing buffer {"connection_id":131013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:58:14] local.INFO: Packet analysis {"connection_id":131013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:58:14] local.INFO: Extracted packet for processing {"connection_id":131013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 20:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:58:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":131013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:58:14] local.INFO: GPS data processed {"connection_id":131013,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:58:14] local.INFO: Acknowledgment sent {"connection_id":131013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:58:16] local.INFO: TCP Data received {"connection_id":128848,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c9e630012ce59fc007229028000400872e..."} 
[2026-07-11 20:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c9e630012ce59fc007229028000400872e..."} 
[2026-07-11 20:58:16] local.INFO: Processing buffer {"connection_id":128848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c9e630012ce59fc007229028000400872e..."} 
[2026-07-11 20:58:16] local.INFO: Packet analysis {"connection_id":128848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:58:16] local.INFO: Extracted packet for processing {"connection_id":128848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:58:16] local.INFO: GPS Element Parsed {"raw_longitude":753246144,"raw_latitude":119705640,"longitude_deg":75.3246144,"latitude_deg":11.970564,"altitude":4,"angle":135,"satellites":46,"speed":30,"hex_longitude":"2ce59fc0","hex_latitude":"07229028","is_valid_coordinates":true} 
[2026-07-11 20:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648602368001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345602381787955200,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1907626255266004992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783783614000,"timestamp_ms":1783783614000,"timestamp_seconds":1783783614,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c9e630"} 
[2026-07-11 20:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 20:58:16] 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-07-11 20:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648602368001,"66":27332,"73":206,"83":43008,"24":30,"16":345602381787955200,"44":-1907626255266004992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-11 20:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648602368001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:58:16] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-11 20:58:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345602381787955200,"km_value":345602381787955.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:58:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1907626255266004992,"description":"Unknown IO ID 44"} 
[2026-07-11 20:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648602368001,"power":27332,"unknown_73":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1907626255266004992}} 
[2026-07-11 20:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":128848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:58:16] local.INFO: GPS data processed {"connection_id":128848,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:58:16] local.INFO: Acknowledgment sent {"connection_id":128848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:58:44] local.INFO: TCP Data received {"connection_id":128849,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:58:44] local.INFO: Processing buffer {"connection_id":128849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 20:58:44] local.INFO: IMEI packet received {"connection_id":128849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 20:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":128849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:58:47] local.INFO: TCP Data received {"connection_id":128848,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ca1128012ce5b6c0072275c80006008d2d..."} 
[2026-07-11 20:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ca1128012ce5b6c0072275c80006008d2d..."} 
[2026-07-11 20:58:47] local.INFO: Processing buffer {"connection_id":128848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ca1128012ce5b6c0072275c80006008d2d..."} 
[2026-07-11 20:58:47] local.INFO: Packet analysis {"connection_id":128848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 20:58:47] local.INFO: Extracted packet for processing {"connection_id":128848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 20:58:47] local.INFO: GPS Element Parsed {"raw_longitude":753252032,"raw_latitude":119698888,"longitude_deg":75.3252032,"latitude_deg":11.9698888,"altitude":6,"angle":141,"satellites":45,"speed":33,"hex_longitude":"2ce5b6c0","hex_latitude":"072275c8","is_valid_coordinates":true} 
[2026-07-11 20:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648605184001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345602815579652096,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1900589380849883136,"note":"Value kept but may cause issues"} 
[2026-07-11 20:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783783625000,"timestamp_ms":1783783625000,"timestamp_seconds":1783783625,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ca1128"} 
[2026-07-11 20:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 20:58:47] 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-07-11 20:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648605184001,"66":27343,"73":206,"83":43008,"24":33,"16":345602815579652096,"44":-1900589380849883136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-11 20:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648605184001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:58:47] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-11 20:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345602815579652096,"km_value":345602815579652.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:58:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1900589380849883136,"description":"Unknown IO ID 44"} 
[2026-07-11 20:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648605184001,"power":27343,"unknown_73":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1900589380849883136}} 
[2026-07-11 20:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":128848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:58:47] local.INFO: GPS data processed {"connection_id":128848,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:58:47] local.INFO: Acknowledgment sent {"connection_id":128848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:58:59] local.INFO: TCP Data received {"connection_id":129030,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:58:59] local.INFO: Processing buffer {"connection_id":129030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:58:59] local.INFO: IMEI packet received {"connection_id":129030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":129030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:59:00] local.INFO: TCP Data received {"connection_id":129752,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:59:00] local.INFO: Processing buffer {"connection_id":129752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:59:00] local.INFO: IMEI packet received {"connection_id":129752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 20:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":129752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 20:59:04] local.INFO: TCP Data received {"connection_id":129752,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:59:04] local.INFO: Processing buffer {"connection_id":129752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:59:04] local.INFO: IMEI packet received {"connection_id":129752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":129752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:59:04] local.INFO: TCP Data received {"connection_id":129030,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:59:04] local.INFO: Processing buffer {"connection_id":129030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:59:04] local.INFO: IMEI packet received {"connection_id":129030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 20:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":129030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:59:05] local.INFO: TCP Data received {"connection_id":129030,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:59:05] local.INFO: Processing buffer {"connection_id":129030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:59:05] local.INFO: Packet analysis {"connection_id":129030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:59:05] local.INFO: Extracted packet for processing {"connection_id":129030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 20:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":129030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:59:05] local.INFO: GPS data processed {"connection_id":129030,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:59:05] local.INFO: Acknowledgment sent {"connection_id":129030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:59:11] local.INFO: TCP Data received {"connection_id":129752,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:59:11] local.INFO: Processing buffer {"connection_id":129752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 20:59:11] local.INFO: IMEI packet received {"connection_id":129752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 20:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":129752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 20:59:12] local.INFO: TCP Data received {"connection_id":129752,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ca3c20012ce5cd00072259700008008c2c..."} 
[2026-07-11 20:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ca3c20012ce5cd00072259700008008c2c..."} 
[2026-07-11 20:59:12] local.INFO: Processing buffer {"connection_id":129752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ca3c20012ce5cd00072259700008008c2c..."} 
[2026-07-11 20:59:12] local.INFO: Packet analysis {"connection_id":129752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 20:59:12] local.INFO: Extracted packet for processing {"connection_id":129752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 20:59:12] local.INFO: GPS Element Parsed {"raw_longitude":753257728,"raw_latitude":119691632,"longitude_deg":75.3257728,"latitude_deg":11.9691632,"altitude":8,"angle":140,"satellites":44,"speed":34,"hex_longitude":"2ce5cd00","hex_latitude":"07225970","is_valid_coordinates":true} 
[2026-07-11 20:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648608000001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345603257961283584,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1894115456387266560,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783783636000,"timestamp_ms":1783783636000,"timestamp_seconds":1783783636,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ca3c20"} 
[2026-07-11 20:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:59: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-07-11 20:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648608000001,"66":27343,"157":206,"83":43008,"24":34,"16":345603257961283584,"44":-1894115456387266560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-07-11 20:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648608000001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:59:12] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 20:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345603257961283584,"km_value":345603257961283.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1894115456387266560,"description":"Unknown IO ID 44"} 
[2026-07-11 20:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648608000001,"power":27343,"unknown_157":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1894115456387266560}} 
[2026-07-11 20:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":129752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:59:12] local.INFO: GPS data processed {"connection_id":129752,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:59:12] local.INFO: Acknowledgment sent {"connection_id":129752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:59:12] local.INFO: TCP Data received {"connection_id":129752,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ca6718012ce5e58007223bf00008008d2c..."} 
[2026-07-11 20:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ca6718012ce5e58007223bf00008008d2c..."} 
[2026-07-11 20:59:12] local.INFO: Processing buffer {"connection_id":129752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ca6718012ce5e58007223bf00008008d2c..."} 
[2026-07-11 20:59:12] local.INFO: Packet analysis {"connection_id":129752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 20:59:12] local.INFO: Extracted packet for processing {"connection_id":129752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 20:59:12] local.INFO: GPS Element Parsed {"raw_longitude":753264000,"raw_latitude":119684080,"longitude_deg":75.3264,"latitude_deg":11.968408,"altitude":8,"angle":141,"satellites":44,"speed":35,"hex_longitude":"2ce5e580","hex_latitude":"07223bf0","is_valid_coordinates":true} 
[2026-07-11 20:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648610816001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345603730407686144,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1887852638157312000,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783783647000,"timestamp_ms":1783783647000,"timestamp_seconds":1783783647,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ca6718"} 
[2026-07-11 20:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 20:59: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-07-11 20:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648610816001,"66":27332,"157":206,"83":43008,"24":35,"16":345603730407686144,"44":-1887852638157312000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-07-11 20:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648610816001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:59:12] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 20:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345603730407686144,"km_value":345603730407686.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1887852638157312000,"description":"Unknown IO ID 44"} 
[2026-07-11 20:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648610816001,"power":27332,"unknown_157":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1887852638157312000}} 
[2026-07-11 20:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":129752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:59:12] local.INFO: GPS data processed {"connection_id":129752,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:59:12] local.INFO: Acknowledgment sent {"connection_id":129752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:59:37] local.INFO: TCP Data received {"connection_id":129030,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:59:37] local.INFO: Processing buffer {"connection_id":129030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 20:59:37] local.INFO: Packet analysis {"connection_id":129030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:59:37] local.INFO: Extracted packet for processing {"connection_id":129030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 20:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 20:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 20:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 20:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 20:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 20:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 20:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 20:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:59:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 20:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 20:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 20:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 20:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":129030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:59:37] local.INFO: GPS data processed {"connection_id":129030,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:59:37] local.INFO: Acknowledgment sent {"connection_id":129030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:59:43] local.INFO: TCP Data received {"connection_id":129752,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ca9210012ce5fc00072220c80006008d2a..."} 
[2026-07-11 20:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ca9210012ce5fc00072220c80006008d2a..."} 
[2026-07-11 20:59:43] local.INFO: Processing buffer {"connection_id":129752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ca9210012ce5fc00072220c80006008d2a..."} 
[2026-07-11 20:59:43] local.INFO: Packet analysis {"connection_id":129752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 20:59:43] local.INFO: Extracted packet for processing {"connection_id":129752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 20:59:43] local.INFO: GPS Element Parsed {"raw_longitude":753269760,"raw_latitude":119677128,"longitude_deg":75.326976,"latitude_deg":11.9677128,"altitude":6,"angle":141,"satellites":42,"speed":33,"hex_longitude":"2ce5fc00","hex_latitude":"072220c8","is_valid_coordinates":true} 
[2026-07-11 20:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 20:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648613632001,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345604164199383040,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1880956501229834240,"note":"Value kept but may cause issues"} 
[2026-07-11 20:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 20:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783783658000,"timestamp_ms":1783783658000,"timestamp_seconds":1783783658,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ca9210"} 
[2026-07-11 20:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 20:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 20:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 20:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 20:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 20:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 20:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 20:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 20:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 20:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 20:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 20:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 20:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648613632001,"66":27343,"157":206,"83":43008,"24":33,"16":345604164199383040,"44":-1880956501229834240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-07-11 20:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 20:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 20:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648613632001,"description":"Unknown IO ID 0"} 
[2026-07-11 20:59:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 20:59:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 20:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345604164199383040,"km_value":345604164199383.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 20:59:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1880956501229834240,"description":"Unknown IO ID 44"} 
[2026-07-11 20:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648613632001,"power":27343,"unknown_157":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1880956501229834240}} 
[2026-07-11 20:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":129752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 20:59:43] local.INFO: GPS data processed {"connection_id":129752,"processed":1,"errors":0,"total":1} 
[2026-07-11 20:59:43] local.INFO: Acknowledgment sent {"connection_id":129752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 20:59:59] local.INFO: TCP Data received {"connection_id":128850,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:59:59] local.INFO: Processing buffer {"connection_id":128850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 20:59:59] local.INFO: IMEI packet received {"connection_id":128850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 20:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":128850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:00:03] local.INFO: TCP Data received {"connection_id":129753,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:00:03] local.INFO: Processing buffer {"connection_id":129753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:00:03] local.INFO: IMEI packet received {"connection_id":129753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":129753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:00:04] local.INFO: TCP Data received {"connection_id":128850,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:00:04] local.INFO: Processing buffer {"connection_id":128850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:00:04] local.INFO: IMEI packet received {"connection_id":128850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":128850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:00:05] local.INFO: TCP Data received {"connection_id":128850,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:00:05] local.INFO: Processing buffer {"connection_id":128850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:00:05] local.INFO: Packet analysis {"connection_id":128850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 21:00:05] local.INFO: Extracted packet for processing {"connection_id":128850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 21:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:00:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":128850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:00:05] local.INFO: GPS data processed {"connection_id":128850,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:00:05] local.INFO: Acknowledgment sent {"connection_id":128850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:00:11] local.INFO: TCP Data received {"connection_id":129753,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:00:11] local.INFO: Processing buffer {"connection_id":129753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:00:11] local.INFO: IMEI packet received {"connection_id":129753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":129753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:00:32] local.INFO: TCP Data received {"connection_id":129753,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:00:32] local.INFO: Processing buffer {"connection_id":129753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:00:32] local.INFO: IMEI packet received {"connection_id":129753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":129753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:00:34] local.INFO: TCP Data received {"connection_id":129753,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cab920012ce61140072204c80005008e2b..."} 
[2026-07-11 21:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cab920012ce61140072204c80005008e2b..."} 
[2026-07-11 21:00:34] local.INFO: Processing buffer {"connection_id":129753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cab920012ce61140072204c80005008e2b..."} 
[2026-07-11 21:00:34] local.INFO: Packet analysis {"connection_id":129753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 21:00:34] local.INFO: Extracted packet for processing {"connection_id":129753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ca"} 
[2026-07-11 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":753275200,"raw_latitude":119669960,"longitude_deg":75.32752,"latitude_deg":11.966996,"altitude":5,"angle":142,"satellites":43,"speed":40,"hex_longitude":"2ce61140","hex_latitude":"072204c8","is_valid_coordinates":true} 
[2026-07-11 21:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648616448001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345604597991079936,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1874623314255624192,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783783668000,"timestamp_ms":1783783668000,"timestamp_seconds":1783783668,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cab920"} 
[2026-07-11 21:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":129753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":129753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":129753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648616448001,"66":27267,"157":206,"83":43008,"24":40,"16":345604597991079936,"44":-1874623314255624192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-07-11 21:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648616448001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:00:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 21:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345604597991079936,"km_value":345604597991079.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1874623314255624192,"description":"Unknown IO ID 44"} 
[2026-07-11 21:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648616448001,"power":27267,"unknown_157":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1874623314255624192}} 
[2026-07-11 21:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":129753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:00:34] local.INFO: GPS data processed {"connection_id":129753,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:00:34] local.INFO: Acknowledgment sent {"connection_id":129753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:00:34] local.INFO: TCP Data received {"connection_id":129753,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cc43a8012ce6e6c00720dc28000200912c..."} 
[2026-07-11 21:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cc43a8012ce6e6c00720dc28000200912c..."} 
[2026-07-11 21:00:34] local.INFO: Processing buffer {"connection_id":129753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cc43a8012ce6e6c00720dc28000200912c..."} 
[2026-07-11 21:00:34] local.INFO: Packet analysis {"connection_id":129753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:00:34] local.INFO: Extracted packet for processing {"connection_id":129753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":753329856,"raw_latitude":119594024,"longitude_deg":75.3329856,"latitude_deg":11.9594024,"altitude":2,"angle":145,"satellites":44,"speed":30,"hex_longitude":"2ce6e6c0","hex_latitude":"0720dc28","is_valid_coordinates":true} 
[2026-07-11 21:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648641792001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345609107706740736,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1814246931770540032,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783783769000,"timestamp_ms":1783783769000,"timestamp_seconds":1783783769,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cc43a8"} 
[2026-07-11 21:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 21:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":129753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":129753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":129753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648641792001,"66":27234,"67":206,"83":43008,"24":30,"16":345609107706740736,"44":-1814246931770540032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-11 21:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648641792001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:00:34] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-11 21:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345609107706740736,"km_value":345609107706740.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1814246931770540032,"description":"Unknown IO ID 44"} 
[2026-07-11 21:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648641792001,"power":27234,"unknown_67":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1814246931770540032}} 
[2026-07-11 21:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":129753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:00:34] local.INFO: GPS data processed {"connection_id":129753,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:00:34] local.INFO: Acknowledgment sent {"connection_id":129753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:00:37] local.INFO: TCP Data received {"connection_id":128850,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:00:37] local.INFO: Processing buffer {"connection_id":128850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:00:37] local.INFO: Packet analysis {"connection_id":128850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 21:00:37] local.INFO: Extracted packet for processing {"connection_id":128850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 21:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:00:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":128850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:00:37] local.INFO: GPS data processed {"connection_id":128850,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:00:37] local.INFO: Acknowledgment sent {"connection_id":128850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:00:58] local.INFO: TCP Data received {"connection_id":129032,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:00:58] local.INFO: Processing buffer {"connection_id":129032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:00:58] local.INFO: IMEI packet received {"connection_id":129032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":129032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:01:03] local.INFO: TCP Data received {"connection_id":128851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:01:03] local.INFO: Processing buffer {"connection_id":128851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:01:03] local.INFO: IMEI packet received {"connection_id":128851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":128851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:01:04] local.INFO: TCP Data received {"connection_id":129032,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:01:04] local.INFO: Processing buffer {"connection_id":129032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:01:04] local.INFO: IMEI packet received {"connection_id":129032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":129032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:01:05] local.INFO: TCP Data received {"connection_id":129032,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:01:05] local.INFO: Processing buffer {"connection_id":129032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:01:05] local.INFO: Packet analysis {"connection_id":129032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 21:01:05] local.INFO: Extracted packet for processing {"connection_id":129032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 21:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":129032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:01:05] local.INFO: GPS data processed {"connection_id":129032,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:01:05] local.INFO: Acknowledgment sent {"connection_id":129032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:01:09] local.INFO: TCP Data received {"connection_id":128851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:01:09] local.INFO: Processing buffer {"connection_id":128851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:01:09] local.INFO: IMEI packet received {"connection_id":128851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":128851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:01:09] local.INFO: TCP Data received {"connection_id":128851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cc6ea0012ce6fb400720bf78000200902c..."} 
[2026-07-11 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cc6ea0012ce6fb400720bf78000200902c..."} 
[2026-07-11 21:01:09] local.INFO: Processing buffer {"connection_id":128851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cc6ea0012ce6fb400720bf78000200902c..."} 
[2026-07-11 21:01:09] local.INFO: Packet analysis {"connection_id":128851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:01:09] local.INFO: Extracted packet for processing {"connection_id":128851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:01:09] local.INFO: GPS Element Parsed {"raw_longitude":753335104,"raw_latitude":119586680,"longitude_deg":75.3335104,"latitude_deg":11.958668,"altitude":2,"angle":144,"satellites":44,"speed":32,"hex_longitude":"2ce6fb40","hex_latitude":"0720bf78","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648644864001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345609541498437632,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1808547063494072320,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783783780000,"timestamp_ms":1783783780000,"timestamp_seconds":1783783780,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cc6ea0"} 
[2026-07-11 21:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:01:09] 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-07-11 21: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-07-11 21:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648644864001,"66":27213,"67":206,"83":43008,"24":32,"16":345609541498437632,"44":-1808547063494072320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-11 21:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648644864001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:01:09] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-11 21:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345609541498437632,"km_value":345609541498437.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:01:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1808547063494072320,"description":"Unknown IO ID 44"} 
[2026-07-11 21:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648644864001,"power":27213,"unknown_67":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1808547063494072320}} 
[2026-07-11 21:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":128851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:01:09] local.INFO: GPS data processed {"connection_id":128851,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:01:09] local.INFO: Acknowledgment sent {"connection_id":128851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:01:37] local.INFO: TCP Data received {"connection_id":129032,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:01:37] local.INFO: Processing buffer {"connection_id":129032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51c94220012d196680071fef80003b011a26..."} 
[2026-07-11 21:01:37] local.INFO: Packet analysis {"connection_id":129032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 21:01:37] local.INFO: Extracted packet for processing {"connection_id":129032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51c9"} 
[2026-07-11 21:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648517376001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783783572000,"timestamp_ms":1783783572000,"timestamp_seconds":1783783572,"priority":1,"record_length":96,"hex_timestamp":"0000019f51c94220"} 
[2026-07-11 21:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648517376001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648517376001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:01:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648517376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":129032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:01:37] local.INFO: GPS data processed {"connection_id":129032,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:01:37] local.INFO: Acknowledgment sent {"connection_id":129032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:01:40] local.INFO: TCP Data received {"connection_id":128851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cc9998012ce70f800720a2f0000400912d..."} 
[2026-07-11 21:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cc9998012ce70f800720a2f0000400912d..."} 
[2026-07-11 21:01:40] local.INFO: Processing buffer {"connection_id":128851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cc9998012ce70f800720a2f0000400912d..."} 
[2026-07-11 21:01:40] local.INFO: Packet analysis {"connection_id":128851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:01:40] local.INFO: Extracted packet for processing {"connection_id":128851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:01:40] local.INFO: GPS Element Parsed {"raw_longitude":753340288,"raw_latitude":119579376,"longitude_deg":75.3340288,"latitude_deg":11.9579376,"altitude":4,"angle":145,"satellites":45,"speed":32,"hex_longitude":"2ce70f80","hex_latitude":"0720a2f0","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648647680001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345609975290134528,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1802776826473383936,"note":"Value kept but may cause issues"} 
[2026-07-11 21:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783783791000,"timestamp_ms":1783783791000,"timestamp_seconds":1783783791,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cc9998"} 
[2026-07-11 21:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 21:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648647680001,"66":27463,"67":206,"83":43008,"24":32,"16":345609975290134528,"44":-1802776826473383936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-11 21:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648647680001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:01:40] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-11 21:01:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345609975290134528,"km_value":345609975290134.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1802776826473383936,"description":"Unknown IO ID 44"} 
[2026-07-11 21:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648647680001,"power":27463,"unknown_67":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1802776826473383936}} 
[2026-07-11 21:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":128851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:01:40] local.INFO: GPS data processed {"connection_id":128851,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:01:40] local.INFO: Acknowledgment sent {"connection_id":128851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:02:04] local.INFO: TCP Data received {"connection_id":131016,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:02:04] local.INFO: Processing buffer {"connection_id":131016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:02:04] local.INFO: IMEI packet received {"connection_id":131016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":131016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:02:06] local.INFO: TCP Data received {"connection_id":131017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:02:06] local.INFO: Processing buffer {"connection_id":131017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:02:06] local.INFO: IMEI packet received {"connection_id":131017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":131017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:02:08] local.INFO: TCP Data received {"connection_id":131017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:02:08] local.INFO: Processing buffer {"connection_id":131017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:02:08] local.INFO: IMEI packet received {"connection_id":131017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":131017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:02:09] local.INFO: TCP Data received {"connection_id":131016,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:02:09] local.INFO: Processing buffer {"connection_id":131016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:02:09] local.INFO: IMEI packet received {"connection_id":131016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":131016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:02:10] local.INFO: TCP Data received {"connection_id":131016,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:02:10] local.INFO: Processing buffer {"connection_id":131016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:02:10] local.INFO: Packet analysis {"connection_id":131016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:02:10] local.INFO: Extracted packet for processing {"connection_id":131016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:02:10] 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-07-11 21:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:02:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":131016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:02:10] local.INFO: GPS data processed {"connection_id":131016,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:02:10] local.INFO: Acknowledgment sent {"connection_id":131016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:02:13] local.INFO: TCP Data received {"connection_id":131017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:02:13] local.INFO: Processing buffer {"connection_id":131017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:02:13] local.INFO: IMEI packet received {"connection_id":131017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":131017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:02:14] local.INFO: TCP Data received {"connection_id":131017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ccc490012ce72540072085080004008f2d..."} 
[2026-07-11 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ccc490012ce72540072085080004008f2d..."} 
[2026-07-11 21:02:14] local.INFO: Processing buffer {"connection_id":131017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ccc490012ce72540072085080004008f2d..."} 
[2026-07-11 21:02:14] local.INFO: Packet analysis {"connection_id":131017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:02:14] local.INFO: Extracted packet for processing {"connection_id":131017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":753345856,"raw_latitude":119571720,"longitude_deg":75.3345856,"latitude_deg":11.957172,"altitude":4,"angle":143,"satellites":45,"speed":35,"hex_longitude":"2ce72540","hex_latitude":"07208508","is_valid_coordinates":true} 
[2026-07-11 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648650496001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345610430556667904,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1797076958196862976,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783783802000,"timestamp_ms":1783783802000,"timestamp_seconds":1783783802,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ccc490"} 
[2026-07-11 21:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 21:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648650496001,"66":27484,"67":206,"83":43008,"24":35,"16":345610430556667904,"44":-1797076958196862976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-11 21:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648650496001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:02:14] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-11 21:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345610430556667904,"km_value":345610430556667.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1797076958196862976,"description":"Unknown IO ID 44"} 
[2026-07-11 21:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648650496001,"power":27484,"unknown_67":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1797076958196862976}} 
[2026-07-11 21:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":131017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:02:14] local.INFO: GPS data processed {"connection_id":131017,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:02:14] local.INFO: Acknowledgment sent {"connection_id":131017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:02:15] local.INFO: TCP Data received {"connection_id":131016,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:02:15] local.INFO: Processing buffer {"connection_id":131016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:02:15] local.INFO: Packet analysis {"connection_id":131016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:02:15] local.INFO: Extracted packet for processing {"connection_id":131016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:02:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":131016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:02:15] local.INFO: GPS data processed {"connection_id":131016,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:02:15] local.INFO: Acknowledgment sent {"connection_id":131016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:02:47] local.INFO: TCP Data received {"connection_id":131017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ccef88012ce73a4007206568000400982c..."} 
[2026-07-11 21:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ccef88012ce73a4007206568000400982c..."} 
[2026-07-11 21:02:47] local.INFO: Processing buffer {"connection_id":131017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ccef88012ce73a4007206568000400982c..."} 
[2026-07-11 21:02:47] local.INFO: Packet analysis {"connection_id":131017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:02:47] local.INFO: Extracted packet for processing {"connection_id":131017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cc"} 
[2026-07-11 21:02:47] local.INFO: GPS Element Parsed {"raw_longitude":753351232,"raw_latitude":119563624,"longitude_deg":75.3351232,"latitude_deg":11.9563624,"altitude":4,"angle":152,"satellites":44,"speed":33,"hex_longitude":"2ce73a40","hex_latitude":"07206568","is_valid_coordinates":true} 
[2026-07-11 21:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648653312001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345610898708103168,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1790954877455366144,"note":"Value kept but may cause issues"} 
[2026-07-11 21:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783783813000,"timestamp_ms":1783783813000,"timestamp_seconds":1783783813,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ccef88"} 
[2026-07-11 21:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 21:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648653312001,"66":27376,"145":206,"83":43008,"24":33,"16":345610898708103168,"44":-1790954877455366144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-11 21:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648653312001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:02:47] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-11 21:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345610898708103168,"km_value":345610898708103.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:02:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1790954877455366144,"description":"Unknown IO ID 44"} 
[2026-07-11 21:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648653312001,"power":27376,"unknown_145":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1790954877455366144}} 
[2026-07-11 21:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":131017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:02:47] local.INFO: GPS data processed {"connection_id":131017,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:02:47] local.INFO: Acknowledgment sent {"connection_id":131017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:02:58] local.INFO: TCP Data received {"connection_id":129033,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:02:58] local.INFO: Processing buffer {"connection_id":129033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:02:58] local.INFO: IMEI packet received {"connection_id":129033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":129033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:03:01] local.INFO: TCP Data received {"connection_id":129754,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:03:01] local.INFO: Processing buffer {"connection_id":129754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:03:01] local.INFO: IMEI packet received {"connection_id":129754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":129754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:03:03] local.INFO: TCP Data received {"connection_id":129754,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:03:03] local.INFO: Processing buffer {"connection_id":129754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:03:03] local.INFO: IMEI packet received {"connection_id":129754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":129754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:03:04] local.INFO: TCP Data received {"connection_id":129033,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:03:04] local.INFO: Processing buffer {"connection_id":129033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:03:04] local.INFO: IMEI packet received {"connection_id":129033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":129033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:03:05] local.INFO: TCP Data received {"connection_id":129033,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:03:05] local.INFO: Processing buffer {"connection_id":129033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:03:05] local.INFO: Packet analysis {"connection_id":129033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:03:05] local.INFO: Extracted packet for processing {"connection_id":129033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:03:05] 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-07-11 21:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:03:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":129033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:03:05] local.INFO: GPS data processed {"connection_id":129033,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:03:05] local.INFO: Acknowledgment sent {"connection_id":129033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:03:08] local.INFO: TCP Data received {"connection_id":129754,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:03:08] local.INFO: Processing buffer {"connection_id":129754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:03:08] local.INFO: IMEI packet received {"connection_id":129754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":129754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:03:09] local.INFO: TCP Data received {"connection_id":129754,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ce89b0012ce807c0071f4010000700972d..."} 
[2026-07-11 21:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ce89b0012ce807c0071f4010000700972d..."} 
[2026-07-11 21:03:09] local.INFO: Processing buffer {"connection_id":129754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ce89b0012ce807c0071f4010000700972d..."} 
[2026-07-11 21:03:09] local.INFO: Packet analysis {"connection_id":129754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ce"} 
[2026-07-11 21:03:09] local.INFO: Extracted packet for processing {"connection_id":129754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ce"} 
[2026-07-11 21:03:09] local.INFO: GPS Element Parsed {"raw_longitude":753403840,"raw_latitude":119488528,"longitude_deg":75.340384,"latitude_deg":11.9488528,"altitude":7,"angle":151,"satellites":45,"speed":41,"hex_longitude":"2ce807c0","hex_latitude":"071f4010","is_valid_coordinates":true} 
[2026-07-11 21:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648680704001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345615417013698560,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1732548819807436800,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783783918000,"timestamp_ms":1783783918000,"timestamp_seconds":1783783918,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ce89b0"} 
[2026-07-11 21:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 21:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648680704001,"66":27365,"95":206,"83":43008,"24":41,"16":345615417013698560,"44":-1732548819807436800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 21:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648680704001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:03:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 21:03:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345615417013698560,"km_value":345615417013698.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:03:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1732548819807436800,"description":"Unknown IO ID 44"} 
[2026-07-11 21:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648680704001,"power":27365,"unknown_95":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1732548819807436800}} 
[2026-07-11 21:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":129754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:03:09] local.INFO: GPS data processed {"connection_id":129754,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:03:09] local.INFO: Acknowledgment sent {"connection_id":129754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:03:37] local.INFO: TCP Data received {"connection_id":129033,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:03:37] local.INFO: Processing buffer {"connection_id":129033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:03:37] local.INFO: Packet analysis {"connection_id":129033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:03:37] local.INFO: Extracted packet for processing {"connection_id":129033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:03:37] 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-07-11 21:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:03:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":129033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:03:37] local.INFO: GPS data processed {"connection_id":129033,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:03:37] local.INFO: Acknowledgment sent {"connection_id":129033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:03:40] local.INFO: TCP Data received {"connection_id":129754,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ceacd8012ce819c0071f1d480008009c2c..."} 
[2026-07-11 21:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ceacd8012ce819c0071f1d480008009c2c..."} 
[2026-07-11 21:03:40] local.INFO: Processing buffer {"connection_id":129754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ceacd8012ce819c0071f1d480008009c2c..."} 
[2026-07-11 21:03:40] local.INFO: Packet analysis {"connection_id":129754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ce"} 
[2026-07-11 21:03:40] local.INFO: Extracted packet for processing {"connection_id":129754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ce"} 
[2026-07-11 21:03:40] local.INFO: GPS Element Parsed {"raw_longitude":753408448,"raw_latitude":119479624,"longitude_deg":75.3408448,"latitude_deg":11.9479624,"altitude":8,"angle":156,"satellites":44,"speed":45,"hex_longitude":"2ce819c0","hex_latitude":"071f1d48","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648683008001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345615898050035712,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1727200795251699712,"note":"Value kept but may cause issues"} 
[2026-07-11 21:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783783927000,"timestamp_ms":1783783927000,"timestamp_seconds":1783783927,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ceacd8"} 
[2026-07-11 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-07-11 21:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 21:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648683008001,"66":27397,"95":206,"83":43008,"24":45,"16":345615898050035712,"44":-1727200795251699712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 21:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648683008001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:03:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 21:03:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345615898050035712,"km_value":345615898050035.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1727200795251699712,"description":"Unknown IO ID 44"} 
[2026-07-11 21:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648683008001,"power":27397,"unknown_95":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1727200795251699712}} 
[2026-07-11 21:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":129754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:03:40] local.INFO: GPS data processed {"connection_id":129754,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:03:40] local.INFO: Acknowledgment sent {"connection_id":129754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:03:58] local.INFO: TCP Data received {"connection_id":128853,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:03:58] local.INFO: Processing buffer {"connection_id":128853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:03:58] local.INFO: IMEI packet received {"connection_id":128853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":128853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:04:01] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:04:01] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:04:01] local.INFO: IMEI packet received {"connection_id":128854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":128854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:04:03] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:04:03] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:04:03] local.INFO: IMEI packet received {"connection_id":128854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":128854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:04:04] local.INFO: TCP Data received {"connection_id":128853,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:04:04] local.INFO: Processing buffer {"connection_id":128853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:04:04] local.INFO: IMEI packet received {"connection_id":128853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":128853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:04:05] local.INFO: TCP Data received {"connection_id":128853,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:04:05] local.INFO: Processing buffer {"connection_id":128853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:04:05] local.INFO: Packet analysis {"connection_id":128853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:04:05] local.INFO: Extracted packet for processing {"connection_id":128853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:04:05] 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-07-11 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":128853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:04:05] local.INFO: GPS data processed {"connection_id":128853,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:04:05] local.INFO: Acknowledgment sent {"connection_id":128853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:04:08] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:04:08] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:04:08] local.INFO: IMEI packet received {"connection_id":128854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":128854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:04:09] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cecc18012ce82800071efb480008009e2b..."} 
[2026-07-11 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cecc18012ce82800071efb480008009e2b..."} 
[2026-07-11 21:04:09] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cecc18012ce82800071efb480008009e2b..."} 
[2026-07-11 21:04:09] local.INFO: Packet analysis {"connection_id":128854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ce"} 
[2026-07-11 21:04:09] local.INFO: Extracted packet for processing {"connection_id":128854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ce"} 
[2026-07-11 21:04:09] local.INFO: GPS Element Parsed {"raw_longitude":753412096,"raw_latitude":119470920,"longitude_deg":75.3412096,"latitude_deg":11.947092,"altitude":8,"angle":158,"satellites":43,"speed":48,"hex_longitude":"2ce82800","hex_latitude":"071efb48","is_valid_coordinates":true} 
[2026-07-11 21:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648685312001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345616353316569088,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1722134245673187328,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783783935000,"timestamp_ms":1783783935000,"timestamp_seconds":1783783935,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cecc18"} 
[2026-07-11 21:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:04:09] 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-07-11 21:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648685312001,"66":27267,"95":206,"83":43008,"24":48,"16":345616353316569088,"44":-1722134245673187328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-11 21:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648685312001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:04:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-11 21:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345616353316569088,"km_value":345616353316569.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1722134245673187328,"description":"Unknown IO ID 44"} 
[2026-07-11 21:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648685312001,"power":27267,"unknown_95":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1722134245673187328}} 
[2026-07-11 21:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":128854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:04:09] local.INFO: GPS data processed {"connection_id":128854,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:04:09] local.INFO: Acknowledgment sent {"connection_id":128854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:04:10] local.INFO: TCP Data received {"connection_id":129755,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:04:10] local.INFO: Processing buffer {"connection_id":129755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:04:10] local.INFO: IMEI packet received {"connection_id":129755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":129755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:04:37] local.INFO: TCP Data received {"connection_id":128853,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:04:37] local.INFO: Processing buffer {"connection_id":128853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:04:37] local.INFO: Packet analysis {"connection_id":128853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:04:37] local.INFO: Extracted packet for processing {"connection_id":128853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:04:37] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":128853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:04:37] local.INFO: GPS data processed {"connection_id":128853,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:04:37] local.INFO: Acknowledgment sent {"connection_id":128853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:04:40] local.INFO: TCP Data received {"connection_id":128854,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ceeb58012ce83640071ed7f00008009e2a..."} 
[2026-07-11 21:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ceeb58012ce83640071ed7f00008009e2a..."} 
[2026-07-11 21:04:40] local.INFO: Processing buffer {"connection_id":128854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ceeb58012ce83640071ed7f00008009e2a..."} 
[2026-07-11 21:04:40] local.INFO: Packet analysis {"connection_id":128854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ce"} 
[2026-07-11 21:04:40] local.INFO: Extracted packet for processing {"connection_id":128854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ce"} 
[2026-07-11 21:04:40] local.INFO: GPS Element Parsed {"raw_longitude":753415744,"raw_latitude":119461872,"longitude_deg":75.3415744,"latitude_deg":11.9461872,"altitude":8,"angle":158,"satellites":42,"speed":47,"hex_longitude":"2ce83640","hex_latitude":"071ed7f0","is_valid_coordinates":true} 
[2026-07-11 21:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648687360001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345616825762971648,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1718123227257288704,"note":"Value kept but may cause issues"} 
[2026-07-11 21:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783783943000,"timestamp_ms":1783783943000,"timestamp_seconds":1783783943,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ceeb58"} 
[2026-07-11 21:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648687360001,"66":27234,"73":206,"83":43008,"24":47,"16":345616825762971648,"44":-1718123227257288704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-11 21:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648687360001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:04:40] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-11 21:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345616825762971648,"km_value":345616825762971.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1718123227257288704,"description":"Unknown IO ID 44"} 
[2026-07-11 21:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648687360001,"power":27234,"unknown_73":206,"unknown_83":43008,"ignition":47,"odometer":null,"unknown_44":-1718123227257288704}} 
[2026-07-11 21:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":128854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:04:40] local.INFO: GPS data processed {"connection_id":128854,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:04:40] local.INFO: Acknowledgment sent {"connection_id":128854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:04:44] local.INFO: TCP Data received {"connection_id":131018,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:04:44] local.INFO: Processing buffer {"connection_id":131018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:04:44] local.INFO: IMEI packet received {"connection_id":131018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":131018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:05:03] local.INFO: TCP Data received {"connection_id":129756,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:05:03] local.INFO: Processing buffer {"connection_id":129756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:05:03] local.INFO: IMEI packet received {"connection_id":129756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":129756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:05:04] local.INFO: TCP Data received {"connection_id":131019,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:05:04] local.INFO: Processing buffer {"connection_id":131019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:05:04] local.INFO: IMEI packet received {"connection_id":131019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":131019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:05:08] local.INFO: TCP Data received {"connection_id":129756,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:05:08] local.INFO: Processing buffer {"connection_id":129756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:05:08] local.INFO: IMEI packet received {"connection_id":129756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":129756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:05:09] local.INFO: TCP Data received {"connection_id":131019,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:05:09] local.INFO: Processing buffer {"connection_id":131019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:05:09] local.INFO: IMEI packet received {"connection_id":131019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":131019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:05:09] local.INFO: TCP Data received {"connection_id":129756,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d06e10012ce92a00071ddea8000f008628..."} 
[2026-07-11 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d06e10012ce92a00071ddea8000f008628..."} 
[2026-07-11 21:05:09] local.INFO: Processing buffer {"connection_id":129756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d06e10012ce92a00071ddea8000f008628..."} 
[2026-07-11 21:05:09] local.INFO: Packet analysis {"connection_id":129756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d0"} 
[2026-07-11 21:05:09] local.INFO: Extracted packet for processing {"connection_id":129756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d0"} 
[2026-07-11 21:05:09] local.INFO: GPS Element Parsed {"raw_longitude":753478144,"raw_latitude":119398056,"longitude_deg":75.3478144,"latitude_deg":11.9398056,"altitude":15,"angle":134,"satellites":40,"speed":30,"hex_longitude":"2ce92a00","hex_latitude":"071ddea8","is_valid_coordinates":true} 
[2026-07-11 21:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648713216001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345621271054123008,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1649372964213647360,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784042000,"timestamp_ms":1783784042000,"timestamp_seconds":1783784042,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d06e10"} 
[2026-07-11 21:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:05:09] 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-07-11 21:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 21:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648713216001,"66":27332,"111":206,"83":43008,"24":30,"16":345621271054123008,"44":-1649372964213647360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-11 21:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648713216001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:05:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 21:05:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345621271054123008,"km_value":345621271054123.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:05:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1649372964213647360,"description":"Unknown IO ID 44"} 
[2026-07-11 21:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648713216001,"power":27332,"unknown_111":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1649372964213647360}} 
[2026-07-11 21:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":129756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:05:09] local.INFO: GPS data processed {"connection_id":129756,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:05:09] local.INFO: Acknowledgment sent {"connection_id":129756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:05:10] local.INFO: TCP Data received {"connection_id":131019,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:05:10] local.INFO: Processing buffer {"connection_id":131019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:05:10] local.INFO: Packet analysis {"connection_id":131019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:05:10] local.INFO: Extracted packet for processing {"connection_id":131019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:05:10] 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-07-11 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:05:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:05:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":131019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:05:10] local.INFO: GPS data processed {"connection_id":131019,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:05:10] local.INFO: Acknowledgment sent {"connection_id":131019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:05:15] local.INFO: TCP Data received {"connection_id":131019,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:05:15] local.INFO: Processing buffer {"connection_id":131019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:05:15] local.INFO: Packet analysis {"connection_id":131019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:05:15] local.INFO: Extracted packet for processing {"connection_id":131019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:05:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":131019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:05:15] local.INFO: GPS data processed {"connection_id":131019,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:05:15] local.INFO: Acknowledgment sent {"connection_id":131019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:05:40] local.INFO: TCP Data received {"connection_id":129756,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d08d50012ce93940071dcc20000a00912b..."} 
[2026-07-11 21:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d08d50012ce93940071dcc20000a00912b..."} 
[2026-07-11 21:05:40] local.INFO: Processing buffer {"connection_id":129756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d08d50012ce93940071dcc20000a00912b..."} 
[2026-07-11 21:05:40] local.INFO: Packet analysis {"connection_id":129756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d0"} 
[2026-07-11 21:05:40] local.INFO: Extracted packet for processing {"connection_id":129756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d0"} 
[2026-07-11 21:05:40] local.INFO: GPS Element Parsed {"raw_longitude":753482048,"raw_latitude":119393312,"longitude_deg":75.3482048,"latitude_deg":11.9393312,"altitude":10,"angle":145,"satellites":43,"speed":30,"hex_longitude":"2ce93940","hex_latitude":"071dcc20","is_valid_coordinates":true} 
[2026-07-11 21:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648714752001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345621567406866432,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1645502683284592640,"note":"Value kept but may cause issues"} 
[2026-07-11 21:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783784050000,"timestamp_ms":1783784050000,"timestamp_seconds":1783784050,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d08d50"} 
[2026-07-11 21:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 21:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648714752001,"66":27234,"110":206,"83":43008,"24":30,"16":345621567406866432,"44":-1645502683284592640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-11 21:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648714752001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:05:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 21:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345621567406866432,"km_value":345621567406866.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1645502683284592640,"description":"Unknown IO ID 44"} 
[2026-07-11 21:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648714752001,"power":27234,"unknown_110":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1645502683284592640}} 
[2026-07-11 21:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":129756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:05:40] local.INFO: GPS data processed {"connection_id":129756,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:05:40] local.INFO: Acknowledgment sent {"connection_id":129756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:05:59] local.INFO: TCP Data received {"connection_id":129034,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:05:59] local.INFO: Processing buffer {"connection_id":129034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:05:59] local.INFO: IMEI packet received {"connection_id":129034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":129034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:06:04] local.INFO: TCP Data received {"connection_id":129034,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:06:04] local.INFO: Processing buffer {"connection_id":129034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:06:04] local.INFO: IMEI packet received {"connection_id":129034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":129034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:06:05] local.INFO: TCP Data received {"connection_id":129034,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:06:05] local.INFO: Processing buffer {"connection_id":129034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:06:05] local.INFO: Packet analysis {"connection_id":129034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:06:05] local.INFO: Extracted packet for processing {"connection_id":129034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:06:05] 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-07-11 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":129034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:06:05] local.INFO: GPS data processed {"connection_id":129034,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:06:05] local.INFO: Acknowledgment sent {"connection_id":129034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:06:06] local.INFO: TCP Data received {"connection_id":129035,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:06:06] local.INFO: Processing buffer {"connection_id":129035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:06:06] local.INFO: IMEI packet received {"connection_id":129035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":129035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:06:08] local.INFO: TCP Data received {"connection_id":129035,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:06:08] local.INFO: Processing buffer {"connection_id":129035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:06:08] local.INFO: IMEI packet received {"connection_id":129035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":129035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:06:10] local.INFO: TCP Data received {"connection_id":129034,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:06:10] local.INFO: Processing buffer {"connection_id":129034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:06:10] local.INFO: Packet analysis {"connection_id":129034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:06:10] local.INFO: Extracted packet for processing {"connection_id":129034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:06:10] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:06:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":129034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:06:10] local.INFO: GPS data processed {"connection_id":129034,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:06:10] local.INFO: Acknowledgment sent {"connection_id":129034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:06:11] local.INFO: TCP Data received {"connection_id":129035,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:06:11] local.INFO: Processing buffer {"connection_id":129035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:06:11] local.INFO: IMEI packet received {"connection_id":129035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":129035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:06:12] local.INFO: TCP Data received {"connection_id":129035,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d177b0012ce9aa80071d3558000600362d..."} 
[2026-07-11 21:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d177b0012ce9aa80071d3558000600362d..."} 
[2026-07-11 21:06:12] local.INFO: Processing buffer {"connection_id":129035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d177b0012ce9aa80071d3558000600362d..."} 
[2026-07-11 21:06:12] local.INFO: Packet analysis {"connection_id":129035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d1"} 
[2026-07-11 21:06:12] local.INFO: Extracted packet for processing {"connection_id":129035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d1"} 
[2026-07-11 21:06:12] local.INFO: GPS Element Parsed {"raw_longitude":753511040,"raw_latitude":119354712,"longitude_deg":75.351104,"latitude_deg":11.9354712,"altitude":6,"angle":54,"satellites":45,"speed":10,"hex_longitude":"2ce9aa80","hex_latitude":"071d3558","is_valid_coordinates":true} 
[2026-07-11 21:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648731904001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345623929638879232,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609544255020935168,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783784110000,"timestamp_ms":1783784110000,"timestamp_seconds":1783784110,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d177b0"} 
[2026-07-11 21:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:06: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-07-11 21:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648731904001,"66":27267,"110":206,"83":43008,"24":10,"16":345623929638879232,"44":-1609544255020935168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-11 21:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648731904001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:06:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 21:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345623929638879232,"km_value":345623929638879.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609544255020935168,"description":"Unknown IO ID 44"} 
[2026-07-11 21:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648731904001,"power":27267,"unknown_110":206,"unknown_83":43008,"ignition":10,"odometer":null,"unknown_44":-1609544255020935168}} 
[2026-07-11 21:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":129035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:06:12] local.INFO: GPS data processed {"connection_id":129035,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:06:12] local.INFO: Acknowledgment sent {"connection_id":129035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:06:42] local.INFO: TCP Data received {"connection_id":129034,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:06:42] local.INFO: Processing buffer {"connection_id":129034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51cdd9e8012d196680071fef80003b011a20..."} 
[2026-07-11 21:06:42] local.INFO: Packet analysis {"connection_id":129034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:06:42] local.INFO: Extracted packet for processing {"connection_id":129034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51cd"} 
[2026-07-11 21:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648594432001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783783873000,"timestamp_ms":1783783873000,"timestamp_seconds":1783783873,"priority":1,"record_length":96,"hex_timestamp":"0000019f51cdd9e8"} 
[2026-07-11 21:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:06:42] 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-07-11 21:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648594432001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648594432001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:06:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648594432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":129034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:06:42] local.INFO: GPS data processed {"connection_id":129034,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:06:42] local.INFO: Acknowledgment sent {"connection_id":129034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:06:43] local.INFO: TCP Data received {"connection_id":129035,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d17b98012ce9ab00071d3640000600212d..."} 
[2026-07-11 21:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d17b98012ce9ab00071d3640000600212d..."} 
[2026-07-11 21:06:43] local.INFO: Processing buffer {"connection_id":129035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d17b98012ce9ab00071d3640000600212d..."} 
[2026-07-11 21:06:43] local.INFO: Packet analysis {"connection_id":129035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d1"} 
[2026-07-11 21:06:43] local.INFO: Extracted packet for processing {"connection_id":129035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d1"} 
[2026-07-11 21:06:43] local.INFO: GPS Element Parsed {"raw_longitude":753511168,"raw_latitude":119354944,"longitude_deg":75.3511168,"latitude_deg":11.9354944,"altitude":6,"angle":33,"satellites":45,"speed":12,"hex_longitude":"2ce9ab00","hex_latitude":"071d3640","is_valid_coordinates":true} 
[2026-07-11 21:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648732160001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345623942523781120,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609333148788369408,"note":"Value kept but may cause issues"} 
[2026-07-11 21:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783784111000,"timestamp_ms":1783784111000,"timestamp_seconds":1783784111,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d17b98"} 
[2026-07-11 21:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648732160001,"66":27267,"110":206,"83":43008,"24":12,"16":345623942523781120,"44":-1609333148788369408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-11 21:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648732160001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:06:43] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 21:06:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345623942523781120,"km_value":345623942523781.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609333148788369408,"description":"Unknown IO ID 44"} 
[2026-07-11 21:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648732160001,"power":27267,"unknown_110":206,"unknown_83":43008,"ignition":12,"odometer":null,"unknown_44":-1609333148788369408}} 
[2026-07-11 21:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":129035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:06:43] local.INFO: GPS data processed {"connection_id":129035,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:06:43] local.INFO: Acknowledgment sent {"connection_id":129035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:06:59] local.INFO: TCP Data received {"connection_id":129757,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:06:59] local.INFO: Processing buffer {"connection_id":129757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:06:59] local.INFO: IMEI packet received {"connection_id":129757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":129757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:07:01] local.INFO: TCP Data received {"connection_id":131021,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:07:01] local.INFO: Processing buffer {"connection_id":131021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:07:01] local.INFO: IMEI packet received {"connection_id":131021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":131021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:07:03] local.INFO: TCP Data received {"connection_id":131021,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:07:03] local.INFO: Processing buffer {"connection_id":131021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:07:03] local.INFO: IMEI packet received {"connection_id":131021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":131021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:07:04] local.INFO: TCP Data received {"connection_id":129757,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:07:04] local.INFO: Processing buffer {"connection_id":129757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:07:04] local.INFO: IMEI packet received {"connection_id":129757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":129757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:07:05] local.INFO: TCP Data received {"connection_id":129757,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:07:05] local.INFO: Processing buffer {"connection_id":129757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:07:05] local.INFO: Packet analysis {"connection_id":129757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:07:05] local.INFO: Extracted packet for processing {"connection_id":129757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:07:05] 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-07-11 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:07:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":129757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:07:05] local.INFO: GPS data processed {"connection_id":129757,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:07:05] local.INFO: Acknowledgment sent {"connection_id":129757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:07:08] local.INFO: TCP Data received {"connection_id":131021,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:07:08] local.INFO: Processing buffer {"connection_id":131021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:07:08] local.INFO: IMEI packet received {"connection_id":131021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":131021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:07:09] local.INFO: TCP Data received {"connection_id":131021,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d17f80012ce9ab80071d37880006000e2d..."} 
[2026-07-11 21:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d17f80012ce9ab80071d37880006000e2d..."} 
[2026-07-11 21:07:09] local.INFO: Processing buffer {"connection_id":131021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d17f80012ce9ab80071d37880006000e2d..."} 
[2026-07-11 21:07:09] local.INFO: Packet analysis {"connection_id":131021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d1"} 
[2026-07-11 21:07:09] local.INFO: Extracted packet for processing {"connection_id":131021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d1"} 
[2026-07-11 21:07:09] local.INFO: GPS Element Parsed {"raw_longitude":753511296,"raw_latitude":119355272,"longitude_deg":75.3511296,"latitude_deg":11.9355272,"altitude":6,"angle":14,"satellites":45,"speed":13,"hex_longitude":"2ce9ab80","hex_latitude":"071d3788","is_valid_coordinates":true} 
[2026-07-11 21:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648732416001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345623959703650304,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609192411299954688,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784112000,"timestamp_ms":1783784112000,"timestamp_seconds":1783784112,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d17f80"} 
[2026-07-11 21:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648732416001,"66":27234,"110":206,"83":43008,"24":13,"16":345623959703650304,"44":-1609192411299954688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-11 21:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648732416001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:07:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-11 21:07:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345623959703650304,"km_value":345623959703650.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609192411299954688,"description":"Unknown IO ID 44"} 
[2026-07-11 21:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648732416001,"power":27234,"unknown_110":206,"unknown_83":43008,"ignition":13,"odometer":null,"unknown_44":-1609192411299954688}} 
[2026-07-11 21:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":131021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:07:09] local.INFO: GPS data processed {"connection_id":131021,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:07:09] local.INFO: Acknowledgment sent {"connection_id":131021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:07:37] local.INFO: TCP Data received {"connection_id":129757,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:07:37] local.INFO: Processing buffer {"connection_id":129757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:07:37] local.INFO: Packet analysis {"connection_id":129757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:07:37] local.INFO: Extracted packet for processing {"connection_id":129757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:07:37] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":129757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:07:37] local.INFO: GPS data processed {"connection_id":129757,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:07:37] local.INFO: Acknowledgment sent {"connection_id":129757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:07:40] local.INFO: TCP Data received {"connection_id":131021,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d2bbe8012ce9f640071e44980002000f2b..."} 
[2026-07-11 21:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d2bbe8012ce9f640071e44980002000f2b..."} 
[2026-07-11 21:07:40] local.INFO: Processing buffer {"connection_id":131021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d2bbe8012ce9f640071e44980002000f2b..."} 
[2026-07-11 21:07:40] local.INFO: Packet analysis {"connection_id":131021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:07:40] local.INFO: Extracted packet for processing {"connection_id":131021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:07:40] local.INFO: GPS Element Parsed {"raw_longitude":753530432,"raw_latitude":119424152,"longitude_deg":75.3530432,"latitude_deg":11.9424152,"altitude":2,"angle":15,"satellites":43,"speed":34,"hex_longitude":"2ce9f640","hex_latitude":"071e4498","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648750848001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345627507346636800,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1591107644030838784,"note":"Value kept but may cause issues"} 
[2026-07-11 21:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783784193000,"timestamp_ms":1783784193000,"timestamp_seconds":1783784193,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d2bbe8"} 
[2026-07-11 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-07-11 21:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 21:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648750848001,"66":27300,"68":206,"83":43008,"24":34,"16":345627507346636800,"44":-1591107644030838784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-07-11 21:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648750848001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:07:40] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-11 21:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345627507346636800,"km_value":345627507346636.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1591107644030838784,"description":"Unknown IO ID 44"} 
[2026-07-11 21:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648750848001,"power":27300,"unknown_68":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1591107644030838784}} 
[2026-07-11 21:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":131021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:07:40] local.INFO: GPS data processed {"connection_id":131021,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:07:40] local.INFO: Acknowledgment sent {"connection_id":131021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:07:58] local.INFO: TCP Data received {"connection_id":129036,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:07:58] local.INFO: Processing buffer {"connection_id":129036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:07:58] local.INFO: IMEI packet received {"connection_id":129036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":129036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:08:03] local.INFO: TCP Data received {"connection_id":131022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:08:03] local.INFO: Processing buffer {"connection_id":131022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:08:03] local.INFO: IMEI packet received {"connection_id":131022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":131022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:08:04] local.INFO: TCP Data received {"connection_id":129036,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:08:04] local.INFO: Processing buffer {"connection_id":129036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:08:04] local.INFO: IMEI packet received {"connection_id":129036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":129036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:08:05] local.INFO: TCP Data received {"connection_id":129036,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:08:05] local.INFO: Processing buffer {"connection_id":129036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:08:05] local.INFO: Packet analysis {"connection_id":129036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:08:05] local.INFO: Extracted packet for processing {"connection_id":129036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:08:05] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":129036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:08:05] local.INFO: GPS data processed {"connection_id":129036,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:08:05] local.INFO: Acknowledgment sent {"connection_id":129036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:08:06] local.INFO: TCP Data received {"connection_id":131022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:08:06] local.INFO: Processing buffer {"connection_id":131022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:08:06] local.INFO: IMEI packet received {"connection_id":131022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":131022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:08:07] local.INFO: TCP Data received {"connection_id":131022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d2eeb0012ce9ffc0071e67180002000c27..."} 
[2026-07-11 21:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d2eeb0012ce9ffc0071e67180002000c27..."} 
[2026-07-11 21:08:07] local.INFO: Processing buffer {"connection_id":131022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d2eeb0012ce9ffc0071e67180002000c27..."} 
[2026-07-11 21:08:07] local.INFO: Packet analysis {"connection_id":131022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:08:07] local.INFO: Extracted packet for processing {"connection_id":131022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:08:07] local.INFO: GPS Element Parsed {"raw_longitude":753532864,"raw_latitude":119432984,"longitude_deg":75.3532864,"latitude_deg":11.9432984,"altitude":2,"angle":12,"satellites":39,"speed":28,"hex_longitude":"2ce9ffc0","hex_latitude":"071e6718","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648753408001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345627954023235584,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588011419284760576,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783784206000,"timestamp_ms":1783784206000,"timestamp_seconds":1783784206,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d2eeb0"} 
[2026-07-11 21:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 21:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":131022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":131022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":131022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648753408001,"66":27463,"68":206,"83":43008,"24":28,"16":345627954023235584,"44":-1588011419284760576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-07-11 21:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648753408001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:08:07] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-11 21:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345627954023235584,"km_value":345627954023235.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:08:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588011419284760576,"description":"Unknown IO ID 44"} 
[2026-07-11 21:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648753408001,"power":27463,"unknown_68":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1588011419284760576}} 
[2026-07-11 21:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":131022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:08:07] local.INFO: GPS data processed {"connection_id":131022,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:08:07] local.INFO: Acknowledgment sent {"connection_id":131022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:08:37] local.INFO: TCP Data received {"connection_id":129036,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:08:37] local.INFO: Processing buffer {"connection_id":129036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:08:37] local.INFO: Packet analysis {"connection_id":129036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:08:37] local.INFO: Extracted packet for processing {"connection_id":129036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:08:37] 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-07-11 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":129036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:08:37] local.INFO: GPS data processed {"connection_id":129036,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:08:37] local.INFO: Acknowledgment sent {"connection_id":129036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:08:38] local.INFO: TCP Data received {"connection_id":131022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d30df0012cea0700071e7ed80001001726..."} 
[2026-07-11 21:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d30df0012cea0700071e7ed80001001726..."} 
[2026-07-11 21:08:38] local.INFO: Processing buffer {"connection_id":131022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d30df0012cea0700071e7ed80001001726..."} 
[2026-07-11 21:08:38] local.INFO: Packet analysis {"connection_id":131022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d3"} 
[2026-07-11 21:08:38] local.INFO: Extracted packet for processing {"connection_id":131022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d3"} 
[2026-07-11 21:08:38] local.INFO: GPS Element Parsed {"raw_longitude":753534720,"raw_latitude":119439064,"longitude_deg":75.353472,"latitude_deg":11.9439064,"altitude":1,"angle":23,"satellites":38,"speed":32,"hex_longitude":"2cea0700","hex_latitude":"071e7ed8","is_valid_coordinates":true} 
[2026-07-11 21:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648756736001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345628258965913600,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585337407003748352,"note":"Value kept but may cause issues"} 
[2026-07-11 21:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783784214000,"timestamp_ms":1783784214000,"timestamp_seconds":1783784214,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d30df0"} 
[2026-07-11 21:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 21:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648756736001,"66":27321,"68":206,"83":43008,"24":32,"16":345628258965913600,"44":-1585337407003748352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-07-11 21:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648756736001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:08:38] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-11 21:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345628258965913600,"km_value":345628258965913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:08:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585337407003748352,"description":"Unknown IO ID 44"} 
[2026-07-11 21:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648756736001,"power":27321,"unknown_68":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1585337407003748352}} 
[2026-07-11 21:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":131022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:08:38] local.INFO: GPS data processed {"connection_id":131022,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:08:38] local.INFO: Acknowledgment sent {"connection_id":131022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:09:03] local.INFO: TCP Data received {"connection_id":131023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:09:03] local.INFO: Processing buffer {"connection_id":131023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:09:03] local.INFO: IMEI packet received {"connection_id":131023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":131023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:09:04] local.INFO: TCP Data received {"connection_id":129760,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:09:04] local.INFO: Processing buffer {"connection_id":129760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:09:04] local.INFO: IMEI packet received {"connection_id":129760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":129760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:09:08] local.INFO: TCP Data received {"connection_id":131023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:09:08] local.INFO: Processing buffer {"connection_id":131023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:09:08] local.INFO: IMEI packet received {"connection_id":131023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":131023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:09:09] local.INFO: TCP Data received {"connection_id":129760,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:09:09] local.INFO: Processing buffer {"connection_id":129760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:09:09] local.INFO: IMEI packet received {"connection_id":129760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":129760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:09:09] local.INFO: TCP Data received {"connection_id":131023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d3c588012cea1880071e5250000900b728..."} 
[2026-07-11 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d3c588012cea1880071e5250000900b728..."} 
[2026-07-11 21:09:09] local.INFO: Processing buffer {"connection_id":131023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d3c588012cea1880071e5250000900b728..."} 
[2026-07-11 21:09:09] local.INFO: Packet analysis {"connection_id":131023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d3"} 
[2026-07-11 21:09:09] local.INFO: Extracted packet for processing {"connection_id":131023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d3"} 
[2026-07-11 21:09:09] local.INFO: GPS Element Parsed {"raw_longitude":753539200,"raw_latitude":119427664,"longitude_deg":75.35392,"latitude_deg":11.9427664,"altitude":9,"angle":183,"satellites":40,"speed":20,"hex_longitude":"2cea1880","hex_latitude":"071e5250","is_valid_coordinates":true} 
[2026-07-11 21:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648767488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345629766499434496,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577385738910740480,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784261000,"timestamp_ms":1783784261000,"timestamp_seconds":1783784261,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d3c588"} 
[2026-07-11 21:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 21:09: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-07-11 21:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648767488001,"66":27343,"68":206,"83":43008,"24":20,"16":345629766499434496,"44":-1577385738910740480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-07-11 21:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648767488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:09:09] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-11 21:09:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345629766499434496,"km_value":345629766499434.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577385738910740480,"description":"Unknown IO ID 44"} 
[2026-07-11 21:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648767488001,"power":27343,"unknown_68":206,"unknown_83":43008,"ignition":20,"odometer":null,"unknown_44":-1577385738910740480}} 
[2026-07-11 21:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":131023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:09:09] local.INFO: GPS data processed {"connection_id":131023,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:09:09] local.INFO: Acknowledgment sent {"connection_id":131023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:09:11] local.INFO: TCP Data received {"connection_id":129760,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:09:11] local.INFO: Processing buffer {"connection_id":129760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:09:11] local.INFO: Packet analysis {"connection_id":129760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:09:11] local.INFO: Extracted packet for processing {"connection_id":129760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:09:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":129760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:09:11] local.INFO: GPS data processed {"connection_id":129760,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:09:11] local.INFO: Acknowledgment sent {"connection_id":129760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:09:15] local.INFO: TCP Data received {"connection_id":129760,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:09:15] local.INFO: Processing buffer {"connection_id":129760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:09:15] local.INFO: Packet analysis {"connection_id":129760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:09:15] local.INFO: Extracted packet for processing {"connection_id":129760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:09:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:09:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":129760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:09:15] local.INFO: GPS data processed {"connection_id":129760,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:09:15] local.INFO: Acknowledgment sent {"connection_id":129760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:09:40] local.INFO: TCP Data received {"connection_id":131023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d41790012cea15c0071e30c0000c00b42c..."} 
[2026-07-11 21:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d41790012cea15c0071e30c0000c00b42c..."} 
[2026-07-11 21:09:40] local.INFO: Processing buffer {"connection_id":131023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d41790012cea15c0071e30c0000c00b42c..."} 
[2026-07-11 21:09:40] local.INFO: Packet analysis {"connection_id":131023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d4"} 
[2026-07-11 21:09:40] local.INFO: Extracted packet for processing {"connection_id":131023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d4"} 
[2026-07-11 21:09:40] local.INFO: GPS Element Parsed {"raw_longitude":753538496,"raw_latitude":119419072,"longitude_deg":75.3538496,"latitude_deg":11.9419072,"altitude":12,"angle":180,"satellites":44,"speed":13,"hex_longitude":"2cea15c0","hex_latitude":"071e30c0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648770816001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345630183111262208,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578370901331521536,"note":"Value kept but may cause issues"} 
[2026-07-11 21:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783784282000,"timestamp_ms":1783784282000,"timestamp_seconds":1783784282,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d41790"} 
[2026-07-11 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-07-11 21:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648770816001,"66":27082,"68":206,"83":43008,"24":13,"16":345630183111262208,"44":-1578370901331521536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-07-11 21:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648770816001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:09:40] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-11 21:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345630183111262208,"km_value":345630183111262.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578370901331521536,"description":"Unknown IO ID 44"} 
[2026-07-11 21:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648770816001,"power":27082,"unknown_68":206,"unknown_83":43008,"ignition":13,"odometer":null,"unknown_44":-1578370901331521536}} 
[2026-07-11 21:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":131023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:09:40] local.INFO: GPS data processed {"connection_id":131023,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:09:40] local.INFO: Acknowledgment sent {"connection_id":131023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:09:59] local.INFO: TCP Data received {"connection_id":129761,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:09:59] local.INFO: Processing buffer {"connection_id":129761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:09:59] local.INFO: IMEI packet received {"connection_id":129761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":129761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:10:03] local.INFO: TCP Data received {"connection_id":129762,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:10:03] local.INFO: Processing buffer {"connection_id":129762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:10:03] local.INFO: IMEI packet received {"connection_id":129762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":129762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:10:04] local.INFO: TCP Data received {"connection_id":129761,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:10:04] local.INFO: Processing buffer {"connection_id":129761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:10:04] local.INFO: IMEI packet received {"connection_id":129761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":129761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:10:04] local.INFO: TCP Data received {"connection_id":129762,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:10:04] local.INFO: Processing buffer {"connection_id":129762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:10:04] local.INFO: IMEI packet received {"connection_id":129762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":129762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:10:05] local.INFO: TCP Data received {"connection_id":129037,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:10:05] local.INFO: Processing buffer {"connection_id":129037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:10:05] local.INFO: IMEI packet received {"connection_id":129037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":129037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:10:05] local.INFO: TCP Data received {"connection_id":129761,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:10:05] local.INFO: Processing buffer {"connection_id":129761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:10:05] local.INFO: Packet analysis {"connection_id":129761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:10:05] local.INFO: Extracted packet for processing {"connection_id":129761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:10:05] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":129761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:10:05] local.INFO: GPS data processed {"connection_id":129761,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:10:05] local.INFO: Acknowledgment sent {"connection_id":129761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:10:08] local.INFO: TCP Data received {"connection_id":129762,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:10:08] local.INFO: Processing buffer {"connection_id":129762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:10:08] local.INFO: IMEI packet received {"connection_id":129762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":129762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:10:09] local.INFO: TCP Data received {"connection_id":129762,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d46998012cea1500071e1ef0000a00b62b..."} 
[2026-07-11 21:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d46998012cea1500071e1ef0000a00b62b..."} 
[2026-07-11 21:10:09] local.INFO: Processing buffer {"connection_id":129762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d46998012cea1500071e1ef0000a00b62b..."} 
[2026-07-11 21:10:09] local.INFO: Packet analysis {"connection_id":129762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d4"} 
[2026-07-11 21:10:09] local.INFO: Extracted packet for processing {"connection_id":129762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d4"} 
[2026-07-11 21:10:09] local.INFO: GPS Element Parsed {"raw_longitude":753538304,"raw_latitude":119414512,"longitude_deg":75.3538304,"latitude_deg":11.9414512,"altitude":10,"angle":182,"satellites":43,"speed":6,"hex_longitude":"2cea1500","hex_latitude":"071e1ef0","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648776192001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345630406449561600,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579144957519675392,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784303000,"timestamp_ms":1783784303000,"timestamp_seconds":1783784303,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d46998"} 
[2026-07-11 21:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:10:09] 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-07-11 21: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-11 21:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648776192001,"66":27376,"68":206,"83":43008,"24":6,"16":345630406449561600,"44":-1579144957519675392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-07-11 21:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648776192001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:10:09] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-11 21:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345630406449561600,"km_value":345630406449561.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579144957519675392,"description":"Unknown IO ID 44"} 
[2026-07-11 21:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648776192001,"power":27376,"unknown_68":206,"unknown_83":43008,"ignition":6,"odometer":null,"unknown_44":-1579144957519675392}} 
[2026-07-11 21:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":129762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:10:09] local.INFO: GPS data processed {"connection_id":129762,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:10:09] local.INFO: Acknowledgment sent {"connection_id":129762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:10:37] local.INFO: TCP Data received {"connection_id":129761,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:10:37] local.INFO: Processing buffer {"connection_id":129761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:10:37] local.INFO: Packet analysis {"connection_id":129761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:10:37] local.INFO: Extracted packet for processing {"connection_id":129761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:10:37] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":129761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:10:37] local.INFO: GPS data processed {"connection_id":129761,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:10:37] local.INFO: Acknowledgment sent {"connection_id":129761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:10:42] local.INFO: TCP Data received {"connection_id":129762,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d4bba0012cea13c0071e0d40000900b62c..."} 
[2026-07-11 21:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d4bba0012cea13c0071e0d40000900b62c..."} 
[2026-07-11 21:10:42] local.INFO: Processing buffer {"connection_id":129762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d4bba0012cea13c0071e0d40000900b62c..."} 
[2026-07-11 21:10:42] local.INFO: Packet analysis {"connection_id":129762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d4"} 
[2026-07-11 21:10:42] local.INFO: Extracted packet for processing {"connection_id":129762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d4"} 
[2026-07-11 21:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753537984,"raw_latitude":119409984,"longitude_deg":75.3537984,"latitude_deg":11.9409984,"altitude":9,"angle":182,"satellites":44,"speed":9,"hex_longitude":"2cea13c0","hex_latitude":"071e0d40","is_valid_coordinates":true} 
[2026-07-11 21:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648781568001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345630629787860992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579356063753375744,"note":"Value kept but may cause issues"} 
[2026-07-11 21:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783784324000,"timestamp_ms":1783784324000,"timestamp_seconds":1783784324,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d4bba0"} 
[2026-07-11 21:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648781568001,"66":27300,"68":206,"83":43008,"24":9,"16":345630629787860992,"44":-1579356063753375744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-07-11 21:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648781568001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:10:42] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-11 21:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345630629787860992,"km_value":345630629787861.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579356063753375744,"description":"Unknown IO ID 44"} 
[2026-07-11 21:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648781568001,"power":27300,"unknown_68":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1579356063753375744}} 
[2026-07-11 21:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":129762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:10:42] local.INFO: GPS data processed {"connection_id":129762,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:10:42] local.INFO: Acknowledgment sent {"connection_id":129762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:10:50] local.INFO: TCP Data received {"connection_id":129038,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:10:50] local.INFO: Processing buffer {"connection_id":129038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:10:50] local.INFO: IMEI packet received {"connection_id":129038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":129038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:10:58] local.INFO: TCP Data received {"connection_id":131024,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:10:58] local.INFO: Processing buffer {"connection_id":131024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:10:58] local.INFO: IMEI packet received {"connection_id":131024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":131024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:11:04] local.INFO: TCP Data received {"connection_id":131024,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:11:04] local.INFO: Processing buffer {"connection_id":131024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:11:04] local.INFO: IMEI packet received {"connection_id":131024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":131024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:11:05] local.INFO: TCP Data received {"connection_id":131024,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:11:05] local.INFO: Processing buffer {"connection_id":131024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:11:05] local.INFO: Packet analysis {"connection_id":131024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:11:05] local.INFO: Extracted packet for processing {"connection_id":131024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:11:05] 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-07-11 21:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:11:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":131024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:11:05] local.INFO: GPS data processed {"connection_id":131024,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:11:05] local.INFO: Acknowledgment sent {"connection_id":131024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:11:07] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:11:07] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:11:07] local.INFO: IMEI packet received {"connection_id":128856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":128856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:11:09] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:11:09] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:11:09] local.INFO: IMEI packet received {"connection_id":128856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":128856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:11:13] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:11:13] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:11:13] local.INFO: IMEI packet received {"connection_id":128856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":128856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:11:18] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d50da8012cea1200071df358000900b929..."} 
[2026-07-11 21:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d50da8012cea1200071df358000900b929..."} 
[2026-07-11 21:11:18] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d50da8012cea1200071df358000900b929..."} 
[2026-07-11 21:11:18] local.INFO: Packet analysis {"connection_id":128856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d5"} 
[2026-07-11 21:11:18] local.INFO: Extracted packet for processing {"connection_id":128856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d5"} 
[2026-07-11 21:11:18] local.INFO: GPS Element Parsed {"raw_longitude":753537536,"raw_latitude":119403352,"longitude_deg":75.3537536,"latitude_deg":11.9403352,"altitude":9,"angle":185,"satellites":41,"speed":4,"hex_longitude":"2cea1200","hex_latitude":"071df358","is_valid_coordinates":true} 
[2026-07-11 21:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648786944001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345630951910408192,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579707907475423232,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783784345000,"timestamp_ms":1783784345000,"timestamp_seconds":1783784345,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d50da8"} 
[2026-07-11 21:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 21:11:18] 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-07-11 21:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648786944001,"66":27343,"109":206,"83":43008,"24":4,"16":345630951910408192,"44":-1579707907475423232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648786944001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:11:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345630951910408192,"km_value":345630951910408.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:11:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579707907475423232,"description":"Unknown IO ID 44"} 
[2026-07-11 21:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648786944001,"power":27343,"unknown_109":206,"unknown_83":43008,"ignition":4,"odometer":null,"unknown_44":-1579707907475423232}} 
[2026-07-11 21:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":128856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:11:18] local.INFO: GPS data processed {"connection_id":128856,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:11:18] local.INFO: Acknowledgment sent {"connection_id":128856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:11:19] local.INFO: TCP Data received {"connection_id":128856,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d55fb0012cea11c0071deb50000a00b62b..."} 
[2026-07-11 21:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d55fb0012cea11c0071deb50000a00b62b..."} 
[2026-07-11 21:11:19] local.INFO: Processing buffer {"connection_id":128856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d55fb0012cea11c0071deb50000a00b62b..."} 
[2026-07-11 21:11:19] local.INFO: Packet analysis {"connection_id":128856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d5"} 
[2026-07-11 21:11:19] local.INFO: Extracted packet for processing {"connection_id":128856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d5"} 
[2026-07-11 21:11:19] local.INFO: GPS Element Parsed {"raw_longitude":753537472,"raw_latitude":119401296,"longitude_deg":75.3537472,"latitude_deg":11.9401296,"altitude":10,"angle":182,"satellites":43,"speed":9,"hex_longitude":"2cea11c0","hex_latitude":"071deb50","is_valid_coordinates":true} 
[2026-07-11 21:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648792320001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345631054989623296,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580200488686364672,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783784366000,"timestamp_ms":1783784366000,"timestamp_seconds":1783784366,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d55fb0"} 
[2026-07-11 21:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:11:19] 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-07-11 21:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648792320001,"66":27397,"109":206,"83":43008,"24":9,"16":345631054989623296,"44":-1580200488686364672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648792320001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:11:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345631054989623296,"km_value":345631054989623.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:11:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580200488686364672,"description":"Unknown IO ID 44"} 
[2026-07-11 21:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648792320001,"power":27397,"unknown_109":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1580200488686364672}} 
[2026-07-11 21:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":128856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:11:19] local.INFO: GPS data processed {"connection_id":128856,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:11:19] local.INFO: Acknowledgment sent {"connection_id":128856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:11:37] local.INFO: TCP Data received {"connection_id":131024,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:11:37] local.INFO: Processing buffer {"connection_id":131024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d271b0012d196680071fef80003b011a26..."} 
[2026-07-11 21:11:37] local.INFO: Packet analysis {"connection_id":131024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:11:37] local.INFO: Extracted packet for processing {"connection_id":131024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d2"} 
[2026-07-11 21:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648671488001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784174000,"timestamp_ms":1783784174000,"timestamp_seconds":1783784174,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d271b0"} 
[2026-07-11 21:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:11:37] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":131024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":131024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":131024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648671488001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648671488001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:11:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648671488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":131024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:11:37] local.INFO: GPS data processed {"connection_id":131024,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:11:37] local.INFO: Acknowledgment sent {"connection_id":131024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:11:58] local.INFO: TCP Data received {"connection_id":129039,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:11:58] local.INFO: Processing buffer {"connection_id":129039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:11:58] local.INFO: IMEI packet received {"connection_id":129039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":129039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:12:03] local.INFO: TCP Data received {"connection_id":129040,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:12:03] local.INFO: Processing buffer {"connection_id":129040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:12:03] local.INFO: IMEI packet received {"connection_id":129040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":129040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:12:04] local.INFO: TCP Data received {"connection_id":129039,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:12:04] local.INFO: Processing buffer {"connection_id":129039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:12:04] local.INFO: IMEI packet received {"connection_id":129039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":129039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:12:05] local.INFO: TCP Data received {"connection_id":129039,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:12:05] local.INFO: Processing buffer {"connection_id":129039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:12:05] local.INFO: Packet analysis {"connection_id":129039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:12:05] local.INFO: Extracted packet for processing {"connection_id":129039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:12:05] 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-07-11 21:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:12:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":129039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:12:05] local.INFO: GPS data processed {"connection_id":129039,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:12:05] local.INFO: Acknowledgment sent {"connection_id":129039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:12:08] local.INFO: TCP Data received {"connection_id":129040,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:12:08] local.INFO: Processing buffer {"connection_id":129040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:12:08] local.INFO: IMEI packet received {"connection_id":129040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":129040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:12:09] local.INFO: TCP Data received {"connection_id":129040,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d5b1b8012cea1080071dde28000900ba2b..."} 
[2026-07-11 21:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d5b1b8012cea1080071dde28000900ba2b..."} 
[2026-07-11 21:12:09] local.INFO: Processing buffer {"connection_id":129040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d5b1b8012cea1080071dde28000900ba2b..."} 
[2026-07-11 21:12:09] local.INFO: Packet analysis {"connection_id":129040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d5"} 
[2026-07-11 21:12:09] local.INFO: Extracted packet for processing {"connection_id":129040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d5"} 
[2026-07-11 21:12:09] local.INFO: GPS Element Parsed {"raw_longitude":753537152,"raw_latitude":119397928,"longitude_deg":75.3537152,"latitude_deg":11.9397928,"altitude":9,"angle":186,"satellites":43,"speed":5,"hex_longitude":"2cea1080","hex_latitude":"071dde28","is_valid_coordinates":true} 
[2026-07-11 21:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648797696001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345631218198380544,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580270857431068672,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784387000,"timestamp_ms":1783784387000,"timestamp_seconds":1783784387,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d5b1b8"} 
[2026-07-11 21:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648797696001,"66":27332,"109":206,"83":43008,"24":5,"16":345631218198380544,"44":-1580270857431068672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648797696001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:12:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345631218198380544,"km_value":345631218198380.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580270857431068672,"description":"Unknown IO ID 44"} 
[2026-07-11 21:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648797696001,"power":27332,"unknown_109":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1580270857431068672}} 
[2026-07-11 21:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":129040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:12:09] local.INFO: GPS data processed {"connection_id":129040,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:12:09] local.INFO: Acknowledgment sent {"connection_id":129040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:12:37] local.INFO: TCP Data received {"connection_id":129039,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:12:37] local.INFO: Processing buffer {"connection_id":129039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:12:37] local.INFO: Packet analysis {"connection_id":129039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:12:37] local.INFO: Extracted packet for processing {"connection_id":129039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:12:37] 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-07-11 21:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:12:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":129039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:12:37] local.INFO: GPS data processed {"connection_id":129039,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:12:37] local.INFO: Acknowledgment sent {"connection_id":129039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:12:40] local.INFO: TCP Data received {"connection_id":129040,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d603c0012cea0f40071dd0b0000800b92a..."} 
[2026-07-11 21:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d603c0012cea0f40071dd0b0000800b92a..."} 
[2026-07-11 21:12:40] local.INFO: Processing buffer {"connection_id":129040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d603c0012cea0f40071dd0b0000800b92a..."} 
[2026-07-11 21:12:40] local.INFO: Packet analysis {"connection_id":129040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d6"} 
[2026-07-11 21:12:40] local.INFO: Extracted packet for processing {"connection_id":129040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d6"} 
[2026-07-11 21:12:40] local.INFO: GPS Element Parsed {"raw_longitude":753536832,"raw_latitude":119394480,"longitude_deg":75.3536832,"latitude_deg":11.939448,"altitude":8,"angle":185,"satellites":42,"speed":5,"hex_longitude":"2cea0f40","hex_latitude":"071dd0b0","is_valid_coordinates":true} 
[2026-07-11 21:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648803072001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345631389997072384,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580622701152819200,"note":"Value kept but may cause issues"} 
[2026-07-11 21:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783784408000,"timestamp_ms":1783784408000,"timestamp_seconds":1783784408,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d603c0"} 
[2026-07-11 21:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 21:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648803072001,"66":27343,"109":206,"83":43008,"24":5,"16":345631389997072384,"44":-1580622701152819200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648803072001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:12:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345631389997072384,"km_value":345631389997072.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580622701152819200,"description":"Unknown IO ID 44"} 
[2026-07-11 21:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648803072001,"power":27343,"unknown_109":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1580622701152819200}} 
[2026-07-11 21:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":129040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:12:40] local.INFO: GPS data processed {"connection_id":129040,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:12:40] local.INFO: Acknowledgment sent {"connection_id":129040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:13:03] local.INFO: TCP Data received {"connection_id":128857,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:13:03] local.INFO: Processing buffer {"connection_id":128857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:13:03] local.INFO: IMEI packet received {"connection_id":128857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":128857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:13:04] local.INFO: TCP Data received {"connection_id":131026,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:13:04] local.INFO: Processing buffer {"connection_id":131026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:13:04] local.INFO: IMEI packet received {"connection_id":131026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":131026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:13:08] local.INFO: TCP Data received {"connection_id":128857,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:13:08] local.INFO: Processing buffer {"connection_id":128857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:13:08] local.INFO: IMEI packet received {"connection_id":128857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":128857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:13:09] local.INFO: TCP Data received {"connection_id":131026,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:13:09] local.INFO: Processing buffer {"connection_id":131026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:13:09] local.INFO: IMEI packet received {"connection_id":131026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":131026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:13:09] local.INFO: TCP Data received {"connection_id":128857,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d655c8012cea0e00071dc078000600b929..."} 
[2026-07-11 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d655c8012cea0e00071dc078000600b929..."} 
[2026-07-11 21:13:09] local.INFO: Processing buffer {"connection_id":128857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d655c8012cea0e00071dc078000600b929..."} 
[2026-07-11 21:13:09] local.INFO: Packet analysis {"connection_id":128857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d6"} 
[2026-07-11 21:13:09] local.INFO: Extracted packet for processing {"connection_id":128857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d6"} 
[2026-07-11 21:13:09] local.INFO: GPS Element Parsed {"raw_longitude":753536512,"raw_latitude":119390328,"longitude_deg":75.3536512,"latitude_deg":11.9390328,"altitude":6,"angle":185,"satellites":41,"speed":10,"hex_longitude":"2cea0e00","hex_latitude":"071dc078","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648808448001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345631591860535296,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580974544874590208,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784429000,"timestamp_ms":1783784429000,"timestamp_seconds":1783784429,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d655c8"} 
[2026-07-11 21:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648808448001,"66":27180,"109":206,"83":43008,"24":10,"16":345631591860535296,"44":-1580974544874590208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648808448001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:13:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:13:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345631591860535296,"km_value":345631591860535.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580974544874590208,"description":"Unknown IO ID 44"} 
[2026-07-11 21:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648808448001,"power":27180,"unknown_109":206,"unknown_83":43008,"ignition":10,"odometer":null,"unknown_44":-1580974544874590208}} 
[2026-07-11 21:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":128857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:13:09] local.INFO: GPS data processed {"connection_id":128857,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:13:09] local.INFO: Acknowledgment sent {"connection_id":128857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:13:10] local.INFO: TCP Data received {"connection_id":131026,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:13:10] local.INFO: Processing buffer {"connection_id":131026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:13:10] local.INFO: Packet analysis {"connection_id":131026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:13:10] local.INFO: Extracted packet for processing {"connection_id":131026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:13:10] 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-07-11 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:13:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":131026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:13:10] local.INFO: GPS data processed {"connection_id":131026,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:13:10] local.INFO: Acknowledgment sent {"connection_id":131026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:13:15] local.INFO: TCP Data received {"connection_id":131026,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:13:15] local.INFO: Processing buffer {"connection_id":131026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:13:15] local.INFO: Packet analysis {"connection_id":131026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:13:15] local.INFO: Extracted packet for processing {"connection_id":131026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:13:15] 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-07-11 21:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:13:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:13:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":131026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:13:15] local.INFO: GPS data processed {"connection_id":131026,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:13:15] local.INFO: Acknowledgment sent {"connection_id":131026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:13:48] local.INFO: TCP Data received {"connection_id":128857,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d6a7d0012cea0c40071da668000700b72a..."} 
[2026-07-11 21:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d6a7d0012cea0c40071da668000700b72a..."} 
[2026-07-11 21:13:48] local.INFO: Processing buffer {"connection_id":128857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d6a7d0012cea0c40071da668000700b72a..."} 
[2026-07-11 21:13:48] local.INFO: Packet analysis {"connection_id":128857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d6"} 
[2026-07-11 21:13:48] local.INFO: Extracted packet for processing {"connection_id":128857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d6"} 
[2026-07-11 21:13:48] local.INFO: GPS Element Parsed {"raw_longitude":753536064,"raw_latitude":119383656,"longitude_deg":75.3536064,"latitude_deg":11.9383656,"altitude":7,"angle":183,"satellites":42,"speed":16,"hex_longitude":"2cea0c40","hex_latitude":"071da668","is_valid_coordinates":true} 
[2026-07-11 21:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648813824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345631918278049792,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581326388596541440,"note":"Value kept but may cause issues"} 
[2026-07-11 21:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783784450000,"timestamp_ms":1783784450000,"timestamp_seconds":1783784450,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d6a7d0"} 
[2026-07-11 21:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 21:13:48] 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-07-11 21:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648813824001,"66":27376,"109":206,"83":43008,"24":16,"16":345631918278049792,"44":-1581326388596541440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648813824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:13:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345631918278049792,"km_value":345631918278049.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581326388596541440,"description":"Unknown IO ID 44"} 
[2026-07-11 21:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648813824001,"power":27376,"unknown_109":206,"unknown_83":43008,"ignition":16,"odometer":null,"unknown_44":-1581326388596541440}} 
[2026-07-11 21:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":128857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:13:48] local.INFO: GPS data processed {"connection_id":128857,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:13:48] local.INFO: Acknowledgment sent {"connection_id":128857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:13:59] local.INFO: TCP Data received {"connection_id":129041,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:13:59] local.INFO: Processing buffer {"connection_id":129041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:13:59] local.INFO: IMEI packet received {"connection_id":129041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":129041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:14:04] local.INFO: TCP Data received {"connection_id":129041,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:14:04] local.INFO: Processing buffer {"connection_id":129041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:14:04] local.INFO: IMEI packet received {"connection_id":129041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":129041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:14:05] local.INFO: TCP Data received {"connection_id":129041,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:14:05] local.INFO: Processing buffer {"connection_id":129041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:14:05] local.INFO: Packet analysis {"connection_id":129041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:14:05] local.INFO: Extracted packet for processing {"connection_id":129041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:14:05] 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-07-11 21:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:14:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":129041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:14:05] local.INFO: GPS data processed {"connection_id":129041,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:14:05] local.INFO: Acknowledgment sent {"connection_id":129041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:14:12] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:14:12] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:14:12] local.INFO: IMEI packet received {"connection_id":131027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":131027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:14:13] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:14:13] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:14:13] local.INFO: IMEI packet received {"connection_id":131027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":131027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:14:15] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d6f9d8012cea0b80071d9588000600b82b..."} 
[2026-07-11 21:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d6f9d8012cea0b80071d9588000600b82b..."} 
[2026-07-11 21:14:15] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d6f9d8012cea0b80071d9588000600b82b..."} 
[2026-07-11 21:14:15] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d6"} 
[2026-07-11 21:14:15] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d6"} 
[2026-07-11 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":753535872,"raw_latitude":119379336,"longitude_deg":75.3535872,"latitude_deg":11.9379336,"altitude":6,"angle":184,"satellites":43,"speed":1,"hex_longitude":"2cea0b80","hex_latitude":"071d9588","is_valid_coordinates":true} 
[2026-07-11 21:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648819200001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345632128731447296,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581818969807493120,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783784471000,"timestamp_ms":1783784471000,"timestamp_seconds":1783784471,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d6f9d8"} 
[2026-07-11 21:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:14:15] 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-07-11 21:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648819200001,"66":27484,"109":206,"83":43008,"24":1,"16":345632128731447296,"44":-1581818969807493120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648819200001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:14:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345632128731447296,"km_value":345632128731447.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581818969807493120,"description":"Unknown IO ID 44"} 
[2026-07-11 21:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648819200001,"power":27484,"unknown_109":206,"unknown_83":43008,"ignition":1,"odometer":null,"unknown_44":-1581818969807493120}} 
[2026-07-11 21:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:14:15] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:14:15] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:14:20] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d74be0012cea0ac0071d8d00000600b42c..."} 
[2026-07-11 21:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d74be0012cea0ac0071d8d00000600b42c..."} 
[2026-07-11 21:14:20] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d74be0012cea0ac0071d8d00000600b42c..."} 
[2026-07-11 21:14:20] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:14:20] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:14:20] local.INFO: GPS Element Parsed {"raw_longitude":753535680,"raw_latitude":119377152,"longitude_deg":75.353568,"latitude_deg":11.9377152,"altitude":6,"angle":180,"satellites":44,"speed":0,"hex_longitude":"2cea0ac0","hex_latitude":"071d8d00","is_valid_coordinates":true} 
[2026-07-11 21:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648824576001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345632236105629696,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582030076041132032,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783784492000,"timestamp_ms":1783784492000,"timestamp_seconds":1783784492,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d74be0"} 
[2026-07-11 21:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21: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-07-11 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 21:14:20] 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-07-11 21:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648824576001,"66":27267,"109":206,"83":43008,"24":0,"16":345632236105629696,"44":-1582030076041132032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648824576001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:14:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345632236105629696,"km_value":345632236105629.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582030076041132032,"description":"Unknown IO ID 44"} 
[2026-07-11 21:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648824576001,"power":27267,"unknown_109":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1582030076041132032}} 
[2026-07-11 21:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:14:20] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:14:20] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:14:37] local.INFO: TCP Data received {"connection_id":129041,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:14:37] local.INFO: Processing buffer {"connection_id":129041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:14:37] local.INFO: Packet analysis {"connection_id":129041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:14:37] local.INFO: Extracted packet for processing {"connection_id":129041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:14:37] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:14:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":129041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:14:37] local.INFO: GPS data processed {"connection_id":129041,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:14:37] local.INFO: Acknowledgment sent {"connection_id":129041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:14:59] local.INFO: TCP Data received {"connection_id":128860,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:14:59] local.INFO: Processing buffer {"connection_id":128860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:14:59] local.INFO: IMEI packet received {"connection_id":128860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":128860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:15:03] local.INFO: TCP Data received {"connection_id":129764,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:15:03] local.INFO: Processing buffer {"connection_id":129764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:15:03] local.INFO: IMEI packet received {"connection_id":129764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":129764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:15:04] local.INFO: TCP Data received {"connection_id":128860,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:15:04] local.INFO: Processing buffer {"connection_id":128860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:15:04] local.INFO: IMEI packet received {"connection_id":128860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:15:05] local.INFO: TCP Data received {"connection_id":128860,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:15:05] local.INFO: Processing buffer {"connection_id":128860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:15:05] local.INFO: Packet analysis {"connection_id":128860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:15:05] local.INFO: Extracted packet for processing {"connection_id":128860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:15:05] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:15:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:15:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":128860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:15:05] local.INFO: GPS data processed {"connection_id":128860,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:15:05] local.INFO: Acknowledgment sent {"connection_id":128860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:15:09] local.INFO: TCP Data received {"connection_id":129764,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:15:09] local.INFO: Processing buffer {"connection_id":129764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:15:09] local.INFO: IMEI packet received {"connection_id":129764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":129764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:15:10] local.INFO: TCP Data received {"connection_id":129764,"ip":"42.106.6.30","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f51..."} 
[2026-07-11 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129764,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f51..."} 
[2026-07-11 21:15:10] local.INFO: Processing buffer {"connection_id":129764,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f51..."} 
[2026-07-11 21:15:10] local.INFO: IMEI packet received {"connection_id":129764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":129764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:15:13] local.INFO: TCP Data received {"connection_id":129764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d7eff0012cea0940071d7548000500b72d..."} 
[2026-07-11 21:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d7eff0012cea0940071d7548000500b72d..."} 
[2026-07-11 21:15:13] local.INFO: Processing buffer {"connection_id":129764,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f51d79de8012cea0a80071d81d0000500b82d..."} 
[2026-07-11 21:15:13] local.INFO: Packet analysis {"connection_id":129764,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:15:13] local.INFO: Extracted packet for processing {"connection_id":129764,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:15:13] local.INFO: GPS Element Parsed {"raw_longitude":753535616,"raw_latitude":119374288,"longitude_deg":75.3535616,"latitude_deg":11.9374288,"altitude":5,"angle":184,"satellites":45,"speed":5,"hex_longitude":"2cea0a80","hex_latitude":"071d81d0","is_valid_coordinates":true} 
[2026-07-11 21:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648829952001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345632377839550464,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582241182274224128,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783784513000,"timestamp_ms":1783784513000,"timestamp_seconds":1783784513,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d79de8"} 
[2026-07-11 21:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648829952001,"66":27267,"109":206,"83":43008,"24":5,"16":345632377839550464,"44":-1582241182274224128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648829952001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:15:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345632377839550464,"km_value":345632377839550.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582241182274224128,"description":"Unknown IO ID 44"} 
[2026-07-11 21:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648829952001,"power":27267,"unknown_109":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1582241182274224128}} 
[2026-07-11 21:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":129764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:15:13] local.INFO: GPS data processed {"connection_id":129764,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:15:13] local.INFO: Acknowledgment sent {"connection_id":129764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:15:13] local.INFO: Packet analysis {"connection_id":129764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:15:13] local.INFO: Extracted packet for processing {"connection_id":129764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:15:13] local.INFO: GPS Element Parsed {"raw_longitude":753535296,"raw_latitude":119371080,"longitude_deg":75.3535296,"latitude_deg":11.937108,"altitude":5,"angle":183,"satellites":45,"speed":5,"hex_longitude":"2cea0940","hex_latitude":"071d7548","is_valid_coordinates":true} 
[2026-07-11 21:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648835328001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345632536753340416,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582311551019134976,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783784534000,"timestamp_ms":1783784534000,"timestamp_seconds":1783784534,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d7eff0"} 
[2026-07-11 21:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648835328001,"66":27332,"109":206,"83":43008,"24":5,"16":345632536753340416,"44":-1582311551019134976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648835328001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:15:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345632536753340416,"km_value":345632536753340.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582311551019134976,"description":"Unknown IO ID 44"} 
[2026-07-11 21:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648835328001,"power":27332,"unknown_109":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1582311551019134976}} 
[2026-07-11 21:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":129764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:15:13] local.INFO: GPS data processed {"connection_id":129764,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:15:13] local.INFO: Acknowledgment sent {"connection_id":129764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:15:14] local.INFO: TCP Data received {"connection_id":129764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d841f8012cea08c0071d69f8000500b62c..."} 
[2026-07-11 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d841f8012cea08c0071d69f8000500b62c..."} 
[2026-07-11 21:15:14] local.INFO: Processing buffer {"connection_id":129764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d841f8012cea08c0071d69f8000500b62c..."} 
[2026-07-11 21:15:14] local.INFO: Packet analysis {"connection_id":129764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d8"} 
[2026-07-11 21:15:14] local.INFO: Extracted packet for processing {"connection_id":129764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d8"} 
[2026-07-11 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":753535168,"raw_latitude":119368184,"longitude_deg":75.3535168,"latitude_deg":11.9368184,"altitude":5,"angle":182,"satellites":44,"speed":0,"hex_longitude":"2cea08c0","hex_latitude":"071d69f8","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648840704001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345632678487261184,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582663394740844544,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783784555000,"timestamp_ms":1783784555000,"timestamp_seconds":1783784555,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d841f8"} 
[2026-07-11 21:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 21:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648840704001,"66":27484,"109":206,"83":43008,"24":0,"16":345632678487261184,"44":-1582663394740844544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648840704001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:15:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345632678487261184,"km_value":345632678487261.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:15:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582663394740844544,"description":"Unknown IO ID 44"} 
[2026-07-11 21:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648840704001,"power":27484,"unknown_109":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1582663394740844544}} 
[2026-07-11 21:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":129764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:15:14] local.INFO: GPS data processed {"connection_id":129764,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:15:14] local.INFO: Acknowledgment sent {"connection_id":129764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:15:37] local.INFO: TCP Data received {"connection_id":128860,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:15:37] local.INFO: Processing buffer {"connection_id":128860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:15:37] local.INFO: Packet analysis {"connection_id":128860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:15:37] local.INFO: Extracted packet for processing {"connection_id":128860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:15:37] 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-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:15:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":128860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:15:37] local.INFO: GPS data processed {"connection_id":128860,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:15:37] local.INFO: Acknowledgment sent {"connection_id":128860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:15:58] local.INFO: TCP Data received {"connection_id":131028,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:15:58] local.INFO: Processing buffer {"connection_id":131028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:15:58] local.INFO: IMEI packet received {"connection_id":131028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":131028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:15:59] local.INFO: TCP Data received {"connection_id":129764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d89400012cea0740071d5760000400b830..."} 
[2026-07-11 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d89400012cea0740071d5760000400b830..."} 
[2026-07-11 21:15:59] local.INFO: Processing buffer {"connection_id":129764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d89400012cea0740071d5760000400b830..."} 
[2026-07-11 21:15:59] local.INFO: Packet analysis {"connection_id":129764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d8"} 
[2026-07-11 21:15:59] local.INFO: Extracted packet for processing {"connection_id":129764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d8"} 
[2026-07-11 21:15:59] local.INFO: GPS Element Parsed {"raw_longitude":753534784,"raw_latitude":119363424,"longitude_deg":75.3534784,"latitude_deg":11.9363424,"altitude":4,"angle":184,"satellites":48,"speed":14,"hex_longitude":"2cea0740","hex_latitude":"071d5760","is_valid_coordinates":true} 
[2026-07-11 21:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648846080001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345632914710462464,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582804132229941248,"note":"Value kept but may cause issues"} 
[2026-07-11 21:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783784576000,"timestamp_ms":1783784576000,"timestamp_seconds":1783784576,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d89400"} 
[2026-07-11 21:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 21:15:59] 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-07-11 21:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":129764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":129764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":129764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648846080001,"66":27484,"109":206,"83":43008,"24":14,"16":345632914710462464,"44":-1582804132229941248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648846080001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:15:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345632914710462464,"km_value":345632914710462.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:15:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582804132229941248,"description":"Unknown IO ID 44"} 
[2026-07-11 21:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648846080001,"power":27484,"unknown_109":206,"unknown_83":43008,"ignition":14,"odometer":null,"unknown_44":-1582804132229941248}} 
[2026-07-11 21:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":129764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:15:59] local.INFO: GPS data processed {"connection_id":129764,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:15:59] local.INFO: Acknowledgment sent {"connection_id":129764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:16:03] local.INFO: TCP Data received {"connection_id":129043,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:16:03] local.INFO: Processing buffer {"connection_id":129043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:16:03] local.INFO: IMEI packet received {"connection_id":129043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":129043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:16:04] local.INFO: TCP Data received {"connection_id":131028,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:16:04] local.INFO: Processing buffer {"connection_id":131028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:16:04] local.INFO: IMEI packet received {"connection_id":131028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":131028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:16:05] local.INFO: TCP Data received {"connection_id":131028,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:16:05] local.INFO: Processing buffer {"connection_id":131028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:16:05] local.INFO: Packet analysis {"connection_id":131028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:16:05] local.INFO: Extracted packet for processing {"connection_id":131028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:16:05] 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-07-11 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:16:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":131028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:16:05] local.INFO: GPS data processed {"connection_id":131028,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:16:05] local.INFO: Acknowledgment sent {"connection_id":131028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:16:08] local.INFO: TCP Data received {"connection_id":129043,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:16:08] local.INFO: Processing buffer {"connection_id":129043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:16:08] local.INFO: IMEI packet received {"connection_id":129043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":129043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:16:09] local.INFO: TCP Data received {"connection_id":129043,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d8e608012cea0680071d4d30000400b62e..."} 
[2026-07-11 21:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d8e608012cea0680071d4d30000400b62e..."} 
[2026-07-11 21:16:09] local.INFO: Processing buffer {"connection_id":129043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d8e608012cea0680071d4d30000400b62e..."} 
[2026-07-11 21:16:09] local.INFO: Packet analysis {"connection_id":129043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d8"} 
[2026-07-11 21:16:09] local.INFO: Extracted packet for processing {"connection_id":129043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d8"} 
[2026-07-11 21:16:09] local.INFO: GPS Element Parsed {"raw_longitude":753534592,"raw_latitude":119360816,"longitude_deg":75.3534592,"latitude_deg":11.9360816,"altitude":4,"angle":182,"satellites":46,"speed":5,"hex_longitude":"2cea0680","hex_latitude":"071d4d30","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648851456001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345633039264514048,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583226344696225792,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784597000,"timestamp_ms":1783784597000,"timestamp_seconds":1783784597,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d8e608"} 
[2026-07-11 21:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 21:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648851456001,"66":27234,"109":206,"83":43008,"24":5,"16":345633039264514048,"44":-1583226344696225792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648851456001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:16:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:16:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345633039264514048,"km_value":345633039264514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583226344696225792,"description":"Unknown IO ID 44"} 
[2026-07-11 21:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648851456001,"power":27234,"unknown_109":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1583226344696225792}} 
[2026-07-11 21:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":129043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:16:09] local.INFO: GPS data processed {"connection_id":129043,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:16:09] local.INFO: Acknowledgment sent {"connection_id":129043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:16:15] local.INFO: TCP Data received {"connection_id":129042,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:16:15] local.INFO: Processing buffer {"connection_id":129042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:16:15] local.INFO: IMEI packet received {"connection_id":129042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":129042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:16:37] local.INFO: TCP Data received {"connection_id":131028,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:16:37] local.INFO: Processing buffer {"connection_id":131028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d70978012d196680071fef80003b011a26..."} 
[2026-07-11 21:16:37] local.INFO: Packet analysis {"connection_id":131028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:16:37] local.INFO: Extracted packet for processing {"connection_id":131028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d7"} 
[2026-07-11 21:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648748544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784475000,"timestamp_ms":1783784475000,"timestamp_seconds":1783784475,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d70978"} 
[2026-07-11 21:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:16:37] 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-07-11 21:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":131028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":131028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":131028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648748544001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648748544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:16:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648748544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":131028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:16:37] local.INFO: GPS data processed {"connection_id":131028,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:16:37] local.INFO: Acknowledgment sent {"connection_id":131028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:16:41] local.INFO: TCP Data received {"connection_id":129043,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d93810012cea0580071d4208000400b92b..."} 
[2026-07-11 21:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d93810012cea0580071d4208000400b92b..."} 
[2026-07-11 21:16:41] local.INFO: Processing buffer {"connection_id":129043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d93810012cea0580071d4208000400b92b..."} 
[2026-07-11 21:16:41] local.INFO: Packet analysis {"connection_id":129043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d9"} 
[2026-07-11 21:16:41] local.INFO: Extracted packet for processing {"connection_id":129043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d9"} 
[2026-07-11 21:16:41] local.INFO: GPS Element Parsed {"raw_longitude":753534336,"raw_latitude":119357960,"longitude_deg":75.3534336,"latitude_deg":11.935796,"altitude":4,"angle":185,"satellites":43,"speed":0,"hex_longitude":"2cea0580","hex_latitude":"071d4208","is_valid_coordinates":true} 
[2026-07-11 21:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648856832001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345633185293402112,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583437450929426432,"note":"Value kept but may cause issues"} 
[2026-07-11 21:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783784618000,"timestamp_ms":1783784618000,"timestamp_seconds":1783784618,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d93810"} 
[2026-07-11 21:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648856832001,"66":27267,"109":206,"83":43008,"24":0,"16":345633185293402112,"44":-1583437450929426432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648856832001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:16:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345633185293402112,"km_value":345633185293402.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583437450929426432,"description":"Unknown IO ID 44"} 
[2026-07-11 21:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648856832001,"power":27267,"unknown_109":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1583437450929426432}} 
[2026-07-11 21:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":129043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:16:41] local.INFO: GPS data processed {"connection_id":129043,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:16:41] local.INFO: Acknowledgment sent {"connection_id":129043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:16:44] local.INFO: TCP Data received {"connection_id":129044,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:16:44] local.INFO: Processing buffer {"connection_id":129044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:16:44] local.INFO: IMEI packet received {"connection_id":129044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":129044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:16:58] local.INFO: TCP Data received {"connection_id":129045,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:16:58] local.INFO: Processing buffer {"connection_id":129045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:16:58] local.INFO: IMEI packet received {"connection_id":129045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":129045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:17:03] local.INFO: TCP Data received {"connection_id":129765,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:17:03] local.INFO: Processing buffer {"connection_id":129765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:17:03] local.INFO: IMEI packet received {"connection_id":129765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":129765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:17:04] local.INFO: TCP Data received {"connection_id":129045,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:17:04] local.INFO: Processing buffer {"connection_id":129045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:17:04] local.INFO: IMEI packet received {"connection_id":129045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":129045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:17:06] local.INFO: TCP Data received {"connection_id":129045,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:17:06] local.INFO: Processing buffer {"connection_id":129045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:17:06] local.INFO: Packet analysis {"connection_id":129045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:17:06] local.INFO: Extracted packet for processing {"connection_id":129045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 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-07-11 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:17:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":129045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:17:06] local.INFO: GPS data processed {"connection_id":129045,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:17:06] local.INFO: Acknowledgment sent {"connection_id":129045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:17:08] local.INFO: TCP Data received {"connection_id":129765,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:17:08] local.INFO: Processing buffer {"connection_id":129765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:17:08] local.INFO: IMEI packet received {"connection_id":129765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":129765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:17:09] local.INFO: TCP Data received {"connection_id":129765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51d98a18012cea0540071d3cd8000500b42b..."} 
[2026-07-11 21:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51d98a18012cea0540071d3cd8000500b42b..."} 
[2026-07-11 21:17:09] local.INFO: Processing buffer {"connection_id":129765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51d98a18012cea0540071d3cd8000500b42b..."} 
[2026-07-11 21:17:09] local.INFO: Packet analysis {"connection_id":129765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51d9"} 
[2026-07-11 21:17:09] local.INFO: Extracted packet for processing {"connection_id":129765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51d9"} 
[2026-07-11 21:17:09] local.INFO: GPS Element Parsed {"raw_longitude":753534272,"raw_latitude":119356632,"longitude_deg":75.3534272,"latitude_deg":11.9356632,"altitude":5,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2cea0540","hex_latitude":"071d3cd8","is_valid_coordinates":true} 
[2026-07-11 21:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648862208001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345633249717911552,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583718925906868224,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784639000,"timestamp_ms":1783784639000,"timestamp_seconds":1783784639,"priority":1,"record_length":96,"hex_timestamp":"0000019f51d98a18"} 
[2026-07-11 21:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648862208001,"66":27321,"109":206,"83":43008,"24":0,"16":345633249717911552,"44":-1583718925906868224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-11 21:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648862208001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:17:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-11 21:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-11 21:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345633249717911552,"km_value":345633249717911.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:17:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583718925906868224,"description":"Unknown IO ID 44"} 
[2026-07-11 21:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648862208001,"power":27321,"unknown_109":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1583718925906868224}} 
[2026-07-11 21:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":129765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:17:09] local.INFO: GPS data processed {"connection_id":129765,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:17:09] local.INFO: Acknowledgment sent {"connection_id":129765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:17:37] local.INFO: TCP Data received {"connection_id":129045,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:17:37] local.INFO: Processing buffer {"connection_id":129045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:17:37] local.INFO: Packet analysis {"connection_id":129045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:17:37] local.INFO: Extracted packet for processing {"connection_id":129045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 21:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:17:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":129045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:17:38] local.INFO: GPS data processed {"connection_id":129045,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:17:38] local.INFO: Acknowledgment sent {"connection_id":129045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:17:42] local.INFO: TCP Data received {"connection_id":129765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba528012ce9fc80071cc500000d00b92f..."} 
[2026-07-11 21:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba528012ce9fc80071cc500000d00b92f..."} 
[2026-07-11 21:17:42] local.INFO: Processing buffer {"connection_id":129765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba528012ce9fc80071cc500000d00b92f..."} 
[2026-07-11 21:17:42] local.INFO: Packet analysis {"connection_id":129765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:17:42] local.INFO: Extracted packet for processing {"connection_id":129765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:17:42] local.INFO: GPS Element Parsed {"raw_longitude":753532032,"raw_latitude":119325952,"longitude_deg":75.3532032,"latitude_deg":11.9325952,"altitude":13,"angle":185,"satellites":47,"speed":11,"hex_longitude":"2ce9fc80","hex_latitude":"071cc500","is_valid_coordinates":true} 
[2026-07-11 21:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648897536001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345634752956465152,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585689250750287872,"note":"Value kept but may cause issues"} 
[2026-07-11 21:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783784777000,"timestamp_ms":1783784777000,"timestamp_seconds":1783784777,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba528"} 
[2026-07-11 21:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648897536001,"66":27365,"179":206,"83":41216,"24":11,"16":345634752956465152,"44":-1585689250750287872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,44]} 
[2026-07-11 21:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648897536001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:17:42] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-11 21:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345634752956465152,"km_value":345634752956465.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585689250750287872,"description":"Unknown IO ID 44"} 
[2026-07-11 21:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648897536001,"power":27365,"unknown_179":206,"unknown_83":41216,"ignition":11,"odometer":null,"unknown_44":-1585689250750287872}} 
[2026-07-11 21:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":129765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:17:42] local.INFO: GPS data processed {"connection_id":129765,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:17:42] local.INFO: Acknowledgment sent {"connection_id":129765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:17:59] local.INFO: TCP Data received {"connection_id":129047,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:17:59] local.INFO: Processing buffer {"connection_id":129047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:17:59] local.INFO: IMEI packet received {"connection_id":129047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":129047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:18:04] local.INFO: TCP Data received {"connection_id":129047,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:18:04] local.INFO: Processing buffer {"connection_id":129047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:18:04] local.INFO: IMEI packet received {"connection_id":129047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":129047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:18:05] local.INFO: TCP Data received {"connection_id":129047,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:18:05] local.INFO: Processing buffer {"connection_id":129047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:18:05] local.INFO: Packet analysis {"connection_id":129047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:18:05] local.INFO: Extracted packet for processing {"connection_id":129047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 21:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:18:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":129047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:18:05] local.INFO: GPS data processed {"connection_id":129047,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:18:05] local.INFO: Acknowledgment sent {"connection_id":129047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:18:08] local.INFO: TCP Data received {"connection_id":129048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:18:08] local.INFO: Processing buffer {"connection_id":129048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:18:08] local.INFO: IMEI packet received {"connection_id":129048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":129048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:18:14] local.INFO: TCP Data received {"connection_id":129048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:18:15] local.INFO: Processing buffer {"connection_id":129048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:18:15] local.INFO: IMEI packet received {"connection_id":129048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":129048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:18:15] local.INFO: TCP Data received {"connection_id":129048,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dbf730012ce9fb40071cb298000c00b92f..."} 
[2026-07-11 21:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dbf730012ce9fb40071cb298000c00b92f..."} 
[2026-07-11 21:18:15] local.INFO: Processing buffer {"connection_id":129048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dbf730012ce9fb40071cb298000c00b92f..."} 
[2026-07-11 21:18:15] local.INFO: Packet analysis {"connection_id":129048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:18:15] local.INFO: Extracted packet for processing {"connection_id":129048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:18:15] local.INFO: GPS Element Parsed {"raw_longitude":753531712,"raw_latitude":119321240,"longitude_deg":75.3531712,"latitude_deg":11.932124,"altitude":12,"angle":185,"satellites":47,"speed":9,"hex_longitude":"2ce9fb40","hex_latitude":"071cb298","is_valid_coordinates":true} 
[2026-07-11 21:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902912001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345634984884699136,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586252200705458176,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783784798000,"timestamp_ms":1783784798000,"timestamp_seconds":1783784798,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dbf730"} 
[2026-07-11 21:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 21:18:15] 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-07-11 21:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902912001,"66":27376,"209":206,"83":41216,"24":9,"16":345634984884699136,"44":-1586252200705458176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-11 21:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902912001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:18:15] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-11 21:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345634984884699136,"km_value":345634984884699.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:18:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586252200705458176,"description":"Unknown IO ID 44"} 
[2026-07-11 21:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902912001,"power":27376,"unknown_209":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1586252200705458176}} 
[2026-07-11 21:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":129048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:18:15] local.INFO: GPS data processed {"connection_id":129048,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:18:15] local.INFO: Acknowledgment sent {"connection_id":129048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:18:37] local.INFO: TCP Data received {"connection_id":129047,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:18:37] local.INFO: Processing buffer {"connection_id":129047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:18:37] local.INFO: Packet analysis {"connection_id":129047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:18:37] local.INFO: Extracted packet for processing {"connection_id":129047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 21:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:18:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":129047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:18:37] local.INFO: GPS data processed {"connection_id":129047,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:18:37] local.INFO: Acknowledgment sent {"connection_id":129047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:18:48] local.INFO: TCP Data received {"connection_id":129048,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dc4938012ce9f980071c9c08000a00b830..."} 
[2026-07-11 21:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dc4938012ce9f980071c9c08000a00b830..."} 
[2026-07-11 21:18:48] local.INFO: Processing buffer {"connection_id":129048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dc4938012ce9f980071c9c08000a00b830..."} 
[2026-07-11 21:18:48] local.INFO: Packet analysis {"connection_id":129048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51dc"} 
[2026-07-11 21:18:48] local.INFO: Extracted packet for processing {"connection_id":129048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51dc"} 
[2026-07-11 21:18:48] local.INFO: GPS Element Parsed {"raw_longitude":753531264,"raw_latitude":119315464,"longitude_deg":75.3531264,"latitude_deg":11.9315464,"altitude":10,"angle":184,"satellites":48,"speed":14,"hex_longitude":"2ce9f980","hex_latitude":"071c9c08","is_valid_coordinates":true} 
[2026-07-11 21:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648908288001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345635268352540672,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586604044427552768,"note":"Value kept but may cause issues"} 
[2026-07-11 21:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783784819000,"timestamp_ms":1783784819000,"timestamp_seconds":1783784819,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dc4938"} 
[2026-07-11 21:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:18:48] 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-07-11 21:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":129048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":129048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":129048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648908288001,"66":27397,"209":206,"83":41216,"24":14,"16":345635268352540672,"44":-1586604044427552768},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-11 21:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648908288001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:18:48] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-11 21:18:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345635268352540672,"km_value":345635268352540.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:18:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586604044427552768,"description":"Unknown IO ID 44"} 
[2026-07-11 21:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648908288001,"power":27397,"unknown_209":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1586604044427552768}} 
[2026-07-11 21:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":129048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:18:48] local.INFO: GPS data processed {"connection_id":129048,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:18:48] local.INFO: Acknowledgment sent {"connection_id":129048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:18:59] local.INFO: TCP Data received {"connection_id":129766,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:18:59] local.INFO: Processing buffer {"connection_id":129766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:18:59] local.INFO: IMEI packet received {"connection_id":129766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":129766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:19:04] local.INFO: TCP Data received {"connection_id":129766,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:19:04] local.INFO: Processing buffer {"connection_id":129766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:19:04] local.INFO: IMEI packet received {"connection_id":129766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":129766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:19:05] local.INFO: TCP Data received {"connection_id":129767,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:19:05] local.INFO: Processing buffer {"connection_id":129767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:19:05] local.INFO: IMEI packet received {"connection_id":129767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":129767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:19:06] local.INFO: TCP Data received {"connection_id":129766,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:19:06] local.INFO: Processing buffer {"connection_id":129766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:19:06] local.INFO: Packet analysis {"connection_id":129766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:19:06] local.INFO: Extracted packet for processing {"connection_id":129766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 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-07-11 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":129766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:19:06] local.INFO: GPS data processed {"connection_id":129766,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:19:06] local.INFO: Acknowledgment sent {"connection_id":129766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:19:08] local.INFO: TCP Data received {"connection_id":129767,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:19:08] local.INFO: Processing buffer {"connection_id":129767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:19:08] local.INFO: IMEI packet received {"connection_id":129767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":129767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:19:13] local.INFO: TCP Data received {"connection_id":129767,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:19:13] local.INFO: Processing buffer {"connection_id":129767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:19:13] local.INFO: IMEI packet received {"connection_id":129767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":129767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:19:14] local.INFO: TCP Data received {"connection_id":129767,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dc9b40012ce9f780071c7dd0000700b730..."} 
[2026-07-11 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dc9b40012ce9f780071c7dd0000700b730..."} 
[2026-07-11 21:19:14] local.INFO: Processing buffer {"connection_id":129767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dc9b40012ce9f780071c7dd0000700b730..."} 
[2026-07-11 21:19:14] local.INFO: Packet analysis {"connection_id":129767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51dc"} 
[2026-07-11 21:19:14] local.INFO: Extracted packet for processing {"connection_id":129767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51dc"} 
[2026-07-11 21:19:14] local.INFO: GPS Element Parsed {"raw_longitude":753530752,"raw_latitude":119307728,"longitude_deg":75.3530752,"latitude_deg":11.9307728,"altitude":7,"angle":183,"satellites":48,"speed":16,"hex_longitude":"2ce9f780","hex_latitude":"071c7dd0","is_valid_coordinates":true} 
[2026-07-11 21:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648913664001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345635646309662720,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587096625638275072,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783784840000,"timestamp_ms":1783784840000,"timestamp_seconds":1783784840,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dc9b40"} 
[2026-07-11 21:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:19:14] 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-07-11 21:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648913664001,"66":27463,"209":206,"83":41216,"24":16,"16":345635646309662720,"44":-1587096625638275072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-11 21:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648913664001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:19:14] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-11 21:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345635646309662720,"km_value":345635646309662.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:19:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587096625638275072,"description":"Unknown IO ID 44"} 
[2026-07-11 21:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648913664001,"power":27463,"unknown_209":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1587096625638275072}} 
[2026-07-11 21:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":129767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:19:14] local.INFO: GPS data processed {"connection_id":129767,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:19:14] local.INFO: Acknowledgment sent {"connection_id":129767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:19:17] local.INFO: TCP Data received {"connection_id":129767,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dce578012ce9f500071c59d0000800b82e..."} 
[2026-07-11 21:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dce578012ce9f500071c59d0000800b82e..."} 
[2026-07-11 21:19:17] local.INFO: Processing buffer {"connection_id":129767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dce578012ce9f500071c59d0000800b82e..."} 
[2026-07-11 21:19:17] local.INFO: Packet analysis {"connection_id":129767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51dc"} 
[2026-07-11 21:19:17] local.INFO: Extracted packet for processing {"connection_id":129767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51dc"} 
[2026-07-11 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":753530112,"raw_latitude":119298512,"longitude_deg":75.3530112,"latitude_deg":11.9298512,"altitude":8,"angle":184,"satellites":46,"speed":22,"hex_longitude":"2ce9f500","hex_latitude":"071c59d0","is_valid_coordinates":true} 
[2026-07-11 21:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648919040001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345636092986261504,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587659575593676800,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783784859000,"timestamp_ms":1783784859000,"timestamp_seconds":1783784859,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dce578"} 
[2026-07-11 21:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 21:19:17] 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-07-11 21:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648919040001,"66":27343,"209":206,"83":41216,"24":22,"16":345636092986261504,"44":-1587659575593676800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-11 21:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648919040001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:19:17] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-11 21:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345636092986261504,"km_value":345636092986261.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587659575593676800,"description":"Unknown IO ID 44"} 
[2026-07-11 21:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648919040001,"power":27343,"unknown_209":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1587659575593676800}} 
[2026-07-11 21:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":129767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:19:17] local.INFO: GPS data processed {"connection_id":129767,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:19:17] local.INFO: Acknowledgment sent {"connection_id":129767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:19:38] local.INFO: TCP Data received {"connection_id":129766,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:19:38] local.INFO: Processing buffer {"connection_id":129766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:19:38] local.INFO: Packet analysis {"connection_id":129766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:19:38] local.INFO: Extracted packet for processing {"connection_id":129766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 21:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21: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-07-11 21:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:19:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":129766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:19:38] local.INFO: GPS data processed {"connection_id":129766,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:19:38] local.INFO: Acknowledgment sent {"connection_id":129766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:19:58] local.INFO: TCP Data received {"connection_id":131030,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:19:58] local.INFO: Processing buffer {"connection_id":131030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:19:58] local.INFO: IMEI packet received {"connection_id":131030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":131030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:20:03] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:20:03] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:20:03] local.INFO: IMEI packet received {"connection_id":128862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":128862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:20:04] local.INFO: TCP Data received {"connection_id":131030,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:20:04] local.INFO: Processing buffer {"connection_id":131030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:20:04] local.INFO: IMEI packet received {"connection_id":131030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":131030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:20:06] local.INFO: TCP Data received {"connection_id":131030,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:20:06] local.INFO: Processing buffer {"connection_id":131030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:20:06] local.INFO: Packet analysis {"connection_id":131030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:20:06] local.INFO: Extracted packet for processing {"connection_id":131030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 21:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":131030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":131030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":131030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:20:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":131030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:20:06] local.INFO: GPS data processed {"connection_id":131030,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:20:06] local.INFO: Acknowledgment sent {"connection_id":131030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:20:06] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:20:06] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:20:06] local.INFO: IMEI packet received {"connection_id":128862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":128862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:20:08] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:20:08] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:20:08] local.INFO: IMEI packet received {"connection_id":128862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":128862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:20:09] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dd27e0012ce9f380071c3710000900b027..."} 
[2026-07-11 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dd27e0012ce9f380071c3710000900b027..."} 
[2026-07-11 21:20:09] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dd27e0012ce9f380071c3710000900b027..."} 
[2026-07-11 21:20:09] local.INFO: Packet analysis {"connection_id":128862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51dd"} 
[2026-07-11 21:20:09] local.INFO: Extracted packet for processing {"connection_id":128862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51dd"} 
[2026-07-11 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":753529728,"raw_latitude":119289616,"longitude_deg":75.3529728,"latitude_deg":11.9289616,"altitude":9,"angle":176,"satellites":39,"speed":23,"hex_longitude":"2ce9f380","hex_latitude":"071c3710","is_valid_coordinates":true} 
[2026-07-11 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648923904001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345636526777958400,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588363263037812736,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784876000,"timestamp_ms":1783784876000,"timestamp_seconds":1783784876,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dd27e0"} 
[2026-07-11 21:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648923904001,"66":27310,"209":206,"83":41216,"24":23,"16":345636526777958400,"44":-1588363263037812736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-11 21:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648923904001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:20:09] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-11 21:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345636526777958400,"km_value":345636526777958.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588363263037812736,"description":"Unknown IO ID 44"} 
[2026-07-11 21:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648923904001,"power":27310,"unknown_209":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1588363263037812736}} 
[2026-07-11 21:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":128862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:20:09] local.INFO: GPS data processed {"connection_id":128862,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:20:09] local.INFO: Acknowledgment sent {"connection_id":128862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:20:13] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dd6278012ce9f880071c14a8000e00a729..."} 
[2026-07-11 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dd6278012ce9f880071c14a8000e00a729..."} 
[2026-07-11 21:20:13] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dd6278012ce9f880071c14a8000e00a729..."} 
[2026-07-11 21:20:13] local.INFO: Packet analysis {"connection_id":128862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51dd"} 
[2026-07-11 21:20:13] local.INFO: Extracted packet for processing {"connection_id":128862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51dd"} 
[2026-07-11 21:20:13] local.INFO: GPS Element Parsed {"raw_longitude":753531008,"raw_latitude":119280808,"longitude_deg":75.3531008,"latitude_deg":11.9280808,"altitude":14,"angle":167,"satellites":41,"speed":23,"hex_longitude":"2ce9f880","hex_latitude":"071c14a8","is_valid_coordinates":true} 
[2026-07-11 21:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648928256001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345636960569655296,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588785475505156096,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783784891000,"timestamp_ms":1783784891000,"timestamp_seconds":1783784891,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dd6278"} 
[2026-07-11 21:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 21:20:13] 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-07-11 21:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648928256001,"66":26560,"209":206,"83":41216,"24":23,"16":345636960569655296,"44":-1588785475505156096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-11 21:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648928256001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:20:13] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-11 21:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345636960569655296,"km_value":345636960569655.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588785475505156096,"description":"Unknown IO ID 44"} 
[2026-07-11 21:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648928256001,"power":26560,"unknown_209":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1588785475505156096}} 
[2026-07-11 21:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":128862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:20:13] local.INFO: GPS data processed {"connection_id":128862,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:20:13] local.INFO: Acknowledgment sent {"connection_id":128862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:20:37] local.INFO: TCP Data received {"connection_id":131030,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:20:37] local.INFO: Processing buffer {"connection_id":131030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:20:37] local.INFO: Packet analysis {"connection_id":131030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:20:37] local.INFO: Extracted packet for processing {"connection_id":131030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 21:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":131030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":131030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":131030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:20:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":131030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:20:37] local.INFO: GPS data processed {"connection_id":131030,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:20:37] local.INFO: Acknowledgment sent {"connection_id":131030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:20:44] local.INFO: TCP Data received {"connection_id":128862,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dd9d10012cea0340071bf300001100a32c..."} 
[2026-07-11 21:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dd9d10012cea0340071bf300001100a32c..."} 
[2026-07-11 21:20:44] local.INFO: Processing buffer {"connection_id":128862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dd9d10012cea0340071bf300001100a32c..."} 
[2026-07-11 21:20:44] local.INFO: Packet analysis {"connection_id":128862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51dd"} 
[2026-07-11 21:20:44] local.INFO: Extracted packet for processing {"connection_id":128862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51dd"} 
[2026-07-11 21:20:44] local.INFO: GPS Element Parsed {"raw_longitude":753533760,"raw_latitude":119272192,"longitude_deg":75.353376,"latitude_deg":11.9272192,"altitude":17,"angle":163,"satellites":44,"speed":23,"hex_longitude":"2cea0340","hex_latitude":"071bf300","is_valid_coordinates":true} 
[2026-07-11 21:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648932096001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345637398656319488,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587378100623857664,"note":"Value kept but may cause issues"} 
[2026-07-11 21:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783784906000,"timestamp_ms":1783784906000,"timestamp_seconds":1783784906,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dd9d10"} 
[2026-07-11 21:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-11 21:20:44] 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-07-11 21:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648932096001,"66":27039,"209":206,"83":41216,"24":23,"16":345637398656319488,"44":-1587378100623857664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-11 21:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648932096001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:20:44] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-11 21:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345637398656319488,"km_value":345637398656319.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587378100623857664,"description":"Unknown IO ID 44"} 
[2026-07-11 21:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648932096001,"power":27039,"unknown_209":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1587378100623857664}} 
[2026-07-11 21:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":128862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:20:44] local.INFO: GPS data processed {"connection_id":128862,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:20:44] local.INFO: Acknowledgment sent {"connection_id":128862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:20:59] local.INFO: TCP Data received {"connection_id":131031,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:20:59] local.INFO: Processing buffer {"connection_id":131031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:20:59] local.INFO: IMEI packet received {"connection_id":131031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":131031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:21:03] local.INFO: TCP Data received {"connection_id":131032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:21:03] local.INFO: Processing buffer {"connection_id":131032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:21:03] local.INFO: IMEI packet received {"connection_id":131032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":131032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:21:04] local.INFO: TCP Data received {"connection_id":131031,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:21:04] local.INFO: Processing buffer {"connection_id":131031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:21:04] local.INFO: IMEI packet received {"connection_id":131031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":131031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:21:08] local.INFO: TCP Data received {"connection_id":131032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:21:08] local.INFO: Processing buffer {"connection_id":131032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:21:08] local.INFO: IMEI packet received {"connection_id":131032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":131032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:21:09] local.INFO: TCP Data received {"connection_id":131031,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:21:09] local.INFO: Processing buffer {"connection_id":131031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:21:09] local.INFO: Packet analysis {"connection_id":131031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:21:09] local.INFO: Extracted packet for processing {"connection_id":131031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 21:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:21:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":131031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:21:09] local.INFO: GPS data processed {"connection_id":131031,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:21:09] local.INFO: Acknowledgment sent {"connection_id":131031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:21:09] local.INFO: TCP Data received {"connection_id":131032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ddcfd8012cea1040071bd090001300a32f..."} 
[2026-07-11 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ddcfd8012cea1040071bd090001300a32f..."} 
[2026-07-11 21:21:09] local.INFO: Processing buffer {"connection_id":131032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ddcfd8012cea1040071bd090001300a32f..."} 
[2026-07-11 21:21:09] local.INFO: Packet analysis {"connection_id":131032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51dd"} 
[2026-07-11 21:21:09] local.INFO: Extracted packet for processing {"connection_id":131032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51dd"} 
[2026-07-11 21:21:09] local.INFO: GPS Element Parsed {"raw_longitude":753537088,"raw_latitude":119263376,"longitude_deg":75.3537088,"latitude_deg":11.9263376,"altitude":19,"angle":163,"satellites":47,"speed":31,"hex_longitude":"2cea1040","hex_latitude":"071bd090","is_valid_coordinates":true} 
[2026-07-11 21:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648935936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345637853922852864,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584352244626423808,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783784919000,"timestamp_ms":1783784919000,"timestamp_seconds":1783784919,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ddcfd8"} 
[2026-07-11 21:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-07-11 21:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648935936001,"66":27343,"103":206,"83":41216,"24":31,"16":345637853922852864,"44":-1584352244626423808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-07-11 21:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648935936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:21:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 21:21:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345637853922852864,"km_value":345637853922852.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584352244626423808,"description":"Unknown IO ID 44"} 
[2026-07-11 21:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648935936001,"power":27343,"unknown_103":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1584352244626423808}} 
[2026-07-11 21:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":131032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:21:09] local.INFO: GPS data processed {"connection_id":131032,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:21:09] local.INFO: Acknowledgment sent {"connection_id":131032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:21:40] local.INFO: TCP Data received {"connection_id":131032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dfa880012cea8a40071a7cb8002000892f..."} 
[2026-07-11 21:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dfa880012cea8a40071a7cb8002000892f..."} 
[2026-07-11 21:21:40] local.INFO: Processing buffer {"connection_id":131032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dfa880012cea8a40071a7cb8002000892f..."} 
[2026-07-11 21:21:40] local.INFO: Packet analysis {"connection_id":131032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51df"} 
[2026-07-11 21:21:40] local.INFO: Extracted packet for processing {"connection_id":131032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51df"} 
[2026-07-11 21:21:40] local.INFO: GPS Element Parsed {"raw_longitude":753568320,"raw_latitude":119176376,"longitude_deg":75.356832,"latitude_deg":11.9176376,"altitude":32,"angle":137,"satellites":47,"speed":23,"hex_longitude":"2cea8a40","hex_latitude":"071a7cb8","is_valid_coordinates":true} 
[2026-07-11 21:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648965376001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345642355048579072,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1552334466048264192,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783785040000,"timestamp_ms":1783785040000,"timestamp_seconds":1783785040,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dfa880"} 
[2026-07-11 21:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 21:21: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-07-11 21:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648965376001,"66":27310,"103":206,"83":41216,"24":23,"16":345642355048579072,"44":-1552334466048264192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-07-11 21:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648965376001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:21:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-11 21:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345642355048579072,"km_value":345642355048579.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1552334466048264192,"description":"Unknown IO ID 44"} 
[2026-07-11 21:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648965376001,"power":27310,"unknown_103":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1552334466048264192}} 
[2026-07-11 21:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":131032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:21:40] local.INFO: GPS data processed {"connection_id":131032,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:21:40] local.INFO: Acknowledgment sent {"connection_id":131032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:21:40] local.INFO: TCP Data received {"connection_id":131031,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:21:40] local.INFO: Processing buffer {"connection_id":131031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dba140012d196680071fef80003b011a1f..."} 
[2026-07-11 21:21:40] local.INFO: Packet analysis {"connection_id":131031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:21:40] local.INFO: Extracted packet for processing {"connection_id":131031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51db"} 
[2026-07-11 21:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648825600001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783784776000,"timestamp_ms":1783784776000,"timestamp_seconds":1783784776,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dba140"} 
[2026-07-11 21:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648825600001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648825600001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:21:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:21:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648825600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":131031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:21:41] local.INFO: GPS data processed {"connection_id":131031,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:21:41] local.INFO: Acknowledgment sent {"connection_id":131031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:22:03] local.INFO: TCP Data received {"connection_id":128864,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:22:03] local.INFO: Processing buffer {"connection_id":128864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:22:03] local.INFO: IMEI packet received {"connection_id":128864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":128864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:22:04] local.INFO: TCP Data received {"connection_id":128863,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:22:04] local.INFO: Processing buffer {"connection_id":128863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:22:04] local.INFO: IMEI packet received {"connection_id":128863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":128863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:22:05] local.INFO: TCP Data received {"connection_id":129769,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:22:05] local.INFO: Processing buffer {"connection_id":129769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:22:05] local.INFO: IMEI packet received {"connection_id":129769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":129769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:22:08] local.INFO: TCP Data received {"connection_id":128864,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:22:08] local.INFO: Processing buffer {"connection_id":128864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:22:08] local.INFO: IMEI packet received {"connection_id":128864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":128864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:22:09] local.INFO: TCP Data received {"connection_id":128863,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:22:09] local.INFO: Processing buffer {"connection_id":128863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:22:09] local.INFO: IMEI packet received {"connection_id":128863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":128863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:22:09] local.INFO: TCP Data received {"connection_id":128864,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dfcba8012cea9b40071a6da00021007c2d..."} 
[2026-07-11 21:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dfcba8012cea9b40071a6da00021007c2d..."} 
[2026-07-11 21:22:09] local.INFO: Processing buffer {"connection_id":128864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dfcba8012cea9b40071a6da00021007c2d..."} 
[2026-07-11 21:22:09] local.INFO: Packet analysis {"connection_id":128864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51df"} 
[2026-07-11 21:22:09] local.INFO: Extracted packet for processing {"connection_id":128864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51df"} 
[2026-07-11 21:22:09] local.INFO: GPS Element Parsed {"raw_longitude":753572672,"raw_latitude":119172512,"longitude_deg":75.3572672,"latitude_deg":11.9172512,"altitude":33,"angle":124,"satellites":45,"speed":26,"hex_longitude":"2cea9b40","hex_latitude":"071a6da0","is_valid_coordinates":true} 
[2026-07-11 21:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648970240001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345642634221453312,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546353122795014144,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785049000,"timestamp_ms":1783785049000,"timestamp_seconds":1783785049,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dfcba8"} 
[2026-07-11 21:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 21:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648970240001,"66":27321,"104":206,"83":41216,"24":26,"16":345642634221453312,"44":-1546353122795014144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-07-11 21:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648970240001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:22:09] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-11 21:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345642634221453312,"km_value":345642634221453.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:22:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546353122795014144,"description":"Unknown IO ID 44"} 
[2026-07-11 21:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648970240001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1546353122795014144}} 
[2026-07-11 21:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":128864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:22:09] local.INFO: GPS data processed {"connection_id":128864,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:22:09] local.INFO: Acknowledgment sent {"connection_id":128864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:22:10] local.INFO: TCP Data received {"connection_id":128863,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:22:10] local.INFO: Processing buffer {"connection_id":128863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:22:10] local.INFO: Packet analysis {"connection_id":128863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:22:10] local.INFO: Extracted packet for processing {"connection_id":128863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783785077000,"timestamp_ms":1783785077000,"timestamp_seconds":1783785077,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e03908"} 
[2026-07-11 21:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:22:10] 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-07-11 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:22:10] 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-07-11 21:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902656001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:22:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":128863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:22:11] local.INFO: GPS data processed {"connection_id":128863,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:22:11] local.INFO: Acknowledgment sent {"connection_id":128863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:22:15] local.INFO: TCP Data received {"connection_id":128863,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:22:15] local.INFO: Processing buffer {"connection_id":128863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:22:15] local.INFO: Packet analysis {"connection_id":128863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:22:15] local.INFO: Extracted packet for processing {"connection_id":128863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783785077000,"timestamp_ms":1783785077000,"timestamp_seconds":1783785077,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e03908"} 
[2026-07-11 21:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:22:15] 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-07-11 21:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:22:15] 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-07-11 21:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902656001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:22:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:22:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":128863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:22:15] local.INFO: GPS data processed {"connection_id":128863,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:22:15] local.INFO: Acknowledgment sent {"connection_id":128863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:22:41] local.INFO: TCP Data received {"connection_id":128864,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51dfe700012ceaac00071a64e0002100702f..."} 
[2026-07-11 21:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51dfe700012ceaac00071a64e0002100702f..."} 
[2026-07-11 21:22:41] local.INFO: Processing buffer {"connection_id":128864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51dfe700012ceaac00071a64e0002100702f..."} 
[2026-07-11 21:22:41] local.INFO: Packet analysis {"connection_id":128864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51df"} 
[2026-07-11 21:22:41] local.INFO: Extracted packet for processing {"connection_id":128864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51df"} 
[2026-07-11 21:22:41] local.INFO: GPS Element Parsed {"raw_longitude":753576960,"raw_latitude":119170272,"longitude_deg":75.357696,"latitude_deg":11.9170272,"altitude":33,"angle":112,"satellites":47,"speed":29,"hex_longitude":"2ceaac00","hex_latitude":"071a64e0","is_valid_coordinates":true} 
[2026-07-11 21:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648972544001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345642861854720000,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1541568048191922176,"note":"Value kept but may cause issues"} 
[2026-07-11 21:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783785056000,"timestamp_ms":1783785056000,"timestamp_seconds":1783785056,"priority":1,"record_length":96,"hex_timestamp":"0000019f51dfe700"} 
[2026-07-11 21:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 21:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648972544001,"66":27300,"104":206,"83":41216,"24":29,"16":345642861854720000,"44":-1541568048191922176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-07-11 21:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648972544001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:22:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-11 21:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345642861854720000,"km_value":345642861854720,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1541568048191922176,"description":"Unknown IO ID 44"} 
[2026-07-11 21:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648972544001,"power":27300,"unknown_104":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1541568048191922176}} 
[2026-07-11 21:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":128864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:22:41] local.INFO: GPS data processed {"connection_id":128864,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:22:41] local.INFO: Acknowledgment sent {"connection_id":128864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:22:44] local.INFO: TCP Data received {"connection_id":129770,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:22:44] local.INFO: Processing buffer {"connection_id":129770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:22:44] local.INFO: IMEI packet received {"connection_id":129770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":129770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:22:58] local.INFO: TCP Data received {"connection_id":129049,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:22:58] local.INFO: Processing buffer {"connection_id":129049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:22:58] local.INFO: IMEI packet received {"connection_id":129049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":129049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:23:03] local.INFO: TCP Data received {"connection_id":129050,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:23:03] local.INFO: Processing buffer {"connection_id":129050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:23:03] local.INFO: IMEI packet received {"connection_id":129050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":129050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:23:04] local.INFO: TCP Data received {"connection_id":129049,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:23:04] local.INFO: Processing buffer {"connection_id":129049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:23:04] local.INFO: IMEI packet received {"connection_id":129049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":129049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:23:05] local.INFO: TCP Data received {"connection_id":129049,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:23:05] local.INFO: Processing buffer {"connection_id":129049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:23:05] local.INFO: Packet analysis {"connection_id":129049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:23:05] local.INFO: Extracted packet for processing {"connection_id":129049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785077000,"timestamp_ms":1783785077000,"timestamp_seconds":1783785077,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e03908"} 
[2026-07-11 21:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:23:05] 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-07-11 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:23:05] 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-07-11 21: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-07-11 21:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902656001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:23:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":129049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:23:05] local.INFO: GPS data processed {"connection_id":129049,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:23:05] local.INFO: Acknowledgment sent {"connection_id":129049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:23:06] local.INFO: TCP Data received {"connection_id":129050,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:23:06] local.INFO: Processing buffer {"connection_id":129050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:23:06] local.INFO: IMEI packet received {"connection_id":129050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":129050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:23:08] local.INFO: TCP Data received {"connection_id":129050,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:23:08] local.INFO: Processing buffer {"connection_id":129050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:23:08] local.INFO: IMEI packet received {"connection_id":129050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":129050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:23:09] local.INFO: TCP Data received {"connection_id":129050,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e02d50012ceacdc0071a57e8001f006e2e..."} 
[2026-07-11 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e02d50012ceacdc0071a57e8001f006e2e..."} 
[2026-07-11 21:23:09] local.INFO: Processing buffer {"connection_id":129050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e02d50012ceacdc0071a57e8001f006e2e..."} 
[2026-07-11 21:23:09] local.INFO: Packet analysis {"connection_id":129050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:23:09] local.INFO: Extracted packet for processing {"connection_id":129050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:23:09] local.INFO: GPS Element Parsed {"raw_longitude":753585600,"raw_latitude":119166952,"longitude_deg":75.35856,"latitude_deg":11.9166952,"altitude":31,"angle":110,"satellites":46,"speed":13,"hex_longitude":"2ceacdc0","hex_latitude":"071a57e8","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648974336001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345643304236351488,"note":"Value kept but may cause issues"} 
[2026-07-11 21:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1536853342332592128,"note":"Value kept but may cause issues"} 
[2026-07-11 21:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785074000,"timestamp_ms":1783785074000,"timestamp_seconds":1783785074,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e02d50"} 
[2026-07-11 21:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 21:23: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-07-11 21: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-07-11 21:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648974336001,"66":27365,"104":206,"83":41216,"24":13,"16":345643304236351488,"44":-1536853342332592128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-07-11 21:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648974336001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:23:09] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-11 21:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345643304236351488,"km_value":345643304236351.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1536853342332592128,"description":"Unknown IO ID 44"} 
[2026-07-11 21:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648974336001,"power":27365,"unknown_104":206,"unknown_83":41216,"ignition":13,"odometer":null,"unknown_44":-1536853342332592128}} 
[2026-07-11 21:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":129050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:23:09] local.INFO: GPS data processed {"connection_id":129050,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:23:09] local.INFO: Acknowledgment sent {"connection_id":129050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:23:40] local.INFO: TCP Data received {"connection_id":129050,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e07f58012ceaed80071a4a50001f00732f..."} 
[2026-07-11 21:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e07f58012ceaed80071a4a50001f00732f..."} 
[2026-07-11 21:23:40] local.INFO: Processing buffer {"connection_id":129050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e07f58012ceaed80071a4a50001f00732f..."} 
[2026-07-11 21:23:40] local.INFO: Packet analysis {"connection_id":129050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:23:40] local.INFO: Extracted packet for processing {"connection_id":129050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":753593728,"raw_latitude":119163472,"longitude_deg":75.3593728,"latitude_deg":11.9163472,"altitude":31,"angle":115,"satellites":47,"speed":14,"hex_longitude":"2ceaed80","hex_latitude":"071a4a50","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648978944001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345643725143146496,"note":"Value kept but may cause issues"} 
[2026-07-11 21:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1527353561869457408,"note":"Value kept but may cause issues"} 
[2026-07-11 21:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783785095000,"timestamp_ms":1783785095000,"timestamp_seconds":1783785095,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e07f58"} 
[2026-07-11 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-07-11 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 21:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648978944001,"66":27321,"104":206,"83":41216,"24":14,"16":345643725143146496,"44":-1527353561869457408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-07-11 21:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648978944001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:23:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-11 21:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345643725143146496,"km_value":345643725143146.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1527353561869457408,"description":"Unknown IO ID 44"} 
[2026-07-11 21:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648978944001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1527353561869457408}} 
[2026-07-11 21:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":129050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:23:40] local.INFO: GPS data processed {"connection_id":129050,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:23:40] local.INFO: Acknowledgment sent {"connection_id":129050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:24:04] local.INFO: TCP Data received {"connection_id":129051,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:24:04] local.INFO: Processing buffer {"connection_id":129051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:24:04] local.INFO: IMEI packet received {"connection_id":129051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":129051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:24:06] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:24:06] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:24:06] local.INFO: IMEI packet received {"connection_id":128865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":128865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:24:08] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:24:08] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:24:08] local.INFO: IMEI packet received {"connection_id":128865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":128865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:24:09] local.INFO: TCP Data received {"connection_id":129051,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:24:09] local.INFO: Processing buffer {"connection_id":129051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:24:09] local.INFO: IMEI packet received {"connection_id":129051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":129051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:24:11] local.INFO: TCP Data received {"connection_id":129051,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:24:11] local.INFO: Processing buffer {"connection_id":129051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:24:11] local.INFO: Packet analysis {"connection_id":129051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:24:11] local.INFO: Extracted packet for processing {"connection_id":129051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783785077000,"timestamp_ms":1783785077000,"timestamp_seconds":1783785077,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e03908"} 
[2026-07-11 21:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:24:11] 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-07-11 21:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902656001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:24:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":129051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:24:11] local.INFO: GPS data processed {"connection_id":129051,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:24:11] local.INFO: Acknowledgment sent {"connection_id":129051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:24:13] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:24:13] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:24:13] local.INFO: IMEI packet received {"connection_id":128865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":128865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:24:13] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e0c1c0012ceb0dc0071a3b50002000712d..."} 
[2026-07-11 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e0c1c0012ceb0dc0071a3b50002000712d..."} 
[2026-07-11 21:24:13] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e0c1c0012ceb0dc0071a3b50002000712d..."} 
[2026-07-11 21:24:13] local.INFO: Packet analysis {"connection_id":128865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:24:13] local.INFO: Extracted packet for processing {"connection_id":128865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:24:13] local.INFO: GPS Element Parsed {"raw_longitude":753601984,"raw_latitude":119159632,"longitude_deg":75.3601984,"latitude_deg":11.9159632,"altitude":32,"angle":113,"satellites":45,"speed":22,"hex_longitude":"2ceb0dc0","hex_latitude":"071a3b50","is_valid_coordinates":true} 
[2026-07-11 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648984320001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345644158934843392,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1518416731359784960,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783785112000,"timestamp_ms":1783785112000,"timestamp_seconds":1783785112,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e0c1c0"} 
[2026-07-11 21:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 21:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648984320001,"66":27300,"104":206,"83":41216,"24":22,"16":345644158934843392,"44":-1518416731359784960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-07-11 21:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648984320001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:24:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-11 21:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345644158934843392,"km_value":345644158934843.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:24:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1518416731359784960,"description":"Unknown IO ID 44"} 
[2026-07-11 21:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648984320001,"power":27300,"unknown_104":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1518416731359784960}} 
[2026-07-11 21:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":128865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:24:14] local.INFO: GPS data processed {"connection_id":128865,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:24:14] local.INFO: Acknowledgment sent {"connection_id":128865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:24:16] local.INFO: TCP Data received {"connection_id":129051,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:24:16] local.INFO: Processing buffer {"connection_id":129051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:24:16] local.INFO: Packet analysis {"connection_id":129051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:24:16] local.INFO: Extracted packet for processing {"connection_id":129051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783785077000,"timestamp_ms":1783785077000,"timestamp_seconds":1783785077,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e03908"} 
[2026-07-11 21:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:24:16] 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-07-11 21:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902656001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:24:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:24:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":129051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:24:16] local.INFO: GPS data processed {"connection_id":129051,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:24:16] local.INFO: Acknowledgment sent {"connection_id":129051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:24:45] local.INFO: TCP Data received {"connection_id":128865,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e2b1d8012cebdc4007194188001f00912e..."} 
[2026-07-11 21:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e2b1d8012cebdc4007194188001f00912e..."} 
[2026-07-11 21:24:45] local.INFO: Processing buffer {"connection_id":128865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e2b1d8012cebdc4007194188001f00912e..."} 
[2026-07-11 21:24:45] local.INFO: Packet analysis {"connection_id":128865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e2"} 
[2026-07-11 21:24:45] local.INFO: Extracted packet for processing {"connection_id":128865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e2"} 
[2026-07-11 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":753654848,"raw_latitude":119095688,"longitude_deg":75.3654848,"latitude_deg":11.9095688,"altitude":31,"angle":145,"satellites":46,"speed":37,"hex_longitude":"2cebdc40","hex_latitude":"07194188","is_valid_coordinates":true} 
[2026-07-11 21:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649018624001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345648329348087808,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1456492236498628608,"note":"Value kept but may cause issues"} 
[2026-07-11 21:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783785239000,"timestamp_ms":1783785239000,"timestamp_seconds":1783785239,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e2b1d8"} 
[2026-07-11 21:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:24:45] 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-07-11 21:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649018624001,"66":27397,"138":206,"83":41216,"24":37,"16":345648329348087808,"44":-1456492236498628608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-07-11 21:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649018624001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:24:45] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-11 21:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345648329348087808,"km_value":345648329348087.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:24:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1456492236498628608,"description":"Unknown IO ID 44"} 
[2026-07-11 21:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649018624001,"power":27397,"unknown_138":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1456492236498628608}} 
[2026-07-11 21:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":128865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:24:45] local.INFO: GPS data processed {"connection_id":128865,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:24:45] local.INFO: Acknowledgment sent {"connection_id":128865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:24:59] local.INFO: TCP Data received {"connection_id":131034,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:24:59] local.INFO: Processing buffer {"connection_id":131034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:24:59] local.INFO: IMEI packet received {"connection_id":131034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":131034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:25:03] local.INFO: TCP Data received {"connection_id":129052,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:25:03] local.INFO: Processing buffer {"connection_id":129052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:25:03] local.INFO: IMEI packet received {"connection_id":129052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":129052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:25:04] local.INFO: TCP Data received {"connection_id":131034,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:25:04] local.INFO: Processing buffer {"connection_id":131034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:25:04] local.INFO: IMEI packet received {"connection_id":131034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":131034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:25:05] local.INFO: TCP Data received {"connection_id":131034,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:25:05] local.INFO: Processing buffer {"connection_id":131034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:25:05] local.INFO: Packet analysis {"connection_id":131034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:25:05] local.INFO: Extracted packet for processing {"connection_id":131034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785077000,"timestamp_ms":1783785077000,"timestamp_seconds":1783785077,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e03908"} 
[2026-07-11 21:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:25:05] 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-07-11 21:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:25:05] 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-07-11 21:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902656001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:25:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":131034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:25:05] local.INFO: GPS data processed {"connection_id":131034,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:25:05] local.INFO: Acknowledgment sent {"connection_id":131034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:25:08] local.INFO: TCP Data received {"connection_id":129052,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:25:08] local.INFO: Processing buffer {"connection_id":129052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:25:08] local.INFO: IMEI packet received {"connection_id":129052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":129052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:25:09] local.INFO: TCP Data received {"connection_id":129052,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e2c560012cebe880071933d0002100802e..."} 
[2026-07-11 21:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e2c560012cebe880071933d0002100802e..."} 
[2026-07-11 21:25:09] local.INFO: Processing buffer {"connection_id":129052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e2c560012cebe880071933d0002100802e..."} 
[2026-07-11 21:25:09] local.INFO: Packet analysis {"connection_id":129052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e2"} 
[2026-07-11 21:25:09] local.INFO: Extracted packet for processing {"connection_id":129052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e2"} 
[2026-07-11 21:25:09] local.INFO: GPS Element Parsed {"raw_longitude":753657984,"raw_latitude":119092176,"longitude_deg":75.3657984,"latitude_deg":11.9092176,"altitude":33,"angle":128,"satellites":46,"speed":36,"hex_longitude":"2cebe880","hex_latitude":"071933d0","is_valid_coordinates":true} 
[2026-07-11 21:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649021184001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345648556981354496,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1451214580687468544,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785244000,"timestamp_ms":1783785244000,"timestamp_seconds":1783785244,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e2c560"} 
[2026-07-11 21:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:25:09] 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-07-11 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649021184001,"66":27463,"138":206,"83":41216,"24":36,"16":345648556981354496,"44":-1451214580687468544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-07-11 21:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649021184001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:25:09] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-11 21:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345648556981354496,"km_value":345648556981354.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1451214580687468544,"description":"Unknown IO ID 44"} 
[2026-07-11 21:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649021184001,"power":27463,"unknown_138":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1451214580687468544}} 
[2026-07-11 21:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":129052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:25:09] local.INFO: GPS data processed {"connection_id":129052,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:25:09] local.INFO: Acknowledgment sent {"connection_id":129052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:25:37] local.INFO: TCP Data received {"connection_id":131034,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:25:37] local.INFO: Processing buffer {"connection_id":131034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:25:37] local.INFO: Packet analysis {"connection_id":131034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:25:37] local.INFO: Extracted packet for processing {"connection_id":131034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783785077000,"timestamp_ms":1783785077000,"timestamp_seconds":1783785077,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e03908"} 
[2026-07-11 21:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:25:37] 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-07-11 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:25:37] 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-07-11 21:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":131034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":131034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":131034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902656001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:25:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":131034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:25:37] local.INFO: GPS data processed {"connection_id":131034,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:25:37] local.INFO: Acknowledgment sent {"connection_id":131034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:25:41] local.INFO: TCP Data received {"connection_id":129052,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e2cd30012cebee40071930400021007430..."} 
[2026-07-11 21:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e2cd30012cebee40071930400021007430..."} 
[2026-07-11 21:25:41] local.INFO: Processing buffer {"connection_id":129052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e2cd30012cebee40071930400021007430..."} 
[2026-07-11 21:25:41] local.INFO: Packet analysis {"connection_id":129052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e2"} 
[2026-07-11 21:25:41] local.INFO: Extracted packet for processing {"connection_id":129052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e2"} 
[2026-07-11 21:25:41] local.INFO: GPS Element Parsed {"raw_longitude":753659456,"raw_latitude":119091264,"longitude_deg":75.3659456,"latitude_deg":11.9091264,"altitude":33,"angle":116,"satellites":48,"speed":31,"hex_longitude":"2cebee40","hex_latitude":"07193040","is_valid_coordinates":true} 
[2026-07-11 21:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649022464001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345648638585733120,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1447766512223662080,"note":"Value kept but may cause issues"} 
[2026-07-11 21:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783785246000,"timestamp_ms":1783785246000,"timestamp_seconds":1783785246,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e2cd30"} 
[2026-07-11 21:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 21:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649022464001,"66":27376,"138":206,"83":41216,"24":31,"16":345648638585733120,"44":-1447766512223662080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-07-11 21:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649022464001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:25:41] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-11 21:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345648638585733120,"km_value":345648638585733.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1447766512223662080,"description":"Unknown IO ID 44"} 
[2026-07-11 21:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649022464001,"power":27376,"unknown_138":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1447766512223662080}} 
[2026-07-11 21:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":129052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:25:41] local.INFO: GPS data processed {"connection_id":129052,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:25:41] local.INFO: Acknowledgment sent {"connection_id":129052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:25:59] local.INFO: TCP Data received {"connection_id":131035,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:25:59] local.INFO: Processing buffer {"connection_id":131035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:25:59] local.INFO: IMEI packet received {"connection_id":131035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":131035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:26:03] local.INFO: TCP Data received {"connection_id":131036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:26:03] local.INFO: Processing buffer {"connection_id":131036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:26:03] local.INFO: IMEI packet received {"connection_id":131036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":131036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:26:03] local.INFO: TCP Data received {"connection_id":131036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:26:03] local.INFO: Processing buffer {"connection_id":131036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:26:03] local.INFO: IMEI packet received {"connection_id":131036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":131036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:26:04] local.INFO: TCP Data received {"connection_id":131035,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:26:04] local.INFO: Processing buffer {"connection_id":131035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:26:04] local.INFO: IMEI packet received {"connection_id":131035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":131035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:26:06] local.INFO: TCP Data received {"connection_id":131035,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:26:06] local.INFO: Processing buffer {"connection_id":131035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:26:06] local.INFO: Packet analysis {"connection_id":131035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:26:06] local.INFO: Extracted packet for processing {"connection_id":131035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783785077000,"timestamp_ms":1783785077000,"timestamp_seconds":1783785077,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e03908"} 
[2026-07-11 21:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:26:06] 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-07-11 21:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":131035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":131035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":131035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902656001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:26:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":131035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:26:06] local.INFO: GPS data processed {"connection_id":131035,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:26:06] local.INFO: Acknowledgment sent {"connection_id":131035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:26:08] local.INFO: TCP Data received {"connection_id":131036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:26:08] local.INFO: Processing buffer {"connection_id":131036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:26:08] local.INFO: IMEI packet received {"connection_id":131036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":131036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:26:09] local.INFO: TCP Data received {"connection_id":131036,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e2f440012cec0580071926d0001e00802e..."} 
[2026-07-11 21:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e2f440012cec0580071926d0001e00802e..."} 
[2026-07-11 21:26:09] local.INFO: Processing buffer {"connection_id":131036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e2f440012cec0580071926d0001e00802e..."} 
[2026-07-11 21:26:09] local.INFO: Packet analysis {"connection_id":131036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e2"} 
[2026-07-11 21:26:09] local.INFO: Extracted packet for processing {"connection_id":131036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e2"} 
[2026-07-11 21:26:09] local.INFO: GPS Element Parsed {"raw_longitude":753665408,"raw_latitude":119088848,"longitude_deg":75.3665408,"latitude_deg":11.9088848,"altitude":30,"angle":128,"satellites":46,"speed":22,"hex_longitude":"2cec0580","hex_latitude":"071926d0","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649022976001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345648943528411136,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1446148031107809280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785256000,"timestamp_ms":1783785256000,"timestamp_seconds":1783785256,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e2f440"} 
[2026-07-11 21:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:26:09] 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-07-11 21:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649022976001,"66":27343,"138":206,"83":41216,"24":22,"16":345648943528411136,"44":-1446148031107809280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-07-11 21:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649022976001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:26:09] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-11 21:26:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345648943528411136,"km_value":345648943528411.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1446148031107809280,"description":"Unknown IO ID 44"} 
[2026-07-11 21:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649022976001,"power":27343,"unknown_138":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1446148031107809280}} 
[2026-07-11 21:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":131036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:26:09] local.INFO: GPS data processed {"connection_id":131036,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:26:09] local.INFO: Acknowledgment sent {"connection_id":131036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:26:38] local.INFO: TCP Data received {"connection_id":131035,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:26:38] local.INFO: Processing buffer {"connection_id":131035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e03908012d196680071fef80003b011a21..."} 
[2026-07-11 21:26:38] local.INFO: Packet analysis {"connection_id":131035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:26:38] local.INFO: Extracted packet for processing {"connection_id":131035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e0"} 
[2026-07-11 21:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648902656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783785077000,"timestamp_ms":1783785077000,"timestamp_seconds":1783785077,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e03908"} 
[2026-07-11 21:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:26: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-07-11 21:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648902656001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648902656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:26:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:26:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648902656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":131035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:26:38] local.INFO: GPS data processed {"connection_id":131035,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:26:38] local.INFO: Acknowledgment sent {"connection_id":131035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:26:40] local.INFO: TCP Data received {"connection_id":131036,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e303e0012cec0bc0071920c0001c008d2f..."} 
[2026-07-11 21:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e303e0012cec0bc0071920c0001c008d2f..."} 
[2026-07-11 21:26:40] local.INFO: Processing buffer {"connection_id":131036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e303e0012cec0bc0071920c0001c008d2f..."} 
[2026-07-11 21:26:40] local.INFO: Packet analysis {"connection_id":131036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e3"} 
[2026-07-11 21:26:40] local.INFO: Extracted packet for processing {"connection_id":131036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e3"} 
[2026-07-11 21:26:40] local.INFO: GPS Element Parsed {"raw_longitude":753667008,"raw_latitude":119087296,"longitude_deg":75.3667008,"latitude_deg":11.9087296,"altitude":28,"angle":141,"satellites":47,"speed":22,"hex_longitude":"2cec0bc0","hex_latitude":"071920c0","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649025536001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345649050902593536,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1439603737899905024,"note":"Value kept but may cause issues"} 
[2026-07-11 21:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783785260000,"timestamp_ms":1783785260000,"timestamp_seconds":1783785260,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e303e0"} 
[2026-07-11 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-07-11 21:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649025536001,"66":27376,"138":206,"83":41216,"24":22,"16":345649050902593536,"44":-1439603737899905024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-07-11 21:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649025536001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:26:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-11 21:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345649050902593536,"km_value":345649050902593.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1439603737899905024,"description":"Unknown IO ID 44"} 
[2026-07-11 21:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649025536001,"power":27376,"unknown_138":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1439603737899905024}} 
[2026-07-11 21:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":131036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:26:40] local.INFO: GPS data processed {"connection_id":131036,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:26:40] local.INFO: Acknowledgment sent {"connection_id":131036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:26:58] local.INFO: TCP Data received {"connection_id":129772,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:26:58] local.INFO: Processing buffer {"connection_id":129772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:26:58] local.INFO: IMEI packet received {"connection_id":129772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":129772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:27:03] local.INFO: TCP Data received {"connection_id":131037,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:27:03] local.INFO: Processing buffer {"connection_id":131037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:27:03] local.INFO: IMEI packet received {"connection_id":131037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":131037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:27:04] local.INFO: TCP Data received {"connection_id":129772,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:27:04] local.INFO: Processing buffer {"connection_id":129772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:27:04] local.INFO: IMEI packet received {"connection_id":129772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":129772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:27:05] local.INFO: TCP Data received {"connection_id":129772,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:27:05] local.INFO: Processing buffer {"connection_id":129772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:27:05] local.INFO: Packet analysis {"connection_id":129772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:27:05] local.INFO: Extracted packet for processing {"connection_id":129772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:27:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":129772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:27:05] local.INFO: GPS data processed {"connection_id":129772,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:27:05] local.INFO: Acknowledgment sent {"connection_id":129772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:27:08] local.INFO: TCP Data received {"connection_id":131037,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:27:08] local.INFO: Processing buffer {"connection_id":131037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:27:08] local.INFO: IMEI packet received {"connection_id":131037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":131037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:27:09] local.INFO: TCP Data received {"connection_id":131037,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e476f8012cec5b8007180a48001e00bf2d..."} 
[2026-07-11 21:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e476f8012cec5b8007180a48001e00bf2d..."} 
[2026-07-11 21:27:09] local.INFO: Processing buffer {"connection_id":131037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e476f8012cec5b8007180a48001e00bf2d..."} 
[2026-07-11 21:27:09] local.INFO: Packet analysis {"connection_id":131037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:27:09] local.INFO: Extracted packet for processing {"connection_id":131037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:27:09] local.INFO: GPS Element Parsed {"raw_longitude":753687424,"raw_latitude":119016008,"longitude_deg":75.3687424,"latitude_deg":11.9016008,"altitude":30,"angle":191,"satellites":45,"speed":26,"hex_longitude":"2cec5b80","hex_latitude":"07180a48","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649048064001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345652916373159936,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413215458849677312,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785355000,"timestamp_ms":1783785355000,"timestamp_seconds":1783785355,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e476f8"} 
[2026-07-11 21:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:27:09] 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-07-11 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649048064001,"66":27343,"116":206,"83":41216,"24":26,"16":345652916373159936,"44":-1413215458849677312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-07-11 21:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649048064001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:27:09] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-11 21:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345652916373159936,"km_value":345652916373159.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:27:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413215458849677312,"description":"Unknown IO ID 44"} 
[2026-07-11 21:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649048064001,"power":27343,"unknown_116":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1413215458849677312}} 
[2026-07-11 21:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":131037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:27:09] local.INFO: GPS data processed {"connection_id":131037,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:27:09] local.INFO: Acknowledgment sent {"connection_id":131037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:27:37] local.INFO: TCP Data received {"connection_id":129772,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:27:37] local.INFO: Processing buffer {"connection_id":129772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:27:37] local.INFO: Packet analysis {"connection_id":129772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:27:37] local.INFO: Extracted packet for processing {"connection_id":129772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:27:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":129772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:27:37] local.INFO: GPS data processed {"connection_id":129772,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:27:37] local.INFO: Acknowledgment sent {"connection_id":129772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:27:40] local.INFO: TCP Data received {"connection_id":131037,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4a9c0012cec55000717e608001d00bb2a..."} 
[2026-07-11 21:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4a9c0012cec55000717e608001d00bb2a..."} 
[2026-07-11 21:27:40] local.INFO: Processing buffer {"connection_id":131037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4a9c0012cec55000717e608001d00bb2a..."} 
[2026-07-11 21:27:40] local.INFO: Packet analysis {"connection_id":131037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:27:40] local.INFO: Extracted packet for processing {"connection_id":131037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:27:40] local.INFO: GPS Element Parsed {"raw_longitude":753685760,"raw_latitude":119006728,"longitude_deg":75.368576,"latitude_deg":11.9006728,"altitude":29,"angle":187,"satellites":42,"speed":31,"hex_longitude":"2cec5500","hex_latitude":"0717e608","is_valid_coordinates":true} 
[2026-07-11 21:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649050880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345653371639693312,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415396889921435648,"note":"Value kept but may cause issues"} 
[2026-07-11 21:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783785368000,"timestamp_ms":1783785368000,"timestamp_seconds":1783785368,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4a9c0"} 
[2026-07-11 21:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649050880001,"66":27365,"116":206,"83":41216,"24":31,"16":345653371639693312,"44":-1415396889921435648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-07-11 21:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649050880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:27:40] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-11 21:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345653371639693312,"km_value":345653371639693.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415396889921435648,"description":"Unknown IO ID 44"} 
[2026-07-11 21:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649050880001,"power":27365,"unknown_116":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1415396889921435648}} 
[2026-07-11 21:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":131037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:27:40] local.INFO: GPS data processed {"connection_id":131037,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:27:40] local.INFO: Acknowledgment sent {"connection_id":131037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:28:03] local.INFO: TCP Data received {"connection_id":129774,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:28:03] local.INFO: Processing buffer {"connection_id":129774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:28:03] local.INFO: IMEI packet received {"connection_id":129774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":129774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:28:04] local.INFO: TCP Data received {"connection_id":129773,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:28:04] local.INFO: Processing buffer {"connection_id":129773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:28:04] local.INFO: IMEI packet received {"connection_id":129773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":129773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:28:08] local.INFO: TCP Data received {"connection_id":129774,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:28:08] local.INFO: Processing buffer {"connection_id":129774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:28:08] local.INFO: IMEI packet received {"connection_id":129774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":129774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:28:09] local.INFO: TCP Data received {"connection_id":129773,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:28:09] local.INFO: Processing buffer {"connection_id":129773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:28:09] local.INFO: IMEI packet received {"connection_id":129773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":129773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:28:09] local.INFO: TCP Data received {"connection_id":129774,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d4b8012cec51c00717c2f0001e00b52b..."} 
[2026-07-11 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d4b8012cec51c00717c2f0001e00b52b..."} 
[2026-07-11 21:28:09] local.INFO: Processing buffer {"connection_id":129774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d4b8012cec51c00717c2f0001e00b52b..."} 
[2026-07-11 21:28:09] local.INFO: Packet analysis {"connection_id":129774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:28:09] local.INFO: Extracted packet for processing {"connection_id":129774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:28:09] local.INFO: GPS Element Parsed {"raw_longitude":753684928,"raw_latitude":118997744,"longitude_deg":75.3684928,"latitude_deg":11.8997744,"altitude":30,"angle":181,"satellites":43,"speed":31,"hex_longitude":"2cec51c0","hex_latitude":"0717c2f0","is_valid_coordinates":true} 
[2026-07-11 21:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649054208001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345653809726357504,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417226477272430592,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785379000,"timestamp_ms":1783785379000,"timestamp_seconds":1783785379,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d4b8"} 
[2026-07-11 21:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:28:09] 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-07-11 21:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 21:28:09] 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-07-11 21:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649054208001,"66":27365,"65":206,"83":41216,"24":31,"16":345653809726357504,"44":-1417226477272430592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-07-11 21:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649054208001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:28:09] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-11 21:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345653809726357504,"km_value":345653809726357.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417226477272430592,"description":"Unknown IO ID 44"} 
[2026-07-11 21:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649054208001,"power":27365,"unknown_65":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1417226477272430592}} 
[2026-07-11 21:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":129774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:28:09] local.INFO: GPS data processed {"connection_id":129774,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:28:09] local.INFO: Acknowledgment sent {"connection_id":129774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:28:10] local.INFO: TCP Data received {"connection_id":129773,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:28:10] local.INFO: Processing buffer {"connection_id":129773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:28:10] local.INFO: Packet analysis {"connection_id":129773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:28:10] local.INFO: Extracted packet for processing {"connection_id":129773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:28:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:28:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":129773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:28:10] local.INFO: GPS data processed {"connection_id":129773,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:28:10] local.INFO: Acknowledgment sent {"connection_id":129773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:28:14] local.INFO: TCP Data received {"connection_id":129773,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:28:14] local.INFO: Processing buffer {"connection_id":129773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:28:14] local.INFO: Packet analysis {"connection_id":129773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:28:14] local.INFO: Extracted packet for processing {"connection_id":129773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:28:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":129773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:28:15] local.INFO: GPS data processed {"connection_id":129773,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:28:15] local.INFO: Acknowledgment sent {"connection_id":129773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:28:40] local.INFO: TCP Data received {"connection_id":129774,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4ffb0012cec504007179f28001e00b625..."} 
[2026-07-11 21:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4ffb0012cec504007179f28001e00b625..."} 
[2026-07-11 21:28:40] local.INFO: Processing buffer {"connection_id":129774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4ffb0012cec504007179f28001e00b625..."} 
[2026-07-11 21:28:40] local.INFO: Packet analysis {"connection_id":129774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:28:40] local.INFO: Extracted packet for processing {"connection_id":129774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:28:40] local.INFO: GPS Element Parsed {"raw_longitude":753684544,"raw_latitude":118988584,"longitude_deg":75.3684544,"latitude_deg":11.8988584,"altitude":30,"angle":182,"satellites":37,"speed":34,"hex_longitude":"2cec5040","hex_latitude":"07179f28","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649057024001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345654256402956288,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418141270949040128,"note":"Value kept but may cause issues"} 
[2026-07-11 21:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783785390000,"timestamp_ms":1783785390000,"timestamp_seconds":1783785390,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4ffb0"} 
[2026-07-11 21:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 21:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649057024001,"66":27343,"65":206,"83":41216,"24":34,"16":345654256402956288,"44":-1418141270949040128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-07-11 21:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649057024001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:28:40] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-11 21:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345654256402956288,"km_value":345654256402956.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418141270949040128,"description":"Unknown IO ID 44"} 
[2026-07-11 21:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649057024001,"power":27343,"unknown_65":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1418141270949040128}} 
[2026-07-11 21:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":129774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:28:40] local.INFO: GPS data processed {"connection_id":129774,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:28:40] local.INFO: Acknowledgment sent {"connection_id":129774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:28:44] local.INFO: TCP Data received {"connection_id":131038,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:28:44] local.INFO: Processing buffer {"connection_id":131038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:28:44] local.INFO: IMEI packet received {"connection_id":131038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":131038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:28:59] local.INFO: TCP Data received {"connection_id":131039,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:28:59] local.INFO: Processing buffer {"connection_id":131039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:28:59] local.INFO: IMEI packet received {"connection_id":131039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":131039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:29:04] local.INFO: TCP Data received {"connection_id":131039,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:29:04] local.INFO: Processing buffer {"connection_id":131039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:29:04] local.INFO: IMEI packet received {"connection_id":131039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":131039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:29:05] local.INFO: TCP Data received {"connection_id":131039,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:29:05] local.INFO: Processing buffer {"connection_id":131039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:29:05] local.INFO: Packet analysis {"connection_id":131039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:29:05] local.INFO: Extracted packet for processing {"connection_id":131039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":131039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:29:05] local.INFO: GPS data processed {"connection_id":131039,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:29:05] local.INFO: Acknowledgment sent {"connection_id":131039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:29:08] local.INFO: TCP Data received {"connection_id":129775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:29:08] local.INFO: Processing buffer {"connection_id":129775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:29:08] local.INFO: IMEI packet received {"connection_id":129775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":129775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:29:13] local.INFO: TCP Data received {"connection_id":129775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:29:13] local.INFO: Processing buffer {"connection_id":129775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:29:13] local.INFO: IMEI packet received {"connection_id":129775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":129775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:29:18] local.INFO: TCP Data received {"connection_id":129775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:29:18] local.INFO: Processing buffer {"connection_id":129775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:29:18] local.INFO: IMEI packet received {"connection_id":129775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":129775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:29:20] local.INFO: TCP Data received {"connection_id":129775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e52aa8012cec4e8007177988001e00b827..."} 
[2026-07-11 21:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e52aa8012cec4e8007177988001e00b827..."} 
[2026-07-11 21:29:20] local.INFO: Processing buffer {"connection_id":129775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e52aa8012cec4e8007177988001e00b827..."} 
[2026-07-11 21:29:20] local.INFO: Packet analysis {"connection_id":129775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e5"} 
[2026-07-11 21:29:20] local.INFO: Extracted packet for processing {"connection_id":129775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e5"} 
[2026-07-11 21:29:20] local.INFO: GPS Element Parsed {"raw_longitude":753684096,"raw_latitude":118978952,"longitude_deg":75.3684096,"latitude_deg":11.8978952,"altitude":30,"angle":184,"satellites":39,"speed":33,"hex_longitude":"2cec4e80","hex_latitude":"07177988","is_valid_coordinates":true} 
[2026-07-11 21:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649059840001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345654724554391552,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418563483416451072,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783785401000,"timestamp_ms":1783785401000,"timestamp_seconds":1783785401,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e52aa8"} 
[2026-07-11 21:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:29: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-07-11 21:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649059840001,"66":27267,"65":206,"83":41216,"24":33,"16":345654724554391552,"44":-1418563483416451072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-07-11 21:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649059840001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:29:20] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-11 21:29:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345654724554391552,"km_value":345654724554391.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418563483416451072,"description":"Unknown IO ID 44"} 
[2026-07-11 21:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649059840001,"power":27267,"unknown_65":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1418563483416451072}} 
[2026-07-11 21:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":129775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:29:20] local.INFO: GPS data processed {"connection_id":129775,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:29:20] local.INFO: Acknowledgment sent {"connection_id":129775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:29:21] local.INFO: TCP Data received {"connection_id":129775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e55988012cec4b8007175658001e00b827..."} 
[2026-07-11 21:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e55988012cec4b8007175658001e00b827..."} 
[2026-07-11 21:29:21] local.INFO: Processing buffer {"connection_id":129775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e55988012cec4b8007175658001e00b827..."} 
[2026-07-11 21:29:21] local.INFO: Packet analysis {"connection_id":129775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e5"} 
[2026-07-11 21:29:21] local.INFO: Extracted packet for processing {"connection_id":129775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e5"} 
[2026-07-11 21:29:21] local.INFO: GPS Element Parsed {"raw_longitude":753683328,"raw_latitude":118969944,"longitude_deg":75.3683328,"latitude_deg":11.8969944,"altitude":30,"angle":184,"satellites":39,"speed":26,"hex_longitude":"2cec4b80","hex_latitude":"07175658","is_valid_coordinates":true} 
[2026-07-11 21:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649062656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345655162641055744,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419056064628160512,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783785413000,"timestamp_ms":1783785413000,"timestamp_seconds":1783785413,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e55988"} 
[2026-07-11 21:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":129775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":129775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":129775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649062656001,"66":27463,"65":206,"83":41216,"24":26,"16":345655162641055744,"44":-1419056064628160512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-07-11 21:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649062656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:29:21] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-11 21:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345655162641055744,"km_value":345655162641055.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419056064628160512,"description":"Unknown IO ID 44"} 
[2026-07-11 21:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649062656001,"power":27463,"unknown_65":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1419056064628160512}} 
[2026-07-11 21:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":129775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:29:21] local.INFO: GPS data processed {"connection_id":129775,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:29:21] local.INFO: Acknowledgment sent {"connection_id":129775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:29:37] local.INFO: TCP Data received {"connection_id":131039,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:29:37] local.INFO: Processing buffer {"connection_id":131039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:29:37] local.INFO: Packet analysis {"connection_id":131039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:29:37] local.INFO: Extracted packet for processing {"connection_id":131039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":131039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":131039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":131039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":131039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:29:37] local.INFO: GPS data processed {"connection_id":131039,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:29:37] local.INFO: Acknowledgment sent {"connection_id":131039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:29:47] local.INFO: TCP Data received {"connection_id":128869,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:29:47] local.INFO: Processing buffer {"connection_id":128869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:29:47] local.INFO: IMEI packet received {"connection_id":128869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":128869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:29:59] local.INFO: TCP Data received {"connection_id":128870,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:29:59] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:29:59] local.INFO: IMEI packet received {"connection_id":128870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":128870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:30:03] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:30:03] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:30:03] local.INFO: IMEI packet received {"connection_id":128871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":128871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:30:04] local.INFO: TCP Data received {"connection_id":128870,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:30:04] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:30:04] local.INFO: IMEI packet received {"connection_id":128870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":128870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:30:06] local.INFO: TCP Data received {"connection_id":128870,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:30:06] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:30:06] local.INFO: Packet analysis {"connection_id":128870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:30:06] local.INFO: Extracted packet for processing {"connection_id":128870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:30:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":128870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:30:06] local.INFO: GPS data processed {"connection_id":128870,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:30:06] local.INFO: Acknowledgment sent {"connection_id":128870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:30:17] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:30:17] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:30:17] local.INFO: IMEI packet received {"connection_id":128871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":128871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:30:38] local.INFO: TCP Data received {"connection_id":128870,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:30:38] local.INFO: Processing buffer {"connection_id":128870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:30:38] local.INFO: Packet analysis {"connection_id":128870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:30:38] local.INFO: Extracted packet for processing {"connection_id":128870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:30: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-07-11 21:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:30:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":128870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:30:38] local.INFO: GPS data processed {"connection_id":128870,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:30:38] local.INFO: Acknowledgment sent {"connection_id":128870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:30:44] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:30:44] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:30:44] local.INFO: IMEI packet received {"connection_id":128871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":128871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:30:45] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e7c2b8012cecd0800715d050001c009d2a..."} 
[2026-07-11 21:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e7c2b8012cecd0800715d050001c009d2a..."} 
[2026-07-11 21:30:45] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e7c2b8012cecd0800715d050001c009d2a..."} 
[2026-07-11 21:30:45] local.INFO: Packet analysis {"connection_id":128871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e7"} 
[2026-07-11 21:30:45] local.INFO: Extracted packet for processing {"connection_id":128871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e7"} 
[2026-07-11 21:30:45] local.INFO: GPS Element Parsed {"raw_longitude":753717376,"raw_latitude":118870096,"longitude_deg":75.3717376,"latitude_deg":11.8870096,"altitude":28,"angle":157,"satellites":42,"speed":31,"hex_longitude":"2cecd080","hex_latitude":"0715d050","is_valid_coordinates":true} 
[2026-07-11 21:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649103360001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345660411091091456,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1387038286053142528,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783785571000,"timestamp_ms":1783785571000,"timestamp_seconds":1783785571,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e7c2b8"} 
[2026-07-11 21:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 21:30:45] 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-07-11 21:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649103360001,"66":27397,"192":206,"83":41216,"24":31,"16":345660411091091456,"44":-1387038286053142528},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-07-11 21:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649103360001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:30:45] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-11 21:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345660411091091456,"km_value":345660411091091.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:30:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1387038286053142528,"description":"Unknown IO ID 44"} 
[2026-07-11 21:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649103360001,"power":27397,"unknown_192":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1387038286053142528}} 
[2026-07-11 21:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":128871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:30:45] local.INFO: GPS data processed {"connection_id":128871,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:30:45] local.INFO: Acknowledgment sent {"connection_id":128871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:30:46] local.INFO: TCP Data received {"connection_id":128871,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e7edb0012cecde000715ae40001c009c2b..."} 
[2026-07-11 21:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e7edb0012cecde000715ae40001c009c2b..."} 
[2026-07-11 21:30:46] local.INFO: Processing buffer {"connection_id":128871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e7edb0012cecde000715ae40001c009c2b..."} 
[2026-07-11 21:30:46] local.INFO: Packet analysis {"connection_id":128871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e7"} 
[2026-07-11 21:30:46] local.INFO: Extracted packet for processing {"connection_id":128871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e7"} 
[2026-07-11 21:30:46] local.INFO: GPS Element Parsed {"raw_longitude":753720832,"raw_latitude":118861376,"longitude_deg":75.3720832,"latitude_deg":11.8861376,"altitude":28,"angle":156,"satellites":43,"speed":34,"hex_longitude":"2cecde00","hex_latitude":"0715ae40","is_valid_coordinates":true} 
[2026-07-11 21:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649106176001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345660866357624832,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1382464317683642368,"note":"Value kept but may cause issues"} 
[2026-07-11 21:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783785582000,"timestamp_ms":1783785582000,"timestamp_seconds":1783785582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e7edb0"} 
[2026-07-11 21:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:30:46] 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-07-11 21:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649106176001,"66":27321,"192":206,"83":41216,"24":34,"16":345660866357624832,"44":-1382464317683642368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-07-11 21:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649106176001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:30:46] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-11 21:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345660866357624832,"km_value":345660866357624.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:30:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1382464317683642368,"description":"Unknown IO ID 44"} 
[2026-07-11 21:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649106176001,"power":27321,"unknown_192":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1382464317683642368}} 
[2026-07-11 21:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":128871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:30:46] local.INFO: GPS data processed {"connection_id":128871,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:30:46] local.INFO: Acknowledgment sent {"connection_id":128871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:30:58] local.INFO: TCP Data received {"connection_id":129053,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:30:58] local.INFO: Processing buffer {"connection_id":129053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:30:58] local.INFO: IMEI packet received {"connection_id":129053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":129053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:31:03] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:31:03] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:31:03] local.INFO: IMEI packet received {"connection_id":128872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":128872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:31:04] local.INFO: TCP Data received {"connection_id":129053,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:31:04] local.INFO: Processing buffer {"connection_id":129053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:31:04] local.INFO: IMEI packet received {"connection_id":129053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":129053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:31:05] local.INFO: TCP Data received {"connection_id":129053,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:31:05] local.INFO: Processing buffer {"connection_id":129053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:31:05] local.INFO: Packet analysis {"connection_id":129053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:31:05] local.INFO: Extracted packet for processing {"connection_id":129053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":129053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:31:05] local.INFO: GPS data processed {"connection_id":129053,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:31:05] local.INFO: Acknowledgment sent {"connection_id":129053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:31:08] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:31:08] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:31:08] local.INFO: IMEI packet received {"connection_id":128872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":128872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:31:09] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e818a8012ceced0007158ea0001b00942b..."} 
[2026-07-11 21:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e818a8012ceced0007158ea0001b00942b..."} 
[2026-07-11 21:31:09] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e818a8012ceced0007158ea0001b00942b..."} 
[2026-07-11 21:31:09] local.INFO: Packet analysis {"connection_id":128872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:31:09] local.INFO: Extracted packet for processing {"connection_id":128872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:31:09] local.INFO: GPS Element Parsed {"raw_longitude":753724672,"raw_latitude":118853280,"longitude_deg":75.3724672,"latitude_deg":11.885328,"altitude":27,"angle":148,"satellites":43,"speed":31,"hex_longitude":"2ceced00","hex_latitude":"07158ea0","is_valid_coordinates":true} 
[2026-07-11 21:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649108992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345661300149321728,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1378664405500280832,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785593000,"timestamp_ms":1783785593000,"timestamp_seconds":1783785593,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e818a8"} 
[2026-07-11 21:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 21:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649108992001,"66":27343,"192":206,"83":41216,"24":31,"16":345661300149321728,"44":-1378664405500280832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-07-11 21:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649108992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:31:09] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-11 21:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345661300149321728,"km_value":345661300149321.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:31:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1378664405500280832,"description":"Unknown IO ID 44"} 
[2026-07-11 21:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649108992001,"power":27343,"unknown_192":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1378664405500280832}} 
[2026-07-11 21:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":128872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:31:09] local.INFO: GPS data processed {"connection_id":128872,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:31:09] local.INFO: Acknowledgment sent {"connection_id":128872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:31:37] local.INFO: TCP Data received {"connection_id":129053,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:31:37] local.INFO: Processing buffer {"connection_id":129053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e4d0d0012d196680071fef80003b011a22..."} 
[2026-07-11 21:31:37] local.INFO: Packet analysis {"connection_id":129053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:31:37] local.INFO: Extracted packet for processing {"connection_id":129053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e4"} 
[2026-07-11 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456648979712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783785378000,"timestamp_ms":1783785378000,"timestamp_seconds":1783785378,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e4d0d0"} 
[2026-07-11 21:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456648979712001,"66":2144,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456648979712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:31:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456648979712001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":129053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:31:37] local.INFO: GPS data processed {"connection_id":129053,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:31:37] local.INFO: Acknowledgment sent {"connection_id":129053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:31:40] local.INFO: TCP Data received {"connection_id":128872,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e84788012ced010007157080001a00972a..."} 
[2026-07-11 21:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e84788012ced010007157080001a00972a..."} 
[2026-07-11 21:31:40] local.INFO: Processing buffer {"connection_id":128872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e84788012ced010007157080001a00972a..."} 
[2026-07-11 21:31:40] local.INFO: Packet analysis {"connection_id":128872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:31:40] local.INFO: Extracted packet for processing {"connection_id":128872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:31:40] local.INFO: GPS Element Parsed {"raw_longitude":753729792,"raw_latitude":118845568,"longitude_deg":75.3729792,"latitude_deg":11.8845568,"altitude":26,"angle":151,"satellites":42,"speed":28,"hex_longitude":"2ced0100","hex_latitude":"07157080","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649111808001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345661746825920512,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1374442280851693568,"note":"Value kept but may cause issues"} 
[2026-07-11 21:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783785605000,"timestamp_ms":1783785605000,"timestamp_seconds":1783785605,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e84788"} 
[2026-07-11 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-07-11 21:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649111808001,"66":27463,"192":206,"83":41216,"24":28,"16":345661746825920512,"44":-1374442280851693568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-07-11 21:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649111808001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:31:40] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-11 21:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345661746825920512,"km_value":345661746825920.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:31:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1374442280851693568,"description":"Unknown IO ID 44"} 
[2026-07-11 21:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649111808001,"power":27463,"unknown_192":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1374442280851693568}} 
[2026-07-11 21:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":128872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:31:40] local.INFO: GPS data processed {"connection_id":128872,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:31:40] local.INFO: Acknowledgment sent {"connection_id":128872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:31:58] local.INFO: TCP Data received {"connection_id":129777,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:31:58] local.INFO: Processing buffer {"connection_id":129777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:31:58] local.INFO: IMEI packet received {"connection_id":129777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":129777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:32:03] local.INFO: TCP Data received {"connection_id":129778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:32:03] local.INFO: Processing buffer {"connection_id":129778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:32:03] local.INFO: IMEI packet received {"connection_id":129778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":129778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:32:04] local.INFO: TCP Data received {"connection_id":129777,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:32:04] local.INFO: Processing buffer {"connection_id":129777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:32:04] local.INFO: IMEI packet received {"connection_id":129777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":129777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:32:05] local.INFO: TCP Data received {"connection_id":129777,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:32:05] local.INFO: Processing buffer {"connection_id":129777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:32:05] local.INFO: Packet analysis {"connection_id":129777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:32:05] local.INFO: Extracted packet for processing {"connection_id":129777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:32:05] 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-07-11 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:32:05] 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-07-11 21:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":129777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:32:05] local.INFO: GPS data processed {"connection_id":129777,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:32:05] local.INFO: Acknowledgment sent {"connection_id":129777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:32:08] local.INFO: TCP Data received {"connection_id":129778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:32:08] local.INFO: Processing buffer {"connection_id":129778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:32:08] local.INFO: IMEI packet received {"connection_id":129778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":129778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:32:09] local.INFO: TCP Data received {"connection_id":129778,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e87a50012ced0f40071550b80019009f2b..."} 
[2026-07-11 21:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e87a50012ced0f40071550b80019009f2b..."} 
[2026-07-11 21:32:09] local.INFO: Processing buffer {"connection_id":129778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e87a50012ced0f40071550b80019009f2b..."} 
[2026-07-11 21:32:09] local.INFO: Packet analysis {"connection_id":129778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:32:09] local.INFO: Extracted packet for processing {"connection_id":129778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:32:09] local.INFO: GPS Element Parsed {"raw_longitude":753733440,"raw_latitude":118837432,"longitude_deg":75.373344,"latitude_deg":11.8837432,"altitude":25,"angle":159,"satellites":43,"speed":28,"hex_longitude":"2ced0f40","hex_latitude":"071550b8","is_valid_coordinates":true} 
[2026-07-11 21:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649114880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345662176322650112,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1368812781319454720,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785618000,"timestamp_ms":1783785618000,"timestamp_seconds":1783785618,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e87a50"} 
[2026-07-11 21:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:32:09] 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-07-11 21:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 21:32: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-07-11 21:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649114880001,"66":27234,"96":206,"83":41216,"24":28,"16":345662176322650112,"44":-1368812781319454720},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,83,24,16,44]} 
[2026-07-11 21:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649114880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:32:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-11 21:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345662176322650112,"km_value":345662176322650.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1368812781319454720,"description":"Unknown IO ID 44"} 
[2026-07-11 21:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649114880001,"power":27234,"unknown_96":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1368812781319454720}} 
[2026-07-11 21:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":129778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:32:09] local.INFO: GPS data processed {"connection_id":129778,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:32:09] local.INFO: Acknowledgment sent {"connection_id":129778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:32:37] local.INFO: TCP Data received {"connection_id":129777,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:32:37] local.INFO: Processing buffer {"connection_id":129777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:32:37] local.INFO: Packet analysis {"connection_id":129777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:32:37] local.INFO: Extracted packet for processing {"connection_id":129777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:32:37] 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-07-11 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:32:37] 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-07-11 21:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:32:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":129777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:32:37] local.INFO: GPS data processed {"connection_id":129777,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:32:37] local.INFO: Acknowledgment sent {"connection_id":129777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:32:40] local.INFO: TCP Data received {"connection_id":129778,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e8ad18012ced1b0007152e80001d00a62d..."} 
[2026-07-11 21:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e8ad18012ced1b0007152e80001d00a62d..."} 
[2026-07-11 21:32:40] local.INFO: Processing buffer {"connection_id":129778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e8ad18012ced1b0007152e80001d00a62d..."} 
[2026-07-11 21:32:40] local.INFO: Packet analysis {"connection_id":129778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:32:40] local.INFO: Extracted packet for processing {"connection_id":129778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:32:40] local.INFO: GPS Element Parsed {"raw_longitude":753736448,"raw_latitude":118828672,"longitude_deg":75.3736448,"latitude_deg":11.8828672,"altitude":29,"angle":166,"satellites":45,"speed":28,"hex_longitude":"2ced1b00","hex_latitude":"07152e80","is_valid_coordinates":true} 
[2026-07-11 21:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649118208001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345662627294216192,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1364801762903410688,"note":"Value kept but may cause issues"} 
[2026-07-11 21:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783785631000,"timestamp_ms":1783785631000,"timestamp_seconds":1783785631,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e8ad18"} 
[2026-07-11 21:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:32:40] 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-07-11 21:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649118208001,"66":27343,"94":206,"83":41216,"24":28,"16":345662627294216192,"44":-1364801762903410688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-07-11 21:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649118208001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:32:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-11 21:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345662627294216192,"km_value":345662627294216.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1364801762903410688,"description":"Unknown IO ID 44"} 
[2026-07-11 21:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649118208001,"power":27343,"unknown_94":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1364801762903410688}} 
[2026-07-11 21:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":129778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:32:40] local.INFO: GPS data processed {"connection_id":129778,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:32:40] local.INFO: Acknowledgment sent {"connection_id":129778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:32:59] local.INFO: TCP Data received {"connection_id":129055,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:32:59] local.INFO: Processing buffer {"connection_id":129055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:32:59] local.INFO: IMEI packet received {"connection_id":129055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":129055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:33:03] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:03] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:03] local.INFO: IMEI packet received {"connection_id":129056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":129056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:33:03] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:03] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:03] local.INFO: IMEI packet received {"connection_id":129056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":129056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:33:04] local.INFO: TCP Data received {"connection_id":129055,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:33:04] local.INFO: Processing buffer {"connection_id":129055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:33:04] local.INFO: IMEI packet received {"connection_id":129055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":129055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:33:05] local.INFO: TCP Data received {"connection_id":129055,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:33:05] local.INFO: Processing buffer {"connection_id":129055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:33:05] local.INFO: Packet analysis {"connection_id":129055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:33:05] local.INFO: Extracted packet for processing {"connection_id":129055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:33:05] 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-07-11 21:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:33:05] 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-07-11 21:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:33:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":129055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:33:05] local.INFO: GPS data processed {"connection_id":129055,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:33:05] local.INFO: Acknowledgment sent {"connection_id":129055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:33:06] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:06] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:06] local.INFO: IMEI packet received {"connection_id":129056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":129056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:33:08] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:08] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:33:08] local.INFO: IMEI packet received {"connection_id":129056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":129056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:33:09] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e8dfe0012ced23c007150a88001a00a62b..."} 
[2026-07-11 21:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e8dfe0012ced23c007150a88001a00a62b..."} 
[2026-07-11 21:33:09] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e8dfe0012ced23c007150a88001a00a62b..."} 
[2026-07-11 21:33:09] local.INFO: Packet analysis {"connection_id":129056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:33:09] local.INFO: Extracted packet for processing {"connection_id":129056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e8"} 
[2026-07-11 21:33:09] local.INFO: GPS Element Parsed {"raw_longitude":753738688,"raw_latitude":118819464,"longitude_deg":75.3738688,"latitude_deg":11.8819464,"altitude":26,"angle":166,"satellites":43,"speed":30,"hex_longitude":"2ced23c0","hex_latitude":"07150a88","is_valid_coordinates":true} 
[2026-07-11 21:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649121536001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345663086855716864,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361494431929303040,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785644000,"timestamp_ms":1783785644000,"timestamp_seconds":1783785644,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e8dfe0"} 
[2026-07-11 21:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:33:09] 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-07-11 21:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649121536001,"66":27343,"94":206,"83":41216,"24":30,"16":345663086855716864,"44":-1361494431929303040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-07-11 21:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649121536001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:33:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-11 21:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345663086855716864,"km_value":345663086855716.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:33:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361494431929303040,"description":"Unknown IO ID 44"} 
[2026-07-11 21:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649121536001,"power":27343,"unknown_94":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1361494431929303040}} 
[2026-07-11 21:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":129056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:33:09] local.INFO: GPS data processed {"connection_id":129056,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:33:09] local.INFO: Acknowledgment sent {"connection_id":129056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:33:13] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e90ec0012ced2c400714e840001b00a82c..."} 
[2026-07-11 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e90ec0012ced2c400714e840001b00a82c..."} 
[2026-07-11 21:33:13] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e90ec0012ced2c400714e840001b00a82c..."} 
[2026-07-11 21:33:13] local.INFO: Packet analysis {"connection_id":129056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:33:13] local.INFO: Extracted packet for processing {"connection_id":129056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:33:13] local.INFO: GPS Element Parsed {"raw_longitude":753740864,"raw_latitude":118810688,"longitude_deg":75.3740864,"latitude_deg":11.8810688,"altitude":27,"angle":168,"satellites":44,"speed":27,"hex_longitude":"2ced2c40","hex_latitude":"0714e840","is_valid_coordinates":true} 
[2026-07-11 21:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649124864001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345663524942381056,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359031525885442048,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783785656000,"timestamp_ms":1783785656000,"timestamp_seconds":1783785656,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e90ec0"} 
[2026-07-11 21:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649124864001,"66":27321,"94":206,"83":41216,"24":27,"16":345663524942381056,"44":-1359031525885442048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-07-11 21:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649124864001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:33:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-11 21:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345663524942381056,"km_value":345663524942381.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359031525885442048,"description":"Unknown IO ID 44"} 
[2026-07-11 21:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649124864001,"power":27321,"unknown_94":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1359031525885442048}} 
[2026-07-11 21:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":129056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:33:13] local.INFO: GPS data processed {"connection_id":129056,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:33:13] local.INFO: Acknowledgment sent {"connection_id":129056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:33:37] local.INFO: TCP Data received {"connection_id":129055,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:33:37] local.INFO: Processing buffer {"connection_id":129055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:33:37] local.INFO: Packet analysis {"connection_id":129055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:33:37] local.INFO: Extracted packet for processing {"connection_id":129055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:33:37] 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-07-11 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:33:37] 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-07-11 21: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-07-11 21:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:33:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":129055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:33:37] local.INFO: GPS data processed {"connection_id":129055,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:33:37] local.INFO: Acknowledgment sent {"connection_id":129055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:33:44] local.INFO: TCP Data received {"connection_id":129056,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51eae768012ced33400713fba0001900842d..."} 
[2026-07-11 21:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51eae768012ced33400713fba0001900842d..."} 
[2026-07-11 21:33:44] local.INFO: Processing buffer {"connection_id":129056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51eae768012ced33400713fba0001900842d..."} 
[2026-07-11 21:33:44] local.INFO: Packet analysis {"connection_id":129056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ea"} 
[2026-07-11 21:33:44] local.INFO: Extracted packet for processing {"connection_id":129056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ea"} 
[2026-07-11 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":753742656,"raw_latitude":118750112,"longitude_deg":75.3742656,"latitude_deg":11.8750112,"altitude":25,"angle":132,"satellites":45,"speed":17,"hex_longitude":"2ced3340","hex_latitude":"0713fba0","is_valid_coordinates":true} 
[2026-07-11 21:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649156864001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345666660268507136,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1357553782274693120,"note":"Value kept but may cause issues"} 
[2026-07-11 21:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783785777000,"timestamp_ms":1783785777000,"timestamp_seconds":1783785777,"priority":1,"record_length":96,"hex_timestamp":"0000019f51eae768"} 
[2026-07-11 21:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 21:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649156864001,"66":27343,"26":206,"83":41216,"24":17,"16":345666660268507136,"44":-1357553782274693120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-11 21:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649156864001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345666660268507136,"km_value":345666660268507.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1357553782274693120,"description":"Unknown IO ID 44"} 
[2026-07-11 21:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649156864001,"power":27343,"unknown_26":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1357553782274693120}} 
[2026-07-11 21:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":129056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:33:44] local.INFO: GPS data processed {"connection_id":129056,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:33:44] local.INFO: Acknowledgment sent {"connection_id":129056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:33:58] local.INFO: TCP Data received {"connection_id":128873,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:33:58] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:33:58] local.INFO: IMEI packet received {"connection_id":128873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":128873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:34:03] local.INFO: TCP Data received {"connection_id":129057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:34:03] local.INFO: Processing buffer {"connection_id":129057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:34:03] local.INFO: IMEI packet received {"connection_id":129057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":129057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:34:04] local.INFO: TCP Data received {"connection_id":128873,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:34:04] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:34:04] local.INFO: IMEI packet received {"connection_id":128873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":128873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:34:05] local.INFO: TCP Data received {"connection_id":128873,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:34:05] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:34:05] local.INFO: Packet analysis {"connection_id":128873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:34:05] local.INFO: Extracted packet for processing {"connection_id":128873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:34:05] 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-07-11 21:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:34:05] 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-07-11 21:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:34:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":128873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:34:05] local.INFO: GPS data processed {"connection_id":128873,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:34:05] local.INFO: Acknowledgment sent {"connection_id":128873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:34:08] local.INFO: TCP Data received {"connection_id":129057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:34:08] local.INFO: Processing buffer {"connection_id":129057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:34:08] local.INFO: IMEI packet received {"connection_id":129057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":129057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:34:09] local.INFO: TCP Data received {"connection_id":129057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51eaeb50012ced34800713fab8001800792e..."} 
[2026-07-11 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51eaeb50012ced34800713fab8001800792e..."} 
[2026-07-11 21:34:09] local.INFO: Processing buffer {"connection_id":129057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51eaeb50012ced34800713fab8001800792e..."} 
[2026-07-11 21:34:09] local.INFO: Packet analysis {"connection_id":129057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ea"} 
[2026-07-11 21:34:09] local.INFO: Extracted packet for processing {"connection_id":129057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ea"} 
[2026-07-11 21:34:09] local.INFO: GPS Element Parsed {"raw_longitude":753742976,"raw_latitude":118749880,"longitude_deg":75.3742976,"latitude_deg":11.874988,"altitude":24,"angle":121,"satellites":46,"speed":14,"hex_longitude":"2ced3480","hex_latitude":"0713fab8","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649158912001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345666677448376320,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354668663764180992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785778000,"timestamp_ms":1783785778000,"timestamp_seconds":1783785778,"priority":1,"record_length":96,"hex_timestamp":"0000019f51eaeb50"} 
[2026-07-11 21:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649158912001,"66":27267,"26":206,"83":41216,"24":14,"16":345666677448376320,"44":-1354668663764180992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-11 21:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649158912001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:34:09] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-11 21:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345666677448376320,"km_value":345666677448376.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354668663764180992,"description":"Unknown IO ID 44"} 
[2026-07-11 21:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649158912001,"power":27267,"unknown_26":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1354668663764180992}} 
[2026-07-11 21:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":129057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:34:09] local.INFO: GPS data processed {"connection_id":129057,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:34:09] local.INFO: Acknowledgment sent {"connection_id":129057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:34:38] local.INFO: TCP Data received {"connection_id":128873,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:34:38] local.INFO: Processing buffer {"connection_id":128873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:34:38] local.INFO: Packet analysis {"connection_id":128873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:34:38] local.INFO: Extracted packet for processing {"connection_id":128873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:34: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-07-11 21:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:34:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":128873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:34:38] local.INFO: GPS data processed {"connection_id":128873,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:34:38] local.INFO: Acknowledgment sent {"connection_id":128873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:34:40] local.INFO: TCP Data received {"connection_id":129057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51eaf708012ced38c00713f8a80017006c2e..."} 
[2026-07-11 21:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51eaf708012ced38c00713f8a80017006c2e..."} 
[2026-07-11 21:34:40] local.INFO: Processing buffer {"connection_id":129057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51eaf708012ced38c00713f8a80017006c2e..."} 
[2026-07-11 21:34:40] local.INFO: Packet analysis {"connection_id":129057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ea"} 
[2026-07-11 21:34:40] local.INFO: Extracted packet for processing {"connection_id":129057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ea"} 
[2026-07-11 21:34:40] local.INFO: GPS Element Parsed {"raw_longitude":753744064,"raw_latitude":118749352,"longitude_deg":75.3744064,"latitude_deg":11.8749352,"altitude":23,"angle":108,"satellites":46,"speed":14,"hex_longitude":"2ced38c0","hex_latitude":"0713f8a8","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649159168001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345666733282951168,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354316820043352064,"note":"Value kept but may cause issues"} 
[2026-07-11 21:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783785781000,"timestamp_ms":1783785781000,"timestamp_seconds":1783785781,"priority":1,"record_length":96,"hex_timestamp":"0000019f51eaf708"} 
[2026-07-11 21:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649159168001,"66":27376,"26":206,"83":41216,"24":14,"16":345666733282951168,"44":-1354316820043352064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-11 21:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649159168001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:34:40] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-11 21:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345666733282951168,"km_value":345666733282951.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354316820043352064,"description":"Unknown IO ID 44"} 
[2026-07-11 21:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649159168001,"power":27376,"unknown_26":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1354316820043352064}} 
[2026-07-11 21:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":129057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:34:40] local.INFO: GPS data processed {"connection_id":129057,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:34:40] local.INFO: Acknowledgment sent {"connection_id":129057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:34:50] local.INFO: TCP Data received {"connection_id":131042,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:34:50] local.INFO: Processing buffer {"connection_id":131042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:34:50] local.INFO: IMEI packet received {"connection_id":131042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":131042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:34:58] local.INFO: TCP Data received {"connection_id":129779,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:34:58] local.INFO: Processing buffer {"connection_id":129779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:34:58] local.INFO: IMEI packet received {"connection_id":129779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":129779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:35:03] local.INFO: TCP Data received {"connection_id":131043,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:35:03] local.INFO: Processing buffer {"connection_id":131043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:35:03] local.INFO: IMEI packet received {"connection_id":131043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":131043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:35:04] local.INFO: TCP Data received {"connection_id":129779,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:35:04] local.INFO: Processing buffer {"connection_id":129779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:35:04] local.INFO: IMEI packet received {"connection_id":129779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":129779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:35:05] local.INFO: TCP Data received {"connection_id":129779,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:35:05] local.INFO: Processing buffer {"connection_id":129779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:35:05] local.INFO: Packet analysis {"connection_id":129779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:35:05] local.INFO: Extracted packet for processing {"connection_id":129779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:35:05] 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-07-11 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:35:05] 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-07-11 21:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":129779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:35:05] local.INFO: GPS data processed {"connection_id":129779,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:35:05] local.INFO: Acknowledgment sent {"connection_id":129779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:35:08] local.INFO: TCP Data received {"connection_id":131043,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:35:08] local.INFO: Processing buffer {"connection_id":131043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:35:08] local.INFO: IMEI packet received {"connection_id":131043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":131043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:35:09] local.INFO: TCP Data received {"connection_id":131043,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51eb3970012ced5b400713ef88001a00692e..."} 
[2026-07-11 21:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51eb3970012ced5b400713ef88001a00692e..."} 
[2026-07-11 21:35:09] local.INFO: Processing buffer {"connection_id":131043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51eb3970012ced5b400713ef88001a00692e..."} 
[2026-07-11 21:35:09] local.INFO: Packet analysis {"connection_id":131043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51eb"} 
[2026-07-11 21:35:09] local.INFO: Extracted packet for processing {"connection_id":131043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51eb"} 
[2026-07-11 21:35:09] local.INFO: GPS Element Parsed {"raw_longitude":753752896,"raw_latitude":118747016,"longitude_deg":75.3752896,"latitude_deg":11.8747016,"altitude":26,"angle":105,"satellites":46,"speed":25,"hex_longitude":"2ced5b40","hex_latitude":"0713ef88","is_valid_coordinates":true} 
[2026-07-11 21:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649159936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345667171369615360,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1353120551392466944,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785798000,"timestamp_ms":1783785798000,"timestamp_seconds":1783785798,"priority":1,"record_length":96,"hex_timestamp":"0000019f51eb3970"} 
[2026-07-11 21:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:35:09] 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-07-11 21:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649159936001,"66":27365,"26":206,"83":41216,"24":25,"16":345667171369615360,"44":-1353120551392466944},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-11 21:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649159936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:35:09] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-11 21:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345667171369615360,"km_value":345667171369615.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1353120551392466944,"description":"Unknown IO ID 44"} 
[2026-07-11 21:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649159936001,"power":27365,"unknown_26":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1353120551392466944}} 
[2026-07-11 21:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":131043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:35:09] local.INFO: GPS data processed {"connection_id":131043,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:35:09] local.INFO: Acknowledgment sent {"connection_id":131043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:35:37] local.INFO: TCP Data received {"connection_id":129779,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:35:37] local.INFO: Processing buffer {"connection_id":129779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:35:37] local.INFO: Packet analysis {"connection_id":129779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:35:37] local.INFO: Extracted packet for processing {"connection_id":129779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:35:37] 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-07-11 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:35:37] 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-07-11 21:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":129779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:35:37] local.INFO: GPS data processed {"connection_id":129779,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:35:37] local.INFO: Acknowledgment sent {"connection_id":129779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:35:40] local.INFO: TCP Data received {"connection_id":131043,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51eb6c38012ced7a800713e938001f005c2d..."} 
[2026-07-11 21:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51eb6c38012ced7a800713e938001f005c2d..."} 
[2026-07-11 21:35:40] local.INFO: Processing buffer {"connection_id":131043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51eb6c38012ced7a800713e938001f005c2d..."} 
[2026-07-11 21:35:40] local.INFO: Packet analysis {"connection_id":131043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51eb"} 
[2026-07-11 21:35:40] local.INFO: Extracted packet for processing {"connection_id":131043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51eb"} 
[2026-07-11 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":753760896,"raw_latitude":118745400,"longitude_deg":75.3760896,"latitude_deg":11.87454,"altitude":31,"angle":92,"satellites":45,"speed":24,"hex_longitude":"2ced7a80","hex_latitude":"0713e938","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649164288001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345667557916672000,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1343409664696547328,"note":"Value kept but may cause issues"} 
[2026-07-11 21:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783785811000,"timestamp_ms":1783785811000,"timestamp_seconds":1783785811,"priority":1,"record_length":96,"hex_timestamp":"0000019f51eb6c38"} 
[2026-07-11 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-07-11 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 21:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649164288001,"66":27397,"26":206,"83":41216,"24":24,"16":345667557916672000,"44":-1343409664696547328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-11 21:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649164288001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:35:40] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-11 21:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345667557916672000,"km_value":345667557916672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1343409664696547328,"description":"Unknown IO ID 44"} 
[2026-07-11 21:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649164288001,"power":27397,"unknown_26":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1343409664696547328}} 
[2026-07-11 21:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":131043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:35:40] local.INFO: GPS data processed {"connection_id":131043,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:35:40] local.INFO: Acknowledgment sent {"connection_id":131043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:36:04] local.INFO: TCP Data received {"connection_id":128874,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:04] local.INFO: Processing buffer {"connection_id":128874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:04] local.INFO: IMEI packet received {"connection_id":128874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":128874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:36:04] local.INFO: TCP Data received {"connection_id":131044,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:36:04] local.INFO: Processing buffer {"connection_id":131044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:36:04] local.INFO: IMEI packet received {"connection_id":131044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":131044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:36:08] local.INFO: TCP Data received {"connection_id":131044,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:36:08] local.INFO: Processing buffer {"connection_id":131044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:36:08] local.INFO: IMEI packet received {"connection_id":131044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":131044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:36:09] local.INFO: TCP Data received {"connection_id":128874,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:09] local.INFO: Processing buffer {"connection_id":128874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:09] local.INFO: IMEI packet received {"connection_id":128874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":128874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:36:10] local.INFO: TCP Data received {"connection_id":128874,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:36:10] local.INFO: Processing buffer {"connection_id":128874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:36:10] local.INFO: Packet analysis {"connection_id":128874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:36:10] local.INFO: Extracted packet for processing {"connection_id":128874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:36:10] 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-07-11 21:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:36:10] 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-07-11 21:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:36:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":128874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:36:10] local.INFO: GPS data processed {"connection_id":128874,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:36:10] local.INFO: Acknowledgment sent {"connection_id":128874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:36:13] local.INFO: TCP Data received {"connection_id":131044,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:36:13] local.INFO: Processing buffer {"connection_id":131044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:36:13] local.INFO: IMEI packet received {"connection_id":131044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":131044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:36:14] local.INFO: TCP Data received {"connection_id":131044,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ebaab8012ced9e800713e8880024005e27..."} 
[2026-07-11 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ebaab8012ced9e800713e8880024005e27..."} 
[2026-07-11 21:36:14] local.INFO: Processing buffer {"connection_id":131044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ebaab8012ced9e800713e8880024005e27..."} 
[2026-07-11 21:36:14] local.INFO: Packet analysis {"connection_id":131044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51eb"} 
[2026-07-11 21:36:14] local.INFO: Extracted packet for processing {"connection_id":131044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51eb"} 
[2026-07-11 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":753770112,"raw_latitude":118745224,"longitude_deg":75.3770112,"latitude_deg":11.8745224,"altitude":36,"angle":94,"satellites":39,"speed":25,"hex_longitude":"2ced9e80","hex_latitude":"0713e888","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649167616001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345667996003336192,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1334613571674753024,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783785827000,"timestamp_ms":1783785827000,"timestamp_seconds":1783785827,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ebaab8"} 
[2026-07-11 21:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:36:14] 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-07-11 21: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-07-11 21:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649167616001,"66":27300,"26":206,"83":41216,"24":25,"16":345667996003336192,"44":-1334613571674753024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-11 21:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649167616001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345667996003336192,"km_value":345667996003336.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1334613571674753024,"description":"Unknown IO ID 44"} 
[2026-07-11 21:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649167616001,"power":27300,"unknown_26":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1334613571674753024}} 
[2026-07-11 21:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":131044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:36:14] local.INFO: GPS data processed {"connection_id":131044,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:36:14] local.INFO: Acknowledgment sent {"connection_id":131044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:36:14] local.INFO: TCP Data received {"connection_id":128874,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:36:14] local.INFO: Processing buffer {"connection_id":128874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51e96898012d196680071fef80003b011a21..."} 
[2026-07-11 21:36:14] local.INFO: Packet analysis {"connection_id":128874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:36:14] local.INFO: Extracted packet for processing {"connection_id":128874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51e9"} 
[2026-07-11 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649056768001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783785679000,"timestamp_ms":1783785679000,"timestamp_seconds":1783785679,"priority":1,"record_length":96,"hex_timestamp":"0000019f51e96898"} 
[2026-07-11 21:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:36:14] 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-07-11 21:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-11 21:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649056768001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649056768001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649056768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":128874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:36:15] local.INFO: GPS data processed {"connection_id":128874,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:36:15] local.INFO: Acknowledgment sent {"connection_id":128874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:36:19] local.INFO: TCP Data received {"connection_id":131044,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ebdd80012cedc3000713e6f80022005a2a..."} 
[2026-07-11 21:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ebdd80012cedc3000713e6f80022005a2a..."} 
[2026-07-11 21:36:19] local.INFO: Processing buffer {"connection_id":131044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ebdd80012cedc3000713e6f80022005a2a..."} 
[2026-07-11 21:36:19] local.INFO: Packet analysis {"connection_id":131044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51eb"} 
[2026-07-11 21:36:19] local.INFO: Extracted packet for processing {"connection_id":131044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51eb"} 
[2026-07-11 21:36:19] local.INFO: GPS Element Parsed {"raw_longitude":753779456,"raw_latitude":118744824,"longitude_deg":75.3779456,"latitude_deg":11.8744824,"altitude":34,"angle":90,"satellites":42,"speed":28,"hex_longitude":"2cedc300","hex_latitude":"0713e6f8","is_valid_coordinates":true} 
[2026-07-11 21:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649171712001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345668438384967680,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1324480472513214464,"note":"Value kept but may cause issues"} 
[2026-07-11 21:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783785840000,"timestamp_ms":1783785840000,"timestamp_seconds":1783785840,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ebdd80"} 
[2026-07-11 21:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:36: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-07-11 21:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 21:36:19] 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-07-11 21:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":131044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":131044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":131044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649171712001,"66":27397,"194":206,"83":41216,"24":28,"16":345668438384967680,"44":-1324480472513214464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-07-11 21:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649171712001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:36:19] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-11 21:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345668438384967680,"km_value":345668438384967.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1324480472513214464,"description":"Unknown IO ID 44"} 
[2026-07-11 21:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649171712001,"power":27397,"unknown_194":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1324480472513214464}} 
[2026-07-11 21:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":131044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:36:19] local.INFO: GPS data processed {"connection_id":131044,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:36:19] local.INFO: Acknowledgment sent {"connection_id":131044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:36:58] local.INFO: TCP Data received {"connection_id":131045,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:58] local.INFO: Processing buffer {"connection_id":131045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:58] local.INFO: IMEI packet received {"connection_id":131045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":131045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:36:58] local.INFO: TCP Data received {"connection_id":131045,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:58] local.INFO: Processing buffer {"connection_id":131045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:36:58] local.INFO: IMEI packet received {"connection_id":131045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":131045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:37:01] local.INFO: TCP Data received {"connection_id":128875,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:37:01] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:37:01] local.INFO: IMEI packet received {"connection_id":128875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":128875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:37:03] local.INFO: TCP Data received {"connection_id":128875,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:37:03] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:37:03] local.INFO: IMEI packet received {"connection_id":128875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":128875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:37:04] local.INFO: TCP Data received {"connection_id":131045,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:37:04] local.INFO: Processing buffer {"connection_id":131045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:37:04] local.INFO: IMEI packet received {"connection_id":131045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":131045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:37:06] local.INFO: TCP Data received {"connection_id":131045,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:37:06] local.INFO: Processing buffer {"connection_id":131045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:37:06] local.INFO: Packet analysis {"connection_id":131045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:37:06] local.INFO: Extracted packet for processing {"connection_id":131045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":131045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":131045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":131045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":131045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:37:06] local.INFO: GPS data processed {"connection_id":131045,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:37:06] local.INFO: Acknowledgment sent {"connection_id":131045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:37:08] local.INFO: TCP Data received {"connection_id":128875,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:37:08] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:37:08] local.INFO: IMEI packet received {"connection_id":128875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":128875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:37:09] local.INFO: TCP Data received {"connection_id":128875,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ec0c60012cede7c00713e5580024005925..."} 
[2026-07-11 21:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ec0c60012cede7c00713e5580024005925..."} 
[2026-07-11 21:37:09] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ec0c60012cede7c00713e5580024005925..."} 
[2026-07-11 21:37:09] local.INFO: Packet analysis {"connection_id":128875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ec"} 
[2026-07-11 21:37:09] local.INFO: Extracted packet for processing {"connection_id":128875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ec"} 
[2026-07-11 21:37:09] local.INFO: GPS Element Parsed {"raw_longitude":753788864,"raw_latitude":118744408,"longitude_deg":75.3788864,"latitude_deg":11.8744408,"altitude":36,"angle":89,"satellites":37,"speed":33,"hex_longitude":"2cede7c0","hex_latitude":"0713e558","is_valid_coordinates":true} 
[2026-07-11 21:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649175040001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345668885061566464,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1314206635863377920,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785852000,"timestamp_ms":1783785852000,"timestamp_seconds":1783785852,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ec0c60"} 
[2026-07-11 21:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:37:09] 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-07-11 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649175040001,"66":27376,"194":206,"83":41216,"24":33,"16":345668885061566464,"44":-1314206635863377920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-07-11 21:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649175040001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:37:09] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-11 21:37:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345668885061566464,"km_value":345668885061566.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:37:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1314206635863377920,"description":"Unknown IO ID 44"} 
[2026-07-11 21:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649175040001,"power":27376,"unknown_194":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1314206635863377920}} 
[2026-07-11 21:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":128875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:37:10] local.INFO: GPS data processed {"connection_id":128875,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:37:10] local.INFO: Acknowledgment sent {"connection_id":128875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:37:38] local.INFO: TCP Data received {"connection_id":131045,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:37:38] local.INFO: Processing buffer {"connection_id":131045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:37:38] local.INFO: Packet analysis {"connection_id":131045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:37:38] local.INFO: Extracted packet for processing {"connection_id":131045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:37: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-07-11 21:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:37:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:37:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":131045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:37:38] local.INFO: GPS data processed {"connection_id":131045,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:37:38] local.INFO: Acknowledgment sent {"connection_id":131045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:37:50] local.INFO: TCP Data received {"connection_id":128875,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ec3b40012cee0d800713e5d00022005a29..."} 
[2026-07-11 21:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ec3b40012cee0d800713e5d00022005a29..."} 
[2026-07-11 21:37:50] local.INFO: Processing buffer {"connection_id":128875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ec3b40012cee0d800713e5d00022005a29..."} 
[2026-07-11 21:37:50] local.INFO: Packet analysis {"connection_id":128875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ec"} 
[2026-07-11 21:37:50] local.INFO: Extracted packet for processing {"connection_id":128875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ec"} 
[2026-07-11 21:37:50] local.INFO: GPS Element Parsed {"raw_longitude":753798528,"raw_latitude":118744528,"longitude_deg":75.3798528,"latitude_deg":11.8744528,"altitude":34,"angle":90,"satellites":41,"speed":31,"hex_longitude":"2cee0d80","hex_latitude":"0713e5d0","is_valid_coordinates":true} 
[2026-07-11 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649178112001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345669344623067136,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1303862430469367808,"note":"Value kept but may cause issues"} 
[2026-07-11 21:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783785864000,"timestamp_ms":1783785864000,"timestamp_seconds":1783785864,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ec3b40"} 
[2026-07-11 21:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:37: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-07-11 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:37:50] 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-07-11 21:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":128875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":128875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":128875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649178112001,"66":27397,"38":206,"83":41216,"24":31,"16":345669344623067136,"44":-1303862430469367808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-11 21:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649178112001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:37:50] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-11 21:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345669344623067136,"km_value":345669344623067.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:37:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1303862430469367808,"description":"Unknown IO ID 44"} 
[2026-07-11 21:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649178112001,"power":27397,"unknown_38":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1303862430469367808}} 
[2026-07-11 21:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":128875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:37:50] local.INFO: GPS data processed {"connection_id":128875,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:37:50] local.INFO: Acknowledgment sent {"connection_id":128875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:37:58] local.INFO: TCP Data received {"connection_id":129781,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:37:58] local.INFO: Processing buffer {"connection_id":129781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:37:58] local.INFO: IMEI packet received {"connection_id":129781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":129781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:38:02] local.INFO: TCP Data received {"connection_id":129782,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:38:02] local.INFO: Processing buffer {"connection_id":129782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:38:02] local.INFO: IMEI packet received {"connection_id":129782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":129782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:38:03] local.INFO: TCP Data received {"connection_id":129782,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:38:03] local.INFO: Processing buffer {"connection_id":129782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:38:03] local.INFO: IMEI packet received {"connection_id":129782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":129782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:38:04] local.INFO: TCP Data received {"connection_id":129781,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:38:04] local.INFO: Processing buffer {"connection_id":129781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:38:04] local.INFO: IMEI packet received {"connection_id":129781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":129781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:38:05] local.INFO: TCP Data received {"connection_id":129781,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:38:05] local.INFO: Processing buffer {"connection_id":129781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:38:05] local.INFO: Packet analysis {"connection_id":129781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:38:05] local.INFO: Extracted packet for processing {"connection_id":129781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:38:05] 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-07-11 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":129781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:38:05] local.INFO: GPS data processed {"connection_id":129781,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:38:05] local.INFO: Acknowledgment sent {"connection_id":129781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:38:06] local.INFO: TCP Data received {"connection_id":129782,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:38:06] local.INFO: Processing buffer {"connection_id":129782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:38:06] local.INFO: IMEI packet received {"connection_id":129782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":129782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:38:07] local.INFO: TCP Data received {"connection_id":129782,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51eedb20012cef5ac00713d5400027005b2c..."} 
[2026-07-11 21:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51eedb20012cef5ac00713d5400027005b2c..."} 
[2026-07-11 21:38:07] local.INFO: Processing buffer {"connection_id":129782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51eedb20012cef5ac00713d5400027005b2c..."} 
[2026-07-11 21:38:07] local.INFO: Packet analysis {"connection_id":129782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:38:07] local.INFO: Extracted packet for processing {"connection_id":129782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:38:07] local.INFO: GPS Element Parsed {"raw_longitude":753883840,"raw_latitude":118740288,"longitude_deg":75.388384,"latitude_deg":11.8740288,"altitude":39,"angle":91,"satellites":44,"speed":33,"hex_longitude":"2cef5ac0","hex_latitude":"0713d540","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649222144001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345673424841998336,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1209779419504764928,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783786036000,"timestamp_ms":1783786036000,"timestamp_seconds":1783786036,"priority":1,"record_length":96,"hex_timestamp":"0000019f51eedb20"} 
[2026-07-11 21:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649222144001,"66":27332,"37":206,"83":41216,"24":33,"16":345673424841998336,"44":-1209779419504764928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-07-11 21:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649222144001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:38:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-11 21:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-11 21:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345673424841998336,"km_value":345673424841998.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:38:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1209779419504764928,"description":"Unknown IO ID 44"} 
[2026-07-11 21:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649222144001,"power":27332,"unknown_37":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1209779419504764928}} 
[2026-07-11 21:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":129782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:38:07] local.INFO: GPS data processed {"connection_id":129782,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:38:07] local.INFO: Acknowledgment sent {"connection_id":129782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:38:37] local.INFO: TCP Data received {"connection_id":129781,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:38:37] local.INFO: Processing buffer {"connection_id":129781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:38:37] local.INFO: Packet analysis {"connection_id":129781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:38:37] local.INFO: Extracted packet for processing {"connection_id":129781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:38:37] 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-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":129781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:38:37] local.INFO: GPS data processed {"connection_id":129781,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:38:37] local.INFO: Acknowledgment sent {"connection_id":129781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:38:38] local.INFO: TCP Data received {"connection_id":129782,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51eefa60012cef6fc00713d398002800692d..."} 
[2026-07-11 21:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51eefa60012cef6fc00713d398002800692d..."} 
[2026-07-11 21:38:38] local.INFO: Processing buffer {"connection_id":129782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51eefa60012cef6fc00713d398002800692d..."} 
[2026-07-11 21:38:38] local.INFO: Packet analysis {"connection_id":129782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:38:38] local.INFO: Extracted packet for processing {"connection_id":129782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":753889216,"raw_latitude":118739864,"longitude_deg":75.3889216,"latitude_deg":11.8739864,"altitude":40,"angle":105,"satellites":45,"speed":24,"hex_longitude":"2cef6fc0","hex_latitude":"0713d398","is_valid_coordinates":true} 
[2026-07-11 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649225216001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345673682540036096,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1199435214110769152,"note":"Value kept but may cause issues"} 
[2026-07-11 21:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783786044000,"timestamp_ms":1783786044000,"timestamp_seconds":1783786044,"priority":1,"record_length":96,"hex_timestamp":"0000019f51eefa60"} 
[2026-07-11 21:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 21:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":129782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":129782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":129782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649225216001,"66":27397,"180":206,"83":41472,"24":24,"16":345673682540036096,"44":-1199435214110769152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-11 21:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649225216001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:38:38] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-11 21:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345673682540036096,"km_value":345673682540036.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:38:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1199435214110769152,"description":"Unknown IO ID 44"} 
[2026-07-11 21:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649225216001,"power":27397,"unknown_180":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-1199435214110769152}} 
[2026-07-11 21:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":129782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:38:38] local.INFO: GPS data processed {"connection_id":129782,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:38:38] local.INFO: Acknowledgment sent {"connection_id":129782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:38:58] local.INFO: TCP Data received {"connection_id":131046,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:38:58] local.INFO: Processing buffer {"connection_id":131046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:38:58] local.INFO: IMEI packet received {"connection_id":131046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":131046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:39:04] local.INFO: TCP Data received {"connection_id":131046,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:39:04] local.INFO: Processing buffer {"connection_id":131046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:39:04] local.INFO: IMEI packet received {"connection_id":131046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":131046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:39:05] local.INFO: TCP Data received {"connection_id":131046,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:39:05] local.INFO: Processing buffer {"connection_id":131046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:39:05] local.INFO: Packet analysis {"connection_id":131046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:39:05] local.INFO: Extracted packet for processing {"connection_id":131046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:39:05] 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-07-11 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":131046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:39:05] local.INFO: GPS data processed {"connection_id":131046,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:39:05] local.INFO: Acknowledgment sent {"connection_id":131046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:39:06] local.INFO: TCP Data received {"connection_id":129059,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:39:06] local.INFO: Processing buffer {"connection_id":129059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:39:06] local.INFO: IMEI packet received {"connection_id":129059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":129059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:39:08] local.INFO: TCP Data received {"connection_id":129059,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:39:08] local.INFO: Processing buffer {"connection_id":129059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:39:08] local.INFO: IMEI packet received {"connection_id":129059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":129059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:39:09] local.INFO: TCP Data received {"connection_id":129059,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ef0a00012cef79400713cfb8002900772c..."} 
[2026-07-11 21:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ef0a00012cef79400713cfb8002900772c..."} 
[2026-07-11 21:39:09] local.INFO: Processing buffer {"connection_id":129059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ef0a00012cef79400713cfb8002900772c..."} 
[2026-07-11 21:39:09] local.INFO: Packet analysis {"connection_id":129059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:39:09] local.INFO: Extracted packet for processing {"connection_id":129059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:39:09] local.INFO: GPS Element Parsed {"raw_longitude":753891648,"raw_latitude":118738872,"longitude_deg":75.3891648,"latitude_deg":11.8738872,"altitude":41,"angle":119,"satellites":44,"speed":25,"hex_longitude":"2cef7940","hex_latitude":"0713cfb8","is_valid_coordinates":true} 
[2026-07-11 21:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649227264001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345673807094087680,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1193524239599953920,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786048000,"timestamp_ms":1783786048000,"timestamp_seconds":1783786048,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ef0a00"} 
[2026-07-11 21:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:39:09] 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-07-11 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649227264001,"66":27376,"180":206,"83":41472,"24":25,"16":345673807094087680,"44":-1193524239599953920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-11 21:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649227264001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:39:09] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-11 21:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345673807094087680,"km_value":345673807094087.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1193524239599953920,"description":"Unknown IO ID 44"} 
[2026-07-11 21:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649227264001,"power":27376,"unknown_180":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-1193524239599953920}} 
[2026-07-11 21:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":129059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:39:09] local.INFO: GPS data processed {"connection_id":129059,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:39:09] local.INFO: Acknowledgment sent {"connection_id":129059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:39:11] local.INFO: TCP Data received {"connection_id":129059,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ef1d88012cef84000713c820002900842d..."} 
[2026-07-11 21:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ef1d88012cef84000713c820002900842d..."} 
[2026-07-11 21:39:11] local.INFO: Processing buffer {"connection_id":129059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ef1d88012cef84000713c820002900842d..."} 
[2026-07-11 21:39:11] local.INFO: Packet analysis {"connection_id":129059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:39:11] local.INFO: Extracted packet for processing {"connection_id":129059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:39:11] local.INFO: GPS Element Parsed {"raw_longitude":753894400,"raw_latitude":118736928,"longitude_deg":75.38944,"latitude_deg":11.8736928,"altitude":41,"angle":132,"satellites":45,"speed":27,"hex_longitude":"2cef8400","hex_latitude":"0713c820","is_valid_coordinates":true} 
[2026-07-11 21:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649228288001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345673970302844928,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1190850227321456640,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783786053000,"timestamp_ms":1783786053000,"timestamp_seconds":1783786053,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ef1d88"} 
[2026-07-11 21:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649228288001,"66":27234,"180":206,"83":41472,"24":27,"16":345673970302844928,"44":-1190850227321456640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-11 21:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649228288001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:39:11] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-11 21:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345673970302844928,"km_value":345673970302844.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1190850227321456640,"description":"Unknown IO ID 44"} 
[2026-07-11 21:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649228288001,"power":27234,"unknown_180":206,"unknown_83":41472,"ignition":27,"odometer":null,"unknown_44":-1190850227321456640}} 
[2026-07-11 21:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":129059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:39:11] local.INFO: GPS data processed {"connection_id":129059,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:39:11] local.INFO: Acknowledgment sent {"connection_id":129059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:39:37] local.INFO: TCP Data received {"connection_id":131046,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:39:37] local.INFO: Processing buffer {"connection_id":131046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:39:37] local.INFO: Packet analysis {"connection_id":131046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:39:37] local.INFO: Extracted packet for processing {"connection_id":131046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:39:37] 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-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":131046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":131046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":131046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:39:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":131046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:39:37] local.INFO: GPS data processed {"connection_id":131046,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:39:37] local.INFO: Acknowledgment sent {"connection_id":131046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:39:43] local.INFO: TCP Data received {"connection_id":129059,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ef4c68012cef9cc00713ae50002800822c..."} 
[2026-07-11 21:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ef4c68012cef9cc00713ae50002800822c..."} 
[2026-07-11 21:39:43] local.INFO: Processing buffer {"connection_id":129059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ef4c68012cef9cc00713ae50002800822c..."} 
[2026-07-11 21:39:43] local.INFO: Packet analysis {"connection_id":129059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:39:43] local.INFO: Extracted packet for processing {"connection_id":129059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:39:43] local.INFO: GPS Element Parsed {"raw_longitude":753900736,"raw_latitude":118730320,"longitude_deg":75.3900736,"latitude_deg":11.873032,"altitude":40,"angle":130,"satellites":44,"speed":31,"hex_longitude":"2cef9cc0","hex_latitude":"0713ae50","is_valid_coordinates":true} 
[2026-07-11 21:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649229568001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345674408389509120,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1187824371322314752,"note":"Value kept but may cause issues"} 
[2026-07-11 21:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783786065000,"timestamp_ms":1783786065000,"timestamp_seconds":1783786065,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ef4c68"} 
[2026-07-11 21:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649229568001,"66":27463,"15":206,"83":41472,"24":31,"16":345674408389509120,"44":-1187824371322314752},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649229568001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:39:43] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:39:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345674408389509120,"km_value":345674408389509.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1187824371322314752,"description":"Unknown IO ID 44"} 
[2026-07-11 21:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649229568001,"power":27463,"unknown_15":206,"unknown_83":41472,"ignition":31,"odometer":null,"unknown_44":-1187824371322314752}} 
[2026-07-11 21:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":129059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:39:43] local.INFO: GPS data processed {"connection_id":129059,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:39:43] local.INFO: Acknowledgment sent {"connection_id":129059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:40:03] local.INFO: TCP Data received {"connection_id":129060,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:40:03] local.INFO: Processing buffer {"connection_id":129060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:40:03] local.INFO: IMEI packet received {"connection_id":129060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":129060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:40:04] local.INFO: TCP Data received {"connection_id":129784,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:40:04] local.INFO: Processing buffer {"connection_id":129784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:40:04] local.INFO: IMEI packet received {"connection_id":129784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":129784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:40:08] local.INFO: TCP Data received {"connection_id":129060,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:40:08] local.INFO: Processing buffer {"connection_id":129060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:40:08] local.INFO: IMEI packet received {"connection_id":129060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":129060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:40:09] local.INFO: TCP Data received {"connection_id":129060,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ef5820012cefa3c00713a9a8002800742c..."} 
[2026-07-11 21:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ef5820012cefa3c00713a9a8002800742c..."} 
[2026-07-11 21:40:09] local.INFO: Processing buffer {"connection_id":129060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ef5820012cefa3c00713a9a8002800742c..."} 
[2026-07-11 21:40:09] local.INFO: Packet analysis {"connection_id":129060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:40:09] local.INFO: Extracted packet for processing {"connection_id":129060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:40:09] local.INFO: GPS Element Parsed {"raw_longitude":753902528,"raw_latitude":118729128,"longitude_deg":75.3902528,"latitude_deg":11.8729128,"altitude":40,"angle":116,"satellites":44,"speed":23,"hex_longitude":"2cefa3c0","hex_latitude":"0713a9a8","is_valid_coordinates":true} 
[2026-07-11 21:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649232640001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345674507173756928,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1180857865650417664,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786068000,"timestamp_ms":1783786068000,"timestamp_seconds":1783786068,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ef5820"} 
[2026-07-11 21:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:40:09] 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-07-11 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 21:40: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-07-11 21:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649232640001,"66":27463,"15":206,"83":41472,"24":23,"16":345674507173756928,"44":-1180857865650417664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649232640001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:40:09] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:40:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345674507173756928,"km_value":345674507173756.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1180857865650417664,"description":"Unknown IO ID 44"} 
[2026-07-11 21:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649232640001,"power":27463,"unknown_15":206,"unknown_83":41472,"ignition":23,"odometer":null,"unknown_44":-1180857865650417664}} 
[2026-07-11 21:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":129060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:40:09] local.INFO: GPS data processed {"connection_id":129060,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:40:09] local.INFO: Acknowledgment sent {"connection_id":129060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:40:09] local.INFO: TCP Data received {"connection_id":129784,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:40:09] local.INFO: Processing buffer {"connection_id":129784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:40:09] local.INFO: IMEI packet received {"connection_id":129784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":129784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:40:10] local.INFO: TCP Data received {"connection_id":129784,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:40:10] local.INFO: Processing buffer {"connection_id":129784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:40:10] local.INFO: Packet analysis {"connection_id":129784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:40:10] local.INFO: Extracted packet for processing {"connection_id":129784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:40:10] 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-07-11 21:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:40:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":129784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:40:10] local.INFO: GPS data processed {"connection_id":129784,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:40:10] local.INFO: Acknowledgment sent {"connection_id":129784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:40:14] local.INFO: TCP Data received {"connection_id":129784,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:40:14] local.INFO: Processing buffer {"connection_id":129784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:40:14] local.INFO: Packet analysis {"connection_id":129784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:40:14] local.INFO: Extracted packet for processing {"connection_id":129784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:40:14] 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-07-11 21:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:40:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":129784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:40:15] local.INFO: GPS data processed {"connection_id":129784,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:40:15] local.INFO: Acknowledgment sent {"connection_id":129784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:40:27] local.INFO: TCP Data received {"connection_id":129783,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:40:27] local.INFO: Processing buffer {"connection_id":129783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:40:27] local.INFO: IMEI packet received {"connection_id":129783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":129783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:40:40] local.INFO: TCP Data received {"connection_id":129060,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ef63d8012cefaa400713a778002700652b..."} 
[2026-07-11 21:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ef63d8012cefaa400713a778002700652b..."} 
[2026-07-11 21:40:40] local.INFO: Processing buffer {"connection_id":129060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ef63d8012cefaa400713a778002700652b..."} 
[2026-07-11 21:40:40] local.INFO: Packet analysis {"connection_id":129060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:40:40] local.INFO: Extracted packet for processing {"connection_id":129060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:40:40] local.INFO: GPS Element Parsed {"raw_longitude":753904192,"raw_latitude":118728568,"longitude_deg":75.3904192,"latitude_deg":11.8728568,"altitude":39,"angle":101,"satellites":43,"speed":23,"hex_longitude":"2cefaa40","hex_latitude":"0713a778","is_valid_coordinates":true} 
[2026-07-11 21:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649233408001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345674593073102848,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1178887540813748224,"note":"Value kept but may cause issues"} 
[2026-07-11 21:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786071000,"timestamp_ms":1783786071000,"timestamp_seconds":1783786071,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ef63d8"} 
[2026-07-11 21:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 21:40: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-07-11 21:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649233408001,"66":27234,"15":206,"83":41472,"24":23,"16":345674593073102848,"44":-1178887540813748224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649233408001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:40:40] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345674593073102848,"km_value":345674593073102.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1178887540813748224,"description":"Unknown IO ID 44"} 
[2026-07-11 21:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649233408001,"power":27234,"unknown_15":206,"unknown_83":41472,"ignition":23,"odometer":null,"unknown_44":-1178887540813748224}} 
[2026-07-11 21:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":129060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:40:40] local.INFO: GPS data processed {"connection_id":129060,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:40:40] local.INFO: Acknowledgment sent {"connection_id":129060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:40:44] local.INFO: TCP Data received {"connection_id":131047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:40:44] local.INFO: Processing buffer {"connection_id":131047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:40:44] local.INFO: IMEI packet received {"connection_id":131047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":131047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:41:02] local.INFO: TCP Data received {"connection_id":129061,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:41:02] local.INFO: Processing buffer {"connection_id":129061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:41:02] local.INFO: IMEI packet received {"connection_id":129061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":129061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:41:03] local.INFO: TCP Data received {"connection_id":131048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:41:03] local.INFO: Processing buffer {"connection_id":131048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:41:03] local.INFO: IMEI packet received {"connection_id":131048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":131048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:41:03] local.INFO: TCP Data received {"connection_id":129061,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:41:03] local.INFO: Processing buffer {"connection_id":129061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:41:03] local.INFO: IMEI packet received {"connection_id":129061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":129061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:41:05] local.INFO: TCP Data received {"connection_id":129061,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:41:05] local.INFO: Processing buffer {"connection_id":129061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:41:05] local.INFO: Packet analysis {"connection_id":129061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:41:05] local.INFO: Extracted packet for processing {"connection_id":129061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:41:05] 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-07-11 21:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:41:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":129061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:41:05] local.INFO: GPS data processed {"connection_id":129061,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:41:05] local.INFO: Acknowledgment sent {"connection_id":129061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:41:08] local.INFO: TCP Data received {"connection_id":131048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:41:08] local.INFO: Processing buffer {"connection_id":131048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:41:08] local.INFO: IMEI packet received {"connection_id":131048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":131048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:41:08] local.INFO: TCP Data received {"connection_id":131048,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51efb5e0012cefc8400713a320002500612c..."} 
[2026-07-11 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51efb5e0012cefc8400713a320002500612c..."} 
[2026-07-11 21:41:08] local.INFO: Processing buffer {"connection_id":131048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51efb5e0012cefc8400713a320002500612c..."} 
[2026-07-11 21:41:08] local.INFO: Packet analysis {"connection_id":131048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:41:08] local.INFO: Extracted packet for processing {"connection_id":131048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ef"} 
[2026-07-11 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":753911872,"raw_latitude":118727456,"longitude_deg":75.3911872,"latitude_deg":11.8727456,"altitude":37,"angle":97,"satellites":44,"speed":8,"hex_longitude":"2cefc840","hex_latitude":"0713a320","is_valid_coordinates":true} 
[2026-07-11 21:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649234176001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345674962440290304,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1177057953465272320,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783786092000,"timestamp_ms":1783786092000,"timestamp_seconds":1783786092,"priority":1,"record_length":96,"hex_timestamp":"0000019f51efb5e0"} 
[2026-07-11 21:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:41:08] local.INFO: IO Element 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-07-11 21:41: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-07-11 21:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:41: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-07-11 21:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649234176001,"66":27245,"15":206,"83":41472,"24":8,"16":345674962440290304,"44":-1177057953465272320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649234176001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:41:08] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345674962440290304,"km_value":345674962440290.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:41:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1177057953465272320,"description":"Unknown IO ID 44"} 
[2026-07-11 21:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649234176001,"power":27245,"unknown_15":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1177057953465272320}} 
[2026-07-11 21:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":131048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:41:09] local.INFO: GPS data processed {"connection_id":131048,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:41:09] local.INFO: Acknowledgment sent {"connection_id":131048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:41:09] local.INFO: TCP Data received {"connection_id":129061,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:41:09] local.INFO: Processing buffer {"connection_id":129061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:41:09] local.INFO: Packet analysis {"connection_id":129061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:41:09] local.INFO: Extracted packet for processing {"connection_id":129061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:41:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:41:09] 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-07-11 21:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:41:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:41:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":129061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:41:10] local.INFO: GPS data processed {"connection_id":129061,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:41:10] local.INFO: Acknowledgment sent {"connection_id":129061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:41:40] local.INFO: TCP Data received {"connection_id":131048,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f007e8012cefd0000713a220002500622d..."} 
[2026-07-11 21:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f007e8012cefd0000713a220002500622d..."} 
[2026-07-11 21:41:40] local.INFO: Processing buffer {"connection_id":131048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f007e8012cefd0000713a220002500622d..."} 
[2026-07-11 21:41:40] local.INFO: Packet analysis {"connection_id":131048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f0"} 
[2026-07-11 21:41:40] local.INFO: Extracted packet for processing {"connection_id":131048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f0"} 
[2026-07-11 21:41:40] local.INFO: GPS Element Parsed {"raw_longitude":753913856,"raw_latitude":118727200,"longitude_deg":75.3913856,"latitude_deg":11.87272,"altitude":37,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cefd000","hex_latitude":"0713a220","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649239552001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675056929570816,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1168613704164237312,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786113000,"timestamp_ms":1783786113000,"timestamp_seconds":1783786113,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f007e8"} 
[2026-07-11 21:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 21:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649239552001,"66":27213,"15":206,"83":41472,"24":0,"16":345675056929570816,"44":-1168613704164237312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649239552001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:41:40] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:41:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675056929570816,"km_value":345675056929570.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1168613704164237312,"description":"Unknown IO ID 44"} 
[2026-07-11 21:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649239552001,"power":27213,"unknown_15":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1168613704164237312}} 
[2026-07-11 21:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":131048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:41:40] local.INFO: GPS data processed {"connection_id":131048,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:41:40] local.INFO: Acknowledgment sent {"connection_id":131048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:41:41] local.INFO: TCP Data received {"connection_id":129061,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:41:41] local.INFO: Processing buffer {"connection_id":129061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51ee0060012d196680071fef80003b011a22..."} 
[2026-07-11 21:41:41] local.INFO: Packet analysis {"connection_id":129061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:41:41] local.INFO: Extracted packet for processing {"connection_id":129061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51ee"} 
[2026-07-11 21:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649133824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783785980000,"timestamp_ms":1783785980000,"timestamp_seconds":1783785980,"priority":1,"record_length":96,"hex_timestamp":"0000019f51ee0060"} 
[2026-07-11 21:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:41:41] 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-07-11 21:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649133824001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649133824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:41:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649133824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":129061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:41:41] local.INFO: GPS data processed {"connection_id":129061,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:41:41] local.INFO: Acknowledgment sent {"connection_id":129061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:42:03] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:42:03] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:42:03] local.INFO: IMEI packet received {"connection_id":128879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":128879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:42:03] local.INFO: TCP Data received {"connection_id":128878,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:42:03] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:42:03] local.INFO: IMEI packet received {"connection_id":128878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":128878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:42:08] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:42:08] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:42:08] local.INFO: IMEI packet received {"connection_id":128879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":128879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:42:08] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f03e98012cefd4000713a158002500722b..."} 
[2026-07-11 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f03e98012cefd4000713a158002500722b..."} 
[2026-07-11 21:42:08] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f03e98012cefd4000713a158002500722b..."} 
[2026-07-11 21:42:08] local.INFO: Packet analysis {"connection_id":128879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f0"} 
[2026-07-11 21:42:08] local.INFO: Extracted packet for processing {"connection_id":128879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f0"} 
[2026-07-11 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":753914880,"raw_latitude":118727000,"longitude_deg":75.391488,"latitude_deg":11.8727,"altitude":37,"angle":114,"satellites":43,"speed":7,"hex_longitude":"2cefd400","hex_latitude":"0713a158","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649244928001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675108469178368,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1166432273094795264,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783786127000,"timestamp_ms":1783786127000,"timestamp_seconds":1783786127,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f03e98"} 
[2026-07-11 21:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":77,"data_length":795,"current_offset":136} 
[2026-07-11 21:42:08] 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-07-11 21: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-07-11 21:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:42: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-07-11 21:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649244928001,"66":27376,"15":206,"83":41472,"24":7,"16":345675108469178368,"44":-1166432273094795264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649244928001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:42:08] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675108469178368,"km_value":345675108469178.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:42:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1166432273094795264,"description":"Unknown IO ID 44"} 
[2026-07-11 21:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649244928001,"power":27376,"unknown_15":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-1166432273094795264}} 
[2026-07-11 21:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":128879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:42:08] local.INFO: GPS data processed {"connection_id":128879,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:42:08] local.INFO: Acknowledgment sent {"connection_id":128879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:42:09] local.INFO: TCP Data received {"connection_id":128878,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:42:09] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:42:09] local.INFO: IMEI packet received {"connection_id":128878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":128878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:42:10] local.INFO: TCP Data received {"connection_id":128878,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:42:10] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:42:10] local.INFO: Packet analysis {"connection_id":128878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:42:10] local.INFO: Extracted packet for processing {"connection_id":128878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:42:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:42:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":128878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:42:10] local.INFO: GPS data processed {"connection_id":128878,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:42:10] local.INFO: Acknowledgment sent {"connection_id":128878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:42:40] local.INFO: TCP Data received {"connection_id":128879,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f065a8012cefdc0007139f68002300652c..."} 
[2026-07-11 21:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f065a8012cefdc0007139f68002300652c..."} 
[2026-07-11 21:42:40] local.INFO: Processing buffer {"connection_id":128879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f065a8012cefdc0007139f68002300652c..."} 
[2026-07-11 21:42:40] local.INFO: Packet analysis {"connection_id":128879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f0"} 
[2026-07-11 21:42:40] local.INFO: Extracted packet for processing {"connection_id":128879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f0"} 
[2026-07-11 21:42:40] local.INFO: GPS Element Parsed {"raw_longitude":753916928,"raw_latitude":118726504,"longitude_deg":75.3916928,"latitude_deg":11.8726504,"altitude":35,"angle":101,"satellites":44,"speed":7,"hex_longitude":"2cefdc00","hex_latitude":"07139f68","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649248512001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675207253426176,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1165306373188003840,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786137000,"timestamp_ms":1783786137000,"timestamp_seconds":1783786137,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f065a8"} 
[2026-07-11 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-07-11 21:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649248512001,"66":27234,"15":206,"83":41472,"24":7,"16":345675207253426176,"44":-1165306373188003840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649248512001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:42:40] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675207253426176,"km_value":345675207253426.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1165306373188003840,"description":"Unknown IO ID 44"} 
[2026-07-11 21:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649248512001,"power":27234,"unknown_15":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-1165306373188003840}} 
[2026-07-11 21:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":128879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:42:40] local.INFO: GPS data processed {"connection_id":128879,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:42:40] local.INFO: Acknowledgment sent {"connection_id":128879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:42:42] local.INFO: TCP Data received {"connection_id":128878,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:42:42] local.INFO: Processing buffer {"connection_id":128878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:42:42] local.INFO: Packet analysis {"connection_id":128878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:42:42] local.INFO: Extracted packet for processing {"connection_id":128878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:42:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:42:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":128878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:42:42] local.INFO: GPS data processed {"connection_id":128878,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:42:42] local.INFO: Acknowledgment sent {"connection_id":128878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:42:59] local.INFO: TCP Data received {"connection_id":131050,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:42:59] local.INFO: Processing buffer {"connection_id":131050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:42:59] local.INFO: IMEI packet received {"connection_id":131050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":131050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:43:04] local.INFO: TCP Data received {"connection_id":131050,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:43:04] local.INFO: Processing buffer {"connection_id":131050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:43:04] local.INFO: IMEI packet received {"connection_id":131050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":131050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:43:05] local.INFO: TCP Data received {"connection_id":131051,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:43:05] local.INFO: Processing buffer {"connection_id":131051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:43:05] local.INFO: IMEI packet received {"connection_id":131051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":131051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:43:05] local.INFO: TCP Data received {"connection_id":131050,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:43:05] local.INFO: Processing buffer {"connection_id":131050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:43:05] local.INFO: Packet analysis {"connection_id":131050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:43:05] local.INFO: Extracted packet for processing {"connection_id":131050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:43:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":131050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:43:06] local.INFO: GPS data processed {"connection_id":131050,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:43:06] local.INFO: Acknowledgment sent {"connection_id":131050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:43:08] local.INFO: TCP Data received {"connection_id":131051,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:43:08] local.INFO: Processing buffer {"connection_id":131051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:43:08] local.INFO: IMEI packet received {"connection_id":131051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":131051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:43:12] local.INFO: TCP Data received {"connection_id":131050,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:43:12] local.INFO: Processing buffer {"connection_id":131050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:43:12] local.INFO: Packet analysis {"connection_id":131050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:43:12] local.INFO: Extracted packet for processing {"connection_id":131050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:43:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":131050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:43:12] local.INFO: GPS data processed {"connection_id":131050,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:43:12] local.INFO: Acknowledgment sent {"connection_id":131050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:43:13] local.INFO: TCP Data received {"connection_id":131051,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:43:13] local.INFO: Processing buffer {"connection_id":131051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:43:13] local.INFO: IMEI packet received {"connection_id":131051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":131051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:43:14] local.INFO: TCP Data received {"connection_id":131051,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f0b7b0012cefe44007139c500024006f2c..."} 
[2026-07-11 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f0b7b0012cefe44007139c500024006f2c..."} 
[2026-07-11 21:43:14] local.INFO: Processing buffer {"connection_id":131051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f0b7b0012cefe44007139c500024006f2c..."} 
[2026-07-11 21:43:14] local.INFO: Packet analysis {"connection_id":131051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f0"} 
[2026-07-11 21:43:14] local.INFO: Extracted packet for processing {"connection_id":131051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f0"} 
[2026-07-11 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":753919040,"raw_latitude":118725712,"longitude_deg":75.391904,"latitude_deg":11.8725712,"altitude":36,"angle":111,"satellites":44,"speed":2,"hex_longitude":"2cefe440","hex_latitude":"07139c50","is_valid_coordinates":true} 
[2026-07-11 21:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649251072001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675314627608576,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1163054573374445568,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783786158000,"timestamp_ms":1783786158000,"timestamp_seconds":1783786158,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f0b7b0"} 
[2026-07-11 21:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649251072001,"66":27267,"15":206,"83":41472,"24":2,"16":345675314627608576,"44":-1163054573374445568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649251072001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:43:14] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675314627608576,"km_value":345675314627608.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1163054573374445568,"description":"Unknown IO ID 44"} 
[2026-07-11 21:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649251072001,"power":27267,"unknown_15":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-1163054573374445568}} 
[2026-07-11 21:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":131051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:43:14] local.INFO: GPS data processed {"connection_id":131051,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:43:14] local.INFO: Acknowledgment sent {"connection_id":131051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:43:44] local.INFO: TCP Data received {"connection_id":131050,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:43:44] local.INFO: Processing buffer {"connection_id":131050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:43:44] local.INFO: Packet analysis {"connection_id":131050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:43:44] local.INFO: Extracted packet for processing {"connection_id":131050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:43:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":131050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:43:44] local.INFO: GPS data processed {"connection_id":131050,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:43:44] local.INFO: Acknowledgment sent {"connection_id":131050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:43:45] local.INFO: TCP Data received {"connection_id":131051,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f109b8012cefe70007139ad00024006f2b..."} 
[2026-07-11 21:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f109b8012cefe70007139ad00024006f2b..."} 
[2026-07-11 21:43:45] local.INFO: Processing buffer {"connection_id":131051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f109b8012cefe70007139ad00024006f2b..."} 
[2026-07-11 21:43:45] local.INFO: Packet analysis {"connection_id":131051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f1"} 
[2026-07-11 21:43:45] local.INFO: Extracted packet for processing {"connection_id":131051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f1"} 
[2026-07-11 21:43:45] local.INFO: GPS Element Parsed {"raw_longitude":753919744,"raw_latitude":118725328,"longitude_deg":75.3919744,"latitude_deg":11.8725328,"altitude":36,"angle":111,"satellites":43,"speed":2,"hex_longitude":"2cefe700","hex_latitude":"07139ad0","is_valid_coordinates":true} 
[2026-07-11 21:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649256448001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675357577281536,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1160732404816785408,"note":"Value kept but may cause issues"} 
[2026-07-11 21:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783786179000,"timestamp_ms":1783786179000,"timestamp_seconds":1783786179,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f109b8"} 
[2026-07-11 21:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:43:45] 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-07-11 21:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649256448001,"66":27539,"15":206,"83":41472,"24":2,"16":345675357577281536,"44":-1160732404816785408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649256448001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:43:45] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675357577281536,"km_value":345675357577281.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:43:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1160732404816785408,"description":"Unknown IO ID 44"} 
[2026-07-11 21:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649256448001,"power":27539,"unknown_15":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-1160732404816785408}} 
[2026-07-11 21:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":131051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:43:45] local.INFO: GPS data processed {"connection_id":131051,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:43:45] local.INFO: Acknowledgment sent {"connection_id":131051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:43:59] local.INFO: TCP Data received {"connection_id":129063,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:43:59] local.INFO: Processing buffer {"connection_id":129063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:43:59] local.INFO: IMEI packet received {"connection_id":129063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":129063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:44:03] local.INFO: TCP Data received {"connection_id":129786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:44:03] local.INFO: Processing buffer {"connection_id":129786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:44:03] local.INFO: IMEI packet received {"connection_id":129786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":129786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:44:04] local.INFO: TCP Data received {"connection_id":129063,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:44:04] local.INFO: Processing buffer {"connection_id":129063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:44:04] local.INFO: IMEI packet received {"connection_id":129063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":129063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:44:05] local.INFO: TCP Data received {"connection_id":129063,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:44:05] local.INFO: Processing buffer {"connection_id":129063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:44:05] local.INFO: Packet analysis {"connection_id":129063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:44:05] local.INFO: Extracted packet for processing {"connection_id":129063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:44:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":129063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:44:05] local.INFO: GPS data processed {"connection_id":129063,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:44:05] local.INFO: Acknowledgment sent {"connection_id":129063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:44:06] local.INFO: TCP Data received {"connection_id":129786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:44:06] local.INFO: Processing buffer {"connection_id":129786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:44:06] local.INFO: IMEI packet received {"connection_id":129786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":129786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:44:07] local.INFO: TCP Data received {"connection_id":129786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f15bc0012ceff240071395f8002700702e..."} 
[2026-07-11 21:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f15bc0012ceff240071395f8002700702e..."} 
[2026-07-11 21:44:07] local.INFO: Processing buffer {"connection_id":129786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f15bc0012ceff240071395f8002700702e..."} 
[2026-07-11 21:44:07] local.INFO: Packet analysis {"connection_id":129786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f1"} 
[2026-07-11 21:44:07] local.INFO: Extracted packet for processing {"connection_id":129786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f1"} 
[2026-07-11 21:44:07] local.INFO: GPS Element Parsed {"raw_longitude":753922624,"raw_latitude":118724088,"longitude_deg":75.3922624,"latitude_deg":11.8724088,"altitude":39,"angle":112,"satellites":46,"speed":0,"hex_longitude":"2ceff240","hex_latitude":"071395f8","is_valid_coordinates":true} 
[2026-07-11 21:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649261824001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675507901136896,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1159958348630929408,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783786200000,"timestamp_ms":1783786200000,"timestamp_seconds":1783786200,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f15bc0"} 
[2026-07-11 21:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 21:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":129786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":129786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":129786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649261824001,"66":27234,"15":206,"83":41472,"24":0,"16":345675507901136896,"44":-1159958348630929408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649261824001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:44:07] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675507901136896,"km_value":345675507901136.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:44:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1159958348630929408,"description":"Unknown IO ID 44"} 
[2026-07-11 21:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649261824001,"power":27234,"unknown_15":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1159958348630929408}} 
[2026-07-11 21:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":129786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:44:07] local.INFO: GPS data processed {"connection_id":129786,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:44:07] local.INFO: Acknowledgment sent {"connection_id":129786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:44:37] local.INFO: TCP Data received {"connection_id":129063,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:44:37] local.INFO: Processing buffer {"connection_id":129063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:44:37] local.INFO: Packet analysis {"connection_id":129063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:44:37] local.INFO: Extracted packet for processing {"connection_id":129063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:44:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":129063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:44:37] local.INFO: GPS data processed {"connection_id":129063,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:44:37] local.INFO: Acknowledgment sent {"connection_id":129063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:44:39] local.INFO: TCP Data received {"connection_id":129786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f1adc8012ceff600071394d8002800702d..."} 
[2026-07-11 21:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f1adc8012ceff600071394d8002800702d..."} 
[2026-07-11 21:44:39] local.INFO: Processing buffer {"connection_id":129786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f1adc8012ceff600071394d8002800702d..."} 
[2026-07-11 21:44:39] local.INFO: Packet analysis {"connection_id":129786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f1"} 
[2026-07-11 21:44:39] local.INFO: Extracted packet for processing {"connection_id":129786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f1"} 
[2026-07-11 21:44:39] local.INFO: GPS Element Parsed {"raw_longitude":753923584,"raw_latitude":118723800,"longitude_deg":75.3923584,"latitude_deg":11.87238,"altitude":40,"angle":112,"satellites":45,"speed":0,"hex_longitude":"2ceff600","hex_latitude":"071394d8","is_valid_coordinates":true} 
[2026-07-11 21:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649267200001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675559440744448,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1156791755143251968,"note":"Value kept but may cause issues"} 
[2026-07-11 21:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783786221000,"timestamp_ms":1783786221000,"timestamp_seconds":1783786221,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f1adc8"} 
[2026-07-11 21:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649267200001,"66":27234,"15":206,"83":41472,"24":0,"16":345675559440744448,"44":-1156791755143251968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649267200001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:44:39] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675559440744448,"km_value":345675559440744.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:44:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1156791755143251968,"description":"Unknown IO ID 44"} 
[2026-07-11 21:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649267200001,"power":27234,"unknown_15":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1156791755143251968}} 
[2026-07-11 21:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":129786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:44:39] local.INFO: GPS data processed {"connection_id":129786,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:44:39] local.INFO: Acknowledgment sent {"connection_id":129786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:44:59] local.INFO: TCP Data received {"connection_id":128881,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:44:59] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:44:59] local.INFO: IMEI packet received {"connection_id":128881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":128881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:45:03] local.INFO: TCP Data received {"connection_id":128882,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:45:03] local.INFO: Processing buffer {"connection_id":128882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:45:03] local.INFO: IMEI packet received {"connection_id":128882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":128882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:45:04] local.INFO: TCP Data received {"connection_id":128881,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:45:04] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:45:04] local.INFO: IMEI packet received {"connection_id":128881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":128881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:45:05] local.INFO: TCP Data received {"connection_id":128881,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:45:05] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:45:05] local.INFO: Packet analysis {"connection_id":128881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:45:05] local.INFO: Extracted packet for processing {"connection_id":128881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":128881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:45:05] local.INFO: GPS data processed {"connection_id":128881,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:45:05] local.INFO: Acknowledgment sent {"connection_id":128881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:45:08] local.INFO: TCP Data received {"connection_id":128882,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:45:08] local.INFO: Processing buffer {"connection_id":128882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:45:08] local.INFO: IMEI packet received {"connection_id":128882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":128882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:45:09] local.INFO: TCP Data received {"connection_id":128882,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f1ffd0012cf0024007138fb0002800732c..."} 
[2026-07-11 21:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f1ffd0012cf0024007138fb0002800732c..."} 
[2026-07-11 21:45:09] local.INFO: Processing buffer {"connection_id":128882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f1ffd0012cf0024007138fb0002800732c..."} 
[2026-07-11 21:45:09] local.INFO: Packet analysis {"connection_id":128882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f1"} 
[2026-07-11 21:45:09] local.INFO: Extracted packet for processing {"connection_id":128882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f1"} 
[2026-07-11 21:45:09] local.INFO: GPS Element Parsed {"raw_longitude":753926720,"raw_latitude":118722480,"longitude_deg":75.392672,"latitude_deg":11.872248,"altitude":40,"angle":115,"satellites":44,"speed":6,"hex_longitude":"2cf00240","hex_latitude":"07138fb0","is_valid_coordinates":true} 
[2026-07-11 21:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649272576001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675722649501696,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1155736223980660736,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786242000,"timestamp_ms":1783786242000,"timestamp_seconds":1783786242,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f1ffd0"} 
[2026-07-11 21:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:45:09] 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-07-11 21:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:45:09] 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-07-11 21:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649272576001,"66":27484,"15":206,"83":41472,"24":6,"16":345675722649501696,"44":-1155736223980660736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649272576001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:45:09] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:45:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675722649501696,"km_value":345675722649501.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:45:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1155736223980660736,"description":"Unknown IO ID 44"} 
[2026-07-11 21:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649272576001,"power":27484,"unknown_15":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-1155736223980660736}} 
[2026-07-11 21:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":128882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:45:09] local.INFO: GPS data processed {"connection_id":128882,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:45:09] local.INFO: Acknowledgment sent {"connection_id":128882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:45:37] local.INFO: TCP Data received {"connection_id":128881,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:45:37] local.INFO: Processing buffer {"connection_id":128881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:45:37] local.INFO: Packet analysis {"connection_id":128881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:45:37] local.INFO: Extracted packet for processing {"connection_id":128881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:45:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":128881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:45:37] local.INFO: GPS data processed {"connection_id":128881,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:45:37] local.INFO: Acknowledgment sent {"connection_id":128881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:45:40] local.INFO: TCP Data received {"connection_id":128882,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f251d8012cf006c007138d38002400732c..."} 
[2026-07-11 21:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f251d8012cf006c007138d38002400732c..."} 
[2026-07-11 21:45:40] local.INFO: Processing buffer {"connection_id":128882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f251d8012cf006c007138d38002400732c..."} 
[2026-07-11 21:45:40] local.INFO: Packet analysis {"connection_id":128882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:45:40] local.INFO: Extracted packet for processing {"connection_id":128882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:45:40] local.INFO: GPS Element Parsed {"raw_longitude":753927872,"raw_latitude":118721848,"longitude_deg":75.3927872,"latitude_deg":11.8721848,"altitude":36,"angle":115,"satellites":44,"speed":0,"hex_longitude":"2cf006c0","hex_latitude":"07138d38","is_valid_coordinates":true} 
[2026-07-11 21:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649277952001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675787074011136,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1152288155516293120,"note":"Value kept but may cause issues"} 
[2026-07-11 21:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786263000,"timestamp_ms":1783786263000,"timestamp_seconds":1783786263,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f251d8"} 
[2026-07-11 21:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 21:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649277952001,"66":27593,"15":206,"83":41472,"24":0,"16":345675787074011136,"44":-1152288155516293120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649277952001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:45:40] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:45:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675787074011136,"km_value":345675787074011.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:45:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1152288155516293120,"description":"Unknown IO ID 44"} 
[2026-07-11 21:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649277952001,"power":27593,"unknown_15":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1152288155516293120}} 
[2026-07-11 21:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":128882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:45:40] local.INFO: GPS data processed {"connection_id":128882,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:45:40] local.INFO: Acknowledgment sent {"connection_id":128882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:45:59] local.INFO: TCP Data received {"connection_id":128883,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:45:59] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:45:59] local.INFO: IMEI packet received {"connection_id":128883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":128883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:46:03] local.INFO: TCP Data received {"connection_id":128884,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:46:03] local.INFO: Processing buffer {"connection_id":128884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:46:03] local.INFO: IMEI packet received {"connection_id":128884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":128884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:46:04] local.INFO: TCP Data received {"connection_id":128883,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:46:04] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:46:04] local.INFO: IMEI packet received {"connection_id":128883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":128883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:46:05] local.INFO: TCP Data received {"connection_id":128883,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:46:05] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:46:05] local.INFO: Packet analysis {"connection_id":128883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:46:05] local.INFO: Extracted packet for processing {"connection_id":128883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:46:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":128883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:46:06] local.INFO: GPS data processed {"connection_id":128883,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:46:06] local.INFO: Acknowledgment sent {"connection_id":128883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:46:08] local.INFO: TCP Data received {"connection_id":128884,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:46:08] local.INFO: Processing buffer {"connection_id":128884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:46:08] local.INFO: IMEI packet received {"connection_id":128884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":128884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:46:09] local.INFO: TCP Data received {"connection_id":128884,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f2a3e0012cf0080007138c80002300732c..."} 
[2026-07-11 21:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f2a3e0012cf0080007138c80002300732c..."} 
[2026-07-11 21:46:09] local.INFO: Processing buffer {"connection_id":128884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f2a3e0012cf0080007138c80002300732c..."} 
[2026-07-11 21:46:09] local.INFO: Packet analysis {"connection_id":128884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:46:09] local.INFO: Extracted packet for processing {"connection_id":128884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:46:09] local.INFO: GPS Element Parsed {"raw_longitude":753928192,"raw_latitude":118721664,"longitude_deg":75.3928192,"latitude_deg":11.8721664,"altitude":35,"angle":115,"satellites":44,"speed":0,"hex_longitude":"2cf00800","hex_latitude":"07138c80","is_valid_coordinates":true} 
[2026-07-11 21:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649283328001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345675808548847616,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1151021518121256960,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786284000,"timestamp_ms":1783786284000,"timestamp_seconds":1783786284,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f2a3e0"} 
[2026-07-11 21:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:46:09] 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-07-11 21: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-11 21:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649283328001,"66":27267,"15":206,"83":41472,"24":0,"16":345675808548847616,"44":-1151021518121256960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-11 21:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649283328001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:46:09] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-11 21:46:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345675808548847616,"km_value":345675808548847.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1151021518121256960,"description":"Unknown IO ID 44"} 
[2026-07-11 21:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649283328001,"power":27267,"unknown_15":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1151021518121256960}} 
[2026-07-11 21:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":128884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:46:09] local.INFO: GPS data processed {"connection_id":128884,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:46:09] local.INFO: Acknowledgment sent {"connection_id":128884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:46:12] local.INFO: TCP Data received {"connection_id":129064,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:46:12] local.INFO: Processing buffer {"connection_id":129064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:46:12] local.INFO: IMEI packet received {"connection_id":129064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":129064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:46:37] local.INFO: TCP Data received {"connection_id":128883,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:46:37] local.INFO: Processing buffer {"connection_id":128883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f29828012d196680071fef80003b011a21..."} 
[2026-07-11 21:46:37] local.INFO: Packet analysis {"connection_id":128883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:46:37] local.INFO: Extracted packet for processing {"connection_id":128883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f2"} 
[2026-07-11 21:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649210880001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783786281000,"timestamp_ms":1783786281000,"timestamp_seconds":1783786281,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f29828"} 
[2026-07-11 21:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-11 21:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649210880001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649210880001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649210880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":128883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:46:37] local.INFO: GPS data processed {"connection_id":128883,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:46:37] local.INFO: Acknowledgment sent {"connection_id":128883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:46:41] local.INFO: TCP Data received {"connection_id":128884,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f62268012cf0534007136bd0002100622f..."} 
[2026-07-11 21:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f62268012cf0534007136bd0002100622f..."} 
[2026-07-11 21:46:41] local.INFO: Processing buffer {"connection_id":128884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f62268012cf0534007136bd0002100622f..."} 
[2026-07-11 21:46:41] local.INFO: Packet analysis {"connection_id":128884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f6"} 
[2026-07-11 21:46:41] local.INFO: Extracted packet for processing {"connection_id":128884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f6"} 
[2026-07-11 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":753947456,"raw_latitude":118713296,"longitude_deg":75.3947456,"latitude_deg":11.8713296,"altitude":33,"angle":98,"satellites":47,"speed":6,"hex_longitude":"2cf05340","hex_latitude":"07136bd0","is_valid_coordinates":true} 
[2026-07-11 21:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649341952001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345676822161129472,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1132655275892881408,"note":"Value kept but may cause issues"} 
[2026-07-11 21:46:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 21:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783786513000,"timestamp_ms":1783786513000,"timestamp_seconds":1783786513,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f62268"} 
[2026-07-11 21:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 21:46:41] 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-07-11 21:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649341952001,"66":27245,"16":345676822161129472,"83":41472,"24":6,"44":-1132655275892881408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-11 21:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649341952001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345676822161129472,"km_value":345676822161129.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1132655275892881408,"description":"Unknown IO ID 44"} 
[2026-07-11 21:46:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649341952001,"power":27245,"odometer":null,"unknown_83":41472,"ignition":6,"unknown_44":-1132655275892881408}} 
[2026-07-11 21:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":128884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:46:41] local.INFO: GPS data processed {"connection_id":128884,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:46:41] local.INFO: Acknowledgment sent {"connection_id":128884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:46:44] local.INFO: TCP Data received {"connection_id":129787,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:46:44] local.INFO: Processing buffer {"connection_id":129787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:46:44] local.INFO: IMEI packet received {"connection_id":129787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":129787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:46:58] local.INFO: TCP Data received {"connection_id":129065,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:46:58] local.INFO: Processing buffer {"connection_id":129065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:46:58] local.INFO: IMEI packet received {"connection_id":129065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":129065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:46:59] local.INFO: TCP Data received {"connection_id":129065,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:46:59] local.INFO: Processing buffer {"connection_id":129065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:46:59] local.INFO: IMEI packet received {"connection_id":129065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":129065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:47:03] local.INFO: TCP Data received {"connection_id":129788,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:47:03] local.INFO: Processing buffer {"connection_id":129788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:47:03] local.INFO: IMEI packet received {"connection_id":129788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":129788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:47:04] local.INFO: TCP Data received {"connection_id":129065,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:47:04] local.INFO: Processing buffer {"connection_id":129065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:47:04] local.INFO: IMEI packet received {"connection_id":129065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":129065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:47:05] local.INFO: TCP Data received {"connection_id":129065,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:47:05] local.INFO: Processing buffer {"connection_id":129065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:47:05] local.INFO: Packet analysis {"connection_id":129065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:47:05] local.INFO: Extracted packet for processing {"connection_id":129065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:47:05] 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-07-11 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:47:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":129065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:47:05] local.INFO: GPS data processed {"connection_id":129065,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:47:05] local.INFO: Acknowledgment sent {"connection_id":129065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:47:08] local.INFO: TCP Data received {"connection_id":129788,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:47:08] local.INFO: Processing buffer {"connection_id":129788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:47:08] local.INFO: IMEI packet received {"connection_id":129788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":129788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:47:08] local.INFO: TCP Data received {"connection_id":129788,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f67470012cf06100071369e0002100612c..."} 
[2026-07-11 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f67470012cf06100071369e0002100612c..."} 
[2026-07-11 21:47:08] local.INFO: Processing buffer {"connection_id":129788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f67470012cf06100071369e0002100612c..."} 
[2026-07-11 21:47:08] local.INFO: Packet analysis {"connection_id":129788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f6"} 
[2026-07-11 21:47:08] local.INFO: Extracted packet for processing {"connection_id":129788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f6"} 
[2026-07-11 21:47:08] local.INFO: GPS Element Parsed {"raw_longitude":753950976,"raw_latitude":118712800,"longitude_deg":75.3950976,"latitude_deg":11.87128,"altitude":33,"angle":97,"satellites":44,"speed":3,"hex_longitude":"2cf06100","hex_latitude":"071369e0","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649347328001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345676989664854016,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1129488682405081088,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 21:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783786534000,"timestamp_ms":1783786534000,"timestamp_seconds":1783786534,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f67470"} 
[2026-07-11 21:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 21:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:47: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-07-11 21:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649347328001,"66":27234,"16":345676989664854016,"83":41472,"24":3,"44":-1129488682405081088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-11 21:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649347328001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345676989664854016,"km_value":345676989664854.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:47:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1129488682405081088,"description":"Unknown IO ID 44"} 
[2026-07-11 21:47:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649347328001,"power":27234,"odometer":null,"unknown_83":41472,"ignition":3,"unknown_44":-1129488682405081088}} 
[2026-07-11 21:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":129788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:47:08] local.INFO: GPS data processed {"connection_id":129788,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:47:08] local.INFO: Acknowledgment sent {"connection_id":129788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:47:37] local.INFO: TCP Data received {"connection_id":129065,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:47:37] local.INFO: Processing buffer {"connection_id":129065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:47:37] local.INFO: Packet analysis {"connection_id":129065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:47:37] local.INFO: Extracted packet for processing {"connection_id":129065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:47:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":129065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:47:37] local.INFO: GPS data processed {"connection_id":129065,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:47:37] local.INFO: Acknowledgment sent {"connection_id":129065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:47:40] local.INFO: TCP Data received {"connection_id":129788,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f6c678012cf067c0071369900021005d2e..."} 
[2026-07-11 21:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f6c678012cf067c0071369900021005d2e..."} 
[2026-07-11 21:47:40] local.INFO: Processing buffer {"connection_id":129788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f6c678012cf067c0071369900021005d2e..."} 
[2026-07-11 21:47:40] local.INFO: Packet analysis {"connection_id":129788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f6"} 
[2026-07-11 21:47:40] local.INFO: Extracted packet for processing {"connection_id":129788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f6"} 
[2026-07-11 21:47:40] local.INFO: GPS Element Parsed {"raw_longitude":753952704,"raw_latitude":118712720,"longitude_deg":75.3952704,"latitude_deg":11.871272,"altitude":33,"angle":93,"satellites":46,"speed":3,"hex_longitude":"2cf067c0","hex_latitude":"07136990","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649352704001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345677075564199936,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1125618401475436544,"note":"Value kept but may cause issues"} 
[2026-07-11 21:47:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 21:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786555000,"timestamp_ms":1783786555000,"timestamp_seconds":1783786555,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f6c678"} 
[2026-07-11 21:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:47:40] 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-07-11 21: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-07-11 21:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649352704001,"66":27484,"16":345677075564199936,"83":41472,"24":3,"44":-1125618401475436544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-11 21:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649352704001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345677075564199936,"km_value":345677075564199.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:47:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1125618401475436544,"description":"Unknown IO ID 44"} 
[2026-07-11 21:47:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649352704001,"power":27484,"odometer":null,"unknown_83":41472,"ignition":3,"unknown_44":-1125618401475436544}} 
[2026-07-11 21:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":129788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:47:40] local.INFO: GPS data processed {"connection_id":129788,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:47:40] local.INFO: Acknowledgment sent {"connection_id":129788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:48:03] local.INFO: TCP Data received {"connection_id":131052,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:48:03] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:48:03] local.INFO: IMEI packet received {"connection_id":131052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":131052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:48:08] local.INFO: TCP Data received {"connection_id":129789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:48:08] local.INFO: Processing buffer {"connection_id":129789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:48:08] local.INFO: IMEI packet received {"connection_id":129789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":129789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:48:08] local.INFO: TCP Data received {"connection_id":131052,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:48:08] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:48:08] local.INFO: IMEI packet received {"connection_id":131052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":131052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:48:09] local.INFO: TCP Data received {"connection_id":131052,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:48:09] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:48:09] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:48:09] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:48:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:48:09] 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-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:48:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:48:10] local.INFO: GPS data processed {"connection_id":131052,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:48:10] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:48:12] local.INFO: TCP Data received {"connection_id":129789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:48:12] local.INFO: Processing buffer {"connection_id":129789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:48:12] local.INFO: IMEI packet received {"connection_id":129789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":129789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:48:13] local.INFO: TCP Data received {"connection_id":129789,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f71880012cf06bc0071369b00023005d2e..."} 
[2026-07-11 21:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f71880012cf06bc0071369b00023005d2e..."} 
[2026-07-11 21:48:13] local.INFO: Processing buffer {"connection_id":129789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f71880012cf06bc0071369b00023005d2e..."} 
[2026-07-11 21:48:13] local.INFO: Packet analysis {"connection_id":129789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:48:13] local.INFO: Extracted packet for processing {"connection_id":129789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:48:13] local.INFO: GPS Element Parsed {"raw_longitude":753953728,"raw_latitude":118712752,"longitude_deg":75.3953728,"latitude_deg":11.8712752,"altitude":35,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2cf06bc0","hex_latitude":"071369b0","is_valid_coordinates":true} 
[2026-07-11 21:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649358080001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345677131398774784,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1123718445382660096,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 21:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783786576000,"timestamp_ms":1783786576000,"timestamp_seconds":1783786576,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f71880"} 
[2026-07-11 21:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 21:48: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-07-11 21:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649358080001,"66":27321,"16":345677131398774784,"83":41472,"24":0,"44":-1123718445382660096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-11 21:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649358080001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345677131398774784,"km_value":345677131398774.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:48:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1123718445382660096,"description":"Unknown IO ID 44"} 
[2026-07-11 21:48:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649358080001,"power":27321,"odometer":null,"unknown_83":41472,"ignition":0,"unknown_44":-1123718445382660096}} 
[2026-07-11 21:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":129789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:48:13] local.INFO: GPS data processed {"connection_id":129789,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:48:13] local.INFO: Acknowledgment sent {"connection_id":129789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:48:14] local.INFO: TCP Data received {"connection_id":131052,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:48:14] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:48:14] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:48:14] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:48:14] 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-07-11 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:48:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:48:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:48:14] local.INFO: GPS data processed {"connection_id":131052,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:48:14] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:48:45] local.INFO: TCP Data received {"connection_id":129789,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f76a88012cf06c80071369f00023005d2d..."} 
[2026-07-11 21:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f76a88012cf06c80071369f00023005d2d..."} 
[2026-07-11 21:48:45] local.INFO: Processing buffer {"connection_id":129789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f76a88012cf06c80071369f00023005d2d..."} 
[2026-07-11 21:48:45] local.INFO: Packet analysis {"connection_id":129789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:48:45] local.INFO: Extracted packet for processing {"connection_id":129789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":753953920,"raw_latitude":118712816,"longitude_deg":75.395392,"latitude_deg":11.8712816,"altitude":35,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2cf06c80","hex_latitude":"071369f0","is_valid_coordinates":true} 
[2026-07-11 21:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649363456001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345677144283676672,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1122592545475809280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:48:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 21:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783786597000,"timestamp_ms":1783786597000,"timestamp_seconds":1783786597,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f76a88"} 
[2026-07-11 21:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 21:48:45] 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-07-11 21:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649363456001,"66":27376,"16":345677144283676672,"83":41472,"24":0,"44":-1122592545475809280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-11 21:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649363456001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345677144283676672,"km_value":345677144283676.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:48:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1122592545475809280,"description":"Unknown IO ID 44"} 
[2026-07-11 21:48:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649363456001,"power":27376,"odometer":null,"unknown_83":41472,"ignition":0,"unknown_44":-1122592545475809280}} 
[2026-07-11 21:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":129789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:48:45] local.INFO: GPS data processed {"connection_id":129789,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:48:45] local.INFO: Acknowledgment sent {"connection_id":129789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:48:59] local.INFO: TCP Data received {"connection_id":129066,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:48:59] local.INFO: Processing buffer {"connection_id":129066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:48:59] local.INFO: IMEI packet received {"connection_id":129066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":129066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:49:03] local.INFO: TCP Data received {"connection_id":129790,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:49:03] local.INFO: Processing buffer {"connection_id":129790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:49:03] local.INFO: IMEI packet received {"connection_id":129790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":129790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:49:04] local.INFO: TCP Data received {"connection_id":129066,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:49:04] local.INFO: Processing buffer {"connection_id":129066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:49:04] local.INFO: IMEI packet received {"connection_id":129066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":129066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:49:05] local.INFO: TCP Data received {"connection_id":129066,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:49:05] local.INFO: Processing buffer {"connection_id":129066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:49:05] local.INFO: Packet analysis {"connection_id":129066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:05] local.INFO: Extracted packet for processing {"connection_id":129066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:49:05] 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-07-11 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:49:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":129066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:49:05] local.INFO: GPS data processed {"connection_id":129066,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:49:05] local.INFO: Acknowledgment sent {"connection_id":129066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:49:08] local.INFO: TCP Data received {"connection_id":129790,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:49:08] local.INFO: Processing buffer {"connection_id":129790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:49:08] local.INFO: IMEI packet received {"connection_id":129790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":129790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:49:10] local.INFO: TCP Data received {"connection_id":129790,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f7bc90012cf06c80071369f00023005d2d..."} 
[2026-07-11 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f7bc90012cf06c80071369f00023005d2d..."} 
[2026-07-11 21:49:10] local.INFO: Processing buffer {"connection_id":129790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f7bc90012cf06c80071369f00023005d2d..."} 
[2026-07-11 21:49:10] local.INFO: Packet analysis {"connection_id":129790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:10] local.INFO: Extracted packet for processing {"connection_id":129790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":753953920,"raw_latitude":118712816,"longitude_deg":75.395392,"latitude_deg":11.8712816,"altitude":35,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2cf06c80","hex_latitude":"071369f0","is_valid_coordinates":true} 
[2026-07-11 21:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649368832001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345677144283676672,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1122381439243259904,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 21:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783786618000,"timestamp_ms":1783786618000,"timestamp_seconds":1783786618,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f7bc90"} 
[2026-07-11 21:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649368832001,"66":27332,"16":345677144283676672,"83":41472,"24":0,"44":-1122381439243259904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-11 21:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649368832001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345677144283676672,"km_value":345677144283676.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1122381439243259904,"description":"Unknown IO ID 44"} 
[2026-07-11 21:49:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649368832001,"power":27332,"odometer":null,"unknown_83":41472,"ignition":0,"unknown_44":-1122381439243259904}} 
[2026-07-11 21:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":129790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:49:10] local.INFO: GPS data processed {"connection_id":129790,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:49:10] local.INFO: Acknowledgment sent {"connection_id":129790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:49:10] local.INFO: TCP Data received {"connection_id":129066,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:49:10] local.INFO: Processing buffer {"connection_id":129066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:49:10] local.INFO: Packet analysis {"connection_id":129066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:10] local.INFO: Extracted packet for processing {"connection_id":129066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:49:10] 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-07-11 21:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:49:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":129066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:49:11] local.INFO: GPS data processed {"connection_id":129066,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:49:11] local.INFO: Acknowledgment sent {"connection_id":129066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:49:41] local.INFO: TCP Data received {"connection_id":129790,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f7c848012cf06dc007136a00001f004b2d..."} 
[2026-07-11 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f7c848012cf06dc007136a00001f004b2d..."} 
[2026-07-11 21:49:41] local.INFO: Processing buffer {"connection_id":129790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f7c848012cf06dc007136a00001f004b2d..."} 
[2026-07-11 21:49:41] local.INFO: Packet analysis {"connection_id":129790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:41] local.INFO: Extracted packet for processing {"connection_id":129790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":753954240,"raw_latitude":118712832,"longitude_deg":75.395424,"latitude_deg":11.8712832,"altitude":31,"angle":75,"satellites":45,"speed":5,"hex_longitude":"2cf06dc0","hex_latitude":"07136a00","is_valid_coordinates":true} 
[2026-07-11 21:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649374208001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345677157168578560,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1122381439243259904,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 21:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783786621000,"timestamp_ms":1783786621000,"timestamp_seconds":1783786621,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f7c848"} 
[2026-07-11 21:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 21:49: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-07-11 21:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649374208001,"66":27332,"16":345677157168578560,"83":41472,"24":5,"44":-1122381439243259904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-11 21:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649374208001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345677157168578560,"km_value":345677157168578.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1122381439243259904,"description":"Unknown IO ID 44"} 
[2026-07-11 21:49:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649374208001,"power":27332,"odometer":null,"unknown_83":41472,"ignition":5,"unknown_44":-1122381439243259904}} 
[2026-07-11 21:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":129790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:49:41] local.INFO: GPS data processed {"connection_id":129790,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:49:41] local.INFO: Acknowledgment sent {"connection_id":129790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:49:42] local.INFO: TCP Data received {"connection_id":129066,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:49:42] local.INFO: Processing buffer {"connection_id":129066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:49:42] local.INFO: Packet analysis {"connection_id":129066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:42] local.INFO: Extracted packet for processing {"connection_id":129066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:49:42] 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-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:49:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":129066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:49:42] local.INFO: GPS data processed {"connection_id":129066,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:49:42] local.INFO: Acknowledgment sent {"connection_id":129066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:49:59] local.INFO: TCP Data received {"connection_id":131055,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:49:59] local.INFO: Processing buffer {"connection_id":131055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:49:59] local.INFO: IMEI packet received {"connection_id":131055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":131055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:50:03] local.INFO: TCP Data received {"connection_id":131056,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:50:03] local.INFO: Processing buffer {"connection_id":131056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:50:03] local.INFO: IMEI packet received {"connection_id":131056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":131056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:50:03] local.INFO: TCP Data received {"connection_id":131055,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:50:03] local.INFO: Processing buffer {"connection_id":131055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:50:03] local.INFO: IMEI packet received {"connection_id":131055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":131055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:50:08] local.INFO: TCP Data received {"connection_id":131056,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:50:08] local.INFO: Processing buffer {"connection_id":131056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:50:08] local.INFO: IMEI packet received {"connection_id":131056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":131056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:50:08] local.INFO: TCP Data received {"connection_id":131055,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:50:08] local.INFO: Processing buffer {"connection_id":131055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:50:08] local.INFO: Packet analysis {"connection_id":131055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:50:08] local.INFO: Extracted packet for processing {"connection_id":131055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:50:08] 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-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:50:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":131055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:50:08] local.INFO: GPS data processed {"connection_id":131055,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:50:08] local.INFO: Acknowledgment sent {"connection_id":131055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:50:10] local.INFO: TCP Data received {"connection_id":131056,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f81a50012cf0790007136ce00022003c2e..."} 
[2026-07-11 21:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f81a50012cf0790007136ce00022003c2e..."} 
[2026-07-11 21:50:10] local.INFO: Processing buffer {"connection_id":131056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f81a50012cf0790007136ce00022003c2e..."} 
[2026-07-11 21:50:10] local.INFO: Packet analysis {"connection_id":131056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f8"} 
[2026-07-11 21:50:10] local.INFO: Extracted packet for processing {"connection_id":131056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f8"} 
[2026-07-11 21:50:10] local.INFO: GPS Element Parsed {"raw_longitude":753957120,"raw_latitude":118713568,"longitude_deg":75.395712,"latitude_deg":11.8713568,"altitude":34,"angle":60,"satellites":46,"speed":5,"hex_longitude":"2cf07900","hex_latitude":"07136ce0","is_valid_coordinates":true} 
[2026-07-11 21:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649374976001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345677303197466624,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1122029595522367488,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 21:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783786642000,"timestamp_ms":1783786642000,"timestamp_seconds":1783786642,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f81a50"} 
[2026-07-11 21:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 21:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649374976001,"66":27397,"16":345677303197466624,"83":41472,"24":5,"44":-1122029595522367488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-11 21:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649374976001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345677303197466624,"km_value":345677303197466.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1122029595522367488,"description":"Unknown IO ID 44"} 
[2026-07-11 21:50:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649374976001,"power":27397,"odometer":null,"unknown_83":41472,"ignition":5,"unknown_44":-1122029595522367488}} 
[2026-07-11 21:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":131056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:50:10] local.INFO: GPS data processed {"connection_id":131056,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:50:10] local.INFO: Acknowledgment sent {"connection_id":131056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:50:40] local.INFO: TCP Data received {"connection_id":131055,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:50:40] local.INFO: Processing buffer {"connection_id":131055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:50:40] local.INFO: Packet analysis {"connection_id":131055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:50:40] local.INFO: Extracted packet for processing {"connection_id":131055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:50:40] 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-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:50:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:50:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":131055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:50:41] local.INFO: GPS data processed {"connection_id":131055,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:50:41] local.INFO: Acknowledgment sent {"connection_id":131055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:50:43] local.INFO: TCP Data received {"connection_id":131056,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fa4cd0012cf0a780071379b00027004d2e..."} 
[2026-07-11 21:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fa4cd0012cf0a780071379b00027004d2e..."} 
[2026-07-11 21:50:43] local.INFO: Processing buffer {"connection_id":131056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fa4cd0012cf0a780071379b00027004d2e..."} 
[2026-07-11 21:50:43] local.INFO: Packet analysis {"connection_id":131056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fa"} 
[2026-07-11 21:50:43] local.INFO: Extracted packet for processing {"connection_id":131056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fa"} 
[2026-07-11 21:50:43] local.INFO: GPS Element Parsed {"raw_longitude":753969024,"raw_latitude":118716848,"longitude_deg":75.3969024,"latitude_deg":11.8716848,"altitude":39,"angle":77,"satellites":46,"speed":3,"hex_longitude":"2cf0a780","hex_latitude":"071379b0","is_valid_coordinates":true} 
[2026-07-11 21:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649415168001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345677908787855360,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1106407734313922560,"note":"Value kept but may cause issues"} 
[2026-07-11 21:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783786786000,"timestamp_ms":1783786786000,"timestamp_seconds":1783786786,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fa4cd0"} 
[2026-07-11 21:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 21:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649415168001,"66":27267,"219":206,"83":41472,"24":3,"16":345677908787855360,"44":-1106407734313922560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-11 21:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649415168001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:50:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-11 21:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345677908787855360,"km_value":345677908787855.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1106407734313922560,"description":"Unknown IO ID 44"} 
[2026-07-11 21:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649415168001,"power":27267,"unknown_219":206,"unknown_83":41472,"ignition":3,"odometer":null,"unknown_44":-1106407734313922560}} 
[2026-07-11 21:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":131056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:50:43] local.INFO: GPS data processed {"connection_id":131056,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:50:43] local.INFO: Acknowledgment sent {"connection_id":131056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:50:58] local.INFO: TCP Data received {"connection_id":129067,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:50:58] local.INFO: Processing buffer {"connection_id":129067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:50:58] local.INFO: IMEI packet received {"connection_id":129067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":129067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:51:03] local.INFO: TCP Data received {"connection_id":129068,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:51:03] local.INFO: Processing buffer {"connection_id":129068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:51:03] local.INFO: IMEI packet received {"connection_id":129068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":129068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:51:04] local.INFO: TCP Data received {"connection_id":129067,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:51:04] local.INFO: Processing buffer {"connection_id":129067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:51:04] local.INFO: IMEI packet received {"connection_id":129067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":129067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:51:05] local.INFO: TCP Data received {"connection_id":129067,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:51:05] local.INFO: Processing buffer {"connection_id":129067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:51:05] local.INFO: Packet analysis {"connection_id":129067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:51:05] local.INFO: Extracted packet for processing {"connection_id":129067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 21:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:51:05] 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-07-11 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:51:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":129067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:51:05] local.INFO: GPS data processed {"connection_id":129067,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:51:05] local.INFO: Acknowledgment sent {"connection_id":129067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:51:08] local.INFO: TCP Data received {"connection_id":129068,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:51:08] local.INFO: Processing buffer {"connection_id":129068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:51:08] local.INFO: IMEI packet received {"connection_id":129068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":129068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:51:09] local.INFO: TCP Data received {"connection_id":129068,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fa5888012cf0a840071379b0002700422d..."} 
[2026-07-11 21:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fa5888012cf0a840071379b0002700422d..."} 
[2026-07-11 21:51:09] local.INFO: Processing buffer {"connection_id":129068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fa5888012cf0a840071379b0002700422d..."} 
[2026-07-11 21:51:09] local.INFO: Packet analysis {"connection_id":129068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fa"} 
[2026-07-11 21:51:09] local.INFO: Extracted packet for processing {"connection_id":129068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fa"} 
[2026-07-11 21:51:09] local.INFO: GPS Element Parsed {"raw_longitude":753969216,"raw_latitude":118716848,"longitude_deg":75.3969216,"latitude_deg":11.8716848,"altitude":39,"angle":66,"satellites":45,"speed":2,"hex_longitude":"2cf0a840","hex_latitude":"071379b0","is_valid_coordinates":true} 
[2026-07-11 21:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649417216001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345677913082822656,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1105774415616299008,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786789000,"timestamp_ms":1783786789000,"timestamp_seconds":1783786789,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fa5888"} 
[2026-07-11 21:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:51:09] 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-07-11 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 21:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649417216001,"66":27321,"219":206,"83":41472,"24":2,"16":345677913082822656,"44":-1105774415616299008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-11 21:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649417216001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:51:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-11 21:51:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345677913082822656,"km_value":345677913082822.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1105774415616299008,"description":"Unknown IO ID 44"} 
[2026-07-11 21:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649417216001,"power":27321,"unknown_219":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-1105774415616299008}} 
[2026-07-11 21:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":129068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:51:09] local.INFO: GPS data processed {"connection_id":129068,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:51:09] local.INFO: Acknowledgment sent {"connection_id":129068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:51:40] local.INFO: TCP Data received {"connection_id":129067,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:51:40] local.INFO: Processing buffer {"connection_id":129067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51f72ff0012d196680071fef80003b011a23..."} 
[2026-07-11 21:51:40] local.INFO: Packet analysis {"connection_id":129067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:51:40] local.INFO: Extracted packet for processing {"connection_id":129067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51f7"} 
[2026-07-11 21:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649287936001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786582000,"timestamp_ms":1783786582000,"timestamp_seconds":1783786582,"priority":1,"record_length":96,"hex_timestamp":"0000019f51f72ff0"} 
[2026-07-11 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-07-11 21:51:40] 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-07-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649287936001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649287936001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:51:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649287936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":129067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:51:40] local.INFO: GPS data processed {"connection_id":129067,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:51:40] local.INFO: Acknowledgment sent {"connection_id":129067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:51:43] local.INFO: TCP Data received {"connection_id":129068,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fa6058012cf0a900071379c8002700562e..."} 
[2026-07-11 21:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fa6058012cf0a900071379c8002700562e..."} 
[2026-07-11 21:51:43] local.INFO: Processing buffer {"connection_id":129068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fa6058012cf0a900071379c8002700562e..."} 
[2026-07-11 21:51:43] local.INFO: Packet analysis {"connection_id":129068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fa"} 
[2026-07-11 21:51:43] local.INFO: Extracted packet for processing {"connection_id":129068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fa"} 
[2026-07-11 21:51:43] local.INFO: GPS Element Parsed {"raw_longitude":753969408,"raw_latitude":118716872,"longitude_deg":75.3969408,"latitude_deg":11.8716872,"altitude":39,"angle":86,"satellites":46,"speed":3,"hex_longitude":"2cf0a900","hex_latitude":"071379c8","is_valid_coordinates":true} 
[2026-07-11 21:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649417984001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345677925967724544,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1105563309383766016,"note":"Value kept but may cause issues"} 
[2026-07-11 21:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783786791000,"timestamp_ms":1783786791000,"timestamp_seconds":1783786791,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fa6058"} 
[2026-07-11 21:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 21:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649417984001,"66":27343,"219":206,"83":41472,"24":3,"16":345677925967724544,"44":-1105563309383766016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-11 21:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649417984001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:51:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-11 21:51:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345677925967724544,"km_value":345677925967724.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:51:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1105563309383766016,"description":"Unknown IO ID 44"} 
[2026-07-11 21:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649417984001,"power":27343,"unknown_219":206,"unknown_83":41472,"ignition":3,"odometer":null,"unknown_44":-1105563309383766016}} 
[2026-07-11 21:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":129068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:51:43] local.INFO: GPS data processed {"connection_id":129068,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:51:43] local.INFO: Acknowledgment sent {"connection_id":129068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:51:59] local.INFO: TCP Data received {"connection_id":129791,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:51:59] local.INFO: Processing buffer {"connection_id":129791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:51:59] local.INFO: IMEI packet received {"connection_id":129791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":129791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:52:00] local.INFO: TCP Data received {"connection_id":129791,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:52:00] local.INFO: Processing buffer {"connection_id":129791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:52:00] local.INFO: IMEI packet received {"connection_id":129791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":129791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:52:03] local.INFO: TCP Data received {"connection_id":128888,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:52:03] local.INFO: Processing buffer {"connection_id":128888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:52:03] local.INFO: IMEI packet received {"connection_id":128888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":128888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:52:04] local.INFO: TCP Data received {"connection_id":129791,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:52:04] local.INFO: Processing buffer {"connection_id":129791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:52:04] local.INFO: IMEI packet received {"connection_id":129791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":129791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:52:06] local.INFO: TCP Data received {"connection_id":129791,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:52:06] local.INFO: Processing buffer {"connection_id":129791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:52:06] local.INFO: Packet analysis {"connection_id":129791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:52:06] local.INFO: Extracted packet for processing {"connection_id":129791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 21:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":129791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:52:06] local.INFO: GPS data processed {"connection_id":129791,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:52:06] local.INFO: Acknowledgment sent {"connection_id":129791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:52:08] local.INFO: TCP Data received {"connection_id":128888,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:52:08] local.INFO: Processing buffer {"connection_id":128888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:52:08] local.INFO: IMEI packet received {"connection_id":128888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":128888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:52:09] local.INFO: TCP Data received {"connection_id":128888,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fab260012cf0b48007137aa0002a00532f..."} 
[2026-07-11 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fab260012cf0b48007137aa0002a00532f..."} 
[2026-07-11 21:52:09] local.INFO: Processing buffer {"connection_id":128888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fab260012cf0b48007137aa0002a00532f..."} 
[2026-07-11 21:52:09] local.INFO: Packet analysis {"connection_id":128888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fa"} 
[2026-07-11 21:52:09] local.INFO: Extracted packet for processing {"connection_id":128888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fa"} 
[2026-07-11 21:52:09] local.INFO: GPS Element Parsed {"raw_longitude":753972352,"raw_latitude":118717088,"longitude_deg":75.3972352,"latitude_deg":11.8717088,"altitude":42,"angle":83,"satellites":47,"speed":8,"hex_longitude":"2cf0b480","hex_latitude":"07137aa0","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649418496001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345678063406678016,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1105352203151226880,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786812000,"timestamp_ms":1783786812000,"timestamp_seconds":1783786812,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fab260"} 
[2026-07-11 21:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:52:09] 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-07-11 21:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 21:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649418496001,"66":27300,"219":206,"83":41472,"24":8,"16":345678063406678016,"44":-1105352203151226880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-11 21:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649418496001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:52:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-11 21:52:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345678063406678016,"km_value":345678063406678.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:52:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1105352203151226880,"description":"Unknown IO ID 44"} 
[2026-07-11 21:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649418496001,"power":27300,"unknown_219":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1105352203151226880}} 
[2026-07-11 21:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":128888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:52:09] local.INFO: GPS data processed {"connection_id":128888,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:52:09] local.INFO: Acknowledgment sent {"connection_id":128888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:52:27] local.INFO: TCP Data received {"connection_id":128887,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:52:27] local.INFO: Processing buffer {"connection_id":128887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:52:27] local.INFO: IMEI packet received {"connection_id":128887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":128887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:52:37] local.INFO: TCP Data received {"connection_id":129791,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:52:37] local.INFO: Processing buffer {"connection_id":129791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:52:37] local.INFO: Packet analysis {"connection_id":129791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:52:37] local.INFO: Extracted packet for processing {"connection_id":129791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 21:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":129791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:52:37] local.INFO: GPS data processed {"connection_id":129791,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:52:37] local.INFO: Acknowledgment sent {"connection_id":129791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:52:40] local.INFO: TCP Data received {"connection_id":128888,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbeae0012cf19b0007131088000e00862c..."} 
[2026-07-11 21:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbeae0012cf19b0007131088000e00862c..."} 
[2026-07-11 21:52:40] local.INFO: Processing buffer {"connection_id":128888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbeae0012cf19b0007131088000e00862c..."} 
[2026-07-11 21:52:40] local.INFO: Packet analysis {"connection_id":128888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:52:40] local.INFO: Extracted packet for processing {"connection_id":128888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:52:40] local.INFO: GPS Element Parsed {"raw_longitude":754031360,"raw_latitude":118689928,"longitude_deg":75.403136,"latitude_deg":11.8689928,"altitude":14,"angle":134,"satellites":44,"speed":46,"hex_longitude":"2cf19b00","hex_latitude":"07131088","is_valid_coordinates":true} 
[2026-07-11 21:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442304001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345681314696921088,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1044835083163754496,"note":"Value kept but may cause issues"} 
[2026-07-11 21:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786892000,"timestamp_ms":1783786892000,"timestamp_seconds":1783786892,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbeae0"} 
[2026-07-11 21:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442304001,"66":27213,"197":206,"83":41472,"24":46,"16":345681314696921088,"44":-1044835083163754496},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-11 21:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442304001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:52:40] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-11 21:52:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345681314696921088,"km_value":345681314696921.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1044835083163754496,"description":"Unknown IO ID 44"} 
[2026-07-11 21:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442304001,"power":27213,"unknown_197":206,"unknown_83":41472,"ignition":46,"odometer":null,"unknown_44":-1044835083163754496}} 
[2026-07-11 21:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":128888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:52:40] local.INFO: GPS data processed {"connection_id":128888,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:52:40] local.INFO: Acknowledgment sent {"connection_id":128888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:52:44] local.INFO: TCP Data received {"connection_id":129792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:52:44] local.INFO: Processing buffer {"connection_id":129792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:52:44] local.INFO: IMEI packet received {"connection_id":129792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":129792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:52:58] local.INFO: TCP Data received {"connection_id":131057,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:52:58] local.INFO: Processing buffer {"connection_id":131057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:52:58] local.INFO: IMEI packet received {"connection_id":131057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":131057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:53:03] local.INFO: TCP Data received {"connection_id":129069,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:53:03] local.INFO: Processing buffer {"connection_id":129069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:53:03] local.INFO: IMEI packet received {"connection_id":129069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":129069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:53:04] local.INFO: TCP Data received {"connection_id":131057,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:53:04] local.INFO: Processing buffer {"connection_id":131057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:53:04] local.INFO: IMEI packet received {"connection_id":131057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":131057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:53:05] local.INFO: TCP Data received {"connection_id":131057,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:53:05] local.INFO: Processing buffer {"connection_id":131057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:53:05] local.INFO: Packet analysis {"connection_id":131057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:53:05] local.INFO: Extracted packet for processing {"connection_id":131057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 21:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":131057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:53:05] local.INFO: GPS data processed {"connection_id":131057,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:53:05] local.INFO: Acknowledgment sent {"connection_id":131057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:53:08] local.INFO: TCP Data received {"connection_id":129069,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:53:08] local.INFO: Processing buffer {"connection_id":129069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:53:08] local.INFO: IMEI packet received {"connection_id":129069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":129069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:53:13] local.INFO: TCP Data received {"connection_id":129069,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fc0e08012cf1b5c00712f6c8000c00822d..."} 
[2026-07-11 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fc0e08012cf1b5c00712f6c8000c00822d..."} 
[2026-07-11 21:53:13] local.INFO: Processing buffer {"connection_id":129069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fc0e08012cf1b5c00712f6c8000c00822d..."} 
[2026-07-11 21:53:13] local.INFO: Packet analysis {"connection_id":129069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:53:13] local.INFO: Extracted packet for processing {"connection_id":129069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:53:13] local.INFO: GPS Element Parsed {"raw_longitude":754038208,"raw_latitude":118683336,"longitude_deg":75.4038208,"latitude_deg":11.8683336,"altitude":12,"angle":130,"satellites":45,"speed":36,"hex_longitude":"2cf1b5c0","hex_latitude":"0712f6c8","is_valid_coordinates":true} 
[2026-07-11 21:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649444352001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345681769963454464,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1037235258794145792,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783786901000,"timestamp_ms":1783786901000,"timestamp_seconds":1783786901,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fc0e08"} 
[2026-07-11 21:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 21:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649444352001,"66":27517,"197":206,"83":41472,"24":36,"16":345681769963454464,"44":-1037235258794145792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-11 21:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649444352001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:53:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-11 21:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345681769963454464,"km_value":345681769963454.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1037235258794145792,"description":"Unknown IO ID 44"} 
[2026-07-11 21:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649444352001,"power":27517,"unknown_197":206,"unknown_83":41472,"ignition":36,"odometer":null,"unknown_44":-1037235258794145792}} 
[2026-07-11 21:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":129069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:53:13] local.INFO: GPS data processed {"connection_id":129069,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:53:13] local.INFO: Acknowledgment sent {"connection_id":129069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:53:36] local.INFO: TCP Data received {"connection_id":131057,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:53:36] local.INFO: Processing buffer {"connection_id":131057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:53:36] local.INFO: Packet analysis {"connection_id":131057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:53:36] local.INFO: Extracted packet for processing {"connection_id":131057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 21:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":131057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":131057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":131057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:53:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":131057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:53:36] local.INFO: GPS data processed {"connection_id":131057,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:53:36] local.INFO: Acknowledgment sent {"connection_id":131057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:53:45] local.INFO: TCP Data received {"connection_id":129069,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fc3900012cf1d1400712de80000a007a2e..."} 
[2026-07-11 21:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fc3900012cf1d1400712de80000a007a2e..."} 
[2026-07-11 21:53:45] local.INFO: Processing buffer {"connection_id":129069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fc3900012cf1d1400712de80000a007a2e..."} 
[2026-07-11 21:53:45] local.INFO: Packet analysis {"connection_id":129069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:53:45] local.INFO: Extracted packet for processing {"connection_id":129069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:53:45] local.INFO: GPS Element Parsed {"raw_longitude":754045248,"raw_latitude":118677120,"longitude_deg":75.4045248,"latitude_deg":11.867712,"altitude":10,"angle":122,"satellites":46,"speed":29,"hex_longitude":"2cf1d140","hex_latitude":"0712de80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649446656001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345682220935020544,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1029705803168823296,"note":"Value kept but may cause issues"} 
[2026-07-11 21:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783786912000,"timestamp_ms":1783786912000,"timestamp_seconds":1783786912,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fc3900"} 
[2026-07-11 21:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 21:53:45] 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-07-11 21: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-07-11 21:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649446656001,"66":27539,"197":206,"83":41472,"24":29,"16":345682220935020544,"44":-1029705803168823296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-11 21:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649446656001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:53:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-11 21:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345682220935020544,"km_value":345682220935020.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:53:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1029705803168823296,"description":"Unknown IO ID 44"} 
[2026-07-11 21:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649446656001,"power":27539,"unknown_197":206,"unknown_83":41472,"ignition":29,"odometer":null,"unknown_44":-1029705803168823296}} 
[2026-07-11 21:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":129069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:53:45] local.INFO: GPS data processed {"connection_id":129069,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:53:45] local.INFO: Acknowledgment sent {"connection_id":129069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:54:03] local.INFO: TCP Data received {"connection_id":129793,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:54:03] local.INFO: Processing buffer {"connection_id":129793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:54:03] local.INFO: IMEI packet received {"connection_id":129793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":129793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:54:04] local.INFO: TCP Data received {"connection_id":129794,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:54:04] local.INFO: Processing buffer {"connection_id":129794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:54:04] local.INFO: IMEI packet received {"connection_id":129794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":129794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:54:08] local.INFO: TCP Data received {"connection_id":129793,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:54:08] local.INFO: Processing buffer {"connection_id":129793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:54:08] local.INFO: IMEI packet received {"connection_id":129793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":129793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:54:08] local.INFO: TCP Data received {"connection_id":129794,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:54:08] local.INFO: Processing buffer {"connection_id":129794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:54:08] local.INFO: IMEI packet received {"connection_id":129794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":129794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:54:09] local.INFO: TCP Data received {"connection_id":129793,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fc63f8012cf1f1c00712ce20000c00742e..."} 
[2026-07-11 21:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fc63f8012cf1f1c00712ce20000c00742e..."} 
[2026-07-11 21:54:09] local.INFO: Processing buffer {"connection_id":129793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fc63f8012cf1f1c00712ce20000c00742e..."} 
[2026-07-11 21:54:09] local.INFO: Packet analysis {"connection_id":129793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:54:09] local.INFO: Extracted packet for processing {"connection_id":129793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:54:09] local.INFO: GPS Element Parsed {"raw_longitude":754053568,"raw_latitude":118672928,"longitude_deg":75.4053568,"latitude_deg":11.8672928,"altitude":12,"angle":116,"satellites":46,"speed":35,"hex_longitude":"2cf1f1c0","hex_latitude":"0712ce20","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649449472001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345682663316652032,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1021965241310871552,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786923000,"timestamp_ms":1783786923000,"timestamp_seconds":1783786923,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fc63f8"} 
[2026-07-11 21:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:54:09] 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-07-11 21:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-11 21:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649449472001,"66":27397,"197":206,"83":41472,"24":35,"16":345682663316652032,"44":-1021965241310871552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-11 21:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649449472001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:54:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-11 21:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345682663316652032,"km_value":345682663316652.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:54:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1021965241310871552,"description":"Unknown IO ID 44"} 
[2026-07-11 21:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649449472001,"power":27397,"unknown_197":206,"unknown_83":41472,"ignition":35,"odometer":null,"unknown_44":-1021965241310871552}} 
[2026-07-11 21:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":129793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:54:09] local.INFO: GPS data processed {"connection_id":129793,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:54:09] local.INFO: Acknowledgment sent {"connection_id":129793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:54:09] local.INFO: TCP Data received {"connection_id":129794,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:54:09] local.INFO: Processing buffer {"connection_id":129794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:54:09] local.INFO: Packet analysis {"connection_id":129794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:54:09] local.INFO: Extracted packet for processing {"connection_id":129794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 21:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:54:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:54:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":129794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:54:09] local.INFO: GPS data processed {"connection_id":129794,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:54:09] local.INFO: Acknowledgment sent {"connection_id":129794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:54:14] local.INFO: TCP Data received {"connection_id":129794,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:54:14] local.INFO: Processing buffer {"connection_id":129794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:54:14] local.INFO: Packet analysis {"connection_id":129794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:54:14] local.INFO: Extracted packet for processing {"connection_id":129794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 21:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:54:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:54:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":129794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:54:15] local.INFO: GPS data processed {"connection_id":129794,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:54:15] local.INFO: Acknowledgment sent {"connection_id":129794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:54:40] local.INFO: TCP Data received {"connection_id":129793,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fc8ef0012cf212400712be78000a00762e..."} 
[2026-07-11 21:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fc8ef0012cf212400712be78000a00762e..."} 
[2026-07-11 21:54:40] local.INFO: Processing buffer {"connection_id":129793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fc8ef0012cf212400712be78000a00762e..."} 
[2026-07-11 21:54:40] local.INFO: Packet analysis {"connection_id":129793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:54:40] local.INFO: Extracted packet for processing {"connection_id":129793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:54:40] local.INFO: GPS Element Parsed {"raw_longitude":754061888,"raw_latitude":118668920,"longitude_deg":75.4061888,"latitude_deg":11.866892,"altitude":10,"angle":118,"satellites":46,"speed":18,"hex_longitude":"2cf21240","hex_latitude":"0712be78","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649452288001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345683105698283520,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1012817304568848384,"note":"Value kept but may cause issues"} 
[2026-07-11 21:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786934000,"timestamp_ms":1783786934000,"timestamp_seconds":1783786934,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fc8ef0"} 
[2026-07-11 21:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 21:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649452288001,"66":27365,"195":206,"83":41472,"24":18,"16":345683105698283520,"44":-1012817304568848384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-11 21:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649452288001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:54:40] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-11 21:54:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345683105698283520,"km_value":345683105698283.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1012817304568848384,"description":"Unknown IO ID 44"} 
[2026-07-11 21:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649452288001,"power":27365,"unknown_195":206,"unknown_83":41472,"ignition":18,"odometer":null,"unknown_44":-1012817304568848384}} 
[2026-07-11 21:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":129793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:54:40] local.INFO: GPS data processed {"connection_id":129793,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:54:40] local.INFO: Acknowledgment sent {"connection_id":129793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:54:59] local.INFO: TCP Data received {"connection_id":131059,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:54:59] local.INFO: Processing buffer {"connection_id":131059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:54:59] local.INFO: IMEI packet received {"connection_id":131059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":131059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:55:00] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:55:00] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:55:00] local.INFO: IMEI packet received {"connection_id":129070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":129070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:55:03] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:55:03] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:55:03] local.INFO: IMEI packet received {"connection_id":129070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":129070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:55:04] local.INFO: TCP Data received {"connection_id":131059,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:55:04] local.INFO: Processing buffer {"connection_id":131059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:55:04] local.INFO: IMEI packet received {"connection_id":131059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":131059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:55:08] local.INFO: TCP Data received {"connection_id":131059,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:55:08] local.INFO: Processing buffer {"connection_id":131059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:55:08] local.INFO: Packet analysis {"connection_id":131059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:55:08] local.INFO: Extracted packet for processing {"connection_id":131059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 21:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21: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-07-11 21:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:55:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":131059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:55:08] local.INFO: GPS data processed {"connection_id":131059,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:55:08] local.INFO: Acknowledgment sent {"connection_id":131059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:55:08] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:55:08] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:55:08] local.INFO: IMEI packet received {"connection_id":129070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":129070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:55:09] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fcaa48012cf219800712b978000700832f..."} 
[2026-07-11 21:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fcaa48012cf219800712b978000700832f..."} 
[2026-07-11 21:55:09] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fcaa48012cf219800712b978000700832f..."} 
[2026-07-11 21:55:09] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:55:09] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:55:09] local.INFO: GPS Element Parsed {"raw_longitude":754063744,"raw_latitude":118667640,"longitude_deg":75.4063744,"latitude_deg":11.866764,"altitude":7,"angle":131,"satellites":47,"speed":11,"hex_longitude":"2cf21980","hex_latitude":"0712b978","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649455104001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345683213072465920,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1003669367826778112,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786941000,"timestamp_ms":1783786941000,"timestamp_seconds":1783786941,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fcaa48"} 
[2026-07-11 21:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:55:09] 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-07-11 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 21:55:09] 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-07-11 21: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-07-11 21:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649455104001,"66":27300,"195":206,"83":41472,"24":11,"16":345683213072465920,"44":-1003669367826778112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-11 21:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649455104001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:55:09] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-11 21:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345683213072465920,"km_value":345683213072465.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1003669367826778112,"description":"Unknown IO ID 44"} 
[2026-07-11 21:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649455104001,"power":27300,"unknown_195":206,"unknown_83":41472,"ignition":11,"odometer":null,"unknown_44":-1003669367826778112}} 
[2026-07-11 21:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:55:09] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:55:09] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:55:40] local.INFO: TCP Data received {"connection_id":131059,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:55:40] local.INFO: Processing buffer {"connection_id":131059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:55:40] local.INFO: Packet analysis {"connection_id":131059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:55:40] local.INFO: Extracted packet for processing {"connection_id":131059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 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-07-11 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:55:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:55:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":131059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:55:40] local.INFO: GPS data processed {"connection_id":131059,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:55:40] local.INFO: Acknowledgment sent {"connection_id":131059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:55:40] local.INFO: TCP Data received {"connection_id":129070,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fce0f8012cf228400712a960000800912e..."} 
[2026-07-11 21:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fce0f8012cf228400712a960000800912e..."} 
[2026-07-11 21:55:40] local.INFO: Processing buffer {"connection_id":129070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fce0f8012cf228400712a960000800912e..."} 
[2026-07-11 21:55:40] local.INFO: Packet analysis {"connection_id":129070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:55:40] local.INFO: Extracted packet for processing {"connection_id":129070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fc"} 
[2026-07-11 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":754067520,"raw_latitude":118663520,"longitude_deg":75.406752,"latitude_deg":11.866352,"altitude":8,"angle":145,"satellites":46,"speed":15,"hex_longitude":"2cf22840","hex_latitude":"0712a960","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649456896001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345683479360438272,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1001628674245953536,"note":"Value kept but may cause issues"} 
[2026-07-11 21:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786955000,"timestamp_ms":1783786955000,"timestamp_seconds":1783786955,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fce0f8"} 
[2026-07-11 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-07-11 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 21:55: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-07-11 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-07-11 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-07-11 21:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649456896001,"66":27234,"195":206,"83":41472,"24":15,"16":345683479360438272,"44":-1001628674245953536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-11 21:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649456896001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:55:40] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-11 21:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345683479360438272,"km_value":345683479360438.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1001628674245953536,"description":"Unknown IO ID 44"} 
[2026-07-11 21:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649456896001,"power":27234,"unknown_195":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1001628674245953536}} 
[2026-07-11 21:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":129070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:55:40] local.INFO: GPS data processed {"connection_id":129070,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:55:40] local.INFO: Acknowledgment sent {"connection_id":129070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:56:03] local.INFO: TCP Data received {"connection_id":131060,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:56:03] local.INFO: Processing buffer {"connection_id":131060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:56:03] local.INFO: IMEI packet received {"connection_id":131060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":131060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:56:04] local.INFO: TCP Data received {"connection_id":131061,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:56:04] local.INFO: Processing buffer {"connection_id":131061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:56:04] local.INFO: IMEI packet received {"connection_id":131061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":131061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:56:08] local.INFO: TCP Data received {"connection_id":131060,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:56:08] local.INFO: Processing buffer {"connection_id":131060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:56:08] local.INFO: IMEI packet received {"connection_id":131060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":131060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:56:09] local.INFO: TCP Data received {"connection_id":131061,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:56:09] local.INFO: Processing buffer {"connection_id":131061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:56:09] local.INFO: IMEI packet received {"connection_id":131061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":131061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:56:09] local.INFO: TCP Data received {"connection_id":131060,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fd1f78012cf23cc007128c50000900942f..."} 
[2026-07-11 21:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fd1f78012cf23cc007128c50000900942f..."} 
[2026-07-11 21:56:09] local.INFO: Processing buffer {"connection_id":131060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fd1f78012cf23cc007128c50000900942f..."} 
[2026-07-11 21:56:09] local.INFO: Packet analysis {"connection_id":131060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fd"} 
[2026-07-11 21:56:09] local.INFO: Extracted packet for processing {"connection_id":131060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fd"} 
[2026-07-11 21:56:09] local.INFO: GPS Element Parsed {"raw_longitude":754072768,"raw_latitude":118656080,"longitude_deg":75.4072768,"latitude_deg":11.865608,"altitude":9,"angle":148,"satellites":47,"speed":28,"hex_longitude":"2cf23cc0","hex_latitude":"07128c50","is_valid_coordinates":true} 
[2026-07-11 21: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-07-11 21:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649460480001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345683921742069760,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-997476918340526080,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783786971000,"timestamp_ms":1783786971000,"timestamp_seconds":1783786971,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fd1f78"} 
[2026-07-11 21:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:56:09] 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-07-11 21:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:56:09] 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-07-11 21: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-07-11 21:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649460480001,"66":27180,"196":206,"83":41472,"24":28,"16":345683921742069760,"44":-997476918340526080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-07-11 21:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649460480001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:56:09] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-11 21:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345683921742069760,"km_value":345683921742069.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-997476918340526080,"description":"Unknown IO ID 44"} 
[2026-07-11 21:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649460480001,"power":27180,"unknown_196":206,"unknown_83":41472,"ignition":28,"odometer":null,"unknown_44":-997476918340526080}} 
[2026-07-11 21:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":131060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:56:09] local.INFO: GPS data processed {"connection_id":131060,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:56:09] local.INFO: Acknowledgment sent {"connection_id":131060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:56:10] local.INFO: TCP Data received {"connection_id":131061,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:56:10] local.INFO: Processing buffer {"connection_id":131061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:56:10] local.INFO: Packet analysis {"connection_id":131061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:56:10] local.INFO: Extracted packet for processing {"connection_id":131061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 21:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:56:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":131061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:56:10] local.INFO: GPS data processed {"connection_id":131061,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:56:10] local.INFO: Acknowledgment sent {"connection_id":131061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:56:14] local.INFO: TCP Data received {"connection_id":131061,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:56:14] local.INFO: Processing buffer {"connection_id":131061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fbc7b8012d196680071fef80003b011a21..."} 
[2026-07-11 21:56:14] local.INFO: Packet analysis {"connection_id":131061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:56:14] local.INFO: Extracted packet for processing {"connection_id":131061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fb"} 
[2026-07-11 21:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649364992001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783786883000,"timestamp_ms":1783786883000,"timestamp_seconds":1783786883,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fbc7b8"} 
[2026-07-11 21:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649364992001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649364992001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:56:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649364992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":131061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:56:14] local.INFO: GPS data processed {"connection_id":131061,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:56:14] local.INFO: Acknowledgment sent {"connection_id":131061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:56:40] local.INFO: TCP Data received {"connection_id":131060,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f51fd3eb8012cf24c4007127778000900882e..."} 
[2026-07-11 21:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f51fd3eb8012cf24c4007127778000900882e..."} 
[2026-07-11 21:56:40] local.INFO: Processing buffer {"connection_id":131060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f51fd3eb8012cf24c4007127778000900882e..."} 
[2026-07-11 21:56:40] local.INFO: Packet analysis {"connection_id":131060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f51fd"} 
[2026-07-11 21:56:40] local.INFO: Extracted packet for processing {"connection_id":131060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f51fd"} 
[2026-07-11 21:56:40] local.INFO: GPS Element Parsed {"raw_longitude":754076736,"raw_latitude":118650744,"longitude_deg":75.4076736,"latitude_deg":11.8650744,"altitude":9,"angle":136,"satellites":46,"speed":32,"hex_longitude":"2cf24c40","hex_latitude":"07127778","is_valid_coordinates":true} 
[2026-07-11 21:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649464576001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345684239569649664,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-991706681319862272,"note":"Value kept but may cause issues"} 
[2026-07-11 21:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783786979000,"timestamp_ms":1783786979000,"timestamp_seconds":1783786979,"priority":1,"record_length":96,"hex_timestamp":"0000019f51fd3eb8"} 
[2026-07-11 21:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 21:56:40] 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-07-11 21:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649464576001,"66":27376,"196":206,"83":41472,"24":32,"16":345684239569649664,"44":-991706681319862272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-07-11 21:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649464576001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:56:40] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-11 21:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345684239569649664,"km_value":345684239569649.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:56:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-991706681319862272,"description":"Unknown IO ID 44"} 
[2026-07-11 21:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649464576001,"power":27376,"unknown_196":206,"unknown_83":41472,"ignition":32,"odometer":null,"unknown_44":-991706681319862272}} 
[2026-07-11 21:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":131060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:56:40] local.INFO: GPS data processed {"connection_id":131060,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:56:40] local.INFO: Acknowledgment sent {"connection_id":131060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:56:59] local.INFO: TCP Data received {"connection_id":129797,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:56:59] local.INFO: Processing buffer {"connection_id":129797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:56:59] local.INFO: IMEI packet received {"connection_id":129797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":129797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:57:01] local.INFO: TCP Data received {"connection_id":129798,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:57:01] local.INFO: Processing buffer {"connection_id":129798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:57:01] local.INFO: IMEI packet received {"connection_id":129798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":129798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:57:02] local.INFO: TCP Data received {"connection_id":129797,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:57:02] local.INFO: Processing buffer {"connection_id":129797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:57:02] local.INFO: IMEI packet received {"connection_id":129797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":129797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:57:03] local.INFO: TCP Data received {"connection_id":129797,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:57:03] local.INFO: Processing buffer {"connection_id":129797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:57:03] local.INFO: Packet analysis {"connection_id":129797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:57:03] local.INFO: Extracted packet for processing {"connection_id":129797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 21:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":129797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":129797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":129797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:57:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":129797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:57:03] local.INFO: GPS data processed {"connection_id":129797,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:57:03] local.INFO: Acknowledgment sent {"connection_id":129797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:57:03] local.INFO: TCP Data received {"connection_id":129798,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:57:03] local.INFO: Processing buffer {"connection_id":129798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:57:03] local.INFO: IMEI packet received {"connection_id":129798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":129798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:57:07] local.INFO: TCP Data received {"connection_id":129798,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:57:07] local.INFO: Processing buffer {"connection_id":129798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:57:07] local.INFO: IMEI packet received {"connection_id":129798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":129798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:57:08] local.INFO: TCP Data received {"connection_id":129798,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52000990012cf331c00711ccc80009008930..."} 
[2026-07-11 21:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52000990012cf331c00711ccc80009008930..."} 
[2026-07-11 21:57:08] local.INFO: Processing buffer {"connection_id":129798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52000990012cf331c00711ccc80009008930..."} 
[2026-07-11 21:57:08] local.INFO: Packet analysis {"connection_id":129798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:57:08] local.INFO: Extracted packet for processing {"connection_id":129798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:57:08] local.INFO: GPS Element Parsed {"raw_longitude":754135488,"raw_latitude":118607048,"longitude_deg":75.4135488,"latitude_deg":11.8607048,"altitude":9,"angle":137,"satellites":48,"speed":7,"hex_longitude":"2cf331c0","hex_latitude":"0711ccc8","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649508096001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345687770032766976,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-924926743107348480,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783787162000,"timestamp_ms":1783787162000,"timestamp_seconds":1783787162,"priority":1,"record_length":96,"hex_timestamp":"0000019f52000990"} 
[2026-07-11 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-07-11 21:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-11 21:57:08] 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-07-11 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-07-11 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-07-11 21:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:57: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-07-11 21:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649508096001,"66":27234,"232":206,"83":41472,"24":7,"16":345687770032766976,"44":-924926743107348480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 21:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649508096001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:57:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 21:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345687770032766976,"km_value":345687770032767.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:57:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-924926743107348480,"description":"Unknown IO ID 44"} 
[2026-07-11 21:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649508096001,"power":27234,"unknown_232":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-924926743107348480}} 
[2026-07-11 21:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":129798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:57:08] local.INFO: GPS data processed {"connection_id":129798,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:57:08] local.INFO: Acknowledgment sent {"connection_id":129798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:57:35] local.INFO: TCP Data received {"connection_id":129797,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:57:35] local.INFO: Processing buffer {"connection_id":129797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:57:35] local.INFO: Packet analysis {"connection_id":129797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:57:35] local.INFO: Extracted packet for processing {"connection_id":129797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 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-07-11 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 21:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":129797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":129797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":129797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:57:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:57:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":129797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:57:35] local.INFO: GPS data processed {"connection_id":129797,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:57:35] local.INFO: Acknowledgment sent {"connection_id":129797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:57:39] local.INFO: TCP Data received {"connection_id":129798,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005b98012cf33a400711c4b0000900882e..."} 
[2026-07-11 21:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005b98012cf33a400711c4b0000900882e..."} 
[2026-07-11 21:57:39] local.INFO: Processing buffer {"connection_id":129798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005b98012cf33a400711c4b0000900882e..."} 
[2026-07-11 21:57:39] local.INFO: Packet analysis {"connection_id":129798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:57:39] local.INFO: Extracted packet for processing {"connection_id":129798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:57:39] local.INFO: GPS Element Parsed {"raw_longitude":754137664,"raw_latitude":118604976,"longitude_deg":75.4137664,"latitude_deg":11.8604976,"altitude":9,"angle":136,"satellites":46,"speed":6,"hex_longitude":"2cf33a40","hex_latitude":"0711c4b0","is_valid_coordinates":true} 
[2026-07-11 21:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649513472001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345687916061655040,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-922745312038303744,"note":"Value kept but may cause issues"} 
[2026-07-11 21:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783787183000,"timestamp_ms":1783787183000,"timestamp_seconds":1783787183,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005b98"} 
[2026-07-11 21:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 21:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649513472001,"66":27376,"232":206,"83":41472,"24":6,"16":345687916061655040,"44":-922745312038303744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 21:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649513472001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:57:39] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 21:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345687916061655040,"km_value":345687916061655.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:57:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-922745312038303744,"description":"Unknown IO ID 44"} 
[2026-07-11 21:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649513472001,"power":27376,"unknown_232":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-922745312038303744}} 
[2026-07-11 21:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":129798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:57:39] local.INFO: GPS data processed {"connection_id":129798,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:57:39] local.INFO: Acknowledgment sent {"connection_id":129798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:57:58] local.INFO: TCP Data received {"connection_id":129799,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:57:58] local.INFO: Processing buffer {"connection_id":129799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:57:58] local.INFO: IMEI packet received {"connection_id":129799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":129799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:58:03] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:58:03] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:58:03] local.INFO: IMEI packet received {"connection_id":131062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":131062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:58:04] local.INFO: TCP Data received {"connection_id":129799,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:58:04] local.INFO: Processing buffer {"connection_id":129799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:58:04] local.INFO: IMEI packet received {"connection_id":129799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":129799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:58:05] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:58:05] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:58:05] local.INFO: IMEI packet received {"connection_id":131062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":131062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:58:05] local.INFO: TCP Data received {"connection_id":129799,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:58:05] local.INFO: Processing buffer {"connection_id":129799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:58:05] local.INFO: Packet analysis {"connection_id":129799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:58:05] local.INFO: Extracted packet for processing {"connection_id":129799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 21:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":129799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:58:05] local.INFO: GPS data processed {"connection_id":129799,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:58:05] local.INFO: Acknowledgment sent {"connection_id":129799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:58:08] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:58:08] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:58:08] local.INFO: IMEI packet received {"connection_id":131062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":131062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:58:10] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52007308012cf33c800711c1f80009007c2f..."} 
[2026-07-11 21:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52007308012cf33c800711c1f80009007c2f..."} 
[2026-07-11 21:58:10] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52007308012cf33c800711c1f80009007c2f..."} 
[2026-07-11 21:58:10] local.INFO: Packet analysis {"connection_id":131062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:58:10] local.INFO: Extracted packet for processing {"connection_id":131062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:58:10] local.INFO: GPS Element Parsed {"raw_longitude":754138240,"raw_latitude":118604280,"longitude_deg":75.413824,"latitude_deg":11.860428,"altitude":9,"angle":124,"satellites":47,"speed":5,"hex_longitude":"2cf33c80","hex_latitude":"0711c1f8","is_valid_coordinates":true} 
[2026-07-11 21:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649518848001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345687959011328000,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-920352774736793600,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783787189000,"timestamp_ms":1783787189000,"timestamp_seconds":1783787189,"priority":1,"record_length":96,"hex_timestamp":"0000019f52007308"} 
[2026-07-11 21:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 21:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649518848001,"66":27137,"232":206,"83":41472,"24":5,"16":345687959011328000,"44":-920352774736793600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 21:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649518848001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:58:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 21:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345687959011328000,"km_value":345687959011328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-920352774736793600,"description":"Unknown IO ID 44"} 
[2026-07-11 21:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649518848001,"power":27137,"unknown_232":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-920352774736793600}} 
[2026-07-11 21:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":131062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:58:10] local.INFO: GPS data processed {"connection_id":131062,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:58:10] local.INFO: Acknowledgment sent {"connection_id":131062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:58:37] local.INFO: TCP Data received {"connection_id":129799,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:58:37] local.INFO: Processing buffer {"connection_id":129799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:58:37] local.INFO: Packet analysis {"connection_id":129799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:58:37] local.INFO: Extracted packet for processing {"connection_id":129799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 21:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:58:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":129799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:58:37] local.INFO: GPS data processed {"connection_id":129799,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:58:37] local.INFO: Acknowledgment sent {"connection_id":129799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:58:41] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5200b188012cf344400711bae0000800882f..."} 
[2026-07-11 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5200b188012cf344400711bae0000800882f..."} 
[2026-07-11 21:58:41] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5200b188012cf344400711bae0000800882f..."} 
[2026-07-11 21:58:41] local.INFO: Packet analysis {"connection_id":131062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:58:41] local.INFO: Extracted packet for processing {"connection_id":131062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":754140224,"raw_latitude":118602464,"longitude_deg":75.4140224,"latitude_deg":11.8602464,"altitude":8,"angle":136,"satellites":47,"speed":6,"hex_longitude":"2cf34440","hex_latitude":"0711bae0","is_valid_coordinates":true} 
[2026-07-11 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649520384001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345688092155314176,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-919719456039372800,"note":"Value kept but may cause issues"} 
[2026-07-11 21:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783787205000,"timestamp_ms":1783787205000,"timestamp_seconds":1783787205,"priority":1,"record_length":96,"hex_timestamp":"0000019f5200b188"} 
[2026-07-11 21:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-11 21:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649520384001,"66":27213,"232":206,"83":41472,"24":6,"16":345688092155314176,"44":-919719456039372800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 21:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649520384001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:58:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 21:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345688092155314176,"km_value":345688092155314.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-919719456039372800,"description":"Unknown IO ID 44"} 
[2026-07-11 21:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649520384001,"power":27213,"unknown_232":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-919719456039372800}} 
[2026-07-11 21:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":131062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:58:41] local.INFO: GPS data processed {"connection_id":131062,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:58:41] local.INFO: Acknowledgment sent {"connection_id":131062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:58:44] local.INFO: TCP Data received {"connection_id":129800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:58:44] local.INFO: Processing buffer {"connection_id":129800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 21:58:44] local.INFO: IMEI packet received {"connection_id":129800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 21:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":129800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:59:03] local.INFO: TCP Data received {"connection_id":129801,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:59:03] local.INFO: Processing buffer {"connection_id":129801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:59:03] local.INFO: IMEI packet received {"connection_id":129801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 21:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":129801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:59:04] local.INFO: TCP Data received {"connection_id":129072,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:59:04] local.INFO: Processing buffer {"connection_id":129072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:59:04] local.INFO: IMEI packet received {"connection_id":129072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":129072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 21:59:08] local.INFO: TCP Data received {"connection_id":129801,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:59:08] local.INFO: Processing buffer {"connection_id":129801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 21:59:08] local.INFO: IMEI packet received {"connection_id":129801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 21:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":129801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:59:09] local.INFO: TCP Data received {"connection_id":129072,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:59:09] local.INFO: Processing buffer {"connection_id":129072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:59:09] local.INFO: IMEI packet received {"connection_id":129072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 21:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":129072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 21:59:10] local.INFO: TCP Data received {"connection_id":129801,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52010390012cf348800711b7100009008d2f..."} 
[2026-07-11 21:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52010390012cf348800711b7100009008d2f..."} 
[2026-07-11 21:59:10] local.INFO: Processing buffer {"connection_id":129801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52010390012cf348800711b7100009008d2f..."} 
[2026-07-11 21:59:10] local.INFO: Packet analysis {"connection_id":129801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5201"} 
[2026-07-11 21:59:10] local.INFO: Extracted packet for processing {"connection_id":129801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5201"} 
[2026-07-11 21:59:10] local.INFO: GPS Element Parsed {"raw_longitude":754141312,"raw_latitude":118601488,"longitude_deg":75.4141312,"latitude_deg":11.8601488,"altitude":9,"angle":141,"satellites":47,"speed":4,"hex_longitude":"2cf34880","hex_latitude":"0711b710","is_valid_coordinates":true} 
[2026-07-11 21:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649524480001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345688165169758208,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-917538024970330112,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783787226000,"timestamp_ms":1783787226000,"timestamp_seconds":1783787226,"priority":1,"record_length":96,"hex_timestamp":"0000019f52010390"} 
[2026-07-11 21:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 21:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 21:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649524480001,"66":27463,"232":206,"83":41472,"24":4,"16":345688165169758208,"44":-917538024970330112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 21:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649524480001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:59:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 21:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345688165169758208,"km_value":345688165169758.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-917538024970330112,"description":"Unknown IO ID 44"} 
[2026-07-11 21:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649524480001,"power":27463,"unknown_232":206,"unknown_83":41472,"ignition":4,"odometer":null,"unknown_44":-917538024970330112}} 
[2026-07-11 21:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":129801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:59:10] local.INFO: GPS data processed {"connection_id":129801,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:59:10] local.INFO: Acknowledgment sent {"connection_id":129801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:59:10] local.INFO: TCP Data received {"connection_id":129072,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:59:10] local.INFO: Processing buffer {"connection_id":129072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:59:10] local.INFO: Packet analysis {"connection_id":129072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:59:10] local.INFO: Extracted packet for processing {"connection_id":129072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 21:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:59:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":129072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:59:10] local.INFO: GPS data processed {"connection_id":129072,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:59:10] local.INFO: Acknowledgment sent {"connection_id":129072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:59:14] local.INFO: TCP Data received {"connection_id":129072,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:59:14] local.INFO: Processing buffer {"connection_id":129072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 21:59:14] local.INFO: Packet analysis {"connection_id":129072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:59:14] local.INFO: Extracted packet for processing {"connection_id":129072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 21:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 21:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 21:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 21:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 21:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 21:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 21:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 21:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 21:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 21:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 21:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 21:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 21:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 21:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 21:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 21:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:59:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 21:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 21:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 21:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 21:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":129072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:59:15] local.INFO: GPS data processed {"connection_id":129072,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:59:15] local.INFO: Acknowledgment sent {"connection_id":129072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:59:40] local.INFO: TCP Data received {"connection_id":129801,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52015598012cf34dc00711b278000900842f..."} 
[2026-07-11 21:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52015598012cf34dc00711b278000900842f..."} 
[2026-07-11 21:59:40] local.INFO: Processing buffer {"connection_id":129801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52015598012cf34dc00711b278000900842f..."} 
[2026-07-11 21:59:40] local.INFO: Packet analysis {"connection_id":129801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5201"} 
[2026-07-11 21:59:40] local.INFO: Extracted packet for processing {"connection_id":129801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5201"} 
[2026-07-11 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":754142656,"raw_latitude":118600312,"longitude_deg":75.4142656,"latitude_deg":11.8600312,"altitude":9,"angle":132,"satellites":47,"speed":0,"hex_longitude":"2cf34dc0","hex_latitude":"0711b278","is_valid_coordinates":true} 
[2026-07-11 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-07-11 21:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649529856001,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345688255364071424,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-916341756319559680,"note":"Value kept but may cause issues"} 
[2026-07-11 21:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 21:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783787247000,"timestamp_ms":1783787247000,"timestamp_seconds":1783787247,"priority":1,"record_length":96,"hex_timestamp":"0000019f52015598"} 
[2026-07-11 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-07-11 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 21:59: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-07-11 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-07-11 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-07-11 21:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 21:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 21:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 21:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 21:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 21:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 21:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649529856001,"66":27343,"232":206,"83":41472,"24":0,"16":345688255364071424,"44":-916341756319559680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 21:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 21:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 21:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649529856001,"description":"Unknown IO ID 0"} 
[2026-07-11 21:59:40] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 21:59:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 21:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345688255364071424,"km_value":345688255364071.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 21:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-916341756319559680,"description":"Unknown IO ID 44"} 
[2026-07-11 21:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649529856001,"power":27343,"unknown_232":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-916341756319559680}} 
[2026-07-11 21:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":129801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 21:59:40] local.INFO: GPS data processed {"connection_id":129801,"processed":1,"errors":0,"total":1} 
[2026-07-11 21:59:40] local.INFO: Acknowledgment sent {"connection_id":129801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 21:59:59] local.INFO: TCP Data received {"connection_id":129073,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:59:59] local.INFO: Processing buffer {"connection_id":129073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 21:59:59] local.INFO: IMEI packet received {"connection_id":129073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 21:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":129073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:00:03] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:00:03] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:00:03] local.INFO: IMEI packet received {"connection_id":128890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":128890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:00:04] local.INFO: TCP Data received {"connection_id":129073,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:00:04] local.INFO: Processing buffer {"connection_id":129073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:00:04] local.INFO: IMEI packet received {"connection_id":129073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":129073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:00:05] local.INFO: TCP Data received {"connection_id":129073,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:00:05] local.INFO: Processing buffer {"connection_id":129073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:00:05] local.INFO: Packet analysis {"connection_id":129073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 22:00:05] local.INFO: Extracted packet for processing {"connection_id":129073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:00:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":129073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:00:05] local.INFO: GPS data processed {"connection_id":129073,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:00:05] local.INFO: Acknowledgment sent {"connection_id":129073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:00:08] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:00:08] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:00:08] local.INFO: IMEI packet received {"connection_id":128890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":128890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:00:10] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5201a7a0012cf352c00711ade0000a00842f..."} 
[2026-07-11 22:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5201a7a0012cf352c00711ade0000a00842f..."} 
[2026-07-11 22:00:10] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5201a7a0012cf352c00711ade0000a00842f..."} 
[2026-07-11 22:00:10] local.INFO: Packet analysis {"connection_id":128890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5201"} 
[2026-07-11 22:00:10] local.INFO: Extracted packet for processing {"connection_id":128890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5201"} 
[2026-07-11 22:00:10] local.INFO: GPS Element Parsed {"raw_longitude":754143936,"raw_latitude":118599136,"longitude_deg":75.4143936,"latitude_deg":11.8599136,"altitude":10,"angle":132,"satellites":47,"speed":3,"hex_longitude":"2cf352c0","hex_latitude":"0711ade0","is_valid_coordinates":true} 
[2026-07-11 22:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649535232001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345688336968450048,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-914864012692129792,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783787268000,"timestamp_ms":1783787268000,"timestamp_seconds":1783787268,"priority":1,"record_length":96,"hex_timestamp":"0000019f5201a7a0"} 
[2026-07-11 22:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649535232001,"66":27343,"232":206,"83":41472,"24":3,"16":345688336968450048,"44":-914864012692129792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 22:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649535232001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:00:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 22:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345688336968450048,"km_value":345688336968450.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-914864012692129792,"description":"Unknown IO ID 44"} 
[2026-07-11 22:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649535232001,"power":27343,"unknown_232":206,"unknown_83":41472,"ignition":3,"odometer":null,"unknown_44":-914864012692129792}} 
[2026-07-11 22:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":128890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:00:10] local.INFO: GPS data processed {"connection_id":128890,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:00:10] local.INFO: Acknowledgment sent {"connection_id":128890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:00:37] local.INFO: TCP Data received {"connection_id":129073,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:00:37] local.INFO: Processing buffer {"connection_id":129073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:00:37] local.INFO: Packet analysis {"connection_id":129073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 22:00:37] local.INFO: Extracted packet for processing {"connection_id":129073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 22:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 22:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:00:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":129073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:00:37] local.INFO: GPS data processed {"connection_id":129073,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:00:37] local.INFO: Acknowledgment sent {"connection_id":129073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:00:41] local.INFO: TCP Data received {"connection_id":128890,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5201f9a8012cf35ec00711a3180008008730..."} 
[2026-07-11 22:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5201f9a8012cf35ec00711a3180008008730..."} 
[2026-07-11 22:00:41] local.INFO: Processing buffer {"connection_id":128890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5201f9a8012cf35ec00711a3180008008730..."} 
[2026-07-11 22:00:41] local.INFO: Packet analysis {"connection_id":128890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5201"} 
[2026-07-11 22:00:41] local.INFO: Extracted packet for processing {"connection_id":128890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5201"} 
[2026-07-11 22:00:41] local.INFO: GPS Element Parsed {"raw_longitude":754147008,"raw_latitude":118596376,"longitude_deg":75.4147008,"latitude_deg":11.8596376,"altitude":8,"angle":135,"satellites":48,"speed":8,"hex_longitude":"2cf35ec0","hex_latitude":"0711a318","is_valid_coordinates":true} 
[2026-07-11 22:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649540608001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345688538831912960,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-913456637808877568,"note":"Value kept but may cause issues"} 
[2026-07-11 22:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783787289000,"timestamp_ms":1783787289000,"timestamp_seconds":1783787289,"priority":1,"record_length":96,"hex_timestamp":"0000019f5201f9a8"} 
[2026-07-11 22:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:00: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-07-11 22:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649540608001,"66":27321,"232":206,"83":41472,"24":8,"16":345688538831912960,"44":-913456637808877568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 22:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649540608001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:00:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 22:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345688538831912960,"km_value":345688538831912.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-913456637808877568,"description":"Unknown IO ID 44"} 
[2026-07-11 22:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649540608001,"power":27321,"unknown_232":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-913456637808877568}} 
[2026-07-11 22:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":128890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:00:41] local.INFO: GPS data processed {"connection_id":128890,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:00:41] local.INFO: Acknowledgment sent {"connection_id":128890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:00:59] local.INFO: TCP Data received {"connection_id":129803,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:00:59] local.INFO: Processing buffer {"connection_id":129803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:00:59] local.INFO: IMEI packet received {"connection_id":129803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":129803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:01:03] local.INFO: TCP Data received {"connection_id":129804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:01:03] local.INFO: Processing buffer {"connection_id":129804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:01:03] local.INFO: IMEI packet received {"connection_id":129804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":129804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:01:04] local.INFO: TCP Data received {"connection_id":129803,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:01:04] local.INFO: Processing buffer {"connection_id":129803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:01:04] local.INFO: IMEI packet received {"connection_id":129803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":129803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:01:05] local.INFO: TCP Data received {"connection_id":129803,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:01:05] local.INFO: Processing buffer {"connection_id":129803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:01:05] local.INFO: Packet analysis {"connection_id":129803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 22:01:05] local.INFO: Extracted packet for processing {"connection_id":129803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 22:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":129803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:01:05] local.INFO: GPS data processed {"connection_id":129803,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:01:05] local.INFO: Acknowledgment sent {"connection_id":129803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:01:08] local.INFO: TCP Data received {"connection_id":129804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:01:08] local.INFO: Processing buffer {"connection_id":129804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:01:08] local.INFO: IMEI packet received {"connection_id":129804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":129804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:01:10] local.INFO: TCP Data received {"connection_id":129804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52024bb0012cf3728007119060000700852f..."} 
[2026-07-11 22:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52024bb0012cf3728007119060000700852f..."} 
[2026-07-11 22:01:10] local.INFO: Processing buffer {"connection_id":129804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52024bb0012cf3728007119060000700852f..."} 
[2026-07-11 22:01:10] local.INFO: Packet analysis {"connection_id":129804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5202"} 
[2026-07-11 22:01:10] local.INFO: Extracted packet for processing {"connection_id":129804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5202"} 
[2026-07-11 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":754152064,"raw_latitude":118591584,"longitude_deg":75.4152064,"latitude_deg":11.8591584,"altitude":7,"angle":133,"satellites":47,"speed":17,"hex_longitude":"2cf37280","hex_latitude":"07119060","is_valid_coordinates":true} 
[2026-07-11 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649545984001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345688873839362048,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-910078938089056256,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783787310000,"timestamp_ms":1783787310000,"timestamp_seconds":1783787310,"priority":1,"record_length":96,"hex_timestamp":"0000019f52024bb0"} 
[2026-07-11 22:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649545984001,"66":27343,"232":206,"83":41472,"24":17,"16":345688873839362048,"44":-910078938089056256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 22:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649545984001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:01:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 22:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345688873839362048,"km_value":345688873839362.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-910078938089056256,"description":"Unknown IO ID 44"} 
[2026-07-11 22:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649545984001,"power":27343,"unknown_232":206,"unknown_83":41472,"ignition":17,"odometer":null,"unknown_44":-910078938089056256}} 
[2026-07-11 22:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":129804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:01:10] local.INFO: GPS data processed {"connection_id":129804,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:01:10] local.INFO: Acknowledgment sent {"connection_id":129804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:01:37] local.INFO: TCP Data received {"connection_id":129803,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:01:37] local.INFO: Processing buffer {"connection_id":129803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52005f80012d196680071fef80003b011a22..."} 
[2026-07-11 22:01:37] local.INFO: Packet analysis {"connection_id":129803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 22:01:37] local.INFO: Extracted packet for processing {"connection_id":129803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5200"} 
[2026-07-11 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649442048001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787184000,"timestamp_ms":1783787184000,"timestamp_seconds":1783787184,"priority":1,"record_length":96,"hex_timestamp":"0000019f52005f80"} 
[2026-07-11 22:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649442048001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649442048001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:01:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649442048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":129803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:01:37] local.INFO: GPS data processed {"connection_id":129803,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:01:37] local.INFO: Acknowledgment sent {"connection_id":129803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:01:42] local.INFO: TCP Data received {"connection_id":129804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52028e18012cf38b00071176f0000700952e..."} 
[2026-07-11 22:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52028e18012cf38b00071176f0000700952e..."} 
[2026-07-11 22:01:42] local.INFO: Processing buffer {"connection_id":129804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52028e18012cf38b00071176f0000700952e..."} 
[2026-07-11 22:01:42] local.INFO: Packet analysis {"connection_id":129804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5202"} 
[2026-07-11 22:01:42] local.INFO: Extracted packet for processing {"connection_id":129804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5202"} 
[2026-07-11 22:01:42] local.INFO: GPS Element Parsed {"raw_longitude":754158336,"raw_latitude":118585072,"longitude_deg":75.4158336,"latitude_deg":11.8585072,"altitude":7,"angle":149,"satellites":46,"speed":19,"hex_longitude":"2cf38b00","hex_latitude":"071176f0","is_valid_coordinates":true} 
[2026-07-11 22:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649551360001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345689307631058944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-904519807300247552,"note":"Value kept but may cause issues"} 
[2026-07-11 22:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783787327000,"timestamp_ms":1783787327000,"timestamp_seconds":1783787327,"priority":1,"record_length":96,"hex_timestamp":"0000019f52028e18"} 
[2026-07-11 22:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649551360001,"66":27321,"232":206,"83":41472,"24":19,"16":345689307631058944,"44":-904519807300247552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 22:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649551360001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:01:42] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 22:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345689307631058944,"km_value":345689307631058.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-904519807300247552,"description":"Unknown IO ID 44"} 
[2026-07-11 22:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649551360001,"power":27321,"unknown_232":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-904519807300247552}} 
[2026-07-11 22:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":129804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:01:42] local.INFO: GPS data processed {"connection_id":129804,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:01:42] local.INFO: Acknowledgment sent {"connection_id":129804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:01:58] local.INFO: TCP Data received {"connection_id":129806,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:01:58] local.INFO: Processing buffer {"connection_id":129806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:01:58] local.INFO: IMEI packet received {"connection_id":129806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":129806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:02:03] local.INFO: TCP Data received {"connection_id":129806,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:02:03] local.INFO: Processing buffer {"connection_id":129806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:02:03] local.INFO: IMEI packet received {"connection_id":129806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":129806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:02:03] local.INFO: TCP Data received {"connection_id":128891,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:02:03] local.INFO: Processing buffer {"connection_id":128891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:02:03] local.INFO: IMEI packet received {"connection_id":128891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":128891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:02:05] local.INFO: TCP Data received {"connection_id":129806,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:02:05] local.INFO: Processing buffer {"connection_id":129806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:02:05] local.INFO: Packet analysis {"connection_id":129806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:02:05] local.INFO: Extracted packet for processing {"connection_id":129806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:02:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":129806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:02:05] local.INFO: GPS data processed {"connection_id":129806,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:02:05] local.INFO: Acknowledgment sent {"connection_id":129806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:02:08] local.INFO: TCP Data received {"connection_id":128891,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:02:08] local.INFO: Processing buffer {"connection_id":128891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:02:08] local.INFO: IMEI packet received {"connection_id":128891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":128891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:02:10] local.INFO: TCP Data received {"connection_id":128891,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52028e18012cf38b00071176f0000700952e..."} 
[2026-07-11 22:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52028e18012cf38b00071176f0000700952e..."} 
[2026-07-11 22:02:10] local.INFO: Processing buffer {"connection_id":128891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52028e18012cf38b00071176f0000700952e..."} 
[2026-07-11 22:02:10] local.INFO: Packet analysis {"connection_id":128891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5202"} 
[2026-07-11 22:02:10] local.INFO: Extracted packet for processing {"connection_id":128891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5202"} 
[2026-07-11 22:02:10] local.INFO: GPS Element Parsed {"raw_longitude":754158336,"raw_latitude":118585072,"longitude_deg":75.4158336,"latitude_deg":11.8585072,"altitude":7,"angle":149,"satellites":46,"speed":19,"hex_longitude":"2cf38b00","hex_latitude":"071176f0","is_valid_coordinates":true} 
[2026-07-11 22:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649555712001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345689307631058944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-897623670372503552,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783787327000,"timestamp_ms":1783787327000,"timestamp_seconds":1783787327,"priority":1,"record_length":96,"hex_timestamp":"0000019f52028e18"} 
[2026-07-11 22:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649555712001,"66":27321,"232":206,"83":41472,"24":19,"16":345689307631058944,"44":-897623670372503552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 22:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649555712001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:02:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 22:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345689307631058944,"km_value":345689307631058.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-897623670372503552,"description":"Unknown IO ID 44"} 
[2026-07-11 22:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649555712001,"power":27321,"unknown_232":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-897623670372503552}} 
[2026-07-11 22:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":128891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:02:10] local.INFO: GPS data processed {"connection_id":128891,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:02:10] local.INFO: Acknowledgment sent {"connection_id":128891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:02:36] local.INFO: TCP Data received {"connection_id":129806,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:02:36] local.INFO: Processing buffer {"connection_id":129806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:02:36] local.INFO: Packet analysis {"connection_id":129806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:02:36] local.INFO: Extracted packet for processing {"connection_id":129806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:02:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":129806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:02:37] local.INFO: GPS data processed {"connection_id":129806,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:02:37] local.INFO: Acknowledgment sent {"connection_id":129806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:02:41] local.INFO: TCP Data received {"connection_id":128891,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5202c8b0012cf39c8007115eb00009008a2c..."} 
[2026-07-11 22:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5202c8b0012cf39c8007115eb00009008a2c..."} 
[2026-07-11 22:02:41] local.INFO: Processing buffer {"connection_id":128891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5202c8b0012cf39c8007115eb00009008a2c..."} 
[2026-07-11 22:02:41] local.INFO: Packet analysis {"connection_id":128891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5202"} 
[2026-07-11 22:02:41] local.INFO: Extracted packet for processing {"connection_id":128891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5202"} 
[2026-07-11 22:02:41] local.INFO: GPS Element Parsed {"raw_longitude":754162816,"raw_latitude":118578864,"longitude_deg":75.4162816,"latitude_deg":11.8578864,"altitude":9,"angle":138,"satellites":44,"speed":21,"hex_longitude":"2cf39c80","hex_latitude":"07115eb0","is_valid_coordinates":true} 
[2026-07-11 22:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649555712001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345689676998246400,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-897623670372503552,"note":"Value kept but may cause issues"} 
[2026-07-11 22:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783787342000,"timestamp_ms":1783787342000,"timestamp_seconds":1783787342,"priority":1,"record_length":96,"hex_timestamp":"0000019f5202c8b0"} 
[2026-07-11 22:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649555712001,"66":27365,"232":206,"83":41472,"24":21,"16":345689676998246400,"44":-897623670372503552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-11 22:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649555712001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:02:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 22:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345689676998246400,"km_value":345689676998246.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-897623670372503552,"description":"Unknown IO ID 44"} 
[2026-07-11 22:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649555712001,"power":27365,"unknown_232":206,"unknown_83":41472,"ignition":21,"odometer":null,"unknown_44":-897623670372503552}} 
[2026-07-11 22:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":128891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:02:41] local.INFO: GPS data processed {"connection_id":128891,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:02:41] local.INFO: Acknowledgment sent {"connection_id":128891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:02:59] local.INFO: TCP Data received {"connection_id":129074,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:02:59] local.INFO: Processing buffer {"connection_id":129074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:02:59] local.INFO: IMEI packet received {"connection_id":129074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":129074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:03:03] local.INFO: TCP Data received {"connection_id":129075,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:03:03] local.INFO: Processing buffer {"connection_id":129075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:03:03] local.INFO: IMEI packet received {"connection_id":129075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":129075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:03:04] local.INFO: TCP Data received {"connection_id":129074,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:03:04] local.INFO: Processing buffer {"connection_id":129074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:03:04] local.INFO: IMEI packet received {"connection_id":129074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":129074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:03:06] local.INFO: TCP Data received {"connection_id":129074,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:03:06] local.INFO: Processing buffer {"connection_id":129074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:03:06] local.INFO: Packet analysis {"connection_id":129074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:03:06] local.INFO: Extracted packet for processing {"connection_id":129074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":129074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:03:06] local.INFO: GPS data processed {"connection_id":129074,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:03:06] local.INFO: Acknowledgment sent {"connection_id":129074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:03:07] local.INFO: TCP Data received {"connection_id":129075,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:03:07] local.INFO: Processing buffer {"connection_id":129075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:03:07] local.INFO: IMEI packet received {"connection_id":129075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":129075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:03:08] local.INFO: TCP Data received {"connection_id":129075,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52057c18012cf476800710a0a0001f007930..."} 
[2026-07-11 22:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52057c18012cf476800710a0a0001f007930..."} 
[2026-07-11 22:03:08] local.INFO: Processing buffer {"connection_id":129075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52057c18012cf476800710a0a0001f007930..."} 
[2026-07-11 22:03:08] local.INFO: Packet analysis {"connection_id":129075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5205"} 
[2026-07-11 22:03:08] local.INFO: Extracted packet for processing {"connection_id":129075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5205"} 
[2026-07-11 22:03:08] local.INFO: GPS Element Parsed {"raw_longitude":754218624,"raw_latitude":118530208,"longitude_deg":75.4218624,"latitude_deg":11.8530208,"altitude":31,"angle":121,"satellites":48,"speed":20,"hex_longitude":"2cf47680","hex_latitude":"0710a0a0","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649603584001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345693254706003968,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-833799219417167872,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783787519000,"timestamp_ms":1783787519000,"timestamp_seconds":1783787519,"priority":1,"record_length":96,"hex_timestamp":"0000019f52057c18"} 
[2026-07-11 22:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 22:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:03: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-07-11 22:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649603584001,"66":27213,"215":206,"83":41472,"24":20,"16":345693254706003968,"44":-833799219417167872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-07-11 22:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649603584001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:03:08] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-11 22:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345693254706003968,"km_value":345693254706003.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:03:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-833799219417167872,"description":"Unknown IO ID 44"} 
[2026-07-11 22:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649603584001,"power":27213,"unknown_215":206,"unknown_83":41472,"ignition":20,"odometer":null,"unknown_44":-833799219417167872}} 
[2026-07-11 22:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":129075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:03:08] local.INFO: GPS data processed {"connection_id":129075,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:03:08] local.INFO: Acknowledgment sent {"connection_id":129075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:03:37] local.INFO: TCP Data received {"connection_id":129074,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:03:37] local.INFO: Processing buffer {"connection_id":129074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:03:37] local.INFO: Packet analysis {"connection_id":129074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:03:37] local.INFO: Extracted packet for processing {"connection_id":129074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:03:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":129074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:03:37] local.INFO: GPS data processed {"connection_id":129074,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:03:37] local.INFO: Acknowledgment sent {"connection_id":129074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:03:52] local.INFO: TCP Data received {"connection_id":129075,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52058bb8012cf47d0007109b40001f00852f..."} 
[2026-07-11 22:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52058bb8012cf47d0007109b40001f00852f..."} 
[2026-07-11 22:03:52] local.INFO: Processing buffer {"connection_id":129075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52058bb8012cf47d0007109b40001f00852f..."} 
[2026-07-11 22:03:52] local.INFO: Packet analysis {"connection_id":129075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5205"} 
[2026-07-11 22:03:52] local.INFO: Extracted packet for processing {"connection_id":129075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5205"} 
[2026-07-11 22:03:52] local.INFO: GPS Element Parsed {"raw_longitude":754220288,"raw_latitude":118528832,"longitude_deg":75.4220288,"latitude_deg":11.8528832,"altitude":31,"angle":133,"satellites":47,"speed":22,"hex_longitude":"2cf47d00","hex_latitude":"07109b40","is_valid_coordinates":true} 
[2026-07-11 22:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649604864001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345693362080186368,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-831336313371189248,"note":"Value kept but may cause issues"} 
[2026-07-11 22:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783787523000,"timestamp_ms":1783787523000,"timestamp_seconds":1783787523,"priority":1,"record_length":96,"hex_timestamp":"0000019f52058bb8"} 
[2026-07-11 22:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 22:03:52] 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-07-11 22:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":129075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":129075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":129075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649604864001,"66":27180,"215":206,"83":41472,"24":22,"16":345693362080186368,"44":-831336313371189248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-07-11 22:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649604864001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:03:52] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-11 22:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345693362080186368,"km_value":345693362080186.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:03:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-831336313371189248,"description":"Unknown IO ID 44"} 
[2026-07-11 22:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649604864001,"power":27180,"unknown_215":206,"unknown_83":41472,"ignition":22,"odometer":null,"unknown_44":-831336313371189248}} 
[2026-07-11 22:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":129075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:03:52] local.INFO: GPS data processed {"connection_id":129075,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:03:52] local.INFO: Acknowledgment sent {"connection_id":129075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:03:59] local.INFO: TCP Data received {"connection_id":131065,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:03:59] local.INFO: Processing buffer {"connection_id":131065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:03:59] local.INFO: IMEI packet received {"connection_id":131065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":131065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:04:03] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:04:03] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:04:03] local.INFO: IMEI packet received {"connection_id":128893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":128893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:04:04] local.INFO: TCP Data received {"connection_id":131065,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:04:04] local.INFO: Processing buffer {"connection_id":131065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:04:04] local.INFO: IMEI packet received {"connection_id":131065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":131065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:04:05] local.INFO: TCP Data received {"connection_id":131065,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:04:05] local.INFO: Processing buffer {"connection_id":131065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:04:05] local.INFO: Packet analysis {"connection_id":131065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:04:05] local.INFO: Extracted packet for processing {"connection_id":131065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":131065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:04:05] local.INFO: GPS data processed {"connection_id":131065,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:04:05] local.INFO: Acknowledgment sent {"connection_id":131065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:04:08] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:04:08] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:04:08] local.INFO: IMEI packet received {"connection_id":128893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":128893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:04:09] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5205c268012cf4964007108288002000862b..."} 
[2026-07-11 22:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5205c268012cf4964007108288002000862b..."} 
[2026-07-11 22:04:09] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5205c268012cf4964007108288002000862b..."} 
[2026-07-11 22:04:09] local.INFO: Packet analysis {"connection_id":128893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5205"} 
[2026-07-11 22:04:09] local.INFO: Extracted packet for processing {"connection_id":128893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5205"} 
[2026-07-11 22:04:09] local.INFO: GPS Element Parsed {"raw_longitude":754226752,"raw_latitude":118522504,"longitude_deg":75.4226752,"latitude_deg":11.8522504,"altitude":32,"angle":134,"satellites":43,"speed":28,"hex_longitude":"2cf49640","hex_latitude":"07108288","is_valid_coordinates":true} 
[2026-07-11 22:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649605888001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345693795871883264,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-829506726022922240,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783787537000,"timestamp_ms":1783787537000,"timestamp_seconds":1783787537,"priority":1,"record_length":96,"hex_timestamp":"0000019f5205c268"} 
[2026-07-11 22:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:04:09] 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-07-11 22:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 22:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649605888001,"66":27484,"215":206,"83":41472,"24":28,"16":345693795871883264,"44":-829506726022922240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-07-11 22:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649605888001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:04:09] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-11 22:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345693795871883264,"km_value":345693795871883.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-829506726022922240,"description":"Unknown IO ID 44"} 
[2026-07-11 22:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649605888001,"power":27484,"unknown_215":206,"unknown_83":41472,"ignition":28,"odometer":null,"unknown_44":-829506726022922240}} 
[2026-07-11 22:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":128893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:04:09] local.INFO: GPS data processed {"connection_id":128893,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:04:09] local.INFO: Acknowledgment sent {"connection_id":128893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:04:10] local.INFO: TCP Data received {"connection_id":131064,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:04:10] local.INFO: Processing buffer {"connection_id":131064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:04:10] local.INFO: IMEI packet received {"connection_id":131064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":131064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:04:37] local.INFO: TCP Data received {"connection_id":131065,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:04:37] local.INFO: Processing buffer {"connection_id":131065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:04:37] local.INFO: Packet analysis {"connection_id":131065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:04:37] local.INFO: Extracted packet for processing {"connection_id":131065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":131065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":131065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":131065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":131065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:04:37] local.INFO: GPS data processed {"connection_id":131065,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:04:37] local.INFO: Acknowledgment sent {"connection_id":131065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:04:44] local.INFO: TCP Data received {"connection_id":129076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:04:44] local.INFO: Processing buffer {"connection_id":129076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:04:44] local.INFO: IMEI packet received {"connection_id":129076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":129076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:04:46] local.INFO: TCP Data received {"connection_id":128893,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5205f148012cf4b0c007106a60001e007f2b..."} 
[2026-07-11 22:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5205f148012cf4b0c007106a60001e007f2b..."} 
[2026-07-11 22:04:46] local.INFO: Processing buffer {"connection_id":128893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5205f148012cf4b0c007106a60001e007f2b..."} 
[2026-07-11 22:04:46] local.INFO: Packet analysis {"connection_id":128893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5205"} 
[2026-07-11 22:04:46] local.INFO: Extracted packet for processing {"connection_id":128893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5205"} 
[2026-07-11 22:04:46] local.INFO: GPS Element Parsed {"raw_longitude":754233536,"raw_latitude":118516320,"longitude_deg":75.4233536,"latitude_deg":11.851632,"altitude":30,"angle":127,"satellites":43,"speed":31,"hex_longitude":"2cf4b0c0","hex_latitude":"07106a60","is_valid_coordinates":true} 
[2026-07-11 22:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649609472001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345694238253514752,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-822399482862598144,"note":"Value kept but may cause issues"} 
[2026-07-11 22:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783787549000,"timestamp_ms":1783787549000,"timestamp_seconds":1783787549,"priority":1,"record_length":96,"hex_timestamp":"0000019f5205f148"} 
[2026-07-11 22:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 22:04:46] 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-07-11 22:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649609472001,"66":27234,"215":206,"83":41472,"24":31,"16":345694238253514752,"44":-822399482862598144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-07-11 22:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649609472001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:04:46] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-11 22:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-11 22:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345694238253514752,"km_value":345694238253514.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:04:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-822399482862598144,"description":"Unknown IO ID 44"} 
[2026-07-11 22:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649609472001,"power":27234,"unknown_215":206,"unknown_83":41472,"ignition":31,"odometer":null,"unknown_44":-822399482862598144}} 
[2026-07-11 22:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":128893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:04:46] local.INFO: GPS data processed {"connection_id":128893,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:04:46] local.INFO: Acknowledgment sent {"connection_id":128893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:05:03] local.INFO: TCP Data received {"connection_id":129807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:05:03] local.INFO: Processing buffer {"connection_id":129807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:05:03] local.INFO: IMEI packet received {"connection_id":129807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":129807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:05:04] local.INFO: TCP Data received {"connection_id":131066,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:05:04] local.INFO: Processing buffer {"connection_id":131066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:05:04] local.INFO: IMEI packet received {"connection_id":131066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":131066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:05:09] local.INFO: TCP Data received {"connection_id":131066,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:05:09] local.INFO: Processing buffer {"connection_id":131066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:05:09] local.INFO: IMEI packet received {"connection_id":131066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":131066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:05:10] local.INFO: TCP Data received {"connection_id":131066,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:05:10] local.INFO: Processing buffer {"connection_id":131066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:05:10] local.INFO: Packet analysis {"connection_id":131066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:05:10] local.INFO: Extracted packet for processing {"connection_id":131066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:05:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:05:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":131066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:05:10] local.INFO: GPS data processed {"connection_id":131066,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:05:10] local.INFO: Acknowledgment sent {"connection_id":131066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:05:11] local.INFO: TCP Data received {"connection_id":129807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:05:11] local.INFO: Processing buffer {"connection_id":129807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:05:11] local.INFO: IMEI packet received {"connection_id":129807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":129807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:05:19] local.INFO: TCP Data received {"connection_id":129807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:05:19] local.INFO: Processing buffer {"connection_id":129807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:05:19] local.INFO: IMEI packet received {"connection_id":129807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":129807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:05:20] local.INFO: TCP Data received {"connection_id":129807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52077fb8012cf58800070f9150000e00c02f..."} 
[2026-07-11 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52077fb8012cf58800070f9150000e00c02f..."} 
[2026-07-11 22:05:20] local.INFO: Processing buffer {"connection_id":129807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52077fb8012cf58800070f9150000e00c02f..."} 
[2026-07-11 22:05:20] local.INFO: Packet analysis {"connection_id":129807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5207"} 
[2026-07-11 22:05:20] local.INFO: Extracted packet for processing {"connection_id":129807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5207"} 
[2026-07-11 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":754288640,"raw_latitude":118460752,"longitude_deg":75.428864,"latitude_deg":11.8460752,"altitude":14,"angle":192,"satellites":47,"speed":57,"hex_longitude":"2cf58800","hex_latitude":"070f9150","is_valid_coordinates":true} 
[2026-07-11 22:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649637632001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345698254047936512,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-753860326047948800,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783787651000,"timestamp_ms":1783787651000,"timestamp_seconds":1783787651,"priority":1,"record_length":96,"hex_timestamp":"0000019f52077fb8"} 
[2026-07-11 22:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:05: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-07-11 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":129807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":129807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":129807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649637632001,"66":27343,"255":206,"83":41728,"24":57,"16":345698254047936512,"44":-753860326047948800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-07-11 22:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649637632001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:05:20] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 22:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345698254047936512,"km_value":345698254047936.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-753860326047948800,"description":"Unknown IO ID 44"} 
[2026-07-11 22:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649637632001,"power":27343,"unknown_255":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-753860326047948800}} 
[2026-07-11 22:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":129807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:05:20] local.INFO: GPS data processed {"connection_id":129807,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:05:20] local.INFO: Acknowledgment sent {"connection_id":129807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:05:21] local.INFO: TCP Data received {"connection_id":129807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52079728012cf57cc0070f6f40000b00c62f..."} 
[2026-07-11 22:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52079728012cf57cc0070f6f40000b00c62f..."} 
[2026-07-11 22:05:21] local.INFO: Processing buffer {"connection_id":129807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52079728012cf57cc0070f6f40000b00c62f..."} 
[2026-07-11 22:05:21] local.INFO: Packet analysis {"connection_id":129807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5207"} 
[2026-07-11 22:05:21] local.INFO: Extracted packet for processing {"connection_id":129807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5207"} 
[2026-07-11 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":754285760,"raw_latitude":118452032,"longitude_deg":75.428576,"latitude_deg":11.8452032,"altitude":11,"angle":198,"satellites":47,"speed":63,"hex_longitude":"2cf57cc0","hex_latitude":"070f6f40","is_valid_coordinates":true} 
[2026-07-11 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649638656001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345698696429568000,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-754352907258605568,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783787657000,"timestamp_ms":1783787657000,"timestamp_seconds":1783787657,"priority":1,"record_length":96,"hex_timestamp":"0000019f52079728"} 
[2026-07-11 22:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":129807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":129807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":129807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649638656001,"66":27343,"255":206,"83":41728,"24":63,"16":345698696429568000,"44":-754352907258605568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-07-11 22:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649638656001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:05:21] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 22:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345698696429568000,"km_value":345698696429568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-754352907258605568,"description":"Unknown IO ID 44"} 
[2026-07-11 22:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649638656001,"power":27343,"unknown_255":206,"unknown_83":41728,"ignition":63,"odometer":null,"unknown_44":-754352907258605568}} 
[2026-07-11 22:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":129807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:05:21] local.INFO: GPS data processed {"connection_id":129807,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:05:21] local.INFO: Acknowledgment sent {"connection_id":129807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:05:47] local.INFO: TCP Data received {"connection_id":131066,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:05:47] local.INFO: Processing buffer {"connection_id":131066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:05:47] local.INFO: Packet analysis {"connection_id":131066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:05:47] local.INFO: Extracted packet for processing {"connection_id":131066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:05:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":131066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:05:47] local.INFO: GPS data processed {"connection_id":131066,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:05:47] local.INFO: Acknowledgment sent {"connection_id":131066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:05:59] local.INFO: TCP Data received {"connection_id":129808,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:05:59] local.INFO: Processing buffer {"connection_id":129808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:05:59] local.INFO: IMEI packet received {"connection_id":129808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":129808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:06:04] local.INFO: TCP Data received {"connection_id":129808,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:06:04] local.INFO: Processing buffer {"connection_id":129808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:06:04] local.INFO: IMEI packet received {"connection_id":129808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":129808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:06:05] local.INFO: TCP Data received {"connection_id":129808,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:06:05] local.INFO: Processing buffer {"connection_id":129808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:06:05] local.INFO: Packet analysis {"connection_id":129808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:06:05] local.INFO: Extracted packet for processing {"connection_id":129808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":129808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:06:05] local.INFO: GPS data processed {"connection_id":129808,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:06:05] local.INFO: Acknowledgment sent {"connection_id":129808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:06:06] local.INFO: TCP Data received {"connection_id":131067,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:06:06] local.INFO: Processing buffer {"connection_id":131067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:06:06] local.INFO: IMEI packet received {"connection_id":131067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":131067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:06:08] local.INFO: TCP Data received {"connection_id":131067,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:06:08] local.INFO: Processing buffer {"connection_id":131067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:06:08] local.INFO: IMEI packet received {"connection_id":131067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":131067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:06:13] local.INFO: TCP Data received {"connection_id":131067,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:06:13] local.INFO: Processing buffer {"connection_id":131067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:06:13] local.INFO: IMEI packet received {"connection_id":131067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":131067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:06:14] local.INFO: TCP Data received {"connection_id":131067,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5207ae98012cf57280070f4b48000a00bd2e..."} 
[2026-07-11 22:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5207ae98012cf57280070f4b48000a00bd2e..."} 
[2026-07-11 22:06:14] local.INFO: Processing buffer {"connection_id":131067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5207ae98012cf57280070f4b48000a00bd2e..."} 
[2026-07-11 22:06:14] local.INFO: Packet analysis {"connection_id":131067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5207"} 
[2026-07-11 22:06:14] local.INFO: Extracted packet for processing {"connection_id":131067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5207"} 
[2026-07-11 22:06:14] local.INFO: GPS Element Parsed {"raw_longitude":754283136,"raw_latitude":118442824,"longitude_deg":75.4283136,"latitude_deg":11.8442824,"altitude":10,"angle":189,"satellites":46,"speed":62,"hex_longitude":"2cf57280","hex_latitude":"070f4b48","is_valid_coordinates":true} 
[2026-07-11 22:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649640192001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345699160286035968,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-757519500748832768,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783787663000,"timestamp_ms":1783787663000,"timestamp_seconds":1783787663,"priority":1,"record_length":96,"hex_timestamp":"0000019f5207ae98"} 
[2026-07-11 22:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:06:14] 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-07-11 22:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649640192001,"66":27234,"255":206,"83":41728,"24":62,"16":345699160286035968,"44":-757519500748832768},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-07-11 22:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649640192001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:06:14] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-11 22:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345699160286035968,"km_value":345699160286035.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:06:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-757519500748832768,"description":"Unknown IO ID 44"} 
[2026-07-11 22:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649640192001,"power":27234,"unknown_255":206,"unknown_83":41728,"ignition":62,"odometer":null,"unknown_44":-757519500748832768}} 
[2026-07-11 22:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":131067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:06:14] local.INFO: GPS data processed {"connection_id":131067,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:06:14] local.INFO: Acknowledgment sent {"connection_id":131067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:06:36] local.INFO: TCP Data received {"connection_id":129808,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:06:36] local.INFO: Processing buffer {"connection_id":129808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5204f748012d196680071fef80003b011a24..."} 
[2026-07-11 22:06:36] local.INFO: Packet analysis {"connection_id":129808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:06:36] local.INFO: Extracted packet for processing {"connection_id":129808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5204"} 
[2026-07-11 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649519104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783787485000,"timestamp_ms":1783787485000,"timestamp_seconds":1783787485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5204f748"} 
[2026-07-11 22:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":129808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":129808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":129808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649519104001,"66":2166,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649519104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:06:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649519104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":129808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:06:36] local.INFO: GPS data processed {"connection_id":129808,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:06:36] local.INFO: Acknowledgment sent {"connection_id":129808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:06:46] local.INFO: TCP Data received {"connection_id":131067,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5208fe88012cf5efc0070da178000b00a02f..."} 
[2026-07-11 22:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5208fe88012cf5efc0070da178000b00a02f..."} 
[2026-07-11 22:06:46] local.INFO: Processing buffer {"connection_id":131067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5208fe88012cf5efc0070da178000b00a02f..."} 
[2026-07-11 22:06:46] local.INFO: Packet analysis {"connection_id":131067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5208"} 
[2026-07-11 22:06:46] local.INFO: Extracted packet for processing {"connection_id":131067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5208"} 
[2026-07-11 22:06:46] local.INFO: GPS Element Parsed {"raw_longitude":754315200,"raw_latitude":118333816,"longitude_deg":75.43152,"latitude_deg":11.8333816,"altitude":11,"angle":160,"satellites":47,"speed":55,"hex_longitude":"2cf5efc0","hex_latitude":"070da178","is_valid_coordinates":true} 
[2026-07-11 22:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649661952001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345704709383782400,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-728949790640601088,"note":"Value kept but may cause issues"} 
[2026-07-11 22:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783787749000,"timestamp_ms":1783787749000,"timestamp_seconds":1783787749,"priority":1,"record_length":96,"hex_timestamp":"0000019f5208fe88"} 
[2026-07-11 22:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:06: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-07-11 22:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649661952001,"66":27300,"39":206,"83":41728,"24":55,"16":345704709383782400,"44":-728949790640601088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-07-11 22:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649661952001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:06:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-11 22:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345704709383782400,"km_value":345704709383782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-728949790640601088,"description":"Unknown IO ID 44"} 
[2026-07-11 22:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649661952001,"power":27300,"unknown_39":206,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-728949790640601088}} 
[2026-07-11 22:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":131067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:06:46] local.INFO: GPS data processed {"connection_id":131067,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:06:46] local.INFO: Acknowledgment sent {"connection_id":131067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:06:58] local.INFO: TCP Data received {"connection_id":129078,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:06:58] local.INFO: Processing buffer {"connection_id":129078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:06:58] local.INFO: IMEI packet received {"connection_id":129078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":129078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:07:03] local.INFO: TCP Data received {"connection_id":128894,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:07:03] local.INFO: Processing buffer {"connection_id":128894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:07:03] local.INFO: IMEI packet received {"connection_id":128894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":128894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:07:04] local.INFO: TCP Data received {"connection_id":129078,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:07:04] local.INFO: Processing buffer {"connection_id":129078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:07:04] local.INFO: IMEI packet received {"connection_id":129078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":129078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:07:05] local.INFO: TCP Data received {"connection_id":128894,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:07:05] local.INFO: Processing buffer {"connection_id":128894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:07:05] local.INFO: IMEI packet received {"connection_id":128894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":128894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:07:05] local.INFO: TCP Data received {"connection_id":129078,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:07:05] local.INFO: Processing buffer {"connection_id":129078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:07:05] local.INFO: Packet analysis {"connection_id":129078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:07:05] local.INFO: Extracted packet for processing {"connection_id":129078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:07:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":129078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:07:05] local.INFO: GPS data processed {"connection_id":129078,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:07:05] local.INFO: Acknowledgment sent {"connection_id":129078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:07:06] local.INFO: TCP Data received {"connection_id":128894,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520919e0012cf5fcc0070d7d00000b009f2f..."} 
[2026-07-11 22:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520919e0012cf5fcc0070d7d00000b009f2f..."} 
[2026-07-11 22:07:06] local.INFO: Processing buffer {"connection_id":128894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520919e0012cf5fcc0070d7d00000b009f2f..."} 
[2026-07-11 22:07:06] local.INFO: Packet analysis {"connection_id":128894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:07:06] local.INFO: Extracted packet for processing {"connection_id":128894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:07:06] local.INFO: GPS Element Parsed {"raw_longitude":754318528,"raw_latitude":118324480,"longitude_deg":75.4318528,"latitude_deg":11.832448,"altitude":11,"angle":159,"satellites":47,"speed":57,"hex_longitude":"2cf5fcc0","hex_latitude":"070d7d00","is_valid_coordinates":true} 
[2026-07-11 22:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649663744001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345705190420119552,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725149878457370624,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783787756000,"timestamp_ms":1783787756000,"timestamp_seconds":1783787756,"priority":1,"record_length":96,"hex_timestamp":"0000019f520919e0"} 
[2026-07-11 22:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 22:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649663744001,"66":27376,"39":206,"83":41728,"24":57,"16":345705190420119552,"44":-725149878457370624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-07-11 22:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649663744001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:07:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-11 22:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345705190420119552,"km_value":345705190420119.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725149878457370624,"description":"Unknown IO ID 44"} 
[2026-07-11 22:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649663744001,"power":27376,"unknown_39":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-725149878457370624}} 
[2026-07-11 22:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":128894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:07:06] local.INFO: GPS data processed {"connection_id":128894,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:07:06] local.INFO: Acknowledgment sent {"connection_id":128894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:07:37] local.INFO: TCP Data received {"connection_id":129078,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:07:37] local.INFO: Processing buffer {"connection_id":129078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:07:37] local.INFO: Packet analysis {"connection_id":129078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:07:37] local.INFO: Extracted packet for processing {"connection_id":129078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":129078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:07:37] local.INFO: GPS data processed {"connection_id":129078,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:07:37] local.INFO: Acknowledgment sent {"connection_id":129078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:07:37] local.INFO: TCP Data received {"connection_id":128894,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52093538012cf60ac0070d5738000a00a02f..."} 
[2026-07-11 22:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52093538012cf60ac0070d5738000a00a02f..."} 
[2026-07-11 22:07:37] local.INFO: Processing buffer {"connection_id":128894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52093538012cf60ac0070d5738000a00a02f..."} 
[2026-07-11 22:07:37] local.INFO: Packet analysis {"connection_id":128894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:07:37] local.INFO: Extracted packet for processing {"connection_id":128894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":754322112,"raw_latitude":118314808,"longitude_deg":75.4322112,"latitude_deg":11.8314808,"altitude":10,"angle":160,"satellites":47,"speed":59,"hex_longitude":"2cf60ac0","hex_latitude":"070d5738","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649665536001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345705688636325888,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-721490703762522112,"note":"Value kept but may cause issues"} 
[2026-07-11 22:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787763000,"timestamp_ms":1783787763000,"timestamp_seconds":1783787763,"priority":1,"record_length":96,"hex_timestamp":"0000019f52093538"} 
[2026-07-11 22:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 22:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649665536001,"66":27376,"39":206,"83":41728,"24":59,"16":345705688636325888,"44":-721490703762522112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-07-11 22:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649665536001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:07:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-11 22:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345705688636325888,"km_value":345705688636325.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-721490703762522112,"description":"Unknown IO ID 44"} 
[2026-07-11 22:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649665536001,"power":27376,"unknown_39":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-721490703762522112}} 
[2026-07-11 22:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":128894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:07:37] local.INFO: GPS data processed {"connection_id":128894,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:07:37] local.INFO: Acknowledgment sent {"connection_id":128894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:08:04] local.INFO: TCP Data received {"connection_id":129810,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:08:04] local.INFO: Processing buffer {"connection_id":129810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:08:04] local.INFO: IMEI packet received {"connection_id":129810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":129810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:08:04] local.INFO: TCP Data received {"connection_id":129811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:08:04] local.INFO: Processing buffer {"connection_id":129811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:08:04] local.INFO: IMEI packet received {"connection_id":129811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":129811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:08:08] local.INFO: TCP Data received {"connection_id":129811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:08:08] local.INFO: Processing buffer {"connection_id":129811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:08:08] local.INFO: IMEI packet received {"connection_id":129811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":129811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:08:09] local.INFO: TCP Data received {"connection_id":129810,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:08:09] local.INFO: Processing buffer {"connection_id":129810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:08:09] local.INFO: IMEI packet received {"connection_id":129810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":129810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:08:10] local.INFO: TCP Data received {"connection_id":129810,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:08:10] local.INFO: Processing buffer {"connection_id":129810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:08:10] local.INFO: Packet analysis {"connection_id":129810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:08:10] local.INFO: Extracted packet for processing {"connection_id":129810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:08:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":129810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:08:10] local.INFO: GPS data processed {"connection_id":129810,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:08:10] local.INFO: Acknowledgment sent {"connection_id":129810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:08:11] local.INFO: TCP Data received {"connection_id":129811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:08:11] local.INFO: Processing buffer {"connection_id":129811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:08:11] local.INFO: IMEI packet received {"connection_id":129811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":129811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:08:12] local.INFO: TCP Data received {"connection_id":129811,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520a2b50012cf63ec0070bf698000b009e2e..."} 
[2026-07-11 22:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520a2b50012cf63ec0070bf698000b009e2e..."} 
[2026-07-11 22:08:12] local.INFO: Processing buffer {"connection_id":129811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520a2b50012cf63ec0070bf698000b009e2e..."} 
[2026-07-11 22:08:12] local.INFO: Packet analysis {"connection_id":129811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:08:12] local.INFO: Extracted packet for processing {"connection_id":129811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:08:12] local.INFO: GPS Element Parsed {"raw_longitude":754335424,"raw_latitude":118224536,"longitude_deg":75.4335424,"latitude_deg":11.8224536,"altitude":11,"angle":158,"satellites":46,"speed":52,"hex_longitude":"2cf63ec0","hex_latitude":"070bf698","is_valid_coordinates":true} 
[2026-07-11 22:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649681664001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345710159697281024,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706854004996931584,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783787826000,"timestamp_ms":1783787826000,"timestamp_seconds":1783787826,"priority":1,"record_length":96,"hex_timestamp":"0000019f520a2b50"} 
[2026-07-11 22:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:08: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-07-11 22:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649681664001,"66":27321,"177":206,"83":41728,"24":52,"16":345710159697281024,"44":-706854004996931584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-11 22:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649681664001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:08:12] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-11 22:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345710159697281024,"km_value":345710159697281.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706854004996931584,"description":"Unknown IO ID 44"} 
[2026-07-11 22:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649681664001,"power":27321,"unknown_177":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-706854004996931584}} 
[2026-07-11 22:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":129811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:08:12] local.INFO: GPS data processed {"connection_id":129811,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:08:12] local.INFO: Acknowledgment sent {"connection_id":129811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:08:13] local.INFO: TCP Data received {"connection_id":129811,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520a46a8012cf64d00070bd428000a009c2e..."} 
[2026-07-11 22:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520a46a8012cf64d00070bd428000a009c2e..."} 
[2026-07-11 22:08:13] local.INFO: Processing buffer {"connection_id":129811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520a46a8012cf64d00070bd428000a009c2e..."} 
[2026-07-11 22:08:13] local.INFO: Packet analysis {"connection_id":129811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:08:13] local.INFO: Extracted packet for processing {"connection_id":129811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:08:13] local.INFO: GPS Element Parsed {"raw_longitude":754339072,"raw_latitude":118215720,"longitude_deg":75.4339072,"latitude_deg":11.821572,"altitude":10,"angle":156,"satellites":46,"speed":56,"hex_longitude":"2cf64d00","hex_latitude":"070bd428","is_valid_coordinates":true} 
[2026-07-11 22:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649683456001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-702913355325204480,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345710623553748992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 22:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783787833000,"timestamp_ms":1783787833000,"timestamp_seconds":1783787833,"priority":1,"record_length":96,"hex_timestamp":"0000019f520a46a8"} 
[2026-07-11 22:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649683456001,"66":27397,"44":-702913355325204480,"83":41728,"24":56,"16":345710623553748992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-11 22:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649683456001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-702913355325204480,"description":"Unknown IO ID 44"} 
[2026-07-11 22:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345710623553748992,"km_value":345710623553749.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:08:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649683456001,"power":27397,"unknown_44":-702913355325204480,"unknown_83":41728,"ignition":56,"odometer":null}} 
[2026-07-11 22:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":129811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:08:13] local.INFO: GPS data processed {"connection_id":129811,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:08:13] local.INFO: Acknowledgment sent {"connection_id":129811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:08:15] local.INFO: TCP Data received {"connection_id":129810,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:08:15] local.INFO: Processing buffer {"connection_id":129810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:08:15] local.INFO: Packet analysis {"connection_id":129810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:08:15] local.INFO: Extracted packet for processing {"connection_id":129810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:08:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:08:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":129810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:08:15] local.INFO: GPS data processed {"connection_id":129810,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:08:15] local.INFO: Acknowledgment sent {"connection_id":129810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:08:44] local.INFO: TCP Data received {"connection_id":129811,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520a5e18012cf65b00070bb3800007009d2f..."} 
[2026-07-11 22:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520a5e18012cf65b00070bb3800007009d2f..."} 
[2026-07-11 22:08:44] local.INFO: Processing buffer {"connection_id":129811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520a5e18012cf65b00070bb3800007009d2f..."} 
[2026-07-11 22:08:44] local.INFO: Packet analysis {"connection_id":129811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:08:44] local.INFO: Extracted packet for processing {"connection_id":129811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:08:44] local.INFO: GPS Element Parsed {"raw_longitude":754342656,"raw_latitude":118207360,"longitude_deg":75.4342656,"latitude_deg":11.820736,"altitude":7,"angle":157,"satellites":47,"speed":62,"hex_longitude":"2cf65b00","hex_latitude":"070bb380","is_valid_coordinates":true} 
[2026-07-11 22:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649685248001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-698902336909334528,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345711061640413184,"note":"Value kept but may cause issues"} 
[2026-07-11 22:08:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 22:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783787839000,"timestamp_ms":1783787839000,"timestamp_seconds":1783787839,"priority":1,"record_length":96,"hex_timestamp":"0000019f520a5e18"} 
[2026-07-11 22:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 22:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649685248001,"66":27267,"44":-698902336909334528,"83":41728,"24":62,"16":345711061640413184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-11 22:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649685248001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-698902336909334528,"description":"Unknown IO ID 44"} 
[2026-07-11 22:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345711061640413184,"km_value":345711061640413.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:08:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649685248001,"power":27267,"unknown_44":-698902336909334528,"unknown_83":41728,"ignition":62,"odometer":null}} 
[2026-07-11 22:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":129811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:08:44] local.INFO: GPS data processed {"connection_id":129811,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:08:44] local.INFO: Acknowledgment sent {"connection_id":129811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:08:59] local.INFO: TCP Data received {"connection_id":129812,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:08:59] local.INFO: Processing buffer {"connection_id":129812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:08:59] local.INFO: IMEI packet received {"connection_id":129812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":129812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:09:03] local.INFO: TCP Data received {"connection_id":129080,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:09:03] local.INFO: Processing buffer {"connection_id":129080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:09:03] local.INFO: IMEI packet received {"connection_id":129080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":129080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:09:04] local.INFO: TCP Data received {"connection_id":129812,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:09:04] local.INFO: Processing buffer {"connection_id":129812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:09:04] local.INFO: IMEI packet received {"connection_id":129812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":129812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:09:05] local.INFO: TCP Data received {"connection_id":129812,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:09:05] local.INFO: Processing buffer {"connection_id":129812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:09:05] local.INFO: Packet analysis {"connection_id":129812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:09:05] local.INFO: Extracted packet for processing {"connection_id":129812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":129812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":129812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":129812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:09:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":129812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:09:05] local.INFO: GPS data processed {"connection_id":129812,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:09:05] local.INFO: Acknowledgment sent {"connection_id":129812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:09:06] local.INFO: TCP Data received {"connection_id":129080,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:09:06] local.INFO: Processing buffer {"connection_id":129080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:09:06] local.INFO: IMEI packet received {"connection_id":129080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":129080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:09:06] local.INFO: TCP Data received {"connection_id":129080,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520a7970012cf66a00070b90d00006009b2f..."} 
[2026-07-11 22:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520a7970012cf66a00070b90d00006009b2f..."} 
[2026-07-11 22:09:06] local.INFO: Processing buffer {"connection_id":129080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520a7970012cf66a00070b90d00006009b2f..."} 
[2026-07-11 22:09:06] local.INFO: Packet analysis {"connection_id":129080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:09:06] local.INFO: Extracted packet for processing {"connection_id":129080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:09:06] local.INFO: GPS Element Parsed {"raw_longitude":754346496,"raw_latitude":118198480,"longitude_deg":75.4346496,"latitude_deg":11.819848,"altitude":6,"angle":155,"satellites":47,"speed":50,"hex_longitude":"2cf66a00","hex_latitude":"070b90d0","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649686784001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-694961687237525504,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345711529791848448,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-11 22:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783787846000,"timestamp_ms":1783787846000,"timestamp_seconds":1783787846,"priority":1,"record_length":96,"hex_timestamp":"0000019f520a7970"} 
[2026-07-11 22:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:09: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-07-11 22: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-07-11 22:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":129080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":129080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":129080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649686784001,"66":27234,"44":-694961687237525504,"83":41728,"24":50,"16":345711529791848448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-11 22:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649686784001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-694961687237525504,"description":"Unknown IO ID 44"} 
[2026-07-11 22:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345711529791848448,"km_value":345711529791848.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:09:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456649686784001,"power":27234,"unknown_44":-694961687237525504,"unknown_83":41728,"ignition":50,"odometer":null}} 
[2026-07-11 22:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":129080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:09:06] local.INFO: GPS data processed {"connection_id":129080,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:09:06] local.INFO: Acknowledgment sent {"connection_id":129080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:09:37] local.INFO: TCP Data received {"connection_id":129812,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:09:37] local.INFO: Processing buffer {"connection_id":129812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:09:37] local.INFO: Packet analysis {"connection_id":129812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:09:37] local.INFO: Extracted packet for processing {"connection_id":129812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:09:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":129812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:09:37] local.INFO: GPS data processed {"connection_id":129812,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:09:37] local.INFO: Acknowledgment sent {"connection_id":129812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:09:37] local.INFO: TCP Data received {"connection_id":129080,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520a94c8012cf67740070b70b00007009e2f..."} 
[2026-07-11 22:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520a94c8012cf67740070b70b00007009e2f..."} 
[2026-07-11 22:09:37] local.INFO: Processing buffer {"connection_id":129080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520a94c8012cf67740070b70b00007009e2f..."} 
[2026-07-11 22:09:37] local.INFO: Packet analysis {"connection_id":129080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:09:37] local.INFO: Extracted packet for processing {"connection_id":129080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520a"} 
[2026-07-11 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":754349888,"raw_latitude":118190256,"longitude_deg":75.4349888,"latitude_deg":11.8190256,"altitude":7,"angle":158,"satellites":47,"speed":51,"hex_longitude":"2cf67740","hex_latitude":"070b70b0","is_valid_coordinates":true} 
[2026-07-11 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649688576001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345711959288578048,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-690739562589138944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787853000,"timestamp_ms":1783787853000,"timestamp_seconds":1783787853,"priority":1,"record_length":96,"hex_timestamp":"0000019f520a94c8"} 
[2026-07-11 22:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 22:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":129080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":129080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":129080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649688576001,"66":27137,"31":206,"83":41728,"24":51,"16":345711959288578048,"44":-690739562589138944},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-11 22:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649688576001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:09:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-11 22:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345711959288578048,"km_value":345711959288578.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-690739562589138944,"description":"Unknown IO ID 44"} 
[2026-07-11 22:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649688576001,"power":27137,"unknown_31":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-690739562589138944}} 
[2026-07-11 22:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":129080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:09:37] local.INFO: GPS data processed {"connection_id":129080,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:09:37] local.INFO: Acknowledgment sent {"connection_id":129080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:09:58] local.INFO: TCP Data received {"connection_id":128895,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:09:58] local.INFO: Processing buffer {"connection_id":128895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:09:58] local.INFO: IMEI packet received {"connection_id":128895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":128895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:10:03] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:10:03] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:10:03] local.INFO: IMEI packet received {"connection_id":128896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":128896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:10:04] local.INFO: TCP Data received {"connection_id":128895,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:10:04] local.INFO: Processing buffer {"connection_id":128895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:10:04] local.INFO: IMEI packet received {"connection_id":128895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":128895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:10:04] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:10:04] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:10:04] local.INFO: IMEI packet received {"connection_id":128896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":128896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:10:04] local.INFO: TCP Data received {"connection_id":129081,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:10:04] local.INFO: Processing buffer {"connection_id":129081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:10:04] local.INFO: IMEI packet received {"connection_id":129081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":129081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:10:05] local.INFO: TCP Data received {"connection_id":128895,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:10:05] local.INFO: Processing buffer {"connection_id":128895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:10:05] local.INFO: Packet analysis {"connection_id":128895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:10:05] local.INFO: Extracted packet for processing {"connection_id":128895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":128895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:10:05] local.INFO: GPS data processed {"connection_id":128895,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:10:05] local.INFO: Acknowledgment sent {"connection_id":128895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:10:08] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:10:08] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:10:08] local.INFO: IMEI packet received {"connection_id":128896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":128896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:10:09] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520be0d0012cf768c0070a2288000b008c2f..."} 
[2026-07-11 22:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520be0d0012cf768c0070a2288000b008c2f..."} 
[2026-07-11 22:10:09] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520be0d0012cf768c0070a2288000b008c2f..."} 
[2026-07-11 22:10:09] local.INFO: Packet analysis {"connection_id":128896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520b"} 
[2026-07-11 22:10:09] local.INFO: Extracted packet for processing {"connection_id":128896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520b"} 
[2026-07-11 22:10:09] local.INFO: GPS Element Parsed {"raw_longitude":754411712,"raw_latitude":118104712,"longitude_deg":75.4411712,"latitude_deg":11.8104712,"altitude":11,"angle":140,"satellites":47,"speed":53,"hex_longitude":"2cf768c0","hex_latitude":"070a2288","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649710336001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345717057414758400,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-625648474246991872,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783787938000,"timestamp_ms":1783787938000,"timestamp_seconds":1783787938,"priority":1,"record_length":96,"hex_timestamp":"0000019f520be0d0"} 
[2026-07-11 22:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:10:09] 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-07-11 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649710336001,"66":27343,"31":206,"83":41728,"24":53,"16":345717057414758400,"44":-625648474246991872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-11 22:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649710336001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:10:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-11 22:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345717057414758400,"km_value":345717057414758.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-625648474246991872,"description":"Unknown IO ID 44"} 
[2026-07-11 22:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649710336001,"power":27343,"unknown_31":206,"unknown_83":41728,"ignition":53,"odometer":null,"unknown_44":-625648474246991872}} 
[2026-07-11 22:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":128896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:10:09] local.INFO: GPS data processed {"connection_id":128896,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:10:09] local.INFO: Acknowledgment sent {"connection_id":128896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:10:37] local.INFO: TCP Data received {"connection_id":128895,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:10:37] local.INFO: Processing buffer {"connection_id":128895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:10:37] local.INFO: Packet analysis {"connection_id":128895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:10:37] local.INFO: Extracted packet for processing {"connection_id":128895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":128895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:10:37] local.INFO: GPS data processed {"connection_id":128895,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:10:37] local.INFO: Acknowledgment sent {"connection_id":128895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:10:44] local.INFO: TCP Data received {"connection_id":131069,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:10:44] local.INFO: Processing buffer {"connection_id":131069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:10:44] local.INFO: IMEI packet received {"connection_id":131069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":131069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:10:45] local.INFO: TCP Data received {"connection_id":128896,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520bfc28012cf78200070a05500008008a2f..."} 
[2026-07-11 22:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520bfc28012cf78200070a05500008008a2f..."} 
[2026-07-11 22:10:45] local.INFO: Processing buffer {"connection_id":128896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520bfc28012cf78200070a05500008008a2f..."} 
[2026-07-11 22:10:45] local.INFO: Packet analysis {"connection_id":128896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520b"} 
[2026-07-11 22:10:45] local.INFO: Extracted packet for processing {"connection_id":128896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520b"} 
[2026-07-11 22:10:45] local.INFO: GPS Element Parsed {"raw_longitude":754418176,"raw_latitude":118097232,"longitude_deg":75.4418176,"latitude_deg":11.8097232,"altitude":8,"angle":138,"satellites":47,"speed":57,"hex_longitude":"2cf78200","hex_latitude":"070a0550","is_valid_coordinates":true} 
[2026-07-11 22:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649712128001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345717534156128256,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-619033812296103936,"note":"Value kept but may cause issues"} 
[2026-07-11 22:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783787945000,"timestamp_ms":1783787945000,"timestamp_seconds":1783787945,"priority":1,"record_length":96,"hex_timestamp":"0000019f520bfc28"} 
[2026-07-11 22:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649712128001,"66":27343,"31":206,"83":41728,"24":57,"16":345717534156128256,"44":-619033812296103936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-11 22:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649712128001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:10:45] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-11 22:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345717534156128256,"km_value":345717534156128.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-619033812296103936,"description":"Unknown IO ID 44"} 
[2026-07-11 22:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649712128001,"power":27343,"unknown_31":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-619033812296103936}} 
[2026-07-11 22:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":128896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:10:45] local.INFO: GPS data processed {"connection_id":128896,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:10:45] local.INFO: Acknowledgment sent {"connection_id":128896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:10:58] local.INFO: TCP Data received {"connection_id":131070,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:10:58] local.INFO: Processing buffer {"connection_id":131070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:10:58] local.INFO: IMEI packet received {"connection_id":131070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-11 22:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":131070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:11:03] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:11:03] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:11:03] local.INFO: IMEI packet received {"connection_id":128897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":128897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:11:04] local.INFO: TCP Data received {"connection_id":131070,"ip":"117.224.20.79","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:11:04] local.INFO: Processing buffer {"connection_id":131070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-11 22:11:04] local.INFO: IMEI packet received {"connection_id":131070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-11 22:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":131070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:11:04] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:11:04] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:11:04] local.INFO: IMEI packet received {"connection_id":128897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":128897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:11:05] local.INFO: TCP Data received {"connection_id":131070,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:11:05] local.INFO: Processing buffer {"connection_id":131070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:11:05] local.INFO: Packet analysis {"connection_id":131070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:11:05] local.INFO: Extracted packet for processing {"connection_id":131070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:11:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":131070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:11:05] local.INFO: GPS data processed {"connection_id":131070,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:11:05] local.INFO: Acknowledgment sent {"connection_id":131070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:11:08] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:11:08] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:11:08] local.INFO: IMEI packet received {"connection_id":128897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":128897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:11:09] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520c1780012cf79dc00709e7e8000600872c..."} 
[2026-07-11 22:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520c1780012cf79dc00709e7e8000600872c..."} 
[2026-07-11 22:11:09] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520c1780012cf79dc00709e7e8000600872c..."} 
[2026-07-11 22:11:09] local.INFO: Packet analysis {"connection_id":128897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520c"} 
[2026-07-11 22:11:09] local.INFO: Extracted packet for processing {"connection_id":128897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520c"} 
[2026-07-11 22:11:09] local.INFO: GPS Element Parsed {"raw_longitude":754425280,"raw_latitude":118089704,"longitude_deg":75.442528,"latitude_deg":11.8089704,"altitude":6,"angle":135,"satellites":44,"speed":59,"hex_longitude":"2cf79dc0","hex_latitude":"0709e7e8","is_valid_coordinates":true} 
[2026-07-11 22:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649713920001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345718032372334592,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-611926569136074752,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783787952000,"timestamp_ms":1783787952000,"timestamp_seconds":1783787952,"priority":1,"record_length":96,"hex_timestamp":"0000019f520c1780"} 
[2026-07-11 22:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:11:09] 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-07-11 22:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649713920001,"66":27310,"31":206,"83":41728,"24":59,"16":345718032372334592,"44":-611926569136074752},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-11 22:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649713920001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:11:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-11 22:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345718032372334592,"km_value":345718032372334.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-611926569136074752,"description":"Unknown IO ID 44"} 
[2026-07-11 22:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649713920001,"power":27310,"unknown_31":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-611926569136074752}} 
[2026-07-11 22:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":128897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:11:09] local.INFO: GPS data processed {"connection_id":128897,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:11:09] local.INFO: Acknowledgment sent {"connection_id":128897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:11:37] local.INFO: TCP Data received {"connection_id":131070,"ip":"117.224.20.79","data_length":795,"data_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:11:37] local.INFO: Processing buffer {"connection_id":131070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52098f10012d196680071fef80003b011a22..."} 
[2026-07-11 22:11:37] local.INFO: Packet analysis {"connection_id":131070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:11:37] local.INFO: Extracted packet for processing {"connection_id":131070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5209"} 
[2026-07-11 22:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":59,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649596160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5816575424724992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783787786000,"timestamp_ms":1783787786000,"timestamp_seconds":1783787786,"priority":1,"record_length":96,"hex_timestamp":"0000019f52098f10"} 
[2026-07-11 22:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-11 22:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":131070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":131070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":131070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-11 22:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.20.79","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-11 22:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-11 22:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649596160001,"66":2155,"121":206,"28":31744,"24":0,"16":5816575424724992,"45":1830291066661601280},"client_ip":"117.224.20.79","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-11 22:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-11 22:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-11 22:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649596160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:11:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-11 22:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-11 22:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5816575424724992,"km_value":5816575424724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-11 22:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649596160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-11 22:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":131070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:11:37] local.INFO: GPS data processed {"connection_id":131070,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:11:37] local.INFO: Acknowledgment sent {"connection_id":131070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:11:40] local.INFO: TCP Data received {"connection_id":128897,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520d8a98012cf8bcc007084d880008008f30..."} 
[2026-07-11 22:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520d8a98012cf8bcc007084d880008008f30..."} 
[2026-07-11 22:11:40] local.INFO: Processing buffer {"connection_id":128897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520d8a98012cf8bcc007084d880008008f30..."} 
[2026-07-11 22:11:40] local.INFO: Packet analysis {"connection_id":128897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:11:40] local.INFO: Extracted packet for processing {"connection_id":128897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:11:40] local.INFO: GPS Element Parsed {"raw_longitude":754498752,"raw_latitude":117984648,"longitude_deg":75.4498752,"latitude_deg":11.7984648,"altitude":8,"angle":143,"satellites":48,"speed":60,"hex_longitude":"2cf8bcc0","hex_latitude":"07084d88","is_valid_coordinates":true} 
[2026-07-11 22:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649738240001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345724251484979200,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-530158088428310528,"note":"Value kept but may cause issues"} 
[2026-07-11 22:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783788047000,"timestamp_ms":1783788047000,"timestamp_seconds":1783788047,"priority":1,"record_length":96,"hex_timestamp":"0000019f520d8a98"} 
[2026-07-11 22:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649738240001,"66":27321,"30":206,"83":41728,"24":60,"16":345724251484979200,"44":-530158088428310528},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-07-11 22:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649738240001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:11:40] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-11 22:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345724251484979200,"km_value":345724251484979.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-530158088428310528,"description":"Unknown IO ID 44"} 
[2026-07-11 22:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649738240001,"power":27321,"unknown_30":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-530158088428310528}} 
[2026-07-11 22:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":128897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:11:40] local.INFO: GPS data processed {"connection_id":128897,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:11:40] local.INFO: Acknowledgment sent {"connection_id":128897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:12:03] local.INFO: TCP Data received {"connection_id":131072,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:12:03] local.INFO: Processing buffer {"connection_id":131072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:12:03] local.INFO: IMEI packet received {"connection_id":131072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":131072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:12:06] local.INFO: TCP Data received {"connection_id":131072,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:12:06] local.INFO: Processing buffer {"connection_id":131072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:12:06] local.INFO: IMEI packet received {"connection_id":131072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":131072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:12:08] local.INFO: TCP Data received {"connection_id":131072,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:12:08] local.INFO: Processing buffer {"connection_id":131072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:12:08] local.INFO: IMEI packet received {"connection_id":131072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":131072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:12:09] local.INFO: TCP Data received {"connection_id":131072,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520da208012cf8d200070830f80008009030..."} 
[2026-07-11 22:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520da208012cf8d200070830f80008009030..."} 
[2026-07-11 22:12:09] local.INFO: Processing buffer {"connection_id":131072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520da208012cf8d200070830f80008009030..."} 
[2026-07-11 22:12:09] local.INFO: Packet analysis {"connection_id":131072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:12:09] local.INFO: Extracted packet for processing {"connection_id":131072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:12:09] local.INFO: GPS Element Parsed {"raw_longitude":754504192,"raw_latitude":117977336,"longitude_deg":75.4504192,"latitude_deg":11.7977336,"altitude":8,"angle":144,"satellites":48,"speed":58,"hex_longitude":"2cf8d200","hex_latitude":"070830f8","is_valid_coordinates":true} 
[2026-07-11 22:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649740032001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345724689571643392,"note":"Value kept but may cause issues"} 
[2026-07-11 22:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-523332320245217280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783788053000,"timestamp_ms":1783788053000,"timestamp_seconds":1783788053,"priority":1,"record_length":96,"hex_timestamp":"0000019f520da208"} 
[2026-07-11 22:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:12:09] 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-07-11 22:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649740032001,"66":27343,"197":206,"83":41728,"24":58,"16":345724689571643392,"44":-523332320245217280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-11 22:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649740032001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:12:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-11 22:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345724689571643392,"km_value":345724689571643.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-523332320245217280,"description":"Unknown IO ID 44"} 
[2026-07-11 22:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649740032001,"power":27343,"unknown_197":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-523332320245217280}} 
[2026-07-11 22:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":131072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:12:09] local.INFO: GPS data processed {"connection_id":131072,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:12:09] local.INFO: Acknowledgment sent {"connection_id":131072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:12:40] local.INFO: TCP Data received {"connection_id":131072,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520dbd60012cf8e8c007081148000a009030..."} 
[2026-07-11 22:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520dbd60012cf8e8c007081148000a009030..."} 
[2026-07-11 22:12:40] local.INFO: Processing buffer {"connection_id":131072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520dbd60012cf8e8c007081148000a009030..."} 
[2026-07-11 22:12:40] local.INFO: Packet analysis {"connection_id":131072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:12:40] local.INFO: Extracted packet for processing {"connection_id":131072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:12:40] local.INFO: GPS Element Parsed {"raw_longitude":754510016,"raw_latitude":117969224,"longitude_deg":75.4510016,"latitude_deg":11.7969224,"altitude":10,"angle":144,"satellites":48,"speed":55,"hex_longitude":"2cf8e8c0","hex_latitude":"07081148","is_valid_coordinates":true} 
[2026-07-11 22:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649741568001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345725170607980544,"note":"Value kept but may cause issues"} 
[2026-07-11 22:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-517350976991987712,"note":"Value kept but may cause issues"} 
[2026-07-11 22:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783788060000,"timestamp_ms":1783788060000,"timestamp_seconds":1783788060,"priority":1,"record_length":96,"hex_timestamp":"0000019f520dbd60"} 
[2026-07-11 22:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649741568001,"66":27180,"197":206,"83":41728,"24":55,"16":345725170607980544,"44":-517350976991987712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-11 22:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649741568001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:12:40] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-11 22:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345725170607980544,"km_value":345725170607980.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-517350976991987712,"description":"Unknown IO ID 44"} 
[2026-07-11 22:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649741568001,"power":27180,"unknown_197":206,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-517350976991987712}} 
[2026-07-11 22:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":131072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:12:40] local.INFO: GPS data processed {"connection_id":131072,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:12:40] local.INFO: Acknowledgment sent {"connection_id":131072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:13:03] local.INFO: TCP Data received {"connection_id":129813,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:13:03] local.INFO: Processing buffer {"connection_id":129813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:13:03] local.INFO: IMEI packet received {"connection_id":129813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":129813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:13:06] local.INFO: TCP Data received {"connection_id":129813,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:13:06] local.INFO: Processing buffer {"connection_id":129813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:13:06] local.INFO: IMEI packet received {"connection_id":129813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":129813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:13:08] local.INFO: TCP Data received {"connection_id":129813,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:13:08] local.INFO: Processing buffer {"connection_id":129813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:13:08] local.INFO: IMEI packet received {"connection_id":129813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":129813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:13:09] local.INFO: TCP Data received {"connection_id":129813,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520dd8b8012cf8ff400707f2a8000b009030..."} 
[2026-07-11 22:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520dd8b8012cf8ff400707f2a8000b009030..."} 
[2026-07-11 22:13:09] local.INFO: Processing buffer {"connection_id":129813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520dd8b8012cf8ff400707f2a8000b009030..."} 
[2026-07-11 22:13:09] local.INFO: Packet analysis {"connection_id":129813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:13:09] local.INFO: Extracted packet for processing {"connection_id":129813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:13:09] local.INFO: GPS Element Parsed {"raw_longitude":754515776,"raw_latitude":117961384,"longitude_deg":75.4515776,"latitude_deg":11.7961384,"altitude":11,"angle":144,"satellites":48,"speed":54,"hex_longitude":"2cf8ff40","hex_latitude":"0707f2a8","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649743360001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345725638759415808,"note":"Value kept but may cause issues"} 
[2026-07-11 22:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-510947421273896960,"note":"Value kept but may cause issues"} 
[2026-07-11 22:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783788067000,"timestamp_ms":1783788067000,"timestamp_seconds":1783788067,"priority":1,"record_length":96,"hex_timestamp":"0000019f520dd8b8"} 
[2026-07-11 22:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:13:09] 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-07-11 22: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 22:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649743360001,"66":27245,"197":206,"83":41728,"24":54,"16":345725638759415808,"44":-510947421273896960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-11 22:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649743360001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:13:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-11 22:13:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345725638759415808,"km_value":345725638759415.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-510947421273896960,"description":"Unknown IO ID 44"} 
[2026-07-11 22:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649743360001,"power":27245,"unknown_197":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-510947421273896960}} 
[2026-07-11 22:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":129813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:13:09] local.INFO: GPS data processed {"connection_id":129813,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:13:09] local.INFO: Acknowledgment sent {"connection_id":129813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:13:40] local.INFO: TCP Data received {"connection_id":129813,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520df410012cf915800707d3a0000a009030..."} 
[2026-07-11 22:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520df410012cf915800707d3a0000a009030..."} 
[2026-07-11 22:13:40] local.INFO: Processing buffer {"connection_id":129813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520df410012cf915800707d3a0000a009030..."} 
[2026-07-11 22:13:40] local.INFO: Packet analysis {"connection_id":129813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:13:40] local.INFO: Extracted packet for processing {"connection_id":129813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520d"} 
[2026-07-11 22:13:40] local.INFO: GPS Element Parsed {"raw_longitude":754521472,"raw_latitude":117953440,"longitude_deg":75.4521472,"latitude_deg":11.795344,"altitude":10,"angle":144,"satellites":48,"speed":56,"hex_longitude":"2cf91580","hex_latitude":"0707d3a0","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649745152001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345726111205818368,"note":"Value kept but may cause issues"} 
[2026-07-11 22:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-504614234299914240,"note":"Value kept but may cause issues"} 
[2026-07-11 22:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783788074000,"timestamp_ms":1783788074000,"timestamp_seconds":1783788074,"priority":1,"record_length":96,"hex_timestamp":"0000019f520df410"} 
[2026-07-11 22:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 22:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649745152001,"66":27332,"85":206,"83":41728,"24":56,"16":345726111205818368,"44":-504614234299914240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-11 22:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649745152001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-11 22:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345726111205818368,"km_value":345726111205818.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-504614234299914240,"description":"Unknown IO ID 44"} 
[2026-07-11 22:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649745152001,"power":27332,"unknown_85":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-504614234299914240}} 
[2026-07-11 22:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":129813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:13:40] local.INFO: GPS data processed {"connection_id":129813,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:13:40] local.INFO: Acknowledgment sent {"connection_id":129813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:14:06] local.INFO: TCP Data received {"connection_id":131074,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:06] local.INFO: Processing buffer {"connection_id":131074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:06] local.INFO: IMEI packet received {"connection_id":131074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":131074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:14:08] local.INFO: TCP Data received {"connection_id":131074,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:08] local.INFO: Processing buffer {"connection_id":131074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:08] local.INFO: IMEI packet received {"connection_id":131074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":131074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:14:08] local.INFO: TCP Data received {"connection_id":131074,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:08] local.INFO: Processing buffer {"connection_id":131074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:08] local.INFO: IMEI packet received {"connection_id":131074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":131074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:14:13] local.INFO: TCP Data received {"connection_id":131074,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:13] local.INFO: Processing buffer {"connection_id":131074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:14:13] local.INFO: IMEI packet received {"connection_id":131074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":131074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:14:14] local.INFO: TCP Data received {"connection_id":131074,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520fa1c0012cf99f000706dc80000500ca2a..."} 
[2026-07-11 22:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520fa1c0012cf99f000706dc80000500ca2a..."} 
[2026-07-11 22:14:14] local.INFO: Processing buffer {"connection_id":131074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520fa1c0012cf99f000706dc80000500ca2a..."} 
[2026-07-11 22:14:14] local.INFO: Packet analysis {"connection_id":131074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520f"} 
[2026-07-11 22:14:14] local.INFO: Extracted packet for processing {"connection_id":131074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520f"} 
[2026-07-11 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":754556672,"raw_latitude":117890176,"longitude_deg":75.4556672,"latitude_deg":11.7890176,"altitude":5,"angle":202,"satellites":42,"speed":15,"hex_longitude":"2cf99f00","hex_latitude":"0706dc80","is_valid_coordinates":true} 
[2026-07-11 22:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649774592001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345729645963902976,"note":"Value kept but may cause issues"} 
[2026-07-11 22:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-459507869300074496,"note":"Value kept but may cause issues"} 
[2026-07-11 22:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783788184000,"timestamp_ms":1783788184000,"timestamp_seconds":1783788184,"priority":1,"record_length":96,"hex_timestamp":"0000019f520fa1c0"} 
[2026-07-11 22:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649774592001,"66":27321,"85":206,"83":41728,"24":15,"16":345729645963902976,"44":-459507869300074496},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-11 22:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649774592001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:14:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-11 22:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345729645963902976,"km_value":345729645963903.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-459507869300074496,"description":"Unknown IO ID 44"} 
[2026-07-11 22:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649774592001,"power":27321,"unknown_85":206,"unknown_83":41728,"ignition":15,"odometer":null,"unknown_44":-459507869300074496}} 
[2026-07-11 22:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":131074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:14:14] local.INFO: GPS data processed {"connection_id":131074,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:14:14] local.INFO: Acknowledgment sent {"connection_id":131074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:14:45] local.INFO: TCP Data received {"connection_id":131074,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520fa990012cf99cc00706da88000500e428..."} 
[2026-07-11 22:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520fa990012cf99cc00706da88000500e428..."} 
[2026-07-11 22:14:45] local.INFO: Processing buffer {"connection_id":131074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520fa990012cf99cc00706da88000500e428..."} 
[2026-07-11 22:14:45] local.INFO: Packet analysis {"connection_id":131074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520f"} 
[2026-07-11 22:14:45] local.INFO: Extracted packet for processing {"connection_id":131074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520f"} 
[2026-07-11 22:14:45] local.INFO: GPS Element Parsed {"raw_longitude":754556096,"raw_latitude":117889672,"longitude_deg":75.4556096,"latitude_deg":11.7889672,"altitude":5,"angle":228,"satellites":40,"speed":15,"hex_longitude":"2cf99cc0","hex_latitude":"0706da88","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649775104001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345729684618608640,"note":"Value kept but may cause issues"} 
[2026-07-11 22:14:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-459648606788616192,"note":"Value kept but may cause issues"} 
[2026-07-11 22:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783788186000,"timestamp_ms":1783788186000,"timestamp_seconds":1783788186,"priority":1,"record_length":96,"hex_timestamp":"0000019f520fa990"} 
[2026-07-11 22:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:14:45] 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-07-11 22: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-07-11 22:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649775104001,"66":27343,"85":206,"83":41728,"24":15,"16":345729684618608640,"44":-459648606788616192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-11 22:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649775104001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:14:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-11 22:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345729684618608640,"km_value":345729684618608.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:14:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-459648606788616192,"description":"Unknown IO ID 44"} 
[2026-07-11 22:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649775104001,"power":27343,"unknown_85":206,"unknown_83":41728,"ignition":15,"odometer":null,"unknown_44":-459648606788616192}} 
[2026-07-11 22:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":131074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:14:45] local.INFO: GPS data processed {"connection_id":131074,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:14:45] local.INFO: Acknowledgment sent {"connection_id":131074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:15:03] local.INFO: TCP Data received {"connection_id":128898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:15:03] local.INFO: Processing buffer {"connection_id":128898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:15:03] local.INFO: IMEI packet received {"connection_id":128898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":128898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:15:04] local.INFO: TCP Data received {"connection_id":128898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:15:04] local.INFO: Processing buffer {"connection_id":128898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:15:04] local.INFO: IMEI packet received {"connection_id":128898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:15:07] local.INFO: TCP Data received {"connection_id":128898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:15:07] local.INFO: Processing buffer {"connection_id":128898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:15:07] local.INFO: IMEI packet received {"connection_id":128898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":128898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:15:08] local.INFO: TCP Data received {"connection_id":128898,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f520fb548012cf999800706d898000400f226..."} 
[2026-07-11 22:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f520fb548012cf999800706d898000400f226..."} 
[2026-07-11 22:15:08] local.INFO: Processing buffer {"connection_id":128898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f520fb548012cf999800706d898000400f226..."} 
[2026-07-11 22:15:08] local.INFO: Packet analysis {"connection_id":128898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f520f"} 
[2026-07-11 22:15:08] local.INFO: Extracted packet for processing {"connection_id":128898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f520f"} 
[2026-07-11 22:15:08] local.INFO: GPS Element Parsed {"raw_longitude":754555264,"raw_latitude":117889176,"longitude_deg":75.4555264,"latitude_deg":11.7889176,"altitude":4,"angle":242,"satellites":38,"speed":12,"hex_longitude":"2cf99980","hex_latitude":"0706d898","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649775616001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345729731863248896,"note":"Value kept but may cause issues"} 
[2026-07-11 22:15:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-460281925486344192,"note":"Value kept but may cause issues"} 
[2026-07-11 22:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783788189000,"timestamp_ms":1783788189000,"timestamp_seconds":1783788189,"priority":1,"record_length":96,"hex_timestamp":"0000019f520fb548"} 
[2026-07-11 22:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:15: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-07-11 22:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649775616001,"66":27365,"85":206,"83":41728,"24":12,"16":345729731863248896,"44":-460281925486344192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-11 22:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649775616001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-11 22:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345729731863248896,"km_value":345729731863248.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:15:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-460281925486344192,"description":"Unknown IO ID 44"} 
[2026-07-11 22:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649775616001,"power":27365,"unknown_85":206,"unknown_83":41728,"ignition":12,"odometer":null,"unknown_44":-460281925486344192}} 
[2026-07-11 22:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":128898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:15:08] local.INFO: GPS data processed {"connection_id":128898,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:15:08] local.INFO: Acknowledgment sent {"connection_id":128898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:15:42] local.INFO: TCP Data received {"connection_id":128898,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52111ca8012cf9cac00705fde80007009a2e..."} 
[2026-07-11 22:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52111ca8012cf9cac00705fde80007009a2e..."} 
[2026-07-11 22:15:42] local.INFO: Processing buffer {"connection_id":128898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52111ca8012cf9cac00705fde80007009a2e..."} 
[2026-07-11 22:15:42] local.INFO: Packet analysis {"connection_id":128898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5211"} 
[2026-07-11 22:15:42] local.INFO: Extracted packet for processing {"connection_id":128898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5211"} 
[2026-07-11 22:15:42] local.INFO: GPS Element Parsed {"raw_longitude":754567872,"raw_latitude":117833192,"longitude_deg":75.4567872,"latitude_deg":11.7833192,"altitude":7,"angle":154,"satellites":46,"speed":43,"hex_longitude":"2cf9cac0","hex_latitude":"0705fde8","is_valid_coordinates":true} 
[2026-07-11 22:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649797632001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345732699685650432,"note":"Value kept but may cause issues"} 
[2026-07-11 22:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-452048782429857792,"note":"Value kept but may cause issues"} 
[2026-07-11 22:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783788281000,"timestamp_ms":1783788281000,"timestamp_seconds":1783788281,"priority":1,"record_length":96,"hex_timestamp":"0000019f52111ca8"} 
[2026-07-11 22:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 22:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649797632001,"66":27267,"84":206,"83":41728,"24":43,"16":345732699685650432,"44":-452048782429857792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-07-11 22:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649797632001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:15:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-11 22:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345732699685650432,"km_value":345732699685650.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-452048782429857792,"description":"Unknown IO ID 44"} 
[2026-07-11 22:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649797632001,"power":27267,"unknown_84":206,"unknown_83":41728,"ignition":43,"odometer":null,"unknown_44":-452048782429857792}} 
[2026-07-11 22:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":128898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:15:42] local.INFO: GPS data processed {"connection_id":128898,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:15:42] local.INFO: Acknowledgment sent {"connection_id":128898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:16:09] local.INFO: TCP Data received {"connection_id":128899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:16:09] local.INFO: Processing buffer {"connection_id":128899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:16:09] local.INFO: IMEI packet received {"connection_id":128899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":128899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:16:36] local.INFO: TCP Data received {"connection_id":129083,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:16:36] local.INFO: Processing buffer {"connection_id":129083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:16:36] local.INFO: IMEI packet received {"connection_id":129083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":129083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:16:38] local.INFO: TCP Data received {"connection_id":129083,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:16:38] local.INFO: Processing buffer {"connection_id":129083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:16:38] local.INFO: IMEI packet received {"connection_id":129083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":129083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:16:43] local.INFO: TCP Data received {"connection_id":129083,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:16:43] local.INFO: Processing buffer {"connection_id":129083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:16:43] local.INFO: IMEI packet received {"connection_id":129083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":129083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:16:44] local.INFO: TCP Data received {"connection_id":129083,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52113fd0012cf9dbc00705db68000400992e..."} 
[2026-07-11 22:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52113fd0012cf9dbc00705db68000400992e..."} 
[2026-07-11 22:16:44] local.INFO: Processing buffer {"connection_id":129083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52113fd0012cf9dbc00705db68000400992e..."} 
[2026-07-11 22:16:44] local.INFO: Packet analysis {"connection_id":129083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5211"} 
[2026-07-11 22:16:44] local.INFO: Extracted packet for processing {"connection_id":129083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5211"} 
[2026-07-11 22:16:44] local.INFO: GPS Element Parsed {"raw_longitude":754572224,"raw_latitude":117824360,"longitude_deg":75.4572224,"latitude_deg":11.782436,"altitude":4,"angle":153,"satellites":46,"speed":43,"hex_longitude":"2cf9dbc0","hex_latitude":"0705db68","is_valid_coordinates":true} 
[2026-07-11 22:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649799936001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345733172132052992,"note":"Value kept but may cause issues"} 
[2026-07-11 22:16:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-447334076572112896,"note":"Value kept but may cause issues"} 
[2026-07-11 22:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783788290000,"timestamp_ms":1783788290000,"timestamp_seconds":1783788290,"priority":1,"record_length":96,"hex_timestamp":"0000019f52113fd0"} 
[2026-07-11 22:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649799936001,"66":27343,"84":206,"83":41728,"24":43,"16":345733172132052992,"44":-447334076572112896},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-07-11 22:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649799936001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:16:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-11 22:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345733172132052992,"km_value":345733172132053.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:16:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-447334076572112896,"description":"Unknown IO ID 44"} 
[2026-07-11 22:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649799936001,"power":27343,"unknown_84":206,"unknown_83":41728,"ignition":43,"odometer":null,"unknown_44":-447334076572112896}} 
[2026-07-11 22:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":129083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:16:44] local.INFO: GPS data processed {"connection_id":129083,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:16:44] local.INFO: Acknowledgment sent {"connection_id":129083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:16:44] local.INFO: TCP Data received {"connection_id":129084,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:16:44] local.INFO: Processing buffer {"connection_id":129084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:16:44] local.INFO: IMEI packet received {"connection_id":129084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":129084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:17:08] local.INFO: TCP Data received {"connection_id":131075,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:17:08] local.INFO: Processing buffer {"connection_id":131075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:17:08] local.INFO: IMEI packet received {"connection_id":131075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":131075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:17:13] local.INFO: TCP Data received {"connection_id":131075,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:17:13] local.INFO: Processing buffer {"connection_id":131075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:17:13] local.INFO: IMEI packet received {"connection_id":131075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":131075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:17:14] local.INFO: TCP Data received {"connection_id":131075,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f521162f8012cf9ecc00705bb20000400962d..."} 
[2026-07-11 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f521162f8012cf9ecc00705bb20000400962d..."} 
[2026-07-11 22:17:14] local.INFO: Processing buffer {"connection_id":131075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f521162f8012cf9ecc00705bb20000400962d..."} 
[2026-07-11 22:17:14] local.INFO: Packet analysis {"connection_id":131075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5211"} 
[2026-07-11 22:17:14] local.INFO: Extracted packet for processing {"connection_id":131075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5211"} 
[2026-07-11 22:17:14] local.INFO: GPS Element Parsed {"raw_longitude":754576576,"raw_latitude":117816096,"longitude_deg":75.4576576,"latitude_deg":11.7816096,"altitude":4,"angle":150,"satellites":45,"speed":39,"hex_longitude":"2cf9ecc0","hex_latitude":"0705bb20","is_valid_coordinates":true} 
[2026-07-11 22:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649802240001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345733623103619072,"note":"Value kept but may cause issues"} 
[2026-07-11 22:17:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-442549001970292736,"note":"Value kept but may cause issues"} 
[2026-07-11 22:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783788299000,"timestamp_ms":1783788299000,"timestamp_seconds":1783788299,"priority":1,"record_length":96,"hex_timestamp":"0000019f521162f8"} 
[2026-07-11 22:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:17:14] 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-07-11 22:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649802240001,"66":27376,"84":206,"83":41728,"24":39,"16":345733623103619072,"44":-442549001970292736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-07-11 22:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649802240001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:17:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-11 22:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-11 22:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345733623103619072,"km_value":345733623103619.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:17:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-442549001970292736,"description":"Unknown IO ID 44"} 
[2026-07-11 22:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649802240001,"power":27376,"unknown_84":206,"unknown_83":41728,"ignition":39,"odometer":null,"unknown_44":-442549001970292736}} 
[2026-07-11 22:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":131075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:17:14] local.INFO: GPS data processed {"connection_id":131075,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:17:14] local.INFO: Acknowledgment sent {"connection_id":131075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:17:45] local.INFO: TCP Data received {"connection_id":131075,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f521333d0012cfb45800704a3c0000800762e..."} 
[2026-07-11 22:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f521333d0012cfb45800704a3c0000800762e..."} 
[2026-07-11 22:17:45] local.INFO: Processing buffer {"connection_id":131075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f521333d0012cfb45800704a3c0000800762e..."} 
[2026-07-11 22:17:45] local.INFO: Packet analysis {"connection_id":131075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:17:45] local.INFO: Extracted packet for processing {"connection_id":131075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:17:45] local.INFO: GPS Element Parsed {"raw_longitude":754664832,"raw_latitude":117744576,"longitude_deg":75.4664832,"latitude_deg":11.7744576,"altitude":8,"angle":118,"satellites":46,"speed":30,"hex_longitude":"2cfb4580","hex_latitude":"0704a3c0","is_valid_coordinates":true} 
[2026-07-11 22:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649833728001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345739253805744128,"note":"Value kept but may cause issues"} 
[2026-07-11 22:17:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-345510503769442304,"note":"Value kept but may cause issues"} 
[2026-07-11 22:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783788418000,"timestamp_ms":1783788418000,"timestamp_seconds":1783788418,"priority":1,"record_length":96,"hex_timestamp":"0000019f521333d0"} 
[2026-07-11 22:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649833728001,"66":27463,"81":206,"94":10240,"24":30,"16":345739253805744128,"44":-345510503769442304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-11 22:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649833728001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 22:17:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345739253805744128,"km_value":345739253805744.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:17:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-345510503769442304,"description":"Unknown IO ID 44"} 
[2026-07-11 22:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649833728001,"power":27463,"unknown_81":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_44":-345510503769442304}} 
[2026-07-11 22:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":131075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:17:45] local.INFO: GPS data processed {"connection_id":131075,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:17:45] local.INFO: Acknowledgment sent {"connection_id":131075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:18:08] local.INFO: TCP Data received {"connection_id":129815,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:18:08] local.INFO: Processing buffer {"connection_id":129815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:18:08] local.INFO: IMEI packet received {"connection_id":129815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":129815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:18:13] local.INFO: TCP Data received {"connection_id":129815,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:18:13] local.INFO: Processing buffer {"connection_id":129815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:18:13] local.INFO: IMEI packet received {"connection_id":129815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":129815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:18:14] local.INFO: TCP Data received {"connection_id":129815,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f521337b8012cfb48000704a228000800812e..."} 
[2026-07-11 22:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f521337b8012cfb48000704a228000800812e..."} 
[2026-07-11 22:18:14] local.INFO: Processing buffer {"connection_id":129815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f521337b8012cfb48000704a228000800812e..."} 
[2026-07-11 22:18:14] local.INFO: Packet analysis {"connection_id":129815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:18:14] local.INFO: Extracted packet for processing {"connection_id":129815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:18:14] local.INFO: GPS Element Parsed {"raw_longitude":754665472,"raw_latitude":117744168,"longitude_deg":75.4665472,"latitude_deg":11.7744168,"altitude":8,"angle":129,"satellites":46,"speed":29,"hex_longitude":"2cfb4800","hex_latitude":"0704a228","is_valid_coordinates":true} 
[2026-07-11 22:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649835008001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345739288165482496,"note":"Value kept but may cause issues"} 
[2026-07-11 22:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-340725429165637632,"note":"Value kept but may cause issues"} 
[2026-07-11 22:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783788419000,"timestamp_ms":1783788419000,"timestamp_seconds":1783788419,"priority":1,"record_length":96,"hex_timestamp":"0000019f521337b8"} 
[2026-07-11 22:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 22:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649835008001,"66":27463,"81":206,"94":10240,"24":29,"16":345739288165482496,"44":-340725429165637632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-11 22:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649835008001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 22:18:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345739288165482496,"km_value":345739288165482.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-340725429165637632,"description":"Unknown IO ID 44"} 
[2026-07-11 22:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649835008001,"power":27463,"unknown_81":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_44":-340725429165637632}} 
[2026-07-11 22:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":129815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:18:14] local.INFO: GPS data processed {"connection_id":129815,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:18:14] local.INFO: Acknowledgment sent {"connection_id":129815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:18:45] local.INFO: TCP Data received {"connection_id":129815,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52133f88012cfb4b8007049db8000800982f..."} 
[2026-07-11 22:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52133f88012cfb4b8007049db8000800982f..."} 
[2026-07-11 22:18:45] local.INFO: Processing buffer {"connection_id":129815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52133f88012cfb4b8007049db8000800982f..."} 
[2026-07-11 22:18:45] local.INFO: Packet analysis {"connection_id":129815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:18:45] local.INFO: Extracted packet for processing {"connection_id":129815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:18:45] local.INFO: GPS Element Parsed {"raw_longitude":754666368,"raw_latitude":117743032,"longitude_deg":75.4666368,"latitude_deg":11.7743032,"altitude":8,"angle":152,"satellites":47,"speed":28,"hex_longitude":"2cfb4b80","hex_latitude":"07049db8","is_valid_coordinates":true} 
[2026-07-11 22:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649835264001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345739356884959232,"note":"Value kept but may cause issues"} 
[2026-07-11 22:18:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-340021741723965440,"note":"Value kept but may cause issues"} 
[2026-07-11 22:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783788421000,"timestamp_ms":1783788421000,"timestamp_seconds":1783788421,"priority":1,"record_length":96,"hex_timestamp":"0000019f52133f88"} 
[2026-07-11 22:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 22:18: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-07-11 22:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649835264001,"66":27321,"81":206,"94":10240,"24":28,"16":345739356884959232,"44":-340021741723965440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-11 22:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649835264001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 22:18:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345739356884959232,"km_value":345739356884959.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:18:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-340021741723965440,"description":"Unknown IO ID 44"} 
[2026-07-11 22:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649835264001,"power":27321,"unknown_81":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_44":-340021741723965440}} 
[2026-07-11 22:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":129815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:18:45] local.INFO: GPS data processed {"connection_id":129815,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:18:45] local.INFO: Acknowledgment sent {"connection_id":129815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:19:03] local.INFO: TCP Data received {"connection_id":128901,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:19:03] local.INFO: Processing buffer {"connection_id":128901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:19:03] local.INFO: IMEI packet received {"connection_id":128901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":128901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:19:07] local.INFO: TCP Data received {"connection_id":128901,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:19:07] local.INFO: Processing buffer {"connection_id":128901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:19:07] local.INFO: IMEI packet received {"connection_id":128901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":128901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:19:08] local.INFO: TCP Data received {"connection_id":128901,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52136a80012cfb598007047d580008009b30..."} 
[2026-07-11 22:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52136a80012cfb598007047d580008009b30..."} 
[2026-07-11 22:19:08] local.INFO: Processing buffer {"connection_id":128901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52136a80012cfb598007047d580008009b30..."} 
[2026-07-11 22:19:08] local.INFO: Packet analysis {"connection_id":128901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:19:08] local.INFO: Extracted packet for processing {"connection_id":128901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:19:08] local.INFO: GPS Element Parsed {"raw_longitude":754669952,"raw_latitude":117734744,"longitude_deg":75.4669952,"latitude_deg":11.7734744,"altitude":8,"angle":155,"satellites":48,"speed":36,"hex_longitude":"2cfb5980","hex_latitude":"07047d58","is_valid_coordinates":true} 
[2026-07-11 22:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649835776001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345739794971623424,"note":"Value kept but may cause issues"} 
[2026-07-11 22:19:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-339036579305768960,"note":"Value kept but may cause issues"} 
[2026-07-11 22:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783788432000,"timestamp_ms":1783788432000,"timestamp_seconds":1783788432,"priority":1,"record_length":96,"hex_timestamp":"0000019f52136a80"} 
[2026-07-11 22:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:19: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-07-11 22:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649835776001,"66":27321,"81":206,"94":10240,"24":36,"16":345739794971623424,"44":-339036579305768960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-11 22:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649835776001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 22:19:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345739794971623424,"km_value":345739794971623.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:19:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-339036579305768960,"description":"Unknown IO ID 44"} 
[2026-07-11 22:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649835776001,"power":27321,"unknown_81":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_44":-339036579305768960}} 
[2026-07-11 22:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":128901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:19:08] local.INFO: GPS data processed {"connection_id":128901,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:19:08] local.INFO: Acknowledgment sent {"connection_id":128901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:19:09] local.INFO: TCP Data received {"connection_id":128901,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52139960012cfb6c8007045c78000a00922f..."} 
[2026-07-11 22:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52139960012cfb6c8007045c78000a00922f..."} 
[2026-07-11 22:19:09] local.INFO: Processing buffer {"connection_id":128901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52139960012cfb6c8007045c78000a00922f..."} 
[2026-07-11 22:19:09] local.INFO: Packet analysis {"connection_id":128901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:19:09] local.INFO: Extracted packet for processing {"connection_id":128901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5213"} 
[2026-07-11 22:19:09] local.INFO: GPS Element Parsed {"raw_longitude":754674816,"raw_latitude":117726328,"longitude_deg":75.4674816,"latitude_deg":11.7726328,"altitude":10,"angle":146,"satellites":47,"speed":35,"hex_longitude":"2cfb6c80","hex_latitude":"07045c78","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649838592001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345740263123058688,"note":"Value kept but may cause issues"} 
[2026-07-11 22:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-335095929633941504,"note":"Value kept but may cause issues"} 
[2026-07-11 22:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783788444000,"timestamp_ms":1783788444000,"timestamp_seconds":1783788444,"priority":1,"record_length":96,"hex_timestamp":"0000019f52139960"} 
[2026-07-11 22:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:19:09] 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-07-11 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649838592001,"66":27267,"81":206,"94":10240,"24":35,"16":345740263123058688,"44":-335095929633941504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-11 22:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649838592001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 22:19:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345740263123058688,"km_value":345740263123058.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-335095929633941504,"description":"Unknown IO ID 44"} 
[2026-07-11 22:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649838592001,"power":27267,"unknown_81":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_44":-335095929633941504}} 
[2026-07-11 22:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":128901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:19:09] local.INFO: GPS data processed {"connection_id":128901,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:19:09] local.INFO: Acknowledgment sent {"connection_id":128901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:19:40] local.INFO: TCP Data received {"connection_id":128901,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5214d5c8012cfc73400703b618000600742e..."} 
[2026-07-11 22:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5214d5c8012cfc73400703b618000600742e..."} 
[2026-07-11 22:19:40] local.INFO: Processing buffer {"connection_id":128901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5214d5c8012cfc73400703b618000600742e..."} 
[2026-07-11 22:19:40] local.INFO: Packet analysis {"connection_id":128901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5214"} 
[2026-07-11 22:19:40] local.INFO: Extracted packet for processing {"connection_id":128901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5214"} 
[2026-07-11 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":754742080,"raw_latitude":117683736,"longitude_deg":75.474208,"latitude_deg":11.7683736,"altitude":6,"angle":116,"satellites":46,"speed":45,"hex_longitude":"2cfc7340","hex_latitude":"0703b618","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649860352001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345744244557742080,"note":"Value kept but may cause issues"} 
[2026-07-11 22:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-265290135421710336,"note":"Value kept but may cause issues"} 
[2026-07-11 22:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783788525000,"timestamp_ms":1783788525000,"timestamp_seconds":1783788525,"priority":1,"record_length":96,"hex_timestamp":"0000019f5214d5c8"} 
[2026-07-11 22:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649860352001,"66":27343,"80":206,"94":10240,"24":45,"16":345744244557742080,"44":-265290135421710336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-11 22:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649860352001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:19:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-11 22:19:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345744244557742080,"km_value":345744244557742.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-265290135421710336,"description":"Unknown IO ID 44"} 
[2026-07-11 22:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649860352001,"power":27343,"unknown_80":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_44":-265290135421710336}} 
[2026-07-11 22:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":128901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:19:40] local.INFO: GPS data processed {"connection_id":128901,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:19:40] local.INFO: Acknowledgment sent {"connection_id":128901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:20:02] local.INFO: TCP Data received {"connection_id":129816,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:02] local.INFO: Processing buffer {"connection_id":129816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:02] local.INFO: IMEI packet received {"connection_id":129816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":129816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:20:03] local.INFO: TCP Data received {"connection_id":129816,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:03] local.INFO: Processing buffer {"connection_id":129816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:03] local.INFO: IMEI packet received {"connection_id":129816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":129816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:20:14] local.INFO: TCP Data received {"connection_id":129816,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:14] local.INFO: Processing buffer {"connection_id":129816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:14] local.INFO: IMEI packet received {"connection_id":129816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":129816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:20:30] local.INFO: TCP Data received {"connection_id":129816,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:30] local.INFO: Processing buffer {"connection_id":129816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:20:30] local.INFO: IMEI packet received {"connection_id":129816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":129816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:20:33] local.INFO: TCP Data received {"connection_id":129816,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5214f508012cfc94000703a550000600732f..."} 
[2026-07-11 22:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5214f508012cfc94000703a550000600732f..."} 
[2026-07-11 22:20:33] local.INFO: Processing buffer {"connection_id":129816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5214f508012cfc94000703a550000600732f..."} 
[2026-07-11 22:20:33] local.INFO: Packet analysis {"connection_id":129816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5214"} 
[2026-07-11 22:20:33] local.INFO: Extracted packet for processing {"connection_id":129816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5214"} 
[2026-07-11 22:20:33] local.INFO: GPS Element Parsed {"raw_longitude":754750464,"raw_latitude":117679440,"longitude_deg":75.4750464,"latitude_deg":11.767944,"altitude":6,"angle":115,"satellites":47,"speed":47,"hex_longitude":"2cfc9400","hex_latitude":"0703a550","is_valid_coordinates":true} 
[2026-07-11 22:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649862400001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345744695529308160,"note":"Value kept but may cause issues"} 
[2026-07-11 22:20:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-255790354958772224,"note":"Value kept but may cause issues"} 
[2026-07-11 22:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783788533000,"timestamp_ms":1783788533000,"timestamp_seconds":1783788533,"priority":1,"record_length":96,"hex_timestamp":"0000019f5214f508"} 
[2026-07-11 22:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":129816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":129816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":129816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649862400001,"66":27300,"80":206,"94":10240,"24":47,"16":345744695529308160,"44":-255790354958772224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-11 22:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649862400001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:20:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-11 22:20:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345744695529308160,"km_value":345744695529308.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:20:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-255790354958772224,"description":"Unknown IO ID 44"} 
[2026-07-11 22:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649862400001,"power":27300,"unknown_80":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_44":-255790354958772224}} 
[2026-07-11 22:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":129816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:20:33] local.INFO: GPS data processed {"connection_id":129816,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:20:33] local.INFO: Acknowledgment sent {"connection_id":129816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:20:34] local.INFO: TCP Data received {"connection_id":129816,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52151448012cfcb6c0070393e8000600742f..."} 
[2026-07-11 22:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52151448012cfcb6c0070393e8000600742f..."} 
[2026-07-11 22:20:34] local.INFO: Processing buffer {"connection_id":129816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52151448012cfcb6c0070393e8000600742f..."} 
[2026-07-11 22:20:34] local.INFO: Packet analysis {"connection_id":129816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5215"} 
[2026-07-11 22:20:34] local.INFO: Extracted packet for processing {"connection_id":129816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5215"} 
[2026-07-11 22:20:34] local.INFO: GPS Element Parsed {"raw_longitude":754759360,"raw_latitude":117674984,"longitude_deg":75.475936,"latitude_deg":11.7674984,"altitude":6,"angle":116,"satellites":47,"speed":47,"hex_longitude":"2cfcb6c0","hex_latitude":"070393e8","is_valid_coordinates":true} 
[2026-07-11 22:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649864448001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345745172270678016,"note":"Value kept but may cause issues"} 
[2026-07-11 22:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-246572049472598016,"note":"Value kept but may cause issues"} 
[2026-07-11 22:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783788541000,"timestamp_ms":1783788541000,"timestamp_seconds":1783788541,"priority":1,"record_length":96,"hex_timestamp":"0000019f52151448"} 
[2026-07-11 22:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 22:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":129816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":129816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":129816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649864448001,"66":27245,"80":206,"94":10240,"24":47,"16":345745172270678016,"44":-246572049472598016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-11 22:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649864448001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-11 22:20:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345745172270678016,"km_value":345745172270678.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-246572049472598016,"description":"Unknown IO ID 44"} 
[2026-07-11 22:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649864448001,"power":27245,"unknown_80":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_44":-246572049472598016}} 
[2026-07-11 22:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":129816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:20:34] local.INFO: GPS data processed {"connection_id":129816,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:20:34] local.INFO: Acknowledgment sent {"connection_id":129816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:21:03] local.INFO: TCP Data received {"connection_id":131078,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:21:03] local.INFO: Processing buffer {"connection_id":131078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:21:03] local.INFO: IMEI packet received {"connection_id":131078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":131078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:21:08] local.INFO: TCP Data received {"connection_id":131078,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:21:08] local.INFO: Processing buffer {"connection_id":131078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:21:08] local.INFO: IMEI packet received {"connection_id":131078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":131078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:21:09] local.INFO: TCP Data received {"connection_id":131078,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52153388012cfcda00070384280006006e2f..."} 
[2026-07-11 22:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52153388012cfcda00070384280006006e2f..."} 
[2026-07-11 22:21:09] local.INFO: Processing buffer {"connection_id":131078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52153388012cfcda00070384280006006e2f..."} 
[2026-07-11 22:21:09] local.INFO: Packet analysis {"connection_id":131078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5215"} 
[2026-07-11 22:21:09] local.INFO: Extracted packet for processing {"connection_id":131078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5215"} 
[2026-07-11 22:21:09] local.INFO: GPS Element Parsed {"raw_longitude":754768384,"raw_latitude":117670952,"longitude_deg":75.4768384,"latitude_deg":11.7670952,"altitude":6,"angle":110,"satellites":47,"speed":47,"hex_longitude":"2cfcda00","hex_latitude":"07038428","is_valid_coordinates":true} 
[2026-07-11 22:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649866496001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345745640422113280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-236790794033043456,"note":"Value kept but may cause issues"} 
[2026-07-11 22:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783788549000,"timestamp_ms":1783788549000,"timestamp_seconds":1783788549,"priority":1,"record_length":96,"hex_timestamp":"0000019f52153388"} 
[2026-07-11 22:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:21:09] 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-07-11 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 22:21:09] 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-07-11 22:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649866496001,"66":27376,"80":206,"94":10240,"24":47,"16":345745640422113280,"44":-236790794033043456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-11 22:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649866496001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:21:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-11 22:21:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345745640422113280,"km_value":345745640422113.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-236790794033043456,"description":"Unknown IO ID 44"} 
[2026-07-11 22:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649866496001,"power":27376,"unknown_80":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_44":-236790794033043456}} 
[2026-07-11 22:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":131078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:21:09] local.INFO: GPS data processed {"connection_id":131078,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:21:09] local.INFO: Acknowledgment sent {"connection_id":131078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:21:40] local.INFO: TCP Data received {"connection_id":131078,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52169318012cfd5e4007026d88000300be2e..."} 
[2026-07-11 22:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52169318012cfd5e4007026d88000300be2e..."} 
[2026-07-11 22:21:40] local.INFO: Processing buffer {"connection_id":131078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52169318012cfd5e4007026d88000300be2e..."} 
[2026-07-11 22:21:40] local.INFO: Packet analysis {"connection_id":131078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5216"} 
[2026-07-11 22:21:40] local.INFO: Extracted packet for processing {"connection_id":131078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5216"} 
[2026-07-11 22:21:40] local.INFO: GPS Element Parsed {"raw_longitude":754802240,"raw_latitude":117599624,"longitude_deg":75.480224,"latitude_deg":11.7599624,"altitude":3,"angle":190,"satellites":46,"speed":38,"hex_longitude":"2cfd5e40","hex_latitude":"07026d88","is_valid_coordinates":true} 
[2026-07-11 22:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649889280001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345749961159213056,"note":"Value kept but may cause issues"} 
[2026-07-11 22:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-188095623078938624,"note":"Value kept but may cause issues"} 
[2026-07-11 22:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783788639000,"timestamp_ms":1783788639000,"timestamp_seconds":1783788639,"priority":1,"record_length":96,"hex_timestamp":"0000019f52169318"} 
[2026-07-11 22:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 22:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649889280001,"66":27267,"206":206,"94":10240,"24":38,"16":345749961159213056,"44":-188095623078938624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,44]} 
[2026-07-11 22:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649889280001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:21:40] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-11 22:21:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345749961159213056,"km_value":345749961159213.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-188095623078938624,"description":"Unknown IO ID 44"} 
[2026-07-11 22:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649889280001,"power":27267,"unknown_206":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_44":-188095623078938624}} 
[2026-07-11 22:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":131078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:21:40] local.INFO: GPS data processed {"connection_id":131078,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:21:40] local.INFO: Acknowledgment sent {"connection_id":131078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:22:03] local.INFO: TCP Data received {"connection_id":129086,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:22:03] local.INFO: Processing buffer {"connection_id":129086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:22:03] local.INFO: IMEI packet received {"connection_id":129086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":129086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:22:05] local.INFO: TCP Data received {"connection_id":129086,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:22:05] local.INFO: Processing buffer {"connection_id":129086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:22:05] local.INFO: IMEI packet received {"connection_id":129086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":129086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:22:08] local.INFO: TCP Data received {"connection_id":129086,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:22:08] local.INFO: Processing buffer {"connection_id":129086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:22:08] local.INFO: IMEI packet received {"connection_id":129086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":129086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:22:10] local.INFO: TCP Data received {"connection_id":129086,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5216be10012cfd570007024ab0000600bc29..."} 
[2026-07-11 22:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5216be10012cfd570007024ab0000600bc29..."} 
[2026-07-11 22:22:10] local.INFO: Processing buffer {"connection_id":129086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5216be10012cfd570007024ab0000600bc29..."} 
[2026-07-11 22:22:10] local.INFO: Packet analysis {"connection_id":129086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5216"} 
[2026-07-11 22:22:10] local.INFO: Extracted packet for processing {"connection_id":129086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5216"} 
[2026-07-11 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":754800384,"raw_latitude":117590704,"longitude_deg":75.4800384,"latitude_deg":11.7590704,"altitude":6,"angle":188,"satellites":41,"speed":32,"hex_longitude":"2cfd5700","hex_latitude":"07024ab0","is_valid_coordinates":true} 
[2026-07-11 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649891584001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345750399245877248,"note":"Value kept but may cause issues"} 
[2026-07-11 22:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-189643735453300736,"note":"Value kept but may cause issues"} 
[2026-07-11 22:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783788650000,"timestamp_ms":1783788650000,"timestamp_seconds":1783788650,"priority":1,"record_length":96,"hex_timestamp":"0000019f5216be10"} 
[2026-07-11 22:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:22: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-07-11 22:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649891584001,"66":27365,"223":206,"94":10240,"24":32,"16":345750399245877248,"44":-189643735453300736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-07-11 22:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649891584001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:22:10] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-11 22:22:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345750399245877248,"km_value":345750399245877.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-189643735453300736,"description":"Unknown IO ID 44"} 
[2026-07-11 22:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649891584001,"power":27365,"unknown_223":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_44":-189643735453300736}} 
[2026-07-11 22:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":129086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:22:10] local.INFO: GPS data processed {"connection_id":129086,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:22:10] local.INFO: Acknowledgment sent {"connection_id":129086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:22:27] local.INFO: TCP Data received {"connection_id":128902,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:22:27] local.INFO: Processing buffer {"connection_id":128902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:22:27] local.INFO: IMEI packet received {"connection_id":128902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":128902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:22:42] local.INFO: TCP Data received {"connection_id":129086,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5216dd50012cfd51c007023308000800c72a..."} 
[2026-07-11 22:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5216dd50012cfd51c007023308000800c72a..."} 
[2026-07-11 22:22:42] local.INFO: Processing buffer {"connection_id":129086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5216dd50012cfd51c007023308000800c72a..."} 
[2026-07-11 22:22:42] local.INFO: Packet analysis {"connection_id":129086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5216"} 
[2026-07-11 22:22:42] local.INFO: Extracted packet for processing {"connection_id":129086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5216"} 
[2026-07-11 22:22:42] local.INFO: GPS Element Parsed {"raw_longitude":754799040,"raw_latitude":117584648,"longitude_deg":75.479904,"latitude_deg":11.7584648,"altitude":8,"angle":199,"satellites":42,"speed":26,"hex_longitude":"2cfd51c0","hex_latitude":"07023308","is_valid_coordinates":true} 
[2026-07-11 22:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649894400001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345750699893587968,"note":"Value kept but may cause issues"} 
[2026-07-11 22:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-191684429036736512,"note":"Value kept but may cause issues"} 
[2026-07-11 22:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783788658000,"timestamp_ms":1783788658000,"timestamp_seconds":1783788658,"priority":1,"record_length":96,"hex_timestamp":"0000019f5216dd50"} 
[2026-07-11 22:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 22:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649894400001,"66":27300,"223":206,"94":10240,"24":26,"16":345750699893587968,"44":-191684429036736512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-07-11 22:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649894400001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:22:42] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-11 22:22:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345750699893587968,"km_value":345750699893587.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-191684429036736512,"description":"Unknown IO ID 44"} 
[2026-07-11 22:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649894400001,"power":27300,"unknown_223":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_44":-191684429036736512}} 
[2026-07-11 22:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":129086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:22:42] local.INFO: GPS data processed {"connection_id":129086,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:22:42] local.INFO: Acknowledgment sent {"connection_id":129086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:22:44] local.INFO: TCP Data received {"connection_id":128903,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:22:44] local.INFO: Processing buffer {"connection_id":128903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:22:44] local.INFO: IMEI packet received {"connection_id":128903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":128903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:23:03] local.INFO: TCP Data received {"connection_id":129817,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:23:03] local.INFO: Processing buffer {"connection_id":129817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:23:03] local.INFO: IMEI packet received {"connection_id":129817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":129817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:23:07] local.INFO: TCP Data received {"connection_id":129817,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:23:07] local.INFO: Processing buffer {"connection_id":129817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:23:07] local.INFO: IMEI packet received {"connection_id":129817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":129817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:23:08] local.INFO: TCP Data received {"connection_id":129817,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:23:08] local.INFO: Processing buffer {"connection_id":129817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:23:08] local.INFO: IMEI packet received {"connection_id":129817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":129817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:23:09] local.INFO: TCP Data received {"connection_id":129817,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5217e308012cfda7400701a8a0000c008729..."} 
[2026-07-11 22:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5217e308012cfda7400701a8a0000c008729..."} 
[2026-07-11 22:23:09] local.INFO: Processing buffer {"connection_id":129817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5217e308012cfda7400701a8a0000c008729..."} 
[2026-07-11 22:23:09] local.INFO: Packet analysis {"connection_id":129817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5217"} 
[2026-07-11 22:23:09] local.INFO: Extracted packet for processing {"connection_id":129817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5217"} 
[2026-07-11 22:23:09] local.INFO: GPS Element Parsed {"raw_longitude":754820928,"raw_latitude":117549216,"longitude_deg":75.4820928,"latitude_deg":11.7549216,"altitude":12,"angle":135,"satellites":41,"speed":35,"hex_longitude":"2cfda740","hex_latitude":"0701a8a0","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649910784001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345752989111156736,"note":"Value kept but may cause issues"} 
[2026-07-11 22:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-176555149047654400,"note":"Value kept but may cause issues"} 
[2026-07-11 22:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783788725000,"timestamp_ms":1783788725000,"timestamp_seconds":1783788725,"priority":1,"record_length":96,"hex_timestamp":"0000019f5217e308"} 
[2026-07-11 22:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:23:09] 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-07-11 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 22:23:09] 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-07-11 22: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-07-11 22:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649910784001,"66":27300,"62":206,"94":10240,"24":35,"16":345752989111156736,"44":-176555149047654400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-07-11 22:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649910784001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:23:09] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-11 22:23:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345752989111156736,"km_value":345752989111156.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-176555149047654400,"description":"Unknown IO ID 44"} 
[2026-07-11 22:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649910784001,"power":27300,"unknown_62":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_44":-176555149047654400}} 
[2026-07-11 22:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":129817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:23:09] local.INFO: GPS data processed {"connection_id":129817,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:23:09] local.INFO: Acknowledgment sent {"connection_id":129817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:23:11] local.INFO: TCP Data received {"connection_id":129817,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52180248012cfdbd4007019478000e007a28..."} 
[2026-07-11 22:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52180248012cfdbd4007019478000e007a28..."} 
[2026-07-11 22:23:11] local.INFO: Processing buffer {"connection_id":129817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52180248012cfdbd4007019478000e007a28..."} 
[2026-07-11 22:23:11] local.INFO: Packet analysis {"connection_id":129817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5218"} 
[2026-07-11 22:23:11] local.INFO: Extracted packet for processing {"connection_id":129817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5218"} 
[2026-07-11 22:23:11] local.INFO: GPS Element Parsed {"raw_longitude":754826560,"raw_latitude":117544056,"longitude_deg":75.482656,"latitude_deg":11.7544056,"altitude":14,"angle":122,"satellites":40,"speed":39,"hex_longitude":"2cfdbd40","hex_latitude":"07019478","is_valid_coordinates":true} 
[2026-07-11 22:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649913600001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345753354183376896,"note":"Value kept but may cause issues"} 
[2026-07-11 22:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-169096062166327296,"note":"Value kept but may cause issues"} 
[2026-07-11 22:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783788733000,"timestamp_ms":1783788733000,"timestamp_seconds":1783788733,"priority":1,"record_length":96,"hex_timestamp":"0000019f52180248"} 
[2026-07-11 22:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 22:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649913600001,"66":27463,"62":206,"94":10240,"24":39,"16":345753354183376896,"44":-169096062166327296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-07-11 22:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649913600001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:23:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-11 22:23:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345753354183376896,"km_value":345753354183376.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-169096062166327296,"description":"Unknown IO ID 44"} 
[2026-07-11 22:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649913600001,"power":27463,"unknown_62":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_44":-169096062166327296}} 
[2026-07-11 22:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":129817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:23:11] local.INFO: GPS data processed {"connection_id":129817,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:23:11] local.INFO: Acknowledgment sent {"connection_id":129817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:23:43] local.INFO: TCP Data received {"connection_id":129817,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52180a18012cfdc4c007019170000f006b2b..."} 
[2026-07-11 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52180a18012cfdc4c007019170000f006b2b..."} 
[2026-07-11 22:23:43] local.INFO: Processing buffer {"connection_id":129817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52180a18012cfdc4c007019170000f006b2b..."} 
[2026-07-11 22:23:43] local.INFO: Packet analysis {"connection_id":129817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5218"} 
[2026-07-11 22:23:43] local.INFO: Extracted packet for processing {"connection_id":129817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5218"} 
[2026-07-11 22:23:43] local.INFO: GPS Element Parsed {"raw_longitude":754828480,"raw_latitude":117543280,"longitude_deg":75.482848,"latitude_deg":11.754328,"altitude":15,"angle":107,"satellites":43,"speed":40,"hex_longitude":"2cfdc4c0","hex_latitude":"07019170","is_valid_coordinates":true} 
[2026-07-11 22:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649915648001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345753452967624704,"note":"Value kept but may cause issues"} 
[2026-07-11 22:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-162903612680013824,"note":"Value kept but may cause issues"} 
[2026-07-11 22:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783788735000,"timestamp_ms":1783788735000,"timestamp_seconds":1783788735,"priority":1,"record_length":96,"hex_timestamp":"0000019f52180a18"} 
[2026-07-11 22:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 22:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649915648001,"66":27300,"62":206,"94":10240,"24":40,"16":345753452967624704,"44":-162903612680013824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-07-11 22:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649915648001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:23:43] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-11 22:23:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345753452967624704,"km_value":345753452967624.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-162903612680013824,"description":"Unknown IO ID 44"} 
[2026-07-11 22:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649915648001,"power":27300,"unknown_62":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_44":-162903612680013824}} 
[2026-07-11 22:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":129817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:23:43] local.INFO: GPS data processed {"connection_id":129817,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:23:43] local.INFO: Acknowledgment sent {"connection_id":129817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:24:08] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:24:08] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:24:08] local.INFO: IMEI packet received {"connection_id":129087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":129087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:24:10] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:24:10] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:24:10] local.INFO: IMEI packet received {"connection_id":129087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":129087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:24:13] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:24:13] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:24:13] local.INFO: IMEI packet received {"connection_id":129087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":129087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:24:14] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52182d40012cfde98007018778001000692d..."} 
[2026-07-11 22:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52182d40012cfde98007018778001000692d..."} 
[2026-07-11 22:24:14] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52182d40012cfde98007018778001000692d..."} 
[2026-07-11 22:24:14] local.INFO: Packet analysis {"connection_id":129087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5218"} 
[2026-07-11 22:24:14] local.INFO: Extracted packet for processing {"connection_id":129087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5218"} 
[2026-07-11 22:24:14] local.INFO: GPS Element Parsed {"raw_longitude":754837888,"raw_latitude":117540728,"longitude_deg":75.4837888,"latitude_deg":11.7540728,"altitude":16,"angle":105,"satellites":45,"speed":40,"hex_longitude":"2cfde980","hex_latitude":"07018778","is_valid_coordinates":true} 
[2026-07-11 22:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649916160001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345753916824092672,"note":"Value kept but may cause issues"} 
[2026-07-11 22:24:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-160792550354882560,"note":"Value kept but may cause issues"} 
[2026-07-11 22:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783788744000,"timestamp_ms":1783788744000,"timestamp_seconds":1783788744,"priority":1,"record_length":96,"hex_timestamp":"0000019f52182d40"} 
[2026-07-11 22:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 22:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649916160001,"66":27343,"86":206,"94":10240,"24":40,"16":345753916824092672,"44":-160792550354882560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,94,24,16,44]} 
[2026-07-11 22:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649916160001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:24:14] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-11 22:24:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345753916824092672,"km_value":345753916824092.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:24:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-160792550354882560,"description":"Unknown IO ID 44"} 
[2026-07-11 22:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649916160001,"power":27343,"unknown_86":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_44":-160792550354882560}} 
[2026-07-11 22:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":129087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:24:14] local.INFO: GPS data processed {"connection_id":129087,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:24:14] local.INFO: Acknowledgment sent {"connection_id":129087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:24:16] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f521840c8012cfdf980070181a0000e007a2e..."} 
[2026-07-11 22:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f521840c8012cfdf980070181a0000e007a2e..."} 
[2026-07-11 22:24:16] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f521840c8012cfdf980070181a0000e007a2e..."} 
[2026-07-11 22:24:16] local.INFO: Packet analysis {"connection_id":129087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5218"} 
[2026-07-11 22:24:16] local.INFO: Extracted packet for processing {"connection_id":129087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5218"} 
[2026-07-11 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":754841984,"raw_latitude":117539232,"longitude_deg":75.4841984,"latitude_deg":11.7539232,"altitude":14,"angle":122,"satellites":46,"speed":32,"hex_longitude":"2cfdf980","hex_latitude":"070181a0","is_valid_coordinates":true} 
[2026-07-11 22:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649918464001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345754127277490176,"note":"Value kept but may cause issues"} 
[2026-07-11 22:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-150448344961419264,"note":"Value kept but may cause issues"} 
[2026-07-11 22:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783788749000,"timestamp_ms":1783788749000,"timestamp_seconds":1783788749,"priority":1,"record_length":96,"hex_timestamp":"0000019f521840c8"} 
[2026-07-11 22:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649918464001,"66":27365,"86":206,"94":10240,"24":32,"16":345754127277490176,"44":-150448344961419264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,94,24,16,44]} 
[2026-07-11 22:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649918464001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:24:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-11 22:24:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345754127277490176,"km_value":345754127277490.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-150448344961419264,"description":"Unknown IO ID 44"} 
[2026-07-11 22:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649918464001,"power":27365,"unknown_86":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_44":-150448344961419264}} 
[2026-07-11 22:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":129087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:24:16] local.INFO: GPS data processed {"connection_id":129087,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:24:16] local.INFO: Acknowledgment sent {"connection_id":129087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:24:48] local.INFO: TCP Data received {"connection_id":129087,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52199888012cfe5d800700d6500004009a2a..."} 
[2026-07-11 22:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52199888012cfe5d800700d6500004009a2a..."} 
[2026-07-11 22:24:48] local.INFO: Processing buffer {"connection_id":129087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52199888012cfe5d800700d6500004009a2a..."} 
[2026-07-11 22:24:48] local.INFO: Packet analysis {"connection_id":129087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5219"} 
[2026-07-11 22:24:48] local.INFO: Extracted packet for processing {"connection_id":129087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5219"} 
[2026-07-11 22:24:48] local.INFO: GPS Element Parsed {"raw_longitude":754867584,"raw_latitude":117495376,"longitude_deg":75.4867584,"latitude_deg":11.7495376,"altitude":4,"angle":154,"satellites":42,"speed":27,"hex_longitude":"2cfe5d80","hex_latitude":"0700d650","is_valid_coordinates":true} 
[2026-07-11 22:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649942016001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345756884646494208,"note":"Value kept but may cause issues"} 
[2026-07-11 22:24:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-118149091395328000,"note":"Value kept but may cause issues"} 
[2026-07-11 22:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783788837000,"timestamp_ms":1783788837000,"timestamp_seconds":1783788837,"priority":1,"record_length":96,"hex_timestamp":"0000019f52199888"} 
[2026-07-11 22:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 22:24:48] 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-07-11 22:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":129087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":129087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649942016001,"66":27376,"85":206,"94":10240,"24":27,"16":345756884646494208,"44":-118149091395328000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,94,24,16,44]} 
[2026-07-11 22:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649942016001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:24:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-11 22:24:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345756884646494208,"km_value":345756884646494.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:24:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-118149091395328000,"description":"Unknown IO ID 44"} 
[2026-07-11 22:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649942016001,"power":27376,"unknown_85":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_44":-118149091395328000}} 
[2026-07-11 22:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":129087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:24:48] local.INFO: GPS data processed {"connection_id":129087,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:24:48] local.INFO: Acknowledgment sent {"connection_id":129087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:25:03] local.INFO: TCP Data received {"connection_id":128904,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:25:03] local.INFO: Processing buffer {"connection_id":128904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:25:03] local.INFO: IMEI packet received {"connection_id":128904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":128904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:25:08] local.INFO: TCP Data received {"connection_id":128904,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:25:08] local.INFO: Processing buffer {"connection_id":128904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:25:08] local.INFO: IMEI packet received {"connection_id":128904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":128904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:25:09] local.INFO: TCP Data received {"connection_id":128904,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5219b3e0012cfe64000700c258000500a62e..."} 
[2026-07-11 22:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5219b3e0012cfe64000700c258000500a62e..."} 
[2026-07-11 22:25:09] local.INFO: Processing buffer {"connection_id":128904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5219b3e0012cfe64000700c258000500a62e..."} 
[2026-07-11 22:25:09] local.INFO: Packet analysis {"connection_id":128904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5219"} 
[2026-07-11 22:25:09] local.INFO: Extracted packet for processing {"connection_id":128904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5219"} 
[2026-07-11 22:25:09] local.INFO: GPS Element Parsed {"raw_longitude":754869248,"raw_latitude":117490264,"longitude_deg":75.4869248,"latitude_deg":11.7490264,"altitude":5,"angle":166,"satellites":46,"speed":30,"hex_longitude":"2cfe6400","hex_latitude":"0700c258","is_valid_coordinates":true} 
[2026-07-11 22:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649942272001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345757142344531968,"note":"Value kept but may cause issues"} 
[2026-07-11 22:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-117797247674593280,"note":"Value kept but may cause issues"} 
[2026-07-11 22:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783788844000,"timestamp_ms":1783788844000,"timestamp_seconds":1783788844,"priority":1,"record_length":96,"hex_timestamp":"0000019f5219b3e0"} 
[2026-07-11 22:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:25:09] 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-07-11 22:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 22:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649942272001,"66":27343,"85":206,"94":10240,"24":30,"16":345757142344531968,"44":-117797247674593280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,94,24,16,44]} 
[2026-07-11 22:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649942272001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-11 22:25:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345757142344531968,"km_value":345757142344531.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-117797247674593280,"description":"Unknown IO ID 44"} 
[2026-07-11 22:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649942272001,"power":27343,"unknown_85":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_44":-117797247674593280}} 
[2026-07-11 22:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":128904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:25:09] local.INFO: GPS data processed {"connection_id":128904,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:25:09] local.INFO: Acknowledgment sent {"connection_id":128904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:25:14] local.INFO: TCP Data received {"connection_id":128904,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5219bf98012cfe66800700ba28000500982c..."} 
[2026-07-11 22:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5219bf98012cfe66800700ba28000500982c..."} 
[2026-07-11 22:25:14] local.INFO: Processing buffer {"connection_id":128904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5219bf98012cfe66800700ba28000500982c..."} 
[2026-07-11 22:25:14] local.INFO: Packet analysis {"connection_id":128904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5219"} 
[2026-07-11 22:25:14] local.INFO: Extracted packet for processing {"connection_id":128904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5219"} 
[2026-07-11 22:25:14] local.INFO: GPS Element Parsed {"raw_longitude":754869888,"raw_latitude":117488168,"longitude_deg":75.4869888,"latitude_deg":11.7488168,"altitude":5,"angle":152,"satellites":44,"speed":27,"hex_longitude":"2cfe6680","hex_latitude":"0700ba28","is_valid_coordinates":true} 
[2026-07-11 22:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649944064001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345757249718714368,"note":"Value kept but may cause issues"} 
[2026-07-11 22:25:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-115967660327282688,"note":"Value kept but may cause issues"} 
[2026-07-11 22:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783788847000,"timestamp_ms":1783788847000,"timestamp_seconds":1783788847,"priority":1,"record_length":96,"hex_timestamp":"0000019f5219bf98"} 
[2026-07-11 22:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:25:14] 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-07-11 22:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649944064001,"66":27343,"85":206,"94":10240,"24":27,"16":345757249718714368,"44":-115967660327282688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,94,24,16,44]} 
[2026-07-11 22:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649944064001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-11 22:25:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345757249718714368,"km_value":345757249718714.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:25:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-115967660327282688,"description":"Unknown IO ID 44"} 
[2026-07-11 22:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649944064001,"power":27343,"unknown_85":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_44":-115967660327282688}} 
[2026-07-11 22:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":128904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:25:14] local.INFO: GPS data processed {"connection_id":128904,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:25:14] local.INFO: Acknowledgment sent {"connection_id":128904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:25:45] local.INFO: TCP Data received {"connection_id":128904,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5219c768012cfe6a000700b5c0000500872b..."} 
[2026-07-11 22:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5219c768012cfe6a000700b5c0000500872b..."} 
[2026-07-11 22:25:45] local.INFO: Processing buffer {"connection_id":128904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5219c768012cfe6a000700b5c0000500872b..."} 
[2026-07-11 22:25:45] local.INFO: Packet analysis {"connection_id":128904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5219"} 
[2026-07-11 22:25:45] local.INFO: Extracted packet for processing {"connection_id":128904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5219"} 
[2026-07-11 22:25:45] local.INFO: GPS Element Parsed {"raw_longitude":754870784,"raw_latitude":117487040,"longitude_deg":75.4870784,"latitude_deg":11.748704,"altitude":5,"angle":135,"satellites":43,"speed":27,"hex_longitude":"2cfe6a00","hex_latitude":"0700b5c0","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649944832001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345757318438191104,"note":"Value kept but may cause issues"} 
[2026-07-11 22:25:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-115263972886042624,"note":"Value kept but may cause issues"} 
[2026-07-11 22:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783788849000,"timestamp_ms":1783788849000,"timestamp_seconds":1783788849,"priority":1,"record_length":96,"hex_timestamp":"0000019f5219c768"} 
[2026-07-11 22:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649944832001,"66":27321,"85":206,"94":10240,"24":27,"16":345757318438191104,"44":-115263972886042624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,94,24,16,44]} 
[2026-07-11 22:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649944832001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:25:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-11 22:25:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-11 22:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345757318438191104,"km_value":345757318438191.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:25:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-115263972886042624,"description":"Unknown IO ID 44"} 
[2026-07-11 22:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649944832001,"power":27321,"unknown_85":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_44":-115263972886042624}} 
[2026-07-11 22:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":128904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:25:45] local.INFO: GPS data processed {"connection_id":128904,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:25:45] local.INFO: Acknowledgment sent {"connection_id":128904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:26:12] local.INFO: TCP Data received {"connection_id":131080,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:26:12] local.INFO: Processing buffer {"connection_id":131080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:26:12] local.INFO: IMEI packet received {"connection_id":131080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":131080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:26:13] local.INFO: TCP Data received {"connection_id":131080,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131080,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 22:26:13] local.INFO: Processing buffer {"connection_id":131080,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 22:26:13] local.INFO: IMEI packet received {"connection_id":131080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":131080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:26:13] local.INFO: TCP Data received {"connection_id":131080,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:26:13] local.INFO: Processing buffer {"connection_id":131080,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 22:26:13] local.INFO: IMEI packet received {"connection_id":131080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":131080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:28:14] local.INFO: TCP Data received {"connection_id":128906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:28:14] local.INFO: Processing buffer {"connection_id":128906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:28:14] local.INFO: IMEI packet received {"connection_id":128906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":128906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:28:44] local.INFO: TCP Data received {"connection_id":128907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:28:44] local.INFO: Processing buffer {"connection_id":128907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:28:44] local.INFO: IMEI packet received {"connection_id":128907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":128907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:31:18] local.INFO: TCP Data received {"connection_id":129821,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:31:18] local.INFO: Processing buffer {"connection_id":129821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:31:18] local.INFO: IMEI packet received {"connection_id":129821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":129821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:31:19] local.INFO: TCP Data received {"connection_id":129821,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f521edc30012d01ac0006fe2b78000200872b..."} 
[2026-07-11 22:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f521edc30012d01ac0006fe2b78000200872b..."} 
[2026-07-11 22:31:19] local.INFO: Processing buffer {"connection_id":129821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f521edc30012d01ac0006fe2b78000200872b..."} 
[2026-07-11 22:31:19] local.INFO: Packet analysis {"connection_id":129821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f521e"} 
[2026-07-11 22:31:19] local.INFO: Extracted packet for processing {"connection_id":129821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f521e"} 
[2026-07-11 22:31:19] local.INFO: GPS Element Parsed {"raw_longitude":755084288,"raw_latitude":117320568,"longitude_deg":75.5084288,"latitude_deg":11.7320568,"altitude":2,"angle":135,"satellites":43,"speed":49,"hex_longitude":"2d01ac00","hex_latitude":"06fe2b78","is_valid_coordinates":true} 
[2026-07-11 22:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650028544001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345771109578178560,"note":"Value kept but may cause issues"} 
[2026-07-11 22:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":112590020720048128,"note":"Value kept but may cause issues"} 
[2026-07-11 22:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783789182000,"timestamp_ms":1783789182000,"timestamp_seconds":1783789182,"priority":1,"record_length":96,"hex_timestamp":"0000019f521edc30"} 
[2026-07-11 22:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:31: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-07-11 22:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 22:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650028544001,"66":27332,"47":206,"94":11008,"24":49,"16":345771109578178560,"45":112590020720048128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,94,24,16,45]} 
[2026-07-11 22:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650028544001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:31:19] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-11 22:31:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345771109578178560,"km_value":345771109578178.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":112590020720048128,"description":"Unknown IO ID 45"} 
[2026-07-11 22:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650028544001,"power":27332,"unknown_47":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":112590020720048128}} 
[2026-07-11 22:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":129821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:31:19] local.INFO: GPS data processed {"connection_id":129821,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:31:19] local.INFO: Acknowledgment sent {"connection_id":129821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:32:03] local.INFO: TCP Data received {"connection_id":129089,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:32:03] local.INFO: Processing buffer {"connection_id":129089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:32:03] local.INFO: IMEI packet received {"connection_id":129089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":129089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:32:08] local.INFO: TCP Data received {"connection_id":129089,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:32:08] local.INFO: Processing buffer {"connection_id":129089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:32:08] local.INFO: IMEI packet received {"connection_id":129089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":129089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:32:09] local.INFO: TCP Data received {"connection_id":129089,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f521efb70012d01c78006fe1078000400872b..."} 
[2026-07-11 22:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f521efb70012d01c78006fe1078000400872b..."} 
[2026-07-11 22:32:09] local.INFO: Processing buffer {"connection_id":129089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f521efb70012d01c78006fe1078000400872b..."} 
[2026-07-11 22:32:09] local.INFO: Packet analysis {"connection_id":129089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f521e"} 
[2026-07-11 22:32:09] local.INFO: Extracted packet for processing {"connection_id":129089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f521e"} 
[2026-07-11 22:32:09] local.INFO: GPS Element Parsed {"raw_longitude":755091328,"raw_latitude":117313656,"longitude_deg":75.5091328,"latitude_deg":11.7313656,"altitude":4,"angle":135,"satellites":43,"speed":48,"hex_longitude":"2d01c780","hex_latitude":"06fe1078","is_valid_coordinates":true} 
[2026-07-11 22:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650030592001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345771582024581120,"note":"Value kept but may cause issues"} 
[2026-07-11 22:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":120471320066226176,"note":"Value kept but may cause issues"} 
[2026-07-11 22:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783789190000,"timestamp_ms":1783789190000,"timestamp_seconds":1783789190,"priority":1,"record_length":96,"hex_timestamp":"0000019f521efb70"} 
[2026-07-11 22:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:32:09] 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-07-11 22:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 22:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650030592001,"66":27376,"47":206,"94":11008,"24":48,"16":345771582024581120,"45":120471320066226176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,94,24,16,45]} 
[2026-07-11 22:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650030592001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:32:09] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-11 22:32:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345771582024581120,"km_value":345771582024581.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":120471320066226176,"description":"Unknown IO ID 45"} 
[2026-07-11 22:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650030592001,"power":27376,"unknown_47":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":120471320066226176}} 
[2026-07-11 22:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":129089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:32:09] local.INFO: GPS data processed {"connection_id":129089,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:32:09] local.INFO: Acknowledgment sent {"connection_id":129089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:32:41] local.INFO: TCP Data received {"connection_id":129089,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5220a150012d029fc006fcb4a00005007b2f..."} 
[2026-07-11 22:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5220a150012d029fc006fcb4a00005007b2f..."} 
[2026-07-11 22:32:41] local.INFO: Processing buffer {"connection_id":129089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5220a150012d029fc006fcb4a00005007b2f..."} 
[2026-07-11 22:32:41] local.INFO: Packet analysis {"connection_id":129089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5220"} 
[2026-07-11 22:32:41] local.INFO: Extracted packet for processing {"connection_id":129089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5220"} 
[2026-07-11 22:32:41] local.INFO: GPS Element Parsed {"raw_longitude":755146688,"raw_latitude":117224608,"longitude_deg":75.5146688,"latitude_deg":11.7224608,"altitude":5,"angle":123,"satellites":47,"speed":35,"hex_longitude":"2d029fc0","hex_latitude":"06fcb4a0","is_valid_coordinates":true} 
[2026-07-11 22:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650059520001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345776710215532544,"note":"Value kept but may cause issues"} 
[2026-07-11 22:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":186899414545803264,"note":"Value kept but may cause issues"} 
[2026-07-11 22:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783789298000,"timestamp_ms":1783789298000,"timestamp_seconds":1783789298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5220a150"} 
[2026-07-11 22:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:32: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-07-11 22:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650059520001,"66":27267,"130":206,"94":11008,"24":35,"16":345776710215532544,"45":186899414545803264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-07-11 22:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650059520001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:32:41] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-11 22:32:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345776710215532544,"km_value":345776710215532.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":186899414545803264,"description":"Unknown IO ID 45"} 
[2026-07-11 22:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650059520001,"power":27267,"unknown_130":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":186899414545803264}} 
[2026-07-11 22:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":129089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:32:41] local.INFO: GPS data processed {"connection_id":129089,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:32:41] local.INFO: Acknowledgment sent {"connection_id":129089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:33:03] local.INFO: TCP Data received {"connection_id":131085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:33:03] local.INFO: Processing buffer {"connection_id":131085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:33:03] local.INFO: IMEI packet received {"connection_id":131085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":131085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:33:04] local.INFO: TCP Data received {"connection_id":131085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:33:04] local.INFO: Processing buffer {"connection_id":131085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:33:04] local.INFO: IMEI packet received {"connection_id":131085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":131085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:33:08] local.INFO: TCP Data received {"connection_id":131085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:33:08] local.INFO: Processing buffer {"connection_id":131085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:33:08] local.INFO: IMEI packet received {"connection_id":131085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":131085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:33:09] local.INFO: TCP Data received {"connection_id":131085,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5220c478012d02bf4006fca0480003007b2f..."} 
[2026-07-11 22:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5220c478012d02bf4006fca0480003007b2f..."} 
[2026-07-11 22:33:09] local.INFO: Processing buffer {"connection_id":131085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5220c478012d02bf4006fca0480003007b2f..."} 
[2026-07-11 22:33:09] local.INFO: Packet analysis {"connection_id":131085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5220"} 
[2026-07-11 22:33:09] local.INFO: Extracted packet for processing {"connection_id":131085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5220"} 
[2026-07-11 22:33:09] local.INFO: GPS Element Parsed {"raw_longitude":755154752,"raw_latitude":117219400,"longitude_deg":75.5154752,"latitude_deg":11.72194,"altitude":3,"angle":123,"satellites":47,"speed":44,"hex_longitude":"2d02bf40","hex_latitude":"06fca048","is_valid_coordinates":true} 
[2026-07-11 22:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650060288001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345777165482065920,"note":"Value kept but may cause issues"} 
[2026-07-11 22:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":189080845614882816,"note":"Value kept but may cause issues"} 
[2026-07-11 22:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783789307000,"timestamp_ms":1783789307000,"timestamp_seconds":1783789307,"priority":1,"record_length":96,"hex_timestamp":"0000019f5220c478"} 
[2026-07-11 22:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:33:09] 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-07-11 22:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650060288001,"66":27245,"130":206,"94":11008,"24":44,"16":345777165482065920,"45":189080845614882816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-07-11 22:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650060288001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:33:09] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-11 22:33:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345777165482065920,"km_value":345777165482065.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":189080845614882816,"description":"Unknown IO ID 45"} 
[2026-07-11 22:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650060288001,"power":27245,"unknown_130":206,"unknown_94":11008,"ignition":44,"odometer":null,"unknown_45":189080845614882816}} 
[2026-07-11 22:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":131085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:33:09] local.INFO: GPS data processed {"connection_id":131085,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:33:09] local.INFO: Acknowledgment sent {"connection_id":131085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:33:40] local.INFO: TCP Data received {"connection_id":131085,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5221ca30012d037a4006fbe068000700a22b..."} 
[2026-07-11 22:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5221ca30012d037a4006fbe068000700a22b..."} 
[2026-07-11 22:33:40] local.INFO: Processing buffer {"connection_id":131085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5221ca30012d037a4006fbe068000700a22b..."} 
[2026-07-11 22:33:40] local.INFO: Packet analysis {"connection_id":131085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5221"} 
[2026-07-11 22:33:40] local.INFO: Extracted packet for processing {"connection_id":131085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5221"} 
[2026-07-11 22:33:40] local.INFO: GPS Element Parsed {"raw_longitude":755202624,"raw_latitude":117170280,"longitude_deg":75.5202624,"latitude_deg":11.717028,"altitude":7,"angle":162,"satellites":43,"speed":52,"hex_longitude":"2d037a40","hex_latitude":"06fbe068","is_valid_coordinates":true} 
[2026-07-11 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-07-11 22:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650079232001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345780730304921600,"note":"Value kept but may cause issues"} 
[2026-07-11 22:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":250020178059507712,"note":"Value kept but may cause issues"} 
[2026-07-11 22:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783789374000,"timestamp_ms":1783789374000,"timestamp_seconds":1783789374,"priority":1,"record_length":96,"hex_timestamp":"0000019f5221ca30"} 
[2026-07-11 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-07-11 22:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 22:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650079232001,"66":27376,"139":206,"94":11008,"24":52,"16":345780730304921600,"45":250020178059507712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-11 22:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650079232001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:33:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-11 22:33:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345780730304921600,"km_value":345780730304921.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":250020178059507712,"description":"Unknown IO ID 45"} 
[2026-07-11 22:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650079232001,"power":27376,"unknown_139":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":250020178059507712}} 
[2026-07-11 22:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":131085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:33:40] local.INFO: GPS data processed {"connection_id":131085,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:33:40] local.INFO: Acknowledgment sent {"connection_id":131085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:34:03] local.INFO: TCP Data received {"connection_id":131087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:03] local.INFO: Processing buffer {"connection_id":131087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:03] local.INFO: IMEI packet received {"connection_id":131087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":131087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:34:04] local.INFO: TCP Data received {"connection_id":131087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:04] local.INFO: Processing buffer {"connection_id":131087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:04] local.INFO: IMEI packet received {"connection_id":131087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":131087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:34:07] local.INFO: TCP Data received {"connection_id":131087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:07] local.INFO: Processing buffer {"connection_id":131087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:07] local.INFO: IMEI packet received {"connection_id":131087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":131087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:34:08] local.INFO: TCP Data received {"connection_id":131087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:08] local.INFO: Processing buffer {"connection_id":131087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:34:08] local.INFO: IMEI packet received {"connection_id":131087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":131087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:34:10] local.INFO: TCP Data received {"connection_id":131087,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5221d200012d037e8006fbd7500008009229..."} 
[2026-07-11 22:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5221d200012d037e8006fbd7500008009229..."} 
[2026-07-11 22:34:10] local.INFO: Processing buffer {"connection_id":131087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5221d200012d037e8006fbd7500008009229..."} 
[2026-07-11 22:34:10] local.INFO: Packet analysis {"connection_id":131087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5221"} 
[2026-07-11 22:34:10] local.INFO: Extracted packet for processing {"connection_id":131087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5221"} 
[2026-07-11 22:34:10] local.INFO: GPS Element Parsed {"raw_longitude":755203712,"raw_latitude":117167952,"longitude_deg":75.5203712,"latitude_deg":11.7167952,"altitude":8,"angle":146,"satellites":41,"speed":48,"hex_longitude":"2d037e80","hex_latitude":"06fbd750","is_valid_coordinates":true} 
[2026-07-11 22:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650079744001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345780854858973184,"note":"Value kept but may cause issues"} 
[2026-07-11 22:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":250583128012253184,"note":"Value kept but may cause issues"} 
[2026-07-11 22:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783789376000,"timestamp_ms":1783789376000,"timestamp_seconds":1783789376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5221d200"} 
[2026-07-11 22:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 22:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650079744001,"66":27332,"139":206,"94":11008,"24":48,"16":345780854858973184,"45":250583128012253184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-11 22:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650079744001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:34:10] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-11 22:34:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345780854858973184,"km_value":345780854858973.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":250583128012253184,"description":"Unknown IO ID 45"} 
[2026-07-11 22:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650079744001,"power":27332,"unknown_139":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":250583128012253184}} 
[2026-07-11 22:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":131087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:34:10] local.INFO: GPS data processed {"connection_id":131087,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:34:10] local.INFO: Acknowledgment sent {"connection_id":131087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:34:12] local.INFO: TCP Data received {"connection_id":131086,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:34:12] local.INFO: Processing buffer {"connection_id":131086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:34:12] local.INFO: IMEI packet received {"connection_id":131086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":131086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:34:13] local.INFO: TCP Data received {"connection_id":131087,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5221d9d0012d0384c006fbd0c0000a00812a..."} 
[2026-07-11 22:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5221d9d0012d0384c006fbd0c0000a00812a..."} 
[2026-07-11 22:34:13] local.INFO: Processing buffer {"connection_id":131087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5221d9d0012d0384c006fbd0c0000a00812a..."} 
[2026-07-11 22:34:13] local.INFO: Packet analysis {"connection_id":131087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5221"} 
[2026-07-11 22:34:13] local.INFO: Extracted packet for processing {"connection_id":131087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5221"} 
[2026-07-11 22:34:13] local.INFO: GPS Element Parsed {"raw_longitude":755205312,"raw_latitude":117166272,"longitude_deg":75.5205312,"latitude_deg":11.7166272,"altitude":10,"angle":129,"satellites":42,"speed":43,"hex_longitude":"2d0384c0","hex_latitude":"06fbd0c0","is_valid_coordinates":true} 
[2026-07-11 22:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650080256001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345780966528122880,"note":"Value kept but may cause issues"} 
[2026-07-11 22:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":251779396662677504,"note":"Value kept but may cause issues"} 
[2026-07-11 22:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783789378000,"timestamp_ms":1783789378000,"timestamp_seconds":1783789378,"priority":1,"record_length":96,"hex_timestamp":"0000019f5221d9d0"} 
[2026-07-11 22:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 22:34:13] 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-07-11 22:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650080256001,"66":27343,"139":206,"94":11008,"24":43,"16":345780966528122880,"45":251779396662677504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-11 22:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650080256001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:34:13] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-11 22:34:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345780966528122880,"km_value":345780966528122.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":251779396662677504,"description":"Unknown IO ID 45"} 
[2026-07-11 22:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650080256001,"power":27343,"unknown_139":206,"unknown_94":11008,"ignition":43,"odometer":null,"unknown_45":251779396662677504}} 
[2026-07-11 22:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":131087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:34:13] local.INFO: GPS data processed {"connection_id":131087,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:34:13] local.INFO: Acknowledgment sent {"connection_id":131087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:34:44] local.INFO: TCP Data received {"connection_id":131087,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f522204c8012d03a10006fbba70001000842e..."} 
[2026-07-11 22:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522204c8012d03a10006fbba70001000842e..."} 
[2026-07-11 22:34:44] local.INFO: Processing buffer {"connection_id":131087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522204c8012d03a10006fbba70001000842e..."} 
[2026-07-11 22:34:44] local.INFO: Packet analysis {"connection_id":131087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5222"} 
[2026-07-11 22:34:44] local.INFO: Extracted packet for processing {"connection_id":131087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5222"} 
[2026-07-11 22:34:44] local.INFO: GPS Element Parsed {"raw_longitude":755212544,"raw_latitude":117160560,"longitude_deg":75.5212544,"latitude_deg":11.716056,"altitude":16,"angle":132,"satellites":46,"speed":26,"hex_longitude":"2d03a100","hex_latitude":"06fbba70","is_valid_coordinates":true} 
[2026-07-11 22:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650080768001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345781408909754368,"note":"Value kept but may cause issues"} 
[2026-07-11 22:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":253538615266689024,"note":"Value kept but may cause issues"} 
[2026-07-11 22:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783789389000,"timestamp_ms":1783789389000,"timestamp_seconds":1783789389,"priority":1,"record_length":96,"hex_timestamp":"0000019f522204c8"} 
[2026-07-11 22:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:34: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-07-11 22:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650080768001,"66":27376,"139":206,"94":11008,"24":26,"16":345781408909754368,"45":253538615266689024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-11 22:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650080768001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:34:44] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-11 22:34:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345781408909754368,"km_value":345781408909754.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":253538615266689024,"description":"Unknown IO ID 45"} 
[2026-07-11 22:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650080768001,"power":27376,"unknown_139":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":253538615266689024}} 
[2026-07-11 22:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":131087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:34:44] local.INFO: GPS data processed {"connection_id":131087,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:34:44] local.INFO: Acknowledgment sent {"connection_id":131087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:34:44] local.INFO: TCP Data received {"connection_id":131088,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:34:44] local.INFO: Processing buffer {"connection_id":131088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:34:44] local.INFO: IMEI packet received {"connection_id":131088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":131088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:35:05] local.INFO: TCP Data received {"connection_id":129823,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:35:05] local.INFO: Processing buffer {"connection_id":129823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:35:05] local.INFO: IMEI packet received {"connection_id":129823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":129823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:35:08] local.INFO: TCP Data received {"connection_id":129823,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:35:08] local.INFO: Processing buffer {"connection_id":129823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:35:08] local.INFO: IMEI packet received {"connection_id":129823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":129823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:35:09] local.INFO: TCP Data received {"connection_id":129823,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:35:09] local.INFO: Processing buffer {"connection_id":129823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:35:09] local.INFO: IMEI packet received {"connection_id":129823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":129823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:35:10] local.INFO: TCP Data received {"connection_id":129823,"ip":"42.106.6.30","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f52..."} 
[2026-07-11 22:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129823,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f52..."} 
[2026-07-11 22:35:10] local.INFO: Processing buffer {"connection_id":129823,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f52..."} 
[2026-07-11 22:35:10] local.INFO: IMEI packet received {"connection_id":129823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":129823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:35:12] local.INFO: TCP Data received {"connection_id":129823,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52234130012d04768006fb35f00015007229..."} 
[2026-07-11 22:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52234130012d04768006fb35f00015007229..."} 
[2026-07-11 22:35:12] local.INFO: Processing buffer {"connection_id":129823,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f52233578012d046b0006fb38d80015006427..."} 
[2026-07-11 22:35:12] local.INFO: Packet analysis {"connection_id":129823,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:35:12] local.INFO: Extracted packet for processing {"connection_id":129823,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:35:12] local.INFO: GPS Element Parsed {"raw_longitude":755264256,"raw_latitude":117127384,"longitude_deg":75.5264256,"latitude_deg":11.7127384,"altitude":21,"angle":100,"satellites":39,"speed":44,"hex_longitude":"2d046b00","hex_latitude":"06fb38d8","is_valid_coordinates":true} 
[2026-07-11 22:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650102784001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345784415386861568,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":314407578970689536,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783789467000,"timestamp_ms":1783789467000,"timestamp_seconds":1783789467,"priority":1,"record_length":96,"hex_timestamp":"0000019f52233578"} 
[2026-07-11 22:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:35: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-07-11 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 22:35:12] 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-07-11 22:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650102784001,"66":27343,"139":206,"94":11008,"24":44,"16":345784415386861568,"45":314407578970689536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-11 22:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650102784001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:35:12] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-11 22:35:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345784415386861568,"km_value":345784415386861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":314407578970689536,"description":"Unknown IO ID 45"} 
[2026-07-11 22:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650102784001,"power":27343,"unknown_139":206,"unknown_94":11008,"ignition":44,"odometer":null,"unknown_45":314407578970689536}} 
[2026-07-11 22:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":129823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:35:12] local.INFO: GPS data processed {"connection_id":129823,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:35:12] local.INFO: Acknowledgment sent {"connection_id":129823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:35:12] local.INFO: Packet analysis {"connection_id":129823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:35:12] local.INFO: Extracted packet for processing {"connection_id":129823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:35:12] local.INFO: GPS Element Parsed {"raw_longitude":755267200,"raw_latitude":117126640,"longitude_deg":75.52672,"latitude_deg":11.712664,"altitude":21,"angle":114,"satellites":41,"speed":37,"hex_longitude":"2d047680","hex_latitude":"06fb35f0","is_valid_coordinates":true} 
[2026-07-11 22:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650103552001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345784557120782336,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":318348228644362240,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783789470000,"timestamp_ms":1783789470000,"timestamp_seconds":1783789470,"priority":1,"record_length":96,"hex_timestamp":"0000019f52234130"} 
[2026-07-11 22:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:35: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-07-11 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:35: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-07-11 22:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650103552001,"66":27463,"139":206,"94":11008,"24":37,"16":345784557120782336,"45":318348228644362240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-11 22:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650103552001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:35:12] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-11 22:35:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345784557120782336,"km_value":345784557120782.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":318348228644362240,"description":"Unknown IO ID 45"} 
[2026-07-11 22:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650103552001,"power":27463,"unknown_139":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":318348228644362240}} 
[2026-07-11 22:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":129823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:35:12] local.INFO: GPS data processed {"connection_id":129823,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:35:12] local.INFO: Acknowledgment sent {"connection_id":129823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:35:13] local.INFO: TCP Data received {"connection_id":129823,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52234900012d047d0006fb31b00014008229..."} 
[2026-07-11 22:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52234900012d047d0006fb31b00014008229..."} 
[2026-07-11 22:35:13] local.INFO: Processing buffer {"connection_id":129823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52234900012d047d0006fb31b00014008229..."} 
[2026-07-11 22:35:13] local.INFO: Packet analysis {"connection_id":129823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:35:13] local.INFO: Extracted packet for processing {"connection_id":129823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:35:13] local.INFO: GPS Element Parsed {"raw_longitude":755268864,"raw_latitude":117125552,"longitude_deg":75.5268864,"latitude_deg":11.7125552,"altitude":20,"angle":130,"satellites":41,"speed":40,"hex_longitude":"2d047d00","hex_latitude":"06fb31b0","is_valid_coordinates":true} 
[2026-07-11 22:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650104320001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345784651610062848,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":321585190876344320,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783789472000,"timestamp_ms":1783789472000,"timestamp_seconds":1783789472,"priority":1,"record_length":96,"hex_timestamp":"0000019f52234900"} 
[2026-07-11 22:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 22:35:13] 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-07-11 22:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650104320001,"66":27321,"139":206,"94":11008,"24":40,"16":345784651610062848,"45":321585190876344320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-11 22:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650104320001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:35:13] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-11 22:35:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345784651610062848,"km_value":345784651610062.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":321585190876344320,"description":"Unknown IO ID 45"} 
[2026-07-11 22:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650104320001,"power":27321,"unknown_139":206,"unknown_94":11008,"ignition":40,"odometer":null,"unknown_45":321585190876344320}} 
[2026-07-11 22:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":129823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:35:13] local.INFO: GPS data processed {"connection_id":129823,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:35:13] local.INFO: Acknowledgment sent {"connection_id":129823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:35:44] local.INFO: TCP Data received {"connection_id":129823,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f522350d0012d04824006fb2ad00013009326..."} 
[2026-07-11 22:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522350d0012d04824006fb2ad00013009326..."} 
[2026-07-11 22:35:44] local.INFO: Processing buffer {"connection_id":129823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522350d0012d04824006fb2ad00013009326..."} 
[2026-07-11 22:35:44] local.INFO: Packet analysis {"connection_id":129823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:35:44] local.INFO: Extracted packet for processing {"connection_id":129823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":755270208,"raw_latitude":117123792,"longitude_deg":75.5270208,"latitude_deg":11.7123792,"altitude":19,"angle":147,"satellites":38,"speed":46,"hex_longitude":"2d048240","hex_latitude":"06fb2ad0","is_valid_coordinates":true} 
[2026-07-11 22:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650104832001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345784758984245248,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":323414778224685056,"note":"Value kept but may cause issues"} 
[2026-07-11 22:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783789474000,"timestamp_ms":1783789474000,"timestamp_seconds":1783789474,"priority":1,"record_length":96,"hex_timestamp":"0000019f522350d0"} 
[2026-07-11 22:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:35:44] 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-07-11 22:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650104832001,"66":27321,"139":206,"94":11008,"24":46,"16":345784758984245248,"45":323414778224685056},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-11 22:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650104832001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:35:44] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-11 22:35:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345784758984245248,"km_value":345784758984245.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":323414778224685056,"description":"Unknown IO ID 45"} 
[2026-07-11 22:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650104832001,"power":27321,"unknown_139":206,"unknown_94":11008,"ignition":46,"odometer":null,"unknown_45":323414778224685056}} 
[2026-07-11 22:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":129823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:35:44] local.INFO: GPS data processed {"connection_id":129823,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:35:44] local.INFO: Acknowledgment sent {"connection_id":129823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:36:05] local.INFO: TCP Data received {"connection_id":129090,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:36:05] local.INFO: Processing buffer {"connection_id":129090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:36:05] local.INFO: IMEI packet received {"connection_id":129090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":129090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:36:05] local.INFO: TCP Data received {"connection_id":129090,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:36:05] local.INFO: Processing buffer {"connection_id":129090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:36:05] local.INFO: IMEI packet received {"connection_id":129090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":129090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:36:06] local.INFO: TCP Data received {"connection_id":129090,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:36:06] local.INFO: Processing buffer {"connection_id":129090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:36:06] local.INFO: IMEI packet received {"connection_id":129090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":129090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:36:08] local.INFO: TCP Data received {"connection_id":129090,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52236c28012d0494c006fb0830000d009529..."} 
[2026-07-11 22:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52236c28012d0494c006fb0830000d009529..."} 
[2026-07-11 22:36:08] local.INFO: Processing buffer {"connection_id":129090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52236c28012d0494c006fb0830000d009529..."} 
[2026-07-11 22:36:08] local.INFO: Packet analysis {"connection_id":129090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:36:08] local.INFO: Extracted packet for processing {"connection_id":129090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:36:08] local.INFO: GPS Element Parsed {"raw_longitude":755274944,"raw_latitude":117114928,"longitude_deg":75.5274944,"latitude_deg":11.7114928,"altitude":13,"angle":149,"satellites":41,"speed":60,"hex_longitude":"2d0494c0","hex_latitude":"06fb0830","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650105344001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345785244315549696,"note":"Value kept but may cause issues"} 
[2026-07-11 22:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":324892521851965440,"note":"Value kept but may cause issues"} 
[2026-07-11 22:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783789481000,"timestamp_ms":1783789481000,"timestamp_seconds":1783789481,"priority":1,"record_length":96,"hex_timestamp":"0000019f52236c28"} 
[2026-07-11 22:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 22:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:36: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-07-11 22:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650105344001,"66":27463,"5":206,"94":11008,"24":60,"16":345785244315549696,"45":324892521851965440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-07-11 22:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650105344001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:36:08] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-11 22:36:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345785244315549696,"km_value":345785244315549.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":324892521851965440,"description":"Unknown IO ID 45"} 
[2026-07-11 22:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650105344001,"power":27463,"unknown_5":206,"unknown_94":11008,"ignition":60,"odometer":null,"unknown_45":324892521851965440}} 
[2026-07-11 22:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":129090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:36:08] local.INFO: GPS data processed {"connection_id":129090,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:36:08] local.INFO: Acknowledgment sent {"connection_id":129090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:36:09] local.INFO: TCP Data received {"connection_id":129090,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52237fb0012d04a10006faedf0000d00a22a..."} 
[2026-07-11 22:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52237fb0012d04a10006faedf0000d00a22a..."} 
[2026-07-11 22:36:09] local.INFO: Processing buffer {"connection_id":129090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52237fb0012d04a10006faedf0000d00a22a..."} 
[2026-07-11 22:36:09] local.INFO: Packet analysis {"connection_id":129090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:36:09] local.INFO: Extracted packet for processing {"connection_id":129090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5223"} 
[2026-07-11 22:36:09] local.INFO: GPS Element Parsed {"raw_longitude":755278080,"raw_latitude":117108208,"longitude_deg":75.527808,"latitude_deg":11.7108208,"altitude":13,"angle":162,"satellites":42,"speed":56,"hex_longitude":"2d04a100","hex_latitude":"06faedf0","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650107136001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345785605092802560,"note":"Value kept but may cause issues"} 
[2026-07-11 22:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":330099808918843392,"note":"Value kept but may cause issues"} 
[2026-07-11 22:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783789486000,"timestamp_ms":1783789486000,"timestamp_seconds":1783789486,"priority":1,"record_length":96,"hex_timestamp":"0000019f52237fb0"} 
[2026-07-11 22:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:36:09] 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-07-11 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 22:36: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-07-11 22: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-07-11 22:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650107136001,"66":27343,"5":206,"94":11008,"24":56,"16":345785605092802560,"45":330099808918843392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-07-11 22:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650107136001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:36:09] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-11 22:36:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345785605092802560,"km_value":345785605092802.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":330099808918843392,"description":"Unknown IO ID 45"} 
[2026-07-11 22:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650107136001,"power":27343,"unknown_5":206,"unknown_94":11008,"ignition":56,"odometer":null,"unknown_45":330099808918843392}} 
[2026-07-11 22:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":129090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:36:09] local.INFO: GPS data processed {"connection_id":129090,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:36:09] local.INFO: Acknowledgment sent {"connection_id":129090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:36:41] local.INFO: TCP Data received {"connection_id":129090,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f52246df8012d05308006fa5ae8000c007b2c..."} 
[2026-07-11 22:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52246df8012d05308006fa5ae8000c007b2c..."} 
[2026-07-11 22:36:41] local.INFO: Processing buffer {"connection_id":129090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52246df8012d05308006fa5ae8000c007b2c..."} 
[2026-07-11 22:36:41] local.INFO: Packet analysis {"connection_id":129090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5224"} 
[2026-07-11 22:36:41] local.INFO: Extracted packet for processing {"connection_id":129090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5224"} 
[2026-07-11 22:36:41] local.INFO: GPS Element Parsed {"raw_longitude":755314816,"raw_latitude":117070568,"longitude_deg":75.5314816,"latitude_deg":11.7070568,"altitude":12,"angle":123,"satellites":44,"speed":30,"hex_longitude":"2d053080","hex_latitude":"06fa5ae8","is_valid_coordinates":true} 
[2026-07-11 22:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650123520001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345788366756773888,"note":"Value kept but may cause issues"} 
[2026-07-11 22:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":372602530391050240,"note":"Value kept but may cause issues"} 
[2026-07-11 22:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783789547000,"timestamp_ms":1783789547000,"timestamp_seconds":1783789547,"priority":1,"record_length":96,"hex_timestamp":"0000019f52246df8"} 
[2026-07-11 22:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650123520001,"66":27376,"217":206,"94":11008,"24":30,"16":345788366756773888,"45":372602530391050240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,94,24,16,45]} 
[2026-07-11 22:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650123520001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:36:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-11 22:36:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345788366756773888,"km_value":345788366756773.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":372602530391050240,"description":"Unknown IO ID 45"} 
[2026-07-11 22:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650123520001,"power":27376,"unknown_217":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":372602530391050240}} 
[2026-07-11 22:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":129090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:36:41] local.INFO: GPS data processed {"connection_id":129090,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:36:41] local.INFO: Acknowledgment sent {"connection_id":129090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:37:03] local.INFO: TCP Data received {"connection_id":129825,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:03] local.INFO: Processing buffer {"connection_id":129825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:03] local.INFO: IMEI packet received {"connection_id":129825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":129825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:37:04] local.INFO: TCP Data received {"connection_id":129825,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:04] local.INFO: Processing buffer {"connection_id":129825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:04] local.INFO: IMEI packet received {"connection_id":129825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":129825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:37:05] local.INFO: TCP Data received {"connection_id":129825,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:05] local.INFO: Processing buffer {"connection_id":129825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:05] local.INFO: IMEI packet received {"connection_id":129825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":129825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:37:06] local.INFO: TCP Data received {"connection_id":129825,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:06] local.INFO: Processing buffer {"connection_id":129825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:37:06] local.INFO: IMEI packet received {"connection_id":129825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":129825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:40:04] local.INFO: TCP Data received {"connection_id":128912,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:40:04] local.INFO: Processing buffer {"connection_id":128912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:40:04] local.INFO: IMEI packet received {"connection_id":128912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":128912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:40:44] local.INFO: TCP Data received {"connection_id":128913,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:40:44] local.INFO: Processing buffer {"connection_id":128913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:40:44] local.INFO: IMEI packet received {"connection_id":128913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":128913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:42:08] local.INFO: TCP Data received {"connection_id":131091,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:42:08] local.INFO: Processing buffer {"connection_id":131091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:42:08] local.INFO: IMEI packet received {"connection_id":131091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":131091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:42:11] local.INFO: TCP Data received {"connection_id":131091,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5225d558012d05be4006f9f2e8001100ba2c..."} 
[2026-07-11 22:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5225d558012d05be4006f9f2e8001100ba2c..."} 
[2026-07-11 22:42:11] local.INFO: Processing buffer {"connection_id":131091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5225d558012d05be4006f9f2e8001100ba2c..."} 
[2026-07-11 22:42:11] local.INFO: Packet analysis {"connection_id":131091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5225"} 
[2026-07-11 22:42:11] local.INFO: Extracted packet for processing {"connection_id":131091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5225"} 
[2026-07-11 22:42:11] local.INFO: GPS Element Parsed {"raw_longitude":755351104,"raw_latitude":117043944,"longitude_deg":75.5351104,"latitude_deg":11.7043944,"altitude":17,"angle":186,"satellites":44,"speed":14,"hex_longitude":"2d05be40","hex_latitude":"06f9f2e8","is_valid_coordinates":true} 
[2026-07-11 22:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650142208001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791025341530112,"note":"Value kept but may cause issues"} 
[2026-07-11 22:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414612670660194304,"note":"Value kept but may cause issues"} 
[2026-07-11 22:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783789639000,"timestamp_ms":1783789639000,"timestamp_seconds":1783789639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5225d558"} 
[2026-07-11 22:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650142208001,"66":27365,"3":206,"94":11008,"24":14,"16":345791025341530112,"45":414612670660194304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650142208001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:42:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:42:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791025341530112,"km_value":345791025341530.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":414612670660194304,"description":"Unknown IO ID 45"} 
[2026-07-11 22:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650142208001,"power":27365,"unknown_3":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":414612670660194304}} 
[2026-07-11 22:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":131091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:42:11] local.INFO: GPS data processed {"connection_id":131091,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:42:11] local.INFO: Acknowledgment sent {"connection_id":131091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:42:43] local.INFO: TCP Data received {"connection_id":131091,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f52260ff0012d05bc4006f9dfb8000e00a02c..."} 
[2026-07-11 22:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52260ff0012d05bc4006f9dfb8000e00a02c..."} 
[2026-07-11 22:42:43] local.INFO: Processing buffer {"connection_id":131091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52260ff0012d05bc4006f9dfb8000e00a02c..."} 
[2026-07-11 22:42:43] local.INFO: Packet analysis {"connection_id":131091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5226"} 
[2026-07-11 22:42:43] local.INFO: Extracted packet for processing {"connection_id":131091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5226"} 
[2026-07-11 22:42:43] local.INFO: GPS Element Parsed {"raw_longitude":755350592,"raw_latitude":117039032,"longitude_deg":75.5350592,"latitude_deg":11.7039032,"altitude":14,"angle":160,"satellites":44,"speed":8,"hex_longitude":"2d05bc40","hex_latitude":"06f9dfb8","is_valid_coordinates":true} 
[2026-07-11 22:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650147584001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791265859698688,"note":"Value kept but may cause issues"} 
[2026-07-11 22:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413838614472091648,"note":"Value kept but may cause issues"} 
[2026-07-11 22:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783789654000,"timestamp_ms":1783789654000,"timestamp_seconds":1783789654,"priority":1,"record_length":96,"hex_timestamp":"0000019f52260ff0"} 
[2026-07-11 22:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 22:42:43] 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-07-11 22:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650147584001,"66":27767,"3":206,"94":11008,"24":8,"16":345791265859698688,"45":413838614472091648},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650147584001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:42:43] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:42:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791265859698688,"km_value":345791265859698.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":413838614472091648,"description":"Unknown IO ID 45"} 
[2026-07-11 22:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650147584001,"power":27767,"unknown_3":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":413838614472091648}} 
[2026-07-11 22:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":131091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:42:43] local.INFO: GPS data processed {"connection_id":131091,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:42:43] local.INFO: Acknowledgment sent {"connection_id":131091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:43:08] local.INFO: TCP Data received {"connection_id":128915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:43:08] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:43:08] local.INFO: IMEI packet received {"connection_id":128915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":128915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:43:13] local.INFO: TCP Data received {"connection_id":128915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:43:13] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:43:13] local.INFO: IMEI packet received {"connection_id":128915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":128915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:43:15] local.INFO: TCP Data received {"connection_id":128915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f522613d8012d05bc8006f9dec8000e008f2c..."} 
[2026-07-11 22:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522613d8012d05bc8006f9dec8000e008f2c..."} 
[2026-07-11 22:43:15] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522613d8012d05bc8006f9dec8000e008f2c..."} 
[2026-07-11 22:43:15] local.INFO: Packet analysis {"connection_id":128915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5226"} 
[2026-07-11 22:43:15] local.INFO: Extracted packet for processing {"connection_id":128915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5226"} 
[2026-07-11 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":755350656,"raw_latitude":117038792,"longitude_deg":75.5350656,"latitude_deg":11.7038792,"altitude":14,"angle":143,"satellites":44,"speed":8,"hex_longitude":"2d05bc80","hex_latitude":"06f9dec8","is_valid_coordinates":true} 
[2026-07-11 22:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650151424001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791278744600576,"note":"Value kept but may cause issues"} 
[2026-07-11 22:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413275664517412864,"note":"Value kept but may cause issues"} 
[2026-07-11 22:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783789655000,"timestamp_ms":1783789655000,"timestamp_seconds":1783789655,"priority":1,"record_length":96,"hex_timestamp":"0000019f522613d8"} 
[2026-07-11 22:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 22:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650151424001,"66":27767,"3":206,"94":11008,"24":8,"16":345791278744600576,"45":413275664517412864},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650151424001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:43:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:43:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791278744600576,"km_value":345791278744600.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":413275664517412864,"description":"Unknown IO ID 45"} 
[2026-07-11 22:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650151424001,"power":27767,"unknown_3":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":413275664517412864}} 
[2026-07-11 22:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":128915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:43:15] local.INFO: GPS data processed {"connection_id":128915,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:43:15] local.INFO: Acknowledgment sent {"connection_id":128915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:43:18] local.INFO: TCP Data received {"connection_id":128915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f522617c0012d05bd0006f9ddd8000e00822d..."} 
[2026-07-11 22:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522617c0012d05bd0006f9ddd8000e00822d..."} 
[2026-07-11 22:43:18] local.INFO: Processing buffer {"connection_id":128915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522617c0012d05bd0006f9ddd8000e00822d..."} 
[2026-07-11 22:43:18] local.INFO: Packet analysis {"connection_id":128915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5226"} 
[2026-07-11 22:43:18] local.INFO: Extracted packet for processing {"connection_id":128915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5226"} 
[2026-07-11 22:43:18] local.INFO: GPS Element Parsed {"raw_longitude":755350784,"raw_latitude":117038552,"longitude_deg":75.5350784,"latitude_deg":11.7038552,"altitude":14,"angle":130,"satellites":45,"speed":8,"hex_longitude":"2d05bd00","hex_latitude":"06f9ddd8","is_valid_coordinates":true} 
[2026-07-11 22:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650151680001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791291629502464,"note":"Value kept but may cause issues"} 
[2026-07-11 22:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413346033261529088,"note":"Value kept but may cause issues"} 
[2026-07-11 22:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783789656000,"timestamp_ms":1783789656000,"timestamp_seconds":1783789656,"priority":1,"record_length":96,"hex_timestamp":"0000019f522617c0"} 
[2026-07-11 22:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-11 22:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650151680001,"66":27821,"3":206,"94":11008,"24":8,"16":345791291629502464,"45":413346033261529088},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650151680001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:43:18] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:43:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791291629502464,"km_value":345791291629502.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":413346033261529088,"description":"Unknown IO ID 45"} 
[2026-07-11 22:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650151680001,"power":27821,"unknown_3":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":413346033261529088}} 
[2026-07-11 22:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":128915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:43:18] local.INFO: GPS data processed {"connection_id":128915,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:43:18] local.INFO: Acknowledgment sent {"connection_id":128915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:44:03] local.INFO: TCP Data received {"connection_id":129094,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:44:03] local.INFO: Processing buffer {"connection_id":129094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:44:03] local.INFO: IMEI packet received {"connection_id":129094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":129094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:44:08] local.INFO: TCP Data received {"connection_id":129094,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:44:08] local.INFO: Processing buffer {"connection_id":129094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:44:08] local.INFO: IMEI packet received {"connection_id":129094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":129094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:44:10] local.INFO: TCP Data received {"connection_id":129094,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f52262760012d05bec006f9dc68000e005f2d..."} 
[2026-07-11 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52262760012d05bec006f9dc68000e005f2d..."} 
[2026-07-11 22:44:10] local.INFO: Processing buffer {"connection_id":129094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52262760012d05bec006f9dc68000e005f2d..."} 
[2026-07-11 22:44:10] local.INFO: Packet analysis {"connection_id":129094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5226"} 
[2026-07-11 22:44:10] local.INFO: Extracted packet for processing {"connection_id":129094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5226"} 
[2026-07-11 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038184,"longitude_deg":75.5351232,"latitude_deg":11.7038184,"altitude":14,"angle":95,"satellites":45,"speed":6,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc68","is_valid_coordinates":true} 
[2026-07-11 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650151936001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791313104338944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413486770749822976,"note":"Value kept but may cause issues"} 
[2026-07-11 22:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783789660000,"timestamp_ms":1783789660000,"timestamp_seconds":1783789660,"priority":1,"record_length":96,"hex_timestamp":"0000019f52262760"} 
[2026-07-11 22:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-11 22:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650151936001,"66":27995,"3":206,"94":11008,"24":6,"16":345791313104338944,"45":413486770749822976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650151936001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:44:10] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:44:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791313104338944,"km_value":345791313104338.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":413486770749822976,"description":"Unknown IO ID 45"} 
[2026-07-11 22:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650151936001,"power":27995,"unknown_3":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":413486770749822976}} 
[2026-07-11 22:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":129094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:44:10] local.INFO: GPS data processed {"connection_id":129094,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:44:10] local.INFO: Acknowledgment sent {"connection_id":129094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:44:41] local.INFO: TCP Data received {"connection_id":129094,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f522abf28012d05c78006f9d980000e006123..."} 
[2026-07-11 22:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522abf28012d05c78006f9d980000e006123..."} 
[2026-07-11 22:44:41] local.INFO: Processing buffer {"connection_id":129094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522abf28012d05c78006f9d980000e006123..."} 
[2026-07-11 22:44:41] local.INFO: Packet analysis {"connection_id":129094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522a"} 
[2026-07-11 22:44:41] local.INFO: Extracted packet for processing {"connection_id":129094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522a"} 
[2026-07-11 22:44:41] local.INFO: GPS Element Parsed {"raw_longitude":755353472,"raw_latitude":117037440,"longitude_deg":75.5353472,"latitude_deg":11.703744,"altitude":14,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d05c780","hex_latitude":"06f9d980","is_valid_coordinates":true} 
[2026-07-11 22:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650152960001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791313104338944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958972416,"note":"Value kept but may cause issues"} 
[2026-07-11 22:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783789961000,"timestamp_ms":1783789961000,"timestamp_seconds":1783789961,"priority":1,"record_length":96,"hex_timestamp":"0000019f522abf28"} 
[2026-07-11 22:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 22:44:41] 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-07-11 22:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650152960001,"66":26310,"3":206,"94":11008,"24":0,"16":345791313104338944,"45":413979351958972416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650152960001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:44:41] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:44:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791313104338944,"km_value":345791313104338.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958972416,"description":"Unknown IO ID 45"} 
[2026-07-11 22:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650152960001,"power":26310,"unknown_3":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":413979351958972416}} 
[2026-07-11 22:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":129094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:44:41] local.INFO: GPS data processed {"connection_id":129094,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:44:41] local.INFO: Acknowledgment sent {"connection_id":129094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:45:08] local.INFO: TCP Data received {"connection_id":128917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:45:08] local.INFO: Processing buffer {"connection_id":128917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:45:08] local.INFO: IMEI packet received {"connection_id":128917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":128917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:45:13] local.INFO: TCP Data received {"connection_id":128917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:45:13] local.INFO: Processing buffer {"connection_id":128917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:45:13] local.INFO: IMEI packet received {"connection_id":128917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":128917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:45:15] local.INFO: TCP Data received {"connection_id":128917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f522abf28012d05c78006f9d980000e006123..."} 
[2026-07-11 22:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522abf28012d05c78006f9d980000e006123..."} 
[2026-07-11 22:45:15] local.INFO: Processing buffer {"connection_id":128917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522abf28012d05c78006f9d980000e006123..."} 
[2026-07-11 22:45:15] local.INFO: Packet analysis {"connection_id":128917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522a"} 
[2026-07-11 22:45:15] local.INFO: Extracted packet for processing {"connection_id":128917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522a"} 
[2026-07-11 22:45:15] local.INFO: GPS Element Parsed {"raw_longitude":755353472,"raw_latitude":117037440,"longitude_deg":75.5353472,"latitude_deg":11.703744,"altitude":14,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d05c780","hex_latitude":"06f9d980","is_valid_coordinates":true} 
[2026-07-11 22:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650152960001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791313104338944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958972416,"note":"Value kept but may cause issues"} 
[2026-07-11 22:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783789961000,"timestamp_ms":1783789961000,"timestamp_seconds":1783789961,"priority":1,"record_length":96,"hex_timestamp":"0000019f522abf28"} 
[2026-07-11 22:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 22:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650152960001,"66":26310,"3":206,"94":11008,"24":0,"16":345791313104338944,"45":413979351958972416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650152960001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:45:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:45:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791313104338944,"km_value":345791313104338.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958972416,"description":"Unknown IO ID 45"} 
[2026-07-11 22:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650152960001,"power":26310,"unknown_3":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":413979351958972416}} 
[2026-07-11 22:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":128917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:45:15] local.INFO: GPS data processed {"connection_id":128917,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:45:15] local.INFO: Acknowledgment sent {"connection_id":128917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:45:19] local.INFO: TCP Data received {"connection_id":128917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f522abf28012d05c78006f9d980000e006123..."} 
[2026-07-11 22:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522abf28012d05c78006f9d980000e006123..."} 
[2026-07-11 22:45:19] local.INFO: Processing buffer {"connection_id":128917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522abf28012d05c78006f9d980000e006123..."} 
[2026-07-11 22:45:19] local.INFO: Packet analysis {"connection_id":128917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522a"} 
[2026-07-11 22:45:19] local.INFO: Extracted packet for processing {"connection_id":128917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522a"} 
[2026-07-11 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":755353472,"raw_latitude":117037440,"longitude_deg":75.5353472,"latitude_deg":11.703744,"altitude":14,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d05c780","hex_latitude":"06f9d980","is_valid_coordinates":true} 
[2026-07-11 22:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650152960001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791313104338944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958972416,"note":"Value kept but may cause issues"} 
[2026-07-11 22:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783789961000,"timestamp_ms":1783789961000,"timestamp_seconds":1783789961,"priority":1,"record_length":96,"hex_timestamp":"0000019f522abf28"} 
[2026-07-11 22:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-11 22:45:19] 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-07-11 22:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650152960001,"66":26310,"3":206,"94":11008,"24":0,"16":345791313104338944,"45":413979351958972416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650152960001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:45:19] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:45:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791313104338944,"km_value":345791313104338.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958972416,"description":"Unknown IO ID 45"} 
[2026-07-11 22:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650152960001,"power":26310,"unknown_3":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":413979351958972416}} 
[2026-07-11 22:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":128917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:45:19] local.INFO: GPS data processed {"connection_id":128917,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:45:19] local.INFO: Acknowledgment sent {"connection_id":128917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:46:05] local.INFO: TCP Data received {"connection_id":129096,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:46:05] local.INFO: Processing buffer {"connection_id":129096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:46:05] local.INFO: IMEI packet received {"connection_id":129096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":129096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:46:08] local.INFO: TCP Data received {"connection_id":129096,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:46:08] local.INFO: Processing buffer {"connection_id":129096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:46:08] local.INFO: IMEI packet received {"connection_id":129096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":129096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:46:13] local.INFO: TCP Data received {"connection_id":129096,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:46:13] local.INFO: Processing buffer {"connection_id":129096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:46:13] local.INFO: IMEI packet received {"connection_id":129096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":129096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:46:15] local.INFO: TCP Data received {"connection_id":129096,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f522ce9d8012d05c78006f9d980000e006129..."} 
[2026-07-11 22:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522ce9d8012d05c78006f9d980000e006129..."} 
[2026-07-11 22:46:15] local.INFO: Processing buffer {"connection_id":129096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522ce9d8012d05c78006f9d980000e006129..."} 
[2026-07-11 22:46:15] local.INFO: Packet analysis {"connection_id":129096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522c"} 
[2026-07-11 22:46:15] local.INFO: Extracted packet for processing {"connection_id":129096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522c"} 
[2026-07-11 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":755353472,"raw_latitude":117037440,"longitude_deg":75.5353472,"latitude_deg":11.703744,"altitude":14,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d05c780","hex_latitude":"06f9d980","is_valid_coordinates":true} 
[2026-07-11 22:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650230016001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791313104338944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":416442258005000192,"note":"Value kept but may cause issues"} 
[2026-07-11 22:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783790103000,"timestamp_ms":1783790103000,"timestamp_seconds":1783790103,"priority":1,"record_length":96,"hex_timestamp":"0000019f522ce9d8"} 
[2026-07-11 22:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-11 22:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650230016001,"66":26158,"3":206,"94":11008,"24":0,"16":345791313104338944,"45":416442258005000192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650230016001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:46:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:46:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791313104338944,"km_value":345791313104338.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":416442258005000192,"description":"Unknown IO ID 45"} 
[2026-07-11 22:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650230016001,"power":26158,"unknown_3":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":416442258005000192}} 
[2026-07-11 22:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":129096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:46:15] local.INFO: GPS data processed {"connection_id":129096,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:46:15] local.INFO: Acknowledgment sent {"connection_id":129096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:46:19] local.INFO: TCP Data received {"connection_id":129096,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f522cf590012d05c5c006f9d0f8000e00762a..."} 
[2026-07-11 22:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522cf590012d05c5c006f9d0f8000e00762a..."} 
[2026-07-11 22:46:19] local.INFO: Processing buffer {"connection_id":129096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522cf590012d05c5c006f9d0f8000e00762a..."} 
[2026-07-11 22:46:19] local.INFO: Packet analysis {"connection_id":129096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522c"} 
[2026-07-11 22:46:19] local.INFO: Extracted packet for processing {"connection_id":129096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522c"} 
[2026-07-11 22:46:19] local.INFO: GPS Element Parsed {"raw_longitude":755353024,"raw_latitude":117035256,"longitude_deg":75.5353024,"latitude_deg":11.7035256,"altitude":14,"angle":118,"satellites":42,"speed":0,"hex_longitude":"2d05c5c0","hex_latitude":"06f9d0f8","is_valid_coordinates":true} 
[2026-07-11 22:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650266368001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791313104338944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":416442258005000192,"note":"Value kept but may cause issues"} 
[2026-07-11 22:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783790106000,"timestamp_ms":1783790106000,"timestamp_seconds":1783790106,"priority":1,"record_length":96,"hex_timestamp":"0000019f522cf590"} 
[2026-07-11 22:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:46: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-07-11 22: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-11 22:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650266368001,"66":26006,"3":206,"94":11008,"24":0,"16":345791313104338944,"45":416442258005000192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650266368001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:46:19] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:46:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791313104338944,"km_value":345791313104338.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":416442258005000192,"description":"Unknown IO ID 45"} 
[2026-07-11 22:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650266368001,"power":26006,"unknown_3":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":416442258005000192}} 
[2026-07-11 22:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":129096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:46:19] local.INFO: GPS data processed {"connection_id":129096,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:46:19] local.INFO: Acknowledgment sent {"connection_id":129096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:46:24] local.INFO: TCP Data received {"connection_id":129095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:46:24] local.INFO: Processing buffer {"connection_id":129095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:46:24] local.INFO: IMEI packet received {"connection_id":129095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":129095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:46:44] local.INFO: TCP Data received {"connection_id":131093,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:46:44] local.INFO: Processing buffer {"connection_id":131093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:46:44] local.INFO: IMEI packet received {"connection_id":131093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":131093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:47:04] local.INFO: TCP Data received {"connection_id":128918,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:47:04] local.INFO: Processing buffer {"connection_id":128918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:47:04] local.INFO: IMEI packet received {"connection_id":128918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:47:05] local.INFO: TCP Data received {"connection_id":128918,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128918,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 22:47:05] local.INFO: Processing buffer {"connection_id":128918,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 22:47:05] local.INFO: IMEI packet received {"connection_id":128918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:47:08] local.INFO: TCP Data received {"connection_id":128918,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:47:08] local.INFO: Processing buffer {"connection_id":128918,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-11 22:47:08] local.INFO: IMEI packet received {"connection_id":128918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":128918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:47:10] local.INFO: TCP Data received {"connection_id":128918,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f522d4798012d05c5c006f9d0f8000e00762b..."} 
[2026-07-11 22:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522d4798012d05c5c006f9d0f8000e00762b..."} 
[2026-07-11 22:47:10] local.INFO: Processing buffer {"connection_id":128918,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f52..."} 
[2026-07-11 22:47:10] local.INFO: IMEI packet received {"connection_id":128918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":128918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:47:13] local.INFO: TCP Data received {"connection_id":128918,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f522d99a0012d05c5c006f9d0f8000e007629..."} 
[2026-07-11 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522d99a0012d05c5c006f9d0f8000e007629..."} 
[2026-07-11 22:47:13] local.INFO: Processing buffer {"connection_id":128918,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f522d4798012d05c5c006f9d0f8000e00762b..."} 
[2026-07-11 22:47:13] local.INFO: Packet analysis {"connection_id":128918,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f522d"} 
[2026-07-11 22:47:13] local.INFO: Extracted packet for processing {"connection_id":128918,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522d"} 
[2026-07-11 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":755353024,"raw_latitude":117035256,"longitude_deg":75.5353024,"latitude_deg":11.7035256,"altitude":14,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d05c5c0","hex_latitude":"06f9d0f8","is_valid_coordinates":true} 
[2026-07-11 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650267136001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791313104338944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415949676795197440,"note":"Value kept but may cause issues"} 
[2026-07-11 22:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783790127000,"timestamp_ms":1783790127000,"timestamp_seconds":1783790127,"priority":1,"record_length":96,"hex_timestamp":"0000019f522d4798"} 
[2026-07-11 22:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-11 22:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650267136001,"66":26658,"3":206,"94":11008,"24":0,"16":345791313104338944,"45":415949676795197440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650267136001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:47:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:47:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791313104338944,"km_value":345791313104338.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":415949676795197440,"description":"Unknown IO ID 45"} 
[2026-07-11 22:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650267136001,"power":26658,"unknown_3":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":415949676795197440}} 
[2026-07-11 22:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":128918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:47:13] local.INFO: GPS data processed {"connection_id":128918,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:47:13] local.INFO: Acknowledgment sent {"connection_id":128918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:47:13] local.INFO: Packet analysis {"connection_id":128918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522d"} 
[2026-07-11 22:47:13] local.INFO: Extracted packet for processing {"connection_id":128918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522d"} 
[2026-07-11 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":755353024,"raw_latitude":117035256,"longitude_deg":75.5353024,"latitude_deg":11.7035256,"altitude":14,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d05c5c0","hex_latitude":"06f9d0f8","is_valid_coordinates":true} 
[2026-07-11 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650272512001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791313104338944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415949676795197440,"note":"Value kept but may cause issues"} 
[2026-07-11 22:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783790148000,"timestamp_ms":1783790148000,"timestamp_seconds":1783790148,"priority":1,"record_length":96,"hex_timestamp":"0000019f522d99a0"} 
[2026-07-11 22:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-11 22:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650272512001,"66":27343,"3":206,"94":11008,"24":0,"16":345791313104338944,"45":415949676795197440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650272512001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:47:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:47:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791313104338944,"km_value":345791313104338.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":415949676795197440,"description":"Unknown IO ID 45"} 
[2026-07-11 22:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650272512001,"power":27343,"unknown_3":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":415949676795197440}} 
[2026-07-11 22:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":128918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:47:13] local.INFO: GPS data processed {"connection_id":128918,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:47:13] local.INFO: Acknowledgment sent {"connection_id":128918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:47:18] local.INFO: TCP Data received {"connection_id":128918,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f522dd050012d05c44006f9d008001801122c..."} 
[2026-07-11 22:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522dd050012d05c44006f9d008001801122c..."} 
[2026-07-11 22:47:18] local.INFO: Processing buffer {"connection_id":128918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522dd050012d05c44006f9d008001801122c..."} 
[2026-07-11 22:47:18] local.INFO: Packet analysis {"connection_id":128918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522d"} 
[2026-07-11 22:47:18] local.INFO: Extracted packet for processing {"connection_id":128918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522d"} 
[2026-07-11 22:47:18] local.INFO: GPS Element Parsed {"raw_longitude":755352640,"raw_latitude":117035016,"longitude_deg":75.535264,"latitude_deg":11.7035016,"altitude":24,"angle":274,"satellites":44,"speed":4,"hex_longitude":"2d05c440","hex_latitude":"06f9d008","is_valid_coordinates":true} 
[2026-07-11 22:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650277888001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345791334579175424,"note":"Value kept but may cause issues"} 
[2026-07-11 22:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415949676795197440,"note":"Value kept but may cause issues"} 
[2026-07-11 22:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783790162000,"timestamp_ms":1783790162000,"timestamp_seconds":1783790162,"priority":1,"record_length":96,"hex_timestamp":"0000019f522dd050"} 
[2026-07-11 22:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:47:18] 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-07-11 22:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650277888001,"66":27300,"3":206,"94":11008,"24":4,"16":345791334579175424,"45":415949676795197440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,45]} 
[2026-07-11 22:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650277888001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:47:18] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-11 22:47:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345791334579175424,"km_value":345791334579175.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":415949676795197440,"description":"Unknown IO ID 45"} 
[2026-07-11 22:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650277888001,"power":27300,"unknown_3":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":415949676795197440}} 
[2026-07-11 22:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":128918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:47:18] local.INFO: GPS data processed {"connection_id":128918,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:47:18] local.INFO: Acknowledgment sent {"connection_id":128918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:48:03] local.INFO: TCP Data received {"connection_id":129827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:48:03] local.INFO: Processing buffer {"connection_id":129827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:48:03] local.INFO: IMEI packet received {"connection_id":129827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":129827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:48:04] local.INFO: TCP Data received {"connection_id":129827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:48:04] local.INFO: Processing buffer {"connection_id":129827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:48:04] local.INFO: IMEI packet received {"connection_id":129827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":129827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:48:08] local.INFO: TCP Data received {"connection_id":129827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:48:08] local.INFO: Processing buffer {"connection_id":129827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:48:08] local.INFO: IMEI packet received {"connection_id":129827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":129827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:48:09] local.INFO: TCP Data received {"connection_id":129827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f522e68a8012d05a60006f9a9a8001100b92d..."} 
[2026-07-11 22:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522e68a8012d05a60006f9a9a8001100b92d..."} 
[2026-07-11 22:48:09] local.INFO: Processing buffer {"connection_id":129827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522e68a8012d05a60006f9a9a8001100b92d..."} 
[2026-07-11 22:48:09] local.INFO: Packet analysis {"connection_id":129827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522e"} 
[2026-07-11 22:48:09] local.INFO: Extracted packet for processing {"connection_id":129827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522e"} 
[2026-07-11 22:48:09] local.INFO: GPS Element Parsed {"raw_longitude":755344896,"raw_latitude":117025192,"longitude_deg":75.5344896,"latitude_deg":11.7025192,"altitude":17,"angle":185,"satellites":45,"speed":22,"hex_longitude":"2d05a600","hex_latitude":"06f9a9a8","is_valid_coordinates":true} 
[2026-07-11 22:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650290944001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345792030363877376,"note":"Value kept but may cause issues"} 
[2026-07-11 22:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":407294321259053056,"note":"Value kept but may cause issues"} 
[2026-07-11 22:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783790201000,"timestamp_ms":1783790201000,"timestamp_seconds":1783790201,"priority":1,"record_length":96,"hex_timestamp":"0000019f522e68a8"} 
[2026-07-11 22:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:48:09] 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-07-11 22:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 22:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650290944001,"66":27300,"5":206,"94":11008,"24":22,"16":345792030363877376,"45":407294321259053056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-07-11 22:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650290944001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:48:09] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-11 22:48:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345792030363877376,"km_value":345792030363877.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":407294321259053056,"description":"Unknown IO ID 45"} 
[2026-07-11 22:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650290944001,"power":27300,"unknown_5":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":407294321259053056}} 
[2026-07-11 22:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":129827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:48:09] local.INFO: GPS data processed {"connection_id":129827,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:48:09] local.INFO: Acknowledgment sent {"connection_id":129827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:48:57] local.INFO: TCP Data received {"connection_id":129827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f522e9f58012d05a28006f98648001300b82b..."} 
[2026-07-11 22:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522e9f58012d05a28006f98648001300b82b..."} 
[2026-07-11 22:48:57] local.INFO: Processing buffer {"connection_id":129827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522e9f58012d05a28006f98648001300b82b..."} 
[2026-07-11 22:48:57] local.INFO: Packet analysis {"connection_id":129827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522e"} 
[2026-07-11 22:48:57] local.INFO: Extracted packet for processing {"connection_id":129827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522e"} 
[2026-07-11 22:48:57] local.INFO: GPS Element Parsed {"raw_longitude":755344000,"raw_latitude":117016136,"longitude_deg":75.5344,"latitude_deg":11.7016136,"altitude":19,"angle":184,"satellites":43,"speed":28,"hex_longitude":"2d05a280","hex_latitude":"06f98648","is_valid_coordinates":true} 
[2026-07-11 22:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650291456001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345792472745508864,"note":"Value kept but may cause issues"} 
[2026-07-11 22:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":407012846282057728,"note":"Value kept but may cause issues"} 
[2026-07-11 22:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783790215000,"timestamp_ms":1783790215000,"timestamp_seconds":1783790215,"priority":1,"record_length":96,"hex_timestamp":"0000019f522e9f58"} 
[2026-07-11 22:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:48: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-07-11 22:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 22:48:57] 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-07-11 22:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":129827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":129827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":129827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650291456001,"66":27245,"5":206,"94":11008,"24":28,"16":345792472745508864,"45":407012846282057728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-07-11 22:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650291456001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:48:57] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-11 22:48:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345792472745508864,"km_value":345792472745508.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":407012846282057728,"description":"Unknown IO ID 45"} 
[2026-07-11 22:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650291456001,"power":27245,"unknown_5":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":407012846282057728}} 
[2026-07-11 22:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":129827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:48:57] local.INFO: GPS data processed {"connection_id":129827,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:48:57] local.INFO: Acknowledgment sent {"connection_id":129827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:49:03] local.INFO: TCP Data received {"connection_id":131096,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:49:03] local.INFO: Processing buffer {"connection_id":131096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:49:03] local.INFO: IMEI packet received {"connection_id":131096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":131096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:49:08] local.INFO: TCP Data received {"connection_id":131096,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:49:08] local.INFO: Processing buffer {"connection_id":131096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:49:08] local.INFO: IMEI packet received {"connection_id":131096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":131096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:49:10] local.INFO: TCP Data received {"connection_id":131096,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f522ed9f0012d059fc006f96390001800bb2c..."} 
[2026-07-11 22:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522ed9f0012d059fc006f96390001800bb2c..."} 
[2026-07-11 22:49:10] local.INFO: Processing buffer {"connection_id":131096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522ed9f0012d059fc006f96390001800bb2c..."} 
[2026-07-11 22:49:10] local.INFO: Packet analysis {"connection_id":131096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522e"} 
[2026-07-11 22:49:10] local.INFO: Extracted packet for processing {"connection_id":131096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522e"} 
[2026-07-11 22:49:10] local.INFO: GPS Element Parsed {"raw_longitude":755343296,"raw_latitude":117007248,"longitude_deg":75.5343296,"latitude_deg":11.7007248,"altitude":24,"angle":187,"satellites":44,"speed":14,"hex_longitude":"2d059fc0","hex_latitude":"06f96390","is_valid_coordinates":true} 
[2026-07-11 22:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650295040001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345792906537205760,"note":"Value kept but may cause issues"} 
[2026-07-11 22:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":406027683861252096,"note":"Value kept but may cause issues"} 
[2026-07-11 22:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783790230000,"timestamp_ms":1783790230000,"timestamp_seconds":1783790230,"priority":1,"record_length":96,"hex_timestamp":"0000019f522ed9f0"} 
[2026-07-11 22:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 22:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650295040001,"66":27267,"5":206,"94":11008,"24":14,"16":345792906537205760,"45":406027683861252096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-07-11 22:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650295040001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:49:10] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-11 22:49:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345792906537205760,"km_value":345792906537205.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":406027683861252096,"description":"Unknown IO ID 45"} 
[2026-07-11 22:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650295040001,"power":27267,"unknown_5":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":406027683861252096}} 
[2026-07-11 22:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":131096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:49:10] local.INFO: GPS data processed {"connection_id":131096,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:49:10] local.INFO: Acknowledgment sent {"connection_id":131096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:49:43] local.INFO: TCP Data received {"connection_id":131096,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f522efd18012d059f8006f95370001a00ae2d..."} 
[2026-07-11 22:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f522efd18012d059f8006f95370001a00ae2d..."} 
[2026-07-11 22:49:43] local.INFO: Processing buffer {"connection_id":131096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f522efd18012d059f8006f95370001a00ae2d..."} 
[2026-07-11 22:49:43] local.INFO: Packet analysis {"connection_id":131096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f522e"} 
[2026-07-11 22:49:43] local.INFO: Extracted packet for processing {"connection_id":131096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f522e"} 
[2026-07-11 22:49:43] local.INFO: GPS Element Parsed {"raw_longitude":755343232,"raw_latitude":117003120,"longitude_deg":75.5343232,"latitude_deg":11.700312,"altitude":26,"angle":174,"satellites":45,"speed":19,"hex_longitude":"2d059f80","hex_latitude":"06f95370","is_valid_coordinates":true} 
[2026-07-11 22:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650298880001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345793108400668672,"note":"Value kept but may cause issues"} 
[2026-07-11 22:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":405253627673022464,"note":"Value kept but may cause issues"} 
[2026-07-11 22:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783790239000,"timestamp_ms":1783790239000,"timestamp_seconds":1783790239,"priority":1,"record_length":96,"hex_timestamp":"0000019f522efd18"} 
[2026-07-11 22:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650298880001,"66":27180,"4":206,"94":11008,"24":19,"16":345793108400668672,"45":405253627673022464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,94,24,16,45]} 
[2026-07-11 22:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650298880001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:49:43] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-11 22:49:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-11 22:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345793108400668672,"km_value":345793108400668.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":405253627673022464,"description":"Unknown IO ID 45"} 
[2026-07-11 22:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650298880001,"power":27180,"unknown_4":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":405253627673022464}} 
[2026-07-11 22:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":131096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:49:43] local.INFO: GPS data processed {"connection_id":131096,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:49:43] local.INFO: Acknowledgment sent {"connection_id":131096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:50:04] local.INFO: TCP Data received {"connection_id":129829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:50:04] local.INFO: Processing buffer {"connection_id":129829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:50:04] local.INFO: IMEI packet received {"connection_id":129829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":129829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:50:05] local.INFO: TCP Data received {"connection_id":129829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:50:05] local.INFO: Processing buffer {"connection_id":129829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:50:05] local.INFO: IMEI packet received {"connection_id":129829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":129829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:50:08] local.INFO: TCP Data received {"connection_id":129829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:50:08] local.INFO: Processing buffer {"connection_id":129829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:50:08] local.INFO: IMEI packet received {"connection_id":129829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":129829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:50:09] local.INFO: TCP Data received {"connection_id":129829,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52308b88012d064a4006f82770000800892f..."} 
[2026-07-11 22:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52308b88012d064a4006f82770000800892f..."} 
[2026-07-11 22:50:09] local.INFO: Processing buffer {"connection_id":129829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52308b88012d064a4006f82770000800892f..."} 
[2026-07-11 22:50:09] local.INFO: Packet analysis {"connection_id":129829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5230"} 
[2026-07-11 22:50:09] local.INFO: Extracted packet for processing {"connection_id":129829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5230"} 
[2026-07-11 22:50:09] local.INFO: GPS Element Parsed {"raw_longitude":755386944,"raw_latitude":116926320,"longitude_deg":75.5386944,"latitude_deg":11.692632,"altitude":8,"angle":137,"satellites":47,"speed":39,"hex_longitude":"2d064a40","hex_latitude":"06f82770","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650324992001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345797502152212480,"note":"Value kept but may cause issues"} 
[2026-07-11 22:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":446419342997970944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783790341000,"timestamp_ms":1783790341000,"timestamp_seconds":1783790341,"priority":1,"record_length":96,"hex_timestamp":"0000019f52308b88"} 
[2026-07-11 22:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:50:09] 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-07-11 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 22:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650324992001,"66":27267,"14":206,"80":6400,"24":39,"16":345797502152212480,"45":446419342997970944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,80,24,16,45]} 
[2026-07-11 22:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650324992001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:50:09] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-11 22:50:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345797502152212480,"km_value":345797502152212.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":446419342997970944,"description":"Unknown IO ID 45"} 
[2026-07-11 22:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650324992001,"power":27267,"unknown_14":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":446419342997970944}} 
[2026-07-11 22:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":129829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:50:09] local.INFO: GPS data processed {"connection_id":129829,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:50:09] local.INFO: Acknowledgment sent {"connection_id":129829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:50:40] local.INFO: TCP Data received {"connection_id":129829,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5230aeb0012d06624006f80d58000800892c..."} 
[2026-07-11 22:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5230aeb0012d06624006f80d58000800892c..."} 
[2026-07-11 22:50:40] local.INFO: Processing buffer {"connection_id":129829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5230aeb0012d06624006f80d58000800892c..."} 
[2026-07-11 22:50:40] local.INFO: Packet analysis {"connection_id":129829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5230"} 
[2026-07-11 22:50:40] local.INFO: Extracted packet for processing {"connection_id":129829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5230"} 
[2026-07-11 22:50:40] local.INFO: GPS Element Parsed {"raw_longitude":755393088,"raw_latitude":116919640,"longitude_deg":75.5393088,"latitude_deg":11.691964,"altitude":8,"angle":137,"satellites":44,"speed":38,"hex_longitude":"2d066240","hex_latitude":"06f80d58","is_valid_coordinates":true} 
[2026-07-11 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-07-11 22:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650327296001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345797935943909376,"note":"Value kept but may cause issues"} 
[2026-07-11 22:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":453245111181471744,"note":"Value kept but may cause issues"} 
[2026-07-11 22:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783790350000,"timestamp_ms":1783790350000,"timestamp_seconds":1783790350,"priority":1,"record_length":96,"hex_timestamp":"0000019f5230aeb0"} 
[2026-07-11 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-07-11 22:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 22:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650327296001,"66":27267,"14":206,"80":6400,"24":38,"16":345797935943909376,"45":453245111181471744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,80,24,16,45]} 
[2026-07-11 22:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650327296001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:50:40] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-11 22:50:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345797935943909376,"km_value":345797935943909.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":453245111181471744,"description":"Unknown IO ID 45"} 
[2026-07-11 22:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650327296001,"power":27267,"unknown_14":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":453245111181471744}} 
[2026-07-11 22:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":129829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:50:40] local.INFO: GPS data processed {"connection_id":129829,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:50:40] local.INFO: Acknowledgment sent {"connection_id":129829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:51:03] local.INFO: TCP Data received {"connection_id":131097,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:51:03] local.INFO: Processing buffer {"connection_id":131097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:51:03] local.INFO: IMEI packet received {"connection_id":131097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":131097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:51:03] local.INFO: TCP Data received {"connection_id":131097,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:51:03] local.INFO: Processing buffer {"connection_id":131097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:51:03] local.INFO: IMEI packet received {"connection_id":131097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":131097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:51:08] local.INFO: TCP Data received {"connection_id":131097,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:51:08] local.INFO: Processing buffer {"connection_id":131097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:51:08] local.INFO: IMEI packet received {"connection_id":131097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":131097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:51:09] local.INFO: TCP Data received {"connection_id":131097,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5230d1d8012d067b8006f7f2000007008a2f..."} 
[2026-07-11 22:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5230d1d8012d067b8006f7f2000007008a2f..."} 
[2026-07-11 22:51:09] local.INFO: Processing buffer {"connection_id":131097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5230d1d8012d067b8006f7f2000007008a2f..."} 
[2026-07-11 22:51:09] local.INFO: Packet analysis {"connection_id":131097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5230"} 
[2026-07-11 22:51:09] local.INFO: Extracted packet for processing {"connection_id":131097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5230"} 
[2026-07-11 22:51:09] local.INFO: GPS Element Parsed {"raw_longitude":755399552,"raw_latitude":116912640,"longitude_deg":75.5399552,"latitude_deg":11.691264,"altitude":7,"angle":138,"satellites":47,"speed":43,"hex_longitude":"2d067b80","hex_latitude":"06f7f200","is_valid_coordinates":true} 
[2026-07-11 22:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650329600001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345798395505410048,"note":"Value kept but may cause issues"} 
[2026-07-11 22:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":460000510620817408,"note":"Value kept but may cause issues"} 
[2026-07-11 22:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783790359000,"timestamp_ms":1783790359000,"timestamp_seconds":1783790359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5230d1d8"} 
[2026-07-11 22:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:51:09] 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-07-11 22:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650329600001,"66":27365,"14":206,"80":6400,"24":43,"16":345798395505410048,"45":460000510620817408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,80,24,16,45]} 
[2026-07-11 22:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650329600001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:51:09] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-11 22:51:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345798395505410048,"km_value":345798395505410.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":460000510620817408,"description":"Unknown IO ID 45"} 
[2026-07-11 22:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650329600001,"power":27365,"unknown_14":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":460000510620817408}} 
[2026-07-11 22:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":131097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:51:09] local.INFO: GPS data processed {"connection_id":131097,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:51:09] local.INFO: Acknowledgment sent {"connection_id":131097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:51:41] local.INFO: TCP Data received {"connection_id":131097,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5230f118012d06930006f7d7b80007008a2f..."} 
[2026-07-11 22:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5230f118012d06930006f7d7b80007008a2f..."} 
[2026-07-11 22:51:41] local.INFO: Processing buffer {"connection_id":131097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5230f118012d06930006f7d7b80007008a2f..."} 
[2026-07-11 22:51:41] local.INFO: Packet analysis {"connection_id":131097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5230"} 
[2026-07-11 22:51:41] local.INFO: Extracted packet for processing {"connection_id":131097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5230"} 
[2026-07-11 22:51:41] local.INFO: GPS Element Parsed {"raw_longitude":755405568,"raw_latitude":116905912,"longitude_deg":75.5405568,"latitude_deg":11.6905912,"altitude":7,"angle":138,"satellites":47,"speed":45,"hex_longitude":"2d069300","hex_latitude":"06f7d7b8","is_valid_coordinates":true} 
[2026-07-11 22:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650331904001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345798829297106944,"note":"Value kept but may cause issues"} 
[2026-07-11 22:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":467107753780969472,"note":"Value kept but may cause issues"} 
[2026-07-11 22:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783790367000,"timestamp_ms":1783790367000,"timestamp_seconds":1783790367,"priority":1,"record_length":96,"hex_timestamp":"0000019f5230f118"} 
[2026-07-11 22:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 22:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650331904001,"66":27234,"41":206,"80":6400,"24":45,"16":345798829297106944,"45":467107753780969472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-07-11 22:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650331904001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:51:41] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-11 22:51:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345798829297106944,"km_value":345798829297106.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":467107753780969472,"description":"Unknown IO ID 45"} 
[2026-07-11 22:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650331904001,"power":27234,"unknown_41":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":467107753780969472}} 
[2026-07-11 22:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":131097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:51:41] local.INFO: GPS data processed {"connection_id":131097,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:51:41] local.INFO: Acknowledgment sent {"connection_id":131097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:52:03] local.INFO: TCP Data received {"connection_id":128921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:52:03] local.INFO: Processing buffer {"connection_id":128921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:52:03] local.INFO: IMEI packet received {"connection_id":128921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":128921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:52:08] local.INFO: TCP Data received {"connection_id":128921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:52:08] local.INFO: Processing buffer {"connection_id":128921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:52:08] local.INFO: IMEI packet received {"connection_id":128921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":128921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:52:09] local.INFO: TCP Data received {"connection_id":128921,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523273d0012d075e8006f6e968000b00522c..."} 
[2026-07-11 22:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523273d0012d075e8006f6e968000b00522c..."} 
[2026-07-11 22:52:09] local.INFO: Processing buffer {"connection_id":128921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523273d0012d075e8006f6e968000b00522c..."} 
[2026-07-11 22:52:09] local.INFO: Packet analysis {"connection_id":128921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:52:09] local.INFO: Extracted packet for processing {"connection_id":128921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:52:09] local.INFO: GPS Element Parsed {"raw_longitude":755457664,"raw_latitude":116844904,"longitude_deg":75.5457664,"latitude_deg":11.6844904,"altitude":11,"angle":82,"satellites":44,"speed":14,"hex_longitude":"2d075e80","hex_latitude":"06f6e968","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650359040001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345802694767673344,"note":"Value kept but may cause issues"} 
[2026-07-11 22:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":530721098500247552,"note":"Value kept but may cause issues"} 
[2026-07-11 22:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783790466000,"timestamp_ms":1783790466000,"timestamp_seconds":1783790466,"priority":1,"record_length":96,"hex_timestamp":"0000019f523273d0"} 
[2026-07-11 22:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:52:09] 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-07-11 22:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 22:52:09] 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-07-11 22: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-07-11 22:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650359040001,"66":26723,"11":206,"80":6400,"24":14,"16":345802694767673344,"45":530721098500247552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-11 22:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650359040001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:52:09] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-11 22:52:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345802694767673344,"km_value":345802694767673.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":530721098500247552,"description":"Unknown IO ID 45"} 
[2026-07-11 22:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650359040001,"power":26723,"unknown_11":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":530721098500247552}} 
[2026-07-11 22:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":128921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:52:09] local.INFO: GPS data processed {"connection_id":128921,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:52:09] local.INFO: Acknowledgment sent {"connection_id":128921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:52:12] local.INFO: TCP Data received {"connection_id":128920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:52:12] local.INFO: Processing buffer {"connection_id":128920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:52:12] local.INFO: IMEI packet received {"connection_id":128920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":128920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:52:40] local.INFO: TCP Data received {"connection_id":128921,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52328370012d07630006f6eab0000c003729..."} 
[2026-07-11 22:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52328370012d07630006f6eab0000c003729..."} 
[2026-07-11 22:52:40] local.INFO: Processing buffer {"connection_id":128921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52328370012d07630006f6eab0000c003729..."} 
[2026-07-11 22:52:40] local.INFO: Packet analysis {"connection_id":128921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:52:40] local.INFO: Extracted packet for processing {"connection_id":128921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:52:40] local.INFO: GPS Element Parsed {"raw_longitude":755458816,"raw_latitude":116845232,"longitude_deg":75.5458816,"latitude_deg":11.6845232,"altitude":12,"angle":55,"satellites":41,"speed":10,"hex_longitude":"2d076300","hex_latitude":"06f6eab0","is_valid_coordinates":true} 
[2026-07-11 22:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650359296001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345802754897215488,"note":"Value kept but may cause issues"} 
[2026-07-11 22:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":531002573476947968,"note":"Value kept but may cause issues"} 
[2026-07-11 22:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783790470000,"timestamp_ms":1783790470000,"timestamp_seconds":1783790470,"priority":1,"record_length":96,"hex_timestamp":"0000019f52328370"} 
[2026-07-11 22:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-07-11 22:52: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-07-11 22:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650359296001,"66":27332,"11":206,"80":6400,"24":10,"16":345802754897215488,"45":531002573476947968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-11 22:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650359296001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:52:40] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-11 22:52:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345802754897215488,"km_value":345802754897215.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":531002573476947968,"description":"Unknown IO ID 45"} 
[2026-07-11 22:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650359296001,"power":27332,"unknown_11":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":531002573476947968}} 
[2026-07-11 22:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":128921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:52:40] local.INFO: GPS data processed {"connection_id":128921,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:52:40] local.INFO: Acknowledgment sent {"connection_id":128921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:52:44] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:52:44] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:52:44] local.INFO: IMEI packet received {"connection_id":128922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":128922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:52:49] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:52:49] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:52:49] local.INFO: IMEI packet received {"connection_id":128922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-11 22:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":128922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:52:55] local.INFO: TCP Data received {"connection_id":128922,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5214a300012cb29c0007823cc8004600c225..."} 
[2026-07-11 22:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5214a300012cb29c0007823cc8004600c225..."} 
[2026-07-11 22:52:55] local.INFO: Processing buffer {"connection_id":128922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5214a300012cb29c0007823cc8004600c225..."} 
[2026-07-11 22:52:55] local.INFO: Packet analysis {"connection_id":128922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5214"} 
[2026-07-11 22:52:55] local.INFO: Extracted packet for processing {"connection_id":128922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5214"} 
[2026-07-11 22:52:55] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975752,"longitude_deg":74.9902848,"latitude_deg":12.5975752,"altitude":70,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823cc8","is_valid_coordinates":true} 
[2026-07-11 22:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456649782016001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-11 22:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341724160,"note":"Value kept but may cause issues"} 
[2026-07-11 22:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783788512000,"timestamp_ms":1783788512000,"timestamp_seconds":1783788512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5214a300"} 
[2026-07-11 22:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-11 22:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-11 22:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":128922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":128922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 22:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":128922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-11 22:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-11 22:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-11 22:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456649782016001,"66":25647,"183":206,"85":36096,"24":0,"16":135462516896563200,"44":-5576582206341724160},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-11 22:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-11 22:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-11 22:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456649782016001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:52:55] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-11 22:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-11 22:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341724160,"description":"Unknown IO ID 44"} 
[2026-07-11 22:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456649782016001,"power":25647,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341724160}} 
[2026-07-11 22:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":128922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:52:55] local.INFO: GPS data processed {"connection_id":128922,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:52:55] local.INFO: Acknowledgment sent {"connection_id":128922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:53:08] local.INFO: TCP Data received {"connection_id":129097,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:53:08] local.INFO: Processing buffer {"connection_id":129097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:53:08] local.INFO: IMEI packet received {"connection_id":129097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":129097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:53:11] local.INFO: TCP Data received {"connection_id":129097,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:53:11] local.INFO: Processing buffer {"connection_id":129097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:53:11] local.INFO: IMEI packet received {"connection_id":129097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":129097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:53:14] local.INFO: TCP Data received {"connection_id":129097,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52328758012d07634006f6eb68000c002425..."} 
[2026-07-11 22:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52328758012d07634006f6eb68000c002425..."} 
[2026-07-11 22:53:14] local.INFO: Processing buffer {"connection_id":129097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52328758012d07634006f6eb68000c002425..."} 
[2026-07-11 22:53:14] local.INFO: Packet analysis {"connection_id":129097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:53:14] local.INFO: Extracted packet for processing {"connection_id":129097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:53:14] local.INFO: GPS Element Parsed {"raw_longitude":755458880,"raw_latitude":116845416,"longitude_deg":75.545888,"latitude_deg":11.6845416,"altitude":12,"angle":36,"satellites":37,"speed":8,"hex_longitude":"2d076340","hex_latitude":"06f6eb68","is_valid_coordinates":true} 
[2026-07-11 22:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650360320001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345802763487150080,"note":"Value kept but may cause issues"} 
[2026-07-11 22:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":532269210872229888,"note":"Value kept but may cause issues"} 
[2026-07-11 22:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783790471000,"timestamp_ms":1783790471000,"timestamp_seconds":1783790471,"priority":1,"record_length":96,"hex_timestamp":"0000019f52328758"} 
[2026-07-11 22:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 22:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650360320001,"66":27332,"11":206,"80":6400,"24":8,"16":345802763487150080,"45":532269210872229888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-11 22:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650360320001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:53:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-11 22:53:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345802763487150080,"km_value":345802763487150.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":532269210872229888,"description":"Unknown IO ID 45"} 
[2026-07-11 22:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650360320001,"power":27332,"unknown_11":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":532269210872229888}} 
[2026-07-11 22:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":129097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:53:14] local.INFO: GPS data processed {"connection_id":129097,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:53:14] local.INFO: Acknowledgment sent {"connection_id":129097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:53:15] local.INFO: TCP Data received {"connection_id":129097,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52328f28012d0764c006f6ebf8000b004023..."} 
[2026-07-11 22:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52328f28012d0764c006f6ebf8000b004023..."} 
[2026-07-11 22:53:15] local.INFO: Processing buffer {"connection_id":129097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52328f28012d0764c006f6ebf8000b004023..."} 
[2026-07-11 22:53:15] local.INFO: Packet analysis {"connection_id":129097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:53:15] local.INFO: Extracted packet for processing {"connection_id":129097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:53:15] local.INFO: GPS Element Parsed {"raw_longitude":755459264,"raw_latitude":116845560,"longitude_deg":75.5459264,"latitude_deg":11.684556,"altitude":11,"angle":64,"satellites":35,"speed":6,"hex_longitude":"2d0764c0","hex_latitude":"06f6ebf8","is_valid_coordinates":true} 
[2026-07-11 22:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650360576001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345802780667019264,"note":"Value kept but may cause issues"} 
[2026-07-11 22:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":532339579616454656,"note":"Value kept but may cause issues"} 
[2026-07-11 22:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783790473000,"timestamp_ms":1783790473000,"timestamp_seconds":1783790473,"priority":1,"record_length":96,"hex_timestamp":"0000019f52328f28"} 
[2026-07-11 22:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 22:53:15] 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-07-11 22:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650360576001,"66":27267,"11":206,"80":6400,"24":6,"16":345802780667019264,"45":532339579616454656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-11 22:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650360576001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:53:15] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-11 22:53:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345802780667019264,"km_value":345802780667019.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":532339579616454656,"description":"Unknown IO ID 45"} 
[2026-07-11 22:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650360576001,"power":27267,"unknown_11":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":532339579616454656}} 
[2026-07-11 22:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":129097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:53:15] local.INFO: GPS data processed {"connection_id":129097,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:53:15] local.INFO: Acknowledgment sent {"connection_id":129097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:53:44] local.INFO: TCP Data received {"connection_id":129098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:53:44] local.INFO: Processing buffer {"connection_id":129098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:53:44] local.INFO: IMEI packet received {"connection_id":129098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":129098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:53:47] local.INFO: TCP Data received {"connection_id":129097,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52329310012d0765c006f6ec08000a006527..."} 
[2026-07-11 22:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52329310012d0765c006f6ec08000a006527..."} 
[2026-07-11 22:53:47] local.INFO: Processing buffer {"connection_id":129097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52329310012d0765c006f6ec08000a006527..."} 
[2026-07-11 22:53:47] local.INFO: Packet analysis {"connection_id":129097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:53:47] local.INFO: Extracted packet for processing {"connection_id":129097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:53:47] local.INFO: GPS Element Parsed {"raw_longitude":755459520,"raw_latitude":116845576,"longitude_deg":75.545952,"latitude_deg":11.6845576,"altitude":10,"angle":101,"satellites":39,"speed":6,"hex_longitude":"2d0765c0","hex_latitude":"06f6ec08","is_valid_coordinates":true} 
[2026-07-11 22:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650361088001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345802793551921152,"note":"Value kept but may cause issues"} 
[2026-07-11 22:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":532761792081557504,"note":"Value kept but may cause issues"} 
[2026-07-11 22:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783790474000,"timestamp_ms":1783790474000,"timestamp_seconds":1783790474,"priority":1,"record_length":96,"hex_timestamp":"0000019f52329310"} 
[2026-07-11 22:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:53:47] 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-07-11 22:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650361088001,"66":27365,"11":206,"80":6400,"24":6,"16":345802793551921152,"45":532761792081557504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-11 22:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650361088001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:53:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-11 22:53:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345802793551921152,"km_value":345802793551921.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":532761792081557504,"description":"Unknown IO ID 45"} 
[2026-07-11 22:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650361088001,"power":27365,"unknown_11":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":532761792081557504}} 
[2026-07-11 22:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":129097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:53:47] local.INFO: GPS data processed {"connection_id":129097,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:53:47] local.INFO: Acknowledgment sent {"connection_id":129097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:54:03] local.INFO: TCP Data received {"connection_id":129099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:54:03] local.INFO: Processing buffer {"connection_id":129099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:54:03] local.INFO: IMEI packet received {"connection_id":129099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":129099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:54:08] local.INFO: TCP Data received {"connection_id":129099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:54:08] local.INFO: Processing buffer {"connection_id":129099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:54:08] local.INFO: IMEI packet received {"connection_id":129099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":129099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:54:10] local.INFO: TCP Data received {"connection_id":129099,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523296f8012d07670006f6ebb8000a009129..."} 
[2026-07-11 22:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523296f8012d07670006f6ebb8000a009129..."} 
[2026-07-11 22:54:10] local.INFO: Processing buffer {"connection_id":129099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523296f8012d07670006f6ebb8000a009129..."} 
[2026-07-11 22:54:10] local.INFO: Packet analysis {"connection_id":129099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:54:10] local.INFO: Extracted packet for processing {"connection_id":129099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5232"} 
[2026-07-11 22:54:10] local.INFO: GPS Element Parsed {"raw_longitude":755459840,"raw_latitude":116845496,"longitude_deg":75.545984,"latitude_deg":11.6845496,"altitude":10,"angle":145,"satellites":41,"speed":7,"hex_longitude":"2d076700","hex_latitude":"06f6ebb8","is_valid_coordinates":true} 
[2026-07-11 22:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650361344001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345802806436823040,"note":"Value kept but may cause issues"} 
[2026-07-11 22:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":533043267058272256,"note":"Value kept but may cause issues"} 
[2026-07-11 22:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783790475000,"timestamp_ms":1783790475000,"timestamp_seconds":1783790475,"priority":1,"record_length":96,"hex_timestamp":"0000019f523296f8"} 
[2026-07-11 22:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 22:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":129099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":129099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":129099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650361344001,"66":27365,"11":206,"80":6400,"24":7,"16":345802806436823040,"45":533043267058272256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-11 22:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650361344001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:54:10] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-11 22:54:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345802806436823040,"km_value":345802806436823.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":533043267058272256,"description":"Unknown IO ID 45"} 
[2026-07-11 22:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650361344001,"power":27365,"unknown_11":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":533043267058272256}} 
[2026-07-11 22:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":129099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:54:10] local.INFO: GPS data processed {"connection_id":129099,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:54:10] local.INFO: Acknowledgment sent {"connection_id":129099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:54:41] local.INFO: TCP Data received {"connection_id":129099,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5234d530012d086d0006f5afd0001000902f..."} 
[2026-07-11 22:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5234d530012d086d0006f5afd0001000902f..."} 
[2026-07-11 22:54:41] local.INFO: Processing buffer {"connection_id":129099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5234d530012d086d0006f5afd0001000902f..."} 
[2026-07-11 22:54:41] local.INFO: Packet analysis {"connection_id":129099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5234"} 
[2026-07-11 22:54:41] local.INFO: Extracted packet for processing {"connection_id":129099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5234"} 
[2026-07-11 22:54:41] local.INFO: GPS Element Parsed {"raw_longitude":755526912,"raw_latitude":116764624,"longitude_deg":75.5526912,"latitude_deg":11.6764624,"altitude":16,"angle":144,"satellites":47,"speed":38,"hex_longitude":"2d086d00","hex_latitude":"06f5afd0","is_valid_coordinates":true} 
[2026-07-11 22:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650396672001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345807865908297728,"note":"Value kept but may cause issues"} 
[2026-07-11 22:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":601300948891742208,"note":"Value kept but may cause issues"} 
[2026-07-11 22:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783790622000,"timestamp_ms":1783790622000,"timestamp_seconds":1783790622,"priority":1,"record_length":96,"hex_timestamp":"0000019f5234d530"} 
[2026-07-11 22:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-11 22:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650396672001,"66":27267,"12":206,"80":6400,"24":38,"16":345807865908297728,"45":601300948891742208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-11 22:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650396672001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:54:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-11 22:54:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345807865908297728,"km_value":345807865908297.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":601300948891742208,"description":"Unknown IO ID 45"} 
[2026-07-11 22:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650396672001,"power":27267,"unknown_12":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":601300948891742208}} 
[2026-07-11 22:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":129099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:54:41] local.INFO: GPS data processed {"connection_id":129099,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:54:41] local.INFO: Acknowledgment sent {"connection_id":129099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:55:02] local.INFO: TCP Data received {"connection_id":129830,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:02] local.INFO: Processing buffer {"connection_id":129830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:02] local.INFO: IMEI packet received {"connection_id":129830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":129830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:55:03] local.INFO: TCP Data received {"connection_id":129830,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:03] local.INFO: Processing buffer {"connection_id":129830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:03] local.INFO: IMEI packet received {"connection_id":129830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":129830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:55:04] local.INFO: TCP Data received {"connection_id":129830,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:04] local.INFO: Processing buffer {"connection_id":129830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:04] local.INFO: IMEI packet received {"connection_id":129830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":129830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:55:08] local.INFO: TCP Data received {"connection_id":129830,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:08] local.INFO: Processing buffer {"connection_id":129830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:55:08] local.INFO: IMEI packet received {"connection_id":129830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":129830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:55:09] local.INFO: TCP Data received {"connection_id":129830,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5234f858012d08824006f591a8000e00902e..."} 
[2026-07-11 22:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5234f858012d08824006f591a8000e00902e..."} 
[2026-07-11 22:55:09] local.INFO: Processing buffer {"connection_id":129830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5234f858012d08824006f591a8000e00902e..."} 
[2026-07-11 22:55:09] local.INFO: Packet analysis {"connection_id":129830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5234"} 
[2026-07-11 22:55:09] local.INFO: Extracted packet for processing {"connection_id":129830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5234"} 
[2026-07-11 22:55:09] local.INFO: GPS Element Parsed {"raw_longitude":755532352,"raw_latitude":116756904,"longitude_deg":75.5532352,"latitude_deg":11.6756904,"altitude":14,"angle":144,"satellites":46,"speed":45,"hex_longitude":"2d088240","hex_latitude":"06f591a8","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650399232001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345808325469798400,"note":"Value kept but may cause issues"} 
[2026-07-11 22:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":607141554656628736,"note":"Value kept but may cause issues"} 
[2026-07-11 22:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783790631000,"timestamp_ms":1783790631000,"timestamp_seconds":1783790631,"priority":1,"record_length":96,"hex_timestamp":"0000019f5234f858"} 
[2026-07-11 22:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:55:09] 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-07-11 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 22:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650399232001,"66":27397,"12":206,"80":6400,"24":45,"16":345808325469798400,"45":607141554656628736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-11 22:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650399232001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:55:09] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-11 22:55:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345808325469798400,"km_value":345808325469798.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":607141554656628736,"description":"Unknown IO ID 45"} 
[2026-07-11 22:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650399232001,"power":27397,"unknown_12":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":607141554656628736}} 
[2026-07-11 22:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":129830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:55:09] local.INFO: GPS data processed {"connection_id":129830,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:55:09] local.INFO: Acknowledgment sent {"connection_id":129830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:55:40] local.INFO: TCP Data received {"connection_id":129830,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52351798012d08974006f57528000d009130..."} 
[2026-07-11 22:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52351798012d08974006f57528000d009130..."} 
[2026-07-11 22:55:40] local.INFO: Processing buffer {"connection_id":129830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52351798012d08974006f57528000d009130..."} 
[2026-07-11 22:55:40] local.INFO: Packet analysis {"connection_id":129830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5235"} 
[2026-07-11 22:55:40] local.INFO: Extracted packet for processing {"connection_id":129830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5235"} 
[2026-07-11 22:55:40] local.INFO: GPS Element Parsed {"raw_longitude":755537728,"raw_latitude":116749608,"longitude_deg":75.5537728,"latitude_deg":11.6749608,"altitude":13,"angle":145,"satellites":48,"speed":36,"hex_longitude":"2d089740","hex_latitude":"06f57528","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650401536001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345808759261495296,"note":"Value kept but may cause issues"} 
[2026-07-11 22:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":613122897909753856,"note":"Value kept but may cause issues"} 
[2026-07-11 22:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783790639000,"timestamp_ms":1783790639000,"timestamp_seconds":1783790639,"priority":1,"record_length":96,"hex_timestamp":"0000019f52351798"} 
[2026-07-11 22:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 22:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650401536001,"66":27463,"12":206,"80":6400,"24":36,"16":345808759261495296,"45":613122897909753856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-11 22:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650401536001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:55:40] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-11 22:55:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345808759261495296,"km_value":345808759261495.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":613122897909753856,"description":"Unknown IO ID 45"} 
[2026-07-11 22:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650401536001,"power":27463,"unknown_12":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":613122897909753856}} 
[2026-07-11 22:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":129830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:55:40] local.INFO: GPS data processed {"connection_id":129830,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:55:40] local.INFO: Acknowledgment sent {"connection_id":129830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:56:03] local.INFO: TCP Data received {"connection_id":131098,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:56:03] local.INFO: Processing buffer {"connection_id":131098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:56:03] local.INFO: IMEI packet received {"connection_id":131098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":131098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:56:08] local.INFO: TCP Data received {"connection_id":131098,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:56:08] local.INFO: Processing buffer {"connection_id":131098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:56:08] local.INFO: IMEI packet received {"connection_id":131098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":131098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:56:10] local.INFO: TCP Data received {"connection_id":131098,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52354a60012d08ab0006f55800000d009231..."} 
[2026-07-11 22:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52354a60012d08ab0006f55800000d009231..."} 
[2026-07-11 22:56:10] local.INFO: Processing buffer {"connection_id":131098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52354a60012d08ab0006f55800000d009231..."} 
[2026-07-11 22:56:10] local.INFO: Packet analysis {"connection_id":131098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5235"} 
[2026-07-11 22:56:10] local.INFO: Extracted packet for processing {"connection_id":131098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5235"} 
[2026-07-11 22:56:10] local.INFO: GPS Element Parsed {"raw_longitude":755542784,"raw_latitude":116742144,"longitude_deg":75.5542784,"latitude_deg":11.6742144,"altitude":13,"angle":146,"satellites":49,"speed":19,"hex_longitude":"2d08ab00","hex_latitude":"06f55800","is_valid_coordinates":true} 
[2026-07-11 22:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650403584001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345809193053192192,"note":"Value kept but may cause issues"} 
[2026-07-11 22:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":619033872418809856,"note":"Value kept but may cause issues"} 
[2026-07-11 22:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783790652000,"timestamp_ms":1783790652000,"timestamp_seconds":1783790652,"priority":1,"record_length":96,"hex_timestamp":"0000019f52354a60"} 
[2026-07-11 22:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 22:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650403584001,"66":27321,"12":206,"80":6400,"24":19,"16":345809193053192192,"45":619033872418809856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-11 22:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650403584001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:56:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-11 22:56:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345809193053192192,"km_value":345809193053192.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":619033872418809856,"description":"Unknown IO ID 45"} 
[2026-07-11 22:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650403584001,"power":27321,"unknown_12":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":619033872418809856}} 
[2026-07-11 22:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":131098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:56:10] local.INFO: GPS data processed {"connection_id":131098,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:56:10] local.INFO: Acknowledgment sent {"connection_id":131098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:56:41] local.INFO: TCP Data received {"connection_id":131098,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52367b10012d08fec006f4f4800009008c30..."} 
[2026-07-11 22:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52367b10012d08fec006f4f4800009008c30..."} 
[2026-07-11 22:56:41] local.INFO: Processing buffer {"connection_id":131098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52367b10012d08fec006f4f4800009008c30..."} 
[2026-07-11 22:56:41] local.INFO: Packet analysis {"connection_id":131098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5236"} 
[2026-07-11 22:56:41] local.INFO: Extracted packet for processing {"connection_id":131098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5236"} 
[2026-07-11 22:56:41] local.INFO: GPS Element Parsed {"raw_longitude":755564224,"raw_latitude":116716672,"longitude_deg":75.5564224,"latitude_deg":11.6716672,"altitude":9,"angle":140,"satellites":48,"speed":10,"hex_longitude":"2d08fec0","hex_latitude":"06f4f480","is_valid_coordinates":true} 
[2026-07-11 22:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650425088001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345810842320633856,"note":"Value kept but may cause issues"} 
[2026-07-11 22:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646899895105036288,"note":"Value kept but may cause issues"} 
[2026-07-11 22:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783790730000,"timestamp_ms":1783790730000,"timestamp_seconds":1783790730,"priority":1,"record_length":96,"hex_timestamp":"0000019f52367b10"} 
[2026-07-11 22:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 22:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650425088001,"66":27332,"12":206,"80":6400,"24":10,"16":345810842320633856,"45":646899895105036288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-11 22:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650425088001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:56:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-11 22:56:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345810842320633856,"km_value":345810842320633.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":646899895105036288,"description":"Unknown IO ID 45"} 
[2026-07-11 22:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650425088001,"power":27332,"unknown_12":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":646899895105036288}} 
[2026-07-11 22:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":131098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:56:41] local.INFO: GPS data processed {"connection_id":131098,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:56:41] local.INFO: Acknowledgment sent {"connection_id":131098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:57:08] local.INFO: TCP Data received {"connection_id":129101,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:57:08] local.INFO: Processing buffer {"connection_id":129101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:57:08] local.INFO: IMEI packet received {"connection_id":129101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":129101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:57:13] local.INFO: TCP Data received {"connection_id":129101,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:57:13] local.INFO: Processing buffer {"connection_id":129101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:57:13] local.INFO: IMEI packet received {"connection_id":129101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":129101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:57:14] local.INFO: TCP Data received {"connection_id":129101,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5236c160012d09160006f4d8680009008c30..."} 
[2026-07-11 22:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5236c160012d09160006f4d8680009008c30..."} 
[2026-07-11 22:57:14] local.INFO: Processing buffer {"connection_id":129101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5236c160012d09160006f4d8680009008c30..."} 
[2026-07-11 22:57:14] local.INFO: Packet analysis {"connection_id":129101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5236"} 
[2026-07-11 22:57:14] local.INFO: Extracted packet for processing {"connection_id":129101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5236"} 
[2026-07-11 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":755570176,"raw_latitude":116709480,"longitude_deg":75.5570176,"latitude_deg":11.670948,"altitude":9,"angle":140,"satellites":48,"speed":28,"hex_longitude":"2d091600","hex_latitude":"06f4d868","is_valid_coordinates":true} 
[2026-07-11 22:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650426880001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345811293292199936,"note":"Value kept but may cause issues"} 
[2026-07-11 22:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":648166532499931136,"note":"Value kept but may cause issues"} 
[2026-07-11 22:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783790748000,"timestamp_ms":1783790748000,"timestamp_seconds":1783790748,"priority":1,"record_length":96,"hex_timestamp":"0000019f5236c160"} 
[2026-07-11 22:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 22:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650426880001,"66":27376,"227":206,"80":6400,"24":28,"16":345811293292199936,"45":648166532499931136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-11 22:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650426880001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:57:14] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-11 22:57:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345811293292199936,"km_value":345811293292199.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":648166532499931136,"description":"Unknown IO ID 45"} 
[2026-07-11 22:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650426880001,"power":27376,"unknown_227":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":648166532499931136}} 
[2026-07-11 22:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":129101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:57:14] local.INFO: GPS data processed {"connection_id":129101,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:57:14] local.INFO: Acknowledgment sent {"connection_id":129101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:57:18] local.INFO: TCP Data received {"connection_id":129101,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5236f428012d092c0006f4bc580009009031..."} 
[2026-07-11 22:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5236f428012d092c0006f4bc580009009031..."} 
[2026-07-11 22:57:18] local.INFO: Processing buffer {"connection_id":129101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5236f428012d092c0006f4bc580009009031..."} 
[2026-07-11 22:57:18] local.INFO: Packet analysis {"connection_id":129101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5236"} 
[2026-07-11 22:57:18] local.INFO: Extracted packet for processing {"connection_id":129101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5236"} 
[2026-07-11 22:57:18] local.INFO: GPS Element Parsed {"raw_longitude":755575808,"raw_latitude":116702296,"longitude_deg":75.5575808,"latitude_deg":11.6702296,"altitude":9,"angle":144,"satellites":49,"speed":27,"hex_longitude":"2d092c00","hex_latitude":"06f4bc58","is_valid_coordinates":true} 
[2026-07-11 22:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650431488001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345811731378864128,"note":"Value kept but may cause issues"} 
[2026-07-11 22:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":654710825706612736,"note":"Value kept but may cause issues"} 
[2026-07-11 22:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783790761000,"timestamp_ms":1783790761000,"timestamp_seconds":1783790761,"priority":1,"record_length":96,"hex_timestamp":"0000019f5236f428"} 
[2026-07-11 22:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 22:57:18] 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-07-11 22:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650431488001,"66":27332,"227":206,"80":6400,"24":27,"16":345811731378864128,"45":654710825706612736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-11 22:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650431488001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:57:18] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-11 22:57:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345811731378864128,"km_value":345811731378864.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":654710825706612736,"description":"Unknown IO ID 45"} 
[2026-07-11 22:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650431488001,"power":27332,"unknown_227":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":654710825706612736}} 
[2026-07-11 22:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":129101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:57:18] local.INFO: GPS data processed {"connection_id":129101,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:57:18] local.INFO: Acknowledgment sent {"connection_id":129101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:58:01] local.INFO: TCP Data received {"connection_id":129831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:58:01] local.INFO: Processing buffer {"connection_id":129831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:58:01] local.INFO: IMEI packet received {"connection_id":129831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":129831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:58:03] local.INFO: TCP Data received {"connection_id":129831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:58:03] local.INFO: Processing buffer {"connection_id":129831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:58:03] local.INFO: IMEI packet received {"connection_id":129831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":129831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:58:08] local.INFO: TCP Data received {"connection_id":129831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:58:08] local.INFO: Processing buffer {"connection_id":129831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:58:08] local.INFO: IMEI packet received {"connection_id":129831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":129831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:58:09] local.INFO: TCP Data received {"connection_id":129831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52372308012d0940c006f49e98000a009331..."} 
[2026-07-11 22:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52372308012d0940c006f49e98000a009331..."} 
[2026-07-11 22:58:09] local.INFO: Processing buffer {"connection_id":129831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52372308012d0940c006f49e98000a009331..."} 
[2026-07-11 22:58:09] local.INFO: Packet analysis {"connection_id":129831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5237"} 
[2026-07-11 22:58:09] local.INFO: Extracted packet for processing {"connection_id":129831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5237"} 
[2026-07-11 22:58:09] local.INFO: GPS Element Parsed {"raw_longitude":755581120,"raw_latitude":116694680,"longitude_deg":75.558112,"latitude_deg":11.669468,"altitude":10,"angle":147,"satellites":49,"speed":33,"hex_longitude":"2d0940c0","hex_latitude":"06f49e98","is_valid_coordinates":true} 
[2026-07-11 22:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650434816001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345812178055462912,"note":"Value kept but may cause issues"} 
[2026-07-11 22:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":660903275192408064,"note":"Value kept but may cause issues"} 
[2026-07-11 22:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783790773000,"timestamp_ms":1783790773000,"timestamp_seconds":1783790773,"priority":1,"record_length":96,"hex_timestamp":"0000019f52372308"} 
[2026-07-11 22:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:58:09] 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-07-11 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 22:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650434816001,"66":27332,"81":206,"80":6400,"24":33,"16":345812178055462912,"45":660903275192408064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-11 22:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650434816001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 22:58:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345812178055462912,"km_value":345812178055462.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":660903275192408064,"description":"Unknown IO ID 45"} 
[2026-07-11 22:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650434816001,"power":27332,"unknown_81":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":660903275192408064}} 
[2026-07-11 22:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":129831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:58:09] local.INFO: GPS data processed {"connection_id":129831,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:58:09] local.INFO: Acknowledgment sent {"connection_id":129831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:58:41] local.INFO: TCP Data received {"connection_id":129831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523751e8012d09528006f47e98000a009c30..."} 
[2026-07-11 22:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523751e8012d09528006f47e98000a009c30..."} 
[2026-07-11 22:58:41] local.INFO: Processing buffer {"connection_id":129831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523751e8012d09528006f47e98000a009c30..."} 
[2026-07-11 22:58:41] local.INFO: Packet analysis {"connection_id":129831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5237"} 
[2026-07-11 22:58:41] local.INFO: Extracted packet for processing {"connection_id":129831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5237"} 
[2026-07-11 22:58:41] local.INFO: GPS Element Parsed {"raw_longitude":755585664,"raw_latitude":116686488,"longitude_deg":75.5585664,"latitude_deg":11.6686488,"altitude":10,"angle":156,"satellites":48,"speed":26,"hex_longitude":"2d095280","hex_latitude":"06f47e98","is_valid_coordinates":true} 
[2026-07-11 22:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650437888001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345812633321996288,"note":"Value kept but may cause issues"} 
[2026-07-11 22:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":666743880957204480,"note":"Value kept but may cause issues"} 
[2026-07-11 22:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783790785000,"timestamp_ms":1783790785000,"timestamp_seconds":1783790785,"priority":1,"record_length":96,"hex_timestamp":"0000019f523751e8"} 
[2026-07-11 22:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 22:58: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-07-11 22:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650437888001,"66":27343,"81":206,"80":6400,"24":26,"16":345812633321996288,"45":666743880957204480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-11 22:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650437888001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 22:58:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345812633321996288,"km_value":345812633321996.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":666743880957204480,"description":"Unknown IO ID 45"} 
[2026-07-11 22:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650437888001,"power":27343,"unknown_81":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":666743880957204480}} 
[2026-07-11 22:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":129831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:58:41] local.INFO: GPS data processed {"connection_id":129831,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:58:41] local.INFO: Acknowledgment sent {"connection_id":129831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:59:02] local.INFO: TCP Data received {"connection_id":129102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:59:02] local.INFO: Processing buffer {"connection_id":129102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:59:02] local.INFO: IMEI packet received {"connection_id":129102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 22:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":129102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:59:03] local.INFO: TCP Data received {"connection_id":129102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:59:03] local.INFO: Processing buffer {"connection_id":129102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:59:03] local.INFO: IMEI packet received {"connection_id":129102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":129102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:59:07] local.INFO: TCP Data received {"connection_id":129102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:59:07] local.INFO: Processing buffer {"connection_id":129102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 22:59:07] local.INFO: IMEI packet received {"connection_id":129102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 22:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":129102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 22:59:08] local.INFO: TCP Data received {"connection_id":129102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52379450012d095fc006f45c80000b00a330..."} 
[2026-07-11 22:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52379450012d095fc006f45c80000b00a330..."} 
[2026-07-11 22:59:08] local.INFO: Processing buffer {"connection_id":129102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52379450012d095fc006f45c80000b00a330..."} 
[2026-07-11 22:59:08] local.INFO: Packet analysis {"connection_id":129102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5237"} 
[2026-07-11 22:59:08] local.INFO: Extracted packet for processing {"connection_id":129102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5237"} 
[2026-07-11 22:59:08] local.INFO: GPS Element Parsed {"raw_longitude":755589056,"raw_latitude":116677760,"longitude_deg":75.5589056,"latitude_deg":11.667776,"altitude":11,"angle":163,"satellites":48,"speed":26,"hex_longitude":"2d095fc0","hex_latitude":"06f45c80","is_valid_coordinates":true} 
[2026-07-11 22: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-07-11 22:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650440960001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345813084293562368,"note":"Value kept but may cause issues"} 
[2026-07-11 22:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":671740061791721472,"note":"Value kept but may cause issues"} 
[2026-07-11 22:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783790802000,"timestamp_ms":1783790802000,"timestamp_seconds":1783790802,"priority":1,"record_length":96,"hex_timestamp":"0000019f52379450"} 
[2026-07-11 22:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 22:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 22: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-07-11 22:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":129102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":129102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":129102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650440960001,"66":27397,"81":206,"80":6400,"24":26,"16":345813084293562368,"45":671740061791721472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-11 22:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650440960001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-11 22:59:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345813084293562368,"km_value":345813084293562.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":671740061791721472,"description":"Unknown IO ID 45"} 
[2026-07-11 22:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650440960001,"power":27397,"unknown_81":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":671740061791721472}} 
[2026-07-11 22:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":129102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:59:08] local.INFO: GPS data processed {"connection_id":129102,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:59:08] local.INFO: Acknowledgment sent {"connection_id":129102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:59:12] local.INFO: TCP Data received {"connection_id":129832,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:59:12] local.INFO: Processing buffer {"connection_id":129832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:59:12] local.INFO: IMEI packet received {"connection_id":129832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":129832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 22:59:39] local.INFO: TCP Data received {"connection_id":129102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52393648012d09a60006f32ad8001500ac2d..."} 
[2026-07-11 22:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52393648012d09a60006f32ad8001500ac2d..."} 
[2026-07-11 22:59:39] local.INFO: Processing buffer {"connection_id":129102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52393648012d09a60006f32ad8001500ac2d..."} 
[2026-07-11 22:59:39] local.INFO: Packet analysis {"connection_id":129102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 22:59:39] local.INFO: Extracted packet for processing {"connection_id":129102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 22:59:39] local.INFO: GPS Element Parsed {"raw_longitude":755607040,"raw_latitude":116599512,"longitude_deg":75.560704,"latitude_deg":11.6599512,"altitude":21,"angle":172,"satellites":45,"speed":29,"hex_longitude":"2d09a600","hex_latitude":"06f32ad8","is_valid_coordinates":true} 
[2026-07-11 22:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 22:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650471424001,"note":"Value kept but may cause issues"} 
[2026-07-11 22:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345816992713801728,"note":"Value kept but may cause issues"} 
[2026-07-11 22:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694187691162959872,"note":"Value kept but may cause issues"} 
[2026-07-11 22:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 22:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783790909000,"timestamp_ms":1783790909000,"timestamp_seconds":1783790909,"priority":1,"record_length":96,"hex_timestamp":"0000019f52393648"} 
[2026-07-11 22:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 22:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 22:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 22:59: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-07-11 22:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 22:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 22:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 22:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 22:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 22:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 22:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 22:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 22:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650471424001,"66":27517,"82":206,"80":6400,"24":29,"16":345816992713801728,"45":694187691162959872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-11 22:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 22:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 22:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650471424001,"description":"Unknown IO ID 0"} 
[2026-07-11 22:59:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-11 22:59:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 22:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345816992713801728,"km_value":345816992713801.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 22:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":694187691162959872,"description":"Unknown IO ID 45"} 
[2026-07-11 22:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650471424001,"power":27517,"unknown_82":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":694187691162959872}} 
[2026-07-11 22:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":129102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 22:59:39] local.INFO: GPS data processed {"connection_id":129102,"processed":1,"errors":0,"total":1} 
[2026-07-11 22:59:39] local.INFO: Acknowledgment sent {"connection_id":129102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 22:59:45] local.INFO: TCP Data received {"connection_id":129103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:59:45] local.INFO: Processing buffer {"connection_id":129103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 22:59:45] local.INFO: IMEI packet received {"connection_id":129103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 22:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":129103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:00:03] local.INFO: TCP Data received {"connection_id":128926,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:00:03] local.INFO: Processing buffer {"connection_id":128926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:00:03] local.INFO: IMEI packet received {"connection_id":128926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":128926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:00:06] local.INFO: TCP Data received {"connection_id":128926,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:00:06] local.INFO: Processing buffer {"connection_id":128926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:00:06] local.INFO: IMEI packet received {"connection_id":128926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":128926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:00:08] local.INFO: TCP Data received {"connection_id":128926,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:00:08] local.INFO: Processing buffer {"connection_id":128926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:00:08] local.INFO: IMEI packet received {"connection_id":128926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":128926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:00:08] local.INFO: TCP Data received {"connection_id":128926,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52396140012d09a9c006f305e0001100ad2d..."} 
[2026-07-11 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52396140012d09a9c006f305e0001100ad2d..."} 
[2026-07-11 23:00:08] local.INFO: Processing buffer {"connection_id":128926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52396140012d09a9c006f305e0001100ad2d..."} 
[2026-07-11 23:00:08] local.INFO: Packet analysis {"connection_id":128926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 23:00:08] local.INFO: Extracted packet for processing {"connection_id":128926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":755608000,"raw_latitude":116590048,"longitude_deg":75.5608,"latitude_deg":11.6590048,"altitude":17,"angle":173,"satellites":45,"speed":39,"hex_longitude":"2d09a9c0","hex_latitude":"06f305e0","is_valid_coordinates":true} 
[2026-07-11 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650472704001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345817452275302400,"note":"Value kept but may cause issues"} 
[2026-07-11 23:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":695243222324795392,"note":"Value kept but may cause issues"} 
[2026-07-11 23:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783790920000,"timestamp_ms":1783790920000,"timestamp_seconds":1783790920,"priority":1,"record_length":96,"hex_timestamp":"0000019f52396140"} 
[2026-07-11 23:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 23:00:08] 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-07-11 23:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650472704001,"66":27365,"82":206,"80":6400,"24":39,"16":345817452275302400,"45":695243222324795392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-11 23:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650472704001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:00:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-11 23:00:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345817452275302400,"km_value":345817452275302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":695243222324795392,"description":"Unknown IO ID 45"} 
[2026-07-11 23:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650472704001,"power":27365,"unknown_82":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":695243222324795392}} 
[2026-07-11 23:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":128926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:00:08] local.INFO: GPS data processed {"connection_id":128926,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:00:08] local.INFO: Acknowledgment sent {"connection_id":128926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:00:14] local.INFO: TCP Data received {"connection_id":128926,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f52398468012d09ad4006f2e0a0001000ae2d..."} 
[2026-07-11 23:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52398468012d09ad4006f2e0a0001000ae2d..."} 
[2026-07-11 23:00:14] local.INFO: Processing buffer {"connection_id":128926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52398468012d09ad4006f2e0a0001000ae2d..."} 
[2026-07-11 23:00:14] local.INFO: Packet analysis {"connection_id":128926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 23:00:14] local.INFO: Extracted packet for processing {"connection_id":128926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 23:00:14] local.INFO: GPS Element Parsed {"raw_longitude":755608896,"raw_latitude":116580512,"longitude_deg":75.5608896,"latitude_deg":11.6580512,"altitude":16,"angle":174,"satellites":45,"speed":42,"hex_longitude":"2d09ad40","hex_latitude":"06f2e0a0","is_valid_coordinates":true} 
[2026-07-11 23:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650475520001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345817916131770368,"note":"Value kept but may cause issues"} 
[2026-07-11 23:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":696298753485037568,"note":"Value kept but may cause issues"} 
[2026-07-11 23:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783790929000,"timestamp_ms":1783790929000,"timestamp_seconds":1783790929,"priority":1,"record_length":96,"hex_timestamp":"0000019f52398468"} 
[2026-07-11 23:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:00:14] 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-07-11 23:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650475520001,"66":27571,"82":206,"80":6400,"24":42,"16":345817916131770368,"45":696298753485037568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-11 23:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650475520001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:00:14] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-11 23:00:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345817916131770368,"km_value":345817916131770.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":696298753485037568,"description":"Unknown IO ID 45"} 
[2026-07-11 23:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650475520001,"power":27571,"unknown_82":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":696298753485037568}} 
[2026-07-11 23:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":128926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:00:14] local.INFO: GPS data processed {"connection_id":128926,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:00:14] local.INFO: Acknowledgment sent {"connection_id":128926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:00:45] local.INFO: TCP Data received {"connection_id":128926,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5239bf00012d09b14006f2bec0000d00a12f..."} 
[2026-07-11 23:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5239bf00012d09b14006f2bec0000d00a12f..."} 
[2026-07-11 23:00:45] local.INFO: Processing buffer {"connection_id":128926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5239bf00012d09b14006f2bec0000d00a12f..."} 
[2026-07-11 23:00:45] local.INFO: Packet analysis {"connection_id":128926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 23:00:45] local.INFO: Extracted packet for processing {"connection_id":128926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 23:00:45] local.INFO: GPS Element Parsed {"raw_longitude":755609920,"raw_latitude":116571840,"longitude_deg":75.560992,"latitude_deg":11.657184,"altitude":13,"angle":161,"satellites":47,"speed":11,"hex_longitude":"2d09b140","hex_latitude":"06f2bec0","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650477824001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345818341333532672,"note":"Value kept but may cause issues"} 
[2026-07-11 23:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697283915901083648,"note":"Value kept but may cause issues"} 
[2026-07-11 23:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783790944000,"timestamp_ms":1783790944000,"timestamp_seconds":1783790944,"priority":1,"record_length":96,"hex_timestamp":"0000019f5239bf00"} 
[2026-07-11 23:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-11 23:00:45] 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-07-11 23: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-07-11 23:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650477824001,"66":27365,"113":206,"80":6400,"24":11,"16":345818341333532672,"45":697283915901083648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-11 23:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650477824001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:00:45] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-11 23:00:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345818341333532672,"km_value":345818341333532.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":697283915901083648,"description":"Unknown IO ID 45"} 
[2026-07-11 23:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650477824001,"power":27365,"unknown_113":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":697283915901083648}} 
[2026-07-11 23:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":128926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:00:45] local.INFO: GPS data processed {"connection_id":128926,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:00:45] local.INFO: Acknowledgment sent {"connection_id":128926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:01:03] local.INFO: TCP Data received {"connection_id":129834,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:01:03] local.INFO: Processing buffer {"connection_id":129834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:01:03] local.INFO: IMEI packet received {"connection_id":129834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":129834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:01:08] local.INFO: TCP Data received {"connection_id":129834,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:01:08] local.INFO: Processing buffer {"connection_id":129834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:01:08] local.INFO: IMEI packet received {"connection_id":129834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":129834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:01:09] local.INFO: TCP Data received {"connection_id":129834,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5239e228012d09b54006f2b260000b00ae2f..."} 
[2026-07-11 23:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5239e228012d09b54006f2b260000b00ae2f..."} 
[2026-07-11 23:01:09] local.INFO: Processing buffer {"connection_id":129834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5239e228012d09b54006f2b260000b00ae2f..."} 
[2026-07-11 23:01:09] local.INFO: Packet analysis {"connection_id":129834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 23:01:09] local.INFO: Extracted packet for processing {"connection_id":129834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5239"} 
[2026-07-11 23:01:09] local.INFO: GPS Element Parsed {"raw_longitude":755610944,"raw_latitude":116568672,"longitude_deg":75.5610944,"latitude_deg":11.6568672,"altitude":11,"angle":174,"satellites":47,"speed":21,"hex_longitude":"2d09b540","hex_latitude":"06f2b260","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650481664001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345818504542289920,"note":"Value kept but may cause issues"} 
[2026-07-11 23:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698409815805706240,"note":"Value kept but may cause issues"} 
[2026-07-11 23:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783790953000,"timestamp_ms":1783790953000,"timestamp_seconds":1783790953,"priority":1,"record_length":96,"hex_timestamp":"0000019f5239e228"} 
[2026-07-11 23:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:01:09] 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-07-11 23:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:01:09] 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-07-11 23: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-07-11 23:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":129834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":129834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":129834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650481664001,"66":27267,"113":206,"80":6400,"24":21,"16":345818504542289920,"45":698409815805706240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-11 23:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650481664001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:01:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-11 23:01:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345818504542289920,"km_value":345818504542289.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":698409815805706240,"description":"Unknown IO ID 45"} 
[2026-07-11 23:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650481664001,"power":27267,"unknown_113":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":698409815805706240}} 
[2026-07-11 23:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":129834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:01:09] local.INFO: GPS data processed {"connection_id":129834,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:01:09] local.INFO: Acknowledgment sent {"connection_id":129834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:01:40] local.INFO: TCP Data received {"connection_id":129834,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523a1cc0012d09bc0006f28e18000800a42f..."} 
[2026-07-11 23:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523a1cc0012d09bc0006f28e18000800a42f..."} 
[2026-07-11 23:01:40] local.INFO: Processing buffer {"connection_id":129834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523a1cc0012d09bc0006f28e18000800a42f..."} 
[2026-07-11 23:01:40] local.INFO: Packet analysis {"connection_id":129834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f523a"} 
[2026-07-11 23:01:40] local.INFO: Extracted packet for processing {"connection_id":129834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f523a"} 
[2026-07-11 23:01:40] local.INFO: GPS Element Parsed {"raw_longitude":755612672,"raw_latitude":116559384,"longitude_deg":75.5612672,"latitude_deg":11.6559384,"altitude":8,"angle":164,"satellites":47,"speed":28,"hex_longitude":"2d09bc00","hex_latitude":"06f28e18","is_valid_coordinates":true} 
[2026-07-11 23:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650483968001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345818964103790592,"note":"Value kept but may cause issues"} 
[2026-07-11 23:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":699535715711737856,"note":"Value kept but may cause issues"} 
[2026-07-11 23:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783790968000,"timestamp_ms":1783790968000,"timestamp_seconds":1783790968,"priority":1,"record_length":96,"hex_timestamp":"0000019f523a1cc0"} 
[2026-07-11 23:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":129834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":129834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":129834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650483968001,"66":27463,"113":206,"80":6400,"24":28,"16":345818964103790592,"45":699535715711737856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-11 23:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650483968001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:01:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-11 23:01:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345818964103790592,"km_value":345818964103790.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":699535715711737856,"description":"Unknown IO ID 45"} 
[2026-07-11 23:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650483968001,"power":27463,"unknown_113":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":699535715711737856}} 
[2026-07-11 23:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":129834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:01:40] local.INFO: GPS data processed {"connection_id":129834,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:01:40] local.INFO: Acknowledgment sent {"connection_id":129834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:02:08] local.INFO: TCP Data received {"connection_id":131100,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:02:08] local.INFO: Processing buffer {"connection_id":131100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:02:08] local.INFO: IMEI packet received {"connection_id":131100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":131100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:02:13] local.INFO: TCP Data received {"connection_id":131100,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:02:13] local.INFO: Processing buffer {"connection_id":131100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:02:13] local.INFO: IMEI packet received {"connection_id":131100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":131100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:02:14] local.INFO: TCP Data received {"connection_id":131100,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523a5370012d09c4c006f26c48000700a530..."} 
[2026-07-11 23:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523a5370012d09c4c006f26c48000700a530..."} 
[2026-07-11 23:02:14] local.INFO: Processing buffer {"connection_id":131100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523a5370012d09c4c006f26c48000700a530..."} 
[2026-07-11 23:02:14] local.INFO: Packet analysis {"connection_id":131100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f523a"} 
[2026-07-11 23:02:14] local.INFO: Extracted packet for processing {"connection_id":131100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f523a"} 
[2026-07-11 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":755614912,"raw_latitude":116550728,"longitude_deg":75.5614912,"latitude_deg":11.6550728,"altitude":7,"angle":165,"satellites":48,"speed":21,"hex_longitude":"2d09c4c0","hex_latitude":"06f26c48","is_valid_coordinates":true} 
[2026-07-11 23:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650487808001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345819397895487488,"note":"Value kept but may cause issues"} 
[2026-07-11 23:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701435671802157056,"note":"Value kept but may cause issues"} 
[2026-07-11 23:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783790982000,"timestamp_ms":1783790982000,"timestamp_seconds":1783790982,"priority":1,"record_length":96,"hex_timestamp":"0000019f523a5370"} 
[2026-07-11 23:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 23:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650487808001,"66":27397,"113":206,"80":6400,"24":21,"16":345819397895487488,"45":701435671802157056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-11 23:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650487808001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:02:14] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-11 23:02:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345819397895487488,"km_value":345819397895487.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":701435671802157056,"description":"Unknown IO ID 45"} 
[2026-07-11 23:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650487808001,"power":27397,"unknown_113":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":701435671802157056}} 
[2026-07-11 23:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":131100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:02:14] local.INFO: GPS data processed {"connection_id":131100,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:02:14] local.INFO: Acknowledgment sent {"connection_id":131100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:02:18] local.INFO: TCP Data received {"connection_id":131100,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523aa578012d09cc8006f24e98000100a631..."} 
[2026-07-11 23:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523aa578012d09cc8006f24e98000100a631..."} 
[2026-07-11 23:02:18] local.INFO: Processing buffer {"connection_id":131100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523aa578012d09cc8006f24e98000100a631..."} 
[2026-07-11 23:02:18] local.INFO: Packet analysis {"connection_id":131100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f523a"} 
[2026-07-11 23:02:18] local.INFO: Extracted packet for processing {"connection_id":131100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f523a"} 
[2026-07-11 23:02:18] local.INFO: GPS Element Parsed {"raw_longitude":755616896,"raw_latitude":116543128,"longitude_deg":75.5616896,"latitude_deg":11.6543128,"altitude":1,"angle":166,"satellites":49,"speed":12,"hex_longitude":"2d09cc80","hex_latitude":"06f24e98","is_valid_coordinates":true} 
[2026-07-11 23:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650491392001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345819775852609536,"note":"Value kept but may cause issues"} 
[2026-07-11 23:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703898577846159360,"note":"Value kept but may cause issues"} 
[2026-07-11 23:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783791003000,"timestamp_ms":1783791003000,"timestamp_seconds":1783791003,"priority":1,"record_length":96,"hex_timestamp":"0000019f523aa578"} 
[2026-07-11 23:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 23:02:18] 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-07-11 23:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650491392001,"66":27376,"113":206,"80":6400,"24":12,"16":345819775852609536,"45":703898577846159360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-11 23:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650491392001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:02:18] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-11 23:02:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345819775852609536,"km_value":345819775852609.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":703898577846159360,"description":"Unknown IO ID 45"} 
[2026-07-11 23:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650491392001,"power":27376,"unknown_113":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":703898577846159360}} 
[2026-07-11 23:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":131100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:02:18] local.INFO: GPS data processed {"connection_id":131100,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:02:18] local.INFO: Acknowledgment sent {"connection_id":131100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:03:01] local.INFO: TCP Data received {"connection_id":128927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:03:01] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:03:01] local.INFO: IMEI packet received {"connection_id":128927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":128927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:03:03] local.INFO: TCP Data received {"connection_id":128927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:03:03] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:03:03] local.INFO: IMEI packet received {"connection_id":128927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":128927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:03:08] local.INFO: TCP Data received {"connection_id":128927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:03:08] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:03:08] local.INFO: IMEI packet received {"connection_id":128927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":128927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:03:09] local.INFO: TCP Data received {"connection_id":128927,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523ae7e0012d09d5c006f22c90000300a42e..."} 
[2026-07-11 23:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523ae7e0012d09d5c006f22c90000300a42e..."} 
[2026-07-11 23:03:09] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523ae7e0012d09d5c006f22c90000300a42e..."} 
[2026-07-11 23:03:09] local.INFO: Packet analysis {"connection_id":128927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f523a"} 
[2026-07-11 23:03:09] local.INFO: Extracted packet for processing {"connection_id":128927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f523a"} 
[2026-07-11 23:03:09] local.INFO: GPS Element Parsed {"raw_longitude":755619264,"raw_latitude":116534416,"longitude_deg":75.5619264,"latitude_deg":11.6534416,"altitude":3,"angle":164,"satellites":46,"speed":23,"hex_longitude":"2d09d5c0","hex_latitude":"06f22c90","is_valid_coordinates":true} 
[2026-07-11 23:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650496768001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345820213939273728,"note":"Value kept but may cause issues"} 
[2026-07-11 23:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":706080008913721344,"note":"Value kept but may cause issues"} 
[2026-07-11 23:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783791020000,"timestamp_ms":1783791020000,"timestamp_seconds":1783791020,"priority":1,"record_length":96,"hex_timestamp":"0000019f523ae7e0"} 
[2026-07-11 23:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:03:09] 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-07-11 23:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":128927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":128927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":128927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650496768001,"66":27365,"113":206,"80":6400,"24":23,"16":345820213939273728,"45":706080008913721344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-11 23:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650496768001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:03:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-11 23:03:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345820213939273728,"km_value":345820213939273.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":706080008913721344,"description":"Unknown IO ID 45"} 
[2026-07-11 23:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650496768001,"power":27365,"unknown_113":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":706080008913721344}} 
[2026-07-11 23:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":128927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:03:09] local.INFO: GPS data processed {"connection_id":128927,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:03:09] local.INFO: Acknowledgment sent {"connection_id":128927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:03:40] local.INFO: TCP Data received {"connection_id":128927,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523b3218012d09df0006f20930000500a32e..."} 
[2026-07-11 23:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523b3218012d09df0006f20930000500a32e..."} 
[2026-07-11 23:03:40] local.INFO: Processing buffer {"connection_id":128927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523b3218012d09df0006f20930000500a32e..."} 
[2026-07-11 23:03:40] local.INFO: Packet analysis {"connection_id":128927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f523b"} 
[2026-07-11 23:03:40] local.INFO: Extracted packet for processing {"connection_id":128927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f523b"} 
[2026-07-11 23:03:40] local.INFO: GPS Element Parsed {"raw_longitude":755621632,"raw_latitude":116525360,"longitude_deg":75.5621632,"latitude_deg":11.652536,"altitude":5,"angle":163,"satellites":46,"speed":22,"hex_longitude":"2d09df00","hex_latitude":"06f20930","is_valid_coordinates":true} 
[2026-07-11 23:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650501120001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345820669205807104,"note":"Value kept but may cause issues"} 
[2026-07-11 23:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708683652446064640,"note":"Value kept but may cause issues"} 
[2026-07-11 23:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783791039000,"timestamp_ms":1783791039000,"timestamp_seconds":1783791039,"priority":1,"record_length":96,"hex_timestamp":"0000019f523b3218"} 
[2026-07-11 23:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":128927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":128927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":128927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650501120001,"66":27484,"113":206,"80":6400,"24":22,"16":345820669205807104,"45":708683652446064640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-11 23:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650501120001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:03:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-11 23:03:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345820669205807104,"km_value":345820669205807.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":708683652446064640,"description":"Unknown IO ID 45"} 
[2026-07-11 23:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650501120001,"power":27484,"unknown_113":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":708683652446064640}} 
[2026-07-11 23:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":128927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:03:40] local.INFO: GPS data processed {"connection_id":128927,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:03:40] local.INFO: Acknowledgment sent {"connection_id":128927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:04:03] local.INFO: TCP Data received {"connection_id":129105,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:04:03] local.INFO: Processing buffer {"connection_id":129105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:04:03] local.INFO: IMEI packet received {"connection_id":129105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":129105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:04:04] local.INFO: TCP Data received {"connection_id":129105,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:04:04] local.INFO: Processing buffer {"connection_id":129105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:04:04] local.INFO: IMEI packet received {"connection_id":129105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":129105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:04:09] local.INFO: TCP Data received {"connection_id":129105,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:04:09] local.INFO: Processing buffer {"connection_id":129105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:04:09] local.INFO: IMEI packet received {"connection_id":129105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":129105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:04:12] local.INFO: TCP Data received {"connection_id":129105,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523d5110012d0aadc006f13b300011007a2f..."} 
[2026-07-11 23:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523d5110012d0aadc006f13b300011007a2f..."} 
[2026-07-11 23:04:12] local.INFO: Processing buffer {"connection_id":129105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523d5110012d0aadc006f13b300011007a2f..."} 
[2026-07-11 23:04:12] local.INFO: Packet analysis {"connection_id":129105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f523d"} 
[2026-07-11 23:04:12] local.INFO: Extracted packet for processing {"connection_id":129105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f523d"} 
[2026-07-11 23:04:12] local.INFO: GPS Element Parsed {"raw_longitude":755674560,"raw_latitude":116472624,"longitude_deg":75.567456,"latitude_deg":11.6472624,"altitude":17,"angle":122,"satellites":47,"speed":35,"hex_longitude":"2d0aadc0","hex_latitude":"06f13b30","is_valid_coordinates":true} 
[2026-07-11 23:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650538752001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345824410122321920,"note":"Value kept but may cause issues"} 
[2026-07-11 23:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":760263941913714688,"note":"Value kept but may cause issues"} 
[2026-07-11 23:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783791178000,"timestamp_ms":1783791178000,"timestamp_seconds":1783791178,"priority":1,"record_length":96,"hex_timestamp":"0000019f523d5110"} 
[2026-07-11 23:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:04: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-07-11 23:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 23:04:12] 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-07-11 23:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650538752001,"66":27245,"111":206,"80":6400,"24":35,"16":345824410122321920,"45":760263941913714688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-11 23:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650538752001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:04:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 23:04:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345824410122321920,"km_value":345824410122321.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":760263941913714688,"description":"Unknown IO ID 45"} 
[2026-07-11 23:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650538752001,"power":27245,"unknown_111":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":760263941913714688}} 
[2026-07-11 23:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":129105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:04:12] local.INFO: GPS data processed {"connection_id":129105,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:04:12] local.INFO: Acknowledgment sent {"connection_id":129105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:04:47] local.INFO: TCP Data received {"connection_id":129105,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523d7c08012d0ace0006f12638001000812f..."} 
[2026-07-11 23:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523d7c08012d0ace0006f12638001000812f..."} 
[2026-07-11 23:04:47] local.INFO: Processing buffer {"connection_id":129105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523d7c08012d0ace0006f12638001000812f..."} 
[2026-07-11 23:04:47] local.INFO: Packet analysis {"connection_id":129105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f523d"} 
[2026-07-11 23:04:47] local.INFO: Extracted packet for processing {"connection_id":129105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f523d"} 
[2026-07-11 23:04:47] local.INFO: GPS Element Parsed {"raw_longitude":755682816,"raw_latitude":116467256,"longitude_deg":75.5682816,"latitude_deg":11.6467256,"altitude":16,"angle":129,"satellites":47,"speed":32,"hex_longitude":"2d0ace00","hex_latitude":"06f12638","is_valid_coordinates":true} 
[2026-07-11 23:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650541568001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345824878273757184,"note":"Value kept but may cause issues"} 
[2026-07-11 23:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":769482247399747584,"note":"Value kept but may cause issues"} 
[2026-07-11 23:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783791189000,"timestamp_ms":1783791189000,"timestamp_seconds":1783791189,"priority":1,"record_length":96,"hex_timestamp":"0000019f523d7c08"} 
[2026-07-11 23:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 23:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650541568001,"66":27267,"111":206,"80":6400,"24":32,"16":345824878273757184,"45":769482247399747584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-11 23:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650541568001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:04:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 23:04:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345824878273757184,"km_value":345824878273757.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":769482247399747584,"description":"Unknown IO ID 45"} 
[2026-07-11 23:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650541568001,"power":27267,"unknown_111":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":769482247399747584}} 
[2026-07-11 23:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":129105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:04:47] local.INFO: GPS data processed {"connection_id":129105,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:04:47] local.INFO: Acknowledgment sent {"connection_id":129105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:05:03] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:05:03] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:05:03] local.INFO: IMEI packet received {"connection_id":131102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":131102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:05:06] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:05:06] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:05:06] local.INFO: IMEI packet received {"connection_id":131102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":131102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:05:07] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523dba88012d0ae94006f10cc8000f008430..."} 
[2026-07-11 23:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523dba88012d0ae94006f10cc8000f008430..."} 
[2026-07-11 23:05:07] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523dba88012d0ae94006f10cc8000f008430..."} 
[2026-07-11 23:05:07] local.INFO: Packet analysis {"connection_id":131102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f523d"} 
[2026-07-11 23:05:07] local.INFO: Extracted packet for processing {"connection_id":131102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f523d"} 
[2026-07-11 23:05:07] local.INFO: GPS Element Parsed {"raw_longitude":755689792,"raw_latitude":116460744,"longitude_deg":75.5689792,"latitude_deg":11.6460744,"altitude":15,"angle":132,"satellites":48,"speed":27,"hex_longitude":"2d0ae940","hex_latitude":"06f10cc8","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650544384001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345825337835257856,"note":"Value kept but may cause issues"} 
[2026-07-11 23:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":778559815397292032,"note":"Value kept but may cause issues"} 
[2026-07-11 23:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783791205000,"timestamp_ms":1783791205000,"timestamp_seconds":1783791205,"priority":1,"record_length":96,"hex_timestamp":"0000019f523dba88"} 
[2026-07-11 23:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:05: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-07-11 23: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-07-11 23:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":131102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":131102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":131102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650544384001,"66":27517,"111":206,"80":6400,"24":27,"16":345825337835257856,"45":778559815397292032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-11 23:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650544384001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:05:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 23:05:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345825337835257856,"km_value":345825337835257.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":778559815397292032,"description":"Unknown IO ID 45"} 
[2026-07-11 23:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650544384001,"power":27517,"unknown_111":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":778559815397292032}} 
[2026-07-11 23:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":131102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:05:07] local.INFO: GPS data processed {"connection_id":131102,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:05:07] local.INFO: Acknowledgment sent {"connection_id":131102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:05:17] local.INFO: TCP Data received {"connection_id":131101,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:05:17] local.INFO: Processing buffer {"connection_id":131101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:05:17] local.INFO: IMEI packet received {"connection_id":131101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":131101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:05:38] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f523e04c0012d0b028006f0f538000f007633..."} 
[2026-07-11 23:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f523e04c0012d0b028006f0f538000f007633..."} 
[2026-07-11 23:05:38] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f523e04c0012d0b028006f0f538000f007633..."} 
[2026-07-11 23:05:38] local.INFO: Packet analysis {"connection_id":131102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f523e"} 
[2026-07-11 23:05:38] local.INFO: Extracted packet for processing {"connection_id":131102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f523e"} 
[2026-07-11 23:05:38] local.INFO: GPS Element Parsed {"raw_longitude":755696256,"raw_latitude":116454712,"longitude_deg":75.5696256,"latitude_deg":11.6454712,"altitude":15,"angle":118,"satellites":51,"speed":9,"hex_longitude":"2d0b0280","hex_latitude":"06f0f538","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650548480001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345825763037020160,"note":"Value kept but may cause issues"} 
[2026-07-11 23:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786230008510990336,"note":"Value kept but may cause issues"} 
[2026-07-11 23:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783791224000,"timestamp_ms":1783791224000,"timestamp_seconds":1783791224,"priority":1,"record_length":96,"hex_timestamp":"0000019f523e04c0"} 
[2026-07-11 23:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 23:05:38] 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-07-11 23: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-07-11 23:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650548480001,"66":27332,"111":206,"80":6400,"24":9,"16":345825763037020160,"45":786230008510990336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-11 23:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650548480001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:05:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 23:05:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345825763037020160,"km_value":345825763037020.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":786230008510990336,"description":"Unknown IO ID 45"} 
[2026-07-11 23:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650548480001,"power":27332,"unknown_111":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":786230008510990336}} 
[2026-07-11 23:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":131102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:05:38] local.INFO: GPS data processed {"connection_id":131102,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:05:38] local.INFO: Acknowledgment sent {"connection_id":131102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:05:49] local.INFO: TCP Data received {"connection_id":128929,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:05:49] local.INFO: Processing buffer {"connection_id":128929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:05:49] local.INFO: IMEI packet received {"connection_id":128929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":128929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:06:03] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:06:03] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:06:03] local.INFO: IMEI packet received {"connection_id":128930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":128930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:06:12] local.INFO: TCP Data received {"connection_id":128930,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:06:12] local.INFO: Processing buffer {"connection_id":128930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:06:12] local.INFO: IMEI packet received {"connection_id":128930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":128930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:06:59] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:06:59] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:06:59] local.INFO: IMEI packet received {"connection_id":128931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":128931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:07:00] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:07:00] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:07:00] local.INFO: IMEI packet received {"connection_id":128931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":128931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:07:04] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:07:04] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:07:04] local.INFO: IMEI packet received {"connection_id":128931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":128931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:07:06] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52401be8012d0b928006ef71d8000c00a233..."} 
[2026-07-11 23:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52401be8012d0b928006ef71d8000c00a233..."} 
[2026-07-11 23:07:06] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52401be8012d0b928006ef71d8000c00a233..."} 
[2026-07-11 23:07:06] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5240"} 
[2026-07-11 23:07:06] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5240"} 
[2026-07-11 23:07:06] local.INFO: GPS Element Parsed {"raw_longitude":755733120,"raw_latitude":116355544,"longitude_deg":75.573312,"latitude_deg":11.6355544,"altitude":12,"angle":162,"satellites":51,"speed":30,"hex_longitude":"2d0b9280","hex_latitude":"06ef71d8","is_valid_coordinates":true} 
[2026-07-11 23:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650586112001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345829963515035648,"note":"Value kept but may cause issues"} 
[2026-07-11 23:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830914161039241216,"note":"Value kept but may cause issues"} 
[2026-07-11 23:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783791361000,"timestamp_ms":1783791361000,"timestamp_seconds":1783791361,"priority":1,"record_length":96,"hex_timestamp":"0000019f52401be8"} 
[2026-07-11 23:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650586112001,"66":27463,"155":206,"80":6400,"24":30,"16":345829963515035648,"45":830914161039241216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-11 23:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650586112001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:07:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-11 23:07:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345829963515035648,"km_value":345829963515035.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":830914161039241216,"description":"Unknown IO ID 45"} 
[2026-07-11 23:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650586112001,"power":27463,"unknown_155":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":830914161039241216}} 
[2026-07-11 23:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:07:06] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:07:06] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:07:08] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524046e0012d0b9d4006ef4eb0000b00a331..."} 
[2026-07-11 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524046e0012d0b9d4006ef4eb0000b00a331..."} 
[2026-07-11 23:07:08] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524046e0012d0b9d4006ef4eb0000b00a331..."} 
[2026-07-11 23:07:08] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5240"} 
[2026-07-11 23:07:08] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5240"} 
[2026-07-11 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":755735872,"raw_latitude":116346544,"longitude_deg":75.5735872,"latitude_deg":11.6346544,"altitude":11,"angle":163,"satellites":49,"speed":38,"hex_longitude":"2d0b9d40","hex_latitude":"06ef4eb0","is_valid_coordinates":true} 
[2026-07-11 23:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650588416001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345830418781569024,"note":"Value kept but may cause issues"} 
[2026-07-11 23:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833869648292337664,"note":"Value kept but may cause issues"} 
[2026-07-11 23:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783791372000,"timestamp_ms":1783791372000,"timestamp_seconds":1783791372,"priority":1,"record_length":96,"hex_timestamp":"0000019f524046e0"} 
[2026-07-11 23:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 23:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650588416001,"66":27365,"155":206,"80":6400,"24":38,"16":345830418781569024,"45":833869648292337664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-11 23:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650588416001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:07:08] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-11 23:07:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345830418781569024,"km_value":345830418781569.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":833869648292337664,"description":"Unknown IO ID 45"} 
[2026-07-11 23:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650588416001,"power":27365,"unknown_155":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":833869648292337664}} 
[2026-07-11 23:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:07:08] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:07:08] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:07:41] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52406a08012d0ba98006ef2c08000a009f33..."} 
[2026-07-11 23:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52406a08012d0ba98006ef2c08000a009f33..."} 
[2026-07-11 23:07:41] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52406a08012d0ba98006ef2c08000a009f33..."} 
[2026-07-11 23:07:41] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5240"} 
[2026-07-11 23:07:41] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5240"} 
[2026-07-11 23:07:41] local.INFO: GPS Element Parsed {"raw_longitude":755739008,"raw_latitude":116337672,"longitude_deg":75.5739008,"latitude_deg":11.6337672,"altitude":10,"angle":159,"satellites":51,"speed":42,"hex_longitude":"2d0ba980","hex_latitude":"06ef2c08","is_valid_coordinates":true} 
[2026-07-11 23:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650591232001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345830874048102400,"note":"Value kept but may cause issues"} 
[2026-07-11 23:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":836895504289673216,"note":"Value kept but may cause issues"} 
[2026-07-11 23:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783791381000,"timestamp_ms":1783791381000,"timestamp_seconds":1783791381,"priority":1,"record_length":96,"hex_timestamp":"0000019f52406a08"} 
[2026-07-11 23:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650591232001,"66":27343,"155":206,"80":6400,"24":42,"16":345830874048102400,"45":836895504289673216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-11 23:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650591232001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:07:41] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-11 23:07:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345830874048102400,"km_value":345830874048102.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":836895504289673216,"description":"Unknown IO ID 45"} 
[2026-07-11 23:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650591232001,"power":27343,"unknown_155":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":836895504289673216}} 
[2026-07-11 23:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:07:41] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:07:41] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:08:13] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52408d30012d0bb78006ef0938000a009f33..."} 
[2026-07-11 23:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52408d30012d0bb78006ef0938000a009f33..."} 
[2026-07-11 23:08:13] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52408d30012d0bb78006ef0938000a009f33..."} 
[2026-07-11 23:08:13] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5240"} 
[2026-07-11 23:08:13] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5240"} 
[2026-07-11 23:08:13] local.INFO: GPS Element Parsed {"raw_longitude":755742592,"raw_latitude":116328760,"longitude_deg":75.5742592,"latitude_deg":11.632876,"altitude":10,"angle":159,"satellites":51,"speed":44,"hex_longitude":"2d0bb780","hex_latitude":"06ef0938","is_valid_coordinates":true} 
[2026-07-11 23:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650593536001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345831337904570368,"note":"Value kept but may cause issues"} 
[2026-07-11 23:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840343572752107520,"note":"Value kept but may cause issues"} 
[2026-07-11 23:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783791390000,"timestamp_ms":1783791390000,"timestamp_seconds":1783791390,"priority":1,"record_length":96,"hex_timestamp":"0000019f52408d30"} 
[2026-07-11 23:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650593536001,"66":27267,"155":206,"80":6400,"24":44,"16":345831337904570368,"45":840343572752107520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-11 23:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650593536001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:08:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-11 23:08:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345831337904570368,"km_value":345831337904570.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":840343572752107520,"description":"Unknown IO ID 45"} 
[2026-07-11 23:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650593536001,"power":27267,"unknown_155":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":840343572752107520}} 
[2026-07-11 23:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:08:13] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:08:13] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:08:44] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52418730012d0c0b8006ee6028000f008832..."} 
[2026-07-11 23:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52418730012d0c0b8006ee6028000f008832..."} 
[2026-07-11 23:08:44] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52418730012d0c0b8006ee6028000f008832..."} 
[2026-07-11 23:08:44] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5241"} 
[2026-07-11 23:08:44] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5241"} 
[2026-07-11 23:08:44] local.INFO: GPS Element Parsed {"raw_longitude":755764096,"raw_latitude":116285480,"longitude_deg":75.5764096,"latitude_deg":11.628548,"altitude":15,"angle":136,"satellites":50,"speed":16,"hex_longitude":"2d0c0b80","hex_latitude":"06ee6028","is_valid_coordinates":true} 
[2026-07-11 23:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650611968001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345833717316452352,"note":"Value kept but may cause issues"} 
[2026-07-11 23:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867576276735565824,"note":"Value kept but may cause issues"} 
[2026-07-11 23:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783791454000,"timestamp_ms":1783791454000,"timestamp_seconds":1783791454,"priority":1,"record_length":96,"hex_timestamp":"0000019f52418730"} 
[2026-07-11 23:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-11 23:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650611968001,"66":27180,"157":206,"80":6400,"24":16,"16":345833717316452352,"45":867576276735565824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650611968001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:08:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:08:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345833717316452352,"km_value":345833717316452.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":867576276735565824,"description":"Unknown IO ID 45"} 
[2026-07-11 23:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650611968001,"power":27180,"unknown_157":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":867576276735565824}} 
[2026-07-11 23:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:08:44] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:08:44] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:09:16] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52418b18012d0c0c4006ee5ed8000f009332..."} 
[2026-07-11 23:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52418b18012d0c0c4006ee5ed8000f009332..."} 
[2026-07-11 23:09:16] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52418b18012d0c0c4006ee5ed8000f009332..."} 
[2026-07-11 23:09:16] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5241"} 
[2026-07-11 23:09:16] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5241"} 
[2026-07-11 23:09:16] local.INFO: GPS Element Parsed {"raw_longitude":755764288,"raw_latitude":116285144,"longitude_deg":75.5764288,"latitude_deg":11.6285144,"altitude":15,"angle":147,"satellites":50,"speed":17,"hex_longitude":"2d0c0c40","hex_latitude":"06ee5ed8","is_valid_coordinates":true} 
[2026-07-11 23:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650612224001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345833734496321536,"note":"Value kept but may cause issues"} 
[2026-07-11 23:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867928120456390656,"note":"Value kept but may cause issues"} 
[2026-07-11 23:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783791455000,"timestamp_ms":1783791455000,"timestamp_seconds":1783791455,"priority":1,"record_length":96,"hex_timestamp":"0000019f52418b18"} 
[2026-07-11 23:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 23:09:16] 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-07-11 23:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650612224001,"66":27180,"157":206,"80":6400,"24":17,"16":345833734496321536,"45":867928120456390656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650612224001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:09:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:09:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345833734496321536,"km_value":345833734496321.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":867928120456390656,"description":"Unknown IO ID 45"} 
[2026-07-11 23:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650612224001,"power":27180,"unknown_157":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":867928120456390656}} 
[2026-07-11 23:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:09:16] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:09:16] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:09:47] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5241dd20012d0c170006ee4d68000d00982f..."} 
[2026-07-11 23:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5241dd20012d0c170006ee4d68000d00982f..."} 
[2026-07-11 23:09:47] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5241dd20012d0c170006ee4d68000d00982f..."} 
[2026-07-11 23:09:47] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5241"} 
[2026-07-11 23:09:47] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5241"} 
[2026-07-11 23:09:47] local.INFO: GPS Element Parsed {"raw_longitude":755767040,"raw_latitude":116280680,"longitude_deg":75.576704,"latitude_deg":11.628068,"altitude":13,"angle":152,"satellites":47,"speed":0,"hex_longitude":"2d0c1700","hex_latitude":"06ee4d68","is_valid_coordinates":true} 
[2026-07-11 23:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650612480001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345833992194359296,"note":"Value kept but may cause issues"} 
[2026-07-11 23:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868139226688837632,"note":"Value kept but may cause issues"} 
[2026-07-11 23:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783791476000,"timestamp_ms":1783791476000,"timestamp_seconds":1783791476,"priority":1,"record_length":96,"hex_timestamp":"0000019f5241dd20"} 
[2026-07-11 23:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 23:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650612480001,"66":27332,"157":206,"80":6400,"24":0,"16":345833992194359296,"45":868139226688837632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650612480001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:09:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:09:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345833992194359296,"km_value":345833992194359.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":868139226688837632,"description":"Unknown IO ID 45"} 
[2026-07-11 23:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650612480001,"power":27332,"unknown_157":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":868139226688837632}} 
[2026-07-11 23:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:09:47] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:09:47] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:10:18] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52422f28012d0c170006ee4d68000d00982f..."} 
[2026-07-11 23:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52422f28012d0c170006ee4d68000d00982f..."} 
[2026-07-11 23:10:18] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52422f28012d0c170006ee4d68000d00982f..."} 
[2026-07-11 23:10:18] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5242"} 
[2026-07-11 23:10:18] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5242"} 
[2026-07-11 23:10:18] local.INFO: GPS Element Parsed {"raw_longitude":755767040,"raw_latitude":116280680,"longitude_deg":75.576704,"latitude_deg":11.628068,"altitude":13,"angle":152,"satellites":47,"speed":0,"hex_longitude":"2d0c1700","hex_latitude":"06ee4d68","is_valid_coordinates":true} 
[2026-07-11 23:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650617856001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345833992194359296,"note":"Value kept but may cause issues"} 
[2026-07-11 23:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871165082687334400,"note":"Value kept but may cause issues"} 
[2026-07-11 23:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783791497000,"timestamp_ms":1783791497000,"timestamp_seconds":1783791497,"priority":1,"record_length":96,"hex_timestamp":"0000019f52422f28"} 
[2026-07-11 23:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 23:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650617856001,"66":27397,"157":206,"80":6400,"24":0,"16":345833992194359296,"45":871165082687334400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650617856001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:10:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:10:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345833992194359296,"km_value":345833992194359.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":871165082687334400,"description":"Unknown IO ID 45"} 
[2026-07-11 23:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650617856001,"power":27397,"unknown_157":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":871165082687334400}} 
[2026-07-11 23:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:10:18] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:10:18] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:10:50] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52428130012d0c170006ee4d68000d009830..."} 
[2026-07-11 23:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52428130012d0c170006ee4d68000d009830..."} 
[2026-07-11 23:10:50] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52428130012d0c170006ee4d68000d009830..."} 
[2026-07-11 23:10:50] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5242"} 
[2026-07-11 23:10:50] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5242"} 
[2026-07-11 23:10:50] local.INFO: GPS Element Parsed {"raw_longitude":755767040,"raw_latitude":116280680,"longitude_deg":75.576704,"latitude_deg":11.628068,"altitude":13,"angle":152,"satellites":48,"speed":0,"hex_longitude":"2d0c1700","hex_latitude":"06ee4d68","is_valid_coordinates":true} 
[2026-07-11 23:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650623232001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345833992194359296,"note":"Value kept but may cause issues"} 
[2026-07-11 23:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871165082687334400,"note":"Value kept but may cause issues"} 
[2026-07-11 23:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783791518000,"timestamp_ms":1783791518000,"timestamp_seconds":1783791518,"priority":1,"record_length":96,"hex_timestamp":"0000019f52428130"} 
[2026-07-11 23:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 23:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650623232001,"66":27484,"157":206,"80":6400,"24":0,"16":345833992194359296,"45":871165082687334400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650623232001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:10:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:10:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345833992194359296,"km_value":345833992194359.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":871165082687334400,"description":"Unknown IO ID 45"} 
[2026-07-11 23:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650623232001,"power":27484,"unknown_157":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":871165082687334400}} 
[2026-07-11 23:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:10:50] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:10:50] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:11:22] local.INFO: TCP Data received {"connection_id":128931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5242d338012d0c1c4006ee43e8000e009431..."} 
[2026-07-11 23:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5242d338012d0c1c4006ee43e8000e009431..."} 
[2026-07-11 23:11:22] local.INFO: Processing buffer {"connection_id":128931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5242d338012d0c1c4006ee43e8000e009431..."} 
[2026-07-11 23:11:22] local.INFO: Packet analysis {"connection_id":128931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5242"} 
[2026-07-11 23:11:22] local.INFO: Extracted packet for processing {"connection_id":128931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5242"} 
[2026-07-11 23:11:22] local.INFO: GPS Element Parsed {"raw_longitude":755768384,"raw_latitude":116278248,"longitude_deg":75.5768384,"latitude_deg":11.6278248,"altitude":14,"angle":148,"satellites":49,"speed":12,"hex_longitude":"2d0c1c40","hex_latitude":"06ee43e8","is_valid_coordinates":true} 
[2026-07-11 23:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650628608001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345834125338345472,"note":"Value kept but may cause issues"} 
[2026-07-11 23:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871165082687334400,"note":"Value kept but may cause issues"} 
[2026-07-11 23:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783791539000,"timestamp_ms":1783791539000,"timestamp_seconds":1783791539,"priority":1,"record_length":96,"hex_timestamp":"0000019f5242d338"} 
[2026-07-11 23:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 23:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":128931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":128931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650628608001,"66":27082,"157":206,"80":6400,"24":12,"16":345834125338345472,"45":871165082687334400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650628608001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:11:22] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345834125338345472,"km_value":345834125338345.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":871165082687334400,"description":"Unknown IO ID 45"} 
[2026-07-11 23:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650628608001,"power":27082,"unknown_157":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":871165082687334400}} 
[2026-07-11 23:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":128931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:11:22] local.INFO: GPS data processed {"connection_id":128931,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:11:22] local.INFO: Acknowledgment sent {"connection_id":128931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:11:44] local.INFO: TCP Data received {"connection_id":128934,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:11:44] local.INFO: Processing buffer {"connection_id":128934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:11:44] local.INFO: IMEI packet received {"connection_id":128934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":128934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:11:44] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:11:44] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:11:44] local.INFO: IMEI packet received {"connection_id":128933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":128933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:11:49] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:11:49] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:11:49] local.INFO: IMEI packet received {"connection_id":128933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":128933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:11:51] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52432540012d0c234006ee3960000d009730..."} 
[2026-07-11 23:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52432540012d0c234006ee3960000d009730..."} 
[2026-07-11 23:11:51] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52432540012d0c234006ee3960000d009730..."} 
[2026-07-11 23:11:51] local.INFO: Packet analysis {"connection_id":128933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5243"} 
[2026-07-11 23:11:51] local.INFO: Extracted packet for processing {"connection_id":128933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5243"} 
[2026-07-11 23:11:51] local.INFO: GPS Element Parsed {"raw_longitude":755770176,"raw_latitude":116275552,"longitude_deg":75.5770176,"latitude_deg":11.6275552,"altitude":13,"angle":151,"satellites":48,"speed":3,"hex_longitude":"2d0c2340","hex_latitude":"06ee3960","is_valid_coordinates":true} 
[2026-07-11 23:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650633984001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345834284252135424,"note":"Value kept but may cause issues"} 
[2026-07-11 23:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872642826314442752,"note":"Value kept but may cause issues"} 
[2026-07-11 23:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783791560000,"timestamp_ms":1783791560000,"timestamp_seconds":1783791560,"priority":1,"record_length":96,"hex_timestamp":"0000019f52432540"} 
[2026-07-11 23:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-11 23:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":128933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":128933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":128933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650633984001,"66":27343,"157":206,"80":6400,"24":3,"16":345834284252135424,"45":872642826314442752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650633984001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:11:51] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:11:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345834284252135424,"km_value":345834284252135.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":872642826314442752,"description":"Unknown IO ID 45"} 
[2026-07-11 23:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650633984001,"power":27343,"unknown_157":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":872642826314442752}} 
[2026-07-11 23:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":128933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:11:51] local.INFO: GPS data processed {"connection_id":128933,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:11:51] local.INFO: Acknowledgment sent {"connection_id":128933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:11:55] local.INFO: TCP Data received {"connection_id":128933,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52437748012d0c2a4006ee2de0000d009430..."} 
[2026-07-11 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52437748012d0c2a4006ee2de0000d009430..."} 
[2026-07-11 23:11:55] local.INFO: Processing buffer {"connection_id":128933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52437748012d0c2a4006ee2de0000d009430..."} 
[2026-07-11 23:11:55] local.INFO: Packet analysis {"connection_id":128933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5243"} 
[2026-07-11 23:11:55] local.INFO: Extracted packet for processing {"connection_id":128933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5243"} 
[2026-07-11 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755771968,"raw_latitude":116272608,"longitude_deg":75.5771968,"latitude_deg":11.6272608,"altitude":13,"angle":148,"satellites":48,"speed":10,"hex_longitude":"2d0c2a40","hex_latitude":"06ee2de0","is_valid_coordinates":true} 
[2026-07-11 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650639360001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345834451755859968,"note":"Value kept but may cause issues"} 
[2026-07-11 23:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874613151150727168,"note":"Value kept but may cause issues"} 
[2026-07-11 23:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783791581000,"timestamp_ms":1783791581000,"timestamp_seconds":1783791581,"priority":1,"record_length":96,"hex_timestamp":"0000019f52437748"} 
[2026-07-11 23:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:11:55] 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-07-11 23:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":128933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":128933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":128933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650639360001,"66":27071,"157":206,"80":6400,"24":10,"16":345834451755859968,"45":874613151150727168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650639360001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:11:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:11:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345834451755859968,"km_value":345834451755859.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":874613151150727168,"description":"Unknown IO ID 45"} 
[2026-07-11 23:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650639360001,"power":27071,"unknown_157":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":874613151150727168}} 
[2026-07-11 23:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":128933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:11:55] local.INFO: GPS data processed {"connection_id":128933,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:11:55] local.INFO: Acknowledgment sent {"connection_id":128933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:12:39] local.INFO: TCP Data received {"connection_id":129836,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:12:39] local.INFO: Processing buffer {"connection_id":129836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:12:39] local.INFO: IMEI packet received {"connection_id":129836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":129836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:12:39] local.INFO: TCP Data received {"connection_id":129836,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:12:39] local.INFO: Processing buffer {"connection_id":129836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:12:39] local.INFO: IMEI packet received {"connection_id":129836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":129836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:12:44] local.INFO: TCP Data received {"connection_id":129836,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:12:44] local.INFO: Processing buffer {"connection_id":129836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:12:44] local.INFO: IMEI packet received {"connection_id":129836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":129836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:12:45] local.INFO: TCP Data received {"connection_id":129836,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5243c950012d0c3d4006ee0ea8000c009632..."} 
[2026-07-11 23:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5243c950012d0c3d4006ee0ea8000c009632..."} 
[2026-07-11 23:12:45] local.INFO: Processing buffer {"connection_id":129836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5243c950012d0c3d4006ee0ea8000c009632..."} 
[2026-07-11 23:12:45] local.INFO: Packet analysis {"connection_id":129836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5243"} 
[2026-07-11 23:12:45] local.INFO: Extracted packet for processing {"connection_id":129836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5243"} 
[2026-07-11 23:12:45] local.INFO: GPS Element Parsed {"raw_longitude":755776832,"raw_latitude":116264616,"longitude_deg":75.5776832,"latitude_deg":11.6264616,"altitude":12,"angle":150,"satellites":50,"speed":19,"hex_longitude":"2d0c3d40","hex_latitude":"06ee0ea8","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650644736001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345834907022393344,"note":"Value kept but may cause issues"} 
[2026-07-11 23:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876583475986948096,"note":"Value kept but may cause issues"} 
[2026-07-11 23:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783791602000,"timestamp_ms":1783791602000,"timestamp_seconds":1783791602,"priority":1,"record_length":96,"hex_timestamp":"0000019f5243c950"} 
[2026-07-11 23:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-11 23:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23: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-07-11 23:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650644736001,"66":27517,"157":206,"80":6400,"24":19,"16":345834907022393344,"45":876583475986948096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650644736001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:12:45] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:12:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345834907022393344,"km_value":345834907022393.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":876583475986948096,"description":"Unknown IO ID 45"} 
[2026-07-11 23:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650644736001,"power":27517,"unknown_157":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":876583475986948096}} 
[2026-07-11 23:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":129836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:12:45] local.INFO: GPS data processed {"connection_id":129836,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:12:45] local.INFO: Acknowledgment sent {"connection_id":129836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:12:50] local.INFO: TCP Data received {"connection_id":129836,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5243c950012d0c3d4006ee0ea8000c009632..."} 
[2026-07-11 23:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5243c950012d0c3d4006ee0ea8000c009632..."} 
[2026-07-11 23:12:50] local.INFO: Processing buffer {"connection_id":129836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5243c950012d0c3d4006ee0ea8000c009632..."} 
[2026-07-11 23:12:50] local.INFO: Packet analysis {"connection_id":129836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5243"} 
[2026-07-11 23:12:50] local.INFO: Extracted packet for processing {"connection_id":129836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5243"} 
[2026-07-11 23:12:50] local.INFO: GPS Element Parsed {"raw_longitude":755776832,"raw_latitude":116264616,"longitude_deg":75.5776832,"latitude_deg":11.6264616,"altitude":12,"angle":150,"satellites":50,"speed":19,"hex_longitude":"2d0c3d40","hex_latitude":"06ee0ea8","is_valid_coordinates":true} 
[2026-07-11 23:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650650112001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345834907022393344,"note":"Value kept but may cause issues"} 
[2026-07-11 23:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931500542404608,"note":"Value kept but may cause issues"} 
[2026-07-11 23:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783791602000,"timestamp_ms":1783791602000,"timestamp_seconds":1783791602,"priority":1,"record_length":96,"hex_timestamp":"0000019f5243c950"} 
[2026-07-11 23:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 23:12:50] 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-07-11 23:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":129836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":129836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":129836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650650112001,"66":27517,"157":206,"80":6400,"24":19,"16":345834907022393344,"45":881931500542404608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-11 23:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650650112001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:12:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-11 23:12:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345834907022393344,"km_value":345834907022393.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931500542404608,"description":"Unknown IO ID 45"} 
[2026-07-11 23:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650650112001,"power":27517,"unknown_157":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":881931500542404608}} 
[2026-07-11 23:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":129836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:12:50] local.INFO: GPS data processed {"connection_id":129836,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:12:50] local.INFO: Acknowledgment sent {"connection_id":129836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:13:21] local.INFO: TCP Data received {"connection_id":129836,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52441b58012d0c468006edfe380009009e30..."} 
[2026-07-11 23:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52441b58012d0c468006edfe380009009e30..."} 
[2026-07-11 23:13:21] local.INFO: Processing buffer {"connection_id":129836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52441b58012d0c468006edfe380009009e30..."} 
[2026-07-11 23:13:21] local.INFO: Packet analysis {"connection_id":129836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5244"} 
[2026-07-11 23:13:21] local.INFO: Extracted packet for processing {"connection_id":129836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5244"} 
[2026-07-11 23:13:21] local.INFO: GPS Element Parsed {"raw_longitude":755779200,"raw_latitude":116260408,"longitude_deg":75.57792,"latitude_deg":11.6260408,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d0c4680","hex_latitude":"06edfe38","is_valid_coordinates":true} 
[2026-07-11 23:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650650112001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345835143245594624,"note":"Value kept but may cause issues"} 
[2026-07-11 23:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931500542404608,"note":"Value kept but may cause issues"} 
[2026-07-11 23:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783791623000,"timestamp_ms":1783791623000,"timestamp_seconds":1783791623,"priority":1,"record_length":96,"hex_timestamp":"0000019f52441b58"} 
[2026-07-11 23:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 23:13:21] 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-07-11 23:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":129836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":129836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":129836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650650112001,"66":27365,"156":206,"80":6400,"24":0,"16":345835143245594624,"45":881931500542404608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-07-11 23:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650650112001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:13:21] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-11 23:13:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345835143245594624,"km_value":345835143245594.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931500542404608,"description":"Unknown IO ID 45"} 
[2026-07-11 23:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650650112001,"power":27365,"unknown_156":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":881931500542404608}} 
[2026-07-11 23:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":129836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:13:21] local.INFO: GPS data processed {"connection_id":129836,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:13:21] local.INFO: Acknowledgment sent {"connection_id":129836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:13:39] local.INFO: TCP Data received {"connection_id":129108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:13:39] local.INFO: Processing buffer {"connection_id":129108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:13:39] local.INFO: IMEI packet received {"connection_id":129108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":129108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:13:41] local.INFO: TCP Data received {"connection_id":129108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:13:41] local.INFO: Processing buffer {"connection_id":129108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:13:41] local.INFO: IMEI packet received {"connection_id":129108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":129108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:13:44] local.INFO: TCP Data received {"connection_id":129108,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524436b0012d0c470006edfd98000a008a2f..."} 
[2026-07-11 23:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524436b0012d0c470006edfd98000a008a2f..."} 
[2026-07-11 23:13:44] local.INFO: Processing buffer {"connection_id":129108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524436b0012d0c470006edfd98000a008a2f..."} 
[2026-07-11 23:13:44] local.INFO: Packet analysis {"connection_id":129108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5244"} 
[2026-07-11 23:13:44] local.INFO: Extracted packet for processing {"connection_id":129108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5244"} 
[2026-07-11 23:13:44] local.INFO: GPS Element Parsed {"raw_longitude":755779328,"raw_latitude":116260248,"longitude_deg":75.5779328,"latitude_deg":11.6260248,"altitude":10,"angle":138,"satellites":47,"speed":5,"hex_longitude":"2d0c4700","hex_latitude":"06edfd98","is_valid_coordinates":true} 
[2026-07-11 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-07-11 23:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650655488001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345835151835529216,"note":"Value kept but may cause issues"} 
[2026-07-11 23:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884535144075900928,"note":"Value kept but may cause issues"} 
[2026-07-11 23:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783791630000,"timestamp_ms":1783791630000,"timestamp_seconds":1783791630,"priority":1,"record_length":96,"hex_timestamp":"0000019f524436b0"} 
[2026-07-11 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-07-11 23:13: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-07-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 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-07-11 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-07-11 23:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650655488001,"66":27376,"156":206,"80":6400,"24":5,"16":345835151835529216,"45":884535144075900928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-07-11 23:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650655488001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:13:44] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-11 23:13:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345835151835529216,"km_value":345835151835529.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":884535144075900928,"description":"Unknown IO ID 45"} 
[2026-07-11 23:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650655488001,"power":27376,"unknown_156":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":884535144075900928}} 
[2026-07-11 23:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":129108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:13:44] local.INFO: GPS data processed {"connection_id":129108,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:13:44] local.INFO: Acknowledgment sent {"connection_id":129108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:14:16] local.INFO: TCP Data received {"connection_id":129108,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52445dc0012d0c4b0006edf880000a00952f..."} 
[2026-07-11 23:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52445dc0012d0c4b0006edf880000a00952f..."} 
[2026-07-11 23:14:16] local.INFO: Processing buffer {"connection_id":129108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52445dc0012d0c4b0006edf880000a00952f..."} 
[2026-07-11 23:14:16] local.INFO: Packet analysis {"connection_id":129108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5244"} 
[2026-07-11 23:14:16] local.INFO: Extracted packet for processing {"connection_id":129108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5244"} 
[2026-07-11 23:14:16] local.INFO: GPS Element Parsed {"raw_longitude":755780352,"raw_latitude":116258944,"longitude_deg":75.5780352,"latitude_deg":11.6258944,"altitude":10,"angle":149,"satellites":47,"speed":5,"hex_longitude":"2d0c4b00","hex_latitude":"06edf880","is_valid_coordinates":true} 
[2026-07-11 23:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650657280001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345835233439907840,"note":"Value kept but may cause issues"} 
[2026-07-11 23:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884675881564215296,"note":"Value kept but may cause issues"} 
[2026-07-11 23:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783791640000,"timestamp_ms":1783791640000,"timestamp_seconds":1783791640,"priority":1,"record_length":96,"hex_timestamp":"0000019f52445dc0"} 
[2026-07-11 23:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:14:16] 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-07-11 23:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650657280001,"66":27463,"156":206,"80":6400,"24":5,"16":345835233439907840,"45":884675881564215296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-07-11 23:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650657280001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:14:16] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-11 23:14:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345835233439907840,"km_value":345835233439907.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":884675881564215296,"description":"Unknown IO ID 45"} 
[2026-07-11 23:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650657280001,"power":27463,"unknown_156":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":884675881564215296}} 
[2026-07-11 23:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":129108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:14:16] local.INFO: GPS data processed {"connection_id":129108,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:14:16] local.INFO: Acknowledgment sent {"connection_id":129108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:14:40] local.INFO: TCP Data received {"connection_id":128935,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:14:40] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:14:40] local.INFO: IMEI packet received {"connection_id":128935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":128935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:14:45] local.INFO: TCP Data received {"connection_id":128935,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:14:45] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:14:45] local.INFO: IMEI packet received {"connection_id":128935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":128935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:14:45] local.INFO: TCP Data received {"connection_id":128935,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5244afc8012d0c554006ede7f8000a009b2f..."} 
[2026-07-11 23:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5244afc8012d0c554006ede7f8000a009b2f..."} 
[2026-07-11 23:14:45] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5244afc8012d0c554006ede7f8000a009b2f..."} 
[2026-07-11 23:14:45] local.INFO: Packet analysis {"connection_id":128935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5244"} 
[2026-07-11 23:14:45] local.INFO: Extracted packet for processing {"connection_id":128935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5244"} 
[2026-07-11 23:14:45] local.INFO: GPS Element Parsed {"raw_longitude":755782976,"raw_latitude":116254712,"longitude_deg":75.5782976,"latitude_deg":11.6254712,"altitude":10,"angle":155,"satellites":47,"speed":10,"hex_longitude":"2d0c5540","hex_latitude":"06ede7f8","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650659840001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345835473958076416,"note":"Value kept but may cause issues"} 
[2026-07-11 23:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885801781470724096,"note":"Value kept but may cause issues"} 
[2026-07-11 23:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783791661000,"timestamp_ms":1783791661000,"timestamp_seconds":1783791661,"priority":1,"record_length":96,"hex_timestamp":"0000019f5244afc8"} 
[2026-07-11 23:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-11 23:14: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-07-11 23: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-07-11 23:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650659840001,"66":27267,"156":206,"80":6400,"24":10,"16":345835473958076416,"45":885801781470724096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-07-11 23:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650659840001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:14:45] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-11 23:14:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345835473958076416,"km_value":345835473958076.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":885801781470724096,"description":"Unknown IO ID 45"} 
[2026-07-11 23:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650659840001,"power":27267,"unknown_156":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":885801781470724096}} 
[2026-07-11 23:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":128935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:14:45] local.INFO: GPS data processed {"connection_id":128935,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:14:45] local.INFO: Acknowledgment sent {"connection_id":128935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:15:17] local.INFO: TCP Data received {"connection_id":128935,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524501d0012d0c60c006edc8b0000a00a231..."} 
[2026-07-11 23:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524501d0012d0c60c006edc8b0000a00a231..."} 
[2026-07-11 23:15:17] local.INFO: Processing buffer {"connection_id":128935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524501d0012d0c60c006edc8b0000a00a231..."} 
[2026-07-11 23:15:17] local.INFO: Packet analysis {"connection_id":128935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5245"} 
[2026-07-11 23:15:17] local.INFO: Extracted packet for processing {"connection_id":128935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5245"} 
[2026-07-11 23:15:17] local.INFO: GPS Element Parsed {"raw_longitude":755785920,"raw_latitude":116246704,"longitude_deg":75.578592,"latitude_deg":11.6246704,"altitude":10,"angle":162,"satellites":49,"speed":22,"hex_longitude":"2d0c60c0","hex_latitude":"06edc8b0","is_valid_coordinates":true} 
[2026-07-11 23:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650665216001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345835890569904128,"note":"Value kept but may cause issues"} 
[2026-07-11 23:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686899980924928,"note":"Value kept but may cause issues"} 
[2026-07-11 23:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783791682000,"timestamp_ms":1783791682000,"timestamp_seconds":1783791682,"priority":1,"record_length":96,"hex_timestamp":"0000019f524501d0"} 
[2026-07-11 23:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:15:17] 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-07-11 23:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650665216001,"66":27484,"156":206,"80":6400,"24":22,"16":345835890569904128,"45":888686899980924928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-07-11 23:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650665216001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:15:17] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-11 23:15:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345835890569904128,"km_value":345835890569904.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686899980924928,"description":"Unknown IO ID 45"} 
[2026-07-11 23:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650665216001,"power":27484,"unknown_156":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":888686899980924928}} 
[2026-07-11 23:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":128935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:15:17] local.INFO: GPS data processed {"connection_id":128935,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:15:17] local.INFO: Acknowledgment sent {"connection_id":128935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:15:39] local.INFO: TCP Data received {"connection_id":129839,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:15:39] local.INFO: Processing buffer {"connection_id":129839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:15:39] local.INFO: IMEI packet received {"connection_id":129839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":129839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:15:44] local.INFO: TCP Data received {"connection_id":129839,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:15:44] local.INFO: Processing buffer {"connection_id":129839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:15:44] local.INFO: IMEI packet received {"connection_id":129839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":129839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:15:46] local.INFO: TCP Data received {"connection_id":129839,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52454438012d0c688006eda580000800ac32..."} 
[2026-07-11 23:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52454438012d0c688006eda580000800ac32..."} 
[2026-07-11 23:15:46] local.INFO: Processing buffer {"connection_id":129839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52454438012d0c688006eda580000800ac32..."} 
[2026-07-11 23:15:46] local.INFO: Packet analysis {"connection_id":129839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5245"} 
[2026-07-11 23:15:46] local.INFO: Extracted packet for processing {"connection_id":129839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5245"} 
[2026-07-11 23:15:46] local.INFO: GPS Element Parsed {"raw_longitude":755787904,"raw_latitude":116237696,"longitude_deg":75.5787904,"latitude_deg":11.6237696,"altitude":8,"angle":172,"satellites":50,"speed":18,"hex_longitude":"2d0c6880","hex_latitude":"06eda580","is_valid_coordinates":true} 
[2026-07-11 23:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650670592001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345836337246502912,"note":"Value kept but may cause issues"} 
[2026-07-11 23:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891923862211047424,"note":"Value kept but may cause issues"} 
[2026-07-11 23:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783791699000,"timestamp_ms":1783791699000,"timestamp_seconds":1783791699,"priority":1,"record_length":96,"hex_timestamp":"0000019f52454438"} 
[2026-07-11 23:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:15: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-07-11 23:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 23:15:46] 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-07-11 23:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650670592001,"66":27397,"49":206,"80":6400,"24":18,"16":345836337246502912,"45":891923862211047424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650670592001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:15:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:15:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345836337246502912,"km_value":345836337246502.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":891923862211047424,"description":"Unknown IO ID 45"} 
[2026-07-11 23:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650670592001,"power":27397,"unknown_49":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":891923862211047424}} 
[2026-07-11 23:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":129839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:15:46] local.INFO: GPS data processed {"connection_id":129839,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:15:46] local.INFO: Acknowledgment sent {"connection_id":129839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:16:17] local.INFO: TCP Data received {"connection_id":129839,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52459640012d0c6a8006ed8f98000700b032..."} 
[2026-07-11 23:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52459640012d0c6a8006ed8f98000700b032..."} 
[2026-07-11 23:16:17] local.INFO: Processing buffer {"connection_id":129839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52459640012d0c6a8006ed8f98000700b032..."} 
[2026-07-11 23:16:17] local.INFO: Packet analysis {"connection_id":129839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5245"} 
[2026-07-11 23:16:17] local.INFO: Extracted packet for processing {"connection_id":129839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5245"} 
[2026-07-11 23:16:17] local.INFO: GPS Element Parsed {"raw_longitude":755788416,"raw_latitude":116232088,"longitude_deg":75.5788416,"latitude_deg":11.6232088,"altitude":7,"angle":176,"satellites":50,"speed":5,"hex_longitude":"2d0c6a80","hex_latitude":"06ed8f98","is_valid_coordinates":true} 
[2026-07-11 23:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650674944001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345836612124409856,"note":"Value kept but may cause issues"} 
[2026-07-11 23:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894105293278248960,"note":"Value kept but may cause issues"} 
[2026-07-11 23:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783791720000,"timestamp_ms":1783791720000,"timestamp_seconds":1783791720,"priority":1,"record_length":96,"hex_timestamp":"0000019f52459640"} 
[2026-07-11 23:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 23:16:17] 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-07-11 23:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650674944001,"66":27343,"49":206,"80":6400,"24":5,"16":345836612124409856,"45":894105293278248960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650674944001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:16:17] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:16:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345836612124409856,"km_value":345836612124409.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":894105293278248960,"description":"Unknown IO ID 45"} 
[2026-07-11 23:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650674944001,"power":27343,"unknown_49":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":894105293278248960}} 
[2026-07-11 23:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":129839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:16:17] local.INFO: GPS data processed {"connection_id":129839,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:16:17] local.INFO: Acknowledgment sent {"connection_id":129839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:16:39] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:39] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:39] local.INFO: IMEI packet received {"connection_id":128936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":128936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:16:40] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:40] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:40] local.INFO: IMEI packet received {"connection_id":128936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":128936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:16:43] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:43] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:43] local.INFO: IMEI packet received {"connection_id":128936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":128936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:16:44] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:44] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:16:44] local.INFO: IMEI packet received {"connection_id":128936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":128936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:16:45] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5248fd58012d0c598006ed0768000700cc32..."} 
[2026-07-11 23:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5248fd58012d0c598006ed0768000700cc32..."} 
[2026-07-11 23:16:45] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5248fd58012d0c598006ed0768000700cc32..."} 
[2026-07-11 23:16:45] local.INFO: Packet analysis {"connection_id":128936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5248"} 
[2026-07-11 23:16:45] local.INFO: Extracted packet for processing {"connection_id":128936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5248"} 
[2026-07-11 23:16:45] local.INFO: GPS Element Parsed {"raw_longitude":755784064,"raw_latitude":116197224,"longitude_deg":75.5784064,"latitude_deg":11.6197224,"altitude":7,"angle":204,"satellites":50,"speed":8,"hex_longitude":"2d0c5980","hex_latitude":"06ed0768","is_valid_coordinates":true} 
[2026-07-11 23:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650734080001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838338701262848,"note":"Value kept but may cause issues"} 
[2026-07-11 23:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890375749827080192,"note":"Value kept but may cause issues"} 
[2026-07-11 23:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783791943000,"timestamp_ms":1783791943000,"timestamp_seconds":1783791943,"priority":1,"record_length":96,"hex_timestamp":"0000019f5248fd58"} 
[2026-07-11 23:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:16:45] 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-07-11 23:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650734080001,"66":27517,"49":206,"80":6400,"24":8,"16":345838338701262848,"45":890375749827080192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650734080001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:16:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:16:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838338701262848,"km_value":345838338701262.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":890375749827080192,"description":"Unknown IO ID 45"} 
[2026-07-11 23:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650734080001,"power":27517,"unknown_49":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":890375749827080192}} 
[2026-07-11 23:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":128936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:16:45] local.INFO: GPS data processed {"connection_id":128936,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:16:45] local.INFO: Acknowledgment sent {"connection_id":128936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:17:16] local.INFO: TCP Data received {"connection_id":128936,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52490528012d0c584006ed05d8000700da32..."} 
[2026-07-11 23:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52490528012d0c584006ed05d8000700da32..."} 
[2026-07-11 23:17:16] local.INFO: Processing buffer {"connection_id":128936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52490528012d0c584006ed05d8000700da32..."} 
[2026-07-11 23:17:16] local.INFO: Packet analysis {"connection_id":128936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:17:16] local.INFO: Extracted packet for processing {"connection_id":128936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:17:16] local.INFO: GPS Element Parsed {"raw_longitude":755783744,"raw_latitude":116196824,"longitude_deg":75.5783744,"latitude_deg":11.6196824,"altitude":7,"angle":218,"satellites":50,"speed":8,"hex_longitude":"2d0c5840","hex_latitude":"06ed05d8","is_valid_coordinates":true} 
[2026-07-11 23:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650737408001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838360176099328,"note":"Value kept but may cause issues"} 
[2026-07-11 23:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889883168617228288,"note":"Value kept but may cause issues"} 
[2026-07-11 23:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783791945000,"timestamp_ms":1783791945000,"timestamp_seconds":1783791945,"priority":1,"record_length":96,"hex_timestamp":"0000019f52490528"} 
[2026-07-11 23:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-11 23:17:16] 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-07-11 23:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650737408001,"66":27343,"49":206,"80":6400,"24":8,"16":345838360176099328,"45":889883168617228288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650737408001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:17:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:17:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838360176099328,"km_value":345838360176099.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":889883168617228288,"description":"Unknown IO ID 45"} 
[2026-07-11 23:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650737408001,"power":27343,"unknown_49":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":889883168617228288}} 
[2026-07-11 23:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":128936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:17:16] local.INFO: GPS data processed {"connection_id":128936,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:17:16] local.INFO: Acknowledgment sent {"connection_id":128936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:17:17] local.INFO: TCP Data received {"connection_id":129841,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:17:17] local.INFO: Processing buffer {"connection_id":129841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:17:17] local.INFO: IMEI packet received {"connection_id":129841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":129841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:17:44] local.INFO: TCP Data received {"connection_id":129109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:17:44] local.INFO: Processing buffer {"connection_id":129109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:17:44] local.INFO: IMEI packet received {"connection_id":129109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":129109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:17:49] local.INFO: TCP Data received {"connection_id":129842,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:17:49] local.INFO: Processing buffer {"connection_id":129842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:17:49] local.INFO: IMEI packet received {"connection_id":129842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":129842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:17:50] local.INFO: TCP Data received {"connection_id":129109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:17:50] local.INFO: Processing buffer {"connection_id":129109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:17:50] local.INFO: IMEI packet received {"connection_id":129109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":129109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:17:51] local.INFO: TCP Data received {"connection_id":129109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524910e0012d0c574006ed0478000700e731..."} 
[2026-07-11 23:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524910e0012d0c574006ed0478000700e731..."} 
[2026-07-11 23:17:51] local.INFO: Processing buffer {"connection_id":129109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524910e0012d0c574006ed0478000700e731..."} 
[2026-07-11 23:17:51] local.INFO: Packet analysis {"connection_id":129109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:17:51] local.INFO: Extracted packet for processing {"connection_id":129109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755783488,"raw_latitude":116196472,"longitude_deg":75.5783488,"latitude_deg":11.6196472,"altitude":7,"angle":231,"satellites":49,"speed":5,"hex_longitude":"2d0c5740","hex_latitude":"06ed0478","is_valid_coordinates":true} 
[2026-07-11 23:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650737920001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838385945903104,"note":"Value kept but may cause issues"} 
[2026-07-11 23:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889531324896237568,"note":"Value kept but may cause issues"} 
[2026-07-11 23:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783791948000,"timestamp_ms":1783791948000,"timestamp_seconds":1783791948,"priority":1,"record_length":96,"hex_timestamp":"0000019f524910e0"} 
[2026-07-11 23:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:17:51] 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-07-11 23:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650737920001,"66":27213,"49":206,"80":6400,"24":5,"16":345838385945903104,"45":889531324896237568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650737920001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:17:51] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:17:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838385945903104,"km_value":345838385945903.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":889531324896237568,"description":"Unknown IO ID 45"} 
[2026-07-11 23:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650737920001,"power":27213,"unknown_49":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":889531324896237568}} 
[2026-07-11 23:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":129109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:17:51] local.INFO: GPS data processed {"connection_id":129109,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:17:51] local.INFO: Acknowledgment sent {"connection_id":129109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:17:52] local.INFO: TCP Data received {"connection_id":129109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524943a8012d0c514006ecff78000900d732..."} 
[2026-07-11 23:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524943a8012d0c514006ecff78000900d732..."} 
[2026-07-11 23:17:52] local.INFO: Processing buffer {"connection_id":129109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524943a8012d0c514006ecff78000900d732..."} 
[2026-07-11 23:17:52] local.INFO: Packet analysis {"connection_id":129109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:17:52] local.INFO: Extracted packet for processing {"connection_id":129109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:17:52] local.INFO: GPS Element Parsed {"raw_longitude":755781952,"raw_latitude":116195192,"longitude_deg":75.5781952,"latitude_deg":11.6195192,"altitude":9,"angle":215,"satellites":50,"speed":5,"hex_longitude":"2d0c5140","hex_latitude":"06ecff78","is_valid_coordinates":true} 
[2026-07-11 23:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650738688001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838480435183616,"note":"Value kept but may cause issues"} 
[2026-07-11 23:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889249849919436800,"note":"Value kept but may cause issues"} 
[2026-07-11 23:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783791961000,"timestamp_ms":1783791961000,"timestamp_seconds":1783791961,"priority":1,"record_length":96,"hex_timestamp":"0000019f524943a8"} 
[2026-07-11 23:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 23:17:52] 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-07-11 23:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":129109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":129109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":129109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650738688001,"66":27376,"49":206,"80":6400,"24":5,"16":345838480435183616,"45":889249849919436800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650738688001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:17:52] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:17:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838480435183616,"km_value":345838480435183.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":889249849919436800,"description":"Unknown IO ID 45"} 
[2026-07-11 23:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650738688001,"power":27376,"unknown_49":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":889249849919436800}} 
[2026-07-11 23:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":129109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:17:52] local.INFO: GPS data processed {"connection_id":129109,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:17:52] local.INFO: Acknowledgment sent {"connection_id":129109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:18:23] local.INFO: TCP Data received {"connection_id":129109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52495348012d0c4fc006ecfd88000900cb31..."} 
[2026-07-11 23:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52495348012d0c4fc006ecfd88000900cb31..."} 
[2026-07-11 23:18:23] local.INFO: Processing buffer {"connection_id":129109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52495348012d0c4fc006ecfd88000900cb31..."} 
[2026-07-11 23:18:23] local.INFO: Packet analysis {"connection_id":129109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:18:23] local.INFO: Extracted packet for processing {"connection_id":129109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:18:23] local.INFO: GPS Element Parsed {"raw_longitude":755781568,"raw_latitude":116194696,"longitude_deg":75.5781568,"latitude_deg":11.6194696,"altitude":9,"angle":203,"satellites":49,"speed":6,"hex_longitude":"2d0c4fc0","hex_latitude":"06ecfd88","is_valid_coordinates":true} 
[2026-07-11 23:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650742016001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838510499954688,"note":"Value kept but may cause issues"} 
[2026-07-11 23:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887561000058845184,"note":"Value kept but may cause issues"} 
[2026-07-11 23:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783791965000,"timestamp_ms":1783791965000,"timestamp_seconds":1783791965,"priority":1,"record_length":96,"hex_timestamp":"0000019f52495348"} 
[2026-07-11 23:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650742016001,"66":27213,"49":206,"80":6400,"24":6,"16":345838510499954688,"45":887561000058845184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650742016001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:18:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:18:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838510499954688,"km_value":345838510499954.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":887561000058845184,"description":"Unknown IO ID 45"} 
[2026-07-11 23:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650742016001,"power":27213,"unknown_49":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":887561000058845184}} 
[2026-07-11 23:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":129109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:18:23] local.INFO: GPS data processed {"connection_id":129109,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:18:23] local.INFO: Acknowledgment sent {"connection_id":129109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:18:39] local.INFO: TCP Data received {"connection_id":128937,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:18:39] local.INFO: Processing buffer {"connection_id":128937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:18:39] local.INFO: IMEI packet received {"connection_id":128937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":128937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:18:44] local.INFO: TCP Data received {"connection_id":128937,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:18:44] local.INFO: Processing buffer {"connection_id":128937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:18:44] local.INFO: IMEI packet received {"connection_id":128937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":128937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:18:45] local.INFO: TCP Data received {"connection_id":128937,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52495f00012d0c4ec006ecfb50000a00bd33..."} 
[2026-07-11 23:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52495f00012d0c4ec006ecfb50000a00bd33..."} 
[2026-07-11 23:18:45] local.INFO: Processing buffer {"connection_id":128937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52495f00012d0c4ec006ecfb50000a00bd33..."} 
[2026-07-11 23:18:45] local.INFO: Packet analysis {"connection_id":128937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:18:45] local.INFO: Extracted packet for processing {"connection_id":128937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:18:45] local.INFO: GPS Element Parsed {"raw_longitude":755781312,"raw_latitude":116194128,"longitude_deg":75.5781312,"latitude_deg":11.6194128,"altitude":10,"angle":189,"satellites":51,"speed":9,"hex_longitude":"2d0c4ec0","hex_latitude":"06ecfb50","is_valid_coordinates":true} 
[2026-07-11 23:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650743040001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838540564725760,"note":"Value kept but may cause issues"} 
[2026-07-11 23:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887138787593652224,"note":"Value kept but may cause issues"} 
[2026-07-11 23:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783791968000,"timestamp_ms":1783791968000,"timestamp_seconds":1783791968,"priority":1,"record_length":96,"hex_timestamp":"0000019f52495f00"} 
[2026-07-11 23:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:18: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-07-11 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 23:18:45] 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-07-11 23:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650743040001,"66":27376,"49":206,"80":6400,"24":9,"16":345838540564725760,"45":887138787593652224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650743040001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:18:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:18:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838540564725760,"km_value":345838540564725.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":887138787593652224,"description":"Unknown IO ID 45"} 
[2026-07-11 23:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650743040001,"power":27376,"unknown_49":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":887138787593652224}} 
[2026-07-11 23:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":128937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:18:46] local.INFO: GPS data processed {"connection_id":128937,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:18:46] local.INFO: Acknowledgment sent {"connection_id":128937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:19:16] local.INFO: TCP Data received {"connection_id":128937,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5249b108012d0c4e8006ecf4e0000900b434..."} 
[2026-07-11 23:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5249b108012d0c4e8006ecf4e0000900b434..."} 
[2026-07-11 23:19:16] local.INFO: Processing buffer {"connection_id":128937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5249b108012d0c4e8006ecf4e0000900b434..."} 
[2026-07-11 23:19:16] local.INFO: Packet analysis {"connection_id":128937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:19:16] local.INFO: Extracted packet for processing {"connection_id":128937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5249"} 
[2026-07-11 23:19:16] local.INFO: GPS Element Parsed {"raw_longitude":755781248,"raw_latitude":116192480,"longitude_deg":75.5781248,"latitude_deg":11.619248,"altitude":9,"angle":180,"satellites":52,"speed":0,"hex_longitude":"2d0c4e80","hex_latitude":"06ecf4e0","is_valid_coordinates":true} 
[2026-07-11 23:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650743808001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838622169104384,"note":"Value kept but may cause issues"} 
[2026-07-11 23:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886857312616796160,"note":"Value kept but may cause issues"} 
[2026-07-11 23:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783791989000,"timestamp_ms":1783791989000,"timestamp_seconds":1783791989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5249b108"} 
[2026-07-11 23:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:19:16] 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-07-11 23:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650743808001,"66":27300,"49":206,"80":6400,"24":0,"16":345838622169104384,"45":886857312616796160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650743808001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:19:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:19:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838622169104384,"km_value":345838622169104.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":886857312616796160,"description":"Unknown IO ID 45"} 
[2026-07-11 23:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650743808001,"power":27300,"unknown_49":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":886857312616796160}} 
[2026-07-11 23:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":128937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:19:16] local.INFO: GPS data processed {"connection_id":128937,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:19:16] local.INFO: Acknowledgment sent {"connection_id":128937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:19:39] local.INFO: TCP Data received {"connection_id":131106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:19:39] local.INFO: Processing buffer {"connection_id":131106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:19:39] local.INFO: IMEI packet received {"connection_id":131106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":131106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:19:45] local.INFO: TCP Data received {"connection_id":131106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:19:45] local.INFO: Processing buffer {"connection_id":131106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:19:45] local.INFO: IMEI packet received {"connection_id":131106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":131106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:19:45] local.INFO: TCP Data received {"connection_id":131106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524a0310012d0c4d4006ecec68000a00bb32..."} 
[2026-07-11 23:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524a0310012d0c4d4006ecec68000a00bb32..."} 
[2026-07-11 23:19:45] local.INFO: Processing buffer {"connection_id":131106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524a0310012d0c4d4006ecec68000a00bb32..."} 
[2026-07-11 23:19:45] local.INFO: Packet analysis {"connection_id":131106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f524a"} 
[2026-07-11 23:19:45] local.INFO: Extracted packet for processing {"connection_id":131106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f524a"} 
[2026-07-11 23:19:45] local.INFO: GPS Element Parsed {"raw_longitude":755780928,"raw_latitude":116190312,"longitude_deg":75.5780928,"latitude_deg":11.6190312,"altitude":10,"angle":187,"satellites":50,"speed":3,"hex_longitude":"2d0c4d40","hex_latitude":"06ecec68","is_valid_coordinates":true} 
[2026-07-11 23:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650749184001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838733838254080,"note":"Value kept but may cause issues"} 
[2026-07-11 23:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886786943872196608,"note":"Value kept but may cause issues"} 
[2026-07-11 23:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783792010000,"timestamp_ms":1783792010000,"timestamp_seconds":1783792010,"priority":1,"record_length":96,"hex_timestamp":"0000019f524a0310"} 
[2026-07-11 23:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 23:19:45] 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-07-11 23:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650749184001,"66":27126,"49":206,"80":6400,"24":3,"16":345838733838254080,"45":886786943872196608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650749184001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:19:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:19:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838733838254080,"km_value":345838733838254.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":886786943872196608,"description":"Unknown IO ID 45"} 
[2026-07-11 23:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650749184001,"power":27126,"unknown_49":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":886786943872196608}} 
[2026-07-11 23:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":131106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:19:45] local.INFO: GPS data processed {"connection_id":131106,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:19:45] local.INFO: Acknowledgment sent {"connection_id":131106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:20:16] local.INFO: TCP Data received {"connection_id":131106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524a5518012d0c4d0006ece8b8000900bb31..."} 
[2026-07-11 23:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524a5518012d0c4d0006ece8b8000900bb31..."} 
[2026-07-11 23:20:16] local.INFO: Processing buffer {"connection_id":131106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524a5518012d0c4d0006ece8b8000900bb31..."} 
[2026-07-11 23:20:16] local.INFO: Packet analysis {"connection_id":131106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f524a"} 
[2026-07-11 23:20:16] local.INFO: Extracted packet for processing {"connection_id":131106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f524a"} 
[2026-07-11 23:20:16] local.INFO: GPS Element Parsed {"raw_longitude":755780864,"raw_latitude":116189368,"longitude_deg":75.5780864,"latitude_deg":11.6189368,"altitude":9,"angle":187,"satellites":49,"speed":0,"hex_longitude":"2d0c4d00","hex_latitude":"06ece8b8","is_valid_coordinates":true} 
[2026-07-11 23:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650754560001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838781082894336,"note":"Value kept but may cause issues"} 
[2026-07-11 23:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886435100150753280,"note":"Value kept but may cause issues"} 
[2026-07-11 23:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783792031000,"timestamp_ms":1783792031000,"timestamp_seconds":1783792031,"priority":1,"record_length":96,"hex_timestamp":"0000019f524a5518"} 
[2026-07-11 23:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-11 23:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650754560001,"66":27365,"49":206,"80":6400,"24":0,"16":345838781082894336,"45":886435100150753280},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650754560001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:20:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:20:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838781082894336,"km_value":345838781082894.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":886435100150753280,"description":"Unknown IO ID 45"} 
[2026-07-11 23:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650754560001,"power":27365,"unknown_49":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":886435100150753280}} 
[2026-07-11 23:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":131106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:20:16] local.INFO: GPS data processed {"connection_id":131106,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:20:16] local.INFO: Acknowledgment sent {"connection_id":131106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:20:40] local.INFO: TCP Data received {"connection_id":129110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:20:40] local.INFO: Processing buffer {"connection_id":129110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:20:40] local.INFO: IMEI packet received {"connection_id":129110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":129110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:20:45] local.INFO: TCP Data received {"connection_id":129110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:20:45] local.INFO: Processing buffer {"connection_id":129110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:20:45] local.INFO: IMEI packet received {"connection_id":129110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":129110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:20:54] local.INFO: TCP Data received {"connection_id":129110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524aa720012d0c4d0006ece8a0000900bb34..."} 
[2026-07-11 23:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524aa720012d0c4d0006ece8a0000900bb34..."} 
[2026-07-11 23:20:54] local.INFO: Processing buffer {"connection_id":129110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524aa720012d0c4d0006ece8a0000900bb34..."} 
[2026-07-11 23:20:54] local.INFO: Packet analysis {"connection_id":129110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f524a"} 
[2026-07-11 23:20:54] local.INFO: Extracted packet for processing {"connection_id":129110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f524a"} 
[2026-07-11 23:20:54] local.INFO: GPS Element Parsed {"raw_longitude":755780864,"raw_latitude":116189344,"longitude_deg":75.5780864,"latitude_deg":11.6189344,"altitude":9,"angle":187,"satellites":52,"speed":0,"hex_longitude":"2d0c4d00","hex_latitude":"06ece8a0","is_valid_coordinates":true} 
[2026-07-11 23:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650759936001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345838781082894336,"note":"Value kept but may cause issues"} 
[2026-07-11 23:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886364731406333952,"note":"Value kept but may cause issues"} 
[2026-07-11 23:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783792052000,"timestamp_ms":1783792052000,"timestamp_seconds":1783792052,"priority":1,"record_length":96,"hex_timestamp":"0000019f524aa720"} 
[2026-07-11 23:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:20:54] 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-07-11 23:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":129110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":129110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":129110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650759936001,"66":27267,"49":206,"80":6400,"24":0,"16":345838781082894336,"45":886364731406333952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-11 23:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650759936001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:20:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-11 23:20:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345838781082894336,"km_value":345838781082894.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":886364731406333952,"description":"Unknown IO ID 45"} 
[2026-07-11 23:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650759936001,"power":27267,"unknown_49":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":886364731406333952}} 
[2026-07-11 23:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":129110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:20:54] local.INFO: GPS data processed {"connection_id":129110,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:20:54] local.INFO: Acknowledgment sent {"connection_id":129110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:21:44] local.INFO: TCP Data received {"connection_id":129845,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:21:44] local.INFO: Processing buffer {"connection_id":129845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:21:44] local.INFO: IMEI packet received {"connection_id":129845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":129845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:21:49] local.INFO: TCP Data received {"connection_id":129845,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:21:49] local.INFO: Processing buffer {"connection_id":129845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:21:49] local.INFO: IMEI packet received {"connection_id":129845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":129845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:21:50] local.INFO: TCP Data received {"connection_id":129845,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524d75e0012d0c468006ec67e0001200b033..."} 
[2026-07-11 23:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524d75e0012d0c468006ec67e0001200b033..."} 
[2026-07-11 23:21:50] local.INFO: Processing buffer {"connection_id":129845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524d75e0012d0c468006ec67e0001200b033..."} 
[2026-07-11 23:21:50] local.INFO: Packet analysis {"connection_id":129845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f524d"} 
[2026-07-11 23:21:50] local.INFO: Extracted packet for processing {"connection_id":129845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f524d"} 
[2026-07-11 23:21:50] local.INFO: GPS Element Parsed {"raw_longitude":755779200,"raw_latitude":116156384,"longitude_deg":75.57792,"latitude_deg":11.6156384,"altitude":18,"angle":176,"satellites":51,"speed":16,"hex_longitude":"2d0c4680","hex_latitude":"06ec67e0","is_valid_coordinates":true} 
[2026-07-11 23:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650812416001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345840408875499520,"note":"Value kept but may cause issues"} 
[2026-07-11 23:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884535144049270784,"note":"Value kept but may cause issues"} 
[2026-07-11 23:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783792236000,"timestamp_ms":1783792236000,"timestamp_seconds":1783792236,"priority":1,"record_length":96,"hex_timestamp":"0000019f524d75e0"} 
[2026-07-11 23:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 23:21:50] 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-07-11 23:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":129845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":129845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":129845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650812416001,"66":27300,"50":206,"80":6400,"24":16,"16":345840408875499520,"45":884535144049270784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-11 23:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650812416001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:21:50] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 23:21:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345840408875499520,"km_value":345840408875499.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":884535144049270784,"description":"Unknown IO ID 45"} 
[2026-07-11 23:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650812416001,"power":27300,"unknown_50":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":884535144049270784}} 
[2026-07-11 23:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":129845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:21:50] local.INFO: GPS data processed {"connection_id":129845,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:21:50] local.INFO: Acknowledgment sent {"connection_id":129845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:22:22] local.INFO: TCP Data received {"connection_id":129845,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524d9cf0012d0c4a0006ec57c0001300a534..."} 
[2026-07-11 23:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524d9cf0012d0c4a0006ec57c0001300a534..."} 
[2026-07-11 23:22:22] local.INFO: Processing buffer {"connection_id":129845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524d9cf0012d0c4a0006ec57c0001300a534..."} 
[2026-07-11 23:22:22] local.INFO: Packet analysis {"connection_id":129845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f524d"} 
[2026-07-11 23:22:22] local.INFO: Extracted packet for processing {"connection_id":129845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f524d"} 
[2026-07-11 23:22:22] local.INFO: GPS Element Parsed {"raw_longitude":755780096,"raw_latitude":116152256,"longitude_deg":75.5780096,"latitude_deg":11.6152256,"altitude":19,"angle":165,"satellites":52,"speed":19,"hex_longitude":"2d0c4a00","hex_latitude":"06ec57c0","is_valid_coordinates":true} 
[2026-07-11 23:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650812416001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345840615033929728,"note":"Value kept but may cause issues"} 
[2026-07-11 23:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884535144049270784,"note":"Value kept but may cause issues"} 
[2026-07-11 23:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783792246000,"timestamp_ms":1783792246000,"timestamp_seconds":1783792246,"priority":1,"record_length":96,"hex_timestamp":"0000019f524d9cf0"} 
[2026-07-11 23:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 23:22:22] 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-07-11 23:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":129845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":129845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":129845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650812416001,"66":27332,"50":206,"80":6400,"24":19,"16":345840615033929728,"45":884535144049270784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-11 23:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650812416001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:22:22] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 23:22:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345840615033929728,"km_value":345840615033929.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":884535144049270784,"description":"Unknown IO ID 45"} 
[2026-07-11 23:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650812416001,"power":27332,"unknown_50":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":884535144049270784}} 
[2026-07-11 23:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":129845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:22:22] local.INFO: GPS data processed {"connection_id":129845,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:22:22] local.INFO: Acknowledgment sent {"connection_id":129845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:22:48] local.INFO: TCP Data received {"connection_id":129112,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:22:48] local.INFO: Processing buffer {"connection_id":129112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:22:48] local.INFO: IMEI packet received {"connection_id":129112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":129112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:22:49] local.INFO: TCP Data received {"connection_id":129112,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:22:49] local.INFO: Processing buffer {"connection_id":129112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:22:49] local.INFO: IMEI packet received {"connection_id":129112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":129112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:22:54] local.INFO: TCP Data received {"connection_id":129112,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:22:54] local.INFO: Processing buffer {"connection_id":129112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:22:54] local.INFO: IMEI packet received {"connection_id":129112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":129112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:22:56] local.INFO: TCP Data received {"connection_id":129112,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524db460012d0c4e8006ec4c780014009932..."} 
[2026-07-11 23:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524db460012d0c4e8006ec4c780014009932..."} 
[2026-07-11 23:22:56] local.INFO: Processing buffer {"connection_id":129112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524db460012d0c4e8006ec4c780014009932..."} 
[2026-07-11 23:22:56] local.INFO: Packet analysis {"connection_id":129112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f524d"} 
[2026-07-11 23:22:56] local.INFO: Extracted packet for processing {"connection_id":129112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f524d"} 
[2026-07-11 23:22:56] local.INFO: GPS Element Parsed {"raw_longitude":755781248,"raw_latitude":116149368,"longitude_deg":75.5781248,"latitude_deg":11.6149368,"altitude":20,"angle":153,"satellites":50,"speed":20,"hex_longitude":"2d0c4e80","hex_latitude":"06ec4c78","is_valid_coordinates":true} 
[2026-07-11 23:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650814976001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345840765357785088,"note":"Value kept but may cause issues"} 
[2026-07-11 23:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306466701312,"note":"Value kept but may cause issues"} 
[2026-07-11 23:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783792252000,"timestamp_ms":1783792252000,"timestamp_seconds":1783792252,"priority":1,"record_length":96,"hex_timestamp":"0000019f524db460"} 
[2026-07-11 23:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 23:22:56] 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-07-11 23:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":129112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":129112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":129112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650814976001,"66":27321,"50":206,"80":6400,"24":20,"16":345840765357785088,"45":885520306466701312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-11 23:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650814976001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:22:56] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 23:22:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345840765357785088,"km_value":345840765357785.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306466701312,"description":"Unknown IO ID 45"} 
[2026-07-11 23:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650814976001,"power":27321,"unknown_50":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":885520306466701312}} 
[2026-07-11 23:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":129112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:22:56] local.INFO: GPS data processed {"connection_id":129112,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:22:56] local.INFO: Acknowledgment sent {"connection_id":129112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:23:17] local.INFO: TCP Data received {"connection_id":129846,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:23:17] local.INFO: Processing buffer {"connection_id":129846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:23:17] local.INFO: IMEI packet received {"connection_id":129846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":129846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:23:38] local.INFO: TCP Data received {"connection_id":129113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:23:38] local.INFO: Processing buffer {"connection_id":129113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:23:38] local.INFO: IMEI packet received {"connection_id":129113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":129113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:23:39] local.INFO: TCP Data received {"connection_id":129113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:23:39] local.INFO: Processing buffer {"connection_id":129113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:23:39] local.INFO: IMEI packet received {"connection_id":129113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":129113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:23:44] local.INFO: TCP Data received {"connection_id":128938,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:23:44] local.INFO: Processing buffer {"connection_id":128938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:23:44] local.INFO: IMEI packet received {"connection_id":128938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":128938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:23:44] local.INFO: TCP Data received {"connection_id":129113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:23:44] local.INFO: Processing buffer {"connection_id":129113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:23:44] local.INFO: IMEI packet received {"connection_id":129113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":129113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:23:45] local.INFO: TCP Data received {"connection_id":129113,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524dfab0012d0c5d8006ec2b300014009d33..."} 
[2026-07-11 23:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524dfab0012d0c5d8006ec2b300014009d33..."} 
[2026-07-11 23:23:45] local.INFO: Processing buffer {"connection_id":129113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524dfab0012d0c5d8006ec2b300014009d33..."} 
[2026-07-11 23:23:45] local.INFO: Packet analysis {"connection_id":129113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f524d"} 
[2026-07-11 23:23:45] local.INFO: Extracted packet for processing {"connection_id":129113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f524d"} 
[2026-07-11 23:23:45] local.INFO: GPS Element Parsed {"raw_longitude":755785088,"raw_latitude":116140848,"longitude_deg":75.5785088,"latitude_deg":11.6140848,"altitude":20,"angle":157,"satellites":51,"speed":20,"hex_longitude":"2d0c5d80","hex_latitude":"06ec2b30","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650816512001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345841216329351168,"note":"Value kept but may cause issues"} 
[2026-07-11 23:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886786943861159936,"note":"Value kept but may cause issues"} 
[2026-07-11 23:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783792270000,"timestamp_ms":1783792270000,"timestamp_seconds":1783792270,"priority":1,"record_length":96,"hex_timestamp":"0000019f524dfab0"} 
[2026-07-11 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-07-11 23:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 23:23:45] 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-07-11 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-07-11 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-07-11 23:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650816512001,"66":27213,"50":206,"80":6400,"24":20,"16":345841216329351168,"45":886786943861159936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-11 23:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650816512001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:23:45] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 23:23:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345841216329351168,"km_value":345841216329351.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":886786943861159936,"description":"Unknown IO ID 45"} 
[2026-07-11 23:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650816512001,"power":27213,"unknown_50":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":886786943861159936}} 
[2026-07-11 23:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":129113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:23:45] local.INFO: GPS data processed {"connection_id":129113,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:23:45] local.INFO: Acknowledgment sent {"connection_id":129113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:24:16] local.INFO: TCP Data received {"connection_id":129113,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f524e25a8012d0c644006ec1878001300a833..."} 
[2026-07-11 23:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f524e25a8012d0c644006ec1878001300a833..."} 
[2026-07-11 23:24:16] local.INFO: Processing buffer {"connection_id":129113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f524e25a8012d0c644006ec1878001300a833..."} 
[2026-07-11 23:24:16] local.INFO: Packet analysis {"connection_id":129113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f524e"} 
[2026-07-11 23:24:16] local.INFO: Extracted packet for processing {"connection_id":129113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f524e"} 
[2026-07-11 23:24:16] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":116136056,"longitude_deg":75.5786816,"latitude_deg":11.6136056,"altitude":19,"angle":168,"satellites":51,"speed":23,"hex_longitude":"2d0c6440","hex_latitude":"06ec1878","is_valid_coordinates":true} 
[2026-07-11 23:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650821120001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345841465437454336,"note":"Value kept but may cause issues"} 
[2026-07-11 23:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891009068509638656,"note":"Value kept but may cause issues"} 
[2026-07-11 23:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783792281000,"timestamp_ms":1783792281000,"timestamp_seconds":1783792281,"priority":1,"record_length":96,"hex_timestamp":"0000019f524e25a8"} 
[2026-07-11 23:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-11 23:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650821120001,"66":27463,"50":206,"80":6400,"24":23,"16":345841465437454336,"45":891009068509638656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-11 23:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650821120001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:24:16] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-11 23:24:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345841465437454336,"km_value":345841465437454.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":891009068509638656,"description":"Unknown IO ID 45"} 
[2026-07-11 23:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650821120001,"power":27463,"unknown_50":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":891009068509638656}} 
[2026-07-11 23:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":129113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:24:16] local.INFO: GPS data processed {"connection_id":129113,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:24:16] local.INFO: Acknowledgment sent {"connection_id":129113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:24:38] local.INFO: TCP Data received {"connection_id":131107,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:24:38] local.INFO: Processing buffer {"connection_id":131107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:24:38] local.INFO: IMEI packet received {"connection_id":131107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":131107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:24:39] local.INFO: TCP Data received {"connection_id":131107,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:24:39] local.INFO: Processing buffer {"connection_id":131107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:24:39] local.INFO: IMEI packet received {"connection_id":131107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":131107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:24:44] local.INFO: TCP Data received {"connection_id":131107,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:24:44] local.INFO: Processing buffer {"connection_id":131107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:24:44] local.INFO: IMEI packet received {"connection_id":131107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":131107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:24:45] local.INFO: TCP Data received {"connection_id":131107,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52502178012d0ce4c006eb51000016007c30..."} 
[2026-07-11 23:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52502178012d0ce4c006eb51000016007c30..."} 
[2026-07-11 23:24:45] local.INFO: Processing buffer {"connection_id":131107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52502178012d0ce4c006eb51000016007c30..."} 
[2026-07-11 23:24:45] local.INFO: Packet analysis {"connection_id":131107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:24:45] local.INFO: Extracted packet for processing {"connection_id":131107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:24:45] local.INFO: GPS Element Parsed {"raw_longitude":755819712,"raw_latitude":116084992,"longitude_deg":75.5819712,"latitude_deg":11.6084992,"altitude":22,"angle":124,"satellites":48,"speed":25,"hex_longitude":"2d0ce4c0","hex_latitude":"06eb5100","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650853120001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345844630828351488,"note":"Value kept but may cause issues"} 
[2026-07-11 23:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":920352834818715648,"note":"Value kept but may cause issues"} 
[2026-07-11 23:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783792411000,"timestamp_ms":1783792411000,"timestamp_seconds":1783792411,"priority":1,"record_length":96,"hex_timestamp":"0000019f52502178"} 
[2026-07-11 23:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23: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-07-11 23:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650853120001,"66":27332,"84":206,"80":6400,"24":25,"16":345844630828351488,"45":920352834818715648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-11 23:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650853120001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:24:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-11 23:24:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345844630828351488,"km_value":345844630828351.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":920352834818715648,"description":"Unknown IO ID 45"} 
[2026-07-11 23:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650853120001,"power":27332,"unknown_84":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":920352834818715648}} 
[2026-07-11 23:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":131107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:24:45] local.INFO: GPS data processed {"connection_id":131107,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:24:45] local.INFO: Acknowledgment sent {"connection_id":131107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:25:17] local.INFO: TCP Data received {"connection_id":131107,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52505440012d0d004006eb3e88001200872c..."} 
[2026-07-11 23:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52505440012d0d004006eb3e88001200872c..."} 
[2026-07-11 23:25:17] local.INFO: Processing buffer {"connection_id":131107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52505440012d0d004006eb3e88001200872c..."} 
[2026-07-11 23:25:17] local.INFO: Packet analysis {"connection_id":131107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:25:17] local.INFO: Extracted packet for processing {"connection_id":131107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:25:17] local.INFO: GPS Element Parsed {"raw_longitude":755826752,"raw_latitude":116080264,"longitude_deg":75.5826752,"latitude_deg":11.6080264,"altitude":18,"angle":135,"satellites":44,"speed":21,"hex_longitude":"2d0d0040","hex_latitude":"06eb3e88","is_valid_coordinates":true} 
[2026-07-11 23:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650857216001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345845034555277312,"note":"Value kept but may cause issues"} 
[2026-07-11 23:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929078559095455744,"note":"Value kept but may cause issues"} 
[2026-07-11 23:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783792424000,"timestamp_ms":1783792424000,"timestamp_seconds":1783792424,"priority":1,"record_length":96,"hex_timestamp":"0000019f52505440"} 
[2026-07-11 23:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 23:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650857216001,"66":27365,"84":206,"80":6400,"24":21,"16":345845034555277312,"45":929078559095455744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-11 23:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650857216001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:25:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-11 23:25:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345845034555277312,"km_value":345845034555277.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":929078559095455744,"description":"Unknown IO ID 45"} 
[2026-07-11 23:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650857216001,"power":27365,"unknown_84":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":929078559095455744}} 
[2026-07-11 23:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":131107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:25:17] local.INFO: GPS data processed {"connection_id":131107,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:25:17] local.INFO: Acknowledgment sent {"connection_id":131107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:25:39] local.INFO: TCP Data received {"connection_id":129115,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:25:39] local.INFO: Processing buffer {"connection_id":129115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:25:39] local.INFO: IMEI packet received {"connection_id":129115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":129115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:25:44] local.INFO: TCP Data received {"connection_id":129115,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:25:44] local.INFO: Processing buffer {"connection_id":129115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:25:44] local.INFO: IMEI packet received {"connection_id":129115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":129115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:25:46] local.INFO: TCP Data received {"connection_id":129115,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52505828012d0d014006eb3cf8001200922f..."} 
[2026-07-11 23:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52505828012d0d014006eb3cf8001200922f..."} 
[2026-07-11 23:25:46] local.INFO: Processing buffer {"connection_id":129115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52505828012d0d014006eb3cf8001200922f..."} 
[2026-07-11 23:25:46] local.INFO: Packet analysis {"connection_id":129115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:25:46] local.INFO: Extracted packet for processing {"connection_id":129115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:25:46] local.INFO: GPS Element Parsed {"raw_longitude":755827008,"raw_latitude":116079864,"longitude_deg":75.5827008,"latitude_deg":11.6079864,"altitude":18,"angle":146,"satellites":47,"speed":20,"hex_longitude":"2d0d0140","hex_latitude":"06eb3cf8","is_valid_coordinates":true} 
[2026-07-11 23:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650860544001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345845060325081088,"note":"Value kept but may cause issues"} 
[2026-07-11 23:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":936819120953788416,"note":"Value kept but may cause issues"} 
[2026-07-11 23:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783792425000,"timestamp_ms":1783792425000,"timestamp_seconds":1783792425,"priority":1,"record_length":96,"hex_timestamp":"0000019f52505828"} 
[2026-07-11 23:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:25:46] 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-07-11 23:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650860544001,"66":27365,"84":206,"80":6400,"24":20,"16":345845060325081088,"45":936819120953788416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-11 23:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650860544001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:25:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-11 23:25:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345845060325081088,"km_value":345845060325081.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":936819120953788416,"description":"Unknown IO ID 45"} 
[2026-07-11 23:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650860544001,"power":27365,"unknown_84":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":936819120953788416}} 
[2026-07-11 23:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":129115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:25:46] local.INFO: GPS data processed {"connection_id":129115,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:25:46] local.INFO: Acknowledgment sent {"connection_id":129115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:26:17] local.INFO: TCP Data received {"connection_id":129115,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52506bb0012d0d078006eb3468001100812c..."} 
[2026-07-11 23:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52506bb0012d0d078006eb3468001100812c..."} 
[2026-07-11 23:26:17] local.INFO: Processing buffer {"connection_id":129115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52506bb0012d0d078006eb3468001100812c..."} 
[2026-07-11 23:26:17] local.INFO: Packet analysis {"connection_id":129115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:26:17] local.INFO: Extracted packet for processing {"connection_id":129115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:26:17] local.INFO: GPS Element Parsed {"raw_longitude":755828608,"raw_latitude":116077672,"longitude_deg":75.5828608,"latitude_deg":11.6077672,"altitude":17,"angle":129,"satellites":44,"speed":25,"hex_longitude":"2d0d0780","hex_latitude":"06eb3468","is_valid_coordinates":true} 
[2026-07-11 23:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650860800001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345845193469067264,"note":"Value kept but may cause issues"} 
[2026-07-11 23:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":937100595930396672,"note":"Value kept but may cause issues"} 
[2026-07-11 23:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783792430000,"timestamp_ms":1783792430000,"timestamp_seconds":1783792430,"priority":1,"record_length":96,"hex_timestamp":"0000019f52506bb0"} 
[2026-07-11 23:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650860800001,"66":27343,"84":206,"80":6400,"24":25,"16":345845193469067264,"45":937100595930396672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-11 23:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650860800001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:26:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-11 23:26:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345845193469067264,"km_value":345845193469067.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":937100595930396672,"description":"Unknown IO ID 45"} 
[2026-07-11 23:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650860800001,"power":27343,"unknown_84":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":937100595930396672}} 
[2026-07-11 23:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":129115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:26:17] local.INFO: GPS data processed {"connection_id":129115,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:26:17] local.INFO: Acknowledgment sent {"connection_id":129115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:26:39] local.INFO: TCP Data received {"connection_id":128939,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:26:39] local.INFO: Processing buffer {"connection_id":128939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:26:39] local.INFO: IMEI packet received {"connection_id":128939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":128939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:26:45] local.INFO: TCP Data received {"connection_id":128939,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:26:45] local.INFO: Processing buffer {"connection_id":128939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:26:45] local.INFO: IMEI packet received {"connection_id":128939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":128939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:26:46] local.INFO: TCP Data received {"connection_id":128939,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525092c0012d0d1f8006eb26100011007530..."} 
[2026-07-11 23:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525092c0012d0d1f8006eb26100011007530..."} 
[2026-07-11 23:26:46] local.INFO: Processing buffer {"connection_id":128939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525092c0012d0d1f8006eb26100011007530..."} 
[2026-07-11 23:26:46] local.INFO: Packet analysis {"connection_id":128939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:26:46] local.INFO: Extracted packet for processing {"connection_id":128939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:26:46] local.INFO: GPS Element Parsed {"raw_longitude":755834752,"raw_latitude":116074000,"longitude_deg":75.5834752,"latitude_deg":11.6074,"altitude":17,"angle":117,"satellites":48,"speed":30,"hex_longitude":"2d0d1f80","hex_latitude":"06eb2610","is_valid_coordinates":true} 
[2026-07-11 23:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650862080001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345845532771483648,"note":"Value kept but may cause issues"} 
[2026-07-11 23:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":938859814534277120,"note":"Value kept but may cause issues"} 
[2026-07-11 23:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783792440000,"timestamp_ms":1783792440000,"timestamp_seconds":1783792440,"priority":1,"record_length":96,"hex_timestamp":"0000019f525092c0"} 
[2026-07-11 23:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:26: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-07-11 23:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:26: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-07-11 23:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":128939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":128939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":128939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650862080001,"66":27321,"84":206,"80":6400,"24":30,"16":345845532771483648,"45":938859814534277120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-11 23:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650862080001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:26:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-11 23:26:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345845532771483648,"km_value":345845532771483.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":938859814534277120,"description":"Unknown IO ID 45"} 
[2026-07-11 23:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650862080001,"power":27321,"unknown_84":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":938859814534277120}} 
[2026-07-11 23:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":128939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:26:46] local.INFO: GPS data processed {"connection_id":128939,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:26:46] local.INFO: Acknowledgment sent {"connection_id":128939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:27:17] local.INFO: TCP Data received {"connection_id":128939,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5250ae18012d0d330006eb1dc80011006930..."} 
[2026-07-11 23:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5250ae18012d0d330006eb1dc80011006930..."} 
[2026-07-11 23:27:17] local.INFO: Processing buffer {"connection_id":128939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5250ae18012d0d330006eb1dc80011006930..."} 
[2026-07-11 23:27:17] local.INFO: Packet analysis {"connection_id":128939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:27:17] local.INFO: Extracted packet for processing {"connection_id":128939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:27:17] local.INFO: GPS Element Parsed {"raw_longitude":755839744,"raw_latitude":116071880,"longitude_deg":75.5839744,"latitude_deg":11.607188,"altitude":17,"angle":105,"satellites":48,"speed":30,"hex_longitude":"2d0d3300","hex_latitude":"06eb1dc8","is_valid_coordinates":true} 
[2026-07-11 23:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650864640001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345845794764488704,"note":"Value kept but may cause issues"} 
[2026-07-11 23:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":945615213974392832,"note":"Value kept but may cause issues"} 
[2026-07-11 23:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783792447000,"timestamp_ms":1783792447000,"timestamp_seconds":1783792447,"priority":1,"record_length":96,"hex_timestamp":"0000019f5250ae18"} 
[2026-07-11 23:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 23:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650864640001,"66":27321,"84":206,"80":6400,"24":30,"16":345845794764488704,"45":945615213974392832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-11 23:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650864640001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:27:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-11 23:27:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345845794764488704,"km_value":345845794764488.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":945615213974392832,"description":"Unknown IO ID 45"} 
[2026-07-11 23:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650864640001,"power":27321,"unknown_84":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":945615213974392832}} 
[2026-07-11 23:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":128939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:27:17] local.INFO: GPS data processed {"connection_id":128939,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:27:17] local.INFO: Acknowledgment sent {"connection_id":128939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:27:39] local.INFO: TCP Data received {"connection_id":131108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:27:39] local.INFO: Processing buffer {"connection_id":131108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:27:39] local.INFO: IMEI packet received {"connection_id":131108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":131108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:27:44] local.INFO: TCP Data received {"connection_id":131108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:27:44] local.INFO: Processing buffer {"connection_id":131108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:27:44] local.INFO: IMEI packet received {"connection_id":131108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":131108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:27:46] local.INFO: TCP Data received {"connection_id":131108,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5250ec98012d0d560006eb13980017007031..."} 
[2026-07-11 23:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5250ec98012d0d560006eb13980017007031..."} 
[2026-07-11 23:27:46] local.INFO: Processing buffer {"connection_id":131108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5250ec98012d0d560006eb13980017007031..."} 
[2026-07-11 23:27:46] local.INFO: Packet analysis {"connection_id":131108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:27:46] local.INFO: Extracted packet for processing {"connection_id":131108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5250"} 
[2026-07-11 23:27:46] local.INFO: GPS Element Parsed {"raw_longitude":755848704,"raw_latitude":116069272,"longitude_deg":75.5848704,"latitude_deg":11.6069272,"altitude":23,"angle":112,"satellites":49,"speed":21,"hex_longitude":"2d0d5600","hex_latitude":"06eb1398","is_valid_coordinates":true} 
[2026-07-11 23:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650866432001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345846237146120192,"note":"Value kept but may cause issues"} 
[2026-07-11 23:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951103976019707904,"note":"Value kept but may cause issues"} 
[2026-07-11 23:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783792463000,"timestamp_ms":1783792463000,"timestamp_seconds":1783792463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5250ec98"} 
[2026-07-11 23:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 23:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650866432001,"66":27289,"82":206,"80":6400,"24":21,"16":345846237146120192,"45":951103976019707904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-11 23:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650866432001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:27:46] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-11 23:27:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345846237146120192,"km_value":345846237146120.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":951103976019707904,"description":"Unknown IO ID 45"} 
[2026-07-11 23:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650866432001,"power":27289,"unknown_82":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":951103976019707904}} 
[2026-07-11 23:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":131108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:27:46] local.INFO: GPS data processed {"connection_id":131108,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:27:46] local.INFO: Acknowledgment sent {"connection_id":131108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:28:17] local.INFO: TCP Data received {"connection_id":131108,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5253c710012d0e6c8006ea4860001500a232..."} 
[2026-07-11 23:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5253c710012d0e6c8006ea4860001500a232..."} 
[2026-07-11 23:28:17] local.INFO: Processing buffer {"connection_id":131108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5253c710012d0e6c8006ea4860001500a232..."} 
[2026-07-11 23:28:17] local.INFO: Packet analysis {"connection_id":131108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5253"} 
[2026-07-11 23:28:17] local.INFO: Extracted packet for processing {"connection_id":131108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5253"} 
[2026-07-11 23:28:17] local.INFO: GPS Element Parsed {"raw_longitude":755920000,"raw_latitude":116017248,"longitude_deg":75.592,"latitude_deg":11.6017248,"altitude":21,"angle":162,"satellites":50,"speed":8,"hex_longitude":"2d0e6c80","hex_latitude":"06ea4860","is_valid_coordinates":true} 
[2026-07-11 23:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650915584001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345850609422827520,"note":"Value kept but may cause issues"} 
[2026-07-11 23:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037446425112391680,"note":"Value kept but may cause issues"} 
[2026-07-11 23:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783792650000,"timestamp_ms":1783792650000,"timestamp_seconds":1783792650,"priority":1,"record_length":96,"hex_timestamp":"0000019f5253c710"} 
[2026-07-11 23:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:28:17] 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-07-11 23:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650915584001,"66":27376,"34":206,"80":6400,"24":8,"16":345850609422827520,"45":1037446425112391680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-07-11 23:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650915584001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:28:17] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 23:28:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345850609422827520,"km_value":345850609422827.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037446425112391680,"description":"Unknown IO ID 45"} 
[2026-07-11 23:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650915584001,"power":27376,"unknown_34":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1037446425112391680}} 
[2026-07-11 23:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":131108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:28:17] local.INFO: GPS data processed {"connection_id":131108,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:28:17] local.INFO: Acknowledgment sent {"connection_id":131108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:28:54] local.INFO: TCP Data received {"connection_id":129849,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:28:54] local.INFO: Processing buffer {"connection_id":129849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:28:54] local.INFO: IMEI packet received {"connection_id":129849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":129849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:28:55] local.INFO: TCP Data received {"connection_id":129849,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:28:55] local.INFO: Processing buffer {"connection_id":129849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:28:55] local.INFO: IMEI packet received {"connection_id":129849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":129849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:28:56] local.INFO: TCP Data received {"connection_id":129849,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:28:56] local.INFO: Processing buffer {"connection_id":129849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:28:56] local.INFO: IMEI packet received {"connection_id":129849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":129849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:28:57] local.INFO: TCP Data received {"connection_id":129849,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5253cee0012d0e6d0006ea46d0001500b232..."} 
[2026-07-11 23:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5253cee0012d0e6d0006ea46d0001500b232..."} 
[2026-07-11 23:28:57] local.INFO: Processing buffer {"connection_id":129849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5253cee0012d0e6d0006ea46d0001500b232..."} 
[2026-07-11 23:28:57] local.INFO: Packet analysis {"connection_id":129849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5253"} 
[2026-07-11 23:28:57] local.INFO: Extracted packet for processing {"connection_id":129849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5253"} 
[2026-07-11 23:28:57] local.INFO: GPS Element Parsed {"raw_longitude":755920128,"raw_latitude":116016848,"longitude_deg":75.5920128,"latitude_deg":11.6016848,"altitude":21,"angle":178,"satellites":50,"speed":7,"hex_longitude":"2d0e6d00","hex_latitude":"06ea46d0","is_valid_coordinates":true} 
[2026-07-11 23:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650918400001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345850626602696704,"note":"Value kept but may cause issues"} 
[2026-07-11 23:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1039346381204512768,"note":"Value kept but may cause issues"} 
[2026-07-11 23:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783792652000,"timestamp_ms":1783792652000,"timestamp_seconds":1783792652,"priority":1,"record_length":96,"hex_timestamp":"0000019f5253cee0"} 
[2026-07-11 23:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:28:57] 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-07-11 23:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":129849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":129849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":129849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650918400001,"66":27376,"34":206,"80":6400,"24":7,"16":345850626602696704,"45":1039346381204512768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-07-11 23:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650918400001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:28:57] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-11 23:28:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345850626602696704,"km_value":345850626602696.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1039346381204512768,"description":"Unknown IO ID 45"} 
[2026-07-11 23:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650918400001,"power":27376,"unknown_34":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1039346381204512768}} 
[2026-07-11 23:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":129849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:28:57] local.INFO: GPS data processed {"connection_id":129849,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:28:57] local.INFO: Acknowledgment sent {"connection_id":129849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:28:59] local.INFO: TCP Data received {"connection_id":129848,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:28:59] local.INFO: Processing buffer {"connection_id":129848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:28:59] local.INFO: IMEI packet received {"connection_id":129848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":129848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:29:39] local.INFO: TCP Data received {"connection_id":129850,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:29:39] local.INFO: Processing buffer {"connection_id":129850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:29:39] local.INFO: IMEI packet received {"connection_id":129850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":129850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:29:40] local.INFO: TCP Data received {"connection_id":129850,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:29:40] local.INFO: Processing buffer {"connection_id":129850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:29:40] local.INFO: IMEI packet received {"connection_id":129850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":129850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:29:43] local.INFO: TCP Data received {"connection_id":129850,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:29:43] local.INFO: Processing buffer {"connection_id":129850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:29:43] local.INFO: IMEI packet received {"connection_id":129850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":129850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:29:44] local.INFO: TCP Data received {"connection_id":128940,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:29:44] local.INFO: Processing buffer {"connection_id":128940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:29:44] local.INFO: IMEI packet received {"connection_id":128940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":128940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:29:44] local.INFO: TCP Data received {"connection_id":129850,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52551318012d0dfa4006e9ec38001700e82e..."} 
[2026-07-11 23:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52551318012d0dfa4006e9ec38001700e82e..."} 
[2026-07-11 23:29:44] local.INFO: Processing buffer {"connection_id":129850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52551318012d0dfa4006e9ec38001700e82e..."} 
[2026-07-11 23:29:44] local.INFO: Packet analysis {"connection_id":129850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:29:44] local.INFO: Extracted packet for processing {"connection_id":129850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:29:44] local.INFO: GPS Element Parsed {"raw_longitude":755890752,"raw_latitude":115993656,"longitude_deg":75.5890752,"latitude_deg":11.5993656,"altitude":23,"angle":232,"satellites":46,"speed":29,"hex_longitude":"2d0dfa40","hex_latitude":"06e9ec38","is_valid_coordinates":true} 
[2026-07-11 23:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650940160001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345852533568176128,"note":"Value kept but may cause issues"} 
[2026-07-11 23:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1007187865109280768,"note":"Value kept but may cause issues"} 
[2026-07-11 23:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783792735000,"timestamp_ms":1783792735000,"timestamp_seconds":1783792735,"priority":1,"record_length":96,"hex_timestamp":"0000019f52551318"} 
[2026-07-11 23:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650940160001,"66":27365,"56":206,"80":6400,"24":29,"16":345852533568176128,"45":1007187865109280768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,80,24,16,45]} 
[2026-07-11 23:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650940160001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:29:44] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-07-11 23:29:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345852533568176128,"km_value":345852533568176.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1007187865109280768,"description":"Unknown IO ID 45"} 
[2026-07-11 23:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650940160001,"power":27365,"unknown_56":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":1007187865109280768}} 
[2026-07-11 23:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":129850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:29:44] local.INFO: GPS data processed {"connection_id":129850,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:29:44] local.INFO: Acknowledgment sent {"connection_id":129850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:30:16] local.INFO: TCP Data received {"connection_id":129850,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52552e70012d0de94006e9e190001700f42d..."} 
[2026-07-11 23:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52552e70012d0de94006e9e190001700f42d..."} 
[2026-07-11 23:30:16] local.INFO: Processing buffer {"connection_id":129850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52552e70012d0de94006e9e190001700f42d..."} 
[2026-07-11 23:30:16] local.INFO: Packet analysis {"connection_id":129850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:30:16] local.INFO: Extracted packet for processing {"connection_id":129850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:30:16] local.INFO: GPS Element Parsed {"raw_longitude":755886400,"raw_latitude":115990928,"longitude_deg":75.58864,"latitude_deg":11.5990928,"altitude":23,"angle":244,"satellites":45,"speed":23,"hex_longitude":"2d0de940","hex_latitude":"06e9e190","is_valid_coordinates":true} 
[2026-07-11 23:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650940160001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345852778381312000,"note":"Value kept but may cause issues"} 
[2026-07-11 23:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1007187865109280768,"note":"Value kept but may cause issues"} 
[2026-07-11 23:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783792742000,"timestamp_ms":1783792742000,"timestamp_seconds":1783792742,"priority":1,"record_length":96,"hex_timestamp":"0000019f52552e70"} 
[2026-07-11 23:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":129850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":129850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":129850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650940160001,"66":27267,"56":206,"80":6400,"24":23,"16":345852778381312000,"45":1007187865109280768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,80,24,16,45]} 
[2026-07-11 23:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650940160001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:30:16] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-07-11 23:30:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345852778381312000,"km_value":345852778381312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1007187865109280768,"description":"Unknown IO ID 45"} 
[2026-07-11 23:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650940160001,"power":27267,"unknown_56":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":1007187865109280768}} 
[2026-07-11 23:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":129850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:30:16] local.INFO: GPS data processed {"connection_id":129850,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:30:16] local.INFO: Acknowledgment sent {"connection_id":129850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:30:39] local.INFO: TCP Data received {"connection_id":131109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:30:39] local.INFO: Processing buffer {"connection_id":131109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:30:39] local.INFO: IMEI packet received {"connection_id":131109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":131109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:30:44] local.INFO: TCP Data received {"connection_id":131109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:30:44] local.INFO: Processing buffer {"connection_id":131109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:30:44] local.INFO: IMEI packet received {"connection_id":131109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":131109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:30:48] local.INFO: TCP Data received {"connection_id":131109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52553a28012d0de34006e9df40001701002e..."} 
[2026-07-11 23:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52553a28012d0de34006e9df40001701002e..."} 
[2026-07-11 23:30:48] local.INFO: Processing buffer {"connection_id":131109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52553a28012d0de34006e9df40001701002e..."} 
[2026-07-11 23:30:48] local.INFO: Packet analysis {"connection_id":131109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:30:48] local.INFO: Extracted packet for processing {"connection_id":131109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:30:48] local.INFO: GPS Element Parsed {"raw_longitude":755884864,"raw_latitude":115990336,"longitude_deg":75.5884864,"latitude_deg":11.5990336,"altitude":23,"angle":256,"satellites":46,"speed":20,"hex_longitude":"2d0de340","hex_latitude":"06e9df40","is_valid_coordinates":true} 
[2026-07-11 23:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650941952001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345852855690723328,"note":"Value kept but may cause issues"} 
[2026-07-11 23:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002402790504501248,"note":"Value kept but may cause issues"} 
[2026-07-11 23:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783792745000,"timestamp_ms":1783792745000,"timestamp_seconds":1783792745,"priority":1,"record_length":96,"hex_timestamp":"0000019f52553a28"} 
[2026-07-11 23:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:30:48] 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-07-11 23:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650941952001,"66":27376,"56":206,"80":6400,"24":20,"16":345852855690723328,"45":1002402790504501248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,80,24,16,45]} 
[2026-07-11 23:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650941952001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:30:48] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-07-11 23:30:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345852855690723328,"km_value":345852855690723.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002402790504501248,"description":"Unknown IO ID 45"} 
[2026-07-11 23:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650941952001,"power":27376,"unknown_56":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":1002402790504501248}} 
[2026-07-11 23:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":131109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:30:48] local.INFO: GPS data processed {"connection_id":131109,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:30:48] local.INFO: Acknowledgment sent {"connection_id":131109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:31:22] local.INFO: TCP Data received {"connection_id":131109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52558c30012d0dcbc006e9da70002200ff31..."} 
[2026-07-11 23:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52558c30012d0dcbc006e9da70002200ff31..."} 
[2026-07-11 23:31:22] local.INFO: Processing buffer {"connection_id":131109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52558c30012d0dcbc006e9da70002200ff31..."} 
[2026-07-11 23:31:22] local.INFO: Packet analysis {"connection_id":131109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:31:22] local.INFO: Extracted packet for processing {"connection_id":131109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:31:22] local.INFO: GPS Element Parsed {"raw_longitude":755878848,"raw_latitude":115989104,"longitude_deg":75.5878848,"latitude_deg":11.5989104,"altitude":34,"angle":255,"satellites":49,"speed":0,"hex_longitude":"2d0dcbc0","hex_latitude":"06e9da70","is_valid_coordinates":true} 
[2026-07-11 23:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650942720001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345853152043466752,"note":"Value kept but may cause issues"} 
[2026-07-11 23:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1000713940644085760,"note":"Value kept but may cause issues"} 
[2026-07-11 23:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783792766000,"timestamp_ms":1783792766000,"timestamp_seconds":1783792766,"priority":1,"record_length":96,"hex_timestamp":"0000019f52558c30"} 
[2026-07-11 23:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:31:22] 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-07-11 23:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":131109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":131109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":131109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650942720001,"66":27093,"56":206,"80":6400,"24":0,"16":345853152043466752,"45":1000713940644085760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,80,24,16,45]} 
[2026-07-11 23:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650942720001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:31:22] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-07-11 23:31:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345853152043466752,"km_value":345853152043466.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1000713940644085760,"description":"Unknown IO ID 45"} 
[2026-07-11 23:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650942720001,"power":27093,"unknown_56":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1000713940644085760}} 
[2026-07-11 23:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":131109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:31:22] local.INFO: GPS data processed {"connection_id":131109,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:31:22] local.INFO: Acknowledgment sent {"connection_id":131109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:31:39] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:31:39] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:31:39] local.INFO: IMEI packet received {"connection_id":129119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":129119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:31:43] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:31:43] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:31:43] local.INFO: IMEI packet received {"connection_id":129119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":129119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:31:45] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:31:45] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:31:45] local.INFO: IMEI packet received {"connection_id":129119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":129119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:31:46] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5255de38012d0dc2c006e9d8100025010130..."} 
[2026-07-11 23:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5255de38012d0dc2c006e9d8100025010130..."} 
[2026-07-11 23:31:46] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5255de38012d0dc2c006e9d8100025010130..."} 
[2026-07-11 23:31:46] local.INFO: Packet analysis {"connection_id":129119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:31:46] local.INFO: Extracted packet for processing {"connection_id":129119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5255"} 
[2026-07-11 23:31:46] local.INFO: GPS Element Parsed {"raw_longitude":755876544,"raw_latitude":115988496,"longitude_deg":75.5876544,"latitude_deg":11.5988496,"altitude":37,"angle":257,"satellites":48,"speed":3,"hex_longitude":"2d0dc2c0","hex_latitude":"06e9d810","is_valid_coordinates":true} 
[2026-07-11 23:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650948096001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345853263712616448,"note":"Value kept but may cause issues"} 
[2026-07-11 23:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994099278691069952,"note":"Value kept but may cause issues"} 
[2026-07-11 23:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783792787000,"timestamp_ms":1783792787000,"timestamp_seconds":1783792787,"priority":1,"record_length":96,"hex_timestamp":"0000019f5255de38"} 
[2026-07-11 23:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:31: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-07-11 23:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-07-11 23:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650948096001,"66":27343,"56":206,"80":6400,"24":3,"16":345853263712616448,"45":994099278691069952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,80,24,16,45]} 
[2026-07-11 23:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650948096001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:31:46] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-07-11 23:31:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345853263712616448,"km_value":345853263712616.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":994099278691069952,"description":"Unknown IO ID 45"} 
[2026-07-11 23:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650948096001,"power":27343,"unknown_56":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":994099278691069952}} 
[2026-07-11 23:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":129119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:31:46] local.INFO: GPS data processed {"connection_id":129119,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:31:46] local.INFO: Acknowledgment sent {"connection_id":129119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:31:49] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52563040012d0dbac006e9d5a80025010530..."} 
[2026-07-11 23:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52563040012d0dbac006e9d5a80025010530..."} 
[2026-07-11 23:31:49] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52563040012d0dbac006e9d5a80025010530..."} 
[2026-07-11 23:31:49] local.INFO: Packet analysis {"connection_id":129119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5256"} 
[2026-07-11 23:31:49] local.INFO: Extracted packet for processing {"connection_id":129119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5256"} 
[2026-07-11 23:31:49] local.INFO: GPS Element Parsed {"raw_longitude":755874496,"raw_latitude":115987880,"longitude_deg":75.5874496,"latitude_deg":11.598788,"altitude":37,"angle":261,"satellites":48,"speed":0,"hex_longitude":"2d0dbac0","hex_latitude":"06e9d5a8","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650953472001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345853366791831552,"note":"Value kept but may cause issues"} 
[2026-07-11 23:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":991566003900518400,"note":"Value kept but may cause issues"} 
[2026-07-11 23:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783792808000,"timestamp_ms":1783792808000,"timestamp_seconds":1783792808,"priority":1,"record_length":96,"hex_timestamp":"0000019f52563040"} 
[2026-07-11 23:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:31:49] 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-07-11 23:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":129119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":129119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":129119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650953472001,"66":27321,"56":206,"80":6400,"24":0,"16":345853366791831552,"45":991566003900518400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,80,24,16,45]} 
[2026-07-11 23:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650953472001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:31:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-07-11 23:31:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345853366791831552,"km_value":345853366791831.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":991566003900518400,"description":"Unknown IO ID 45"} 
[2026-07-11 23:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650953472001,"power":27321,"unknown_56":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":991566003900518400}} 
[2026-07-11 23:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":129119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:31:50] local.INFO: GPS data processed {"connection_id":129119,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:31:50] local.INFO: Acknowledgment sent {"connection_id":129119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:32:21] local.INFO: TCP Data received {"connection_id":129119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525739e0012d0dff0006e97d58001a00842f..."} 
[2026-07-11 23:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525739e0012d0dff0006e97d58001a00842f..."} 
[2026-07-11 23:32:21] local.INFO: Processing buffer {"connection_id":129119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525739e0012d0dff0006e97d58001a00842f..."} 
[2026-07-11 23:32:21] local.INFO: Packet analysis {"connection_id":129119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:32:21] local.INFO: Extracted packet for processing {"connection_id":129119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:32:21] local.INFO: GPS Element Parsed {"raw_longitude":755891968,"raw_latitude":115965272,"longitude_deg":75.5891968,"latitude_deg":11.5965272,"altitude":26,"angle":132,"satellites":47,"speed":26,"hex_longitude":"2d0dff00","hex_latitude":"06e97d58","is_valid_coordinates":true} 
[2026-07-11 23:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650973184001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345854990289469440,"note":"Value kept but may cause issues"} 
[2026-07-11 23:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1000784309383387136,"note":"Value kept but may cause issues"} 
[2026-07-11 23:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783792876000,"timestamp_ms":1783792876000,"timestamp_seconds":1783792876,"priority":1,"record_length":96,"hex_timestamp":"0000019f525739e0"} 
[2026-07-11 23:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-11 23:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":129119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":129119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":129119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650973184001,"66":27484,"242":206,"80":6400,"24":26,"16":345854990289469440,"45":1000784309383387136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-11 23:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650973184001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:32:21] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 23:32:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345854990289469440,"km_value":345854990289469.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1000784309383387136,"description":"Unknown IO ID 45"} 
[2026-07-11 23:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650973184001,"power":27484,"unknown_242":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":1000784309383387136}} 
[2026-07-11 23:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":129119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:32:21] local.INFO: GPS data processed {"connection_id":129119,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:32:21] local.INFO: Acknowledgment sent {"connection_id":129119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:32:44] local.INFO: TCP Data received {"connection_id":129852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:32:44] local.INFO: Processing buffer {"connection_id":129852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:32:44] local.INFO: IMEI packet received {"connection_id":129852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":129852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:32:49] local.INFO: TCP Data received {"connection_id":129852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:32:49] local.INFO: Processing buffer {"connection_id":129852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:32:49] local.INFO: IMEI packet received {"connection_id":129852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":129852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:32:50] local.INFO: TCP Data received {"connection_id":129852,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52578be8012d0e184006e964e0001300852e..."} 
[2026-07-11 23:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52578be8012d0e184006e964e0001300852e..."} 
[2026-07-11 23:32:50] local.INFO: Processing buffer {"connection_id":129852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52578be8012d0e184006e964e0001300852e..."} 
[2026-07-11 23:32:50] local.INFO: Packet analysis {"connection_id":129852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:32:50] local.INFO: Extracted packet for processing {"connection_id":129852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:32:50] local.INFO: GPS Element Parsed {"raw_longitude":755898432,"raw_latitude":115959008,"longitude_deg":75.5898432,"latitude_deg":11.5959008,"altitude":19,"angle":133,"satellites":46,"speed":13,"hex_longitude":"2d0e1840","hex_latitude":"06e964e0","is_valid_coordinates":true} 
[2026-07-11 23:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650976256001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345855424081166336,"note":"Value kept but may cause issues"} 
[2026-07-11 23:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008524871241390080,"note":"Value kept but may cause issues"} 
[2026-07-11 23:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783792897000,"timestamp_ms":1783792897000,"timestamp_seconds":1783792897,"priority":1,"record_length":96,"hex_timestamp":"0000019f52578be8"} 
[2026-07-11 23:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 23:32:50] 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-07-11 23:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":129852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":129852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":129852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650976256001,"66":27343,"242":206,"80":6400,"24":13,"16":345855424081166336,"45":1008524871241390080},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-11 23:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650976256001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:32:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 23:32:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345855424081166336,"km_value":345855424081166.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008524871241390080,"description":"Unknown IO ID 45"} 
[2026-07-11 23:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650976256001,"power":27343,"unknown_242":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":1008524871241390080}} 
[2026-07-11 23:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":129852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:32:50] local.INFO: GPS data processed {"connection_id":129852,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:32:50] local.INFO: Acknowledgment sent {"connection_id":129852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:33:39] local.INFO: TCP Data received {"connection_id":129854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:33:39] local.INFO: Processing buffer {"connection_id":129854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:33:39] local.INFO: IMEI packet received {"connection_id":129854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":129854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:33:40] local.INFO: TCP Data received {"connection_id":129854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:33:40] local.INFO: Processing buffer {"connection_id":129854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:33:40] local.INFO: IMEI packet received {"connection_id":129854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":129854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:33:44] local.INFO: TCP Data received {"connection_id":129854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:33:44] local.INFO: Processing buffer {"connection_id":129854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:33:44] local.INFO: IMEI packet received {"connection_id":129854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":129854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:33:45] local.INFO: TCP Data received {"connection_id":129854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52578be8012d0e184006e964e0001300852e..."} 
[2026-07-11 23:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52578be8012d0e184006e964e0001300852e..."} 
[2026-07-11 23:33:45] local.INFO: Processing buffer {"connection_id":129854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52578be8012d0e184006e964e0001300852e..."} 
[2026-07-11 23:33:45] local.INFO: Packet analysis {"connection_id":129854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:33:45] local.INFO: Extracted packet for processing {"connection_id":129854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:33:45] local.INFO: GPS Element Parsed {"raw_longitude":755898432,"raw_latitude":115959008,"longitude_deg":75.5898432,"latitude_deg":11.5959008,"altitude":19,"angle":133,"satellites":46,"speed":13,"hex_longitude":"2d0e1840","hex_latitude":"06e964e0","is_valid_coordinates":true} 
[2026-07-11 23:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650981632001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345855424081166336,"note":"Value kept but may cause issues"} 
[2026-07-11 23:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1015632114401730560,"note":"Value kept but may cause issues"} 
[2026-07-11 23:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783792897000,"timestamp_ms":1783792897000,"timestamp_seconds":1783792897,"priority":1,"record_length":96,"hex_timestamp":"0000019f52578be8"} 
[2026-07-11 23:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650981632001,"66":27343,"242":206,"80":6400,"24":13,"16":345855424081166336,"45":1015632114401730560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-11 23:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650981632001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:33:46] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 23:33:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345855424081166336,"km_value":345855424081166.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1015632114401730560,"description":"Unknown IO ID 45"} 
[2026-07-11 23:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650981632001,"power":27343,"unknown_242":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":1015632114401730560}} 
[2026-07-11 23:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":129854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:33:46] local.INFO: GPS data processed {"connection_id":129854,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:33:46] local.INFO: Acknowledgment sent {"connection_id":129854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:33:51] local.INFO: TCP Data received {"connection_id":129854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5257c680012d0e2a4006e954b80012009430..."} 
[2026-07-11 23:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5257c680012d0e2a4006e954b80012009430..."} 
[2026-07-11 23:33:51] local.INFO: Processing buffer {"connection_id":129854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5257c680012d0e2a4006e954b80012009430..."} 
[2026-07-11 23:33:51] local.INFO: Packet analysis {"connection_id":129854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:33:51] local.INFO: Extracted packet for processing {"connection_id":129854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:33:51] local.INFO: GPS Element Parsed {"raw_longitude":755903040,"raw_latitude":115954872,"longitude_deg":75.590304,"latitude_deg":11.5954872,"altitude":18,"angle":148,"satellites":48,"speed":13,"hex_longitude":"2d0e2a40","hex_latitude":"06e954b8","is_valid_coordinates":true} 
[2026-07-11 23:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650981632001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345855720433909760,"note":"Value kept but may cause issues"} 
[2026-07-11 23:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1015632114401730560,"note":"Value kept but may cause issues"} 
[2026-07-11 23:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783792912000,"timestamp_ms":1783792912000,"timestamp_seconds":1783792912,"priority":1,"record_length":96,"hex_timestamp":"0000019f5257c680"} 
[2026-07-11 23:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:33:51] 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-07-11 23:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650981632001,"66":27245,"242":206,"80":6400,"24":13,"16":345855720433909760,"45":1015632114401730560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-11 23:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650981632001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:33:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 23:33:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345855720433909760,"km_value":345855720433909.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1015632114401730560,"description":"Unknown IO ID 45"} 
[2026-07-11 23:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650981632001,"power":27245,"unknown_242":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":1015632114401730560}} 
[2026-07-11 23:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":129854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:33:51] local.INFO: GPS data processed {"connection_id":129854,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:33:51] local.INFO: Acknowledgment sent {"connection_id":129854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:34:25] local.INFO: TCP Data received {"connection_id":129854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5257d238012d0e2c0006e95188001100a12f..."} 
[2026-07-11 23:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5257d238012d0e2c0006e95188001100a12f..."} 
[2026-07-11 23:34:25] local.INFO: Processing buffer {"connection_id":129854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5257d238012d0e2c0006e95188001100a12f..."} 
[2026-07-11 23:34:25] local.INFO: Packet analysis {"connection_id":129854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:34:25] local.INFO: Extracted packet for processing {"connection_id":129854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5257"} 
[2026-07-11 23:34:25] local.INFO: GPS Element Parsed {"raw_longitude":755903488,"raw_latitude":115954056,"longitude_deg":75.5903488,"latitude_deg":11.5954056,"altitude":17,"angle":161,"satellites":47,"speed":11,"hex_longitude":"2d0e2c00","hex_latitude":"06e95188","is_valid_coordinates":true} 
[2026-07-11 23:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650985472001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345855763383582720,"note":"Value kept but may cause issues"} 
[2026-07-11 23:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020698663981463552,"note":"Value kept but may cause issues"} 
[2026-07-11 23:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783792915000,"timestamp_ms":1783792915000,"timestamp_seconds":1783792915,"priority":1,"record_length":96,"hex_timestamp":"0000019f5257d238"} 
[2026-07-11 23:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 23:34:25] 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-07-11 23:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":129854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":129854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":129854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650985472001,"66":27343,"242":206,"80":6400,"24":11,"16":345855763383582720,"45":1020698663981463552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-11 23:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650985472001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:34:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 23:34:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345855763383582720,"km_value":345855763383582.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020698663981463552,"description":"Unknown IO ID 45"} 
[2026-07-11 23:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650985472001,"power":27343,"unknown_242":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":1020698663981463552}} 
[2026-07-11 23:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":129854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:34:25] local.INFO: GPS data processed {"connection_id":129854,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:34:25] local.INFO: Acknowledgment sent {"connection_id":129854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:34:39] local.INFO: TCP Data received {"connection_id":131111,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:34:39] local.INFO: Processing buffer {"connection_id":131111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:34:39] local.INFO: IMEI packet received {"connection_id":131111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":131111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:34:44] local.INFO: TCP Data received {"connection_id":131111,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:34:44] local.INFO: Processing buffer {"connection_id":131111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:34:44] local.INFO: IMEI packet received {"connection_id":131111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":131111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:34:46] local.INFO: TCP Data received {"connection_id":131111,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52582440012d0e33c006e935d8001000a231..."} 
[2026-07-11 23:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52582440012d0e33c006e935d8001000a231..."} 
[2026-07-11 23:34:46] local.INFO: Processing buffer {"connection_id":131111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52582440012d0e33c006e935d8001000a231..."} 
[2026-07-11 23:34:46] local.INFO: Packet analysis {"connection_id":131111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5258"} 
[2026-07-11 23:34:46] local.INFO: Extracted packet for processing {"connection_id":131111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5258"} 
[2026-07-11 23:34:46] local.INFO: GPS Element Parsed {"raw_longitude":755905472,"raw_latitude":115946968,"longitude_deg":75.5905472,"latitude_deg":11.5946968,"altitude":16,"angle":162,"satellites":49,"speed":10,"hex_longitude":"2d0e33c0","hex_latitude":"06e935d8","is_valid_coordinates":true} 
[2026-07-11 23:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650986240001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345856124160835584,"note":"Value kept but may cause issues"} 
[2026-07-11 23:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021191245190498304,"note":"Value kept but may cause issues"} 
[2026-07-11 23:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783792936000,"timestamp_ms":1783792936000,"timestamp_seconds":1783792936,"priority":1,"record_length":96,"hex_timestamp":"0000019f52582440"} 
[2026-07-11 23:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:34: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-07-11 23:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:34: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-07-11 23:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650986240001,"66":27332,"242":206,"80":6400,"24":10,"16":345856124160835584,"45":1021191245190498304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-11 23:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650986240001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:34:46] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 23:34:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345856124160835584,"km_value":345856124160835.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021191245190498304,"description":"Unknown IO ID 45"} 
[2026-07-11 23:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650986240001,"power":27332,"unknown_242":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":1021191245190498304}} 
[2026-07-11 23:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":131111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:34:46] local.INFO: GPS data processed {"connection_id":131111,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:34:46] local.INFO: Acknowledgment sent {"connection_id":131111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:35:12] local.INFO: TCP Data received {"connection_id":131112,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:35:12] local.INFO: Processing buffer {"connection_id":131112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:35:12] local.INFO: IMEI packet received {"connection_id":131112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":131112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:35:17] local.INFO: TCP Data received {"connection_id":131111,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52587648012d0e3a8006e919e8001700a930..."} 
[2026-07-11 23:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52587648012d0e3a8006e919e8001700a930..."} 
[2026-07-11 23:35:17] local.INFO: Processing buffer {"connection_id":131111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52587648012d0e3a8006e919e8001700a930..."} 
[2026-07-11 23:35:17] local.INFO: Packet analysis {"connection_id":131111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5258"} 
[2026-07-11 23:35:17] local.INFO: Extracted packet for processing {"connection_id":131111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5258"} 
[2026-07-11 23:35:17] local.INFO: GPS Element Parsed {"raw_longitude":755907200,"raw_latitude":115939816,"longitude_deg":75.59072,"latitude_deg":11.5939816,"altitude":23,"angle":169,"satellites":48,"speed":14,"hex_longitude":"2d0e3a80","hex_latitude":"06e919e8","is_valid_coordinates":true} 
[2026-07-11 23:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650991616001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345856480643121152,"note":"Value kept but may cause issues"} 
[2026-07-11 23:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023372676258191360,"note":"Value kept but may cause issues"} 
[2026-07-11 23:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783792957000,"timestamp_ms":1783792957000,"timestamp_seconds":1783792957,"priority":1,"record_length":96,"hex_timestamp":"0000019f52587648"} 
[2026-07-11 23:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 23:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650991616001,"66":27397,"242":206,"80":6400,"24":14,"16":345856480643121152,"45":1023372676258191360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-11 23:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650991616001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:35:17] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 23:35:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345856480643121152,"km_value":345856480643121.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023372676258191360,"description":"Unknown IO ID 45"} 
[2026-07-11 23:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650991616001,"power":27397,"unknown_242":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":1023372676258191360}} 
[2026-07-11 23:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":131111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:35:17] local.INFO: GPS data processed {"connection_id":131111,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:35:17] local.INFO: Acknowledgment sent {"connection_id":131111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:35:39] local.INFO: TCP Data received {"connection_id":129855,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:35:39] local.INFO: Processing buffer {"connection_id":129855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:35:39] local.INFO: IMEI packet received {"connection_id":129855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":129855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:35:44] local.INFO: TCP Data received {"connection_id":129855,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:35:44] local.INFO: Processing buffer {"connection_id":129855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:35:44] local.INFO: IMEI packet received {"connection_id":129855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":129855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:35:45] local.INFO: TCP Data received {"connection_id":129855,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5258c850012d0e418006e8fcd8002000a530..."} 
[2026-07-11 23:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5258c850012d0e418006e8fcd8002000a530..."} 
[2026-07-11 23:35:45] local.INFO: Processing buffer {"connection_id":129855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5258c850012d0e418006e8fcd8002000a530..."} 
[2026-07-11 23:35:45] local.INFO: Packet analysis {"connection_id":129855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5258"} 
[2026-07-11 23:35:45] local.INFO: Extracted packet for processing {"connection_id":129855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5258"} 
[2026-07-11 23:35:45] local.INFO: GPS Element Parsed {"raw_longitude":755908992,"raw_latitude":115932376,"longitude_deg":75.5908992,"latitude_deg":11.5932376,"altitude":32,"angle":165,"satellites":48,"speed":14,"hex_longitude":"2d0e4180","hex_latitude":"06e8fcd8","is_valid_coordinates":true} 
[2026-07-11 23:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456650996992001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345856854305275904,"note":"Value kept but may cause issues"} 
[2026-07-11 23:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025272632349157376,"note":"Value kept but may cause issues"} 
[2026-07-11 23:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783792978000,"timestamp_ms":1783792978000,"timestamp_seconds":1783792978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5258c850"} 
[2026-07-11 23:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:35: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-07-11 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 23:35:45] 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-07-11 23:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456650996992001,"66":27343,"242":206,"80":6400,"24":14,"16":345856854305275904,"45":1025272632349157376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-11 23:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456650996992001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:35:45] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-11 23:35:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345856854305275904,"km_value":345856854305275.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025272632349157376,"description":"Unknown IO ID 45"} 
[2026-07-11 23:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456650996992001,"power":27343,"unknown_242":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":1025272632349157376}} 
[2026-07-11 23:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":129855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:35:45] local.INFO: GPS data processed {"connection_id":129855,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:35:45] local.INFO: Acknowledgment sent {"connection_id":129855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:35:49] local.INFO: TCP Data received {"connection_id":129120,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:35:49] local.INFO: Processing buffer {"connection_id":129120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:35:49] local.INFO: IMEI packet received {"connection_id":129120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":129120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:36:17] local.INFO: TCP Data received {"connection_id":129855,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52591a58012d0e4c4006e8def8002000a030..."} 
[2026-07-11 23:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52591a58012d0e4c4006e8def8002000a030..."} 
[2026-07-11 23:36:17] local.INFO: Processing buffer {"connection_id":129855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52591a58012d0e4c4006e8def8002000a030..."} 
[2026-07-11 23:36:17] local.INFO: Packet analysis {"connection_id":129855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5259"} 
[2026-07-11 23:36:17] local.INFO: Extracted packet for processing {"connection_id":129855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5259"} 
[2026-07-11 23:36:17] local.INFO: GPS Element Parsed {"raw_longitude":755911744,"raw_latitude":115924728,"longitude_deg":75.5911744,"latitude_deg":11.5924728,"altitude":32,"angle":160,"satellites":48,"speed":20,"hex_longitude":"2d0e4c40","hex_latitude":"06e8def8","is_valid_coordinates":true} 
[2026-07-11 23:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651002368001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345857249442267136,"note":"Value kept but may cause issues"} 
[2026-07-11 23:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1027242957184227328,"note":"Value kept but may cause issues"} 
[2026-07-11 23:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783792999000,"timestamp_ms":1783792999000,"timestamp_seconds":1783792999,"priority":1,"record_length":96,"hex_timestamp":"0000019f52591a58"} 
[2026-07-11 23:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:36:17] 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-07-11 23:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651002368001,"66":27484,"240":206,"80":6400,"24":20,"16":345857249442267136,"45":1027242957184227328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-07-11 23:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651002368001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:36:17] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-11 23:36:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345857249442267136,"km_value":345857249442267.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1027242957184227328,"description":"Unknown IO ID 45"} 
[2026-07-11 23:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651002368001,"power":27484,"unknown_240":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":1027242957184227328}} 
[2026-07-11 23:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":129855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:36:17] local.INFO: GPS data processed {"connection_id":129855,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:36:17] local.INFO: Acknowledgment sent {"connection_id":129855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:36:40] local.INFO: TCP Data received {"connection_id":128942,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:36:40] local.INFO: Processing buffer {"connection_id":128942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:36:40] local.INFO: IMEI packet received {"connection_id":128942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":128942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:36:44] local.INFO: TCP Data received {"connection_id":128942,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:36:44] local.INFO: Processing buffer {"connection_id":128942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:36:44] local.INFO: IMEI packet received {"connection_id":128942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":128942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:36:45] local.INFO: TCP Data received {"connection_id":128942,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52594550012d0e520006e8ca58001f00ab30..."} 
[2026-07-11 23:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52594550012d0e520006e8ca58001f00ab30..."} 
[2026-07-11 23:36:45] local.INFO: Processing buffer {"connection_id":128942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52594550012d0e520006e8ca58001f00ab30..."} 
[2026-07-11 23:36:45] local.INFO: Packet analysis {"connection_id":128942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5259"} 
[2026-07-11 23:36:45] local.INFO: Extracted packet for processing {"connection_id":128942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5259"} 
[2026-07-11 23:36:45] local.INFO: GPS Element Parsed {"raw_longitude":755913216,"raw_latitude":115919448,"longitude_deg":75.5913216,"latitude_deg":11.5919448,"altitude":31,"angle":171,"satellites":48,"speed":21,"hex_longitude":"2d0e5200","hex_latitude":"06e8ca58","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651007744001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345857515730239488,"note":"Value kept but may cause issues"} 
[2026-07-11 23:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1030268813181908992,"note":"Value kept but may cause issues"} 
[2026-07-11 23:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783793010000,"timestamp_ms":1783793010000,"timestamp_seconds":1783793010,"priority":1,"record_length":96,"hex_timestamp":"0000019f52594550"} 
[2026-07-11 23:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 23:36:45] 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-07-11 23: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-07-11 23:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651007744001,"66":27343,"176":206,"80":6400,"24":21,"16":345857515730239488,"45":1030268813181908992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-07-11 23:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651007744001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:36:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 23:36:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345857515730239488,"km_value":345857515730239.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1030268813181908992,"description":"Unknown IO ID 45"} 
[2026-07-11 23:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651007744001,"power":27343,"unknown_176":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":1030268813181908992}} 
[2026-07-11 23:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":128942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:36:45] local.INFO: GPS data processed {"connection_id":128942,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:36:45] local.INFO: Acknowledgment sent {"connection_id":128942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:37:17] local.INFO: TCP Data received {"connection_id":128942,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52595cc0012d0e530006e8bbe0001d00b631..."} 
[2026-07-11 23:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52595cc0012d0e530006e8bbe0001d00b631..."} 
[2026-07-11 23:37:17] local.INFO: Processing buffer {"connection_id":128942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52595cc0012d0e530006e8bbe0001d00b631..."} 
[2026-07-11 23:37:17] local.INFO: Packet analysis {"connection_id":128942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5259"} 
[2026-07-11 23:37:17] local.INFO: Extracted packet for processing {"connection_id":128942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5259"} 
[2026-07-11 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":755913472,"raw_latitude":115915744,"longitude_deg":75.5913472,"latitude_deg":11.5915744,"altitude":29,"angle":182,"satellites":49,"speed":29,"hex_longitude":"2d0e5300","hex_latitude":"06e8bbe0","is_valid_coordinates":true} 
[2026-07-11 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651010560001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345857696118865920,"note":"Value kept but may cause issues"} 
[2026-07-11 23:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1031887294296643584,"note":"Value kept but may cause issues"} 
[2026-07-11 23:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783793016000,"timestamp_ms":1783793016000,"timestamp_seconds":1783793016,"priority":1,"record_length":96,"hex_timestamp":"0000019f52595cc0"} 
[2026-07-11 23:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:37:17] 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-07-11 23:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651010560001,"66":27365,"176":206,"80":6400,"24":29,"16":345857696118865920,"45":1031887294296643584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-07-11 23:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651010560001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:37:17] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 23:37:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345857696118865920,"km_value":345857696118865.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1031887294296643584,"description":"Unknown IO ID 45"} 
[2026-07-11 23:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651010560001,"power":27365,"unknown_176":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":1031887294296643584}} 
[2026-07-11 23:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":128942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:37:17] local.INFO: GPS data processed {"connection_id":128942,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:37:17] local.INFO: Acknowledgment sent {"connection_id":128942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:37:39] local.INFO: TCP Data received {"connection_id":129122,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:37:39] local.INFO: Processing buffer {"connection_id":129122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:37:39] local.INFO: IMEI packet received {"connection_id":129122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":129122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:37:44] local.INFO: TCP Data received {"connection_id":129122,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:37:44] local.INFO: Processing buffer {"connection_id":129122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:37:44] local.INFO: IMEI packet received {"connection_id":129122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":129122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:37:46] local.INFO: TCP Data received {"connection_id":129122,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52598ba0012d0e554006e89d20001700aa2e..."} 
[2026-07-11 23:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52598ba0012d0e554006e89d20001700aa2e..."} 
[2026-07-11 23:37:46] local.INFO: Processing buffer {"connection_id":129122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52598ba0012d0e554006e89d20001700aa2e..."} 
[2026-07-11 23:37:46] local.INFO: Packet analysis {"connection_id":129122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5259"} 
[2026-07-11 23:37:46] local.INFO: Extracted packet for processing {"connection_id":129122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5259"} 
[2026-07-11 23:37:46] local.INFO: GPS Element Parsed {"raw_longitude":755914048,"raw_latitude":115907872,"longitude_deg":75.5914048,"latitude_deg":11.5907872,"altitude":23,"angle":170,"satellites":46,"speed":22,"hex_longitude":"2d0e5540","hex_latitude":"06e89d20","is_valid_coordinates":true} 
[2026-07-11 23:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651012096001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345858078370955264,"note":"Value kept but may cause issues"} 
[2026-07-11 23:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1032168769272406016,"note":"Value kept but may cause issues"} 
[2026-07-11 23:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783793028000,"timestamp_ms":1783793028000,"timestamp_seconds":1783793028,"priority":1,"record_length":96,"hex_timestamp":"0000019f52598ba0"} 
[2026-07-11 23:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:37:46] 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-07-11 23:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651012096001,"66":27180,"176":206,"80":6400,"24":22,"16":345858078370955264,"45":1032168769272406016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-07-11 23:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651012096001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:37:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-11 23:37:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345858078370955264,"km_value":345858078370955.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1032168769272406016,"description":"Unknown IO ID 45"} 
[2026-07-11 23:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651012096001,"power":27180,"unknown_176":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":1032168769272406016}} 
[2026-07-11 23:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":129122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:37:46] local.INFO: GPS data processed {"connection_id":129122,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:37:46] local.INFO: Acknowledgment sent {"connection_id":129122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:38:18] local.INFO: TCP Data received {"connection_id":129122,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525c5678012d0e728006e81278000500af2e..."} 
[2026-07-11 23:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525c5678012d0e728006e81278000500af2e..."} 
[2026-07-11 23:38:18] local.INFO: Processing buffer {"connection_id":129122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525c5678012d0e728006e81278000500af2e..."} 
[2026-07-11 23:38:18] local.INFO: Packet analysis {"connection_id":129122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525c"} 
[2026-07-11 23:38:18] local.INFO: Extracted packet for processing {"connection_id":129122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525c"} 
[2026-07-11 23:38:18] local.INFO: GPS Element Parsed {"raw_longitude":755921536,"raw_latitude":115872376,"longitude_deg":75.5921536,"latitude_deg":11.5872376,"altitude":5,"angle":175,"satellites":46,"speed":8,"hex_longitude":"2d0e7280","hex_latitude":"06e81278","is_valid_coordinates":true} 
[2026-07-11 23:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651059200001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345859865077350400,"note":"Value kept but may cause issues"} 
[2026-07-11 23:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040964862283988992,"note":"Value kept but may cause issues"} 
[2026-07-11 23:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783793211000,"timestamp_ms":1783793211000,"timestamp_seconds":1783793211,"priority":1,"record_length":96,"hex_timestamp":"0000019f525c5678"} 
[2026-07-11 23:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 23:38:18] 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-07-11 23:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651059200001,"66":27343,"177":206,"80":6400,"24":8,"16":345859865077350400,"45":1040964862283988992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-11 23:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651059200001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:38:18] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-11 23:38:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345859865077350400,"km_value":345859865077350.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040964862283988992,"description":"Unknown IO ID 45"} 
[2026-07-11 23:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651059200001,"power":27343,"unknown_177":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1040964862283988992}} 
[2026-07-11 23:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":129122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:38:18] local.INFO: GPS data processed {"connection_id":129122,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:38:18] local.INFO: Acknowledgment sent {"connection_id":129122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:38:39] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:38:39] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:38:39] local.INFO: IMEI packet received {"connection_id":131113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":131113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:38:44] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:38:44] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:38:44] local.INFO: IMEI packet received {"connection_id":131113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":131113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:38:46] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525c9cc8012d0e75c006e80018000500a32f..."} 
[2026-07-11 23:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525c9cc8012d0e75c006e80018000500a32f..."} 
[2026-07-11 23:38:46] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525c9cc8012d0e75c006e80018000500a32f..."} 
[2026-07-11 23:38:46] local.INFO: Packet analysis {"connection_id":131113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525c"} 
[2026-07-11 23:38:46] local.INFO: Extracted packet for processing {"connection_id":131113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525c"} 
[2026-07-11 23:38:46] local.INFO: GPS Element Parsed {"raw_longitude":755922368,"raw_latitude":115867672,"longitude_deg":75.5922368,"latitude_deg":11.5867672,"altitude":5,"angle":163,"satellites":47,"speed":6,"hex_longitude":"2d0e75c0","hex_latitude":"06e80018","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651062016001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345860097005584384,"note":"Value kept but may cause issues"} 
[2026-07-11 23:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1041035231027689472,"note":"Value kept but may cause issues"} 
[2026-07-11 23:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783793229000,"timestamp_ms":1783793229000,"timestamp_seconds":1783793229,"priority":1,"record_length":96,"hex_timestamp":"0000019f525c9cc8"} 
[2026-07-11 23:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:38: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-07-11 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:38: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-07-11 23: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-07-11 23:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651062016001,"66":27376,"177":206,"80":6400,"24":6,"16":345860097005584384,"45":1041035231027689472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-11 23:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651062016001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:38:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-11 23:38:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345860097005584384,"km_value":345860097005584.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1041035231027689472,"description":"Unknown IO ID 45"} 
[2026-07-11 23:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651062016001,"power":27376,"unknown_177":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1041035231027689472}} 
[2026-07-11 23:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":131113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:38:46] local.INFO: GPS data processed {"connection_id":131113,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:38:46] local.INFO: Acknowledgment sent {"connection_id":131113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:39:17] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525ceed0012d0e7a0006e7f228000500a32e..."} 
[2026-07-11 23:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525ceed0012d0e7a0006e7f228000500a32e..."} 
[2026-07-11 23:39:17] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525ceed0012d0e7a0006e7f228000500a32e..."} 
[2026-07-11 23:39:17] local.INFO: Packet analysis {"connection_id":131113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525c"} 
[2026-07-11 23:39:17] local.INFO: Extracted packet for processing {"connection_id":131113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525c"} 
[2026-07-11 23:39:17] local.INFO: GPS Element Parsed {"raw_longitude":755923456,"raw_latitude":115864104,"longitude_deg":75.5923456,"latitude_deg":11.5864104,"altitude":5,"angle":163,"satellites":46,"speed":7,"hex_longitude":"2d0e7a00","hex_latitude":"06e7f228","is_valid_coordinates":true} 
[2026-07-11 23:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651066624001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345860281689178112,"note":"Value kept but may cause issues"} 
[2026-07-11 23:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1041950024700794880,"note":"Value kept but may cause issues"} 
[2026-07-11 23:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783793250000,"timestamp_ms":1783793250000,"timestamp_seconds":1783793250,"priority":1,"record_length":96,"hex_timestamp":"0000019f525ceed0"} 
[2026-07-11 23:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651066624001,"66":27332,"177":206,"80":6400,"24":7,"16":345860281689178112,"45":1041950024700794880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-11 23:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651066624001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:39:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-11 23:39:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345860281689178112,"km_value":345860281689178.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1041950024700794880,"description":"Unknown IO ID 45"} 
[2026-07-11 23:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651066624001,"power":27332,"unknown_177":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1041950024700794880}} 
[2026-07-11 23:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":131113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:39:17] local.INFO: GPS data processed {"connection_id":131113,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:39:17] local.INFO: Acknowledgment sent {"connection_id":131113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:39:44] local.INFO: TCP Data received {"connection_id":129857,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:39:44] local.INFO: Processing buffer {"connection_id":129857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:39:44] local.INFO: IMEI packet received {"connection_id":129857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":129857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:39:49] local.INFO: TCP Data received {"connection_id":129857,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:39:49] local.INFO: Processing buffer {"connection_id":129857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:39:49] local.INFO: IMEI packet received {"connection_id":129857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":129857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:39:50] local.INFO: TCP Data received {"connection_id":129857,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525d11f8012d0e7b4006e7ecb0000400af2f..."} 
[2026-07-11 23:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525d11f8012d0e7b4006e7ecb0000400af2f..."} 
[2026-07-11 23:39:50] local.INFO: Processing buffer {"connection_id":129857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525d11f8012d0e7b4006e7ecb0000400af2f..."} 
[2026-07-11 23:39:50] local.INFO: Packet analysis {"connection_id":129857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525d"} 
[2026-07-11 23:39:50] local.INFO: Extracted packet for processing {"connection_id":129857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525d"} 
[2026-07-11 23:39:50] local.INFO: GPS Element Parsed {"raw_longitude":755923776,"raw_latitude":115862704,"longitude_deg":75.5923776,"latitude_deg":11.5862704,"altitude":4,"angle":175,"satellites":47,"speed":6,"hex_longitude":"2d0e7b40","hex_latitude":"06e7ecb0","is_valid_coordinates":true} 
[2026-07-11 23:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651072000001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345860354703622144,"note":"Value kept but may cause issues"} 
[2026-07-11 23:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1043146293350901760,"note":"Value kept but may cause issues"} 
[2026-07-11 23:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783793259000,"timestamp_ms":1783793259000,"timestamp_seconds":1783793259,"priority":1,"record_length":96,"hex_timestamp":"0000019f525d11f8"} 
[2026-07-11 23:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 23:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":129857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":129857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":129857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651072000001,"66":27343,"177":206,"80":6400,"24":6,"16":345860354703622144,"45":1043146293350901760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-11 23:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651072000001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:39:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-11 23:39:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345860354703622144,"km_value":345860354703622.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1043146293350901760,"description":"Unknown IO ID 45"} 
[2026-07-11 23:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651072000001,"power":27343,"unknown_177":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1043146293350901760}} 
[2026-07-11 23:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":129857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:39:50] local.INFO: GPS data processed {"connection_id":129857,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:39:50] local.INFO: Acknowledgment sent {"connection_id":129857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:39:52] local.INFO: TCP Data received {"connection_id":129857,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525d6400012d0e7bc006e7e2c8000500b22f..."} 
[2026-07-11 23:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525d6400012d0e7bc006e7e2c8000500b22f..."} 
[2026-07-11 23:39:52] local.INFO: Processing buffer {"connection_id":129857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525d6400012d0e7bc006e7e2c8000500b22f..."} 
[2026-07-11 23:39:52] local.INFO: Packet analysis {"connection_id":129857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525d"} 
[2026-07-11 23:39:52] local.INFO: Extracted packet for processing {"connection_id":129857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525d"} 
[2026-07-11 23:39:52] local.INFO: GPS Element Parsed {"raw_longitude":755923904,"raw_latitude":115860168,"longitude_deg":75.5923904,"latitude_deg":11.5860168,"altitude":5,"angle":178,"satellites":47,"speed":6,"hex_longitude":"2d0e7bc0","hex_latitude":"06e7e2c8","is_valid_coordinates":true} 
[2026-07-11 23:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651074304001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345860479257673728,"note":"Value kept but may cause issues"} 
[2026-07-11 23:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1043498137071431680,"note":"Value kept but may cause issues"} 
[2026-07-11 23:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783793280000,"timestamp_ms":1783793280000,"timestamp_seconds":1783793280,"priority":1,"record_length":96,"hex_timestamp":"0000019f525d6400"} 
[2026-07-11 23:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":129857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":129857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":129857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651074304001,"66":27343,"177":206,"80":6400,"24":6,"16":345860479257673728,"45":1043498137071431680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-11 23:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651074304001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:39:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-11 23:39:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345860479257673728,"km_value":345860479257673.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1043498137071431680,"description":"Unknown IO ID 45"} 
[2026-07-11 23:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651074304001,"power":27343,"unknown_177":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1043498137071431680}} 
[2026-07-11 23:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":129857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:39:52] local.INFO: GPS data processed {"connection_id":129857,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:39:52] local.INFO: Acknowledgment sent {"connection_id":129857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:40:23] local.INFO: TCP Data received {"connection_id":129857,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525d7b70012d0e7c8006e7dec0000600a32f..."} 
[2026-07-11 23:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525d7b70012d0e7c8006e7dec0000600a32f..."} 
[2026-07-11 23:40:24] local.INFO: Processing buffer {"connection_id":129857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525d7b70012d0e7c8006e7dec0000600a32f..."} 
[2026-07-11 23:40:24] local.INFO: Packet analysis {"connection_id":129857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525d"} 
[2026-07-11 23:40:24] local.INFO: Extracted packet for processing {"connection_id":129857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525d"} 
[2026-07-11 23:40:24] local.INFO: GPS Element Parsed {"raw_longitude":755924096,"raw_latitude":115859136,"longitude_deg":75.5924096,"latitude_deg":11.5859136,"altitude":6,"angle":163,"satellites":47,"speed":8,"hex_longitude":"2d0e7c80","hex_latitude":"06e7dec0","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651079680001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345860530797281280,"note":"Value kept but may cause issues"} 
[2026-07-11 23:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1043638874559137792,"note":"Value kept but may cause issues"} 
[2026-07-11 23:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783793286000,"timestamp_ms":1783793286000,"timestamp_seconds":1783793286,"priority":1,"record_length":96,"hex_timestamp":"0000019f525d7b70"} 
[2026-07-11 23:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:40:24] 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-07-11 23: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-07-11 23:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":129857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":129857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":129857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651079680001,"66":27321,"177":206,"80":6400,"24":8,"16":345860530797281280,"45":1043638874559137792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-11 23:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651079680001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:40:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-11 23:40:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345860530797281280,"km_value":345860530797281.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1043638874559137792,"description":"Unknown IO ID 45"} 
[2026-07-11 23:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651079680001,"power":27321,"unknown_177":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1043638874559137792}} 
[2026-07-11 23:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":129857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:40:24] local.INFO: GPS data processed {"connection_id":129857,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:40:24] local.INFO: Acknowledgment sent {"connection_id":129857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:40:39] local.INFO: TCP Data received {"connection_id":131114,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:40:39] local.INFO: Processing buffer {"connection_id":131114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:40:39] local.INFO: IMEI packet received {"connection_id":131114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":131114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:40:44] local.INFO: TCP Data received {"connection_id":131114,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:40:44] local.INFO: Processing buffer {"connection_id":131114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:40:44] local.INFO: IMEI packet received {"connection_id":131114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":131114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:40:46] local.INFO: TCP Data received {"connection_id":131114,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525dc1c0012d0e83c006e7c3a0000400af2f..."} 
[2026-07-11 23:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525dc1c0012d0e83c006e7c3a0000400af2f..."} 
[2026-07-11 23:40:46] local.INFO: Processing buffer {"connection_id":131114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525dc1c0012d0e83c006e7c3a0000400af2f..."} 
[2026-07-11 23:40:46] local.INFO: Packet analysis {"connection_id":131114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525d"} 
[2026-07-11 23:40:46] local.INFO: Extracted packet for processing {"connection_id":131114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525d"} 
[2026-07-11 23:40:46] local.INFO: GPS Element Parsed {"raw_longitude":755925952,"raw_latitude":115852192,"longitude_deg":75.5925952,"latitude_deg":11.5852192,"altitude":4,"angle":175,"satellites":47,"speed":22,"hex_longitude":"2d0e83c0","hex_latitude":"06e7c3a0","is_valid_coordinates":true} 
[2026-07-11 23:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651081216001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345860878689632256,"note":"Value kept but may cause issues"} 
[2026-07-11 23:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1043849980791406592,"note":"Value kept but may cause issues"} 
[2026-07-11 23:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783793304000,"timestamp_ms":1783793304000,"timestamp_seconds":1783793304,"priority":1,"record_length":96,"hex_timestamp":"0000019f525dc1c0"} 
[2026-07-11 23:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:40: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-07-11 23:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 23:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651081216001,"66":27332,"177":206,"80":6400,"24":22,"16":345860878689632256,"45":1043849980791406592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-11 23:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651081216001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:40:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-11 23:40:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345860878689632256,"km_value":345860878689632.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1043849980791406592,"description":"Unknown IO ID 45"} 
[2026-07-11 23:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651081216001,"power":27332,"unknown_177":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":1043849980791406592}} 
[2026-07-11 23:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":131114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:40:46] local.INFO: GPS data processed {"connection_id":131114,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:40:46] local.INFO: Acknowledgment sent {"connection_id":131114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:41:19] local.INFO: TCP Data received {"connection_id":131115,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:41:19] local.INFO: Processing buffer {"connection_id":131115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:41:19] local.INFO: IMEI packet received {"connection_id":131115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":131115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:41:20] local.INFO: TCP Data received {"connection_id":131114,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525f0dc8012d0eee8006e747d8001000852b..."} 
[2026-07-11 23:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525f0dc8012d0eee8006e747d8001000852b..."} 
[2026-07-11 23:41:20] local.INFO: Processing buffer {"connection_id":131114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525f0dc8012d0eee8006e747d8001000852b..."} 
[2026-07-11 23:41:20] local.INFO: Packet analysis {"connection_id":131114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525f"} 
[2026-07-11 23:41:20] local.INFO: Extracted packet for processing {"connection_id":131114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525f"} 
[2026-07-11 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":755953280,"raw_latitude":115820504,"longitude_deg":75.595328,"latitude_deg":11.5820504,"altitude":16,"angle":133,"satellites":43,"speed":9,"hex_longitude":"2d0eee80","hex_latitude":"06e747d8","is_valid_coordinates":true} 
[2026-07-11 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651102208001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345862948863868928,"note":"Value kept but may cause issues"} 
[2026-07-11 23:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1072982640871845888,"note":"Value kept but may cause issues"} 
[2026-07-11 23:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783793389000,"timestamp_ms":1783793389000,"timestamp_seconds":1783793389,"priority":1,"record_length":96,"hex_timestamp":"0000019f525f0dc8"} 
[2026-07-11 23:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-11 23:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651102208001,"66":27376,"98":206,"80":6400,"24":9,"16":345862948863868928,"45":1072982640871845888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-07-11 23:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651102208001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:41:20] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-11 23:41:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345862948863868928,"km_value":345862948863868.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1072982640871845888,"description":"Unknown IO ID 45"} 
[2026-07-11 23:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651102208001,"power":27376,"unknown_98":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":1072982640871845888}} 
[2026-07-11 23:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":131114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:41:20] local.INFO: GPS data processed {"connection_id":131114,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:41:20] local.INFO: Acknowledgment sent {"connection_id":131114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:41:40] local.INFO: TCP Data received {"connection_id":131116,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:41:40] local.INFO: Processing buffer {"connection_id":131116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:41:40] local.INFO: IMEI packet received {"connection_id":131116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":131116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:41:40] local.INFO: TCP Data received {"connection_id":131116,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:41:40] local.INFO: Processing buffer {"connection_id":131116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:41:40] local.INFO: IMEI packet received {"connection_id":131116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":131116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:41:44] local.INFO: TCP Data received {"connection_id":131116,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:41:44] local.INFO: Processing buffer {"connection_id":131116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:41:44] local.INFO: IMEI packet received {"connection_id":131116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":131116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:41:45] local.INFO: TCP Data received {"connection_id":128944,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:41:45] local.INFO: Processing buffer {"connection_id":128944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:41:45] local.INFO: IMEI packet received {"connection_id":128944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":128944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:41:45] local.INFO: TCP Data received {"connection_id":131116,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525f5fd0012d0ef14006e74518001100862a..."} 
[2026-07-11 23:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525f5fd0012d0ef14006e74518001100862a..."} 
[2026-07-11 23:41:45] local.INFO: Processing buffer {"connection_id":131116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525f5fd0012d0ef14006e74518001100862a..."} 
[2026-07-11 23:41:45] local.INFO: Packet analysis {"connection_id":131116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525f"} 
[2026-07-11 23:41:45] local.INFO: Extracted packet for processing {"connection_id":131116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525f"} 
[2026-07-11 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":755953984,"raw_latitude":115819800,"longitude_deg":75.5953984,"latitude_deg":11.58198,"altitude":17,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2d0ef140","hex_latitude":"06e74518","is_valid_coordinates":true} 
[2026-07-11 23:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651107584001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345862996108509184,"note":"Value kept but may cause issues"} 
[2026-07-11 23:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1075938128126531584,"note":"Value kept but may cause issues"} 
[2026-07-11 23:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783793410000,"timestamp_ms":1783793410000,"timestamp_seconds":1783793410,"priority":1,"record_length":96,"hex_timestamp":"0000019f525f5fd0"} 
[2026-07-11 23:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:41:45] 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-07-11 23:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651107584001,"66":27343,"98":206,"80":6400,"24":0,"16":345862996108509184,"45":1075938128126531584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-07-11 23:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651107584001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:41:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-11 23:41:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345862996108509184,"km_value":345862996108509.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1075938128126531584,"description":"Unknown IO ID 45"} 
[2026-07-11 23:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651107584001,"power":27343,"unknown_98":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1075938128126531584}} 
[2026-07-11 23:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":131116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:41:45] local.INFO: GPS data processed {"connection_id":131116,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:41:45] local.INFO: Acknowledgment sent {"connection_id":131116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:42:17] local.INFO: TCP Data received {"connection_id":131116,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525fb1d8012d0f074006e730b8001200842e..."} 
[2026-07-11 23:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525fb1d8012d0f074006e730b8001200842e..."} 
[2026-07-11 23:42:17] local.INFO: Processing buffer {"connection_id":131116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525fb1d8012d0f074006e730b8001200842e..."} 
[2026-07-11 23:42:17] local.INFO: Packet analysis {"connection_id":131116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525f"} 
[2026-07-11 23:42:17] local.INFO: Extracted packet for processing {"connection_id":131116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525f"} 
[2026-07-11 23:42:17] local.INFO: GPS Element Parsed {"raw_longitude":755959616,"raw_latitude":115814584,"longitude_deg":75.5959616,"latitude_deg":11.5814584,"altitude":18,"angle":132,"satellites":46,"speed":24,"hex_longitude":"2d0f0740","hex_latitude":"06e730b8","is_valid_coordinates":true} 
[2026-07-11 23:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651112960001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345863365475696640,"note":"Value kept but may cause issues"} 
[2026-07-11 23:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1076712184312305664,"note":"Value kept but may cause issues"} 
[2026-07-11 23:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783793431000,"timestamp_ms":1783793431000,"timestamp_seconds":1783793431,"priority":1,"record_length":96,"hex_timestamp":"0000019f525fb1d8"} 
[2026-07-11 23:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:42:17] 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-07-11 23:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651112960001,"66":27180,"166":206,"80":6400,"24":24,"16":345863365475696640,"45":1076712184312305664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-11 23:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651112960001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:42:17] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-11 23:42:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345863365475696640,"km_value":345863365475696.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1076712184312305664,"description":"Unknown IO ID 45"} 
[2026-07-11 23:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651112960001,"power":27180,"unknown_166":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":1076712184312305664}} 
[2026-07-11 23:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":131116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:42:17] local.INFO: GPS data processed {"connection_id":131116,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:42:17] local.INFO: Acknowledgment sent {"connection_id":131116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:42:39] local.INFO: TCP Data received {"connection_id":129858,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:42:39] local.INFO: Processing buffer {"connection_id":129858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:42:39] local.INFO: IMEI packet received {"connection_id":129858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":129858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:42:43] local.INFO: TCP Data received {"connection_id":129858,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:42:43] local.INFO: Processing buffer {"connection_id":129858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:42:43] local.INFO: IMEI packet received {"connection_id":129858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":129858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:42:44] local.INFO: TCP Data received {"connection_id":129858,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:42:44] local.INFO: Processing buffer {"connection_id":129858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:42:44] local.INFO: IMEI packet received {"connection_id":129858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":129858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:42:45] local.INFO: TCP Data received {"connection_id":129858,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f525fe4a0012d0f22c006e71758000f00852e..."} 
[2026-07-11 23:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f525fe4a0012d0f22c006e71758000f00852e..."} 
[2026-07-11 23:42:45] local.INFO: Processing buffer {"connection_id":129858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f525fe4a0012d0f22c006e71758000f00852e..."} 
[2026-07-11 23:42:45] local.INFO: Packet analysis {"connection_id":129858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f525f"} 
[2026-07-11 23:42:45] local.INFO: Extracted packet for processing {"connection_id":129858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f525f"} 
[2026-07-11 23:42:45] local.INFO: GPS Element Parsed {"raw_longitude":755966656,"raw_latitude":115808088,"longitude_deg":75.5966656,"latitude_deg":11.5808088,"altitude":15,"angle":133,"satellites":46,"speed":31,"hex_longitude":"2d0f22c0","hex_latitude":"06e71758","is_valid_coordinates":true} 
[2026-07-11 23:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651118336001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345863825037197312,"note":"Value kept but may cause issues"} 
[2026-07-11 23:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1082904633798604800,"note":"Value kept but may cause issues"} 
[2026-07-11 23:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783793444000,"timestamp_ms":1783793444000,"timestamp_seconds":1783793444,"priority":1,"record_length":96,"hex_timestamp":"0000019f525fe4a0"} 
[2026-07-11 23:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-11 23:42:45] 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-07-11 23:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651118336001,"66":27267,"246":206,"80":6400,"24":31,"16":345863825037197312,"45":1082904633798604800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-07-11 23:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651118336001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:42:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345863825037197312,"km_value":345863825037197.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1082904633798604800,"description":"Unknown IO ID 45"} 
[2026-07-11 23:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651118336001,"power":27267,"main_input_voltage":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":1082904633798604800}} 
[2026-07-11 23:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":129858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:42:45] local.INFO: GPS data processed {"connection_id":129858,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:42:45] local.INFO: Acknowledgment sent {"connection_id":129858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:42:50] local.INFO: TCP Data received {"connection_id":129858,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52600bb0012d0f3cc006e6ff58000a00842d..."} 
[2026-07-11 23:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52600bb0012d0f3cc006e6ff58000a00842d..."} 
[2026-07-11 23:42:50] local.INFO: Processing buffer {"connection_id":129858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52600bb0012d0f3cc006e6ff58000a00842d..."} 
[2026-07-11 23:42:50] local.INFO: Packet analysis {"connection_id":129858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5260"} 
[2026-07-11 23:42:50] local.INFO: Extracted packet for processing {"connection_id":129858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5260"} 
[2026-07-11 23:42:50] local.INFO: GPS Element Parsed {"raw_longitude":755973312,"raw_latitude":115801944,"longitude_deg":75.5973312,"latitude_deg":11.5801944,"altitude":10,"angle":132,"satellites":45,"speed":41,"hex_longitude":"2d0f3cc0","hex_latitude":"06e6ff58","is_valid_coordinates":true} 
[2026-07-11 23:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651121664001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345864258828894208,"note":"Value kept but may cause issues"} 
[2026-07-11 23:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1090645195656484864,"note":"Value kept but may cause issues"} 
[2026-07-11 23:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783793454000,"timestamp_ms":1783793454000,"timestamp_seconds":1783793454,"priority":1,"record_length":96,"hex_timestamp":"0000019f52600bb0"} 
[2026-07-11 23:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:42:50] 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-07-11 23:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":129858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":129858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":129858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651121664001,"66":27310,"246":206,"80":6400,"24":41,"16":345864258828894208,"45":1090645195656484864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-07-11 23:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651121664001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:42:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345864258828894208,"km_value":345864258828894.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1090645195656484864,"description":"Unknown IO ID 45"} 
[2026-07-11 23:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651121664001,"power":27310,"main_input_voltage":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":1090645195656484864}} 
[2026-07-11 23:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":129858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:42:50] local.INFO: GPS data processed {"connection_id":129858,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:42:50] local.INFO: Acknowledgment sent {"connection_id":129858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:43:23] local.INFO: TCP Data received {"connection_id":129858,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52602af0012d0f57c006e6e8900006007f2c..."} 
[2026-07-11 23:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52602af0012d0f57c006e6e8900006007f2c..."} 
[2026-07-11 23:43:23] local.INFO: Processing buffer {"connection_id":129858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52602af0012d0f57c006e6e8900006007f2c..."} 
[2026-07-11 23:43:23] local.INFO: Packet analysis {"connection_id":129858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5260"} 
[2026-07-11 23:43:23] local.INFO: Extracted packet for processing {"connection_id":129858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5260"} 
[2026-07-11 23:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755980224,"raw_latitude":115796112,"longitude_deg":75.5980224,"latitude_deg":11.5796112,"altitude":6,"angle":127,"satellites":44,"speed":46,"hex_longitude":"2d0f57c0","hex_latitude":"06e6e890","is_valid_coordinates":true} 
[2026-07-11 23:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651124224001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345864692620591104,"note":"Value kept but may cause issues"} 
[2026-07-11 23:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1097963545049389056,"note":"Value kept but may cause issues"} 
[2026-07-11 23:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783793462000,"timestamp_ms":1783793462000,"timestamp_seconds":1783793462,"priority":1,"record_length":96,"hex_timestamp":"0000019f52602af0"} 
[2026-07-11 23:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 23:43:23] 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-07-11 23:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":129858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":129858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":129858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651124224001,"66":27234,"246":206,"80":6400,"24":46,"16":345864692620591104,"45":1097963545049389056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-07-11 23:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651124224001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:43:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345864692620591104,"km_value":345864692620591.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1097963545049389056,"description":"Unknown IO ID 45"} 
[2026-07-11 23:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651124224001,"power":27234,"main_input_voltage":206,"unknown_80":6400,"ignition":46,"odometer":null,"unknown_45":1097963545049389056}} 
[2026-07-11 23:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":129858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:43:23] local.INFO: GPS data processed {"connection_id":129858,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:43:23] local.INFO: Acknowledgment sent {"connection_id":129858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:43:38] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:43:38] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:43:38] local.INFO: IMEI packet received {"connection_id":128945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":128945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:43:39] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:43:39] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:43:39] local.INFO: IMEI packet received {"connection_id":128945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":128945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:43:47] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:43:47] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:43:47] local.INFO: IMEI packet received {"connection_id":128945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":128945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:43:48] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5261a5d8012d10638006e646400007007f2f..."} 
[2026-07-11 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5261a5d8012d10638006e646400007007f2f..."} 
[2026-07-11 23:43:48] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5261a5d8012d10638006e646400007007f2f..."} 
[2026-07-11 23:43:48] local.INFO: Packet analysis {"connection_id":128945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5261"} 
[2026-07-11 23:43:48] local.INFO: Extracted packet for processing {"connection_id":128945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5261"} 
[2026-07-11 23:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756048768,"raw_latitude":115754560,"longitude_deg":75.6048768,"latitude_deg":11.575456,"altitude":7,"angle":127,"satellites":47,"speed":48,"hex_longitude":"2d106380","hex_latitude":"06e64640","is_valid_coordinates":true} 
[2026-07-11 23:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651149056001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345868536616321024,"note":"Value kept but may cause issues"} 
[2026-07-11 23:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1171921095169429504,"note":"Value kept but may cause issues"} 
[2026-07-11 23:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783793559000,"timestamp_ms":1783793559000,"timestamp_seconds":1783793559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5261a5d8"} 
[2026-07-11 23:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 23:43:48] 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-07-11 23:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":128945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651149056001,"66":27376,"246":206,"80":6400,"24":48,"16":345868536616321024,"45":1171921095169429504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-07-11 23:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651149056001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:43:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345868536616321024,"km_value":345868536616321.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1171921095169429504,"description":"Unknown IO ID 45"} 
[2026-07-11 23:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651149056001,"power":27376,"main_input_voltage":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":1171921095169429504}} 
[2026-07-11 23:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":128945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:43:48] local.INFO: GPS data processed {"connection_id":128945,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:43:48] local.INFO: Acknowledgment sent {"connection_id":128945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:44:19] local.INFO: TCP Data received {"connection_id":128945,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5261c130012d107bc006e62f980008008b2b..."} 
[2026-07-11 23:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5261c130012d107bc006e62f980008008b2b..."} 
[2026-07-11 23:44:19] local.INFO: Processing buffer {"connection_id":128945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5261c130012d107bc006e62f980008008b2b..."} 
[2026-07-11 23:44:19] local.INFO: Packet analysis {"connection_id":128945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5261"} 
[2026-07-11 23:44:19] local.INFO: Extracted packet for processing {"connection_id":128945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5261"} 
[2026-07-11 23:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756054976,"raw_latitude":115748760,"longitude_deg":75.6054976,"latitude_deg":11.574876,"altitude":8,"angle":139,"satellites":43,"speed":47,"hex_longitude":"2d107bc0","hex_latitude":"06e62f98","is_valid_coordinates":true} 
[2026-07-11 23:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651151104001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345868948933181440,"note":"Value kept but may cause issues"} 
[2026-07-11 23:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1180928294422724608,"note":"Value kept but may cause issues"} 
[2026-07-11 23:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783793566000,"timestamp_ms":1783793566000,"timestamp_seconds":1783793566,"priority":1,"record_length":96,"hex_timestamp":"0000019f5261c130"} 
[2026-07-11 23:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651151104001,"66":27300,"246":206,"80":6400,"24":47,"16":345868948933181440,"45":1180928294422724608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-07-11 23:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651151104001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:44:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345868948933181440,"km_value":345868948933181.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1180928294422724608,"description":"Unknown IO ID 45"} 
[2026-07-11 23:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651151104001,"power":27300,"main_input_voltage":206,"unknown_80":6400,"ignition":47,"odometer":null,"unknown_45":1180928294422724608}} 
[2026-07-11 23:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":128945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:44:19] local.INFO: GPS data processed {"connection_id":128945,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:44:19] local.INFO: Acknowledgment sent {"connection_id":128945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:44:49] local.INFO: TCP Data received {"connection_id":131118,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:44:49] local.INFO: Processing buffer {"connection_id":131118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:44:49] local.INFO: IMEI packet received {"connection_id":131118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":131118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:44:50] local.INFO: TCP Data received {"connection_id":131118,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:44:50] local.INFO: Processing buffer {"connection_id":131118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:44:50] local.INFO: IMEI packet received {"connection_id":131118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":131118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:44:51] local.INFO: TCP Data received {"connection_id":131118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5261d8a0012d108c0006e619b8000800962d..."} 
[2026-07-11 23:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5261d8a0012d108c0006e619b8000800962d..."} 
[2026-07-11 23:44:51] local.INFO: Processing buffer {"connection_id":131118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5261d8a0012d108c0006e619b8000800962d..."} 
[2026-07-11 23:44:51] local.INFO: Packet analysis {"connection_id":131118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5261"} 
[2026-07-11 23:44:51] local.INFO: Extracted packet for processing {"connection_id":131118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5261"} 
[2026-07-11 23:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756059136,"raw_latitude":115743160,"longitude_deg":75.6059136,"latitude_deg":11.574316,"altitude":8,"angle":150,"satellites":45,"speed":45,"hex_longitude":"2d108c00","hex_latitude":"06e619b8","is_valid_coordinates":true} 
[2026-07-11 23:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651152896001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345869283940630528,"note":"Value kept but may cause issues"} 
[2026-07-11 23:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1187754062606473216,"note":"Value kept but may cause issues"} 
[2026-07-11 23:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783793572000,"timestamp_ms":1783793572000,"timestamp_seconds":1783793572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5261d8a0"} 
[2026-07-11 23:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 23:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651152896001,"66":27397,"246":206,"80":6400,"24":45,"16":345869283940630528,"45":1187754062606473216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-07-11 23:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651152896001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:44:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345869283940630528,"km_value":345869283940630.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1187754062606473216,"description":"Unknown IO ID 45"} 
[2026-07-11 23:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651152896001,"power":27397,"main_input_voltage":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":1187754062606473216}} 
[2026-07-11 23:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":131118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:44:51] local.INFO: GPS data processed {"connection_id":131118,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:44:51] local.INFO: Acknowledgment sent {"connection_id":131118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:44:56] local.INFO: TCP Data received {"connection_id":131118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5261f7e0012d109b0006e5fa500008009d2d..."} 
[2026-07-11 23:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5261f7e0012d109b0006e5fa500008009d2d..."} 
[2026-07-11 23:44:56] local.INFO: Processing buffer {"connection_id":131118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5261f7e0012d109b0006e5fa500008009d2d..."} 
[2026-07-11 23:44:56] local.INFO: Packet analysis {"connection_id":131118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5261"} 
[2026-07-11 23:44:56] local.INFO: Extracted packet for processing {"connection_id":131118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5261"} 
[2026-07-11 23:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756062976,"raw_latitude":115735120,"longitude_deg":75.6062976,"latitude_deg":11.573512,"altitude":8,"angle":157,"satellites":45,"speed":43,"hex_longitude":"2d109b00","hex_latitude":"06e5fa50","is_valid_coordinates":true} 
[2026-07-11 23:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651154432001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345869713437360128,"note":"Value kept but may cause issues"} 
[2026-07-11 23:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1192328030976587776,"note":"Value kept but may cause issues"} 
[2026-07-11 23:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783793580000,"timestamp_ms":1783793580000,"timestamp_seconds":1783793580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5261f7e0"} 
[2026-07-11 23:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 23:44:56] 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-07-11 23:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651154432001,"66":27343,"246":206,"80":6400,"24":43,"16":345869713437360128,"45":1192328030976587776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-07-11 23:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651154432001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:44:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-11 23:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345869713437360128,"km_value":345869713437360.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1192328030976587776,"description":"Unknown IO ID 45"} 
[2026-07-11 23:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651154432001,"power":27343,"main_input_voltage":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":1192328030976587776}} 
[2026-07-11 23:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":131118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:44:56] local.INFO: GPS data processed {"connection_id":131118,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:44:56] local.INFO: Acknowledgment sent {"connection_id":131118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:45:39] local.INFO: TCP Data received {"connection_id":129125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:45:39] local.INFO: Processing buffer {"connection_id":129125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:45:39] local.INFO: IMEI packet received {"connection_id":129125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":129125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:45:39] local.INFO: TCP Data received {"connection_id":129125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:45:39] local.INFO: Processing buffer {"connection_id":129125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:45:39] local.INFO: IMEI packet received {"connection_id":129125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":129125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:45:43] local.INFO: TCP Data received {"connection_id":129125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:45:43] local.INFO: Processing buffer {"connection_id":129125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:45:43] local.INFO: IMEI packet received {"connection_id":129125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":129125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:45:44] local.INFO: TCP Data received {"connection_id":129125,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526372c8012d11140006e49a80000b00a030..."} 
[2026-07-11 23:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526372c8012d11140006e49a80000b00a030..."} 
[2026-07-11 23:45:44] local.INFO: Processing buffer {"connection_id":129125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526372c8012d11140006e49a80000b00a030..."} 
[2026-07-11 23:45:44] local.INFO: Packet analysis {"connection_id":129125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5263"} 
[2026-07-11 23:45:44] local.INFO: Extracted packet for processing {"connection_id":129125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5263"} 
[2026-07-11 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":756093952,"raw_latitude":115645056,"longitude_deg":75.6093952,"latitude_deg":11.5645056,"altitude":11,"angle":160,"satellites":48,"speed":47,"hex_longitude":"2d111400","hex_latitude":"06e49a80","is_valid_coordinates":true} 
[2026-07-11 23:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651179264001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345874403541647360,"note":"Value kept but may cause issues"} 
[2026-07-11 23:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1226949453089146880,"note":"Value kept but may cause issues"} 
[2026-07-11 23:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783793677000,"timestamp_ms":1783793677000,"timestamp_seconds":1783793677,"priority":1,"record_length":96,"hex_timestamp":"0000019f526372c8"} 
[2026-07-11 23:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 23:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":129125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":129125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":129125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651179264001,"66":27245,"112":206,"81":20480,"24":47,"16":345874403541647360,"45":1226949453089146880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-07-11 23:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651179264001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:45:44] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-11 23:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345874403541647360,"km_value":345874403541647.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1226949453089146880,"description":"Unknown IO ID 45"} 
[2026-07-11 23:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651179264001,"power":27245,"unknown_112":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1226949453089146880}} 
[2026-07-11 23:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":129125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:45:44] local.INFO: GPS data processed {"connection_id":129125,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:45:44] local.INFO: Acknowledgment sent {"connection_id":129125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:46:15] local.INFO: TCP Data received {"connection_id":129125,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52639208012d11208006e47648000a00a130..."} 
[2026-07-11 23:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52639208012d11208006e47648000a00a130..."} 
[2026-07-11 23:46:15] local.INFO: Processing buffer {"connection_id":129125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52639208012d11208006e47648000a00a130..."} 
[2026-07-11 23:46:15] local.INFO: Packet analysis {"connection_id":129125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5263"} 
[2026-07-11 23:46:15] local.INFO: Extracted packet for processing {"connection_id":129125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5263"} 
[2026-07-11 23:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756097152,"raw_latitude":115635784,"longitude_deg":75.6097152,"latitude_deg":11.5635784,"altitude":10,"angle":161,"satellites":48,"speed":50,"hex_longitude":"2d112080","hex_latitude":"06e47648","is_valid_coordinates":true} 
[2026-07-11 23:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651181312001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345874880283017216,"note":"Value kept but may cause issues"} 
[2026-07-11 23:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1230608627784122368,"note":"Value kept but may cause issues"} 
[2026-07-11 23:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783793685000,"timestamp_ms":1783793685000,"timestamp_seconds":1783793685,"priority":1,"record_length":96,"hex_timestamp":"0000019f52639208"} 
[2026-07-11 23:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 23:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":129125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":129125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":129125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651181312001,"66":27310,"111":206,"81":20480,"24":50,"16":345874880283017216,"45":1230608627784122368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-11 23:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651181312001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:46:15] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 23:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345874880283017216,"km_value":345874880283017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1230608627784122368,"description":"Unknown IO ID 45"} 
[2026-07-11 23:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651181312001,"power":27310,"unknown_111":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1230608627784122368}} 
[2026-07-11 23:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":129125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:46:15] local.INFO: GPS data processed {"connection_id":129125,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:46:15] local.INFO: Acknowledgment sent {"connection_id":129125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:46:49] local.INFO: TCP Data received {"connection_id":129861,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:46:49] local.INFO: Processing buffer {"connection_id":129861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:46:49] local.INFO: IMEI packet received {"connection_id":129861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":129861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:46:50] local.INFO: TCP Data received {"connection_id":129861,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:46:50] local.INFO: Processing buffer {"connection_id":129861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:46:50] local.INFO: IMEI packet received {"connection_id":129861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":129861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:46:54] local.INFO: TCP Data received {"connection_id":129861,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:46:54] local.INFO: Processing buffer {"connection_id":129861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:46:54] local.INFO: IMEI packet received {"connection_id":129861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":129861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:46:55] local.INFO: TCP Data received {"connection_id":129861,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5263ad60012d112d4006e455200009009930..."} 
[2026-07-11 23:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5263ad60012d112d4006e455200009009930..."} 
[2026-07-11 23:46:55] local.INFO: Processing buffer {"connection_id":129861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5263ad60012d112d4006e455200009009930..."} 
[2026-07-11 23:46:55] local.INFO: Packet analysis {"connection_id":129861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5263"} 
[2026-07-11 23:46:55] local.INFO: Extracted packet for processing {"connection_id":129861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5263"} 
[2026-07-11 23:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756100416,"raw_latitude":115627296,"longitude_deg":75.6100416,"latitude_deg":11.5627296,"altitude":9,"angle":153,"satellites":48,"speed":52,"hex_longitude":"2d112d40","hex_latitude":"06e45520","is_valid_coordinates":true} 
[2026-07-11 23:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651183360001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345875318369681408,"note":"Value kept but may cause issues"} 
[2026-07-11 23:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234127064990631936,"note":"Value kept but may cause issues"} 
[2026-07-11 23:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783793692000,"timestamp_ms":1783793692000,"timestamp_seconds":1783793692,"priority":1,"record_length":96,"hex_timestamp":"0000019f5263ad60"} 
[2026-07-11 23:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 23:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":129861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":129861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":129861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651183360001,"66":27321,"111":206,"81":20480,"24":52,"16":345875318369681408,"45":1234127064990631936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-11 23:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651183360001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:46:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 23:46:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345875318369681408,"km_value":345875318369681.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234127064990631936,"description":"Unknown IO ID 45"} 
[2026-07-11 23:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651183360001,"power":27321,"unknown_111":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1234127064990631936}} 
[2026-07-11 23:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":129861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:46:55] local.INFO: GPS data processed {"connection_id":129861,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:46:55] local.INFO: Acknowledgment sent {"connection_id":129861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:47:14] local.INFO: TCP Data received {"connection_id":129860,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:47:14] local.INFO: Processing buffer {"connection_id":129860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:47:14] local.INFO: IMEI packet received {"connection_id":129860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":129860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:47:39] local.INFO: TCP Data received {"connection_id":129127,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:47:39] local.INFO: Processing buffer {"connection_id":129127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:47:39] local.INFO: IMEI packet received {"connection_id":129127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":129127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:47:44] local.INFO: TCP Data received {"connection_id":128946,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:47:44] local.INFO: Processing buffer {"connection_id":128946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:47:44] local.INFO: IMEI packet received {"connection_id":128946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":128946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:47:44] local.INFO: TCP Data received {"connection_id":129127,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:47:44] local.INFO: Processing buffer {"connection_id":129127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:47:44] local.INFO: IMEI packet received {"connection_id":129127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":129127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:47:46] local.INFO: TCP Data received {"connection_id":129127,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52650908012d11708006e32a58000f00a130..."} 
[2026-07-11 23:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52650908012d11708006e32a58000f00a130..."} 
[2026-07-11 23:47:46] local.INFO: Processing buffer {"connection_id":129127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52650908012d11708006e32a58000f00a130..."} 
[2026-07-11 23:47:46] local.INFO: Packet analysis {"connection_id":129127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:47:46] local.INFO: Extracted packet for processing {"connection_id":129127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756117632,"raw_latitude":115550808,"longitude_deg":75.6117632,"latitude_deg":11.5550808,"altitude":15,"angle":161,"satellites":48,"speed":17,"hex_longitude":"2d117080","hex_latitude":"06e32a58","is_valid_coordinates":true} 
[2026-07-11 23:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651206912001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345879175250313216,"note":"Value kept but may cause issues"} 
[2026-07-11 23:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1255800638175920128,"note":"Value kept but may cause issues"} 
[2026-07-11 23:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783793781000,"timestamp_ms":1783793781000,"timestamp_seconds":1783793781,"priority":1,"record_length":96,"hex_timestamp":"0000019f52650908"} 
[2026-07-11 23:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 23:47:46] 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-07-11 23:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651206912001,"66":27484,"111":206,"81":20480,"24":17,"16":345879175250313216,"45":1255800638175920128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-11 23:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651206912001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:47:46] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 23:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345879175250313216,"km_value":345879175250313.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1255800638175920128,"description":"Unknown IO ID 45"} 
[2026-07-11 23:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651206912001,"power":27484,"unknown_111":206,"unknown_81":20480,"ignition":17,"odometer":null,"unknown_45":1255800638175920128}} 
[2026-07-11 23:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":129127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:47:46] local.INFO: GPS data processed {"connection_id":129127,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:47:46] local.INFO: Acknowledgment sent {"connection_id":129127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:48:17] local.INFO: TCP Data received {"connection_id":129127,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52654788012d117b0006e30880000c00a230..."} 
[2026-07-11 23:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52654788012d117b0006e30880000c00a230..."} 
[2026-07-11 23:48:17] local.INFO: Processing buffer {"connection_id":129127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52654788012d117b0006e30880000c00a230..."} 
[2026-07-11 23:48:17] local.INFO: Packet analysis {"connection_id":129127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:48:17] local.INFO: Extracted packet for processing {"connection_id":129127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756120320,"raw_latitude":115542144,"longitude_deg":75.612032,"latitude_deg":11.5542144,"altitude":12,"angle":162,"satellites":48,"speed":23,"hex_longitude":"2d117b00","hex_latitude":"06e30880","is_valid_coordinates":true} 
[2026-07-11 23:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651207936001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345879613336977408,"note":"Value kept but may cause issues"} 
[2026-07-11 23:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1256645063105730560,"note":"Value kept but may cause issues"} 
[2026-07-11 23:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783793797000,"timestamp_ms":1783793797000,"timestamp_seconds":1783793797,"priority":1,"record_length":96,"hex_timestamp":"0000019f52654788"} 
[2026-07-11 23:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 23:48:17] 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-07-11 23:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651207936001,"66":27267,"111":206,"81":20480,"24":23,"16":345879613336977408,"45":1256645063105730560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-11 23:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651207936001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:48:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 23:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345879613336977408,"km_value":345879613336977.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1256645063105730560,"description":"Unknown IO ID 45"} 
[2026-07-11 23:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651207936001,"power":27267,"unknown_111":206,"unknown_81":20480,"ignition":23,"odometer":null,"unknown_45":1256645063105730560}} 
[2026-07-11 23:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":129127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:48:17] local.INFO: GPS data processed {"connection_id":129127,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:48:17] local.INFO: Acknowledgment sent {"connection_id":129127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:48:39] local.INFO: TCP Data received {"connection_id":131119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:48:39] local.INFO: Processing buffer {"connection_id":131119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:48:39] local.INFO: IMEI packet received {"connection_id":131119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":131119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:48:44] local.INFO: TCP Data received {"connection_id":131119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:48:44] local.INFO: Processing buffer {"connection_id":131119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:48:44] local.INFO: IMEI packet received {"connection_id":131119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":131119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:48:46] local.INFO: TCP Data received {"connection_id":131119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52657668012d11868006e2e558000a00a330..."} 
[2026-07-11 23:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52657668012d11868006e2e558000a00a330..."} 
[2026-07-11 23:48:46] local.INFO: Processing buffer {"connection_id":131119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52657668012d11868006e2e558000a00a330..."} 
[2026-07-11 23:48:46] local.INFO: Packet analysis {"connection_id":131119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:48:46] local.INFO: Extracted packet for processing {"connection_id":131119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756123264,"raw_latitude":115533144,"longitude_deg":75.6123264,"latitude_deg":11.5533144,"altitude":10,"angle":163,"satellites":48,"speed":40,"hex_longitude":"2d118680","hex_latitude":"06e2e558","is_valid_coordinates":true} 
[2026-07-11 23:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651212032001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345880072898478080,"note":"Value kept but may cause issues"} 
[2026-07-11 23:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1259600550358974464,"note":"Value kept but may cause issues"} 
[2026-07-11 23:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783793809000,"timestamp_ms":1783793809000,"timestamp_seconds":1783793809,"priority":1,"record_length":96,"hex_timestamp":"0000019f52657668"} 
[2026-07-11 23:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:48: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-07-11 23:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:48: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-07-11 23:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651212032001,"66":27365,"111":206,"81":20480,"24":40,"16":345880072898478080,"45":1259600550358974464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-11 23:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651212032001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:48:46] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-11 23:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345880072898478080,"km_value":345880072898478.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1259600550358974464,"description":"Unknown IO ID 45"} 
[2026-07-11 23:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651212032001,"power":27365,"unknown_111":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1259600550358974464}} 
[2026-07-11 23:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":131119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:48:46] local.INFO: GPS data processed {"connection_id":131119,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:48:46] local.INFO: Acknowledgment sent {"connection_id":131119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:49:18] local.INFO: TCP Data received {"connection_id":131119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52659990012d118f4006e2c078000800ab2b..."} 
[2026-07-11 23:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52659990012d118f4006e2c078000800ab2b..."} 
[2026-07-11 23:49:18] local.INFO: Processing buffer {"connection_id":131119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52659990012d118f4006e2c078000800ab2b..."} 
[2026-07-11 23:49:18] local.INFO: Packet analysis {"connection_id":131119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:49:18] local.INFO: Extracted packet for processing {"connection_id":131119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756125504,"raw_latitude":115523704,"longitude_deg":75.6125504,"latitude_deg":11.5523704,"altitude":8,"angle":171,"satellites":43,"speed":43,"hex_longitude":"2d118f40","hex_latitude":"06e2c078","is_valid_coordinates":true} 
[2026-07-11 23:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651215104001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345880545344880640,"note":"Value kept but may cause issues"} 
[2026-07-11 23:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262837512588843008,"note":"Value kept but may cause issues"} 
[2026-07-11 23:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783793818000,"timestamp_ms":1783793818000,"timestamp_seconds":1783793818,"priority":1,"record_length":96,"hex_timestamp":"0000019f52659990"} 
[2026-07-11 23:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:49:18] 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-07-11 23:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651215104001,"66":27376,"108":206,"81":20480,"24":43,"16":345880545344880640,"45":1262837512588843008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-07-11 23:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651215104001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:49:18] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-11 23:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345880545344880640,"km_value":345880545344880.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262837512588843008,"description":"Unknown IO ID 45"} 
[2026-07-11 23:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651215104001,"power":27376,"unknown_108":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1262837512588843008}} 
[2026-07-11 23:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":131119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:49:18] local.INFO: GPS data processed {"connection_id":131119,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:49:18] local.INFO: Acknowledgment sent {"connection_id":131119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:49:44] local.INFO: TCP Data received {"connection_id":129128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:49:44] local.INFO: Processing buffer {"connection_id":129128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:49:44] local.INFO: IMEI packet received {"connection_id":129128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":129128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:49:45] local.INFO: TCP Data received {"connection_id":129128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:49:45] local.INFO: Processing buffer {"connection_id":129128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:49:45] local.INFO: IMEI packet received {"connection_id":129128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":129128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:49:47] local.INFO: TCP Data received {"connection_id":129128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5265b8d0012d11914006e29dd0000700b52e..."} 
[2026-07-11 23:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5265b8d0012d11914006e29dd0000700b52e..."} 
[2026-07-11 23:49:47] local.INFO: Processing buffer {"connection_id":129128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5265b8d0012d11914006e29dd0000700b52e..."} 
[2026-07-11 23:49:47] local.INFO: Packet analysis {"connection_id":129128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:49:47] local.INFO: Extracted packet for processing {"connection_id":129128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756126016,"raw_latitude":115514832,"longitude_deg":75.6126016,"latitude_deg":11.5514832,"altitude":7,"angle":181,"satellites":46,"speed":43,"hex_longitude":"2d119140","hex_latitude":"06e29dd0","is_valid_coordinates":true} 
[2026-07-11 23:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651217408001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345880974841610240,"note":"Value kept but may cause issues"} 
[2026-07-11 23:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1265300418632644608,"note":"Value kept but may cause issues"} 
[2026-07-11 23:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783793826000,"timestamp_ms":1783793826000,"timestamp_seconds":1783793826,"priority":1,"record_length":96,"hex_timestamp":"0000019f5265b8d0"} 
[2026-07-11 23:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651217408001,"66":27300,"108":206,"81":20480,"24":43,"16":345880974841610240,"45":1265300418632644608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-07-11 23:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651217408001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:49:47] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-11 23:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345880974841610240,"km_value":345880974841610.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1265300418632644608,"description":"Unknown IO ID 45"} 
[2026-07-11 23:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651217408001,"power":27300,"unknown_108":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1265300418632644608}} 
[2026-07-11 23:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":129128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:49:47] local.INFO: GPS data processed {"connection_id":129128,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:49:47] local.INFO: Acknowledgment sent {"connection_id":129128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:49:49] local.INFO: TCP Data received {"connection_id":129128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5265dbf8012d118dc006e27830000700ba2d..."} 
[2026-07-11 23:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5265dbf8012d118dc006e27830000700ba2d..."} 
[2026-07-11 23:49:49] local.INFO: Processing buffer {"connection_id":129128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5265dbf8012d118dc006e27830000700ba2d..."} 
[2026-07-11 23:49:49] local.INFO: Packet analysis {"connection_id":129128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:49:49] local.INFO: Extracted packet for processing {"connection_id":129128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5265"} 
[2026-07-11 23:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756125120,"raw_latitude":115505200,"longitude_deg":75.612512,"latitude_deg":11.55052,"altitude":7,"angle":186,"satellites":45,"speed":41,"hex_longitude":"2d118dc0","hex_latitude":"06e27830","is_valid_coordinates":true} 
[2026-07-11 23:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651219456001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345881442993045504,"note":"Value kept but may cause issues"} 
[2026-07-11 23:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1265863368583794688,"note":"Value kept but may cause issues"} 
[2026-07-11 23:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783793835000,"timestamp_ms":1783793835000,"timestamp_seconds":1783793835,"priority":1,"record_length":96,"hex_timestamp":"0000019f5265dbf8"} 
[2026-07-11 23:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-11 23:49:49] 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-07-11 23:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":129128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":129128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":129128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651219456001,"66":27267,"108":206,"81":20480,"24":41,"16":345881442993045504,"45":1265863368583794688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-07-11 23:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651219456001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:49:49] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-11 23:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345881442993045504,"km_value":345881442993045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1265863368583794688,"description":"Unknown IO ID 45"} 
[2026-07-11 23:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651219456001,"power":27267,"unknown_108":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1265863368583794688}} 
[2026-07-11 23:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":129128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:49:49] local.INFO: GPS data processed {"connection_id":129128,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:49:49] local.INFO: Acknowledgment sent {"connection_id":129128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:50:21] local.INFO: TCP Data received {"connection_id":129128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5267d3e0012d11ca0006e0f1c8000400ac2f..."} 
[2026-07-11 23:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5267d3e0012d11ca0006e0f1c8000400ac2f..."} 
[2026-07-11 23:50:21] local.INFO: Processing buffer {"connection_id":129128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5267d3e0012d11ca0006e0f1c8000400ac2f..."} 
[2026-07-11 23:50:21] local.INFO: Packet analysis {"connection_id":129128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5267"} 
[2026-07-11 23:50:21] local.INFO: Extracted packet for processing {"connection_id":129128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5267"} 
[2026-07-11 23:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756140544,"raw_latitude":115405256,"longitude_deg":75.6140544,"latitude_deg":11.5405256,"altitude":4,"angle":172,"satellites":47,"speed":44,"hex_longitude":"2d11ca00","hex_latitude":"06e0f1c8","is_valid_coordinates":true} 
[2026-07-11 23:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651252736001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345886420860141568,"note":"Value kept but may cause issues"} 
[2026-07-11 23:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1279796379905144832,"note":"Value kept but may cause issues"} 
[2026-07-11 23:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783793964000,"timestamp_ms":1783793964000,"timestamp_seconds":1783793964,"priority":1,"record_length":96,"hex_timestamp":"0000019f5267d3e0"} 
[2026-07-11 23:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 23:50:21] 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-07-11 23:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":129128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":129128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":129128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651252736001,"66":27267,"98":206,"81":20480,"24":44,"16":345886420860141568,"45":1279796379905144832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-07-11 23:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651252736001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:50:21] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-11 23:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345886420860141568,"km_value":345886420860141.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1279796379905144832,"description":"Unknown IO ID 45"} 
[2026-07-11 23:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651252736001,"power":27267,"unknown_98":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1279796379905144832}} 
[2026-07-11 23:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":129128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:50:21] local.INFO: GPS data processed {"connection_id":129128,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:50:21] local.INFO: Acknowledgment sent {"connection_id":129128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:50:36] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:50:36] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:50:36] local.INFO: IMEI packet received {"connection_id":128948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":128948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:50:40] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:50:40] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:50:40] local.INFO: IMEI packet received {"connection_id":128948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":128948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:50:44] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:50:44] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:50:44] local.INFO: IMEI packet received {"connection_id":128948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":128948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:50:47] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5267f320012d11cdc006e0ce88000500ae2e..."} 
[2026-07-11 23:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5267f320012d11cdc006e0ce88000500ae2e..."} 
[2026-07-11 23:50:47] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5267f320012d11cdc006e0ce88000500ae2e..."} 
[2026-07-11 23:50:47] local.INFO: Packet analysis {"connection_id":128948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5267"} 
[2026-07-11 23:50:47] local.INFO: Extracted packet for processing {"connection_id":128948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5267"} 
[2026-07-11 23:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756141504,"raw_latitude":115396232,"longitude_deg":75.6141504,"latitude_deg":11.5396232,"altitude":5,"angle":174,"satellites":46,"speed":45,"hex_longitude":"2d11cdc0","hex_latitude":"06e0ce88","is_valid_coordinates":true} 
[2026-07-11 23:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651254784001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345886863241773056,"note":"Value kept but may cause issues"} 
[2026-07-11 23:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1281837073484072960,"note":"Value kept but may cause issues"} 
[2026-07-11 23:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783793972000,"timestamp_ms":1783793972000,"timestamp_seconds":1783793972,"priority":1,"record_length":96,"hex_timestamp":"0000019f5267f320"} 
[2026-07-11 23:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:50:47] 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-07-11 23:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":128948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651254784001,"66":27310,"98":206,"81":20480,"24":45,"16":345886863241773056,"45":1281837073484072960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-07-11 23:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651254784001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:50:47] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-11 23:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345886863241773056,"km_value":345886863241773.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1281837073484072960,"description":"Unknown IO ID 45"} 
[2026-07-11 23:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651254784001,"power":27310,"unknown_98":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1281837073484072960}} 
[2026-07-11 23:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":128948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:50:47] local.INFO: GPS data processed {"connection_id":128948,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:50:47] local.INFO: Acknowledgment sent {"connection_id":128948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:51:19] local.INFO: TCP Data received {"connection_id":128948,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52681260012d11d1c006e0abb0000500ae2d..."} 
[2026-07-11 23:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52681260012d11d1c006e0abb0000500ae2d..."} 
[2026-07-11 23:51:19] local.INFO: Processing buffer {"connection_id":128948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52681260012d11d1c006e0abb0000500ae2d..."} 
[2026-07-11 23:51:19] local.INFO: Packet analysis {"connection_id":128948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5268"} 
[2026-07-11 23:51:19] local.INFO: Extracted packet for processing {"connection_id":128948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5268"} 
[2026-07-11 23:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756142528,"raw_latitude":115387312,"longitude_deg":75.6142528,"latitude_deg":11.5387312,"altitude":5,"angle":174,"satellites":45,"speed":43,"hex_longitude":"2d11d1c0","hex_latitude":"06e0abb0","is_valid_coordinates":true} 
[2026-07-11 23:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651256832001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345887297033469952,"note":"Value kept but may cause issues"} 
[2026-07-11 23:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1282892604644427776,"note":"Value kept but may cause issues"} 
[2026-07-11 23:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783793980000,"timestamp_ms":1783793980000,"timestamp_seconds":1783793980,"priority":1,"record_length":96,"hex_timestamp":"0000019f52681260"} 
[2026-07-11 23:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-11 23:51:19] 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-07-11 23:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651256832001,"66":27343,"98":206,"81":20480,"24":43,"16":345887297033469952,"45":1282892604644427776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-07-11 23:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651256832001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:51:19] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-11 23:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345887297033469952,"km_value":345887297033469.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1282892604644427776,"description":"Unknown IO ID 45"} 
[2026-07-11 23:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651256832001,"power":27343,"unknown_98":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1282892604644427776}} 
[2026-07-11 23:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":128948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:51:19] local.INFO: GPS data processed {"connection_id":128948,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:51:19] local.INFO: Acknowledgment sent {"connection_id":128948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:51:38] local.INFO: TCP Data received {"connection_id":129862,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:51:38] local.INFO: Processing buffer {"connection_id":129862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:51:38] local.INFO: IMEI packet received {"connection_id":129862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":129862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:51:39] local.INFO: TCP Data received {"connection_id":129862,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:51:39] local.INFO: Processing buffer {"connection_id":129862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:51:39] local.INFO: IMEI packet received {"connection_id":129862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":129862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:51:44] local.INFO: TCP Data received {"connection_id":129862,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:51:44] local.INFO: Processing buffer {"connection_id":129862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:51:44] local.INFO: IMEI packet received {"connection_id":129862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":129862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:51:45] local.INFO: TCP Data received {"connection_id":129862,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f52683588012d11d6c006e08728000700a82f..."} 
[2026-07-11 23:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f52683588012d11d6c006e08728000700a82f..."} 
[2026-07-11 23:51:45] local.INFO: Processing buffer {"connection_id":129862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f52683588012d11d6c006e08728000700a82f..."} 
[2026-07-11 23:51:45] local.INFO: Packet analysis {"connection_id":129862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5268"} 
[2026-07-11 23:51:45] local.INFO: Extracted packet for processing {"connection_id":129862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5268"} 
[2026-07-11 23:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756143808,"raw_latitude":115377960,"longitude_deg":75.6143808,"latitude_deg":11.537796,"altitude":7,"angle":168,"satellites":47,"speed":41,"hex_longitude":"2d11d6c0","hex_latitude":"06e08728","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651258880001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345887756594970624,"note":"Value kept but may cause issues"} 
[2026-07-11 23:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1284018504548986880,"note":"Value kept but may cause issues"} 
[2026-07-11 23:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783793989000,"timestamp_ms":1783793989000,"timestamp_seconds":1783793989,"priority":1,"record_length":96,"hex_timestamp":"0000019f52683588"} 
[2026-07-11 23:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:51: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-07-11 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23: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-07-11 23:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":129862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":129862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":129862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651258880001,"66":27245,"98":206,"81":20480,"24":41,"16":345887756594970624,"45":1284018504548986880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-07-11 23:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651258880001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:51:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-11 23:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345887756594970624,"km_value":345887756594970.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1284018504548986880,"description":"Unknown IO ID 45"} 
[2026-07-11 23:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651258880001,"power":27245,"unknown_98":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1284018504548986880}} 
[2026-07-11 23:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":129862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:51:45] local.INFO: GPS data processed {"connection_id":129862,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:51:45] local.INFO: Acknowledgment sent {"connection_id":129862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:52:17] local.INFO: TCP Data received {"connection_id":129862,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526858b0012d11e04006e063d8000800a42f..."} 
[2026-07-11 23:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526858b0012d11e04006e063d8000800a42f..."} 
[2026-07-11 23:52:17] local.INFO: Processing buffer {"connection_id":129862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526858b0012d11e04006e063d8000800a42f..."} 
[2026-07-11 23:52:17] local.INFO: Packet analysis {"connection_id":129862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5268"} 
[2026-07-11 23:52:17] local.INFO: Extracted packet for processing {"connection_id":129862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5268"} 
[2026-07-11 23:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756146240,"raw_latitude":115368920,"longitude_deg":75.614624,"latitude_deg":11.536892,"altitude":8,"angle":164,"satellites":47,"speed":39,"hex_longitude":"2d11e040","hex_latitude":"06e063d8","is_valid_coordinates":true} 
[2026-07-11 23:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651261184001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345888207566536704,"note":"Value kept but may cause issues"} 
[2026-07-11 23:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1285425879430146048,"note":"Value kept but may cause issues"} 
[2026-07-11 23:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783793998000,"timestamp_ms":1783793998000,"timestamp_seconds":1783793998,"priority":1,"record_length":96,"hex_timestamp":"0000019f526858b0"} 
[2026-07-11 23:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 23:52:17] 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-07-11 23:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651261184001,"66":27365,"97":206,"81":20480,"24":39,"16":345888207566536704,"45":1285425879430146048},"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-07-11 23:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651261184001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-11 23:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345888207566536704,"km_value":345888207566536.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1285425879430146048,"description":"Unknown IO ID 45"} 
[2026-07-11 23:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651261184001,"power":27365,"unknown_97":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1285425879430146048}} 
[2026-07-11 23:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":129862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:52:17] local.INFO: GPS data processed {"connection_id":129862,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:52:17] local.INFO: Acknowledgment sent {"connection_id":129862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:52:39] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:52:39] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:52:39] local.INFO: IMEI packet received {"connection_id":128950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":128950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:52:43] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:52:43] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:52:43] local.INFO: IMEI packet received {"connection_id":128950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":128950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:52:44] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5269eb08012d12214006df3ca8000a00b02e..."} 
[2026-07-11 23:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5269eb08012d12214006df3ca8000a00b02e..."} 
[2026-07-11 23:52:44] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5269eb08012d12214006df3ca8000a00b02e..."} 
[2026-07-11 23:52:44] local.INFO: Packet analysis {"connection_id":128950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5269"} 
[2026-07-11 23:52:44] local.INFO: Extracted packet for processing {"connection_id":128950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5269"} 
[2026-07-11 23:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756162880,"raw_latitude":115293352,"longitude_deg":75.616288,"latitude_deg":11.5293352,"altitude":10,"angle":176,"satellites":46,"speed":21,"hex_longitude":"2d122140","hex_latitude":"06df3ca8","is_valid_coordinates":true} 
[2026-07-11 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651289088001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345891974252855296,"note":"Value kept but may cause issues"} 
[2026-07-11 23:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1306606871406350336,"note":"Value kept but may cause issues"} 
[2026-07-11 23:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783794101000,"timestamp_ms":1783794101000,"timestamp_seconds":1783794101,"priority":1,"record_length":96,"hex_timestamp":"0000019f5269eb08"} 
[2026-07-11 23:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:52: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-07-11 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-11 23:52:44] 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-07-11 23:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":128950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651289088001,"66":27332,"232":206,"81":20480,"24":21,"16":345891974252855296,"45":1306606871406350336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-11 23:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651289088001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:52:44] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-11 23:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345891974252855296,"km_value":345891974252855.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1306606871406350336,"description":"Unknown IO ID 45"} 
[2026-07-11 23:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651289088001,"power":27332,"unknown_232":206,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":1306606871406350336}} 
[2026-07-11 23:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":128950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:52:44] local.INFO: GPS data processed {"connection_id":128950,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:52:44] local.INFO: Acknowledgment sent {"connection_id":128950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:53:16] local.INFO: TCP Data received {"connection_id":131121,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:53:16] local.INFO: Processing buffer {"connection_id":131121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:53:16] local.INFO: IMEI packet received {"connection_id":131121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":131121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:53:19] local.INFO: TCP Data received {"connection_id":128950,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526a21b8012d1228c006df18b0000900a631..."} 
[2026-07-11 23:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526a21b8012d1228c006df18b0000900a631..."} 
[2026-07-11 23:53:19] local.INFO: Processing buffer {"connection_id":128950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526a21b8012d1228c006df18b0000900a631..."} 
[2026-07-11 23:53:19] local.INFO: Packet analysis {"connection_id":128950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:53:19] local.INFO: Extracted packet for processing {"connection_id":128950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756164800,"raw_latitude":115284144,"longitude_deg":75.61648,"latitude_deg":11.5284144,"altitude":9,"angle":166,"satellites":49,"speed":31,"hex_longitude":"2d1228c0","hex_latitude":"06df18b0","is_valid_coordinates":true} 
[2026-07-11 23:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651289856001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345892429519388672,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1306395765173430272,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783794115000,"timestamp_ms":1783794115000,"timestamp_seconds":1783794115,"priority":1,"record_length":96,"hex_timestamp":"0000019f526a21b8"} 
[2026-07-11 23:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-11 23:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651289856001,"66":27397,"231":206,"81":20480,"24":31,"16":345892429519388672,"45":1306395765173430272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-07-11 23:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651289856001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:53:19] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-11 23:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345892429519388672,"km_value":345892429519388.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1306395765173430272,"description":"Unknown IO ID 45"} 
[2026-07-11 23:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651289856001,"power":27397,"unknown_231":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1306395765173430272}} 
[2026-07-11 23:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":128950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:53:19] local.INFO: GPS data processed {"connection_id":128950,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:53:19] local.INFO: Acknowledgment sent {"connection_id":128950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:53:46] local.INFO: TCP Data received {"connection_id":129129,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:53:46] local.INFO: Processing buffer {"connection_id":129129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:53:46] local.INFO: IMEI packet received {"connection_id":129129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":129129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:53:46] local.INFO: TCP Data received {"connection_id":129129,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:53:46] local.INFO: Processing buffer {"connection_id":129129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:53:46] local.INFO: IMEI packet received {"connection_id":129129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":129129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:53:49] local.INFO: TCP Data received {"connection_id":129129,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:53:49] local.INFO: Processing buffer {"connection_id":129129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:53:49] local.INFO: IMEI packet received {"connection_id":129129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":129129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:53:50] local.INFO: TCP Data received {"connection_id":129864,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:53:50] local.INFO: Processing buffer {"connection_id":129864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:53:50] local.INFO: IMEI packet received {"connection_id":129864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":129864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:53:56] local.INFO: TCP Data received {"connection_id":129129,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526a48c8012d12310006def6d0000800a72f..."} 
[2026-07-11 23:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526a48c8012d12310006def6d0000800a72f..."} 
[2026-07-11 23:53:56] local.INFO: Processing buffer {"connection_id":129129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526a48c8012d12310006def6d0000800a72f..."} 
[2026-07-11 23:53:56] local.INFO: Packet analysis {"connection_id":129129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:53:56] local.INFO: Extracted packet for processing {"connection_id":129129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756166912,"raw_latitude":115275472,"longitude_deg":75.6166912,"latitude_deg":11.5275472,"altitude":8,"angle":167,"satellites":47,"speed":38,"hex_longitude":"2d123100","hex_latitude":"06def6d0","is_valid_coordinates":true} 
[2026-07-11 23:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651293440001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345892863311085568,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1308506827496402944,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783794125000,"timestamp_ms":1783794125000,"timestamp_seconds":1783794125,"priority":1,"record_length":96,"hex_timestamp":"0000019f526a48c8"} 
[2026-07-11 23:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 23:53:56] 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-07-11 23:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":129129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":129129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":129129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651293440001,"66":27376,"231":206,"81":20480,"24":38,"16":345892863311085568,"45":1308506827496402944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-07-11 23:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651293440001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:53:56] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-11 23:53:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345892863311085568,"km_value":345892863311085.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1308506827496402944,"description":"Unknown IO ID 45"} 
[2026-07-11 23:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651293440001,"power":27376,"unknown_231":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1308506827496402944}} 
[2026-07-11 23:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":129129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:53:56] local.INFO: GPS data processed {"connection_id":129129,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:53:56] local.INFO: Acknowledgment sent {"connection_id":129129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:53:58] local.INFO: TCP Data received {"connection_id":129129,"ip":"42.106.6.40","data_length":1348,"data_hex":"000000000000030f8e0a0000019f526a6fd8012d123ac006ded210000900a32f..."} 
[2026-07-11 23:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129129,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f526a6fd8012d123ac006ded210000900a32f..."} 
[2026-07-11 23:53:58] local.INFO: Processing buffer {"connection_id":129129,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f526a6fd8012d123ac006ded210000900a32f..."} 
[2026-07-11 23:53:58] local.INFO: Packet analysis {"connection_id":129129,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:53:58] local.INFO: Extracted packet for processing {"connection_id":129129,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756169408,"raw_latitude":115266064,"longitude_deg":75.6169408,"latitude_deg":11.5266064,"altitude":9,"angle":163,"satellites":47,"speed":39,"hex_longitude":"2d123ac0","hex_latitude":"06ded210","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651296000001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345893335757488128,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1310828996052045824,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783794135000,"timestamp_ms":1783794135000,"timestamp_seconds":1783794135,"priority":1,"record_length":96,"hex_timestamp":"0000019f526a6fd8"} 
[2026-07-11 23:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-11 23:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23: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-07-11 23:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":129129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":129129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":129129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651296000001,"66":27267,"231":206,"81":20480,"24":39,"16":345893335757488128,"45":1310828996052045824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-07-11 23:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651296000001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:53:58] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-11 23:53:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345893335757488128,"km_value":345893335757488.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1310828996052045824,"description":"Unknown IO ID 45"} 
[2026-07-11 23:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651296000001,"power":27267,"unknown_231":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1310828996052045824}} 
[2026-07-11 23:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":129129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:53:58] local.INFO: GPS data processed {"connection_id":129129,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:53:58] local.INFO: Acknowledgment sent {"connection_id":129129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:53:58] local.INFO: Packet analysis {"connection_id":129129,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:53:58] local.INFO: Incomplete packet, waiting for more data {"connection_id":129129,"needed":795,"available":553} 
[2026-07-11 23:53:58] local.INFO: TCP Data received {"connection_id":129129,"ip":"42.106.6.40","data_length":242,"data_hex":"0000000000019f5269c7e0012d12214006df4fc0000900a72c00170000000a00..."} 
[2026-07-11 23:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129129,"packet_length":242,"packet_hex":"0000000000019f5269c7e0012d12214006df4fc0000900a72c00170000000a00..."} 
[2026-07-11 23:53:58] local.INFO: Processing buffer {"connection_id":129129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526a96e8012d12458006deaf10000a00a231..."} 
[2026-07-11 23:53:58] local.INFO: Packet analysis {"connection_id":129129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:53:58] local.INFO: Extracted packet for processing {"connection_id":129129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756172160,"raw_latitude":115257104,"longitude_deg":75.617216,"latitude_deg":11.5257104,"altitude":10,"angle":162,"satellites":49,"speed":26,"hex_longitude":"2d124580","hex_latitude":"06deaf10","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651298560001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345893786729054208,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1313573377072566272,"note":"Value kept but may cause issues"} 
[2026-07-11 23:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783794145000,"timestamp_ms":1783794145000,"timestamp_seconds":1783794145,"priority":1,"record_length":96,"hex_timestamp":"0000019f526a96e8"} 
[2026-07-11 23:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:53:58] 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-07-11 23: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-07-11 23:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":129129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":129129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":129129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651298560001,"66":27321,"231":206,"81":20480,"24":26,"16":345893786729054208,"45":1313573377072566272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-07-11 23:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651298560001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:53:58] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-11 23:53:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345893786729054208,"km_value":345893786729054.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1313573377072566272,"description":"Unknown IO ID 45"} 
[2026-07-11 23:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651298560001,"power":27321,"unknown_231":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":1313573377072566272}} 
[2026-07-11 23:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":129129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:53:58] local.INFO: GPS data processed {"connection_id":129129,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:53:58] local.INFO: Acknowledgment sent {"connection_id":129129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:54:39] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:54:39] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:54:39] local.INFO: IMEI packet received {"connection_id":128951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":128951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:54:40] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:54:40] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:54:40] local.INFO: IMEI packet received {"connection_id":128951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":128951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:54:44] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:54:44] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:54:44] local.INFO: IMEI packet received {"connection_id":128951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":128951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:54:45] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526ae508012d124f0006de8d50000900a131..."} 
[2026-07-11 23:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526ae508012d124f0006de8d50000900a131..."} 
[2026-07-11 23:54:45] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526ae508012d124f0006de8d50000900a131..."} 
[2026-07-11 23:54:45] local.INFO: Packet analysis {"connection_id":128951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:54:45] local.INFO: Extracted packet for processing {"connection_id":128951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526a"} 
[2026-07-11 23:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756174592,"raw_latitude":115248464,"longitude_deg":75.6174592,"latitude_deg":11.5248464,"altitude":9,"angle":161,"satellites":49,"speed":17,"hex_longitude":"2d124f00","hex_latitude":"06de8d50","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651301120001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345894224815718400,"note":"Value kept but may cause issues"} 
[2026-07-11 23:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1316599233069912064,"note":"Value kept but may cause issues"} 
[2026-07-11 23:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783794165000,"timestamp_ms":1783794165000,"timestamp_seconds":1783794165,"priority":1,"record_length":96,"hex_timestamp":"0000019f526ae508"} 
[2026-07-11 23:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-11 23:54:45] 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-07-11 23: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-07-11 23:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":128951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":128951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":128951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651301120001,"66":27267,"231":206,"81":20480,"24":17,"16":345894224815718400,"45":1316599233069912064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-07-11 23:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651301120001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:54:45] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-11 23:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345894224815718400,"km_value":345894224815718.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1316599233069912064,"description":"Unknown IO ID 45"} 
[2026-07-11 23:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651301120001,"power":27267,"unknown_231":206,"unknown_81":20480,"ignition":17,"odometer":null,"unknown_45":1316599233069912064}} 
[2026-07-11 23:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":128951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:54:45] local.INFO: GPS data processed {"connection_id":128951,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:54:45] local.INFO: Acknowledgment sent {"connection_id":128951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:55:17] local.INFO: TCP Data received {"connection_id":128951,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526b3710012d12598006de6f00000b00a730..."} 
[2026-07-11 23:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526b3710012d12598006de6f00000b00a730..."} 
[2026-07-11 23:55:17] local.INFO: Processing buffer {"connection_id":128951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526b3710012d12598006de6f00000b00a730..."} 
[2026-07-11 23:55:17] local.INFO: Packet analysis {"connection_id":128951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526b"} 
[2026-07-11 23:55:17] local.INFO: Extracted packet for processing {"connection_id":128951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526b"} 
[2026-07-11 23:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756177280,"raw_latitude":115240704,"longitude_deg":75.617728,"latitude_deg":11.5240704,"altitude":11,"angle":167,"satellites":48,"speed":25,"hex_longitude":"2d125980","hex_latitude":"06de6f00","is_valid_coordinates":true} 
[2026-07-11 23:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651306240001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345894624247676928,"note":"Value kept but may cause issues"} 
[2026-07-11 23:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319273245346451456,"note":"Value kept but may cause issues"} 
[2026-07-11 23:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783794186000,"timestamp_ms":1783794186000,"timestamp_seconds":1783794186,"priority":1,"record_length":96,"hex_timestamp":"0000019f526b3710"} 
[2026-07-11 23:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:55:17] 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-07-11 23:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":128951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":128951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":128951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651306240001,"66":27332,"231":206,"81":20480,"24":25,"16":345894624247676928,"45":1319273245346451456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-07-11 23:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651306240001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:55:17] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-11 23:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345894624247676928,"km_value":345894624247676.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1319273245346451456,"description":"Unknown IO ID 45"} 
[2026-07-11 23:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651306240001,"power":27332,"unknown_231":206,"unknown_81":20480,"ignition":25,"odometer":null,"unknown_45":1319273245346451456}} 
[2026-07-11 23:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":128951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:55:17] local.INFO: GPS data processed {"connection_id":128951,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:55:17] local.INFO: Acknowledgment sent {"connection_id":128951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:55:38] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:55:38] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:55:38] local.INFO: IMEI packet received {"connection_id":131123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":131123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:55:39] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:55:39] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:55:39] local.INFO: IMEI packet received {"connection_id":131123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":131123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:55:44] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:55:44] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:55:44] local.INFO: IMEI packet received {"connection_id":131123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":131123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:55:46] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526caa28012d12cdc006dcfb18000e00a130..."} 
[2026-07-11 23:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526caa28012d12cdc006dcfb18000e00a130..."} 
[2026-07-11 23:55:46] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526caa28012d12cdc006dcfb18000e00a130..."} 
[2026-07-11 23:55:46] local.INFO: Packet analysis {"connection_id":131123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526c"} 
[2026-07-11 23:55:46] local.INFO: Extracted packet for processing {"connection_id":131123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526c"} 
[2026-07-11 23:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756207040,"raw_latitude":115145496,"longitude_deg":75.620704,"latitude_deg":11.5145496,"altitude":14,"angle":161,"satellites":48,"speed":51,"hex_longitude":"2d12cdc0","hex_latitude":"06dcfb18","is_valid_coordinates":true} 
[2026-07-11 23:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651333888001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345899516215427072,"note":"Value kept but may cause issues"} 
[2026-07-11 23:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1351502130155859968,"note":"Value kept but may cause issues"} 
[2026-07-11 23:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783794281000,"timestamp_ms":1783794281000,"timestamp_seconds":1783794281,"priority":1,"record_length":96,"hex_timestamp":"0000019f526caa28"} 
[2026-07-11 23:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:55: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-07-11 23:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 23:55:46] 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-07-11 23:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651333888001,"66":27484,"65":206,"81":20480,"24":51,"16":345899516215427072,"45":1351502130155859968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-07-11 23:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651333888001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:55:46] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-11 23:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345899516215427072,"km_value":345899516215427.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1351502130155859968,"description":"Unknown IO ID 45"} 
[2026-07-11 23:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651333888001,"power":27484,"unknown_65":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1351502130155859968}} 
[2026-07-11 23:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":131123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:55:46] local.INFO: GPS data processed {"connection_id":131123,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:55:46] local.INFO: Acknowledgment sent {"connection_id":131123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:56:18] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526cc580012d12dd0006dcd8d8000d009530..."} 
[2026-07-11 23:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526cc580012d12dd0006dcd8d8000d009530..."} 
[2026-07-11 23:56:18] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526cc580012d12dd0006dcd8d8000d009530..."} 
[2026-07-11 23:56:18] local.INFO: Packet analysis {"connection_id":131123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526c"} 
[2026-07-11 23:56:18] local.INFO: Extracted packet for processing {"connection_id":131123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526c"} 
[2026-07-11 23:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756210944,"raw_latitude":115136728,"longitude_deg":75.6210944,"latitude_deg":11.5136728,"altitude":13,"angle":149,"satellites":48,"speed":57,"hex_longitude":"2d12dd00","hex_latitude":"06dcd8d8","is_valid_coordinates":true} 
[2026-07-11 23:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651335936001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345899980071895040,"note":"Value kept but may cause issues"} 
[2026-07-11 23:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1354950198618167296,"note":"Value kept but may cause issues"} 
[2026-07-11 23:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783794288000,"timestamp_ms":1783794288000,"timestamp_seconds":1783794288,"priority":1,"record_length":96,"hex_timestamp":"0000019f526cc580"} 
[2026-07-11 23:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-11 23:56:18] 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-07-11 23:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651335936001,"66":27365,"65":206,"81":20480,"24":57,"16":345899980071895040,"45":1354950198618167296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-07-11 23:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651335936001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:56:18] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-11 23:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345899980071895040,"km_value":345899980071895.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1354950198618167296,"description":"Unknown IO ID 45"} 
[2026-07-11 23:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651335936001,"power":27365,"unknown_65":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1354950198618167296}} 
[2026-07-11 23:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":131123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:56:18] local.INFO: GPS data processed {"connection_id":131123,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:56:18] local.INFO: Acknowledgment sent {"connection_id":131123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:56:39] local.INFO: TCP Data received {"connection_id":131125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:56:39] local.INFO: Processing buffer {"connection_id":131125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:56:39] local.INFO: IMEI packet received {"connection_id":131125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":131125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:56:43] local.INFO: TCP Data received {"connection_id":131125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:56:43] local.INFO: Processing buffer {"connection_id":131125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:56:43] local.INFO: IMEI packet received {"connection_id":131125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":131125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:56:44] local.INFO: TCP Data received {"connection_id":131125,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:56:44] local.INFO: Processing buffer {"connection_id":131125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:56:44] local.INFO: IMEI packet received {"connection_id":131125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":131125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:56:45] local.INFO: TCP Data received {"connection_id":131125,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526cc580012d12dd0006dcd8d8000d009530..."} 
[2026-07-11 23:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526cc580012d12dd0006dcd8d8000d009530..."} 
[2026-07-11 23:56:45] local.INFO: Processing buffer {"connection_id":131125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526cc580012d12dd0006dcd8d8000d009530..."} 
[2026-07-11 23:56:45] local.INFO: Packet analysis {"connection_id":131125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526c"} 
[2026-07-11 23:56:45] local.INFO: Extracted packet for processing {"connection_id":131125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526c"} 
[2026-07-11 23:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756210944,"raw_latitude":115136728,"longitude_deg":75.6210944,"latitude_deg":11.5136728,"altitude":13,"angle":149,"satellites":48,"speed":57,"hex_longitude":"2d12dd00","hex_latitude":"06dcd8d8","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651337728001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345899980071895040,"note":"Value kept but may cause issues"} 
[2026-07-11 23:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1359242692010760192,"note":"Value kept but may cause issues"} 
[2026-07-11 23:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783794288000,"timestamp_ms":1783794288000,"timestamp_seconds":1783794288,"priority":1,"record_length":96,"hex_timestamp":"0000019f526cc580"} 
[2026-07-11 23:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:56:45] 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-07-11 23: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-07-11 23:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651337728001,"66":27365,"65":206,"81":20480,"24":57,"16":345899980071895040,"45":1359242692010760192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-07-11 23:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651337728001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:56:45] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-11 23:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345899980071895040,"km_value":345899980071895.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1359242692010760192,"description":"Unknown IO ID 45"} 
[2026-07-11 23:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651337728001,"power":27365,"unknown_65":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1359242692010760192}} 
[2026-07-11 23:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":131125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:56:45] local.INFO: GPS data processed {"connection_id":131125,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:56:45] local.INFO: Acknowledgment sent {"connection_id":131125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:56:50] local.INFO: TCP Data received {"connection_id":131125,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526cdcf0012d12f00006dcbb38000b00932e..."} 
[2026-07-11 23:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526cdcf0012d12f00006dcbb38000b00932e..."} 
[2026-07-11 23:56:50] local.INFO: Processing buffer {"connection_id":131125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526cdcf0012d12f00006dcbb38000b00932e..."} 
[2026-07-11 23:56:50] local.INFO: Packet analysis {"connection_id":131125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526c"} 
[2026-07-11 23:56:50] local.INFO: Extracted packet for processing {"connection_id":131125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526c"} 
[2026-07-11 23:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756215808,"raw_latitude":115129144,"longitude_deg":75.6215808,"latitude_deg":11.5129144,"altitude":11,"angle":147,"satellites":46,"speed":60,"hex_longitude":"2d12f000","hex_latitude":"06dcbb38","is_valid_coordinates":true} 
[2026-07-11 23: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-07-11 23:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651337728001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345900413863591936,"note":"Value kept but may cause issues"} 
[2026-07-11 23:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1359242692010760192,"note":"Value kept but may cause issues"} 
[2026-07-11 23:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783794294000,"timestamp_ms":1783794294000,"timestamp_seconds":1783794294,"priority":1,"record_length":96,"hex_timestamp":"0000019f526cdcf0"} 
[2026-07-11 23:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23: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-07-11 23:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651337728001,"66":27376,"65":206,"81":20480,"24":60,"16":345900413863591936,"45":1359242692010760192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-07-11 23:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651337728001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:56:50] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-11 23:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345900413863591936,"km_value":345900413863591.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1359242692010760192,"description":"Unknown IO ID 45"} 
[2026-07-11 23:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651337728001,"power":27376,"unknown_65":206,"unknown_81":20480,"ignition":60,"odometer":null,"unknown_45":1359242692010760192}} 
[2026-07-11 23:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":131125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:56:50] local.INFO: GPS data processed {"connection_id":131125,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:56:50] local.INFO: Acknowledgment sent {"connection_id":131125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:57:21] local.INFO: TCP Data received {"connection_id":131125,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526e0da0012d138d0006db71900009009d2f..."} 
[2026-07-11 23:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526e0da0012d138d0006db71900009009d2f..."} 
[2026-07-11 23:57:21] local.INFO: Processing buffer {"connection_id":131125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526e0da0012d138d0006db71900009009d2f..."} 
[2026-07-11 23:57:21] local.INFO: Packet analysis {"connection_id":131125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:57:21] local.INFO: Extracted packet for processing {"connection_id":131125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756256000,"raw_latitude":115044752,"longitude_deg":75.6256,"latitude_deg":11.5044752,"altitude":9,"angle":157,"satellites":47,"speed":15,"hex_longitude":"2d138d00","hex_latitude":"06db7190","is_valid_coordinates":true} 
[2026-07-11 23:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651357440001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345904953644023808,"note":"Value kept but may cause issues"} 
[2026-07-11 23:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1406882331796178944,"note":"Value kept but may cause issues"} 
[2026-07-11 23:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783794372000,"timestamp_ms":1783794372000,"timestamp_seconds":1783794372,"priority":1,"record_length":96,"hex_timestamp":"0000019f526e0da0"} 
[2026-07-11 23:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-11 23:57:21] 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-07-11 23:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":131125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":131125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":131125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651357440001,"66":27343,"152":206,"81":20480,"24":15,"16":345904953644023808,"45":1406882331796178944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-11 23:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651357440001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:57:21] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-11 23:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345904953644023808,"km_value":345904953644023.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1406882331796178944,"description":"Unknown IO ID 45"} 
[2026-07-11 23:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651357440001,"power":27343,"unknown_152":206,"unknown_81":20480,"ignition":15,"odometer":null,"unknown_45":1406882331796178944}} 
[2026-07-11 23:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":131125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:57:21] local.INFO: GPS data processed {"connection_id":131125,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:57:21] local.INFO: Acknowledgment sent {"connection_id":131125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:57:39] local.INFO: TCP Data received {"connection_id":131127,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:57:39] local.INFO: Processing buffer {"connection_id":131127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:57:39] local.INFO: IMEI packet received {"connection_id":131127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":131127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:57:45] local.INFO: TCP Data received {"connection_id":131127,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:57:45] local.INFO: Processing buffer {"connection_id":131127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:57:45] local.INFO: IMEI packet received {"connection_id":131127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":131127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:57:46] local.INFO: TCP Data received {"connection_id":131127,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526e4c20012d139b0006db51680008009c2f..."} 
[2026-07-11 23:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526e4c20012d139b0006db51680008009c2f..."} 
[2026-07-11 23:57:46] local.INFO: Processing buffer {"connection_id":131127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526e4c20012d139b0006db51680008009c2f..."} 
[2026-07-11 23:57:46] local.INFO: Packet analysis {"connection_id":131127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:57:46] local.INFO: Extracted packet for processing {"connection_id":131127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756259584,"raw_latitude":115036520,"longitude_deg":75.6259584,"latitude_deg":11.503652,"altitude":8,"angle":156,"satellites":47,"speed":29,"hex_longitude":"2d139b00","hex_latitude":"06db5168","is_valid_coordinates":true} 
[2026-07-11 23:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651359232001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345905387435720704,"note":"Value kept but may cause issues"} 
[2026-07-11 23:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1408782287888289792,"note":"Value kept but may cause issues"} 
[2026-07-11 23:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783794388000,"timestamp_ms":1783794388000,"timestamp_seconds":1783794388,"priority":1,"record_length":96,"hex_timestamp":"0000019f526e4c20"} 
[2026-07-11 23:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:57: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-07-11 23:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651359232001,"66":27343,"152":206,"81":20480,"24":29,"16":345905387435720704,"45":1408782287888289792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-11 23:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651359232001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:57:46] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-11 23:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345905387435720704,"km_value":345905387435720.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1408782287888289792,"description":"Unknown IO ID 45"} 
[2026-07-11 23:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651359232001,"power":27343,"unknown_152":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1408782287888289792}} 
[2026-07-11 23:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":131127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:57:46] local.INFO: GPS data processed {"connection_id":131127,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:57:46] local.INFO: Acknowledgment sent {"connection_id":131127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:58:17] local.INFO: TCP Data received {"connection_id":131127,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526e7718012d13a7c006db3000000800a32d..."} 
[2026-07-11 23:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526e7718012d13a7c006db3000000800a32d..."} 
[2026-07-11 23:58:17] local.INFO: Processing buffer {"connection_id":131127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526e7718012d13a7c006db3000000800a32d..."} 
[2026-07-11 23:58:17] local.INFO: Packet analysis {"connection_id":131127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:58:17] local.INFO: Extracted packet for processing {"connection_id":131127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756262848,"raw_latitude":115027968,"longitude_deg":75.6262848,"latitude_deg":11.5027968,"altitude":8,"angle":163,"satellites":45,"speed":36,"hex_longitude":"2d13a7c0","hex_latitude":"06db3000","is_valid_coordinates":true} 
[2026-07-11 23:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651363328001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345905829817352192,"note":"Value kept but may cause issues"} 
[2026-07-11 23:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1412722937560131584,"note":"Value kept but may cause issues"} 
[2026-07-11 23:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783794399000,"timestamp_ms":1783794399000,"timestamp_seconds":1783794399,"priority":1,"record_length":96,"hex_timestamp":"0000019f526e7718"} 
[2026-07-11 23:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-11 23:58:17] 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-07-11 23:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651363328001,"66":27397,"152":206,"81":20480,"24":36,"16":345905829817352192,"45":1412722937560131584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-11 23:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651363328001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:58:17] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-11 23:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345905829817352192,"km_value":345905829817352.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1412722937560131584,"description":"Unknown IO ID 45"} 
[2026-07-11 23:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651363328001,"power":27397,"unknown_152":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1412722937560131584}} 
[2026-07-11 23:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":131127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:58:17] local.INFO: GPS data processed {"connection_id":131127,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:58:17] local.INFO: Acknowledgment sent {"connection_id":131127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:58:44] local.INFO: TCP Data received {"connection_id":131128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:58:44] local.INFO: Processing buffer {"connection_id":131128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:58:44] local.INFO: IMEI packet received {"connection_id":131128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":131128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:58:44] local.INFO: TCP Data received {"connection_id":131128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:58:44] local.INFO: Processing buffer {"connection_id":131128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:58:44] local.INFO: IMEI packet received {"connection_id":131128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":131128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:58:49] local.INFO: TCP Data received {"connection_id":131128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:58:49] local.INFO: Processing buffer {"connection_id":131128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:58:49] local.INFO: IMEI packet received {"connection_id":131128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":131128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:58:50] local.INFO: TCP Data received {"connection_id":131128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526e9a40012d13ae0006db0e00000800af2b..."} 
[2026-07-11 23:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526e9a40012d13ae0006db0e00000800af2b..."} 
[2026-07-11 23:58:50] local.INFO: Processing buffer {"connection_id":131128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526e9a40012d13ae0006db0e00000800af2b..."} 
[2026-07-11 23:58:50] local.INFO: Packet analysis {"connection_id":131128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:58:50] local.INFO: Extracted packet for processing {"connection_id":131128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756264448,"raw_latitude":115019264,"longitude_deg":75.6264448,"latitude_deg":11.5019264,"altitude":8,"angle":175,"satellites":43,"speed":41,"hex_longitude":"2d13ae00","hex_latitude":"06db0e00","is_valid_coordinates":true} 
[2026-07-11 23:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651366144001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345906259314081792,"note":"Value kept but may cause issues"} 
[2026-07-11 23:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1416311743511003136,"note":"Value kept but may cause issues"} 
[2026-07-11 23:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783794408000,"timestamp_ms":1783794408000,"timestamp_seconds":1783794408,"priority":1,"record_length":96,"hex_timestamp":"0000019f526e9a40"} 
[2026-07-11 23:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-11 23:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-11 23:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651366144001,"66":27267,"152":206,"81":20480,"24":41,"16":345906259314081792,"45":1416311743511003136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-11 23:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651366144001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:58:50] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-11 23:58:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345906259314081792,"km_value":345906259314081.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1416311743511003136,"description":"Unknown IO ID 45"} 
[2026-07-11 23:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651366144001,"power":27267,"unknown_152":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1416311743511003136}} 
[2026-07-11 23:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":131128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:58:50] local.INFO: GPS data processed {"connection_id":131128,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:58:50] local.INFO: Acknowledgment sent {"connection_id":131128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:58:56] local.INFO: TCP Data received {"connection_id":131128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526e9a40012d13ae0006db0e00000800af2b..."} 
[2026-07-11 23:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526e9a40012d13ae0006db0e00000800af2b..."} 
[2026-07-11 23:58:56] local.INFO: Processing buffer {"connection_id":131128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526e9a40012d13ae0006db0e00000800af2b..."} 
[2026-07-11 23:58:56] local.INFO: Packet analysis {"connection_id":131128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:58:56] local.INFO: Extracted packet for processing {"connection_id":131128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756264448,"raw_latitude":115019264,"longitude_deg":75.6264448,"latitude_deg":11.5019264,"altitude":8,"angle":175,"satellites":43,"speed":41,"hex_longitude":"2d13ae00","hex_latitude":"06db0e00","is_valid_coordinates":true} 
[2026-07-11 23:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345906259314081792,"note":"Value kept but may cause issues"} 
[2026-07-11 23:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418070962113216512,"note":"Value kept but may cause issues"} 
[2026-07-11 23:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783794408000,"timestamp_ms":1783794408000,"timestamp_seconds":1783794408,"priority":1,"record_length":96,"hex_timestamp":"0000019f526e9a40"} 
[2026-07-11 23:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-11 23:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:58:56] 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-07-11 23:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651368448001,"66":27267,"152":206,"81":20480,"24":41,"16":345906259314081792,"45":1418070962113216512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-11 23:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:58:56] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-11 23:58:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345906259314081792,"km_value":345906259314081.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418070962113216512,"description":"Unknown IO ID 45"} 
[2026-07-11 23:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651368448001,"power":27267,"unknown_152":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1418070962113216512}} 
[2026-07-11 23:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":131128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:58:56] local.INFO: GPS data processed {"connection_id":131128,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:58:56] local.INFO: Acknowledgment sent {"connection_id":131128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:59:24] local.INFO: TCP Data received {"connection_id":129865,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:59:24] local.INFO: Processing buffer {"connection_id":129865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:59:24] local.INFO: IMEI packet received {"connection_id":129865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":129865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:59:39] local.INFO: TCP Data received {"connection_id":131129,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:59:39] local.INFO: Processing buffer {"connection_id":131129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:59:39] local.INFO: IMEI packet received {"connection_id":131129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-11 23:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":131129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-11 23:59:40] local.INFO: TCP Data received {"connection_id":131129,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:59:40] local.INFO: Processing buffer {"connection_id":131129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:59:40] local.INFO: IMEI packet received {"connection_id":131129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":131129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:59:44] local.INFO: TCP Data received {"connection_id":131129,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:59:44] local.INFO: Processing buffer {"connection_id":131129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-11 23:59:44] local.INFO: IMEI packet received {"connection_id":131129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-11 23:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":131129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-11 23:59:45] local.INFO: TCP Data received {"connection_id":131129,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f526ebd68012d13ae4006dae938000800b428..."} 
[2026-07-11 23:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f526ebd68012d13ae4006dae938000800b428..."} 
[2026-07-11 23:59:45] local.INFO: Processing buffer {"connection_id":131129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f526ebd68012d13ae4006dae938000800b428..."} 
[2026-07-11 23:59:45] local.INFO: Packet analysis {"connection_id":131129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:59:45] local.INFO: Extracted packet for processing {"connection_id":131129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f526e"} 
[2026-07-11 23:59:45] local.INFO: GPS Element Parsed {"raw_longitude":756264512,"raw_latitude":115009848,"longitude_deg":75.6264512,"latitude_deg":11.5009848,"altitude":8,"angle":180,"satellites":40,"speed":42,"hex_longitude":"2d13ae40","hex_latitude":"06dae938","is_valid_coordinates":true} 
[2026-07-11 23:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-11 23:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456651368448001,"note":"Value kept but may cause issues"} 
[2026-07-11 23:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345906718875582464,"note":"Value kept but may cause issues"} 
[2026-07-11 23:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418070962113216512,"note":"Value kept but may cause issues"} 
[2026-07-11 23:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-11 23:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783794417000,"timestamp_ms":1783794417000,"timestamp_seconds":1783794417,"priority":1,"record_length":96,"hex_timestamp":"0000019f526ebd68"} 
[2026-07-11 23:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-11 23:59: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-07-11 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-11 23:59:45] 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-07-11 23:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-11 23:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-11 23:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-11 23:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-11 23:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-11 23:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-11 23:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-11 23:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-11 23:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456651368448001,"66":27365,"152":206,"81":20480,"24":42,"16":345906718875582464,"45":1418070962113216512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-11 23:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-11 23:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-11 23:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456651368448001,"description":"Unknown IO ID 0"} 
[2026-07-11 23:59:45] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-11 23:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-11 23:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345906718875582464,"km_value":345906718875582.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-11 23:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418070962113216512,"description":"Unknown IO ID 45"} 
[2026-07-11 23:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456651368448001,"power":27365,"unknown_152":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1418070962113216512}} 
[2026-07-11 23:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":131129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-11 23:59:45] local.INFO: GPS data processed {"connection_id":131129,"processed":1,"errors":0,"total":1} 
[2026-07-11 23:59:45] local.INFO: Acknowledgment sent {"connection_id":131129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-11 23:59:54] local.INFO: TCP Data received {"connection_id":129130,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:59:54] local.INFO: Processing buffer {"connection_id":129130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-11 23:59:54] local.INFO: IMEI packet received {"connection_id":129130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-11 23:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":129130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
